/* ==========================================================================
   Water Line Repair Pros – shared stylesheet
   One file for every page. Sections:
   1. Tokens  2. Base  3. Layout  4. Type helpers  5. Buttons  6. Cards
   7. Forms  8. Header & nav  9. Mobile menu  10. Breadcrumb  11. Heroes
   12. Sections & components  13. Prose  14. Footer  15. Sticky call bar
   16. Utilities
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* Colour */
  --navy: #0B2545;          /* headings, footer, dark UI */
  --blue: #1565C0;          /* primary brand, links, form submit */
  --blue-dark: #0D4A93;     /* hover */
  --sky: #EAF3FC;           /* hero / icon tint */
  --mist: #F5F9FD;          /* alternate section ground */
  --accent: #F97316;        /* call buttons (navy text on top) */
  --accent-dark: #EA580C;   /* hover */
  --rust: #C2410C;          /* emergency icon */
  --rust-tint: #FFF1E6;
  --text: #0B2545;
  --muted: #4A5B70;         /* body copy, 6.9:1 on white */
  --on-dark: #C9D8EA;       /* body copy on navy */
  --line: #D6E2EE;          /* borders */
  --line-strong: #B9CBDE;   /* inputs */
  --line-dashed: #9DB6D1;   /* placeholders */
  --white: #FFFFFF;
  --success: #15803D;
  --error: #B91C1C;

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1.0625rem; /* 17 */
  --fs-lg: 1.1875rem;   /* 19 */
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.625rem);   /* 28 → 42 */
  --fs-h1: clamp(2.125rem, 1.3rem + 3.2vw, 3.625rem); /* 34 → 58 */
  --fs-h1-inner: clamp(2rem, 1.3rem + 2.4vw, 3rem);   /* 32 → 48 */

  /* Space (8px scale) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem;  --s-8: 2rem;   --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem;
  --s-20: 5rem;   --s-24: 6rem;
  --section-y: clamp(3rem, 2rem + 4vw, 6rem);
  --gutter: 1.5rem;
  --container: 75rem; /* 1200 */

  /* Shape & depth */
  --r-sm: 10px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 10px 24px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 18px 40px rgba(11, 37, 69, 0.14);
  --focus: 0 0 0 3px #8EC5FF;

  --header-h: 72px;
  --callbar-h: 72px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; font-weight: 800; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--navy); color: var(--white); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); }
.skip-link:focus { top: var(--s-4); color: var(--white); }
.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; }

/* 3. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 50rem; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--mist); border-block: 1px solid #E3ECF5; }
.section--sky { background: var(--sky); }
.stack { display: flex; flex-direction: column; gap: var(--s-4); }
.stack--lg { gap: var(--s-8); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.25rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--s-6); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: var(--s-12); align-items: flex-start; }
.split > * { flex: 1 1 26rem; min-width: 0; }
/* Content + sidebar (service, location, blog) */
.with-sidebar { display: flex; flex-wrap: wrap; gap: var(--s-12); align-items: flex-start; }
.with-sidebar__main { flex: 999 1 36rem; min-width: 0; }
.with-sidebar__aside { flex: 1 1 20rem; min-width: 0; display: flex; flex-direction: column; gap: var(--s-6); }
@media (min-width: 960px) { .with-sidebar__aside { position: sticky; top: calc(var(--header-h) + 24px); } }

