/* Gilroy — licensed commercial typeface (Fontfabric), reused from the
   practice's existing webfont files. See assets/fonts/README.txt. */
@font-face { font-family:"Gilroy"; src:url("../fonts/Gilroy-Regular.woff2")  format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Gilroy"; src:url("../fonts/Gilroy-Medium.woff2")   format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Gilroy"; src:url("../fonts/Gilroy-Semibold.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Gilroy"; src:url("../fonts/Gilroy-Bold.woff2")     format("woff2"); font-weight:700; font-style:normal; font-display:swap; }

/* ==========================================================================
   Brecken Health Online — site stylesheet
   Single stylesheet, no build step. Sections:
   1. Tokens  2. Reset  3. Layout  4. Typography  5. Buttons
   6. Header / nav  7. Hero  8. Components  9. Page blocks  10. Footer
   11. Utilities  12. Responsive  13. Motion / print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
/* Sampled from the Brecken Health logo file (BHC.png): charcoal #2B3039,
   yellow #FFCB08, blue #127DC2 — the blue matching breckenhealth.com.au exactly.
   NOTE: the brand blue is 4.43:1 with white text, just under WCAG AA. It is kept
   for the logo and decorative fills; buttons and links use --blue-600 (#1173B3),
   a barely perceptible darkening that clears AA at 5.09:1. */
:root {
  /* Charcoal — the wordmark colour, and the type colour */
  --ink-deep: #232830;   /* dark sections, footer */
  --ink:      #2B3039;   /* logo charcoal; body text, headings */
  --ink-soft: #48505C;
  --muted:    #5E6875;
  --slate:    #7E8896;
  --slate-300:#A7B2BF;

  /* Brecken blue */
  --blue-800: #0C5484;   /* deepest, button hover */
  --blue-700: #0E639C;
  --blue-600: #1173B3;   /* buttons, links, focus — 5.09:1 with white */
  --blue-500: #127DC2;   /* THE brand blue — logo, icons, decorative fills */
  --blue-100: #DCEBF7;
  --blue-50:  #EFF6FC;

  /* Brecken yellow. Fills always carry charcoal text, never white (1.52:1). */
  --yellow-600: #E8B800;
  --yellow-500: #FFCB08; /* 8.71:1 with charcoal */
  --yellow-100: #FFF4CC;

  --line:     #DDE3EA;
  --line-soft:#EDF1F5;
  --surface:  #ffffff;
  --canvas:   #F5F7FA;
  --canvas-2: #E9EEF4;

  --ok-100:   #E3F3E8; --ok-700:   #1F6B3A;
  --warn-100: #FFF4CC; --warn-700: #6B5300;
  --stop-100: #FDE7E4; --stop-700: #C0392B;

  --font-body: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(43, 48, 57, .07), 0 1px 3px rgba(43, 48, 57, .06);
  --shadow-md: 0 4px 10px rgba(43, 48, 57, .07), 0 12px 28px rgba(43, 48, 57, .09);
  --shadow-lg: 0 10px 24px rgba(43, 48, 57, .10), 0 28px 60px rgba(43, 48, 57, .13);

  --ring: 0 0 0 3px rgba(17, 115, 179, .32);
}

/* 2. Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue-800); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), var(--wrap-narrow)); }
.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--canvas { background: var(--canvas-2); }
.section--surface { background: var(--surface); }
.section--sky   { background: var(--blue-50); }
.section--tint  { background: var(--blue-100); }
.section--sun   { background: var(--yellow-100); }
.section--deep { background: var(--ink-deep); color: #C9D2DC; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep a { color: #FFCB08; }

.grid { --g: clamp(1rem, 2.4vw, 1.5rem); display: grid; gap: var(--g); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Card grids can end on an incomplete row — five appointment types across three
   columns, eight crisis lines across four. CSS grid parks those orphans hard
   left and leaves a gap on the right; flex-wrap with justify-content:center
   balances them instead. --cols is overridden at the breakpoints below. */
.grid--3, .crisis-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.grid--3   { --cols: 3; }
.crisis-grid { --cols: 4; --g: .9rem; gap: var(--g); }
.grid--3 > *, .crisis-grid > * {
  flex: 0 1 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols));
}

