/* ==========================================================================
   FlowFix — Water Heater Leak Repair, Colton CA
   Design system · mobile-first · breakpoints 640 / 768 / 1024 / 1280
   Fonts: Manrope (headings 700–800) + Source Sans 3 (body 400–500)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Primary scale (from #0B2545) */
  --p-50: #EEF3FA;
  --p-100: #D9E3F2;
  --p-200: #B3C6E3;
  --p-300: #84A2CE;
  --p-400: #5679B3;
  --p-500: #345A96;
  --p-600: #234478;
  --p-700: #17345F;
  --p-800: #0B2545;   /* brand primary */
  --p-900: #071A33;

  /* Accent (CTAs + highlights only) */
  --a-100: #FFEDD5;
  --a-300: #FDBA74;
  --a-500: #F97316;   /* brand accent */
  --a-600: #EA580C;
  --a-700: #C2410C;   /* accent text on light bg (AA) */

  /* Neutrals */
  --dark: #06142A;
  --off: #F7F8FA;
  --white: #FFFFFF;
  --border: #E3E8EF;
  --ink: #0E1B2E;
  --ink-2: #3D4B60;     /* body text on light — AA on white + off-white */
  --ink-3: #5B6779;     /* meta text — AA on white */
  --on-dark: #E6ECF5;
  --on-dark-2: #A9B7CC;

  /* Semantic */
  --tip: #0F766E;
  --tip-bg: #ECFDF8;
  --warn: #B45309;
  --warn-bg: #FFF7ED;

  /* Type */
  --font-head: "Manrope", "Source Sans 3", sans-serif;
  --font-body: "Source Sans 3", "Manrope", sans-serif;
  --fs-h1: clamp(2.5rem, 1.55rem + 3.8vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Shape + depth */
  --r-card: 20px;
  --r-sm: 12px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(7, 26, 51, .06), 0 2px 6px rgba(7, 26, 51, .05);
  --sh-2: 0 1px 2px rgba(7, 26, 51, .05), 0 8px 24px -6px rgba(7, 26, 51, .12), 0 24px 48px -16px rgba(7, 26, 51, .10);
  --sh-3: 0 2px 4px rgba(7, 26, 51, .06), 0 16px 40px -8px rgba(7, 26, 51, .18), 0 40px 80px -24px rgba(7, 26, 51, .18);
  --glow: 0 6px 20px -4px rgba(249, 115, 22, .55), 0 0 0 1px rgba(249, 115, 22, .25);

  /* Layout */
  --gutter: 16px;
  --container: 1240px;
  --section-y: 64px;
  --header-h: 68px;
  --callbar-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px)  { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --section-y: 112px; --gutter: 32px; --header-h: 80px; } }

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.04; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.0625rem; font-weight: 700; }
p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; max-width: 68ch; }
li + li { margin-top: .4em; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--p-600); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--a-700); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
::selection { background: var(--a-500); color: var(--dark); }

:focus-visible { outline: 3px solid var(--a-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--a-500); color: var(--dark); font-weight: 700;
  padding: 12px 20px; border-radius: var(--r-pill); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.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;
}

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }

.bg-white, .section--white { background: var(--white); }
.bg-off,   .section--off   { background: var(--off); }
.bg-tint,  .section--tint  { background: var(--p-50); }
.bg-dark,  .section--dark  { background: var(--dark); }
.section--dark, .on-dark { color: var(--on-dark-2); }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong,
.on-dark h2, .on-dark h3, .on-dark strong { color: var(--white); }
.section--dark a:not(.btn) { color: var(--a-300); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head h2 { margin-bottom: .35em; }
.section-head--split { max-width: none; display: grid; gap: 1rem; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 4rem; }
  .section-head--split p { margin-bottom: .4em; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--a-700);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .on-dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--a-300); }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }
.section--dark .lead, .on-dark .lead { color: var(--on-dark); }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* Section dividers: <div class="divider divider--wave bg-[from] fill-[to]"><svg>…</svg></div> */
.divider { line-height: 0; position: relative; z-index: 1; margin-top: -1px; }
.divider svg { width: 100%; height: clamp(36px, 5vw, 80px); display: block; }
.divider path { fill: currentColor; }
.fill-white { color: var(--white); }
.fill-off   { color: var(--off); }
.fill-tint  { color: var(--p-50); }
.fill-dark  { color: var(--dark); }