/* 4. Type helpers --------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.accent-underline { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.15em; text-underline-offset: 0.18em; text-decoration-skip-ink: none; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-12); }
.section-head__text { display: flex; flex-direction: column; gap: var(--s-3); max-width: 40rem; }

/* 5. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0.75rem 1.25rem;
  font: 700 var(--fs-sm)/1.2 var(--font-body);
  border-radius: var(--r-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 0.875rem 1.5rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn--call { background: var(--accent); color: var(--navy); }
.btn--call:hover { background: var(--accent-dark); color: var(--navy); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--link { min-height: 0; padding: 0; border: 0; background: none; color: var(--blue); }
.btn--link:hover { color: var(--blue-dark); text-decoration: underline; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* 6. Cards ---------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  color: var(--text); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--text); }
.card p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.card__icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--sky); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.card__icon .icon { width: 24px; height: 24px; }
.card__icon--urgent { background: var(--rust-tint); color: var(--rust); }
.card__icon--dark { background: var(--navy); color: var(--white); }
.card__more { margin-top: auto; padding-top: var(--s-2); display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 700; color: var(--blue); }
.card--step .step-num { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font: 800 1rem var(--font-display); }
.feature { display: flex; gap: var(--s-4); align-items: flex-start; }
.feature h3 { font-size: 1.125rem; }
.feature p { font-size: var(--fs-sm); color: var(--muted); }
.panel { padding: var(--s-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel--placeholder { border-style: dashed; border-color: var(--line-dashed); }
.link-list { list-style: none; display: flex; flex-direction: column; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.link-list li:last-child a { border-bottom: 0; }
.link-list a:hover, .link-list a[aria-current="page"] { color: var(--blue); }

/* 7. Forms ---------------------------------------------------------------- */
.form-card { background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: var(--s-4); }
@media (min-width: 600px) { .form-card { padding: var(--s-8) 1.75rem; } }
.form-card__title { font-size: 1.5rem; font-weight: 800; }
.form-row { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 0.875rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { padding-block: 0.75rem; min-height: 96px; resize: vertical; }
.select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231565C0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--focus); }
.input::placeholder, .textarea::placeholder { color: #7C8DA1; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--error); }
.field__error { font-size: var(--fs-xs); color: var(--error); font-weight: 600; }
.field__error:empty { display: none; }
.form-note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.form-status { font-size: var(--fs-sm); font-weight: 600; border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); }
.form-status:empty { display: none; }
.form-status--error { background: #FEF2F2; color: var(--error); }
.form-status--success { background: #F0FDF4; color: var(--success); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 8. Header & nav --------------------------------------------------------- */
.topbar { background: var(--navy); color: var(--on-dark); font-size: var(--fs-sm); }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-6); padding-block: 0.5rem; }
.topbar__item { display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar__item .icon { color: #8EC5FF; width: 16px; height: 16px; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }
@media (max-width: 720px) { .topbar__extra { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.logo:hover { color: var(--navy); }
.logo__mark { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; }
.logo__mark .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.logo__line1 { font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.01em; }
.logo__line2 { font-weight: 700; font-size: 0.8125rem; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav { display: none; }
.main-nav__list { list-style: none; display: flex; align-items: center; gap: var(--s-1); }
.main-nav__link, .main-nav__toggle {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; padding: 0 0.75rem; border-radius: var(--r-sm);
  font: 600 var(--fs-sm) var(--font-body); color: var(--navy); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.main-nav__link:hover, .main-nav__toggle:hover, .main-nav__link[aria-current="page"], .has-dropdown.is-current > .main-nav__toggle { color: var(--blue); background: var(--sky); }
.main-nav__toggle .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.main-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  min-width: 18rem; padding: var(--s-2); list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  display: none;
}
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; } /* hover bridge */
.dropdown.is-open { display: block; }
@media (hover: hover) and (min-width: 1080px) { .has-dropdown:hover > .dropdown { display: block; } }
.dropdown a { display: block; padding: 0.625rem 0.75rem; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.dropdown__all { border-top: 1px solid var(--line); margin-top: var(--s-1); padding-top: var(--s-1); }
.dropdown__all a { font-weight: 700; color: var(--blue); }
.dropdown--cols { min-width: 32rem; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.dropdown--cols.is-open { display: grid; }
@media (hover: hover) and (min-width: 1080px) { .has-dropdown:hover > .dropdown--cols { display: grid; } }
.dropdown--cols .dropdown__all { grid-column: 1 / -1; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-actions .btn--quote { display: none; }
.menu-toggle { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--navy); cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.header-call-label { display: none; }
@media (min-width: 560px) { .header-call-label { display: inline; } }
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .header-actions .btn--quote { display: inline-flex; }
}

/* 9. Mobile menu ---------------------------------------------------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 90; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(11, 37, 69, 0.5); }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(24rem, 88vw);
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
.mobile-menu__nav { padding: var(--s-2) var(--s-4); flex: 1; }
.mobile-menu__nav > ul { list-style: none; }
.mobile-menu__nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu__link, .mobile-menu__toggle {
  width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between;
  padding: 0; background: none; border: 0; cursor: pointer;
  font: 700 1.0625rem var(--font-display); color: var(--navy); text-decoration: none;
}
.mobile-menu__toggle .icon { transition: transform .15s ease; color: var(--blue); }
.mobile-menu__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-menu__sub { list-style: none; padding: 0 0 var(--s-3); }
.mobile-menu__sub[hidden] { display: none; }
.mobile-menu__sub a { display: block; padding: 0.625rem 0.75rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; }
.mobile-menu__sub a:hover, .mobile-menu__sub a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.mobile-menu__foot { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); border-top: 1px solid var(--line); }
body.menu-open { overflow: hidden; }

/* 10. Breadcrumb ---------------------------------------------------------- */
.breadcrumb { font-size: var(--fs-sm); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--line-dashed); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* 11. Heroes -------------------------------------------------------------- */
.hero { background: var(--sky); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-12); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero__copy { flex: 1 1 30rem; min-width: 0; display: flex; flex-direction: column; gap: var(--s-5); }
.hero__form { flex: 1 1 22rem; max-width: 28rem; }
.hero .lead { color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: var(--s-2); padding: 0.5rem 0.875rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; }
.chip .icon { color: var(--blue); width: 16px; height: 16px; stroke-width: 2.6; }
a.chip { color: var(--navy); text-decoration: none; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }

.page-hero { background: var(--sky); border-bottom: 1px solid #DCE8F4; }
.page-hero__inner { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.75rem); display: flex; flex-direction: column; gap: var(--s-4); }
.page-hero h1 { font-size: var(--fs-h1-inner); max-width: 46rem; }
.page-hero .lead { max-width: 42rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-sm); color: var(--muted); }

/* 12. Sections & components ---------------------------------------------- */
.license-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); background: var(--white); border: 1px dashed var(--line-dashed); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--muted); }
.license-strip strong { color: var(--navy); }
.license-strip .icon { color: var(--blue); }

.cta-band { background: var(--blue); color: var(--white); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6); padding-block: var(--s-16); }
.cta-band h2 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem); }
.cta-band p { color: #DCEBFB; font-size: 1.125rem; margin-top: var(--s-2); }

.map-embed { position: relative; min-height: 22rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sky); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.area-links { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); list-style: none; }
.area-links a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 48px; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--navy); text-decoration: none; font-weight: 600; }
.area-links a:hover { border-color: var(--blue); color: var(--blue); }
.area-links .icon { color: var(--blue); width: 16px; height: 16px; }

.faq-list { display: flex; flex-direction: column; gap: var(--s-3); }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 var(--s-5); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; font: 700 1.0625rem/1.4 var(--font-display); color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--blue); transition: transform .15s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item__body { padding-bottom: var(--s-5); color: var(--muted); }
.faq-item__body p + p { margin-top: var(--s-3); }

.callout { padding: var(--s-5) var(--s-6); border-radius: var(--r-md); background: var(--sky); border: 1px solid #CFE2F6; }
.callout--warn { background: var(--rust-tint); border-color: #FBD5B8; }

.related { border-top: 1px solid var(--line); padding-top: var(--s-10); margin-top: var(--s-12); }

/* 13. Prose (blog posts, legal, long service copy) ------------------------ */
.prose { color: var(--text); font-size: var(--fs-base); line-height: 1.75; max-width: 46rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); margin-top: 1.8em; line-height: 1.2; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose p, .prose li { color: #26384F; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--mist); font-weight: 700; color: var(--navy); }
.prose blockquote { margin: 0; padding-left: var(--s-5); border-left: 4px solid var(--line); color: var(--muted); }
.toc { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--mist); font-size: var(--fs-sm); }
.toc ol { padding-left: 1.2em; margin-top: var(--s-2); }

/* 14. Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-dark); font-size: var(--fs-sm); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-10); grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); padding-block: var(--s-16) var(--s-10); }
.footer-brand { display: flex; flex-direction: column; gap: var(--s-4); }
.footer-brand .logo { color: var(--white); }
.footer-brand .logo__line2 { color: #8EC5FF; }
.footer-col h2 { font: 700 var(--fs-sm) var(--font-body); color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nap { font-style: normal; display: flex; flex-direction: column; gap: 10px; }
.footer-nap .footer-phone { color: var(--white); font-weight: 700; font-size: 1.125rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: var(--s-6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); font-size: var(--fs-xs); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-legal a { text-decoration: underline; }

/* 15. Sticky call bar (mobile only) --------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(11, 37, 69, 0.12);
}
.callbar .btn { min-height: 50px; font-size: 1rem; }
body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1080px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* Page hero with form (inner pages that need call + form above the fold) */
.eyebrow:empty, .lead:empty { display: none; }
.page-hero--form .page-hero__crumbs { padding-top: var(--s-6); }
.page-hero--form .page-hero__crumbs:empty { display: none; }
.hero__inner--page { padding-block: var(--s-6) clamp(2.5rem, 1.5rem + 3vw, 4rem); gap: var(--s-10); }
.page-hero--form h1 { font-size: var(--fs-h1-inner); }

/* Check lists and symptom tables */
.check-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); }
.check-list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.check-list .icon { color: var(--blue); margin-top: 0.2em; stroke-width: 2.6; }
.symptom-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.symptom-table th, .symptom-table td { text-align: left; padding: 0.875rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.symptom-table th { background: var(--mist); color: var(--navy); font-weight: 700; }
.symptom-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* Area cards on the service-areas hub */
.area-card { display: flex; flex-direction: column; gap: var(--s-2); }
.area-card__meta { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Contact methods */
.contact-method { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-method strong { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--navy); }

/* 16. Utilities ----------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--s-4); } .mt-8 { margin-top: var(--s-8); } .mt-12 { margin-top: var(--s-12); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Links to planned pages that are not published yet render as plain text */
[data-pending-link] > .icon, [data-pending-link] .card__more { display: none; }
span.card[data-pending-link] { box-shadow: none; }
