/* ==========================================================================
   Pressure Repair Pros — Design System
   Mobile-first · base 360px · breakpoints 640 / 768 / 1024 / 1280
   Fonts loaded in HTML: Plus Jakarta Sans (700,800) + Inter (400,500)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Primary — reservoir blue */
  --p-50:  #EEF7FB;
  --p-100: #D5ECF5;
  --p-200: #ABD8EA;
  --p-300: #74BCD9;
  --p-400: #3B9AC2;
  --p-500: #1A7DA8;
  --p-600: #0F6489;
  --p-700: #0D4F6D;
  --p-800: #0B3D55;
  --p-900: #082B3C;

  /* Neutrals */
  --dark: #06141C;
  --ink: #0E2230;          /* body text on light */
  --muted: #4A5E6A;        /* secondary text (AA on white & off-white) */
  --off: #F7F5F0;          /* warm off-white */
  --white: #FFFFFF;
  --border: #DCE4E8;
  --border-dark: rgba(255,255,255,.12);

  /* Accent — gauge orange (CTAs + highlights only) */
  --accent: #FF6B1A;
  --accent-hover: #E85A0C;
  --accent-700: #C2410C;
  --on-accent: #1B0E04;

  /* Status */
  --success: #15803D;
  --success-50: #ECFDF3;
  --warning: #B45309;
  --warning-50: #FFF7ED;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Inter", ui-sans-serif, sans-serif;
  --font-body: "Inter", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  --fs-h1: clamp(2.5rem, 1.6rem + 3.9vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.62rem + 1.6vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 1.04rem + .1vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --lh: 1.7;
  --measure: 68ch;

  /* Space & shape */
  --gutter: 20px;
  --container: 1240px;
  --section-y: 64px;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  /* Elevation (layered) */
  --shadow-sm: 0 1px 2px rgba(6,20,28,.06), 0 1px 1px rgba(6,20,28,.04);
  --shadow: 0 1px 2px rgba(6,20,28,.05), 0 4px 10px rgba(6,20,28,.05), 0 16px 32px -12px rgba(6,20,28,.12);
  --shadow-lg: 0 2px 4px rgba(6,20,28,.05), 0 12px 24px rgba(6,20,28,.07), 0 32px 64px -20px rgba(6,20,28,.22);
  --glow-accent: 0 6px 20px -4px rgba(255,107,26,.55), 0 0 0 1px rgba(255,107,26,.25);

  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 68px;
  --callbar-h: 0px;
}

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

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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: var(--lh);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--callbar-h);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--p-600); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--p-700); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; }
li + li { margin-top: .4em; }
strong { font-weight: 600; color: var(--dark); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }

:focus-visible { outline: 3px solid var(--p-400); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--accent); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000;
  background: var(--dark); color: var(--white); padding: 12px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

.section { position: relative; padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--off { background: var(--off); }
.section--tint { background: var(--p-50); }
.section--dark {
  background: radial-gradient(120% 80% at 85% 0%, rgba(26,125,168,.35), transparent 60%), var(--p-900);
  color: rgba(255,255,255,.82);
}
.section--darkest { background: var(--dark); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3, .section--dark h4,
.section--darkest h2, .section--darkest h3, .section--darkest h4 { color: var(--white); }
.section--dark strong, .section--darkest strong { color: var(--white); }
.section--dark a:not(.btn), .section--darkest a:not(.btn) { color: var(--p-200); }
.section--dark a:not(.btn):hover, .section--darkest a:not(.btn):hover { color: var(--white); }
.section--tight { padding-block: calc(var(--section-y) * .6); }

/* Section header: eyebrow + H2 + intro */
.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 p { font-size: var(--fs-lead); color: var(--muted); margin: 0; }
.section--dark .section-head p, .section--darkest .section-head p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--p-600); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 17a8 8 0 1 1 16 0'/%3E%3Cpath d='M12 17l4-5'/%3E%3Ccircle cx='12' cy='17' r='1.6' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 17a8 8 0 1 1 16 0'/%3E%3Cpath d='M12 17l4-5'/%3E%3Ccircle cx='12' cy='17' r='1.6' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section--dark .eyebrow, .section--darkest .eyebrow, .cta-band .eyebrow { color: var(--accent); }

.lead { font-size: var(--fs-lead); color: var(--muted); }
.measure, .prose > p, .prose > ul, .prose > ol { max-width: var(--measure); }
.muted { color: var(--muted); }
.fineprint { font-size: var(--fs-xs); line-height: 1.55; color: var(--muted); }

/* Highlight: accent underline on key phrase */
.hl {
  position: relative; white-space: nowrap;
  background: linear-gradient(transparent 62%, rgba(255,107,26,.28) 62%, rgba(255,107,26,.28) 92%, transparent 92%);
  padding-inline: .06em;
}
.hl--gradient {
  background: linear-gradient(100deg, var(--p-600) 0%, var(--p-400) 45%, var(--accent-700) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 479.98px) { .hl { white-space: normal; } }

/* Split (text + illustration) */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__art { position: relative; }
.split__art svg { width: 100%; height: auto; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: 5rem; }
  .split--reverse .split__text { order: 2; }
  .split--reverse .split__art { order: 1; }
}

/* Grid helpers */
.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: 1023.98px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 4. Dividers ---------- */
.divider { position: relative; line-height: 0; z-index: 1; pointer-events: none; }
.divider svg { width: 100%; height: clamp(36px, 6vw, 90px); }
.divider--flip svg { transform: scaleY(-1); }
.divider--to-dark { background: transparent; margin-bottom: -1px; }
.divider--from-dark { margin-top: -1px; }
.section--angle { clip-path: polygon(0 clamp(24px,4vw,64px), 100% 0, 100% 100%, 0 100%); margin-top: calc(clamp(24px,4vw,64px) * -1); padding-top: calc(var(--section-y) + clamp(24px,4vw,64px)); }

/* Signature pipe line (flow motif) */
.pipe-line { position: relative; }
.pipe-line::before {
  content: ""; position: absolute; left: calc(var(--gutter) / 2 - 1px); top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--p-200), var(--p-400) 40%, var(--p-200));
  opacity: .5; display: none;
}
@media (min-width: 1280px) { .pipe-line::before { display: block; left: max(12px, calc((100vw - var(--container)) / 2 - 24px)); } }

