/* ==========================================================================
   Final layer (loaded last): brand tokens, Plus Jakarta Sans, header states,
   micro-interactions and the motion system. Motion only runs when the
   visitor has not asked for reduced motion (html.motion-ok, set in <head>).
   ========================================================================== */

:root {
  --red: #d9082c;
  --red-700: #b8072a;
  --red-100: #ffd9df;
  --red-50: #fff1f3;
  --navy: #102448;
  --navy-900: #0b1e3b;
  --ink: #1d2c49;
  --muted: #52617a;
  --bg-soft: #f5f8fc;
  --line: #e3e9f2;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

body { font-family: var(--font); letter-spacing: 0; }
h1, h2, h3, h4 { letter-spacing: -.022em; }
/* Plus Jakarta Sans is already compact: keep running text at natural spacing. */
main p:not(.eyebrow), main li, main dd, main label, main small, main summary,
.site-footer p, .site-footer li, .utility-bar span { letter-spacing: normal; }
button, input, select, textarea { font-family: inherit; }

/* Keep the utility link clear of the decorative red corner. */
.utility-bar__inner { padding-right: 44px; }

/* ---------- Header: sticky state + animated underline ---------- */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header .header__inner { transition: min-height .25s var(--ease-out); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 12px 32px -20px rgba(11, 30, 59, .45); }
.site-header.is-scrolled .header__inner { min-height: 66px; }

@media (min-width: 1280px) {
  .nav-list > li > a, .nav-dropdown > summary { position: relative; font-size: 14px; }
  .nav-list > li > a::after, .nav-dropdown > summary::after {
    content: ""; position: absolute; left: 6px; right: 6px; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left center;
    transition: transform .22s var(--ease-out);
  }
  .nav-list > li > a:hover::after, .nav-dropdown > summary:hover::after,
  .nav-list > li > a[aria-current="page"]::after, .nav-dropdown > summary.is-current::after { transform: scaleX(1); }
  .nav-list a:hover { background: transparent; color: var(--red-700); }
}
.nav-dropdown[open] > ul { animation: fcc-drop .18s var(--ease-out); }
@keyframes fcc-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Background scroll lock while the mobile menu is open */
/* Lock scrolling on the viewport only: overflow on body as well would stop the sticky header sticking and the drawer would open off-screen. */
html.nav-open { overflow: hidden; }
@media (min-width: 1280px) { html.nav-open { overflow: visible; } }

/* ---------- Buttons and cards ---------- */
.btn { transition: transform .18s var(--ease-out), box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i-arrow { transition: transform .2s var(--ease-out); }

.card, .tile, .mini-step, .step__card, .aside-card, .focus-item {
  transition: transform .22s var(--ease-out), box-shadow .22s ease, border-color .22s ease;
}
.card:hover, .tile:hover, .mini-step:hover, .step__card:hover, .focus-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -26px rgba(11, 30, 59, .38);
}
.form-card:hover, .cta-band:hover { transform: none; }

/* ---------- Scroll reveal (elements are tagged by motion.js) ---------- */
html.motion-ok [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(18px); }
html.motion-ok [data-reveal].is-revealing {
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out) !important;
}

/* ---------- Hero entrance (CSS only, never blocks content) ---------- */
@keyframes fcc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fcc-fade-scale { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
html.motion-ok:not([data-page="procedures"]):not([data-page="home"]) :is(.hero__copy, .about-hero__copy, .why-hero__copy, .service-hero__copy, .page-hero__inner) > * {
  animation: fcc-rise .55s var(--ease-out) both;
}
html.motion-ok :is(.hero__copy, .about-hero__copy, .why-hero__copy, .service-hero__copy, .page-hero__inner) > :nth-child(2) { animation-delay: .06s; }
html.motion-ok :is(.hero__copy, .about-hero__copy, .why-hero__copy, .service-hero__copy, .page-hero__inner) > :nth-child(3) { animation-delay: .12s; }
html.motion-ok :is(.hero__copy, .about-hero__copy, .why-hero__copy, .service-hero__copy, .page-hero__inner) > :nth-child(4) { animation-delay: .18s; }
html.motion-ok :is(.hero__copy, .about-hero__copy, .why-hero__copy, .service-hero__copy, .page-hero__inner) > :nth-child(5) { animation-delay: .24s; }
html.motion-ok :is(.hero__copy, .about-hero__copy, .why-hero__copy, .service-hero__copy, .page-hero__inner) > :nth-child(n+6) { animation-delay: .3s; }
html.motion-ok:not([data-page="home"]) .hero__art { animation: fcc-fade-scale .7s .12s var(--ease-out) both; }

/* A gentle two-beat pulse on the homepage heart, played twice, then still. */
@keyframes fcc-pulse { 0%, 40%, 100% { transform: scale(1); } 12% { transform: scale(1.022); } 24% { transform: scale(1.008); } }
html.motion-ok:not([data-page="home"]) .hero__art > img { animation: fcc-pulse 1.6s .9s ease-in-out 2; }

/* ECG line draws in once (paths are tagged by motion.js) */
.ecg-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-in-out); }
.ecg-draw.is-drawn { stroke-dashoffset: 0; }