/* ---------- 4. Icons ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--p-50); color: var(--p-700);
  border: 1px solid var(--p-100);
}
.icon-box--accent { background: var(--a-100); color: var(--a-700); border-color: #FED7AA; }
.icon-box--sm { width: 40px; height: 40px; border-radius: 11px; }
.section--dark .icon-box, .on-dark .icon-box { background: rgba(255,255,255,.06); color: var(--a-300); border-color: rgba(255,255,255,.12); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.6rem;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: -0.005em;
  line-height: 1.2; text-decoration: none; white-space: nowrap;
  border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; width: 100%;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
@media (min-width: 640px) { .btn { width: auto; } }
.btn--primary { background: var(--a-500); color: var(--dark); box-shadow: var(--glow); }
.btn--primary:hover { background: #FB8A3C; color: var(--dark); transform: translateY(-2px); box-shadow: 0 10px 28px -6px rgba(249,115,22,.65), 0 0 0 1px rgba(249,115,22,.35); }
.btn--outline { background: transparent; color: var(--p-800); border-color: var(--p-200); }
.btn--outline:hover { border-color: var(--p-800); color: var(--p-800); background: var(--white); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--light:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--lg { min-height: 60px; padding: 1rem 2rem; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; width: auto; }
.btn .icon { width: 20px; height: 20px; }
.btn-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem;
  color: var(--p-700); text-decoration: none; min-height: 44px;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover { color: var(--a-700); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- 6. Header + navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -12px rgba(7,26,51,.18); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--p-800); min-height: 44px; }
.logo svg { height: 38px; width: auto; }
@media (min-width: 1024px) { .logo svg { height: 42px; } }
.logo .logo__word { fill: currentColor; }

.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__phone { display: none; }

.nav__toggle {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--p-50); color: var(--p-800); border: 1px solid var(--p-100); cursor: pointer;
}
.nav__toggle .bars { position: relative; width: 20px; height: 14px; }
.nav__toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease);
}
.nav__toggle .bars span:nth-child(1) { top: 0; }
.nav__toggle .bars span:nth-child(2) { top: 6px; }
.nav__toggle .bars span:nth-child(3) { top: 12px; }
.nav__toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; max-width: none; }
  .nav__links > li { margin: 0; position: relative; }
  .nav__link, .nav__trigger {
    display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem .85rem;
    font-family: var(--font-head); font-size: .9375rem; font-weight: 600; color: var(--ink);
    text-decoration: none; background: none; border: 0; border-radius: 10px; cursor: pointer;
  }
  .nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { background: var(--p-50); color: var(--p-800); }
  .nav__link[aria-current="page"] { color: var(--a-700); }
  .nav__trigger .icon { width: 16px; height: 16px; transition: transform .2s; }
  .nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__phone {
    display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; text-decoration: none; margin-right: .5rem;
  }
  .nav__phone small { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; }
  .nav__phone strong { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 800; color: var(--p-800); letter-spacing: -0.01em; }
}

/* Dropdown + mega menu (desktop) */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 300px; padding: 1rem; border-radius: var(--r-card);
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown--mega { width: min(860px, 92vw); left: -120px; transform: translateY(8px); }
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item.is-open > .dropdown--mega { transform: translateY(0); }
@media (min-width: 1024px) {
  .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav__item:focus-within > .dropdown--mega { transform: translateY(0); }
}
@media (hover: hover) and (min-width: 1024px) {
  .nav__item:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav__item:hover > .dropdown--mega { transform: translateY(0); }
}
.dropdown ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-width: none; }
.dropdown--mega ul { grid-template-columns: repeat(3, 1fr); }
.dropdown li { margin: 0; }
.dropdown a {
  display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .75rem; border-radius: 10px;
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; line-height: 1.3;
}
.dropdown a:hover { background: var(--p-50); color: var(--p-800); }
.dropdown a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--p-300); flex: none; }
.dropdown a:hover .dot { background: var(--a-500); }
.dropdown__foot {
  margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--fs-sm);
}

