/* ==========================================================
   Bloom Plus — main stylesheet (Bootstrap 5.3 + custom)
   Palette is taken from the Bloom Plus logo: sky blue + soft
   grey-blue. Change brand colours in :root below.
   ========================================================== */
:root {
  --blue: #5fb0ea;          /* logo sky blue */
  --brand: #1d6aa5;         /* readable brand blue: buttons, headings */
  --brand-dark: #144d7c;
  --navy: #0e3558;          /* deep blue: hero, footer */
  --steel: #a9bfca;         /* logo grey-blue */
  --steel-light: #eef3f6;
  --mist: #e8f3fb;
  --mist-2: #f4f9fd;
  --sun: #f2b84b;          /* warm accent, used sparingly */
  --ink: #1d2f3d;
  --ink-soft: #4a6071;
  --line: #d3e2ec;
  --white: #fff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --leaf-lg: 150px 16px 150px 16px;
  --leaf-md: 80px 12px 80px 12px;
  --leaf-sm: 40px 8px 40px 8px;
  --shadow-sm: 0 6px 20px rgba(14,53,88,.08);
  --shadow-md: 0 18px 44px rgba(14,53,88,.14);

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 29,106,165;
  --bs-link-hover-color-rgb: 20,77,124;
  --bs-link-hover-color: var(--brand-dark);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; color: var(--navy); line-height: 1.18; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { max-width: 68ch; }
.text-center p, .mx-auto p, .section-head p { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
a { text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .8rem 1.7rem; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-bloom { background: var(--brand); color: #fff; border: 2px solid var(--brand); }
.btn-bloom:hover, .btn-bloom:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; box-shadow: 0 8px 20px rgba(20,77,124,.25); }
.btn-outline-bloom { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline-bloom:hover, .btn-outline-bloom:focus { background: var(--brand); color: #fff; }
.btn-honey { background: var(--sun); color: var(--navy); border: 2px solid var(--sun); }
.btn-honey:hover, .btn-honey:focus { background: #e6a92f; border-color: #e6a92f; color: var(--navy); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn-light-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.75); }
.btn-light-outline:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: .55rem 1.2rem; font-size: .95rem; }

/* ---------- Top bar + navbar ---------- */
.topbar { background: var(--navy); color: #cfe3f2; font-size: .9rem; padding: .45rem 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.site-nav { background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: .7rem 0; transition: box-shadow .25s; }
.site-nav.scrolled { box-shadow: 0 8px 26px rgba(14,53,88,.12); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 52px; height: 52px; flex: none; }
.wordmark { white-space: nowrap; font-family: var(--font-body); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1; }
.wordmark .w1 { color: var(--blue); }
.wordmark .w2 { color: var(--steel); }
.site-nav .nav-link { white-space: nowrap; color: var(--ink); font-weight: 600; padding: .5rem .9rem; border-radius: 999px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); background: var(--mist); }
.navbar-toggler { border: 2px solid var(--brand); border-radius: 12px; padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--sun); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231d6aa5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

main { overflow-x: clip; }
.cta-card { background: linear-gradient(160deg, var(--mist), #fff); border-style: dashed; border-color: var(--steel); box-shadow: none; }
.cta-card .body { padding-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-tight { padding: 3.5rem 0; }
.bg-mist { background: var(--mist); }
.bg-mist-2 { background: var(--mist-2); }
.bg-linen { background: var(--steel-light); }
.section-head { max-width: 46rem; margin: 0 auto 3.25rem; text-align: center; }
.section-head p { color: var(--ink-soft); }
.section-head h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 5px; margin: 1rem auto 0; background: linear-gradient(90deg, var(--blue) 0 60%, var(--steel) 60% 100%); }
.text-start.section-head, .section-head.text-start { text-align: left; margin-left: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 5rem 0 9rem;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(95,176,234,.55), transparent 60%), linear-gradient(135deg, var(--navy) 0%, #14507f 60%, #1d6aa5 100%); }
.hero::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: rgba(95,176,234,.16); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: #fff; clip-path: ellipse(60% 100% at 50% 100%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lead { color: #d6e8f5; margin-bottom: 2.1rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; color: #d6e8f5; font-size: .98rem; }
.hero-badges i { color: var(--sun); margin-right: .4rem; }
.hero-photo { border-radius: var(--leaf-lg); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: 0 30px 70px rgba(0,0,0,.35); border: 6px solid rgba(255,255,255,.18); }
.hero-note { position: absolute; left: -1.25rem; bottom: 2.5rem; max-width: 16rem; background: #fff; color: var(--ink); border-radius: 18px; padding: 1rem 1.2rem; box-shadow: var(--shadow-md); font-size: .95rem; line-height: 1.45; border-left: 5px solid var(--sun); }
.hero-note strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .15rem; }
@media (max-width: 991px) { .hero-note { left: .5rem; } .hero { padding: 3.5rem 0 7rem; } }

/* feature strip overlapping the hero */
.feature-strip { position: relative; z-index: 3; margin-top: -4.5rem; }
.feature-strip .strip { background: #fff; border-radius: 22px; box-shadow: var(--shadow-md); padding: 1.75rem 1.5rem; border: 1px solid var(--line); }
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon { flex: none; width: 56px; height: 56px; display: grid; place-items: center; background: var(--mist); color: var(--brand); font-size: 1.5rem; border-radius: 28px 6px 28px 6px; }
.value h3 { font-size: 1.12rem; margin-bottom: .2rem; font-family: var(--font-body); font-weight: 700; }
.value p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 4rem; background: radial-gradient(900px 400px at 90% 0, rgba(95,176,234,.5), transparent 60%), linear-gradient(135deg, var(--navy), #1a5f94); }
.page-hero::after { content: ""; position: absolute; right: -90px; bottom: -130px; width: 360px; height: 360px; border-radius: 50%; background: rgba(95,176,234,.18); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-hero p { color: #d6e8f5; font-size: 1.15rem; }
.breadcrumb { margin-bottom: 1rem; font-size: .95rem; --bs-breadcrumb-divider-color: #9fc3de; --bs-breadcrumb-item-active-color: #cfe3f2; }
.breadcrumb a { color: #fff; }

/* ---------- Service cards ---------- */
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s, border-color .25s; }
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.service-card .thumb { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; display: block; }
.svc-icon { position: absolute; left: 1.4rem; top: calc((100% - 0px) * 0); width: 54px; height: 54px; display: grid; place-items: center; color: #fff; font-size: 1.5rem; background: var(--brand); border-radius: 27px 6px 27px 6px; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.service-card .imgwrap { position: relative; }
.service-card .imgwrap .svc-icon { top: auto; bottom: -27px; }
.service-card .body { padding: 2.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.service-card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.service-card .actions { display: flex; gap: .8rem 1rem; flex-wrap: wrap; align-items: center; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sun); }
.text-link:hover { border-color: var(--brand); }

/* Services page rows */
.service-row { padding: 4.5rem 0; }
.service-row:nth-of-type(even) { background: var(--mist-2); }
.service-row img.feature { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--leaf-md); box-shadow: var(--shadow-md); }
.service-row:nth-of-type(even) img.feature { border-radius: 12px 80px 12px 80px; }
.tick-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; }
.tick-list li { position: relative; padding-left: 2.1rem; margin-bottom: .65rem; }
.tick-list li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .02rem; color: var(--blue); font-size: 1.3rem; }
.scope-note { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--blue); border-radius: 14px; padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }

/* ---------- Split / why ---------- */
.split-img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: var(--leaf-lg); box-shadow: var(--shadow-md); }
.split-img.alt { border-radius: 16px 150px 16px 150px; }
.img-frame { position: relative; }
.img-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--leaf-lg); background: var(--mist); z-index: 0; }
.img-frame img { position: relative; z-index: 1; }
.why-badge { position: absolute; z-index: 2; right: -10px; bottom: 28px; background: #fff; border-radius: 16px; padding: .9rem 1.2rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .8rem; font-weight: 700; color: var(--navy); }
.why-badge i { font-size: 1.6rem; color: var(--blue); }
.why-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.why-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin-bottom: .15rem; }
.why-item p { margin: 0; color: var(--ink-soft); }
.pull { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; color: var(--brand); border-left: 5px solid var(--sun); padding-left: 1.25rem; max-width: 36rem; }

/* ---------- Support tiles ---------- */
.support-tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem 1.5rem; height: 100%; text-align: center; box-shadow: var(--shadow-sm); }
.support-tile .value-icon { margin: 0 auto 1rem; width: 64px; height: 64px; font-size: 1.7rem; border-radius: 32px 8px 32px 8px; }
.support-tile h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.support-tile p { margin: 0 auto; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--blue), var(--steel)); border-radius: 3px; }
.step { position: relative; padding: 0 0 2.5rem 5rem; counter-increment: step; }
.step:last-child { padding-bottom: 0; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; border-radius: 28px 6px 28px 6px; box-shadow: var(--shadow-sm); }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--ink-soft); margin-bottom: .5rem; }
.mini-card { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 1.75rem 1.5rem; height: 100%; box-shadow: var(--shadow-sm); position: relative; }
.mini-card .mini-num { position: absolute; top: -22px; left: 1.4rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--font-display); font-size: 1.3rem; border-radius: 23px 6px 23px 6px; }
.mini-card h3 { margin-top: .6rem; font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }
.mini-card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Testimonials ---------- */
.quote-slot { border: 2px dashed var(--steel); border-radius: 22px; padding: 2.25rem; background: var(--mist-2); }
.quote-slot i { font-size: 2.4rem; color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--navy), #1a5f94); }
.cta-band::before { content: ""; position: absolute; left: -90px; top: -110px; width: 320px; height: 320px; border-radius: 50%; background: rgba(95,176,234,.2); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e8f5; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2.25rem; box-shadow: var(--shadow-md); }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.form-card legend { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); font-weight: 600; margin-bottom: 1rem; padding: 0; float: none; width: auto; }
.form-label { font-weight: 600; margin-bottom: .35rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid #b5cbd9; padding: .7rem .9rem; color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .25rem rgba(95,176,234,.35); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(95,176,234,.35); border-color: var(--brand); }
.req { color: #b0392a; }
.form-hint { font-size: .9rem; color: var(--ink-soft); }
.privacy-callout { background: var(--mist); border-radius: 14px; padding: 1rem 1.25rem; font-size: .96rem; }
.check-tile { border: 1.5px solid #b5cbd9; border-radius: 12px; padding: .6rem .9rem .6rem 2.5rem; background: #fff; height: 100%; }
.check-tile:has(input:checked) { border-color: var(--brand); background: var(--mist-2); }
.check-tile .form-check-input { margin-left: -1.75rem; }
.was-validated [role="radiogroup"]:has(:invalid) .invalid-feedback { display: block; }
.hp-field { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success i { font-size: 3rem; color: var(--blue); }

/* ---------- Accordion ---------- */
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(95,176,234,.35); --bs-accordion-active-bg: var(--mist); --bs-accordion-active-color: var(--navy); }
.accordion-item { border-radius: 14px !important; overflow: hidden; margin-bottom: .8rem; border: 1px solid var(--line); }
.accordion-button { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--navy); padding: 1.1rem 1.35rem; }
.accordion-body { color: var(--ink-soft); padding: 1.1rem 1.35rem 1.4rem; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-item .value-icon { width: 48px; height: 48px; font-size: 1.25rem; }
.contact-item h3 { font-size: 1.05rem; margin: 0; font-family: var(--font-body); font-weight: 700; }
.contact-item p { margin: 0; color: var(--ink-soft); }
.tbc { font-style: italic; }

/* ---------- Legal ---------- */
.legal { max-width: 52rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal-draft { background: #fff7e0; border: 1px solid #ecd391; border-radius: 12px; padding: 1rem 1.25rem; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3d8e8; padding: 4.5rem 0 0; }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: #c3d8e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer .wordmark .w2 { color: #c3d3dc; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 3rem; padding: 1.5rem 0; font-size: .92rem; color: #9fbdd3; }
.footer-disclaimer { font-size: .9rem; color: #9fbdd3; max-width: 34rem; }

#toTop { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.25rem; display: none; z-index: 1000; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
#toTop:hover { background: var(--brand-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 4.25rem 0; }
  .site-nav .navbar-collapse { padding: 1rem 0 .5rem; }
  .site-nav .btn { white-space: nowrap; margin-top: .75rem; }
  .service-row { padding: 3rem 0; }
  .img-frame::before { inset: 14px -10px -14px 14px; }
  .why-badge { right: 6px; }
}
@media (max-width: 575px) {
  .form-card { padding: 1.4rem; }
  .step { padding-left: 4.2rem; }
  .step::before { width: 48px; height: 48px; font-size: 1.2rem; }
  .steps::before { left: 23px; }
  .wordmark { font-size: 1.5rem; }
  .brand svg { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
@media print { .topbar, .site-nav, .site-footer, #toTop, .cta-band { display: none; } }

/* Prevent g-5 gutters from causing sideways scroll on small screens */
.row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
@media (min-width: 992px) { .row.g-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; } }
body { overflow-x: clip; }

/* Navbar fit */
.site-nav .btn { white-space: nowrap; }
.site-nav .brand { margin-right: 1.5rem; }
.site-nav .nav-link { padding: .5rem .7rem; font-size: 1rem; }
.wordmark { font-size: 1.6rem; }
.hero .btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }
