/* =========================================================
   TankRight Water Heater Repair — design system
   Navy #0B2545 + Orange #F97316 · Sora + Inter
   Mobile-first · breakpoints 640 / 768 / 1024 / 1280
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --p-50:  #EEF3F9;
  --p-100: #D9E3F0;
  --p-200: #B3C6DE;
  --p-300: #8098BF;
  --p-400: #4F6C9A;
  --p-500: #2C4B7A;
  --p-600: #1B3862;
  --p-700: #122C50;
  --p-800: #0B2545;   /* brand primary */
  --p-900: #071A33;
  --dark:  #050F21;

  --accent:      #F97316;  /* CTAs + highlights only */
  --accent-600:  #EA580C;
  --accent-700:  #C2410C;  /* accent text on light bg (AA) */
  --accent-50:   #FFF4EC;

  --ink:       #0F1B2D;
  --ink-soft:  #44536A;
  --ink-mute:  #64748B;
  --off:       #F7F8FB;
  --white:     #FFFFFF;
  --border:    #E2E8F0;
  --border-dk: rgba(255,255,255,.12);

  --good: #15803D;
  --warn: #B45309;
  --danger: #B91C1C;

  --font-head: "Sora", ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, sans-serif;

  --fs-h1: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(11,37,69,.06), 0 2px 6px rgba(11,37,69,.06);
  --shadow-2: 0 2px 4px rgba(11,37,69,.05), 0 8px 24px rgba(11,37,69,.08), 0 24px 48px -12px rgba(11,37,69,.12);
  --shadow-glow: 0 8px 24px -6px rgba(249,115,22,.55);

  --container: 1200px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 72px;
  --callbar-h: 64px;
}

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

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -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);
  background: var(--white);
  overflow-x: clip;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--p-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-700); }
p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { padding-left: 1.25em; max-width: 68ch; }
li { margin-bottom: .45em; }
strong { font-weight: 600; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--p-800);
  margin: 0 0 .5em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.0625rem; font-weight: 700; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--p-900); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-pill); text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  width: 100%;
}
@media (min-width: 640px) { .btn { width: auto; } }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--xl, .header-cta { white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--p-900); box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: #FB8A3C; color: var(--p-900); transform: translateY(-2px); box-shadow: 0 12px 32px -6px rgba(249,115,22,.65); }
.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); }
.btn--ghost-dark { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.125rem; }
.btn--xl { min-height: 68px; padding: 18px 36px; font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 4. Header + nav ---------- */
.topbar { background: var(--p-900); color: var(--p-200); font-size: var(--fs-xs); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; }
.topbar__left { display: none; }
@media (min-width: 768px) { .topbar__left { display: flex; gap: 20px; align-items: center; } }
.topbar__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; box-shadow: 0 0 0 4px rgba(249,115,22,.25); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 44px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 52px; } }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; max-width: none; }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  font-weight: 600; font-size: .9688rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-pill);
  background: none; border: 0; cursor: pointer; font-family: var(--font-body);
}
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--p-50); color: var(--p-800); }
.nav__link svg { width: 16px; height: 16px; transition: transform .2s; }
.nav__item--drop:hover .nav__link svg, .nav__item--drop:focus-within .nav__link svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(760px, 90vw); background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega--areas { grid-template-columns: repeat(3, 1fr); width: min(680px, 90vw); }
.nav__item--drop:hover .mega, .nav__item--drop:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__title { grid-column: 1 / -1; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); font-weight: 700; margin: 4px 0 8px; }
.mega a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.mega a:hover { background: var(--p-50); color: var(--p-800); }

.header-cta { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; width: auto; }
  .menu-toggle { display: none !important; }
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 14px; border: 1px solid var(--border); background: #fff; color: var(--p-800); cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-panel {
  position: fixed; inset: 0; z-index: 150; background: var(--p-900); color: #fff;
  padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto; opacity: 0; transform: translateY(-12px); pointer-events: none; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mobile-panel.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.mobile-panel summary svg { width: 20px; height: 20px; transition: transform .2s; }
.mobile-panel details[open] summary svg { transform: rotate(180deg); }
.mobile-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-panel__close { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--border-dk); background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mobile-panel__close svg { width: 24px; height: 24px; }
.mobile-panel ul { list-style: none; padding: 0; margin: 0 0 24px; max-width: none; }
.mobile-panel li { margin: 0; border-bottom: 1px solid var(--border-dk); }
.mobile-panel a { display: flex; align-items: center; min-height: 52px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; }
.mobile-panel details summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; cursor: pointer; list-style: none; }
.mobile-panel details summary::-webkit-details-marker { display: none; }
.mobile-panel details ul { margin: 0 0 12px; }
.mobile-panel details li { border: 0; }
.mobile-panel details a { min-height: 44px; font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--p-200); }
body.menu-open { overflow: hidden; }

/* ---------- 5. Sections + rhythm ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--off { background: var(--off); }
.section--tint { background: var(--p-50); }
.section--dark { background: var(--p-800); color: var(--p-100); }
.section--darker { background: var(--dark); color: var(--p-100); }
.section--dark h2, .section--dark h3, .section--darker h2, .section--darker h3 { color: #fff; }
.section--dark p, .section--darker p { color: var(--p-200); }
.section--dark a:not(.btn), .section--darker a:not(.btn) { color: #FDBA74; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head__intro { font-size: 1.125rem; color: var(--ink-soft); }
.section--dark .section-head__intro, .section--darker .section-head__intro { color: var(--p-200); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent-700);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow, .section--darker .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .side-call .eyebrow { color: #FDBA74; }

/* dividers */
.divider { display: block; width: 100%; height: 56px; line-height: 0; }
.divider svg { width: 100%; height: 100%; display: block; }
.divider--angle-dark { color: var(--p-800); }
.divider--wave-off { color: var(--off); }
.divider--wave-tint { color: var(--p-50); }
.divider--wave-white { color: #fff; }
.divider--flip { transform: scaleY(-1); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--p-900);
  color: var(--p-100);
  padding: 48px 0 72px;
}
@media (min-width: 1024px) { .hero { padding: 88px 0 120px; } }
.hero__mesh {
  position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(44,75,122,.85) 0%, transparent 70%),
    radial-gradient(35% 45% at 85% 25%, rgba(249,115,22,.28) 0%, transparent 70%),
    radial-gradient(45% 55% at 70% 90%, rgba(27,56,98,.9) 0%, transparent 70%),
    radial-gradient(30% 40% at 5% 95%, rgba(249,115,22,.14) 0%, transparent 70%),
    linear-gradient(160deg, #0B2545 0%, #071A33 60%, #050F21 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--p-200); max-width: 56ch; margin-bottom: 28px; }
.hl {
  position: relative; white-space: nowrap; color: #fff;
  background-image: linear-gradient(transparent 62%, rgba(249,115,22,.55) 62%, rgba(249,115,22,.55) 90%, transparent 90%);
}
.hl--grad { background: linear-gradient(90deg, #FDBA74, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__cta { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
@media (min-width: 640px) { .hero__cta { flex-direction: row; align-items: center; } }
.hero__phone-note { font-size: var(--fs-sm); color: var(--p-200); }
.hero__phone-note strong { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; padding: 0; max-width: none; }
.chips li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff;
  font-size: var(--fs-sm); font-weight: 500;
}
.chip svg { width: 18px; height: 18px; color: #FDBA74; }
.hero__disclosure { margin-top: 20px; font-size: var(--fs-xs); color: var(--p-300); max-width: 60ch; }

.hero__visual { position: relative; max-width: 360px; margin-inline: auto; width: 100%; }
@media (min-width: 640px) { .hero__visual { max-width: 460px; } }
@media (min-width: 1024px) { .hero__visual { max-width: 540px; } }
.hero__scene { width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }

.glass {
  position: absolute; display: none; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; font-size: var(--fs-sm); font-weight: 600; box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
  text-decoration: none;
}
.glass small { display: block; font-weight: 400; color: var(--p-200); font-size: var(--fs-xs); }
.glass__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(249,115,22,.22); color: #FDBA74; flex: none; }
.glass__icon svg { width: 20px; height: 20px; }
@media (min-width: 640px) { .glass { display: flex; } }
.glass--1 { top: 8%; left: -6%; }
.glass--2 { top: 46%; right: -6%; }
.glass--3 { bottom: 4%; left: 4%; }
@media (min-width: 640px) and (max-width: 1023px) { .glass { transform: scale(.88); } }

/* drip + flame animation in the hero SVG */
.drip { animation: drip 2.4s ease-in infinite; transform-origin: center; }
.drip--2 { animation-delay: 1.2s; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }
.flame { animation: flicker 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes flicker { 0% { transform: scaleY(1); opacity: .95; } 100% { transform: scaleY(1.12); opacity: 1; } }

/* ---------- 7. Trust strip ---------- */
.trust-strip { position: relative; z-index: 2; margin-top: -40px; }
.trust-strip__grid {
  display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2);
}
@media (min-width: 640px) { .trust-strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-strip__grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { background: #fff; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.trust-item h2, .trust-item h3 { font-size: 1rem; margin: 0 0 2px; letter-spacing: -0.01em; }
.trust-item p { font-size: var(--fs-sm); color: var(--ink-mute); margin: 0; line-height: 1.5; }

/* ---------- 8. Icons ---------- */
.icon-box {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--p-50); color: var(--p-700);
}
.icon-box svg { width: 24px; height: 24px; }
.icon-box--accent { background: var(--accent-50); color: var(--accent-700); }
.icon-box--dark { background: rgba(255,255,255,.08); color: #FDBA74; }
.icon-box--lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-box--lg svg { width: 28px; height: 28px; }

/* ---------- 9. Cards + bento ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--p-200); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 16px; }
.card__link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-family: var(--font-head);
  font-size: var(--fs-sm); color: var(--p-800); text-decoration: none;
}
.card__link svg { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(4px); }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
  .bento .card--big { grid-column: span 2; grid-row: span 2; }
  .bento .card--wide { grid-column: span 2; }
}
.card--big {
  background: linear-gradient(155deg, var(--p-800) 0%, var(--p-900) 100%); color: var(--p-200);
  border-color: transparent; overflow: hidden;
}
.card--big h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.card--big p { color: var(--p-200); }
.card--big .card__link { color: #FDBA74; }
.card--big .icon-box { background: rgba(249,115,22,.18); color: #FDBA74; }
.card--big__art { position: absolute; right: -20px; bottom: -20px; width: 240px; opacity: .9; pointer-events: none; }
@media (max-width: 1023px) { .card--big__art { width: 160px; opacity: .35; } }
.card--accent { background: var(--accent-50); border-color: #FED7AA; }

.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .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); } }

/* ---------- 10. Split sections ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media svg { width: 100%; }
.media-frame { border-radius: 28px; background: linear-gradient(160deg, var(--p-50), #fff); border: 1px solid var(--border); padding: 24px; box-shadow: var(--shadow-2); }
.stat-badge {
  position: absolute; right: 16px; bottom: -20px; background: var(--accent); color: var(--p-900);
  border-radius: 18px; padding: 14px 18px; font-family: var(--font-head); font-weight: 800; box-shadow: var(--shadow-glow);
  font-size: var(--fs-sm); line-height: 1.3; max-width: 220px;
}
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.check-list svg { width: 22px; height: 22px; color: var(--accent-700); flex: none; margin-top: 4px; }
.section--dark .check-list svg { color: #FDBA74; }

/* ---------- 11. Process ---------- */
.process { display: grid; gap: 32px; position: relative; list-style: none; padding: 0; margin: 0; max-width: none; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .process::before {
    content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--p-300) 0 10px, transparent 10px 18px);
  }
}
.process__step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-1); }
.process__num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 4.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--accent); margin-bottom: 12px; position: relative;
  background: #fff; width: fit-content; padding-right: 8px;
}
.process__step h3 { margin-bottom: 8px; }
.process__step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ---------- 12. Symptom checker ---------- */
.symptoms { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .symptoms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .symptoms { grid-template-columns: repeat(3, 1fr); } }
.symptom {
  position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-dk); border-radius: var(--radius);
  text-decoration: none; color: var(--p-100); transition: background .2s, border-color .2s, transform .2s;
}
.symptom:hover { background: rgba(249,115,22,.1); border-color: rgba(249,115,22,.45); transform: translateY(-3px); color: #fff; }
.symptom h3 { font-size: 1.0625rem; color: #fff; margin: 0 0 4px; }
.symptom p { font-size: var(--fs-sm); margin: 0 0 8px; color: var(--p-200); }
.symptom__go { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #FDBA74; }
.severity { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; }
.severity--high { background: rgba(239,68,68,.18); color: #FCA5A5; }
.severity--med { background: rgba(245,158,11,.18); color: #FCD34D; }
.severity--low { background: rgba(34,197,94,.16); color: #86EFAC; }

/* ---------- 13. Callouts ---------- */
.callout { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--border); border-left: 4px solid var(--p-500); background: var(--p-50); margin: 28px 0; max-width: 72ch; }
.callout svg { width: 24px; height: 24px; flex: none; margin-top: 3px; color: var(--p-600); }
.callout p { margin: 0; font-size: 1rem; }
.callout__title { display: block; font-family: var(--font-head); font-weight: 700; color: var(--p-800); margin-bottom: 4px; }
.callout--tip { border-left-color: var(--good); background: #F0FDF4; }
.callout--tip svg { color: var(--good); }
.callout--warn { border-left-color: var(--accent-600); background: var(--accent-50); }
.callout--warn svg { color: var(--accent-700); }
.callout--danger { border-left-color: var(--danger); background: #FEF2F2; }
.callout--danger svg { color: var(--danger); }

/* ---------- 14. Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); margin: 24px 0; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1rem; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { background: var(--p-800); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) td { background: var(--off); }
@media (max-width: 639px) {
  .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; border-bottom: 1px solid var(--border); padding: 10px 0; }
  .table--stack td { display: block; border: 0; padding: 6px 18px; background: transparent !important; }
  .table--stack td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
}

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px;
  background: var(--dark); color: var(--p-200); padding: 48px 24px; text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: 72px 48px; } }
.cta-band::before {
  content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; left: 50%; top: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.35) 0%, rgba(249,115,22,0) 65%);
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-inline: auto; color: var(--p-200); }
.cta-band__phone {
  display: block; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2.25rem, 1.4rem + 4.5vw, 5rem); line-height: 1.05; color: #fff; text-decoration: none; margin: 16px 0 24px;
}
.cta-band__phone:hover { color: #FDBA74; }

/* ---------- 16. Safety band (replaces template offer band) ---------- */
.safety {
  display: grid; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--p-800), var(--p-700));
  border-radius: 28px; padding: 32px 24px; color: var(--p-200); position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .safety { grid-template-columns: auto 1fr auto; padding: 36px 44px; gap: 36px; } }
.safety__badge { width: 88px; height: 88px; border-radius: 24px; background: var(--accent); color: var(--p-900); display: grid; place-items: center; }
.safety__badge svg { width: 44px; height: 44px; }
.safety h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 8px; }
.safety ol { margin: 0; padding-left: 1.2em; color: var(--p-100); }
.safety li { margin-bottom: 4px; }

/* ---------- 17. Areas ---------- */
.area-list { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .area-list { grid-template-columns: repeat(2, 1fr); } }
.area { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.area h3 { font-size: 1.125rem; margin-bottom: 6px; }
.area p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; max-width: none; }
.area-chips li { margin: 0; }
.area-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: #fff; color: var(--p-800); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.area-chips a:hover { border-color: var(--accent); color: var(--accent-700); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-2); aspect-ratio: 4 / 3; background: var(--p-50); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 18. FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: #fff; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--p-200); box-shadow: var(--shadow-1); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  padding: 18px 22px; min-height: 60px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--p-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { width: 32px; height: 32px; border-radius: 10px; background: var(--p-50); display: grid; place-items: center; flex: none; transition: transform .25s, background .25s; }
.faq__icon svg { width: 18px; height: 18px; color: var(--p-700); }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--accent); }
.faq details[open] .faq__icon svg { color: var(--p-900); }
.faq__body { padding: 0 22px 20px; color: var(--ink-soft); }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- 19. Contact / call card ---------- */
.call-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-2); }
.call-card__row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.call-card__row:last-of-type { border-bottom: 0; }
.call-card__row a { color: var(--p-800); font-weight: 600; text-decoration: none; }
.call-card__label { display: block; font-size: var(--fs-xs); color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

/* ---------- 20. Inner pages: breadcrumbs, page hero, TOC layout ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--p-900); color: var(--p-200); padding: 40px 0 56px; }
@media (min-width: 1024px) { .page-hero { padding: 64px 0 88px; } }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); margin-bottom: 16px; }
.page-hero__lead { color: var(--p-200); font-size: 1.125rem; max-width: 62ch; }

.breadcrumbs { font-size: var(--fs-sm); margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: none; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--p-300); }
.breadcrumbs li + li::before { content: "/"; color: var(--p-400); }
.breadcrumbs a { color: var(--p-200); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; }

.with-sidebar { display: grid; gap: 32px; }
@media (min-width: 1024px) { .with-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
@media (max-width: 1023px) { .sidebar { order: -1; } }
.toc { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 20px; }
.toc summary { font-family: var(--font-head); font-weight: 700; color: var(--p-800); cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.toc ol { list-style: none; padding: 0; margin: 8px 0 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-soft); text-decoration: none; font-size: var(--fs-sm); border-left: 2px solid transparent; }
.toc a:hover, .toc a.is-active { background: var(--p-50); color: var(--p-800); border-left-color: var(--accent); }
.side-call { background: var(--p-800); color: var(--p-200); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.side-call h2, .side-call h3 { color: #fff; font-size: 1.25rem; }
.side-call__phone { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; color: #fff; text-decoration: none; margin: 8px 0 16px; letter-spacing: -0.02em; }
.side-call .btn { width: 100%; }
.side-call::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.35), transparent 70%); }

.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--dark); color: var(--p-300); padding: 72px 0 32px; font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { color: var(--p-200); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: #FDBA74; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff !important; }
.footer-bottom { border-top: 1px solid var(--border-dk); margin-top: 48px; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.disclaimer { font-size: var(--fs-xs); color: var(--p-400); max-width: 90ch; }

/* ---------- 22. Sticky call (mobile bar + desktop pill) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--callbar-h); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--accent); color: var(--p-900); text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem;
  box-shadow: 0 -8px 24px rgba(5,15,33,.25);
}
.callbar svg { width: 22px; height: 22px; }
.callbar:hover { color: var(--p-900); }
@media (min-width: 1024px) { .callbar { display: none; } }

.float-call {
  display: none; position: fixed; right: 24px; bottom: 24px; z-index: 120;
  align-items: center; gap: 12px; padding: 12px 22px 12px 12px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--p-900); text-decoration: none; box-shadow: var(--shadow-glow), 0 16px 40px rgba(5,15,33,.3);
  font-family: var(--font-head); font-weight: 800; transition: transform .2s;
}
.float-call:hover { transform: translateY(-3px); color: var(--p-900); }
.float-call__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--p-900); color: #fff; display: grid; place-items: center; position: relative; }
.float-call__icon svg { width: 20px; height: 20px; }
.float-call__icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--p-900); opacity: .5; animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
.float-call small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .75rem; opacity: .8; }
@media (min-width: 1024px) { .float-call { display: inline-flex; } }

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

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

/* ---------- 24. Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.muted { color: var(--ink-mute); }
.small { font-size: var(--fs-sm); }
.lead { font-size: 1.1875rem; color: var(--ink-soft); }
.answer-box { border-radius: var(--radius); background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--accent); padding: 24px 26px; box-shadow: var(--shadow-1); }
.answer-box p:last-child { margin-bottom: 0; }
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; max-width: none; }
.related li { margin: 0; }
.related a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--p-50); color: var(--p-800); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.related a:hover { background: var(--accent-50); color: var(--accent-700); }
.page-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- 25. Overflow guards ---------- */
.grid-2 > *, .grid-3 > *, .split > *, .hero__grid > *, .with-sidebar > *, .footer-grid > * { min-width: 0; }
.call-card a, .site-footer a, .footer-brand p { overflow-wrap: anywhere; }

/* ---------- 26. Inner-page refinements ---------- */
@media (max-width: 639px) { .hl { white-space: normal; } }
.prose h2 { font-size: clamp(1.75rem, 1.45rem + 1.1vw, 2.25rem); }
@media (max-width: 1023px) {
  .sidebar .side-call { display: none; }
  .toc { padding: 4px 16px; }
}

/* ---------- 20. Photos (stock imagery) ---------- */
.hero__photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.has-photo .hero__mesh {
  inset: 0;
  background:
    radial-gradient(40% 60% at 90% 10%, rgba(249,115,22,.22) 0%, transparent 70%),
    linear-gradient(100deg, rgba(5,15,33,.94) 0%, rgba(11,37,69,.88) 45%, rgba(11,37,69,.62) 100%);
}
@media (max-width: 767px) { .has-photo .hero__mesh { background: linear-gradient(180deg, rgba(5,15,33,.9) 0%, rgba(11,37,69,.86) 100%); } }
.hero--photo .hero__grid { grid-template-columns: 1fr; max-width: 780px; }
@media (min-width: 1024px) { .hero--photo { padding: 120px 0 140px; } }
.page-hero.has-photo { padding-block: 56px 72px; }
@media (min-width: 1024px) { .page-hero.has-photo { padding-block: 96px 112px; } }

.photo-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-2); background: var(--p-100); }
.photo-frame img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame--tall img { aspect-ratio: 4 / 5; }
.photo-frame figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 10px 14px; border-radius: 14px; background: rgba(11,37,69,.86); color: #fff; font-size: var(--fs-sm); font-weight: 600; }