/* ---------- How it works: timeline progress ---------- */
.steps.has-progress { position: relative; }
.steps-progress {
  position: absolute; z-index: 1; width: 3px; margin-left: -1.5px; border-radius: 3px; pointer-events: none;
  background: linear-gradient(var(--red), var(--red-700));
  transform-origin: top center; transform: scaleY(var(--progress, 0));
  transition: transform .2s linear;
}
.steps.has-progress .step__marker { position: relative; z-index: 2; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out); }
.steps.has-progress .step:not(.is-reached) .step__marker { background: #fff; color: var(--red-700); box-shadow: inset 0 0 0 2px var(--red-100); }
.steps.has-progress .step.is-reached .step__marker { transform: scale(1.04); }

/* ---------- How it works: personal "ask for" checklist ---------- */
.ask-list { position: relative; z-index: 1; min-width: 0; margin: 0; padding: 0; border: 0; }
.ask-list legend { padding: 0; margin-bottom: 6px; color: var(--navy); font-size: 1.1rem; font-weight: 750; }
.ask-list__hint { max-width: 48ch; margin: 0 0 14px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.ask-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; margin: 0 -12px;
  border-radius: 10px; cursor: pointer; line-height: 1.45; transition: background-color .18s ease;
}
.ask-item:hover { background: var(--red-50); }
.ask-item input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--red); cursor: pointer; }
.ask-item:has(input:checked) span { color: var(--navy); font-weight: 650; }
.ask-list__count { margin: 14px 0 0; color: var(--navy); font-size: .92rem; font-weight: 650; }
.ask-list__reset {
  margin-top: 6px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  color: var(--red-700); font: inherit; font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- FAQ: plus / minus indicator ---------- */
.faq__icon { position: relative; transform: none !important; }
.faq__icon .i { display: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px;
  border-radius: 2px; background: currentColor; transition: transform .22s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon::after { transform: rotate(0deg); }
.faq > summary { transition: color .18s ease; }
.faq > summary:hover { color: var(--red-700); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 45;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy);
  box-shadow: 0 14px 30px -14px rgba(11, 30, 59, .45); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s var(--ease-out), visibility .22s, background-color .2s, color .2s;
}
.back-to-top .i { width: 20px; height: 20px; stroke-width: 2.2; transform: rotate(-90deg); }
.back-to-top:hover { background: var(--navy); color: #fff; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 759px) {
  .back-to-top { right: 14px; bottom: 96px; width: 44px; height: 44px; }
  html[data-page="contact"] .back-to-top { bottom: 20px; }
}

/* ==========================================================================
   Small screens: readable text, tap-friendly controls, shorter heroes
   and content reached sooner. Procedures manages its own mobile layout.
   ========================================================================== */
@media (max-width: 759px) {
  /* Pinned consultation bar: one compact line, clear of the home indicator */
  .sticky-cta {
    left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    min-height: 52px; padding: 12px 18px; border-radius: 12px;
    font-size: 15px; white-space: nowrap; letter-spacing: 0;
  }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* Mobile menu: full-width, tappable rows with comfortable spacing */
  .nav-wrap.is-open { max-height: calc(100dvh - 68px); overscroll-behavior: contain; padding-bottom: 24px; }
  .nav-list > li > a, .nav-dropdown > summary { min-height: 48px; display: flex; align-items: center; font-size: 16px; }
  .nav-dropdown > ul a { min-height: 44px; display: flex; align-items: center; font-size: 15px; }
}

@media (max-width: 639px) {
  :root { --section: 48px; }
  .utility-bar { display: none !important; }

  /* ---- Readability: body text 15–16px, inputs 16px (prevents iOS zoom) ---- */
  html body main p:not(.eyebrow):not(.hint):not(.counter):not(.ask-list__hint):not(.form-footnote):not(.error-msg) { font-size: 15px; line-height: 1.6; }
  html body main p.lead, html body main .lead { font-size: 16px; line-height: 1.6; }
  html body main .checklist li, html body main .faq__body, html body main .proc__body li { font-size: 15px; line-height: 1.55; }
  html body main .faq > summary { font-size: 15.5px; line-height: 1.4; }
  html body main :is(input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea) { font-size: 16px; min-height: 50px; }
  html body main .choice { font-size: 15px; min-height: 50px; align-items: center; }
  html body main .hint { font-size: 13.5px; }
  html body main h3 { line-height: 1.3; }

  /* ---- Buttons: full width, one line where possible ---- */
  :is(.hero__actions, .service-hero__actions) { flex-direction: column; align-items: stretch; gap: 10px; }
  html body main :is(.hero__actions, .service-hero__actions, .cta-band__actions) .btn { width: 100%; }
  html body main .btn.btn { min-height: 50px; padding: 13px 16px; font-size: 15px; letter-spacing: 0; white-space: normal; text-wrap: balance; }

  /* ---- Shorter hero artwork so content starts sooner ---- */
  .hero__grid { padding-block: 28px 64px; gap: 16px; }
  .hero__art { height: 250px; min-height: 0; }
  .hero__art > img { width: 66%; max-height: 250px; }
  .hero__chip { padding: 8px 11px; }
  .about-hero__copy { padding-block: 28px 250px; }
  .about-hero__photo { height: 240px; }
  .about-hero__heart { bottom: 80px; width: 24%; }
  .why-hero__art { height: 240px; margin-bottom: 18px; }
  .why-hero__art > img { height: 225px; width: 78%; }
  .service-heart { min-height: 220px; }
  .service-heart img { height: 220px; }
  .service-heart__halo { max-width: 220px; }
  .contact-still-life, .contact-hero-photo { display: none; }

  /* ---- Section rhythm ---- */
  :is(.service-content, .about-roles, .about-network, .about-company, .why-pillars, .why-limits, .handover-section, .estimate-travel) { padding-block: 44px; }
  html body main .card { padding: 20px; }
  html body main .card .icon-badge { width: 46px; height: 46px; margin-bottom: 12px; }
  html body main .card .icon-badge .i { width: 24px; height: 24px; }

  /* ---- Contact: promises as compact rows, form reached sooner ---- */
  .contact-promises { grid-template-columns: 1fr; gap: 0; margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .contact-promises > div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; }
  .contact-promises > div + div { border-left: 0; padding-left: 14px; border-top: 1px solid var(--line); }
  .contact-promises .i { grid-row: span 2; width: 36px; height: 36px; padding: 7px; margin: 0; box-shadow: none; background: var(--red-50); }
  .contact-promises h3 { margin: 0; font-size: 15px; }
  html body main .contact-promises p { margin: 0; font-size: 14px; color: var(--muted); }
  .enquiry-section .form-card { padding: 22px 18px; }

  /* ---- Timeline cards: tags wrap under the text ---- */
  .journey-section .step__card { gap: 12px; }

  /* ---- Footer: larger tap targets ---- */
  .footer__links { gap: 2px; }
  .footer__links a { display: inline-block; padding-block: 6px; font-size: 15px; }
  .footer__bottom a { display: inline-block; padding-block: 6px; }
  .footer__disclaimer { font-size: 13px; line-height: 1.6; }

  /* ---- The header stays pinned, so back-to-top isn't needed on phones
         (and would cover cards beside the pinned consultation bar) ---- */
  .back-to-top { display: none; }

  /* ---- Closing banners: button fits inside the card ---- */
  html body main .cta-band { padding: 26px 22px; }
  html body main .cta-band .btn { width: 100%; white-space: normal; }

  /* ---- Home: compact four-step summary (icon beside the title) ---- */
  html body main .process-section .mini-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  html body main .process-section .mini-step__num { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  html body main .process-section .mini-step h3 { margin: 2px 0 4px; padding-right: 48px; }
  html body main .process-section .mini-step::before { top: 20px; right: 18px; }
  html body main .process-section .mini-steps { gap: 12px; }

  /* ---- Footer: two link columns so labels don't break ---- */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand, .footer__emergency { grid-column: 1 / -1; }

  /* ---- Consistent small labels ---- */
  html body main .eyebrow { font-size: 12.5px; letter-spacing: .14em; }

  /* ---- Home: text first, then a shorter portrait ---- */
  .focus-section .focus-grid { gap: 28px; }
  .focus-layout { order: 1; }
  .focus-portrait { order: 2; aspect-ratio: 16 / 11; border-radius: 18px 90px 18px 18px; }
  .focus-portrait img { object-position: center 22%; }

  /* ---- Contact: compact emergency notice ---- */
  .enquiry-section .alert-emergency { padding: 14px 16px; gap: 12px; }
  html body main .enquiry-section .alert-emergency p { font-size: 14px; line-height: 1.5; }
}

@media (max-width: 400px) {
  /* Drop trailing arrows so long labels stay on one line */
  html body main .btn > svg.i-arrow, html body main .btn > svg:has(use[href="#i-arrow"]), .sticky-cta > svg { display: none; }
  html body main .cta-band .btn { font-size: 14.5px; }
  .sticky-cta { justify-content: center; }
  .hero__chip strong { font-size: 13px; }
}

/* ==========================================================================
   Mobile / tablet menu drawer (the nav collapses below 1280px)
   ========================================================================== */
.nav-drawer__footer { display: none; }

@media (max-width: 1279px) {
  .nav-wrap.is-open {
    display: flex; flex-direction: column;
    height: calc(100dvh - var(--nav-top, 68px)); max-height: none;
    padding: 8px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line); border-bottom: 0;
    box-shadow: 0 24px 40px -24px rgba(11, 30, 59, .35);
    overflow-y: auto; overscroll-behavior: contain;
    animation: fcc-drawer .22s var(--ease-out);
  }
  @keyframes fcc-drawer { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav-wrap.is-open > nav, .nav-wrap.is-open .nav-drawer__footer { width: 100%; max-width: 560px; margin-inline: auto; }

  /* Rows */
  .nav-wrap .nav-list { width: 100%; margin: 0; gap: 0; }
  .nav-wrap .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-wrap .nav-list > li > a, .nav-wrap .nav-dropdown > summary {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 56px; padding: 0 4px 0 14px; border-radius: 0; background: transparent;
    color: var(--navy); font-size: 16.5px; font-weight: 650; letter-spacing: -.005em;
  }
  .nav-wrap .nav-list > li > a:hover, .nav-wrap .nav-dropdown > summary:hover { background: transparent; color: var(--red-700); }
  .nav-wrap .nav-list > li > a:active, .nav-wrap .nav-dropdown > summary:active { background: var(--bg-soft); }

  /* Current page: red text and a slim bar on the left */
  .nav-wrap .nav-list > li > a[aria-current="page"], .nav-wrap .nav-dropdown > summary.is-current { color: var(--red-700); background: transparent; }
  .nav-wrap .nav-list > li > a[aria-current="page"]::after, .nav-wrap .nav-dropdown > summary.is-current::after {
    content: ""; position: absolute; left: 0; right: auto; top: 16px; bottom: 16px; width: 3px; height: auto;
    border-radius: 3px; background: var(--red); transform: none;
  }

  /* Dropdown toggles: chevron in a soft circle on the right */
  .nav-wrap .nav-dropdown > summary .i {
    width: 30px; height: 30px; padding: 8px; box-sizing: border-box; border-radius: 50%;
    background: var(--bg-soft); color: var(--navy); stroke-width: 2.4; transition: transform .2s var(--ease-out), background-color .2s;
  }
  .nav-wrap .nav-dropdown[open] > summary .i { transform: rotate(180deg); background: var(--red-50); color: var(--red-700); }

  /* Submenu: indented list, no box */
  .nav-wrap .nav-dropdown > ul {
    position: static; min-width: 0; margin: -4px 0 12px 14px; padding: 2px 0 2px 14px;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; animation: none;
  }
  .nav-wrap .nav-dropdown > ul a {
    display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px;
    color: var(--muted); font-size: 15px; font-weight: 550;
  }
  .nav-wrap .nav-dropdown > ul a:hover { background: var(--bg-soft); color: var(--navy); }
  .nav-wrap .nav-dropdown > ul a[aria-current="page"] { background: var(--red-50); color: var(--red-700); font-weight: 650; }

  /* Footer: consultation button + emergency note */
  .nav-wrap.is-open .nav-drawer__footer { display: block; margin-top: auto; padding-top: 24px; }
  .nav-drawer__cta.btn { width: 100%; min-height: 52px; font-size: 15.5px; }
  .nav-drawer__note {
    display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px;
    border-radius: 12px; background: var(--red-50); color: #5d2a36; font-size: 13.5px; line-height: 1.5;
  }
  .nav-drawer__note .i { width: 18px; height: 18px; margin-top: 1px; flex: none; color: var(--red-700); }

  /* Toggle button reads clearly when open */
  .nav-toggle[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
  .nav-toggle[aria-expanded="true"] .i { color: #fff; }

  /* The pinned consultation bar would duplicate the drawer button */
  html.nav-open .sticky-cta, html.nav-open .back-to-top { display: none; }
}

/* Hero reassurance line: tidy pill, icon centred, no single-word last line */
.hero__note { text-wrap: pretty; }
@media (max-width: 639px) {
  html body main .hero__note {
    display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .8);
    font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: balance;
  }
  html body main .hero__note .i { width: 30px; height: 30px; padding: 7px; box-sizing: border-box; flex: none; border-radius: 50%; background: var(--red-50); color: var(--red-700); }
}

@media (max-width: 480px) {
  .nav-drawer__cta.btn { white-space: nowrap; padding-inline: 14px; }
  .nav-drawer__cta.btn > svg { display: none; }
}

/* ==========================================================================
   Selected page in the navigation
   ========================================================================== */
@media (min-width: 1280px) {
  .nav-list > li > a, .nav-dropdown > summary { padding: 9px 10px; border-radius: 9px; transition: background-color .2s ease, color .2s ease; }
  .nav-list > li > a::after, .nav-dropdown > summary::after { left: 10px; right: 10px; bottom: 4px; }
  .nav-list > li > a[aria-current="page"], .nav-dropdown > summary.is-current {
    background: var(--red-50); color: var(--red-700); font-weight: 750;
  }
  .nav-list > li > a[aria-current="page"]::after, .nav-dropdown > summary.is-current::after { height: 2px; background: var(--red); }
  .nav-dropdown > summary.is-current .i { color: var(--red-700); }
  .nav-dropdown > ul a[aria-current="page"] { background: var(--red-50); color: var(--red-700); font-weight: 700; }
}
@media (max-width: 1279px) {
  .nav-wrap .nav-list > li > a[aria-current="page"], .nav-wrap .nav-dropdown > summary.is-current {
    background: var(--red-50); border-radius: 12px; color: var(--red-700); font-weight: 750;
  }
  .nav-wrap .nav-list > li:has(> a[aria-current="page"]), .nav-wrap .nav-list > li:has(> details > summary.is-current) { border-bottom-color: transparent; }
  .nav-wrap .nav-list > li:has(+ li > a[aria-current="page"]), .nav-wrap .nav-list > li:has(+ li > details > summary.is-current) { border-bottom-color: transparent; }
  .nav-wrap .nav-list > li > a[aria-current="page"]::after, .nav-wrap .nav-dropdown > summary.is-current::after { display: block; content: ""; top: 14px; bottom: 14px; left: 6px; right: auto; width: 3px; height: auto; }
  .nav-wrap .nav-dropdown > summary.is-current .i { background: #fff; color: var(--red-700); }
}

/* ==========================================================================
   Home hero on phones and tablets: heart image first, then the text.
   ========================================================================== */
@media (max-width: 959px) {
  .home-page .hero__grid { padding-top: 12px; gap: 8px; }
  .home-page .hero__art { order: -1; width: 100%; max-width: 420px; height: 260px; min-height: 0; margin: 0 auto; }
  .home-page .hero__art > img { width: auto; height: 240px; max-height: 240px; margin-inline: auto; }
  .home-page .hero-ecg { left: 0; top: 36%; width: 70%; }
  .home-page .hero__chip { padding: 8px 11px; }
  .home-page .hero__chip > .i { width: 16px; height: 16px; padding: 7px; }
  .home-page .hero__chip strong { font-size: 13px; }
  .home-page .hero__chip small { display: none; }
  .home-page .hero__chip--1 { top: 8%; right: 0; left: auto; }
  .home-page .hero__chip--2 { top: 44%; right: 0; }
  .home-page .hero__chip--3 { bottom: 6%; left: 0; right: auto; }
  /* Pause control sits in the free top-left corner of the image */
  .home-page .hero .motion-toggle { top: 14px; bottom: auto; left: 16px; right: auto; font-size: 12px; }
}
@media (max-width: 400px) {
  .home-page .hero__art { height: 220px; }
  .home-page .hero__art > img { height: 200px; max-height: 200px; }
}

/* Small screens: the hero buttons are hidden. The consultation is always one tap
   away in the pinned bar at the bottom, and procedures are in the menu and further
   down the page. (The pinned bar shows at the same width, so nothing is lost.) */
@media (max-width: 759px) {
  .home-page .hero__actions { display: none; }
  .home-page .hero .story-cue { margin-top: 18px; }
}

/* ==========================================================================
   Home page on phones: shorter, tidier, consistent sections.
   Desktop and tablet (760px and up) are unchanged.
   ========================================================================== */

/* Pinned consultation bar slides away over the closing band and footer (all pages) */
@media (max-width: 759px) {
  .sticky-cta { transition: transform .3s var(--ease-out), opacity .3s ease; }
  html.sticky-cta-off .sticky-cta { transform: translateY(150%); opacity: 0; pointer-events: none; }
}

@media (max-width: 759px) {
  /* ---- One section-label style everywhere: short red line, left aligned ---- */
  .home-page main .section-head { text-align: left; margin-inline: 0; }
  .home-page main .section-head .eyebrow,
  .home-page .hero__copy > .eyebrow {
    display: flex; align-items: center; gap: 10px; padding-left: 0; border-left: 0;
    font-size: 12px; letter-spacing: .14em;
  }
  .home-page main .section-head .eyebrow::before,
  .home-page .hero__copy > .eyebrow::before {
    content: ""; width: 24px; height: 2px; flex: none; border-radius: 2px; background: var(--red);
  }
  .home-page main .section-head h2 { font-size: 27px; line-height: 1.15; }
  .home-page main .section-head p { font-size: 15px; line-height: 1.6; }

  /* ---- Trust bar: compact 2 x 2 grid ---- */
  .home-page .reassurance-wrap { margin-top: -36px; }
  .home-page .reassurance { grid-template-columns: 1fr 1fr; gap: 0; padding: 4px; border-radius: 18px; }
  .home-page .reassurance li {
    flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px !important;
    border: 0 !important; font-size: 13px; line-height: 1.4;
  }
  .home-page .reassurance li:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .home-page .reassurance li:nth-child(-n+2) { border-bottom: 1px solid var(--line) !important; }
  .home-page .reassurance .i { width: 20px; height: 20px; padding: 9px; }
  .home-page .reassurance strong { font-size: 14.5px; line-height: 1.3; margin-bottom: 2px; }

  /* ---- Procedures: clean 2 x 2 grid of picture tiles ---- */
  .home-page .procedures-section .proc-ecg { display: none; }
  .home-page .procedures-section .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-page .procedures-section .proc-mini {
    display: flex; flex-direction: column; padding: 0; overflow: hidden;
    border: 1px solid var(--line); border-radius: 16px; background: #fff;
    box-shadow: 0 10px 24px -20px rgba(11, 30, 59, .45);
  }
  .home-page .procedures-section .procedure-photo {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; min-height: 0; object-fit: cover; border-radius: 0;
  }
  .home-page .procedures-section .proc-mini__body { display: flex; flex: 1; flex-direction: column; padding: 12px 12px 14px; }
  .home-page .procedures-section h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
  .home-page .procedures-section .proc-mini p { display: none; }
  .home-page .procedures-section .text-link { margin-top: auto; font-size: 13.5px; }
  .home-page .procedures-section .proc-mini:active { transform: scale(.98); }
  .home-page .procedures-section__all { margin-top: 18px; text-align: left; }
  .home-page .procedures-section__all .btn { width: 100%; }
  /* Simple fade-up entrance on phones (no 3D swing) */
  html.motion-ok body:not(.motion-paused) .home-page .procedures-section.is-finale .proc-mini.is-seen,
  html.motion-ok body:not(.motion-paused).home-page .procedures-section.is-finale .proc-mini.is-seen {
    animation: fcc-story-rise .5s var(--ease-out) backwards; animation-delay: calc(var(--ci, 0) * 70ms);
  }
  html.motion-ok body:not(.motion-paused).home-page .procedures-section.is-finale .proc-mini.is-seen .procedure-photo {
    animation: none; clip-path: none;
  }
  html.motion-ok body:not(.motion-paused).home-page .procedures-section.is-finale .proc-mini.is-seen .proc-mini__body > * { animation: none; }

  /* ---- Closing band: same left alignment, single clear button ---- */
  .home-page .conversation-section { padding-bottom: 40px; }
}

/* ==========================================================================
   Enquiry form: one consistent field pattern
   (label, then input, then helper text and any error) so inputs line up
   across each row. Visual order only; reading order and labels are unchanged.
   ========================================================================== */
.enquiry-section div.field { display: flex; flex-direction: column; }
.enquiry-section div.field > label { order: 0; min-height: 0; }
.enquiry-section div.field > :is(input, select, textarea, .consent) { order: 1; }
.enquiry-section div.field > .hint { order: 2; margin: 7px 0 0 !important; font-size: 13px; line-height: 1.45; color: var(--muted); }
.enquiry-section div.field > .counter { order: 3; margin-top: 4px; }
.enquiry-section div.field > .error-msg { order: 4; }
.enquiry-section .form-row { align-items: start; }
/* Fieldsets (radio groups) line up with the other labels */
.enquiry-section fieldset.field { margin-inline: 0; padding-inline: 0; }
.enquiry-section fieldset.field > legend { margin-bottom: 8px; }
