/* ============================================================
   RPV SlabSure Leak Repair — Design System
   Navy #0B2545 + Orange #F97316 | Plus Jakarta Sans + Inter
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280px
   ============================================================ */

:root {
  /* Primary — Navy scale */
  --primary-50: #eef4fb;
  --primary-100: #d9e6f5;
  --primary-200: #b3cdeb;
  --primary-300: #84aedd;
  --primary-400: #5589cc;
  --primary-500: #2f66b3;
  --primary-600: #1b4a8f;
  --primary-700: #123a73;
  --primary-800: #0b2545;
  --primary-900: #071a33;
  /* Accent — Orange scale */
  --accent-50: #fff5ec;
  --accent-100: #ffe8d3;
  --accent-200: #ffcda3;
  --accent-300: #ffac6e;
  --accent-400: #fb8b3c;
  --accent-500: #f97316;
  --accent-600: #ea5f0a;
  --accent-700: #c24e08;
  /* Neutrals */
  --dark: #071a33;
  --ink: #1e293b;
  --muted: #5b6b82;
  --off-white: #f7f9fc;
  --white: #ffffff;
  --border: #dce5f0;
  /* Type */
  --font-heading: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Shape & shadow */
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06);
  --shadow-md: 0 8px 24px -8px rgba(11, 37, 69, .18);
  --shadow-lg: 0 24px 48px -16px rgba(11, 37, 69, .25);
  --glow: 0 8px 32px -6px rgba(249, 115, 22, .55);
  /* Layout */
  --container: 1200px;
  --header-h: 70px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
