/* ==========================================================================
   Aurora Heater Fixer - styles.css
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280.
   Fonts (linked in HTML): Outfit 700-800 headings, DM Sans 400-500 body.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --p-50: #EFF6FF;
  --p-100: #DBEAFE;
  --p-200: #BFDBFE;
  --p-300: #93C5FD;
  --p-400: #60A5FA;
  --p-500: #3B82F6;
  --p-600: #2563EB;
  --p-700: #1D4ED8;
  --p-800: #1E40AF;
  --p-900: #1E3A8A;

  --accent: #84CC16;
  --accent-600: #65A30D;
  --accent-soft: #D9F99D;

  --dark: #0B1220;
  --dark-2: #111B33;
  --off: #F6F8FC;
  --border: #DCE3F0;
  --text: #1B2438;
  --muted: #475672;

  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --fs-h1: clamp(2.5rem, 1.7rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.55rem + 1.9vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);

  --space-section: 4rem;
  --header-h: 72px;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 2px 6px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 2px 4px rgba(11, 18, 32, 0.05), 0 8px 20px -4px rgba(29, 78, 216, 0.1), 0 18px 40px -12px rgba(11, 18, 32, 0.12);
  --shadow-lg: 0 4px 8px rgba(11, 18, 32, 0.06), 0 16px 32px -8px rgba(29, 78, 216, 0.18), 0 32px 64px -16px rgba(11, 18, 32, 0.2);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --bg: #fff;
}

@media (min-width: 1024px) {
  :root { --space-section: 7rem; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

@media (max-width: 767.98px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

img, svg, video { max-width: 100%; height: auto; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1, .h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--p-700); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--p-900); }

strong { font-weight: 700; color: var(--dark); }

ul, ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
li { margin-bottom: 0.4em; }

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

.sr-only {
  position: absolute; 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: 1rem; top: -4rem; z-index: 100;
  background: var(--dark); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.icon {
  width: 24px; height: 24px; flex: none;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

/* ---------- 3. Layout and section rhythm ---------- */
.container { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.container--narrow { width: min(100% - 2rem, 820px); margin-inline: auto; }

.section { padding-block: var(--space-section); position: relative; background: var(--bg); }
.section--white { --bg: #fff; }
.section--offwhite { --bg: var(--off); }
.section--tint { --bg: var(--p-50); }
.section--dark {
  --bg: var(--dark);
  color: #D5DCEE;
  background:
    radial-gradient(50% 40% at 90% 0%, rgba(37, 99, 235, 0.35), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(132, 204, 22, 0.12), transparent 70%),
    var(--dark);
}
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .lead { color: #B6C1DA; }
.section--dark a:not(.btn) { color: var(--accent-soft); }

.section-head { margin-bottom: 2.5rem; max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
@media (min-width: 1024px) { .section-head { margin-bottom: 3.5rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--p-700); margin: 0 0 0.9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); }

.lead { font-size: clamp(1.125rem, 1.08rem + 0.25vw, 1.3125rem); color: var(--muted); line-height: 1.65; }

.highlight {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.highlight--underline {
  background: none; -webkit-text-fill-color: currentColor; color: inherit;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 0.14em; text-underline-offset: 0.12em;
}

/* Dividers: a strip that shows the next section's color as a wave or angle */
.divider-wave, .divider-angle {
  --from: #fff; --to: var(--off);
  position: relative; display: block; width: 100%;
  height: clamp(40px, 6vw, 88px);
  background: var(--from); margin: 0; pointer-events: none;
}
.divider-wave::after, .divider-angle::after {
  content: ""; position: absolute; inset: 0; background: var(--to);
}
.divider-wave::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 36C220 84 460 4 720 34S1200 74 1440 22V80H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 36C220 84 460 4 720 34S1200 74 1440 22V80H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.divider-angle::after { clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%); }
.from-white { --from: #fff; }
.from-off { --from: var(--off); }
.from-tint { --from: var(--p-50); }
.from-dark { --from: var(--dark); }
.to-white { --to: #fff; }
.to-off { --to: var(--off); }
.to-tint { --to: var(--p-50); }
.to-dark { --to: var(--dark); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; min-height: 52px; padding: 0.85rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
@media (min-width: 640px) { .btn { width: auto; } }

.btn--call {
  background: var(--accent); color: var(--dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 28px -6px rgba(132, 204, 22, 0.6), 0 2px 6px rgba(11, 18, 32, 0.2);
}
.btn--call:hover { background: #93DB1F; color: var(--dark); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 36px -6px rgba(132, 204, 22, 0.7), 0 2px 6px rgba(11, 18, 32, 0.2); }
.btn--outline { background: transparent; color: var(--p-700); border-color: var(--p-700); }
.btn--outline:hover { background: var(--p-700); color: #fff; transform: translateY(-2px); }
.btn--outline-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: #fff; color: var(--dark); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 1rem; }
.btn-row { display: flex; flex-direction: column; gap: 0.85rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

/* ---------- 5. Cards and icons ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--p-200); }

.icon-box {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--p-50); color: var(--p-700);
}
.section--tint .icon-box { background: #fff; }
.icon-box--glass { background: rgba(255, 255, 255, 0.14); color: var(--accent); }
.icon-box--accent { background: var(--accent); color: var(--dark); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--p-700);
}
.arrow-link .icon { transition: transform 0.25s var(--ease); }
.arrow-link:hover .icon, a:hover > .arrow-link .icon { transform: translateX(5px); }

/* ---------- 6. Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -10px rgba(11, 18, 32, 0.25); }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 0.5rem 1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--dark); min-height: 44px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1; color: var(--dark); }
.brand__name span { color: var(--p-700); display: block; font-size: 1.2rem; }
@media (min-width: 640px) {
  .brand__name span { display: inline; }
}

.nav__toggle {
  display: none; width: 48px; height: 48px; padding: 0; border-radius: 14px;
  background: #fff; border: 1px solid var(--border); color: var(--dark); cursor: pointer;
  align-items: center; justify-content: center;
}
.js .nav__toggle { display: inline-flex; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.nav__panel { flex-basis: 100%; padding-bottom: 1rem; }
.js .nav__panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-basis: auto;
  background: #fff; padding: 1rem 1rem calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.js .nav__panel.is-open { opacity: 1; visibility: visible; transform: none; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { margin: 0; border-bottom: 1px solid var(--border); }
.nav__link {
  display: flex; align-items: center; min-height: 52px; padding: 0.5rem 0.25rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem;
  color: var(--dark); text-decoration: none;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--p-700); }
.nav__sub { list-style: none; margin: 0 0 0.75rem; padding: 0 0 0 0.25rem; }
.nav__sub li { margin: 0; }
.nav__sub a {
  display: flex; align-items: center; min-height: 46px; padding: 0.4rem 0.75rem;
  border-radius: 12px; color: var(--muted); text-decoration: none; font-weight: 500;
}
.nav__sub a:hover { background: var(--p-50); color: var(--p-700); }
.nav__cta { margin-top: 1.5rem; display: grid; gap: 0.75rem; }

@media (min-width: 1024px) {
  .js .nav__toggle { display: none; }
  .nav__panel, .js .nav__panel {
    position: static; inset: auto; flex-basis: auto; padding: 0; background: none;
    opacity: 1; visibility: visible; transform: none; overflow: visible;
    display: flex; align-items: center; gap: 1.5rem;
  }
  .nav__list { display: flex; align-items: center; gap: 0.25rem; }
  .nav__item { border: 0; position: relative; }
  .nav__link { min-height: 44px; padding: 0.4rem 0.85rem; font-size: 1rem; border-radius: 999px; }
  .nav__link:hover { background: var(--p-50); }
  .nav__item--has-sub > .nav__link::after {
    content: ""; width: 7px; height: 7px; margin-left: 0.5rem; margin-top: -3px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  }
  .nav__sub {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 320px;
    margin: 0; padding: 0.5rem; background: #fff; border: 1px solid var(--border);
    border-radius: 18px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav__item--has-sub:hover > .nav__sub,
  .nav__item--has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__cta { margin: 0; display: block; }
  .nav__cta .btn { width: auto; }
}

/* Mobile sticky call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 18, 32, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.callbar .btn { min-height: 56px; font-size: 1.125rem; }
@media (min-width: 768px) { .callbar { display: none; } }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(55% 45% at 88% 8%, rgba(132, 204, 22, 0.3), transparent 62%),
    radial-gradient(50% 55% at 8% 92%, rgba(59, 130, 246, 0.5), transparent 62%),
    radial-gradient(40% 40% at 58% 68%, rgba(37, 99, 235, 0.55), transparent 70%),
    linear-gradient(160deg, var(--p-900) 0%, #0C1D52 52%, var(--dark) 100%);
}
.hero__grain, .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.09; mix-blend-mode: overlay;
}
.hero__grain { display: none; }
.hero__inner { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero .eyebrow { color: var(--accent); }
.hero__lead { font-size: clamp(1.125rem, 1.08rem + 0.3vw, 1.3125rem); color: #DCE5F8; max-width: 52ch; margin-bottom: 1.75rem; }
.hero__fine { margin: 1.25rem 0 0; font-size: 0.875rem; line-height: 1.55; color: #C3CFEA; max-width: 56ch; }
.hero__scene { position: relative; width: min(100%, 440px); margin-inline: auto; }
.hero__scene > svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)); }

.glass-card {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.1rem 0.85rem 0.85rem;
  border-radius: 18px; color: #fff;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
}
.glass-card__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.glass-card__text { display: block; font-size: 0.875rem; color: #DCE5F8; line-height: 1.35; }

.hero__float { display: none; position: absolute; z-index: 2; }
@media (min-width: 768px) {
  .hero__float { display: flex; transform: scale(0.88); transform-origin: left center; }
  .hero__float--a { top: 6%; left: -6%; animation: float-y 6s ease-in-out infinite; }
  .hero__float--b { top: 42%; right: -6%; transform-origin: right center; animation: float-y 7s ease-in-out -2s infinite; }
  .hero__float--c { bottom: 4%; left: 2%; animation: float-y 6.5s ease-in-out -4s infinite; }
}
@media (min-width: 1280px) { .hero__float { transform: none; } }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem 0.5rem 0.75rem;
  border-radius: 999px; font-size: 0.9375rem; font-weight: 500; line-height: 1.2; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24);
}
.chip .icon { color: var(--accent); width: 18px; height: 18px; }

@media (min-width: 1024px) {
  .hero { padding: 6rem 0 8rem; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .hero__scene { width: 100%; max-width: 520px; }
}

/* Inner page hero */
.page-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden; padding: 2.25rem 0 3rem;
  background:
    radial-gradient(50% 70% at 92% 0%, rgba(132, 204, 22, 0.24), transparent 62%),
    radial-gradient(50% 60% at 0% 100%, rgba(59, 130, 246, 0.45), transparent 62%),
    linear-gradient(160deg, var(--p-900) 0%, #0C1D52 60%, var(--dark) 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); max-width: 18ch; }
.page-hero .lead { color: #DCE5F8; max-width: 60ch; }
@media (min-width: 1024px) { .page-hero { padding: 3.5rem 0 5rem; } }

.breadcrumbs { margin-bottom: 1.5rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; font-size: 0.9375rem; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before { content: "/"; color: #9FB0D6; }
.breadcrumbs a { color: #DCE5F8; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 500; }
.section--white .breadcrumbs a, .section--offwhite .breadcrumbs a { color: var(--p-700); }

/* ---------- 8. Bento services grid ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.bento__item {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem; overflow: hidden;
  padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.bento__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--p-200); color: var(--text); }
.bento__item h3 { margin: 0.25rem 0 0; }
.bento__item p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.bento__item .arrow-link { margin-top: auto; padding-top: 0.5rem; }

.bento__item--big {
  color: #D5E2FF; border: 0; padding: 1.75rem; min-height: 320px;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(132, 204, 22, 0.4), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(96, 165, 250, 0.5), transparent 65%),
    linear-gradient(150deg, var(--p-700), var(--p-900));
  box-shadow: var(--shadow-lg);
}
.bento__item--big:hover { color: #D5E2FF; border: 0; }
.bento__item--big h3 { color: #fff; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.1; }
.bento__item--big p { color: #D5E2FF; font-size: 1.0625rem; max-width: 40ch; }
.bento__item--big .arrow-link { color: var(--accent); }
.bento__item--big .icon-box { background: rgba(255, 255, 255, 0.16); color: var(--accent); }

.bento__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.bento__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border-radius: 999px;
  background: var(--p-50); color: var(--p-800); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  border: 1px solid var(--p-100); transition: background 0.2s, color 0.2s;
}
.bento__links a:hover { background: var(--p-700); color: #fff; }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--big, .bento__item--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .bento__item--big { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 0; }
  .bento__item--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 2rem; }
  .bento__item--wide > div { flex: 1; }
}

/* ---------- 9. Process (numbered, connecting line) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; position: relative; }
.process::before {
  content: ""; position: absolute; left: 2.25rem; top: 1.75rem; bottom: 1.75rem; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--p-300) 0 8px, transparent 8px 16px);
}
.process__step { position: relative; margin: 0; padding-left: 5.75rem; min-height: 4.5rem; }
.process__num {
  position: absolute; left: 0; top: -0.2rem; width: 4.5rem; text-align: center; padding-block: 0.15rem;
  font-family: var(--font-head); font-weight: 800; font-size: 3.5rem; line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 2px var(--p-600); background: var(--bg);
}
.process__step h3 { margin-bottom: 0.35em; }
.process__step p { margin: 0; color: var(--muted); font-size: 1rem; }
.section--dark .process__num { -webkit-text-stroke-color: var(--accent); }
.section--dark .process::before { background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0 8px, transparent 8px 16px); }
.section--dark .process__step p { color: #B6C1DA; }

@media (min-width: 768px) {
  .process { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 1.5rem; }
  .process::before {
    left: 2rem; right: 2rem; top: 2.4rem; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--p-300) 0 8px, transparent 8px 16px);
  }
  .section--dark .process::before { background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.3) 0 8px, transparent 8px 16px); }
  .process__step { padding: 5.25rem 0 0; min-height: 0; }
  .process__num { left: 0; top: 0; width: auto; padding-right: 0.75rem; text-align: left; font-size: 4.25rem; }
}

/* ---------- 10. Symptom checker ---------- */
.symptom__tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; padding: 0; list-style: none; }
.js .symptom__tabs { display: flex; }
.symptom__tabs[hidden] { display: none; }
.symptom__tab {
  min-height: 44px; padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; color: var(--p-800);
  background: #fff; border: 1.5px solid var(--p-200); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.symptom__tab:hover { border-color: var(--p-600); }
.symptom__tab[aria-pressed="true"] { background: var(--p-700); border-color: var(--p-700); color: #fff; }
.symptom__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.symptom__card {
  display: flex; flex-direction: column; gap: 0.5rem; padding: 1.35rem; text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.symptom__card[hidden] { display: none; }
.symptom__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--p-300); color: var(--text); }
.symptom__card h3 { font-size: 1.1875rem; margin: 0; }
.symptom__card p { margin: 0; font-size: 1rem; color: var(--muted); line-height: 1.55; }
.symptom__card .arrow-link { margin-top: auto; padding-top: 0.5rem; }
@media (min-width: 640px) { .symptom__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .symptom__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 11. Split sections ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__media {
  padding: 1.25rem; border-radius: 28px; border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--p-50), #fff); box-shadow: var(--shadow-md);
}
.section--tint .split__media { background: #fff; }
.split__media svg { width: 100%; height: auto; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split--reverse .split__media { order: -1; }
}

/* ---------- 12. Callouts ---------- */
.callout {
  --c: var(--p-700); --cbg: var(--p-50);
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  margin-block: 1.75rem; padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  background: var(--cbg); border-left: 5px solid var(--c); border-radius: 6px 18px 18px 6px;
}
.callout__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--c); }
.callout__title { margin: 0 0 0.25rem; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--dark); }
.callout p { margin: 0; font-size: 1rem; line-height: 1.65; }
.callout p + p { margin-top: 0.6rem; }
.callout--tip { --c: var(--p-700); --cbg: var(--p-50); }
.callout--warning { --c: #B45309; --cbg: #FFF6E5; }

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #D5DCEE;
  padding-block: var(--space-section); background: var(--dark);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(900px, 140%); aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(132, 204, 22, 0.35), transparent 70%) 70% 40% / 60% 60% no-repeat,
    radial-gradient(closest-side, rgba(37, 99, 235, 0.65), transparent 72%) 30% 60% / 70% 70% no-repeat;
  filter: blur(30px);
}
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band .eyebrow { color: var(--accent); }
.cta-band p { margin-inline: auto; color: #C3CFEA; }
.cta-band__phone {
  display: block; margin: 1.5rem auto 1.75rem; width: fit-content; max-width: 100%;
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.25rem, 0.9rem + 7.4vw, 6.5rem); color: #fff; text-decoration: none;
  text-shadow: 0 0 40px rgba(132, 204, 22, 0.45);
}
.cta-band__phone:hover { color: var(--accent); }
.cta-band .btn-row { justify-content: center; }
.cta-band__fine { font-size: 0.875rem; max-width: 56ch; margin-top: 1.5rem; }

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: 0.75rem; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color 0.25s, box-shadow 0.25s; }
.faq details[open] { border-color: var(--p-300); box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px;
  padding: 1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.35; color: var(--dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--p-50); color: var(--p-700); transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--p-700); color: #fff; }
.faq__body { padding: 0 1.25rem 1.25rem; }
.faq__body p { margin-bottom: 0.8em; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- 15. Tables ---------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin-block: 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
}
.table-wrap:focus-visible { outline-offset: 2px; }
.cost-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.cost-table caption { text-align: left; padding: 1rem 1.25rem 0.5rem; font-family: var(--font-head); font-weight: 700; color: var(--dark); }
.cost-table th, .cost-table td { padding: 0.9rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.55; }
.cost-table thead th { background: var(--p-50); color: var(--p-900); font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; }
.cost-table tbody th { font-weight: 700; color: var(--dark); }
.cost-table tr:last-child th, .cost-table tr:last-child td { border-bottom: 0; }

/* ---------- 16. Service page layout ---------- */
.page-grid { display: grid; gap: 2rem; }
.page-grid__aside { order: -1; display: grid; gap: 1rem; align-content: start; }
.page-grid__main { min-width: 0; }
@media (min-width: 1024px) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; }
  .page-grid__main { order: 1; }
  .page-grid__aside { order: 2; position: sticky; top: calc(var(--header-h) + 24px); }
}

.toc { padding: 1.25rem 1.25rem 0.75rem; background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); }
.toc__title { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--p-700); font-family: var(--font-body); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a {
  display: flex; gap: 0.6rem; align-items: baseline; min-height: 44px; padding: 0.45rem 0.6rem; margin-inline: -0.6rem;
  border-radius: 10px; color: var(--text); text-decoration: none; font-size: 0.9375rem; font-weight: 500; line-height: 1.4;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 0.8125rem; color: var(--p-600); }
.toc a:hover { background: #fff; color: var(--p-700); }
.toc a.is-active { background: #fff; color: var(--p-800); font-weight: 700; box-shadow: var(--shadow-sm); }
@media (max-width: 1023.98px) {
  .toc ol { columns: 1; }
}

.call-card {
  position: relative; overflow: hidden; padding: 1.5rem; color: #D5E2FF; border-radius: var(--radius);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(132, 204, 22, 0.35), transparent 60%),
    linear-gradient(150deg, var(--p-700), var(--p-900));
  box-shadow: var(--shadow-lg);
}
.call-card__eyebrow { margin: 0 0 0.25rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.call-card__title { margin: 0 0 0.35rem; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1.15; color: #fff; }
.call-card__phone { display: block; margin: 0.5rem 0 1rem; font-family: var(--font-head); font-weight: 800; font-size: 1.875rem; letter-spacing: -0.02em; color: #fff; text-decoration: none; line-height: 1.1; }
.call-card p { margin: 0 0 1rem; font-size: 0.9375rem; line-height: 1.55; }
.call-card .btn { width: 100%; }

.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 3rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose a { font-weight: 500; }
.prose ul li::marker, .prose ol li::marker { color: var(--p-600); font-weight: 700; }

.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 2rem; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  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='%231D4ED8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 72% no-repeat;
}

.sign-grid { display: grid; gap: 0.85rem; grid-template-columns: 1fr; padding: 0; list-style: none; margin: 1.5rem 0; }
.sign-grid li { display: flex; gap: 0.85rem; align-items: flex-start; margin: 0; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: 16px; font-size: 1rem; line-height: 1.55; }
.sign-grid .icon-box { width: 40px; height: 40px; border-radius: 12px; }
@media (min-width: 640px) { .sign-grid { grid-template-columns: repeat(2, 1fr); } }

.link-grid { display: grid; gap: 0.85rem; grid-template-columns: 1fr; margin: 1.5rem 0; padding: 0; list-style: none; }
.link-grid li { margin: 0; }
.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 0.9rem 1.25rem;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; color: var(--dark); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--p-300); color: var(--p-700); }
.link-card .icon { color: var(--p-600); transition: transform 0.25s var(--ease); }
.link-card:hover .icon { transform: translateX(4px); }
@media (min-width: 640px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .link-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.two-col { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .two-col { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

.area-list { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.area-list .card h3 { margin-bottom: 0.4em; }
.area-list .card p { font-size: 1rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .area-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--dark); color: #C0CBE3; padding: 4rem 0 0; font-size: 1rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 3rem; }
.site-footer h2, .footer__title { margin: 0 0 1rem; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a { color: #E4EAF8; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .brand__name, .site-footer .brand__name span { color: #fff; }
.footer__about p { font-size: 0.9375rem; line-height: 1.65; color: #B6C1DA; }
.footer__phone { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff !important; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.5rem 0 2rem; font-size: 0.875rem; line-height: 1.65; color: #A9B6D3; }
.footer__bottom p { max-width: 90ch; margin-bottom: 0.75rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 0.9fr; gap: 3rem; } }

/* ---------- 18. Motion (content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .bento__item:hover, .symptom__card:hover, .link-card:hover, .btn:hover { transform: none; }
}

/* ---------- 19. Print ---------- */
@media print {
  .site-header, .callbar, .cta-band, .nav__toggle { display: none !important; }
  body { padding: 0; }
}

/* ==========================================================================
   20. Homepage layout v2 (below-the-hero sections)
   One shared left edge (.container), balanced two-column layouts, sticky side
   columns on desktop only. Mobile-first.
   ========================================================================== */
.section-head--tight { margin-bottom: 1.75rem; }
.icon-box--sm { width: 36px; height: 36px; border-radius: 11px; }

/* Head with a side action */
.head-split { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; }
.head-split > .section-head { margin-bottom: 0; }
.head-split__side { display: flex; align-items: flex-start; }
@media (min-width: 1024px) {
  .head-split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem; margin-bottom: 3.5rem; }
  .head-split__side { align-items: flex-end; padding-bottom: 0.5rem; }
}

/* ---- Intro ---- */
.intro-grid { display: grid; gap: 2.5rem; align-items: center; }
.intro-grid .lead { margin-bottom: 1.25rem; }
.intro-grid p:last-child { margin-bottom: 0; }
.intro-row { display: grid; gap: 1.5rem; align-items: center; margin-top: 2.5rem; }
.intro-row .answer-card { margin: 0; }
.intro-row__text { margin: 0; }
@media (min-width: 1024px) {
  .intro-grid, .intro-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4.5rem; }
  .intro-row { margin-top: 3rem; }
}
.answer-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; margin: 1.5rem 0;
  padding: 1.35rem; border-radius: var(--radius); background: var(--p-50);
  border: 1px solid var(--p-100); border-top: 4px solid var(--accent); box-shadow: var(--shadow-sm);
}
.answer-card__title { margin: 0 0 0.4rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--dark); }
.answer-card p:not(.answer-card__title) { margin: 0; font-size: 1.0625rem; line-height: 1.65; }

.feature-grid { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 4rem; } }
.feature-card {
  display: flex; flex-direction: column; gap: 0.6rem; padding: 1.75rem; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--p-200); }
.feature-card .icon-box { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 0.5rem; }
.feature-card h3 { margin: 0; }
.feature-card p { margin: 0 0 0.5rem; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.feature-card .arrow-link { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--border); }

/* ---- Services bento additions ---- */
.bento__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bento__tag {
  padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.3;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--p-800); background: var(--p-50); border: 1px solid var(--p-100);
}
.bento__item--big .bento__tag { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); color: var(--accent-soft); }
.bento__item--big p { max-width: 46ch; }
.steps-mini {
  list-style: none; margin: 0.75rem 0 0.5rem; padding: 1.1rem; display: grid; gap: 0.7rem; border-radius: 18px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.steps-mini li { display: flex; gap: 0.8rem; align-items: center; margin: 0; font-size: 0.9375rem; line-height: 1.45; color: #fff; }
.steps-mini .steps-mini__title { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.steps-mini b {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--dark); font-family: var(--font-head); font-size: 0.875rem; font-weight: 800;
}
.bento__item--wide .bento__top { margin-bottom: 0.75rem; justify-content: flex-start; gap: 0.75rem; }
.bento__item--wide .bento__links { display: grid; gap: 0.75rem; margin: 0; }
.bento__item--wide .bento__links a {
  justify-content: space-between; gap: 1rem; min-height: 64px; padding: 0.9rem 1.15rem; border-radius: 16px;
  background: var(--off); border: 1px solid var(--border); color: var(--dark);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.3;
}
.bento__item--wide .bento__links a .icon { color: var(--p-600); transition: transform 0.25s var(--ease); }
.bento__item--wide .bento__links a:hover { background: var(--p-700); color: #fff; border-color: var(--p-700); }
.bento__item--wide .bento__links a:hover .icon { color: var(--accent); transform: translateX(4px); }
@media (min-width: 768px) { .bento__item--wide .bento__links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .bento__item--wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 2.5rem; align-items: center; }
}

/* ---- Symptom checker ---- */
.symptom__top { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.symptom__top > .section-head { margin-bottom: 0; }
.symptom__tabs { margin-bottom: 0; }
@media (min-width: 1024px) {
  .symptom__top { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
  .symptom__top .symptom__tabs { justify-content: flex-end; }
}
.symptom__grid { grid-auto-rows: 1fr; }
.symptom__card { padding: 1.5rem; gap: 0.5rem; }
.symptom__card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.symptom__badge { padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.symptom__badge--urgent { background: #FFF1D6; color: #8A4B0B; }
.symptom__badge--soon { background: var(--p-100); color: var(--p-800); }
.symptom__badge--plan { background: #EEF2F8; color: var(--muted); }
.symptom__card--urgent { background: linear-gradient(180deg, #FFF8EA 0%, #fff 62%); border-color: #F2C37A; }
.symptom__card--urgent .icon-box { background: #FFF1D6; color: #B45309; }
.symptom__card .arrow-link { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--border); }

/* ---- Guide ---- */
.guide-layout { display: grid; gap: 2rem; }
.guide-aside { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 1024px) {
  .guide-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 4.5rem; align-items: start; }
  .guide-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.guide-main { max-width: 780px; }
.guide-block {
  position: relative; padding-bottom: 2.75rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.guide-block:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.guide-block__num { display: inline-block; margin-bottom: 0.4rem; font-family: var(--font-head); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.12em; color: var(--p-600); }
.guide-block h3 { margin: 0 0 0.9rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; }
.guide-block p { max-width: none; }
.guide-block a { font-weight: 500; }
.compare-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 768px) { .compare-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.compare-card { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.25rem; background: var(--off); border: 1px solid var(--border); border-radius: 18px; }
.compare-card p { margin: 0; font-size: 1rem; line-height: 1.6; }

/* ---- Process cards ---- */
.process--cards { gap: 1rem; }
.process--cards::before { display: none; }
.process--cards .process__step {
  display: flex; flex-direction: column; padding: 1.5rem; min-height: 0; border-radius: var(--radius);
  background: #0F1830; border: 1px solid rgba(255, 255, 255, 0.12);
}
.process__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.process--cards .process__num { position: static; width: auto; padding: 0; background: none; text-align: left; font-size: 3.5rem; }
.process--cards .process__step h3 { color: #fff; }
.process--cards .process__step p { margin: 0; }
@media (min-width: 768px) {
  .process--cards { gap: 1.5rem; }
  .process--cards .process__step h3 { min-height: 2.6em; }
  .process--cards .process__step:not(:last-child)::after {
    content: ""; position: absolute; z-index: 2; right: -1.35rem; top: 2.1rem; width: 2rem; height: 2rem; border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / 60% no-repeat;
    box-shadow: 0 0 0 4px #0B1220, 0 6px 16px -2px rgba(132, 204, 22, 0.5);
  }
}

/* ---- Costs of waiting ---- */
.cost-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) {
  .cost-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; }
  .cost-layout__media { position: sticky; top: calc(var(--header-h) + 24px); }
}
.cost-stack { display: grid; gap: 1rem; }
.cost-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding: 1.4rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.cost-card h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.cost-card p { margin: 0; font-size: 1rem; line-height: 1.65; }
.cost-layout__media .callout { margin-top: 1.25rem; margin-bottom: 0; }

/* ---- Pricing table ---- */
.pricing-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) {
  .pricing-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 4rem; }
  .pricing-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.pricing-layout .table-wrap { margin: 0; }
.pricing-layout__aside .callout { margin-bottom: 0; }
.cost-table .th-in { display: flex; align-items: center; gap: 0.75rem; }
.cost-table tbody th { min-width: 200px; }

/* ---- Areas ---- */
.areas-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.area-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; padding: 1.6rem; overflow: hidden; }
.area-card__num {
  position: absolute; right: 1.25rem; top: 0.75rem; font-family: var(--font-head); font-weight: 800; font-size: 4.25rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--p-200); pointer-events: none;
}
.area-card__tag {
  margin-top: 0.4rem; padding: 0.28rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--p-800); background: var(--p-50); border: 1px solid var(--p-100);
}
.area-card h3 { margin: 0; }
.area-card p { margin: 0; font-size: 1rem; line-height: 1.65; }
.area-card .arrow-link { align-self: stretch; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.area-card--cta {
  justify-content: center; border: 0; color: #D5E2FF; border-radius: var(--radius);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(132, 204, 22, 0.35), transparent 60%),
    linear-gradient(150deg, var(--p-700), var(--p-900));
  box-shadow: var(--shadow-lg);
}
.area-card--cta h3 { color: #fff; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); line-height: 1.15; }
.area-card--cta p { color: #D5E2FF; }
.area-card--cta .btn { margin-top: 0.5rem; }

/* ---- How it works ---- */
.how-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .how-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.fact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.fact-list li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; font-size: 1rem; line-height: 1.55; }
.fact-list .icon-box { margin-top: 0.1rem; }
.check-panel {
  position: relative; padding: 2rem; border-radius: var(--radius); color: #D5E2FF; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(132, 204, 22, 0.3), transparent 60%),
    linear-gradient(150deg, var(--p-700), var(--p-900));
}
.check-panel .icon-box { margin-bottom: 1rem; }
.check-panel h3 { margin: 0 0 1.25rem; color: #fff; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); line-height: 1.15; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.step-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; margin: 0; counter-increment: s; font-size: 1.0625rem; line-height: 1.55; color: #fff; }
.step-list li::before {
  content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--dark); font-family: var(--font-head); font-weight: 800; font-size: 0.9375rem;
}
.check-panel__foot { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 1rem; line-height: 1.6; max-width: none; color: #D5E2FF; }

/* ---- Ready ---- */
.ready-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) {
  .ready-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; }
  .ready-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.ready-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.ready-item {
  display: flex; gap: 1.1rem; align-items: center; margin: 0; padding: 1rem 1.25rem; background: #fff;
  border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); font-size: 1.0625rem; line-height: 1.5;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.ready-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--p-200); }
.ready-layout__aside .call-card { margin-top: 0.5rem; }

/* ---- FAQ ---- */
.faq-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 4rem; }
  .faq-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.faq-layout .faq { max-width: none; }
.faq-layout__aside .call-card { margin-top: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  .feature-card:hover, .ready-item:hover { transform: none; }
}

/* ---- 20b. Fixes found in visual review ---- */
.call-card p.call-card__eyebrow { font-size: 0.8125rem; margin: 0 0 0.35rem; }
.call-card p.call-card__title { font-size: 1.5rem; line-height: 1.15; margin: 0 0 0.35rem; }
.symptom__card .icon-box, .area-card .icon-box, .fact-list .icon-box { background: var(--p-50); border: 1px solid var(--p-100); }
.symptom__card--urgent .icon-box { background: #FFF1D6; border-color: #F2C37A; }
.area-card--cta .icon-box { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.25); }
.site-footer strong { color: #fff; }
.steps-mini__warn {
  display: flex; gap: 0.75rem; align-items: flex-start; margin: 0 0 0.5rem; padding: 0.9rem 1rem; border-radius: 16px;
  background: rgba(11, 18, 32, 0.35); border: 1px solid rgba(217, 249, 157, 0.35); color: #fff; font-size: 0.9375rem; line-height: 1.5;
}
.steps-mini__warn .icon { color: var(--accent); margin-top: 0.15rem; }
.steps-mini__warn p { margin: 0; max-width: none; }
.steps-mini__warn strong { color: var(--accent-soft); }

/* ---- 20c. Tap targets (44px minimum) ---- */
.call-card a.call-card__phone { display: flex; align-items: center; min-height: 44px; }
.site-footer a { min-height: 44px; }
.site-footer .brand { min-height: 44px; }
.footer__phone { display: inline-flex; }
.site-footer a.footer__phone { min-height: 48px; }

/* ==========================================================================
   21. Service page components (first used on /water-heater-repair/)
   ========================================================================== */
.nav__sub a[aria-current="page"] { background: var(--p-50); color: var(--p-700); font-weight: 700; }

/* ---- Inner hero with triage card ---- */
.page-hero__inner { display: grid; gap: 2.25rem; align-items: center; }
.page-hero__inner h1 { max-width: 15em; }
.page-hero .btn-row { margin-top: 1.75rem; }
.page-hero .chip-row { margin-top: 1.5rem; }
@media (min-width: 1024px) {
  .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; }
}
.triage {
  padding: 1.25rem; border-radius: 24px; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.5);
}
.triage__title { margin: 0 0 0.25rem; font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.triage__sub { margin: 0 0 1rem; font-size: 0.9375rem; line-height: 1.5; color: #DCE5F8; max-width: none; }
.triage__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.triage__list li { margin: 0; }
.triage__link {
  display: flex; align-items: center; gap: 0.8rem; min-height: 56px; padding: 0.5rem 0.9rem 0.5rem 0.55rem;
  border-radius: 16px; color: #fff; text-decoration: none; font-weight: 500; line-height: 1.3;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.triage__link:hover { background: rgba(255, 255, 255, 0.18); color: #fff; transform: translateX(3px); }
.triage__link .icon-box { width: 40px; height: 40px; border-radius: 12px; }
.triage__link > .icon { margin-left: auto; color: var(--accent); }
.triage__warn {
  display: flex; gap: 0.7rem; align-items: flex-start; margin: 1rem 0 0; padding: 0.85rem 0.95rem; border-radius: 14px;
  background: rgba(11, 18, 32, 0.4); border: 1px solid rgba(217, 249, 157, 0.35); font-size: 0.9375rem; line-height: 1.5; max-width: none;
}
.triage__warn .icon { color: var(--accent); margin-top: 0.15rem; }
.triage__warn strong { color: var(--accent-soft); }

/* ---- Service page body ---- */
.page-grid__aside { max-width: 100%; }
@media (min-width: 1024px) {
  .page-grid__aside { max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; padding: 2px; }
  .toc a { min-height: 36px; padding: 0.3rem 0.6rem; }
}
.toc__details { margin: 0; }
.toc summary.toc__title {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 0 0 0.25rem;
  cursor: pointer; list-style: none;
}
.toc summary.toc__title::-webkit-details-marker { display: none; }
.toc summary.toc__title::after {
  content: ""; width: 9px; height: 9px; margin-right: 0.35rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.toc details[open] > summary.toc__title::after { transform: rotate(-135deg); margin-top: 6px; }
@media (min-width: 1024px) {
  .toc summary.toc__title { pointer-events: none; min-height: 0; margin-bottom: 0.5rem; }
  .toc summary.toc__title::after { display: none; }
}

.svc-sec { margin-bottom: 4.5rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-sec:last-child { margin-bottom: 0; }
.svc-sec h2 { margin-top: 0; }
.svc-sec h3 { margin-top: 2.25rem; margin-bottom: 0.6rem; }
.svc-sec .lead { max-width: 62ch; }
.svc-sec > p a, .callout a { font-weight: 500; }
@media (min-width: 1024px) { .svc-sec { margin-bottom: 5.5rem; } }

/* Methods by heater type */
.triage-cols { display: grid; gap: 1rem; margin: 1.5rem 0 1.75rem; }
@media (min-width: 768px) and (max-width: 1023.98px) { .triage-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .triage-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tcol { display: flex; flex-direction: column; padding: 1.35rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tcol__head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.1rem; }
.tcol__head h4 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.tcol ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tcol li { counter-increment: t; position: relative; margin: 0 0 0.9rem; padding-left: 2.4rem; font-size: 1rem; line-height: 1.5; }
.tcol li::before {
  content: counter(t); position: absolute; left: 0; top: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--p-50); border: 1px solid var(--p-200);
  font-family: var(--font-head); font-weight: 800; font-size: 0.8125rem; color: var(--p-800);
}
.tcol li:not(:last-child)::after { content: ""; position: absolute; left: 0.77rem; top: 1.75rem; bottom: -0.8rem; width: 2px; background: var(--p-100); }
.tcol__fix { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.tcol__fix strong { color: var(--dark); }

/* Warning-sign cards (extends .sign-grid) */
.sign-grid li { align-items: flex-start; padding: 1.1rem 1.15rem; }
.sign-grid__title { display: block; margin-bottom: 0.2rem; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; color: var(--dark); }
.sign-grid p { margin: 0; font-size: 0.9688rem; line-height: 1.55; color: var(--muted); }
.sign-grid li { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
.sign-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--p-200); }
.sign-grid li.sign--urgent { background: linear-gradient(180deg, #FFF8EA 0%, #fff 70%); border-color: #F2C37A; }
.sign-grid li.sign--urgent .icon-box { background: #FFF1D6; color: #B45309; }

/* Figure with caption */
.figure-card { margin: 1.75rem 0; padding: 1.25rem; border-radius: 28px; border: 1px solid var(--border); background: linear-gradient(145deg, var(--p-50), #fff); box-shadow: var(--shadow-md); }
.figure-card svg { width: 100%; height: auto; }
.figure-card figcaption { margin-top: 0.75rem; padding-top: 0.85rem; border-top: 1px solid var(--border); font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

.cost-stack--tight { margin: 1.5rem 0; }

/* DIY panel notes */
.check-panel--wide { margin: 1.75rem 0; }
.check-panel--wide h3 { margin-top: 0; }

/* Problem-by-problem fix blocks */
.fix { margin: 1.5rem 0; padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
.fix__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.svc-sec .fix__head h3 { margin: 0; font-size: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem); line-height: 1.25; }
.fix__rows { margin: 0; display: grid; }
.fix__rows > div { display: grid; gap: 0.35rem; padding: 1rem 0; border-top: 1px solid var(--border); }
.fix__rows dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-700); }
.fix__rows dd { margin: 0; font-size: 1rem; line-height: 1.65; }
.fix__rows > .fix__call { margin-top: 0.25rem; padding: 1rem 1.1rem; border: 1px solid #F2C37A; border-radius: 16px; background: #FFF8EA; }
.fix__rows > .fix__call dt { color: #8A4B0B; }
@media (min-width: 768px) {
  .fix__rows > div { grid-template-columns: 150px minmax(0, 1fr); gap: 1.5rem; }
}

/* Tinted panel and timeline */
.panel { margin: 1.5rem 0; padding: 1.5rem 1.25rem 0.5rem; border-radius: var(--radius); background: var(--p-50); border: 1px solid var(--p-100); }
@media (min-width: 640px) { .panel { padding: 2rem 2rem 0.75rem; } }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; }
.timeline li { counter-increment: tl; position: relative; margin: 0; padding: 0 0 1.75rem 3.75rem; }
.timeline li::before {
  content: counter(tl); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--dark);
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem;
  box-shadow: 0 0 0 6px var(--p-50), 0 8px 18px -6px rgba(132, 204, 22, 0.7);
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 52px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--p-300) 0 6px, transparent 6px 12px);
}
.svc-sec .timeline h3 { margin: 0.35rem 0 0.35rem; font-size: 1.25rem; }
.timeline p { margin: 0; font-size: 1rem; line-height: 1.65; }

/* Maintenance intervals */
.interval-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .interval-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.interval-card { padding: 1.35rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.interval-card__tag {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 0.75rem; padding: 0.3rem 0.8rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3;
  color: var(--p-800); background: var(--p-50); border: 1px solid var(--p-100);
}
.svc-sec .interval-card h3 { margin: 0 0 0.6rem; font-size: 1.25rem; }
.interval-card ul { margin: 0; font-size: 1rem; }
.interval-card li:last-child { margin-bottom: 0; }

/* Repair vs replace */
.verdict-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .verdict-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.verdict { padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-top: 5px solid var(--p-600); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.verdict--replace { border-top-color: #B45309; background: #FFFCF5; }
.svc-sec .verdict h3 { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1rem; font-size: 1.375rem; }
.verdict ul { margin: 0; font-size: 1rem; }
.verdict li:last-child { margin-bottom: 0; }
.verdict--replace .list-check li::before {
  background-color: #FFF1D6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B45309' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

/* Cost table (inside the main column) */
.svc-sec .table-wrap { margin-top: 1.5rem; }
.svc-sec .cost-table { min-width: 620px; }
.svc-sec .cost-table tbody th { min-width: 170px; }

/* Choose-a-pro list */
.svc-sec .ready-list { margin: 1.5rem 0; }
.ready-item strong { display: block; margin-bottom: 0.15rem; font-family: var(--font-head); color: var(--dark); }
.ready-item .icon-box { align-self: flex-start; }
.ready-item > span:last-child { font-size: 1rem; line-height: 1.6; }
.svc-sec .ready-item { align-items: flex-start; }

/* FAQ inside the main column */
.svc-sec .faq { max-width: none; margin-top: 1.5rem; }

/* Related services */
.rel-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.rel-card {
  display: flex; flex-direction: column; gap: 0.55rem; padding: 1.4rem; background: #fff; text-decoration: none; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--p-200); color: var(--text); }
.rel-card h3 { margin: 0.35rem 0 0; font-size: 1.1875rem; line-height: 1.25; }
.rel-card p { margin: 0; font-size: 0.9688rem; line-height: 1.55; color: var(--muted); }
.rel-card .arrow-link { margin-top: auto; padding-top: 0.75rem; }
.area-strip { display: grid; gap: 1rem; margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.area-strip h3 { margin: 0; }
.area-strip p { margin: 0.25rem 0 0; font-size: 1rem; color: var(--muted); }
@media (min-width: 1024px) { .area-strip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 2.5rem; padding: 1.75rem 2rem; } }
.area-strip .bento__links { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .sign-grid li:hover, .triage__link:hover, .rel-card:hover { transform: none; }
}

/* ---- 21b. Fixes from visual review ---- */
.page-hero .eyebrow { color: var(--accent); }
.svc-sec .cost-card h3 { margin-top: 0; }
@media (min-width: 768px) {
  .fix__rows > .fix__call { grid-template-columns: calc(150px - 1.1rem) minmax(0, 1fr); }
}


/* ---------- 22. Services mega menu + footer services columns ---------- */
.nav__col { margin: 0.9rem 0 0; }
.nav__col:first-child { margin-top: 0.25rem; }
.nav__col > ul { list-style: none; margin: 0; padding: 0; }
.nav__group-title { display: block; padding: 0 0.75rem; margin-bottom: 0.2rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-700); }
.footer__services { columns: 1; }
.footer__services li { break-inside: avoid; }
@media (min-width: 640px) { .footer__services { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); grid-auto-flow: column; column-gap: 1.5rem; } }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 2fr 0.8fr 0.7fr; }
  .site-header__inner { position: relative; }
  .nav__item--mega { position: static; }
  .nav__sub--mega {
    left: auto; right: 0; width: min(1020px, 100%); min-width: 0;
    display: grid; grid-template-columns: 1.1fr 1.15fr 1fr; gap: 0 1rem; align-items: start; padding: 1.1rem;
  }
  .nav__col, .nav__col:first-child { margin: 0; }
  .nav__sub--mega a { min-height: 44px; padding: 0.3rem 0.65rem; line-height: 1.3; }
  .nav__group-title { margin-bottom: 0.4rem; }
}

/* ---------- 22b. Mobile menu: a backdrop-filter on the header would trap the fixed panel inside the header box ---------- */
@media (max-width: 1023.98px) {
  body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}

/* 23. head-split with two buttons */
.head-split__side { flex-wrap: wrap; gap: 0.75rem; }

/* ---------- 24. ZIP area pages (/service-area/<area-zip>/) ---------- */
.zip-hero .page-hero__inner { align-items: center; }
.zip-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 1.5rem; color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
}
.zip-card__label { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.zip-card__zip {
  margin: 0.15rem 0 0; font-family: var(--font-head); font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(3.75rem, 2.6rem + 5vw, 5.75rem); color: transparent; -webkit-text-stroke: 2px var(--accent);
}
.zip-card__name { margin: 0.35rem 0 1.1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; }
.zip-card dl { display: grid; gap: 0.55rem; margin: 0 0 1.25rem; }
.zip-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.55rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.zip-card dt { color: #B6C1DA; font-size: 0.92rem; }
.zip-card dd { margin: 0; font-weight: 700; text-align: right; font-size: 0.98rem; }
.zip-card .btn { width: 100%; justify-content: center; }

.zip-about { display: grid; gap: 2rem; align-items: start; }
.zip-about__body p { margin: 0 0 1.1em; }
.zip-glance { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.zip-glance h3 { margin: 0 0 0.75rem; font-size: 1.2rem; }
.zip-glance ul { margin: 0; }
@media (min-width: 1024px) { .zip-about { grid-template-columns: 1.35fr 0.65fr; gap: 3rem; } .zip-glance { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

.svc-cols { display: grid; gap: 1.25rem; margin-top: 2rem; }
.svc-col { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.svc-col__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.4rem; }
.svc-col h3 { margin: 0; font-size: 1.25rem; }
.svc-col > p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.98rem; }
.svc-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.svc-col li { margin: 0; }
.svc-col a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 44px; padding: 0.35rem 0.65rem;
  border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; line-height: 1.3;
}
.svc-col a .icon { color: var(--p-600); flex: none; transition: transform 0.25s var(--ease); }
.svc-col a:hover { background: var(--p-50); color: var(--p-700); }
.svc-col a:hover .icon { transform: translateX(3px); }
@media (min-width: 900px) { .svc-cols { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.ask-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.ask-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.6rem 1.5rem 1.4rem; box-shadow: var(--shadow-sm); }
.ask-card::before {
  content: "\201C"; position: absolute; top: 0.45rem; left: 1.1rem; font-family: var(--font-head); font-weight: 800;
  font-size: 4.25rem; line-height: 1; color: var(--p-300);
}
.ask-card p { margin: 0 0 0.8rem; font-size: 1.06rem; font-weight: 500; color: var(--text); }
.ask-card span { font-size: 0.85rem; color: var(--muted); }
@media (min-width: 768px) { .ask-grid { grid-template-columns: repeat(3, 1fr); } }

.pill-group { margin-top: 1.75rem; }
.pill-group h3 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.pill-list li { margin: 0; }
.pill-list a, .pill-list span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0.35rem 0.95rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; border: 1px solid var(--border); text-decoration: none; line-height: 1.2;
}
.pill-list span { background: var(--off); color: var(--muted); }
.pill-list a { background: var(--p-50); border-color: var(--p-200); color: var(--p-700); transition: background 0.2s, color 0.2s; }
.pill-list a:hover { background: var(--p-700); border-color: var(--p-700); color: #fff; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; min-height: 300px; background: var(--p-50); }
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 768px) { .map-wrap { aspect-ratio: 16 / 7; } }

/* header Areas menu (17 ZIP pages) + footer areas */
.nav__sub--areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0.5rem; }
.nav__sub--areas a { min-height: 40px; font-size: 0.95rem; }
@media (min-width: 1024px) {
  .nav__sub--areas { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; width: 640px; padding: 0.75rem; }
  .nav__sub--areas a { min-height: 40px; padding: 0.3rem 0.65rem; }
  .footer__grid { grid-template-columns: 1fr 1.9fr 1.3fr 0.7fr; }
}
.footer__areas { columns: 1; }
@media (min-width: 640px) { .footer__areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(9, auto); grid-auto-flow: column; column-gap: 1.25rem; } }

/* 25. Cities strip */
.footer__cities { border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 0 0; }
.footer__cities ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.footer__cities li { font-size: .875rem; color: #C9D3EA; padding: .3rem .8rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
#areas .pill-group { margin-top: 2.5rem; }
#areas .pill-group > p { margin-top: 1rem; color: var(--c-muted, #475569); }
/* 26. Overflow fixes */
.map-wrap { width: 100%; max-width: 100%; aspect-ratio: auto; height: 320px; min-height: 0; }
@media (min-width: 768px) { .map-wrap { aspect-ratio: auto; height: 420px; } }
@media (min-width: 1024px) { .nav__sub--areas { left: auto; right: 0; } }
.footer__cities { padding-bottom: 1.5rem; }