/* ---------- 5. Buttons ---------- */
.btn {
  --_bg: var(--accent); --_fg: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.6em;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  background: var(--_bg); color: var(--_fg);
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { color: var(--_fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--call { box-shadow: var(--glow-accent); }
.btn--call:hover { background: var(--accent-hover); box-shadow: 0 10px 28px -6px rgba(255,107,26,.65), 0 0 0 1px rgba(255,107,26,.35); }
.btn--call svg { animation: ring 3.2s var(--ease) infinite; transform-origin: 50% 50%; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 95% { transform: rotate(-8deg); } }

.btn--outline { --_bg: transparent; --_fg: var(--p-700); border-color: var(--p-200); }
.btn--outline:hover { border-color: var(--p-600); background: var(--p-50); }
.section--dark .btn--outline, .section--darkest .btn--outline, .cta-band .btn--outline { --_fg: var(--white); border-color: rgba(255,255,255,.3); }
.section--dark .btn--outline:hover, .section--darkest .btn--outline:hover, .cta-band .btn--outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); }

.btn--sm { min-height: 44px; padding: .55em 1.15em; font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: .9em 2em; font-size: 1.1875rem; }

.btn-row { display: flex; flex-direction: column; gap: .75rem; }
.btn-row .btn { width: 100%; }
@media (min-width: 640px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .btn-row .btn { width: auto; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem;
  color: var(--p-600); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg, .card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- 6. Chips, icons, badges ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.chip-row li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em .95em; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.75); border: 1px solid var(--border);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink); line-height: 1.3;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip svg { width: 18px; height: 18px; color: var(--success); }
.section--dark .chip, .section--darkest .chip { background: rgba(255,255,255,.06); border-color: var(--border-dark); color: rgba(255,255,255,.88); }

.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--p-50); color: var(--p-600);
  box-shadow: inset 0 0 0 1px var(--p-100);
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--lg { width: 64px; height: 64px; border-radius: 18px; }
.icon-tile--lg svg { width: 32px; height: 32px; }
.icon-tile--dark { background: rgba(255,255,255,.07); color: var(--p-200); box-shadow: inset 0 0 0 1px var(--border-dark); }
.icon-tile--accent { background: #FFF1E8; color: var(--accent-700); box-shadow: inset 0 0 0 1px #FFD9C2; }

/* Icon base (Lucide-style line icons) */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 7. Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--p-200); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card .link-arrow { margin-top: auto; }
a.card { text-decoration: none; color: inherit; }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow); }
.section--dark .card, .section--darkest .card { background: rgba(255,255,255,.04); border-color: var(--border-dark); box-shadow: none; }
.section--dark .card p, .section--darkest .card p { color: rgba(255,255,255,.72); }
.section--dark .card:hover, .section--darkest .card:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }

/* Stretched link: whole card clickable, one link in DOM */
.card .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }

.card--glass {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, var(--shadow-lg);
}

/* ---------- 8. Header & nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -14px rgba(6,20,28,.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--dark); min-height: 44px; }
.brand__mark { width: 40px; height: 40px; }
.brand__word { font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.025em; line-height: 1; }
.brand__word span { color: var(--p-600); }
.brand__sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
@media (min-width: 1024px) { .brand__mark { width: 44px; height: 44px; } .brand__word { font-size: 1.25rem; } }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; position: relative; }
.nav__link, .nav__btn {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px; padding: .4em .9em;
  border: 0; background: none; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .9875rem; color: var(--ink); text-decoration: none;
}
.nav__link:hover, .nav__btn:hover, .nav__link[aria-current="page"] { color: var(--p-600); background: var(--p-50); }
.nav__btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: min(560px, 90vw); padding: .75rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__menu li { margin: 0; }
.nav__menu a { display: flex; align-items: center; min-height: 44px; padding: .45em .8em; border-radius: 10px; font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav__menu a:hover { background: var(--p-50); color: var(--p-700); }
.nav__btn[aria-expanded="true"] + .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* Full-screen mobile panel */
.nav-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  padding: 1.25rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 1.25rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-panel[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.nav-panel__list { list-style: none; margin: 0; padding: 0; }
.nav-panel__list > li { margin: 0; border-bottom: 1px solid var(--border); }
.nav-panel__list > li > a, .nav-panel__list .nav__btn {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  min-height: 56px; padding: .5rem 0; border-radius: 0;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--dark); text-decoration: none; background: none;
}
.nav-panel__list .nav__btn:hover { background: none; }
.nav-panel__sub { list-style: none; margin: 0 0 1rem; padding: 0; display: none; grid-template-columns: 1fr; gap: 0; }
.nav-panel__list .nav__btn[aria-expanded="true"] + .nav-panel__sub { display: grid; }
.nav-panel__sub li { margin: 0; }
.nav-panel__sub a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
@media (min-width: 640px) { .nav-panel__sub { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .nav-panel { display: none; }
}

/* ---------- 9. Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 6rem) clamp(4rem, 3rem + 4vw, 7.5rem);
  background: var(--white);
}
.hero__mesh {
  position: absolute; inset: -10% -10% 0 -10%; z-index: -2;
  background:
    radial-gradient(42% 52% at 88% 18%, rgba(116,188,217,.55), transparent 70%),
    radial-gradient(38% 44% at 70% 78%, rgba(171,216,234,.55), transparent 70%),
    radial-gradient(30% 36% at 12% 8%, rgba(255,107,26,.13), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(213,236,245,.9), transparent 70%),
    linear-gradient(180deg, #FBFDFE 0%, var(--p-50) 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  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 .02 0 0 0 0 .08 0 0 0 0 .11 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__text { position: relative; z-index: 2; }
.hero h1 { margin-bottom: .45em; }
.hero__sub { font-size: var(--fs-lead); color: var(--muted); max-width: 40ch; margin-bottom: 1.75rem; }
.hero .btn-row { margin-bottom: 1.5rem; }
.hero .chip-row { margin-bottom: 1.25rem; }
.hero .fineprint { max-width: 56ch; margin: 0; }

.hero__art { position: relative; max-width: 420px; width: 100%; margin-inline: auto; }
.hero__art > svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(6,20,28,.14)); }

.float-card {
  position: absolute; z-index: 3; display: none; align-items: center; gap: .75rem;
  padding: .8rem 1rem .8rem .8rem; border-radius: 18px; max-width: 240px;
  font-size: .875rem; line-height: 1.35; color: var(--ink);
}
.float-card strong { display: block; font-family: var(--font-head); font-size: .9375rem; color: var(--dark); }
.float-card .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.float-card .icon-tile svg { width: 22px; height: 22px; }
.float-card--a { top: 6%; left: -6%; }
.float-card--b { bottom: 20%; right: -4%; }
.float-card--c { bottom: -2%; left: 4%; }
@media (min-width: 640px) {
  .float-card { display: flex; }
  .float-card--c { display: none; }
  .hero__art { max-width: 520px; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 3rem; }
  .hero__art { max-width: none; }
  .float-card--c { display: flex; }
  .float-card { animation: floaty 7s ease-in-out infinite; }
  .float-card--b { animation-delay: -2.3s; }
  .float-card--c { animation-delay: -4.6s; }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Signature gauge (inline SVG in hero/404) */
.gauge__needle { transform-box: view-box; transform-origin: var(--gx, 50%) var(--gy, 50%); animation: needle 2.4s var(--ease) .4s both; }
@keyframes needle { 0% { transform: rotate(-62deg); } 55% { transform: rotate(14deg); } 75% { transform: rotate(4deg); } 100% { transform: rotate(8deg); } }
.flow-dash { stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.page-hero .hero__mesh { inset: 0; }
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }

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

/* ---------- 11. Bento (services) ---------- */
.bento { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.bento__item { min-height: 100%; }
.bento__item--lg {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(116,188,217,.35), transparent 65%),
    linear-gradient(160deg, var(--p-800), var(--p-900));
  border-color: transparent; color: rgba(255,255,255,.85);
}
.bento__item--lg h3 { color: var(--white); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.bento__item--lg p { color: rgba(255,255,255,.78); font-size: var(--fs-body); }
.bento__item--lg .icon-tile { background: rgba(255,255,255,.1); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.bento__item--lg .link-arrow { color: var(--accent); }
.bento__item--lg:hover { border-color: transparent; }
.bento__item--lg .bento__art { margin-top: auto; opacity: .95; }
.bento__item--accent { background: linear-gradient(160deg, #FFF8F2, var(--white)); }
.bento__tag {
  align-self: flex-start; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3em .7em; border-radius: var(--radius-pill); background: var(--p-50); color: var(--p-700);
}
.bento__item--lg .bento__tag { background: rgba(255,107,26,.16); color: #FFC9A8; }
@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-flow: dense; }
  .bento__item--lg { grid-column: span 2; grid-row: span 2; }
  .bento__item--wide { grid-column: span 2; }
  .bento__item--wide { flex-direction: row; align-items: flex-start; gap: 1.25rem; }
  .bento__item--wide > div { display: flex; flex-direction: column; gap: .9rem; height: 100%; }
}

/* ---------- 12. Symptom checker ---------- */
.symptoms__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-btn {
  min-height: 44px; padding: .5em 1.1em; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--ink);
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--p-300); }
.filter-btn[aria-pressed="true"] { background: var(--p-700); border-color: var(--p-700); color: var(--white); }
.symptoms__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .symptoms__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .symptoms__grid { grid-template-columns: repeat(3, 1fr); } }
.symptom-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start;
  padding: 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.symptom-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--p-300); color: inherit; }
.symptom-card .icon-tile { grid-row: span 3; width: 46px; height: 46px; }
.symptom-card__q { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--dark); line-height: 1.3; }
.symptom-card__a { font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.symptom-card__go { font-family: var(--font-head); font-size: .875rem; font-weight: 700; color: var(--p-600); display: inline-flex; align-items: center; gap: .35em; margin-top: .35rem; }
.symptom-card__go svg { width: 16px; height: 16px; }
.symptom-card[hidden] { display: none; }

/* ---------- 13. Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; 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-400) 0 8px, transparent 8px 16px);
  opacity: .55;
}
.process__step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 1.25rem; margin: 0; }
.process__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 70px; height: 70px;
  border-radius: 50%; background: linear-gradient(160deg, var(--p-800), var(--p-900)); box-shadow: 0 0 0 6px var(--p-900), inset 0 0 0 1px rgba(255,255,255,.14);
  font-family: var(--font-head); font-weight: 800; font-size: 3.25rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.6px var(--p-300);
}
.section--white .process__num, .section--off .process__num, .section--tint .process__num { background: var(--white); box-shadow: 0 0 0 6px var(--white); -webkit-text-stroke-color: var(--p-600); }
.process__step h3 { margin: .35rem 0 .4rem; }
.process__step p { margin: 0; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .process::before { left: 8%; right: 8%; top: 55px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--p-400) 0 8px, transparent 8px 16px); }
  .process__step { grid-template-columns: 1fr; gap: 1rem; }
  .process__num { width: 110px; height: 110px; font-size: 5.25rem; box-shadow: 0 0 0 10px var(--p-900), inset 0 0 0 1px rgba(255,255,255,.14); }
  .section--white .process__num, .section--off .process__num, .section--tint .process__num { box-shadow: 0 0 0 10px var(--white); }
}

/* ---------- 14. Callouts ---------- */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  padding: 1.15rem 1.25rem; margin: 1.75rem 0; max-width: var(--measure);
  border-radius: 14px; border: 1px solid var(--border); border-left: 5px solid var(--p-600);
  background: var(--p-50);
}
.callout svg { width: 24px; height: 24px; margin-top: 2px; color: var(--p-600); }
.callout__title { display: block; font-family: var(--font-head); font-weight: 800; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .25rem; }
.callout p { margin: 0; font-size: 1rem; }
.callout p + p { margin-top: .6em; }
.callout--tip { background: var(--success-50); border-color: #CDEFD9; border-left-color: var(--success); }
.callout--tip svg, .callout--tip .callout__title { color: var(--success); }
.callout--warn { background: var(--warning-50); border-color: #FBDDBE; border-left-color: var(--warning); }
.callout--warn svg, .callout--warn .callout__title { color: var(--warning); }

/* ---------- 15. Tables ---------- */
.table-wrap {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
}
.cost-table { min-width: 560px; font-size: 1rem; }
.cost-table caption { text-align: left; padding: 1rem 1.25rem 0; font-size: var(--fs-sm); color: var(--muted); caption-side: bottom; padding-bottom: 1rem; }
.cost-table th, .cost-table td { text-align: left; vertical-align: top; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.cost-table thead th {
  background: var(--p-900); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .875rem;
  letter-spacing: .04em; text-transform: uppercase; border-bottom: 0;
}
.cost-table tbody tr:nth-child(even) { background: #FAFCFD; }
.cost-table tbody tr:last-child td, .cost-table tbody tr:last-child th { border-bottom: 0; }
.cost-table tbody th { font-family: var(--font-head); font-weight: 700; color: var(--dark); }
.level { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .875rem; white-space: nowrap; }
.level::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.level--low { color: var(--success); }
.level--mid { color: var(--warning); }
.level--high { color: #B91C1C; }

/* Stacked-card tables on small screens */
@media (max-width: 639.98px) {
  .table-wrap--stack { overflow: visible; border: 0; background: none; box-shadow: none; }
  .table-wrap--stack .cost-table { min-width: 0; }
  .table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .table-wrap--stack tr { display: block; margin-bottom: 1rem; padding: .5rem 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white) !important; box-shadow: var(--shadow-sm); }
  .table-wrap--stack th, .table-wrap--stack td { display: block; border: 0; padding: .45rem 1.1rem; }
  .table-wrap--stack td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .table-wrap--stack tbody th { font-size: 1.0625rem; padding-top: .75rem; }
}

/* ---------- 16. Areas ---------- */
.areas-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } .areas-grid > :first-child { grid-row: span 2; } }
.area-card { gap: .6rem; }
.area-card h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1875rem; }
.area-card h3 svg { width: 20px; height: 20px; color: var(--accent-700); }
.area-card p { font-size: .975rem; }
.area-card--feature {
  background: radial-gradient(90% 70% at 100% 0%, var(--p-100), transparent 70%), var(--white);
}

/* Map-ish pill cluster */
.area-pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.area-pills li { margin: 0; }
.area-pills a {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: .4em 1em;
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--white);
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.area-pills a:hover { border-color: var(--p-400); color: var(--p-700); }
.area-pills svg { width: 16px; height: 16px; color: var(--p-500); }

/* ---------- 17. Checklists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25em; max-width: var(--measure); }
.checklist li { position: relative; padding-left: 2.1rem; margin: 0 0 .7rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 7px;
  background: var(--p-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6489' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  box-shadow: inset 0 0 0 1px var(--p-100);
}
.section--dark .checklist li::before, .section--darkest .checklist li::before {
  background-color: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--border-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B1A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.signs-list { counter-reset: sign; list-style: none; padding: 0; margin: 0 0 1.25em; display: grid; gap: .75rem; max-width: none; }
@media (min-width: 768px) { .signs-list { grid-template-columns: 1fr 1fr; } }
.signs-list li { counter-increment: sign; position: relative; margin: 0; padding: 1rem 1rem 1rem 3.4rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); font-size: 1rem; }
.signs-list li::before {
  content: counter(sign, decimal-leading-zero); position: absolute; left: 1rem; top: 1rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--accent-700);
}
.signs-list strong { display: block; margin-bottom: .15rem; }

/* ---------- 18. FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 900px; }
.faq--center { margin-inline: auto; }
.faq details {
  border: 1px solid var(--border); border-radius: 16px; background: var(--white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--p-200); box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: 1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--p-700); }
.faq__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--p-50); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--p-600); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { transform: rotate(135deg); background: var(--accent); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--on-accent); }
.faq__body { padding: 0 1.25rem 1.25rem; }
.faq__body p { margin: 0; color: var(--muted); max-width: var(--measure); }
.faq__body p + p { margin-top: .75em; }

/* ---------- 19. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: var(--section-y); background: var(--dark); color: rgba(255,255,255,.8); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(900px, 140vw); aspect-ratio: 1;
  transform: translate(-50%, -38%);
  background: radial-gradient(closest-side, rgba(255,107,26,.32), rgba(26,125,168,.22) 45%, transparent 72%);
  filter: blur(10px);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.cta-band h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band__phone {
  display: inline-block; margin: .5rem 0 1.75rem;
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(2.6rem, 1.4rem + 6.4vw, 6.5rem);
  color: var(--white); text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, #FFD3B8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(255,107,26,.25);
}
.cta-band__phone:hover { -webkit-text-fill-color: var(--accent); }
.cta-band .btn-row { justify-content: center; }

/* ---------- 20. Inner page layout (TOC + sidebar) ---------- */
.page-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.page-layout__aside { display: grid; gap: 1rem; align-content: start; }
.page-layout__main { min-width: 0; }
.page-layout__main > section { padding-block: 0 2.75rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.page-layout__main > section + section { border-top: 1px solid var(--border); padding-top: 2.75rem; }
.page-layout__main h2 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.375rem); }
.page-layout__main h3 { margin-top: 1.75rem; }

.toc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.toc summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: .75rem 1.1rem;
  font-family: var(--font-head); font-weight: 700; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--p-700);
  cursor: pointer; list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.toc[open] summary svg { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0; padding: 0 .6rem .8rem; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a {
  display: flex; gap: .6rem; align-items: baseline; min-height: 40px; padding: .45rem .55rem; border-radius: 10px;
  font-size: .9375rem; line-height: 1.4; color: var(--muted); text-decoration: none; border-left: 2px solid transparent;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: .75rem; color: var(--p-400); }
.toc a:hover { background: var(--p-50); color: var(--p-700); }
.toc a[aria-current="true"] { color: var(--p-700); background: var(--p-50); border-left-color: var(--accent); font-weight: 500; }

.sidebar-call {
  position: relative; overflow: hidden; padding: 1.5rem; border-radius: var(--radius);
  background: radial-gradient(90% 80% at 100% 0%, rgba(255,107,26,.25), transparent 60%), linear-gradient(160deg, var(--p-800), var(--dark));
  color: rgba(255,255,255,.8); box-shadow: var(--shadow-lg);
}
.sidebar-call h2, .sidebar-call .sidebar-call__title { font-family: var(--font-head); font-size: 1.375rem; font-weight: 800; color: var(--white); margin: .25rem 0 .5rem; letter-spacing: -0.02em; line-height: 1.2; }
.sidebar-call p { font-size: .9375rem; margin-bottom: 1rem; }
.sidebar-call .btn { width: 100%; }
.sidebar-call__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.625rem; letter-spacing: -0.02em; color: var(--white); text-decoration: none; margin-bottom: 1rem; }
.sidebar-call .fineprint { color: rgba(255,255,255,.6); margin: .9rem 0 0; }
.sidebar-call .eyebrow { color: var(--accent); margin-bottom: 0; }

@media (max-width: 1023.98px) {
  .sidebar-call { display: none; }  /* mobile uses sticky callbar instead */
}
@media (min-width: 1024px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; }
  .page-layout__aside { order: 2; position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
  .toc summary { pointer-events: none; }
  .toc summary svg { display: none; }
}
@media (min-width: 1280px) { .page-layout { grid-template-columns: minmax(0, 1fr) 340px; } }

/* Related links blocks */
.related { display: grid; gap: 1rem; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related--3 { grid-template-columns: repeat(3, 1fr); } }
.related .card { padding: 1.25rem; flex-direction: row; align-items: center; gap: 1rem; }
.related .card h3 { font-size: 1.0625rem; }
.related .card p { font-size: .9rem; }

/* Definition / key-facts box */
.keybox { display: grid; gap: 1rem; padding: 1.5rem; margin: 1.5rem 0; border-radius: var(--radius); background: var(--off); border: 1px solid var(--border); max-width: var(--measure); }
.keybox dl { margin: 0; display: grid; gap: .75rem; }
.keybox dt { font-family: var(--font-head); font-weight: 700; color: var(--dark); }
.keybox dd { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- 21. Footer ---------- */
.site-footer {
  position: relative; background: var(--p-900); color: rgba(255,255,255,.7);
  padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0 calc(2rem + var(--callbar-h));
  font-size: .9375rem;
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,107,26,.6), transparent); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 3rem; } }
.footer__brand .brand { color: var(--white); }
.footer__brand .brand__word span { color: var(--p-300); }
.footer__brand .brand__sub { color: rgba(255,255,255,.55); }
.footer__brand p { margin: 1.1rem 0; max-width: 40ch; }
.footer__phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: -0.02em; min-height: 44px; }
.footer__phone svg { width: 22px; height: 22px; color: var(--accent); }
.footer__phone:hover { color: var(--accent); }
.footer__title { font-family: var(--font-head); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin: 0 0 1rem; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin: 0; }
.footer__links a { display: inline-flex; align-items: center; min-height: 36px; color: rgba(255,255,255,.72); text-decoration: none; }
.footer__links a:hover { color: var(--white); }
@media (max-width: 1023.98px) { .footer__links a { min-height: 44px; } }
.footer__address { font-style: normal; display: flex; gap: .5rem; align-items: flex-start; }
.footer__address svg { width: 18px; height: 18px; margin-top: 4px; color: var(--p-300); }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--border-dark);
  display: grid; gap: 1rem; font-size: var(--fs-xs); line-height: 1.6; color: rgba(255,255,255,.55);
}
.footer__bottom p { margin: 0; max-width: 110ch; }
.footer__disclaimer strong { color: rgba(255,255,255,.85); }