/* Exactly four cards read better as 2x2 than as a row of three with one orphan
   centred underneath. Browsers without :has() fall back to 3 + 1, still centred. */
.grid--3:has(> :nth-child(4):last-child) { --cols: 2; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }

/* 4. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-deep);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p  { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-500); margin: 0 0 .9rem;
}
.lede { font-size: clamp(1.075rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }
.small { font-size: .88rem; color: var(--muted); }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
/* p has max-width:68ch, which resolves against each element's OWN font-size.
   The eyebrow is ~12px, so its 68ch is only ~535px — it was sitting hard left
   inside a 664px head while the h2 below it filled the width, reading as
   off-centre. Any constrained child of a centred head must centre its box too,
   not just its text. */
.section-head--center > * { margin-inline: auto; }

ul.ticks, ul.crosses { list-style: none; padding: 0; margin: 0 0 1.15em; display: grid; gap: .6rem; }
ul.ticks li, ul.crosses li { position: relative; padding-left: 1.9rem; }
ul.ticks li::before, ul.crosses li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: .7rem;
}
ul.ticks li::before {
  background-color: var(--ok-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B3A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
ul.crosses li::before {
  background-color: var(--stop-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0392B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--accent { background: var(--yellow-500); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--yellow-600); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--blue-800); border-color: var(--line); }
.btn--ghost:hover { background: var(--blue-50); border-color: var(--blue-600); color: var(--blue-800); }
.btn--onDeep { background: #fff; color: var(--ink-deep); }
.btn--onDeep:hover { background: var(--blue-50); color: var(--ink-deep); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.075rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* 6. Header ---------------------------------------------------------------- */
.topbar {
  background: var(--ink-deep); color: #E3E9EF;
  font-size: .85rem; padding: .5rem 0;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; align-items: center; justify-content: flex-end; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100; isolation: isolate;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease, border-color .2s ease;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would make it a containing block, which breaks position:fixed on the
   mobile nav panel inside it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: saturate(140%) blur(10px);
  pointer-events: none;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__logo { height: 40px; width: auto; }
.brand__sub {
  font-family: var(--font-body); font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600);
  padding-left: .7rem; border-left: 1px solid var(--line);
}
@media (max-width: 620px) {
  .brand__logo { height: 32px; }
  .brand__sub { font-size: .6rem; padding-left: .5rem; }
  /* The footer lockup is larger; let the sub-brand wrap under it rather than
     push the page wider than the viewport. */
  .footer__brand .brand { flex-wrap: wrap; gap: .45rem .7rem; }
  .footer__brand .brand__logo { height: 42px; }
  .footer__brand .brand__sub { padding-left: 0; border-left: 0; }
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  display: inline-block; padding: .55rem .8rem; border-radius: var(--r-sm);
  color: var(--ink-soft); font-weight: 500; font-size: .97rem; text-decoration: none;
}
.nav a:hover { background: var(--blue-50); color: var(--blue-800); }
.nav a[aria-current="page"] { color: var(--blue-800); background: var(--blue-50); font-weight: 600; }
/* Buttons inside the nav must not inherit the plain-link colours above
   (.nav a outranks .btn--* on specificity). */
.nav a.btn--primary { color: #fff; background: var(--blue-600); }
.nav a.btn--primary:hover { color: #fff; background: var(--blue-800); }
.nav a.btn--ghost { color: var(--blue-800); }
.nav a.btn--ghost:hover { color: var(--blue-800); background: var(--blue-50); }
.nav a.btn[aria-current="page"] { font-weight: 600; }
.header-cta { margin-left: .5rem; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .55rem .8rem; font-weight: 600; color: var(--blue-800); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* 7. Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--blue-50); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(56rem 34rem at 86% -14%, var(--blue-100) 0%, transparent 60%),
    radial-gradient(44rem 30rem at -10% 106%, var(--yellow-100) 0%, transparent 58%),
    radial-gradient(36rem 24rem at 58% 122%, var(--blue-100) 0%, transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 5rem); }
.hero h1 { margin-bottom: .5em; }
.hero .lede { margin-bottom: 1.75rem; }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--yellow-100); color: #6B5300;
  border: 1px solid #F2DFA0; border-radius: var(--r-pill);
  padding: .4rem .95rem; font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem;
}
.pill__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--slate); flex: none; }

.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.trust li { list-style: none; display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.trust svg { width: 18px; height: 18px; color: var(--blue-500); flex: none; }

.hero-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 3vw, 2rem);
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.hero-card__list { list-style: none; margin: 0 0 1.35rem; padding: 0; display: grid; gap: .1rem; }
.hero-card__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hero-card__list li:last-child { border-bottom: 0; }
.hero-card__list b { font-weight: 600; color: var(--blue-800); white-space: nowrap; }

/* 8. Components ------------------------------------------------------------ */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.3rem, 2.4vw, 1.75rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .35rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card h3 { margin-bottom: .35rem; }
.card p { font-size: .96rem; color: var(--ink-soft); }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: .9rem;
  display: grid; place-items: center; background: var(--blue-500); color: #fff; flex: none;
}
.card__icon svg { width: 23px; height: 23px;
}
/* Cycle the icon tiles through green / pink / gold so a grid of cards reads
   as a wildflower spread rather than a column of identical chips. */