/* Mobile full-screen panel */
.mobile-panel {
  position: fixed; inset: 0; z-index: 99; padding: calc(var(--header-h) + 8px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.mobile-panel.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1024px) { .mobile-panel { display: none; } }
.mobile-panel ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.mobile-panel li { margin: 0; }
.mobile-panel > nav > ul > li { border-bottom: 1px solid var(--border); }
.mobile-panel a, .mobile-panel summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer;
}
.mobile-panel summary { list-style: none; }
.mobile-panel summary::-webkit-details-marker { display: none; }
.mobile-panel summary .icon { transition: transform .2s; }
.mobile-panel details[open] summary .icon { transform: rotate(180deg); }
.mobile-panel details ul { padding: 0 0 .75rem .25rem; display: grid; gap: 0; }
.mobile-panel details a { min-height: 44px; font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink-2); justify-content: flex-start; }
.mobile-panel__cta { margin-top: 1.5rem; display: grid; gap: .75rem; }
.mobile-panel__cta p { font-size: var(--fs-sm); color: var(--ink-3); text-align: center; margin: 0 auto; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(3.5rem, 2.5rem + 4vw, 7rem);
}
.hero__mesh {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(52, 90, 150, .75) 0%, transparent 60%),
    radial-gradient(45% 45% at 70% 85%, rgba(249, 115, 22, .28) 0%, transparent 65%),
    radial-gradient(50% 60% at 5% 10%, rgba(23, 52, 95, .95) 0%, transparent 70%),
    radial-gradient(40% 40% at 30% 100%, rgba(15, 118, 110, .22) 0%, transparent 70%),
    linear-gradient(160deg, #0B2545 0%, #06142A 70%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 3rem; } }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hl {
  position: relative; white-space: nowrap;
  background: linear-gradient(92deg, #FDBA74 0%, #F97316 55%, #FB923C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .075em; border-radius: 4px;
  background: linear-gradient(90deg, var(--a-500), rgba(249,115,22,.15));
}
.hl--wrap {
  white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  text-decoration: underline; text-decoration-color: var(--a-500); text-decoration-thickness: .075em; text-underline-offset: .14em;
}
.hl--wrap::after { display: none; }
.hero__lead { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3rem); color: var(--on-dark); max-width: 56ch; margin-bottom: 1.75rem; }
.hero__actions { margin-bottom: 1.25rem; }
.hero__fine { font-size: var(--fs-xs); color: var(--on-dark-2); max-width: 60ch; margin: 0 0 1.75rem; line-height: 1.55; }
.hero__fine a { color: var(--on-dark); }

.trust-row { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; max-width: none; }
.trust-row li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: .35rem .85rem;
  border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; line-height: 1.2;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--on-dark);
}
.chip .icon { width: 16px; height: 16px; color: var(--a-300); }
.chip--light { background: var(--white); border-color: var(--border); color: var(--ink); }
.chip--light .icon { color: var(--a-700); }

.hero__visual { position: relative; max-width: 420px; width: 100%; margin-inline: auto; }
@media (min-width: 768px) { .hero__visual { max-width: 520px; } }
@media (min-width: 1024px) { .hero__visual { max-width: none; } }
.hero__visual > svg { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }

.glass-card {
  display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 16px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
  color: var(--white); font-size: var(--fs-sm); line-height: 1.3;
}
.glass-card .icon-box { width: 38px; height: 38px; border-radius: 11px; background: rgba(249,115,22,.16); border-color: rgba(249,115,22,.35); color: var(--a-300); }
.glass-card strong { display: block; color: var(--white); font-family: var(--font-head); font-size: .9375rem; }
.glass-card span { color: var(--on-dark-2); font-size: var(--fs-xs); }
.glass-stack { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1rem; }
.glass-card--3 { display: none; }
@media (min-width: 768px) {
  .glass-stack { display: contents; }
  .glass-card { position: absolute; margin: 0; animation: float 7s ease-in-out infinite; }
  .glass-card--1 { top: 30%; left: -8%; }
  .glass-card--2 { bottom: 16%; right: -4%; animation-delay: -2.5s; }
  .glass-card--3 { display: flex; bottom: -2%; left: 8%; animation-delay: -4.5s; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Leak pulse used inside SVG scenes */
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.pulse--2 { animation-delay: .8s; }
.pulse--3 { animation-delay: 1.6s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.drip { animation: drip 2.8s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

/* ---------- 8. Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: .85rem;
  padding: clamp(1.4rem, 1.2rem + .8vw, 2rem);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--p-100); }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: 1rem; }
.card .text-link { margin-top: auto; }
.card--flat:hover { transform: none; box-shadow: var(--sh-1); }
.card--dark { background: linear-gradient(160deg, var(--p-800), var(--dark)); border-color: rgba(255,255,255,.08); color: var(--on-dark-2); }
.card--dark h3, .card--dark strong { color: var(--white); }
.card--dark .text-link { color: var(--a-300); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.card__tag {
  display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--p-600); background: var(--p-50); padding: .3rem .65rem; border-radius: var(--r-pill);
}
.card--dark .card__tag { background: rgba(249,115,22,.14); color: var(--a-300); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--p-700); }
.area-intro { display: grid; gap: .75rem; }
/* Whole-card click target via stretched link */
.card__stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Bento grid */
.bento { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--lg { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
  .bento__item--lg { grid-column: span 2; grid-row: span 2; }
  .bento__item--wide { grid-column: span 2; }
}
.bento__item--lg { overflow: hidden; }
.bento__item--lg h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.bento__art { align-self: flex-end; width: 150px; opacity: .95; margin: -.5rem 0 -.25rem; }
@media (min-width: 1024px) {
  .bento__item--lg { padding-right: clamp(1.5rem, 1rem + 1vw, 2rem); }
  .bento__item--lg .bento__art { position: absolute; right: -8px; bottom: -12px; width: 220px; margin: 0; pointer-events: none; }
  .bento__item--lg .mini-steps { max-width: calc(100% - 170px); }
}
.card--dark .icon-box { background: rgba(255,255,255,.06); color: var(--a-300); border-color: rgba(255,255,255,.14); }
.mini-steps { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .55rem; max-width: none; }
.mini-steps li { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: .9375rem; line-height: 1.4; color: var(--on-dark); }
.mini-steps span {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .875rem; color: var(--a-300);
  border: 1.5px solid rgba(249,115,22,.55); background: rgba(249,115,22,.08);
}
.card--accent-top { border-top: 4px solid var(--a-500); }

/* Compact service list (secondary services) */
.svc-list { list-style: none; padding: 0; margin: 1.5rem 0 0; max-width: none; display: grid; gap: .5rem; }
@media (min-width: 640px)  { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-list { grid-template-columns: repeat(3, 1fr); } }
.svc-list li { margin: 0; }
.svc-list a {
  display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: .65rem 1rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 700; color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.svc-list a:hover { border-color: var(--p-200); transform: translateY(-2px); box-shadow: var(--sh-1); color: var(--p-800); }
.svc-list a .icon:last-child { margin-left: auto; width: 18px; height: 18px; color: var(--p-300); }
.svc-list a:hover .icon:last-child { color: var(--a-600); }

/* ---------- 9. Symptom checker ---------- */
.checker { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .checker { grid-template-columns: 340px 1fr; align-items: start; gap: 3rem; } .checker__map { position: sticky; top: calc(var(--header-h) + 24px); } }
.checker__map { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.25rem; box-shadow: var(--sh-1); }
.checker__map svg { max-width: 260px; margin-inline: auto; }
.checker__map p { font-size: var(--fs-sm); color: var(--ink-3); text-align: center; margin: .75rem auto 0; }
.filters { display: none; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.js .filters { display: flex; }
.filter {
  min-height: 44px; padding: .5rem 1rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: .875rem; font-weight: 700; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1px solid var(--border);
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--p-300); }
.filter[aria-pressed="true"] { background: var(--p-800); border-color: var(--p-800); color: var(--white); }
.symptom-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .symptom-grid { grid-template-columns: repeat(2, 1fr); } }
.symptom {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start;
  padding: 1.15rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.symptom:hover { border-color: var(--a-300); box-shadow: var(--sh-2); transform: translateY(-2px); }
.symptom[hidden] { display: none; }
.symptom .icon-box { grid-row: span 3; }
.symptom h3 { font-size: 1.0625rem; margin: 0; }
.symptom p { font-size: .9375rem; margin: 0; color: var(--ink-2); }
.symptom a { font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--a-700); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; min-height: 32px; }
.symptom a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.symptom__zone { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- 10. Process ---------- */
.process { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: 2rem; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; left: 34px; top: 40px; bottom: 40px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--p-200) 0 8px, transparent 8px 16px);
}
.section--dark .process::before { background: repeating-linear-gradient(to bottom, rgba(255,255,255,.2) 0 8px, transparent 8px 16px); }
.process__step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 1rem; margin: 0; }
.process__num {
  width: 70px; height: 70px; display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 2px var(--p-600);
  background: var(--white); border-radius: 50%;
}
.section--off .process__num { background: var(--off); }
.section--tint .process__num { background: var(--p-50); }
.section--dark .process__num { background: var(--dark); -webkit-text-stroke-color: var(--a-500); }
.process__step h3 { margin: .9rem 0 .35rem; }
.process__step p { margin: 0; font-size: 1rem; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .process::before { left: 40px; right: 40px; top: 52px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--p-200) 0 8px, transparent 8px 16px); }
  .section--dark .process::before { background: repeating-linear-gradient(to right, rgba(255,255,255,.2) 0 8px, transparent 8px 16px); }
  .process__step { grid-template-columns: 1fr; gap: .5rem; }
  .process__num { width: 104px; height: 104px; font-size: 5rem; justify-content: start; }
  .process__step h3 { margin-top: .5rem; }
}

/* ---------- 11. Split sections ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split--reverse .split__media { order: -1; }
}
.split__media {
  position: relative; border-radius: 28px; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  background: linear-gradient(150deg, var(--p-50) 0%, var(--white) 60%); border: 1px solid var(--p-100);
}
.split__media--dark { background: radial-gradient(80% 80% at 70% 20%, rgba(52,90,150,.6), transparent 60%), var(--dark); border-color: rgba(255,255,255,.08); }
.split__media svg { width: 100%; max-width: 520px; margin-inline: auto; }
.split h3 { margin-top: 1.75rem; }
.split--top { align-items: start; }

/* ---------- 12. Callouts ---------- */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start;
  margin: 1.75rem 0; padding: 1.15rem 1.35rem; max-width: 68ch;
  border-radius: 0 16px 16px 0; border-left: 4px solid;
}
.callout .icon { margin-top: 3px; grid-row: span 2; }
.callout__title { font-family: var(--font-head); font-weight: 800; font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; margin: 0; }
.callout p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.callout p + p { margin-top: .6rem; grid-column: 2; }
.callout--tip { background: var(--tip-bg); border-color: var(--tip); }
.callout--tip .icon, .callout--tip .callout__title { color: var(--tip); }
.callout--warn { background: var(--warn-bg); border-color: var(--a-600); }
.callout--warn .icon, .callout--warn .callout__title { color: var(--warn); }