/* ---------- 22. Mobile sticky call bar ---------- */
.mobile-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: .5rem; align-items: center;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(6,20,28,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-dark);
}
.mobile-callbar .btn { flex: 1; min-height: 52px; }
.mobile-callbar__label { display: none; color: rgba(255,255,255,.75); font-size: .8125rem; line-height: 1.3; }
@media (min-width: 480px) { .mobile-callbar__label { display: block; max-width: 34%; } }
body:has(.mobile-callbar) { --callbar-h: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .mobile-callbar { display: none; }
  body:has(.mobile-callbar) { --callbar-h: 0px; }
}
/* Fallback when :has() unsupported: JS adds class */
body.has-callbar { --callbar-h: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body.has-callbar { --callbar-h: 0px; } }

/* ---------- 23. Misc components ---------- */
.badge-note { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .45rem; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--border); font-size: .875rem; font-weight: 500; box-shadow: var(--shadow-sm); margin-bottom: 1.25rem; }
.badge-note b { display: inline-grid; place-items: center; height: 26px; padding: 0 .6rem; border-radius: var(--radius-pill); background: var(--p-700); color: var(--white); font-family: var(--font-head); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }

.stat-strip { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(3, 1fr); } }

.ready-list { display: grid; gap: .75rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .ready-list { grid-template-columns: 1fr 1fr; } }
.ready-list li { display: flex; gap: .85rem; align-items: flex-start; margin: 0; padding: 1rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); font-size: 1rem; }
.ready-list .icon-tile { width: 40px; height: 40px; border-radius: 11px; }
.ready-list .icon-tile svg { width: 20px; height: 20px; }

.contact-card { display: grid; gap: 1.25rem; }
.form { display: grid; gap: 1rem; }
.form label { display: block; font-weight: 500; font-size: .9375rem; margin-bottom: .35rem; color: var(--dark); }
.form input, .form textarea, .form select {
  width: 100%; min-height: 48px; padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--border);
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--p-200); border-color: var(--p-400); }

.notfound { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.notfound .container > svg { width: min(360px, 80%); }

/* ---------- 24. Motion ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-hidden { opacity: 0; transform: translateY(26px); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal.is-hidden { opacity: 1; transform: none; }
  .gauge__needle { animation: none; transform: rotate(8deg); }
  .flow-dash { animation: none; }
  .card:hover, .btn:hover, .symptom-card:hover { transform: none; }
}

/* ---------- 25. Print ---------- */
@media print {
  .site-header, .mobile-callbar, .nav-panel, .cta-band::before, .hero__grain, .float-card { display: none !important; }
  body { padding: 0; color: #000; }
  .section--dark, .section--darkest, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ---------- 26. Phase 3 additions ---------- */
.bento__item--wide > div { display: flex; flex-direction: column; gap: .9rem; flex: 1; }
@media (min-width: 640px) and (max-width: 1023.98px) { .bento > :last-child { grid-column: span 2; } }
.keybox dl > div { padding-bottom: .75rem; border-bottom: 1px dashed var(--border); }
.keybox dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.section--darkest .card .checklist li { font-size: 1rem; }
.hero .fineprint { padding-left: .9rem; border-left: 2px solid var(--p-200); }

/* ---------- 27. Design self-check fixes ---------- */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--p-600); }
.bento__item--lg h3 a, .bento__item--lg h3 a:hover { color: var(--white); }
.section--dark .card h3 a:hover, .section--darkest .card h3 a:hover { color: var(--p-200); }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__art { margin-right: -1rem; }
  .float-card--a { top: -3%; left: -9%; }
  .float-card--b { top: 58%; bottom: auto; right: -6%; }
  .float-card--c { bottom: -7%; left: -5%; }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .float-card--a { top: -4%; left: -2%; }
  .float-card--b { top: auto; bottom: -5%; right: -2%; }
}