body {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, .9vw + .85rem, 1.125rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-600); }
p { margin-bottom: 1.1em; }
.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--primary-800);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.2rem + 4.5vw, 4.5rem); margin-bottom: .5em; }
h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3rem); margin-bottom: .45em; }
h3 { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.5rem); margin-bottom: .4em; }
h4 { font-size: 1.125rem; margin-bottom: .35em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-500);
}
.lead { font-size: 1.2em; color: var(--muted); max-width: 62ch; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: 64px 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section--tint { background: var(--primary-50); }
.section--off { background: var(--off-white); }
.section--dark { background: var(--dark); color: #dbe6f5; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #a9bcd6; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Angled divider */
.divider-angle { height: 72px; margin-bottom: -1px; display: block; width: 100%; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent-500); color: #fff; font-weight: 700;
  padding: .75rem 1.25rem; border-radius: 999px; transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }
:focus-visible { outline: 3px solid var(--accent-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .9rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--call {
  background: var(--accent-500);
  color: #fff;
  box-shadow: var(--glow);
}
.btn--call:hover { background: var(--accent-600); transform: translateY(-2px); color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--primary-800);
  border-color: var(--primary-200);
}
.btn--outline:hover { border-color: var(--primary-500); transform: translateY(-2px); }
.btn--light {
  background: #fff;
  color: var(--primary-800);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--ghost-light:hover { border-color: #fff; transform: translateY(-2px); color: #fff; }
@media (max-width: 639px) {
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand__text { font-family: var(--font-heading); font-weight: 800; line-height: 1.1; color: var(--primary-800); font-size: 1.02rem; }
.brand__text small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; color: var(--accent-600); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; padding: 0; }
.nav__list a {
  display: block; padding: .65rem .9rem; border-radius: 10px;
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none;
}
.nav__list a:hover { background: var(--primary-50); color: var(--primary-700); }
/* Dropdowns (desktop) */
.nav__item--has-sub { position: relative; }
.nav__parent::after {
  content: ""; display: inline-block; margin-left: .45rem; vertical-align: middle;
  border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
  border-top: 5.5px solid currentColor; opacity: .7;
}
.nav__submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .45rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 200;
}
.nav__submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav__item--has-sub:hover > .nav__submenu,
.nav__item--has-sub:focus-within > .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__submenu a { display: block; font-size: .92rem; font-weight: 600; padding: .62rem .9rem; border-radius: 9px; white-space: nowrap; color: var(--ink); }
.nav__submenu a:hover { background: var(--primary-50); color: var(--primary-700); }
.nav__cta { margin-left: .6rem; }
.nav__cta.btn { min-height: 46px; padding: .6rem 1.3rem; font-size: .98rem; }
.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 22px; height: 2.5px; border-radius: 3px; background: var(--primary-800); transition: transform .25s, opacity .25s; }
@media (max-width: 1023px) {
  .nav__toggle { display: inline-flex; }
  .nav {
    /* absolute (not fixed): the header's backdrop-filter makes it the
       containing block for fixed descendants, collapsing a fixed drawer to 0 height */
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    z-index: 99;
    background: var(--dark);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 1.5rem; gap: .25rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__list a { color: #fff; font-size: 1.15rem; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__list a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav__cta { margin: 1.25rem 0 0; }
  .nav__cta.btn { width: 100%; min-height: 56px; }
  body.nav-open { overflow: hidden; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  /* Mobile dropdowns: tap parent to expand */
  .nav__item--has-sub > .nav__submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; background: transparent; border: 0; box-shadow: none;
    padding: 0 0 .25rem 1rem; min-width: 0;
  }
  .nav__item--has-sub.sub-open > .nav__submenu { display: block; }
  .nav__submenu a { color: #c9d8ee; font-size: 1rem; padding: .7rem 1rem; border-bottom: 0; }
  .nav__submenu a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav__item--has-sub.sub-open > .nav__parent::after { transform: rotate(180deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(47,102,179,.35), transparent 60%),
    radial-gradient(760px 520px at 88% 12%, rgba(249,115,22,.16), transparent 60%),
    linear-gradient(180deg, var(--primary-800) 0%, var(--primary-900) 100%);
  color: #e8f0fb;
  padding: 72px 0 88px;
}
.hero::after { /* grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 1024px) { .hero { padding: 110px 0 130px; } }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: #fff; }
.hero h1 .hl {
  background: var(--accent-500);
  color: #fff;
  padding: .04em .22em .08em;
  border-radius: .22em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .lead { color: #b9cbe4; }
.hero__fineprint { font-size: .82rem; color: #8fa5c2; margin-top: 1.25rem; max-width: 56ch; }
.trust-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; list-style: none; padding: 0; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .85rem; font-weight: 600; color: #dbe6f5;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: .45rem .9rem; border-radius: 999px;
}
.trust-chips svg { width: 16px; height: 16px; color: var(--accent-400); }
.hero__visual { position: relative; }
.hero-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { display: block; width: 100%; height: auto; }
.glass-card {
  position: absolute;
  display: flex; align-items: center; gap: .8rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-md);
  font-size: .9rem; font-weight: 600; color: #fff;
  max-width: 240px;
}
.glass-card svg { width: 30px; height: 30px; flex: none; color: var(--accent-400); }
.glass-card small { display: block; font-weight: 400; color: #b9cbe4; font-size: .78rem; }
.glass-card--a { top: -22px; right: 6%; }
.glass-card--b { bottom: -24px; left: 4%; }
.glass-card--c { bottom: 22%; right: -12px; }
@media (max-width: 1023px) {
  .glass-card--c { display: none; }
  .glass-card--a { top: -18px; right: 2%; }
  .glass-card--b { bottom: -20px; left: 2%; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--primary-200); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Cards & bento ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm), var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm), var(--shadow-lg); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; }
.card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; text-decoration: none; color: var(--accent-600);
}
.card__link svg { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(4px); }
.icon-tile {
  width: 56px; height: 56px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  margin-bottom: 1.1rem;
}
.icon-tile svg { width: 28px; height: 28px; stroke: var(--primary-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile--accent { background: var(--accent-100); }
.icon-tile--accent svg { stroke: var(--accent-600); }

.bento { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__card--big { grid-column: span 2; grid-row: span 1; }
  .bento__card--big .card { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
}

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 2.2rem; position: relative; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--font-heading);
  font-size: 4.2rem; font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--primary-200);
  margin-bottom: .8rem;
}
.section--dark .step__num { -webkit-text-stroke: 2px rgba(255,255,255,.28); }
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (min-width: 1024px) {
  .steps::before {
    content: ""; position: absolute; top: 3.1rem; left: 4%; right: 4%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary-200) 0 10px, transparent 10px 20px);
  }
  .step { background: transparent; }
}

/* ---------- Symptom checker ---------- */
.symptoms { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .symptoms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .symptoms { grid-template-columns: repeat(3, 1fr); } }
.symptom-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--accent-500);
  border-radius: var(--radius-sm); padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.symptom-card svg { width: 26px; height: 26px; flex: none; stroke: var(--accent-600); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: .2rem; }
.symptom-card h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.symptom-card p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--reverse > :first-child { order: 2; } }
.split__media {
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--primary-50);
}

/* ---------- Callouts ---------- */
.callout {
  display: flex; gap: 1rem; align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem;
  margin: 1.8rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 6px solid var(--primary-500);
  box-shadow: var(--shadow-sm);
}
.callout svg { width: 26px; height: 26px; flex: none; margin-top: .15rem; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.callout--tip { border-left-color: var(--primary-500); background: var(--primary-50); }
.callout--tip svg { stroke: var(--primary-600); }
.callout--warning { border-left-color: var(--accent-500); background: var(--accent-50); }
.callout--warning svg { stroke: var(--accent-600); }
.callout strong { display: block; margin-bottom: .25rem; font-family: var(--font-heading); }
.callout p { margin: 0; font-size: .98rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); margin: 1.6rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; background: #fff; min-width: 560px; }
th, td { text-align: left; padding: .95rem 1.2rem; border-bottom: 1px solid var(--border); }
th { font-family: var(--font-heading); background: var(--primary-800); color: #fff; font-size: .92rem; letter-spacing: .02em; }
tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) td { background: var(--off-white); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; max-width: 860px; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--primary-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary-50); display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .25s ease;
}
.faq summary .plus svg { width: 18px; height: 18px; stroke: var(--primary-700); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent-100); }
.faq details[open] summary .plus svg { stroke: var(--accent-600); }
.faq .faq__body { padding: 0 1.5rem 1.5rem; color: var(--muted); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(249,115,22,.35), transparent 65%),
    linear-gradient(180deg, var(--primary-800), var(--dark));
  color: #fff; text-align: center;
  border-radius: 28px;
  padding: 4rem 2rem;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(closest-side, rgba(249,115,22,.22), transparent);
  filter: blur(30px); pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9cbe4; max-width: 60ch; margin-inline: auto; }
.cta-band__phone {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 4vw, 3.4rem);
  letter-spacing: -0.02em;
  color: #fff; text-decoration: none;
  margin: 1.2rem 0 1.6rem;
  text-shadow: 0 0 42px rgba(249,115,22,.65);
}
.cta-band__phone:hover { color: var(--accent-200); }

/* ---------- Sidebar layout (service pages) ---------- */
.layout--sidebar { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}
.toc {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.4rem 1.5rem; margin-bottom: 2rem;
}
.toc strong { font-family: var(--font-heading); display: block; margin-bottom: .7rem; color: var(--primary-800); }
.toc ol { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover, .toc a.active { color: var(--accent-600); font-weight: 600; }
@media (min-width: 1024px) {
  .sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.4rem; }
}
.call-card {
  background: linear-gradient(160deg, var(--primary-800), var(--primary-900));
  color: #fff; border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-lg); text-align: center;
}
.call-card h3 { color: #fff; font-size: 1.2rem; }
.call-card p { color: #b9cbe4; font-size: .95rem; }
.call-card .btn { width: 100%; margin-top: 1rem; }

/* ---------- Areas grid ---------- */
.areas { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.area-card {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.15rem 1.3rem; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.area-card svg { width: 24px; height: 24px; flex: none; stroke: var(--accent-600); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.area-card strong { display: block; color: var(--primary-800); font-family: var(--font-heading); }
.area-card small { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #a9bcd6; padding: 72px 0 0; font-size: .96rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@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 h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer__links { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer__links a { color: #a9bcd6; text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__brand img { height: 60px; width: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 34ch; }
.footer__contact { list-style: none; padding: 0; display: grid; gap: .7rem; margin-top: 1.2rem; }
.footer__contact a { color: #fff; font-weight: 600; text-decoration: none; }
.footer__disclosure {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.8rem 0; font-size: .84rem; color: #7e93b3;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .86rem; color: #7e93b3;
}
.footer__bottom nav { display: flex; gap: 1.4rem; }
.footer__bottom a { color: #a9bcd6; text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Mobile sticky call bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: .7rem; align-items: center; justify-content: center;
  padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom));
  background: rgba(7, 26, 51, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.call-bar .btn { flex: 1; min-height: 50px; }
@media (min-width: 768px) { .call-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 86px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--d1 { transition-delay: .1s; }
.js .reveal--d2 { transition-delay: .2s; }
.js .reveal--d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.list-check { list-style: none; padding: 0; display: grid; gap: .8rem; }
.list-check li { display: flex; gap: .8rem; align-items: flex-start; }
.list-check svg { width: 22px; height: 22px; flex: none; margin-top: .25rem; stroke: var(--accent-600); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.kicker-note { font-size: .88rem; color: var(--muted); font-style: italic; }

/* Page media (service imagery) */
.page-media{max-width:1100px;margin:0 auto 2.5rem;padding:0 1.25rem}
.page-media img{width:100%;height:auto;display:block;border-radius:1rem;box-shadow:var(--shadow-lg)}
.page-media figcaption{margin-top:.6rem;font-size:.85rem;color:var(--muted);text-align:center}

.footer__social{display:flex;gap:.75rem;list-style:none;padding:0;margin:1.1rem 0 0}
.footer__social a{display:inline-flex;align-items:center;gap:.5rem;color:#b9cbe4;text-decoration:none;font-weight:600;font-size:.9rem}
.footer__social a:hover{color:#fff}
.footer__social svg{width:20px;height:20px}

/* Inline section photos (homepage) */
.inline-photo{margin:0 0 2.25rem;max-width:980px}
.inline-photo img{display:block;width:100%;height:auto;border-radius:1.25rem;box-shadow:var(--shadow-md)}
.inline-photo figcaption{margin-top:.6rem;font-size:.85rem;color:var(--muted)}
.inline-photo--cta{max-width:560px;margin:0 auto 1.75rem}
.inline-photo--cta img{border-radius:1.5rem;box-shadow:var(--shadow-lg)}
/* Areas: two-column split with real photo */
.areas__photo{margin:0}
.areas__photo img{display:block;width:100%;height:auto;border-radius:1.25rem;box-shadow:var(--shadow-lg)}
.areas__photo figcaption{margin-top:.6rem;font-size:.85rem;color:var(--muted)}
.areas--compact{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin:1.5rem 0 0}
.areas--compact a{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.72rem .95rem;background:#fff;border:1px solid var(--border);border-radius:11px;font-weight:600;font-size:.92rem;color:var(--ink);text-decoration:none;transition:border-color .2s,color .2s}
.areas--compact a:hover{border-color:var(--accent);color:var(--primary-700)}
.areas--compact a svg{width:16px;height:16px;flex:none;color:var(--accent)}
@media (max-width:520px){.areas--compact{grid-template-columns:1fr}}

/* Split media helpers */
.split__media img{display:block;width:100%;height:auto}
.split__media figcaption{padding:.8rem 1.1rem;font-size:.85rem;color:var(--muted)}
.split .symptoms--stack{grid-template-columns:1fr}
@media (min-width:1024px){.split .steps--half{grid-template-columns:repeat(2,1fr)}}

/* Cinematic banner photos */
.banner-photo{margin:0 0 2.5rem;border-radius:1.25rem;overflow:hidden;box-shadow:var(--shadow-md);background:#fff;border:1px solid var(--border)}
.banner-photo img{display:block;width:100%;height:clamp(260px,36vw,430px);object-fit:cover}
.banner-photo figcaption{padding:.7rem 1.15rem;font-size:.85rem;color:var(--muted)}
.banner-photo--grid{grid-column:1/-1;margin:0 0 .8rem}
.banner-photo--grid img{height:clamp(220px,28vw,340px)}