/* ---------- 13. Tables ---------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0 2rem;
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); box-shadow: var(--sh-1);
}
.table { width: 100%; border-collapse: collapse; font-size: .9875rem; min-width: 560px; }
.table caption { text-align: left; padding: 1rem 1.25rem 0; font-size: var(--fs-sm); color: var(--ink-3); caption-side: top; }
.table th, .table td { padding: .9rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.55; }
.table thead th {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--p-700); background: var(--p-50); border-bottom-color: var(--p-100);
}
.table tbody th { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover { background: #FBFCFE; }
.level { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .875rem; white-space: nowrap; }
.level::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.level--low { color: var(--tip); } .level--mid { color: var(--warn); } .level--high { color: #B91C1C; }

/* Stacked variant for small screens: add .table--stack and data-label on each td */
@media (max-width: 639px) {
  .table-wrap--stack { overflow: visible; border: 0; background: none; box-shadow: none; }
  .table--stack { min-width: 0; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr { display: block; margin-bottom: .9rem; background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
  .table--stack th, .table--stack td { display: block; border-bottom: 1px solid var(--border); padding: .7rem 1rem; }
  .table--stack tbody th { background: var(--p-50); }
  .table--stack td[data-label]::before {
    content: attr(data-label); display: block; font-family: var(--font-head); font-size: var(--fs-xs);
    font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .15rem;
  }
}

/* ---------- 14. Checklists + lists ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2.1rem; margin: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 1.35rem; height: 1.35rem; border-radius: 7px;
  background: var(--a-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(249,115,22,.16); }
.checklist--cols { max-width: none; }
@media (min-width: 768px) { .checklist--cols { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }

.prose ul:not([class]) { list-style: none; padding-left: 0; }
.prose ul:not([class]) li { position: relative; padding-left: 1.4rem; }
.prose ul:not([class]) li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--a-500); transform: rotate(45deg); }
.prose ol:not([class]) { padding-left: 1.4rem; }
.prose ol:not([class]) li::marker { font-family: var(--font-head); font-weight: 800; color: var(--p-600); }

.signs { list-style: none; padding: 0; margin: 1.5rem 0 2rem; max-width: none; display: grid; gap: .75rem; counter-reset: sign; }
@media (min-width: 640px) { .signs { grid-template-columns: repeat(2, 1fr); } }
.signs li {
  counter-increment: sign; position: relative; margin: 0; padding: 1rem 1.1rem 1rem 3.4rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px; font-size: 1rem; line-height: 1.55;
}
.signs li::before {
  content: counter(sign, decimal-leading-zero); position: absolute; left: 1rem; top: 1rem;
  font-family: var(--font-head); font-weight: 800; font-size: .9375rem; color: var(--a-700);
}
.signs strong { display: block; margin-bottom: .15rem; }

/* ---------- 15. Areas ---------- */
.area-grid { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; padding: 1.25rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--p-200); }
.area-card .icon-box { grid-row: span 2; }
.area-card h3 { font-size: 1.125rem; margin: 0; }
.area-card h3 a { color: var(--ink); text-decoration: none; }
.area-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.area-card p { margin: 0; font-size: .9375rem; }
.area-card--cta { background: linear-gradient(150deg, var(--p-800), var(--dark)); border-color: rgba(255,255,255,.08); color: var(--on-dark-2); }
.area-card--cta h3 { color: var(--white); }
.area-card--cta .icon-box { background: rgba(249,115,22,.14); border-color: rgba(249,115,22,.35); color: var(--a-300); }
.area-card--cta .btn { grid-column: 2; justify-self: start; margin-top: .85rem; }
@media (min-width: 640px) { .area-card--cta { grid-column: span 2; } }

/* ---------- 16. CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  background: var(--dark); color: var(--on-dark-2); padding-block: clamp(4rem, 3rem + 5vw, 8rem);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 55%; width: min(900px, 140vw); aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(249,115,22,.38), rgba(249,115,22,.08) 55%, transparent 75%);
  filter: blur(20px);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.cta-band h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; color: var(--on-dark); }
.cta-band__phone {
  display: inline-flex; align-items: center; gap: .3em; margin: .5rem 0 1.25rem;
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.035em; line-height: 1; white-space: nowrap;
  font-size: clamp(2rem, .9rem + 6.2vw, 5.75rem); color: var(--white); text-decoration: none;
  text-shadow: 0 0 40px rgba(249,115,22,.45);
}
.cta-band__phone .icon { width: .7em; height: .7em; color: var(--a-500); stroke-width: 2.25; }
.cta-band__phone:hover { color: var(--a-300); }
.cta-band .btn-row { justify-content: center; }
.cta-band__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; padding: 0; margin: 1.75rem auto 0; max-width: none; }
.cta-band__meta li { margin: 0; }

/* ---------- 17. FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 880px; }
.faq-layout { display: grid; gap: 2.5rem; }
.faq-layout__head .call-card { display: none; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 380px minmax(0, 1fr); gap: 4.5rem; align-items: start; }
  .faq-layout__head { position: sticky; top: calc(var(--header-h) + 24px); }
  .faq-layout__head .call-card { display: block; }
}
.faq--center { margin-inline: auto; }
.faq__item { background: var(--white); border: 1px solid var(--border); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--p-200); box-shadow: var(--sh-1); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none;
  min-height: 60px; padding: 1rem 1.25rem; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--ink); line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--p-700); }
.faq__icon { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--p-50); transition: transform .3s var(--ease), background-color .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--p-700); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--a-500); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--dark); }
.faq__body { padding: 0 1.25rem 1.25rem; }
.faq__body p { margin: 0; font-size: 1rem; }
.faq__body p + p { margin-top: .75rem; }

/* ---------- 18. Inner pages: hero, breadcrumbs, sidebar layout ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--p-50); padding: clamp(2rem, 1.5rem + 2.5vw, 4rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(52,90,150,.18), transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 1px; background: var(--p-100);
}
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }
.page-hero--dark { background: var(--dark); color: var(--on-dark); }
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark .lead { color: var(--on-dark); }
.page-hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1.3fr .7fr; gap: 3rem; } }
.page-hero__art { max-width: 300px; margin-inline: auto; display: none; }
@media (min-width: 1024px) { .page-hero__art { display: block; max-width: 360px; } }

.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-size: var(--fs-sm); max-width: none; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-3); }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--p-300); border-top: 1.5px solid var(--p-300); transform: rotate(45deg); }
.breadcrumbs a { color: var(--p-600); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs a:hover { color: var(--a-700); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

.layout { display: grid; gap: 2rem; padding-block: clamp(2rem, 1.5rem + 3vw, 5rem) var(--section-y); }
@media (min-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; }
  .layout__aside { order: 2; position: sticky; top: calc(var(--header-h) + 24px); }
  .layout__main { order: 1; }
}
@media (min-width: 1280px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 5rem; } }
.layout__aside { display: grid; gap: 1rem; min-width: 0; }
.layout__main { min-width: 0; }

.toc { background: var(--white); border: 1px solid var(--border); border-radius: 18px; }
.toc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .75rem 1.15rem;
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xs);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { width: 18px; height: 18px; transition: transform .2s; }
.toc[open] summary .icon { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0; padding: 0 .6rem .85rem; max-width: none; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a {
  display: flex; gap: .65rem; align-items: baseline; padding: .45rem .6rem; min-height: 40px; border-radius: 10px;
  font-size: .9375rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-size: .75rem; font-weight: 800; color: var(--p-300); }
.toc a:hover { background: var(--p-50); color: var(--p-800); }
.toc a.is-active { color: var(--p-800); background: var(--p-50); border-left-color: var(--a-500); font-weight: 600; }
.toc a.is-active::before { color: var(--a-700); }
@media (min-width: 1024px) { .toc summary { cursor: default; pointer-events: none; } .toc summary .icon { display: none; } }

.call-card {
  position: relative; overflow: hidden; isolation: isolate; padding: 1.5rem; border-radius: var(--r-card);
  background: linear-gradient(160deg, var(--p-800) 0%, var(--dark) 100%); color: var(--on-dark-2);
  box-shadow: var(--sh-2);
}
.call-card::before {
  content: ""; position: absolute; z-index: -1; right: -30%; top: -30%; width: 80%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(249,115,22,.35), transparent 70%);
}
.call-card .eyebrow { color: var(--a-300); margin-bottom: .5rem; }
.call-card h2, .call-card .call-card__title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--white); margin: 0 0 .5rem; letter-spacing: -0.02em; line-height: 1.25; }
.call-card p { font-size: .9375rem; margin: 0 0 1rem; }
.call-card__phone { display: block; font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: -0.03em; margin-bottom: 1rem; }
.call-card__phone:hover { color: var(--a-300); }
.call-card .btn { width: 100%; }
.call-card__note { font-size: var(--fs-xs) !important; color: var(--on-dark-2); margin: .85rem 0 0 !important; line-height: 1.5; }

/* Prose (main article column) */
.prose > section { padding-top: .5rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.prose h2 { font-size: clamp(1.75rem, 1.45rem + 1.3vw, 2.5rem); margin-bottom: .6em; }
.prose h3 { margin-top: 1.75rem; }
.prose p a, .prose li a, .prose td a { color: var(--p-600); font-weight: 600; }
.prose p a:hover, .prose li a:hover { color: var(--a-700); }
.answer {
  font-size: clamp(1.125rem, 1.07rem + .3vw, 1.25rem); color: var(--ink); line-height: 1.6;
  padding-left: 1.1rem; border-left: 3px solid var(--a-500); margin-bottom: 1.5rem;
}

.related { display: grid; gap: 1rem; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; max-width: none; }
.chips li { margin: 0; }
.chips a.chip { text-decoration: none; min-height: 44px; }
.chips a.chip:hover { border-color: var(--p-300); color: var(--p-800); }

/* Stat-free info strip (for facts, not numbers) */
.info-strip { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .info-strip { grid-template-columns: repeat(3, 1fr); } }
.info-strip > div { display: flex; gap: .85rem; align-items: flex-start; }
.info-strip strong { display: block; font-family: var(--font-head); color: var(--ink); }
.info-strip span { font-size: .9375rem; }

/* Inner hero extras */
.page-hero__actions { margin: .5rem 0 1.25rem; }
.page-hero--dark { padding-bottom: clamp(3rem, 2.5rem + 3vw, 5.5rem); }
.page-hero--dark::before, .page-hero--dark::after { display: none; }
.page-hero--dark .eyebrow { color: var(--a-300); }
.page-hero--dark .breadcrumbs li { color: var(--on-dark-2); }
.page-hero--dark .breadcrumbs a { color: var(--on-dark); }
.page-hero--dark .breadcrumbs a:hover { color: var(--a-300); }
.page-hero--dark .breadcrumbs [aria-current="page"] { color: var(--white); }
.page-hero--dark .breadcrumbs li + li::before { border-color: var(--on-dark-2); }
.page-hero__art svg { width: 100%; filter: drop-shadow(0 24px 40px rgba(7,26,51,.16)); }
.page-hero--dark .page-hero__art svg { filter: none; }
.prose .related { margin-top: 1.5rem; }
.prose .table-wrap { max-width: 100%; }
.prose .callout + p { margin-top: 1.5rem; }
.layout__main > section:last-child { margin-bottom: 0; }

/* ---------- 19. Contact ---------- */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item strong { display: block; font-family: var(--font-head); }
.contact-item a { font-weight: 600; font-family: var(--font-head); font-size: 1.25rem; text-decoration: none; }
.contact-item > div > span { display: block; color: var(--ink); font-weight: 500; }
.contact-item p { font-size: .9375rem; color: var(--ink-3); margin-top: .25rem; }

/* ---------- 20. Footer ---------- */
.site-footer { position: relative; background: var(--dark); color: var(--on-dark-2); padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0 2rem; font-size: .9375rem; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(249,115,22,.5), transparent); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 3rem; } }
.footer__brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer__brand p { max-width: 38ch; }
.site-footer h2, .footer__title {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); margin: 0 0 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: none; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; line-height: 1.35; }
.site-footer a:hover { color: var(--a-300); text-decoration: underline; }
.footer__services ul { grid-template-columns: 1fr; }
.footer__phone { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--white) !important; letter-spacing: -0.02em; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--a-300); margin-top: .35rem; }
.disclosure {
  margin-top: 3rem; padding: 1.25rem 1.35rem; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  font-size: var(--fs-xs); line-height: 1.65; color: var(--on-dark-2);
}
.disclosure p { max-width: none; margin: 0; }
.disclosure strong { color: var(--on-dark); }
.footer__bottom {
  display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-xs);
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 21. Mobile call bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(6,20,42,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 -10px 30px -10px rgba(0,0,0,.4);
}
.call-bar__meta { display: flex; flex-direction: column; line-height: 1.2; color: var(--on-dark-2); font-size: var(--fs-xs); min-width: 0; }
.call-bar__meta strong { color: var(--white); font-family: var(--font-head); font-size: .9375rem; }
.call-bar__live { display: inline-flex; align-items: center; gap: .35rem; }
.call-bar__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.call-bar .btn { flex: 1; min-height: 50px; width: auto; }
@media (max-width: 379px) { .call-bar__meta { display: none; } }
@media (min-width: 1024px) { .call-bar { display: none; } }

/* ---------- 22. 404 ---------- */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-y); }
.not-found__code {
  font-family: var(--font-head); font-weight: 800; line-height: .9; letter-spacing: -0.05em;
  font-size: clamp(6rem, 3rem + 14vw, 12rem); color: transparent; -webkit-text-stroke: 2px var(--p-300);
}

/* ---------- 23. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .glass-card, .pulse, .drip { animation: none !important; }
  .pulse { opacity: .5; }
}

/* ---------- 24. Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.accent-text { color: var(--a-700); }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 1rem; }
.max-ch { max-width: 68ch; }

@media print {
  .site-header, .call-bar, .mobile-panel, .cta-band, .site-footer .disclosure { display: none !important; }
  body { padding: 0; color: #000; }
}