/* Symptom CTA tile fills the last row */
.symptom-cta {
  display: flex; flex-direction: column; justify-content: center; gap: .75rem;
  padding: 1.5rem; border-radius: var(--radius);
  background: radial-gradient(80% 90% at 100% 0%, rgba(255,107,26,.28), transparent 60%), linear-gradient(150deg, var(--p-800), var(--dark));
  color: rgba(255,255,255,.8);
}
.symptom-cta strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--white); letter-spacing: -0.01em; }
.symptom-cta p { margin: 0; font-size: .975rem; }
.symptom-cta .btn { align-self: flex-start; }
@media (min-width: 640px) {
  .symptom-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .symptom-cta .btn { flex: none; }
}
@media (min-width: 1024px) { .symptom-cta { grid-column: span 2; } }
@media (min-width: 640px) and (max-width: 1023.98px) { .symptom-cta { grid-column: 1 / -1; } }

/* FAQ split layout */
.faq-layout { display: grid; gap: 2rem; }
.faq-layout .section-head { margin-bottom: 0; }
.faq-aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 380px minmax(0, 1fr); gap: 4.5rem; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (min-width: 640px) and (max-width: 1023.98px) { .areas-grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 640px) { .symptom-cta .btn { align-self: center; } }
.faq-aside h2 { font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 420px minmax(0, 1fr); } }

/* ---------- 28. Service page components ---------- */
.page-hero__grid { display: grid; gap: 2rem; align-items: center; }
.page-hero__art { max-width: 460px; width: 100%; margin-inline: auto; }
.page-hero__art svg { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); }
.page-hero .chip-row { margin-top: 1.25rem; }
@media (min-width: 1024px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; }
  .page-hero__art { max-width: none; }
}

.steps { list-style: none; counter-reset: st; margin: 1.5rem 0; padding: 0; position: relative; max-width: var(--measure); }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: repeating-linear-gradient(to bottom, var(--p-300) 0 6px, transparent 6px 12px); }
.steps li { position: relative; counter-increment: st; padding: 0 0 1.5rem 4rem; margin: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--p-600);
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--p-700);
  box-shadow: 0 0 0 6px var(--white);
}
.steps h3 { margin: .45rem 0 .25rem !important; font-size: 1.125rem; }
.steps p { margin: 0; color: var(--muted); }

.page-layout__main .checklist { margin-top: 1rem; }
.page-layout__main .faq { max-width: none; }

.related-card { flex-direction: row !important; align-items: flex-start !important; }
.related-card h3 { font-size: 1.0625rem; margin-bottom: .35rem !important; }
.related-areas { margin-top: 2.5rem; }
.related-areas h3 { font-size: 1.125rem; margin-bottom: 1rem; }

/* ---------- 29. Location page components ---------- */
.area-svcs { display: grid; gap: 1rem; margin-top: 1.5rem; }
.area-svc { flex-direction: row !important; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.4rem; }
.area-svc h3 { font-size: 1.125rem; margin: 0 0 .35rem !important; }
.area-svc p { font-size: 1rem; }
.nearby-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: var(--measure); }
.nearby-list li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); }
.nearby-list li svg { width: 20px; height: 20px; margin-top: 4px; color: var(--accent-700); }
.nearby-list span { font-size: 1rem; }
.area-svcs + p { margin-top: 1.5rem; }

/* ---------- 30. About / contact / 404 ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-aside { display: grid; gap: 1.25rem; align-content: start; }
.contact-aside .sidebar-call { display: block !important; }
.contact-aside h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.125rem; }
.contact-aside h3 svg { width: 20px; height: 20px; color: var(--accent-700); }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.notfound .container { text-align: center; }
.notfound .container > svg { max-width: 360px; margin: 0 auto 1.5rem; }
.notfound .lead { margin-inline: auto; max-width: 52ch; }
.gauge__needle--low { animation: needle-low 2.4s var(--ease) .4s both; }
@keyframes needle-low { 0% { transform: rotate(10deg); } 60% { transform: rotate(-70deg); } 100% { transform: rotate(-62deg); } }
@media (prefers-reduced-motion: reduce) { .gauge__needle--low { animation: none; transform: rotate(-62deg); } }
.container--narrow.prose h2 { margin-top: 2.5rem; }
.container--narrow.prose h2:first-child { margin-top: 0; }