.svc-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--photo .card__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--p-100); transition: transform .4s ease; }
.card--photo:hover .card__img { transform: scale(1.04); }
.card--photo .card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card--photo h3 { margin: 0 0 8px; font-size: 1.125rem; }
.card--photo p { flex: 1; }

.cta-band--photo .hero__photo { z-index: -2; }
.cta-band--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,15,33,.86), rgba(11,37,69,.9)); }
.cta-band--photo::before { z-index: 0; opacity: .6; pointer-events: none; }
.cta-band--photo > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .card--photo:hover .card__img { transform: none; } }

/* ---------- 21. Compact footer ---------- */
.site-footer { padding: 48px 0 24px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; } }
.footer-grid { gap: 32px; }
.footer-bottom { margin-top: 32px; padding-top: 18px; }
.footer-more { display: inline-flex !important; align-items: center; gap: 6px; color: #FDBA74 !important; font-weight: 600; }
.footer-more svg { width: 16px; height: 16px; }

/* ---------- 22. Layout fixes ---------- */
.cta-band--photo > .hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; }
.cta-band--photo > *:not(.hero__photo) { position: relative; z-index: 1; }
.info-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: var(--p-50, #F4F7FB); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; min-width: 0; }
.info-card h3 { margin: 0 0 10px; font-size: 1.125rem; }
.info-card p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.photo-frame--tall { max-width: 520px; margin-inline: auto; }
.content-photo { margin: 8px 0 32px; }
.content-photo img { aspect-ratio: 16 / 9; }
.content-photo figcaption { position: static; margin: 0; border-radius: 0; background: var(--p-900, #0B2545); }
.split__media .btn { width: 100%; justify-content: center; }
@media (min-width: 1024px) { .split__media .btn { width: auto; } .split__media { text-align: center; } }

/* ---------- 23. Sidebar: scrolls with TOC + related photos, call card sticks ---------- */
@media (min-width: 1024px) {
  .sidebar { position: static; align-self: stretch; }
  .sidebar .side-call { position: sticky; top: calc(var(--header-h) + 24px); }
}
.side-rel { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 20px; }
.side-rel h2 { font-size: 1.0625rem; margin: 0 0 14px; }
.side-rel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-rel li { margin: 0; }
.side-rel a { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--p-800); font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
.side-rel img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.side-rel a:hover span { color: var(--accent-700, #C2410C); }
@media (max-width: 1023px) { .side-rel { display: none; } }
.photo-frame figcaption a { color: #FDBA74; text-decoration: underline; }