.grid .card:nth-child(3n+2) .card__icon { background: var(--ink); color: #fff; }
.grid .card:nth-child(3n+3) .card__icon { background: var(--yellow-500); color: var(--ink); }
.card__more { margin-top: auto; padding-top: .9rem; font-weight: 600; font-size: .93rem; color: var(--blue-600); display: inline-flex; align-items: center; gap: .35rem; }
a.card:hover .card__more { gap: .6rem; }
.card__more svg { width: 15px; height: 15px; transition: transform .18s ease; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 4rem; margin-bottom: 2rem; }
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.15rem;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--blue-600); color: #fff;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 600;
  display: grid; place-items: center;
}
.steps li:nth-child(2)::before { background: var(--blue-700); }
.steps li:nth-child(3)::before { background: var(--yellow-500); color: var(--ink); }
.steps h3 { margin-bottom: .3rem; }
.steps p { color: var(--ink-soft); font-size: .98rem; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.panel--tint { background: var(--blue-50); border-color: var(--blue-100); box-shadow: none; }
.panel--flag { background: var(--warn-100); border-color: #F2DFA0; box-shadow: none; }
.panel__badge {
  display: inline-block; border-radius: var(--r-pill); padding: .3rem .85rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 1rem;
}
.badge--yes { background: var(--ok-100); color: var(--ok-700); }
.badge--no  { background: var(--blue-100); color: var(--blue-800); }

.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  border-radius: var(--r-md); padding: 1.1rem 1.35rem; border: 1px solid;
  font-size: .96rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: .15rem; }
.notice p { margin-bottom: .5rem; }
.notice--stop { background: var(--stop-100); border-color: #F5CFC9; color: #8E2A20; }
.notice--stop a { color: #C0392B; font-weight: 700; }
.notice--info { background: var(--blue-50); border-color: var(--blue-100); color: var(--ink-deep); }
.notice--warn { background: var(--warn-100); border-color: #F2DFA0; color: #6B5300; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
table.fees { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
table.fees caption { text-align: left; padding: 1rem 1.25rem; font-weight: 700; color: var(--ink-deep); border-bottom: 1px solid var(--line); }
table.fees th, table.fees td { padding: .95rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.fees thead th { background: var(--canvas-2); font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
table.fees tbody tr:last-child td { border-bottom: 0; }
table.fees td b { color: var(--blue-800); }
table.fees .col-num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.faq { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.35rem;
  font-weight: 600; color: var(--ink-deep); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--blue-50); }
.faq summary::after {
  content: ""; position: absolute; right: 1.35rem; top: 1.45rem;
  width: 14px; height: 14px; transition: transform .2s ease;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231173B3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details[open] summary { color: var(--blue-600); }
.faq .faq__body { padding: 0 1.35rem 1.35rem; color: var(--ink-soft); font-size: .98rem; }

.cta-band { background: var(--blue-800); color: #E3E9EF; border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-inline: auto; color: #C9D2DC; }
.cta-band .btn-row { justify-content: center; margin-top: 1.5rem; }

.page-head { background: var(--surface); border-bottom: 1px solid var(--line-soft); padding-block: clamp(2.5rem, 5vw, 3.75rem); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(46rem 26rem at 92% -20%, var(--blue-50) 0%, transparent 60%); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }

.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: .85rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-600); text-decoration: underline; }

.svc { scroll-margin-top: 100px; padding-block: clamp(2rem, 4.5vw, 3rem); border-bottom: 1px solid var(--line-soft); }
.svc:last-of-type { border-bottom: 0; }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.svc__aside { background: var(--canvas-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; font-size: .94rem; position: sticky; top: 100px; }
.svc__aside h4 { margin-bottom: .6rem; color: var(--ink-deep); }
.svc__aside dl { margin: 0; display: grid; gap: .7rem; }
.svc__aside dt { font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.svc__aside dd { margin: .1rem 0 0; font-weight: 600; color: var(--ink); }

.jump { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.jump a {
  display: inline-block; padding: .45rem .95rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--blue-800);
}
.jump a:hover { background: var(--blue-50); border-color: var(--blue-600); }

.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field label { font-weight: 600; font-size: .93rem; color: var(--ink-deep); }
.field .hint { font-size: .84rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: var(--ring); }
.field textarea { min-height: 140px; resize: vertical; }
.field--check { display: flex; align-items: flex-start; gap: .65rem; }
.field--check input { width: auto; margin-top: .3rem; flex: none; }
.field--check label { font-weight: 500; font-size: .92rem; color: var(--ink-soft); }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 1rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--blue-500); flex: none; margin-top: .3rem; }
.contact-list b { display: block; color: var(--ink-deep); }
.contact-list span { color: var(--ink-soft); font-size: .95rem; }

.crisis-grid { list-style: none; padding: 0; margin: 0; }
.crisis-grid li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-sm); padding: .9rem 1.1rem; }
.crisis-grid b { display: block; color: #fff; font-size: .95rem; }
.crisis-grid a { display: inline-block; margin-top: .15rem; font-size: 1.05rem; font-weight: 700; color: #FFCB08; text-decoration: none; }
.crisis-grid a:hover { text-decoration: underline; }
.crisis-grid span { display: block; font-size: .82rem; color: #A7B2BF; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink-deep); color: #C0C9D3; font-size: .93rem; padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #E3E9EF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__brand .brand__logo { height: 52px; }
.footer__brand .brand__sub { color: var(--yellow-500); border-left-color: rgba(255,255,255,.25); }
.footer__brand .footer__tagline {
  font-family: var(--font-body); font-size: .82rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--yellow-500);
  margin: 0 0 .9rem;
}
.footer__brand p { font-size: .9rem; color: #A7B2BF; max-width: 34ch; }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #9AA6B3;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* 11. Utilities ------------------------------------------------------------ */
/* Same trap: a .center paragraph is capped at 68ch, so centring only the text
   leaves the box itself parked on the left. */
.center { text-align: center; margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.stack > * + * { margin-top: 1.15rem; }

/* 12. Responsive ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .site-header .wrap { min-height: 66px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0; z-index: 150;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--surface); padding: 5.25rem var(--gutter) 2rem;
    height: 100dvh; overflow-y: auto;
    transform: translateY(-100%); transition: transform .28s ease; visibility: hidden;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; box-shadow: var(--shadow-lg); }
  .nav a { padding: .9rem .5rem; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  /* .nav a outranks .btn, so restore the button's own shape explicitly. */
  .nav a.btn {
    margin-top: 1.25rem; padding: 1rem 1.5rem; font-size: 1.05rem;
    border-bottom: 0; border-radius: var(--r-pill); justify-content: center;
  }
  body.nav-open { overflow: hidden; }
  .nav-toggle { position: relative; z-index: 160; }

  .hero__inner, .split, .svc__grid { grid-template-columns: minmax(0, 1fr); }
  .svc__aside { position: static; }
  .grid--3, .crisis-grid { --cols: 2; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .grid--2, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--3, .crisis-grid { --cols: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .steps li { padding-left: 3.4rem; }
  .steps li::before { width: 2.35rem; height: 2.35rem; font-size: 1.1rem; }
}

/* 13. Motion / print -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .btn:hover, a.card:hover { transform: none; }
}
@media print {
  .site-header, .topbar, .nav-toggle, .cta-band, .btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-block: 1rem; }
}
