/* ==========================================================================
   Phoenix Premier Pools — styles.css
   Static HTML/CSS/JS build. Mobile-first. Single stylesheet.

   ORGANIZATION (for site scale-up to 17 pages):
     PART A — Shared foundations         §01–06  (tokens, reset, type, layout, buttons, a11y)
     PART B — Shared chrome              §07 top, §15–18 bottom
              (header / nav / drawer, footer, modal, mobile bar, breadcrumb)
     PART C — Homepage sections          §08–14  (hero → final CTA)
     PART D — Service page template      (empty; populated when first page lands)
     PART E — City page template         (empty; populated when first page lands)
     PART F — Utility page template      (empty; populated when first page lands)
     PART G — Cross-cutting              §19–21  (reveal, responsive, reduced motion)

   @font-face declarations come before :root so the type system loads early.
   ========================================================================== */

/* ---- @font-face: self-hosted Inter (400/500/600/700/800) -------------- */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src: url('/assets/fonts/Inter-Regular.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src: url('/assets/fonts/Inter-Medium.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap;
  src: url('/assets/fonts/Inter-Bold.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:800; font-display:swap;
  src: url('/assets/fonts/Inter-ExtraBold.woff2') format('woff2'); }

/* ======================================================================
   PART A — SHARED FOUNDATIONS
   ====================================================================== */

/* ---- 01. Design tokens -------------------------------------------------- */
:root {
  /* Pool blues — the hero color, saturated + clean */
  --pool-50:  #EAF6FB;
  --pool-100: #CFEAF5;
  --pool-200: #9CD5EC;
  --pool-300: #5FB9DD;
  --pool-400: #2E9ED0;
  --pool-500: #0F82C2;
  --pool-600: #0A6AA3;
  --pool-700: #0A5484;
  --pool-800: #0C4268;
  --pool-900: #0B3350;

  /* Deep navy — headings, dark bands */
  --navy-500: #1F3358;
  --navy-700: #152544;
  --navy-900: #0A152B;

  /* Sunset accent — primary CTA ONLY */
  --sun-100: #FFE5BD;
  --sun-500: #F59221;
  --sun-600: #E07411;
  --sun-700: #B3560A;

  /* Warm neutrals */
  --sand-50:   #FAF7F2;
  --sand-100:  #F3EEE4;
  --sand-200:  #E7DFCF;
  --stone-300: #C9C3B7;
  --stone-500: #8A8579;
  --stone-700: #5A564D;
  --ink-900:   #14151A;

  /* Semantic */
  --bg:           #FFFFFF;
  --bg-alt:       var(--sand-50);
  --bg-inverse:   var(--navy-900);
  --fg:           var(--ink-900);
  --fg-muted:     var(--stone-700);
  --fg-subtle:    var(--stone-500);
  --border:       var(--sand-200);
  --focus:        #2E9ED0;

  /* Type */
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Radii */
  --r-xs:  4px;
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 999px;

  /* Shadows — navy-tinted, not neutral black */
  --sh-xs: 0 1px 2px rgba(10, 21, 43, 0.06);
  --sh-sm: 0 2px 6px rgba(10, 21, 43, 0.08);
  --sh-md: 0 6px 18px rgba(10, 21, 43, 0.10);
  --sh-lg: 0 18px 40px rgba(10, 21, 43, 0.14);
  --sh-xl: 0 32px 60px rgba(10, 21, 43, 0.18);
  --glow-sun: 0 8px 24px rgba(224, 116, 17, 0.35);

  /* Motion */
  --ease-std:    cubic-bezier(0.2, 0, 0, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --pad: 24px;
  --pad-lg: 28px;
  --container: 1200px;
  --container-wide: 1280px;
  --container-narrow: 1080px;
  --container-cta: 860px;
  /* Site chrome heights. The topbar sits above the main nav site-wide;
     on mobile both shrink slightly. --header-h is the COMBINED chrome
     height so existing hero/section padding hooks (calc(var(--header-h) + N))
     always clear the right amount. */
  --topbar-h: 36px;
  --nav-h: 72px;
  --header-h: 108px; /* topbar + nav, desktop default; mobile values set in @media block */
}

/* ---- 02. Reset & base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
svg { fill: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: transparent; padding: 0; }
a { color: var(--pool-700); text-decoration: none; }
a:hover { color: var(--pool-800); }
ul, ol { margin: 0; padding: 0; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
:root { color-scheme: light; }

/* ---- 03. Typography ----------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pool-600);
  margin: 0 0 14px;
  display: inline-block;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1.00;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  text-wrap: balance;
  margin: 0;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  text-wrap: balance;
  margin: 0;
}
.h-card {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0;
}
.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
  text-wrap: pretty;
}

/* ---- 04. Layout utilities ---------------------------------------------- */
.container       { max-width: var(--container);        margin: 0 auto; padding: 0 var(--pad-lg); }
.container-wide  { max-width: var(--container-wide);   margin: 0 auto; padding: 0 var(--pad-lg); }
.container-narrow{ max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--pad-lg); }

/* ---- 05. Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 180ms var(--ease-std), color 180ms var(--ease-std),
              transform 180ms var(--ease-std), box-shadow 180ms var(--ease-std),
              border-color 180ms var(--ease-std);
  text-decoration: none;
}
.btn .icon { width: 18px; height: 18px; }
.btn-lg    { padding: 18px 28px; font-size: 16px; }
.btn-lg .icon { width: 20px; height: 20px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--sun-500);
  color: #fff;
  box-shadow: var(--glow-sun);
}
.btn-primary:hover {
  background: var(--sun-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(224, 116, 17, 0.48);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(224, 116, 17, 0.40);
}

.btn-ghost-light {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.65); }

.btn-ghost-dark {
  background: transparent;
  color: var(--navy-900);
  border: 2px solid var(--border);
}
.btn-ghost-dark:hover { background: var(--sand-50); color: var(--navy-900); border-color: var(--navy-700); }

.btn-light {
  background: var(--sand-50);
  color: var(--navy-900);
  border: 1px solid var(--border);
}
.btn-light:hover { background: var(--sand-100); color: var(--navy-900); }

/* (primary-CTA water-drop reveal removed — glow-on-hover handled by .btn-primary:hover box-shadow) */

/* ---- 06. A11y helpers -------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 10px;
  width: auto; height: auto;
  padding: 10px 16px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--r-md);
  z-index: 1000;
  box-shadow: var(--sh-md);
}
.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;
}
.icon {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ======================================================================
   PART B — SHARED CHROME (top: header / nav; bottom chrome at §15–18)
   ====================================================================== */

/* ---- 07. Header / nav -------------------------------------------------- */
/* ---- Topbar (desktop-only) ------------------------------------------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 101;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.005em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--pad-lg);
}
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color 160ms var(--ease-std);
}
.topbar-phone .icon {
  width: 14px;
  height: 14px;
  color: var(--sun-500);
  transition: transform 200ms var(--ease-std);
}
.topbar-phone:hover { color: var(--sun-500); }
.topbar-phone:hover .icon { transform: translateY(-1px); }
.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
}
.topbar-roc {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(231, 223, 207, 0.7);
  transition: box-shadow 260ms var(--ease-std), border-color 260ms;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 18px rgba(10,21,43,0.06);
  border-bottom-color: transparent;
}
.site-header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 14px var(--pad-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header-logo { display: inline-flex; align-items: center; min-width: 0; flex-shrink: 0; }
.site-header-logo img {
  height: 42px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
}
.main-nav > li { list-style: none; }
.main-nav a,
.main-nav button.services-dd-btn {
  color: var(--navy-900);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 180ms;
}
.main-nav a:hover,
.main-nav button.services-dd-btn:hover { color: var(--pool-700); }
.services-dd-wrap { position: relative; }
.services-dd-btn .icon { width: 14px; height: 14px; transition: transform 200ms; }
.services-dd-wrap[data-open="true"] .services-dd-btn .icon { transform: rotate(180deg); }

/* Invisible hover-bridge that spans the visual gap between the Services button
   and the dropdown. Only activates while the dropdown is open, so it doesn't
   block clicks on hero/canvas content underneath when closed. */
.services-dd-wrap::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  width: 260px;
  height: 14px;
  pointer-events: none;
}
.services-dd-wrap[data-open="true"]::before {
  pointer-events: auto;
}

.services-dd {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  padding: 8px;
  display: none;
  list-style: none;
}
.services-dd-wrap[data-open="true"] .services-dd { display: block; }
.services-dd li { list-style: none; }
.services-dd a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 160ms, color 160ms;
}
.services-dd a:hover { background: var(--sand-50); color: var(--pool-700); }


.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  color: var(--navy-900);
  align-items: center;
  justify-content: center;
  transition: background 160ms;
}
.hamburger:hover { background: var(--sand-50); }
.hamburger .icon { width: 22px; height: 22px; }
.hamburger[data-open="true"] .icon.menu-open  { display: none; }
.hamburger[data-open="false"] .icon.menu-close { display: none; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  transform: translateY(-102%);
  transition: transform 360ms var(--ease-std);
  z-index: 99;
  padding: calc(var(--header-h) + 16px) 24px 28px;
  max-height: 100dvh;
  overflow-y: auto;
}
.mobile-drawer[data-open="true"] { transform: translateY(0); }
.mobile-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 18px;
}
.mobile-drawer-list > li > a,
.mobile-drawer-list > li > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy-900);
  text-decoration: none;
  border-bottom: 1px solid var(--sand-100);
  list-style: none;
  cursor: pointer;
}
.mobile-drawer-list > li > details > summary::-webkit-details-marker { display: none; }
.mobile-drawer-list > li > details > summary .icon { transition: transform 200ms; }
.mobile-drawer-list > li > details[open] > summary .icon { transform: rotate(180deg); }
.mobile-drawer-list > li > details > ul {
  list-style: none;
  padding: 6px 0 10px 12px;
  margin: 0;
}
.mobile-drawer-list > li > details > ul li a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-700);
  padding: 10px 0;
}
.mobile-drawer-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.mobile-drawer-actions .btn { justify-content: center; }

/* ======================================================================
   PART C — HOMEPAGE SECTIONS
   ====================================================================== */

/* ---- 08. Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #0A2F55;
  color: #fff;
  display: flex;
  align-items: center;
}
/* Static caustic-like fallback (also shows through if WebGL fails / reduced-motion) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 35% 30%, rgba(63,184,222,0.95) 0%, transparent 50%),
    radial-gradient(ellipse at 72% 70%, rgba(13,126,178,0.9) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 88%, rgba(10,47,85,0.7) 0%, transparent 50%),
    linear-gradient(180deg, #1A93C8 0%, #0A5B8F 55%, #0A2F55 100%);
}
.pool-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  touch-action: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(6,32,60,0.42) 0%,
    rgba(6,32,60,0.16) 35%,
    rgba(6,32,60,0.28) 72%,
    rgba(6,32,60,0.60) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: calc(var(--header-h) + 44px) var(--pad-lg) 80px;
}
.hero-inner { max-width: 760px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(10, 32, 58, 0.45);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #fff;
  box-shadow: 0 4px 14px rgba(6,32,60,0.2);
}
.hero-eyebrow .icon { width: 14px; height: 14px; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 22px 0 24px;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6,32,60,0.4);
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.96);
  margin: 0 0 36px;
  max-width: 600px;
  text-wrap: pretty;
  font-weight: 400;
  text-shadow: 0 1px 20px rgba(6,32,60,0.35);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 48px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.85);
  list-style: none;
}
.hero-trust li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hero-trust .icon { width: 14px; height: 14px; color: rgba(255,255,255,0.72); }
.hero-trust .dot {
  width: 3px; height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.38);
  flex-shrink: 0;
}

/* ---- 09. Services grid ------------------------------------------------- */
#services { padding: 120px 0 110px; background: #fff; }
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.services-head > div:first-child { max-width: 640px; }
.services-head .h-section { margin-top: 0; }
.services-head .lede { max-width: 520px; justify-self: start; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
a.service-card {
  position: relative;
  background: #fff;
  padding: 30px 28px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(10,21,43,0.04);
  transition: box-shadow 260ms var(--ease-std), transform 260ms var(--ease-std), border-color 260ms;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--fg);
}
a.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pool-500) 0%, var(--pool-300) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-std);
}
a.service-card:hover,
a.service-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(10,21,43,0.10);
  border-color: var(--pool-100);
  color: var(--fg);
}
a.service-card:hover::before,
a.service-card:focus-visible::before { transform: scaleX(1); }

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--pool-50);
  color: var(--pool-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-card-icon .icon { width: 22px; height: 22px; stroke-width: 1.75; }
.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--stone-700);
  margin: 10px 0 22px;
  text-wrap: pretty;
  flex-grow: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--stone-700);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: color 200ms;
  margin-top: auto;
}
.service-link .icon {
  width: 14px; height: 14px;
  transition: transform 220ms var(--ease-std);
}
a.service-card:hover .service-link,
a.service-card:focus-visible .service-link { color: var(--pool-700); }
a.service-card:hover .service-link .icon,
a.service-card:focus-visible .service-link .icon { transform: translateX(4px); }

/* Area-card additions for the Service Areas hub:
   small uppercase tagline between the H3 and the body, keeps the existing
   service-card shape but adds a city/location subtitle. */
.service-card .area-card-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pool-700);
  margin: 4px 0 0;
  flex-grow: 0;
}
.service-card .area-card-body {
  margin: 12px 0 22px;
}

/* ---- 9.5 Why Choose Us ------------------------------------------------- */
.why-us {
  padding: 110px 0 120px;
  background: #fff;
  position: relative;
}
.why-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.why-head .h-section { margin: 14px 0 16px; }
.why-head .lede { margin: 0 auto; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 28px 26px 26px;
  border: 1px solid var(--sand-100);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 8px rgba(10,21,43,0.05);
  transition: box-shadow 260ms var(--ease-std), border-color 260ms, transform 260ms var(--ease-std);
}
.why-card:hover {
  box-shadow: 0 14px 34px rgba(10,21,43,0.10);
  border-color: var(--pool-100);
  transform: translateY(-2px);
}
.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-card-icon .icon { width: 20px; height: 20px; stroke-width: 1.75; }
.why-card-body h3 { margin: 0 0 8px; }
.why-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--stone-700);
  margin: 0;
  text-wrap: pretty;
}

/* ---- 9.75 Our Commitment (navy trust section) ------------------------- */
.commitment {
  background: var(--navy-900);
  color: #fff;
  padding: 96px 0 100px;
  position: relative;
}
.commitment-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.commitment-head .eyebrow { color: var(--pool-300); }
.commitment-head .h-section { color: #fff; margin: 14px 0 16px; }
.commitment-head .lede { color: rgba(255,255,255,0.78); }

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.commitment-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
  transition: background 220ms var(--ease-std), border-color 220ms;
}
.commitment-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.commitment-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 12px;
}
.commitment-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0;
  text-wrap: pretty;
}

/* (commitment-brands strip removed — no verified claim of brand-specific servicing) */

/* ---- 10. Trust strip --------------------------------------------------- */
.trust-strip {
  background: var(--navy-900);
  color: #fff;
  padding: 72px 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.trust-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-item-icon .icon { width: 20px; height: 20px; stroke-width: 1.75; }
.trust-item-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.trust-item-sub {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  margin: 0;
}

/* ---- 11. How It Works -------------------------------------------------- */
.hiw { padding: 110px 0 120px; background: var(--bg-alt); }
.hiw-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.hiw-head .h-section { margin: 14px 0; }
.hiw-wrap { position: relative; }
.hiw-line {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--pool-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hiw-step .hiw-badge {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pool-100);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15,130,194,0.08);
  margin-bottom: 22px;
  transition: transform 320ms var(--ease-std),
              box-shadow 320ms var(--ease-std),
              border-color 320ms var(--ease-std);
}
.hiw-badge .icon {
  width: 26px; height: 26px;
  color: var(--pool-600);
  stroke-width: 1.75;
  transition: color 320ms var(--ease-std), transform 320ms var(--ease-std);
}
.hiw-badge-num {
  position: absolute;
  top: -6px; right: -6px;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 320ms var(--ease-std),
              transform 320ms var(--ease-std),
              box-shadow 320ms var(--ease-std);
}
.hiw-step h3 {
  margin: 0 0 8px;
  transition: color 240ms var(--ease-std);
}
.hiw-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--stone-700);
  margin: 0 auto;
  max-width: 240px;
  text-wrap: pretty;
}

/* Hover — badge lifts + glows, icon brightens, number badge pops to sun/orange */
.hiw-step:hover .hiw-badge {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 34px rgba(15,130,194,0.22);
  border-color: var(--pool-300);
}
.hiw-step:hover .hiw-badge .icon {
  color: var(--pool-500);
  transform: scale(1.1);
}
.hiw-step:hover .hiw-badge-num {
  background: var(--sun-500);
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(224,116,17,0.45);
}
.hiw-step:hover h3 { color: var(--pool-700); }

/* ---- 12. Service Map --------------------------------------------------- */
.map-section { padding: 120px 0 130px; background: #fff; }
.map-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.map-head-col .h-section { margin: 14px 0 20px; }
.map-head-col > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone-700);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.city-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--sand-50);
  color: var(--navy-900);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  transition: all 180ms var(--ease-std);
  text-decoration: none;
}
.city-chip .icon { width: 13px; height: 13px; }
.city-chip:hover { background: var(--sand-100); color: var(--navy-900); }
.city-chip[data-active="true"] {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.map-zip-callout {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--pool-50);
  border: 1px solid var(--pool-100);
  display: flex;
  align-items: center;
  gap: 14px;
}
.map-zip-callout-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--pool-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.map-zip-callout-icon .icon { width: 20px; height: 20px; }
.map-zip-callout-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  margin: 0;
}
.map-zip-callout-sub {
  font-size: 13.5px;
  color: var(--stone-700);
  margin: 2px 0 0;
}
.map-zip-callout-sub a { color: var(--pool-700); font-weight: 600; }

/* Stacked horizontal city cards (right column of the home areas section) */
.area-link-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: start;
}
a.area-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 22px;
  text-decoration: none;
  transition: border-color 200ms var(--ease-std),
              transform 200ms var(--ease-std),
              box-shadow 240ms var(--ease-std);
}
a.area-link:hover,
a.area-link:focus-visible {
  border-color: var(--pool-500);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}
.area-link h3 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.area-link-sub {
  margin: 0;
  font-size: 13px;
  color: var(--stone-700);
  line-height: 1.45;
}
.area-link-arrow {
  color: var(--pool-700);
  display: flex;
  align-items: center;
  margin-left: 16px;
  transition: transform 220ms var(--ease-std);
}
.area-link-arrow .icon { width: 18px; height: 18px; stroke-width: 2.25; }
a.area-link:hover .area-link-arrow,
a.area-link:focus-visible .area-link-arrow { transform: translateX(4px); }
@media (max-width: 720px) {
  a.area-link { padding: 14px 18px; }
  .area-link h3 { font-size: 17px; }
}

/* Rich variant — service-areas hub.
   Same horizontal banner shape as the homepage cards, but each card
   carries an uppercase tagline above the city name plus a 1-2 line body,
   so a single column of seven feels intentional instead of orphaned. */
.area-link-list--rich {
  max-width: 820px;
  margin: 0 auto;
  gap: 12px;
}
a.area-link--rich {
  padding: 22px 28px;
  align-items: center;
}
.area-link-tag {
  margin: 0 0 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pool-700);
}
.area-link--rich h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.area-link-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--stone-700);
  text-wrap: pretty;
}
@media (max-width: 720px) {
  a.area-link--rich { padding: 18px 22px; }
  .area-link--rich h3 { font-size: 19px; }
  .area-link-body { font-size: 13.5px; }
}

.map-canvas-wrap {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(145deg, #FAF7F2 0%, #F3EEE4 100%);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.map-canvas-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(35deg, transparent 0 24px, rgba(201,195,183,0.15) 24px 25px);
  pointer-events: none;
}
.map-canvas-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Map pins */
.map-pin-group { cursor: pointer; }
.map-pin-pulse { opacity: 0; }
.map-pin-group[data-active="true"] .map-pin-pulse {
  opacity: 0.35;
  animation: mapPulse 2.2s ease-out infinite;
}
@keyframes mapPulse {
  0%   { r: 14; opacity: 0.35; }
  70%  { r: 28; opacity: 0; }
  100% { r: 28; opacity: 0; }
}
.map-pin-group[data-active="true"] .map-pin-center { fill: var(--pool-600); }

/* ---- 13. FAQ ----------------------------------------------------------- */
.faq-section { padding: 110px 0 120px; background: var(--bg-alt); }
.faq-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.faq-head .h-section { margin: 14px 0 16px; }
.faq-head .lede { margin: 0 auto 20px; }
.faq-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pool-700);
  font-weight: 600;
  font-size: 16px;
}
.faq-phone .icon { width: 15px; height: 15px; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list > details {
  border-bottom: 1px solid var(--border);
}
.faq-list > details > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  line-height: 1.3;
  transition: color 200ms;
}
.faq-list > details > summary::-webkit-details-marker { display: none; }
.faq-list > details > summary:hover { color: var(--pool-700); }
.faq-chevron {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--pool-50);
  color: var(--pool-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 260ms, color 260ms, transform 260ms var(--ease-std);
}
.faq-chevron .icon { width: 16px; height: 16px; }
.faq-list > details[open] > summary .faq-chevron {
  background: var(--pool-500);
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer { padding: 0 4px 22px; }
.faq-answer p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--stone-700);
  margin: 0;
  max-width: 640px;
  text-wrap: pretty;
}
/* Progressive enhancement — smooth expand in supporting browsers (Chrome 129+) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-list > details::details-content {
    height: 0;
    overflow: clip;
    transition: height 320ms var(--ease-std), content-visibility 320ms allow-discrete;
  }
  .faq-list > details[open]::details-content { height: auto; }
}

/* ---- 14. Final CTA ----------------------------------------------------- */
.final-cta {
  position: relative;
  overflow: hidden;
  background: #0A2F55;
  color: #fff;
  padding: 110px 0 120px;
  isolation: isolate;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 25%, rgba(63,184,222,0.55) 0%, transparent 48%),
    radial-gradient(ellipse at 78% 75%, rgba(13,126,178,0.55) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #1A6FA0 0%, #0A3A6A 55%, #0A2F55 100%);
}
.final-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.14) 0%, transparent 3%),
    radial-gradient(circle at 62% 42%, rgba(255,255,255,0.12) 0%, transparent 2.5%),
    radial-gradient(circle at 78% 62%, rgba(255,255,255,0.18) 0%, transparent 4%),
    radial-gradient(circle at 22% 72%, rgba(255,255,255,0.10) 0%, transparent 3%),
    radial-gradient(circle at 55% 85%, rgba(255,255,255,0.09) 0%, transparent 3.5%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.final-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,21,43,0.40) 0%, rgba(10,21,43,0.18) 50%, rgba(10,21,43,0.45) 100%);
  pointer-events: none;
}
.final-cta-content {
  position: relative;
  z-index: 5;
  max-width: var(--container-cta);
  margin: 0 auto;
  padding: 0 var(--pad-lg);
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(10,21,43,0.3);
  text-wrap: balance;
}
.final-cta > .final-cta-content > p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin: 0 auto 34px;
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ======================================================================
   PART B (continued) — SHARED CHROME (bottom)
   ====================================================================== */

/* ---- 15. Footer -------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.9); }
.site-footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px var(--pad-lg) 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand img { height: 44px; width: auto; max-width: 340px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0 0 16px;
  max-width: 300px;
}
.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.footer-chips li {
  list-style: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-col-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.95);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li { list-style: none; }
.footer-col ul li a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  transition: color 160ms;
}
.footer-col ul li a:hover { color: #fff; }
.footer-contact-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.footer-contact-email {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  display: block;
  margin-bottom: 10px;
}
.footer-contact-email .icon { display: none; }
.footer-contact-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 16px;
}
.site-footer-legal { border-top: 1px solid rgba(255,255,255,0.10); }
.site-footer-legal-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-lg);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.50);
}
.site-footer-legal-inner a { color: rgba(255,255,255,0.75); font-weight: 500; }
.site-footer-legal-inner a:hover { color: #fff; }
.site-footer-legal-inner a.vymetrics-credit {
  color: var(--sun-500);
  font-weight: 600;
}
.site-footer-legal-inner a.vymetrics-credit:hover { color: #FBB04A; }

/* ---- 16. Quote modal --------------------------------------------------- */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,21,43,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms, visibility 220ms;
}
.quote-modal[data-open="true"] { opacity: 1; visibility: visible; }
.quote-modal-dialog {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 20px;
  padding: 36px 36px 32px;
  box-shadow: var(--sh-xl);
  position: relative;
  transform: translateY(8px) scale(0.99);
  transition: transform 260ms var(--ease-std);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
.quote-modal[data-open="true"] .quote-modal-dialog { transform: translateY(0) scale(1); }
.quote-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--sand-50);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms;
}
.quote-modal-close:hover { background: var(--sand-100); }
.quote-modal-close .icon { width: 16px; height: 16px; }
.quote-modal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin: 10px 0 6px;
  line-height: 1.15;
}
.quote-modal-lede {
  font-size: 14.5px;
  color: var(--stone-700);
  margin: 0 0 22px;
  line-height: 1.5;
}
.quote-modal-fine {
  font-size: 11.5px;
  color: var(--stone-500);
  text-align: center;
  margin: 14px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 36px 32px;
  box-shadow: var(--sh-md);
}
.contact-form-fine {
  font-size: 11.5px;
  color: var(--stone-500);
  text-align: center;
  margin: 14px 0 0;
}

.contact-aside {
  display: grid;
  gap: 14px;
  align-content: start;
}
.contact-aside-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 4px;
}
.contact-method {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pool-50);
  color: var(--pool-700);
  flex-shrink: 0;
}
.contact-method-icon .icon { width: 22px; height: 22px; }
.contact-method h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.contact-method p {
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--stone-700);
}
.contact-method p:last-child { margin-bottom: 0; }
.contact-method-primary {
  font-weight: 600;
  color: var(--navy-900) !important;
}
.contact-method-primary a {
  color: var(--pool-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms;
}
.contact-method-primary a:hover { border-bottom-color: var(--pool-700); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 720px) {
  .contact-form { padding: 26px 22px 22px; border-radius: 16px; }
  .contact-method { padding: 18px 18px; }
}
.field { display: block; margin-bottom: 14px; }
.field > label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.input, .select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink-900);
  transition: border-color 160ms, box-shadow 160ms;
}
.input:focus, .select:focus {
  outline: none;
  border-color: var(--pool-500);
  box-shadow: 0 0 0 3px rgba(15,130,194,0.18);
}
textarea.input {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ---- 17. Mobile sticky CTA bar ----------------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(10,21,43,0.18);
  gap: 8px;
  /* Hidden until scroll-triggered; main.js toggles .is-visible */
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
  transition: opacity 280ms var(--ease-std), transform 280ms var(--ease-std);
}
.mobile-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-bar .btn {
  flex: 1;
  padding: 14px 14px;
  font-size: 15px;
  justify-content: center;
}

/* ---- Back-to-top button ------------------------------------------------ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--sun-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-sun);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 240ms var(--ease-std),
              transform 240ms var(--ease-std),
              background 200ms var(--ease-std),
              box-shadow 240ms var(--ease-std);
  z-index: 110;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--sun-600);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(224, 116, 17, 0.48);
}
.back-to-top:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(224, 116, 17, 0.40);
}
.back-to-top .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.25;
}
@media (max-width: 720px) {
  /* Sit above the mobile sticky CTA bar */
  .back-to-top { right: 14px; bottom: 100px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 180ms; }
  .back-to-top:hover { transform: none; }
}

/* ---- 18. Breadcrumb + include fallback -------------------------------- */
/* Visible on inner pages; sr-only on the homepage. Schema is in JSON-LD. */
.breadcrumb {
  font-size: 13px;
  color: var(--stone-500);
  padding: 20px 0 8px;
  margin: 0;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb li { display: inline-flex; align-items: center; list-style: none; }
.breadcrumb li + li::before {
  content: '/';
  margin: 0 10px;
  color: var(--stone-300);
  font-weight: 400;
}
.breadcrumb a {
  color: var(--stone-500);
  text-decoration: none;
  transition: color 160ms;
}
.breadcrumb a:hover { color: var(--pool-700); }
.breadcrumb li[aria-current="page"] {
  color: var(--navy-700);
  font-weight: 500;
}

/* Prose container for legal/utility long-form text (privacy policy, etc.).
   Readable measure, generous line-height, sectioned H2s with breathing room. */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-900);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 44px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  margin: 0 0 18px;
  color: var(--stone-700);
  text-wrap: pretty;
}
.prose p strong { color: var(--navy-900); font-weight: 600; }
.prose a {
  color: var(--pool-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--navy-900); }
@media (max-width: 720px) {
  .prose { font-size: 15.5px; line-height: 1.65; }
  .prose h2 { margin: 36px 0 12px; }
}

/* Raw-HTML fallback inside each include placeholder.
   Visible to crawlers (for internal link graph), invisible to sighted users. */
.include-fallback {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ======================================================================
   PART G — CROSS-CUTTING
   ====================================================================== */

/* ---- 19. Scroll reveal ------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-std), transform 600ms var(--ease-std);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---- 19a. Hero entrance (on page load) -------------------------------- */
/* Staggered fade-up for hero text. CSS-only — runs on first paint, so
   it works on initial visit and on every page navigation in this
   multi-page site. `backwards` fill keeps the element invisible until its
   delay fires, so nothing flashes before the animation starts. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero .breadcrumb,
.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-ctas,
.hero-trust {
  animation: hero-rise 720ms var(--ease-std) backwards;
}
.hero .breadcrumb { animation-delay:  60ms; }
.hero-eyebrow     { animation-delay: 180ms; }
.hero h1          { animation-delay: 280ms; animation-duration: 820ms; }
.hero-sub         { animation-delay: 460ms; }
.hero-ctas        { animation-delay: 600ms; }
.hero-trust       { animation-delay: 720ms; }

/* Prevent scroll when any overlay is open */
body.is-locked { overflow: hidden; }

/* ---- 20. Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header-inner { gap: 20px; }
  .main-nav { gap: 22px; }
}

@media (max-width: 960px) {
  .main-nav,
  .header-right > .btn { display: none; }
  .hamburger { display: inline-flex; }
  .hiw-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .hiw-line { display: none; }
  .map-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-head { grid-template-columns: 1fr; gap: 20px; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .faq-head { margin: 0 auto 36px; }
  .hero-content { padding: calc(var(--header-h) + 28px) 20px 64px; }
  .hero h1 { font-size: clamp(36px, 6vw, 56px); }
  #services, .hiw, .map-section, .faq-section { padding: 90px 0 90px; }
  .final-cta { padding: 90px 0 100px; }
  .trust-strip { padding: 60px 0; }
}

@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .commitment-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  /* Topbar stays visible on mobile but in a slimmer, tighter form so it
     doesn't eat too much vertical real estate. Shrink --topbar-h and
     re-derive --header-h so all the existing hero padding hooks still
     clear the right amount of chrome. */
  :root { --topbar-h: 32px; --header-h: 104px; }
  .topbar { font-size: 12px; }
  .topbar-inner { gap: 14px; padding: 0 16px; }
  .topbar-phone { font-size: 12.5px; gap: 7px; }
  .topbar-phone .icon { width: 12px; height: 12px; }
  .topbar-divider { height: 12px; }
  .topbar-roc { font-size: 11.5px; letter-spacing: 0.05em; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 24px 22px; }
  .why-card-icon { width: 44px; height: 44px; margin-bottom: 16px; }
  .why-us { padding: 80px 0 80px; }
  .commitment { padding: 72px 0 80px; }
  .commitment-card { padding: 22px 20px; }
  .hiw-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust-strip-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 88px; }
  .hero-content { padding: calc(var(--header-h) + 16px) 18px 60px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 44px); }
  .hero-trust { gap: 12px 14px; font-size: 12.5px; }
  .hero-trust .dot { display: none; }
  #services, .hiw, .map-section, .faq-section { padding: 72px 0 72px; }
  .final-cta { padding: 72px 0 84px; }
  .quote-modal-dialog { padding: 28px 22px 24px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-header-logo img { height: 38px; }
  .site-footer-legal-inner { justify-content: flex-start; }
  .hiw-head { margin-bottom: 48px; }
  .map-canvas-wrap { padding: 18px; }

  /* Homepage Areas section: on mobile, lead with the paragraphs (context),
     then the city cards. On desktop the cards live in the left column and
     the paragraphs in the right; without this rule the DOM order pushes
     the cards above the H2 on a stacked viewport. */
  .map-head-col   { order: 1; }
  .area-link-list { order: 2; }
}

/* ---- 20a. Small-mobile QA refinements (≤480px) ------------------------ */
@media (max-width: 480px) {
  /* Tighter horizontal padding so cards/forms breathe on 360–375px viewports. */
  .container,
  .container-wide,
  .container-narrow { padding: 0 18px; }

  /* Header on small mobile: shrink the logo so it stops dominating the bar,
     pull the hamburger slightly inward so it doesn't kiss the screen edge,
     and bump it up a touch so it carries more visual weight against the logo. */
  .site-header-logo img { height: 32px; max-width: 220px; }
  .hamburger { width: 48px; height: 48px; margin-right: 6px; }
  .hamburger .icon { width: 26px; height: 26px; }

  /* CTA pairs (.hero-ctas, .final-cta-actions) wrap two buttons on narrow
     screens. Without this rule each button stays at intrinsic width and the
     stacked column looks left-aligned and unbalanced. Forcing 100% basis
     stacks them as full-row buttons — cleaner premium feel. */
  .hero-ctas .btn,
  .final-cta-actions .btn { flex: 1 1 100%; }

  /* Hero h1 — slightly relax letter-spacing for readability at smaller sizes */
  .hero h1 { letter-spacing: -0.02em; }

  /* Hero trust row — tighter on tiny screens */
  .hero-trust { gap: 8px 12px; font-size: 12px; }

  /* Final CTA paragraph margin */
  .final-cta-content > p { margin-bottom: 26px; }

  /* Service-areas rich cards: tighter padding + smaller text on narrow phones.
     Without this, the larger 22-28px padding eats too much horizontal space
     and the body line-height feels too loose at small widths. */
  a.area-link--rich { padding: 18px 20px; }
  .area-link--rich h3 { font-size: 18px; margin: 0 0 6px; }
  .area-link-tag { font-size: 11px; margin-bottom: 2px; }
  .area-link-body { font-size: 13.5px; line-height: 1.5; }

  /* Map zip callout — tighter footprint */
  .map-zip-callout { padding: 16px 18px; }
  .map-zip-callout-icon { width: 38px; height: 38px; }
  .map-zip-callout-icon .icon { width: 18px; height: 18px; }
  .map-zip-callout-title { font-size: 15px; }
  .map-zip-callout-sub { font-size: 13px; }

  /* Section padding tightening on the smallest mobile screens.
     The 720 breakpoint already drops to 72px; at 480 we tighten further so
     the page reads well on a 360px viewport without feeling cavernous. */
  #services, .hiw, .map-section, .faq-section { padding: 60px 0 60px; }
  .final-cta { padding: 60px 0 72px; }
  .svc-section { padding: 64px 0 68px; }

  /* Contact form card — tighter inset on narrow phones */
  .contact-form { padding: 22px 18px 20px; }
  .contact-method { padding: 16px 16px; }
}

/* ---- 21. Reduced motion ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 180ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .pool-canvas { display: none; }
  .map-pin-group[data-active="true"] .map-pin-pulse { display: none; }
  /* Skip the staggered hero entrance — show everything immediately. */
  .hero .breadcrumb,
  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-ctas,
  .hero-trust {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ======================================================================
   PART D — SERVICE PAGE TEMPLATE
   Shared by /[service-slug]/ pages. Reuses the homepage `.hero` (full
   viewport + WebGL water canvas) and `.final-cta` directly. This section
   adds: breadcrumb styling inside the dark hero, and prose-style content
   blocks (checklist, prose AZ topics, trust band) that avoid the "too
   many boxes" feel.
   ====================================================================== */

/* ---- Breadcrumb inside the dark homepage-style hero ----------------- */
.hero .breadcrumb {
  padding: 0 0 16px;
  font-size: 13px;
}
.hero .breadcrumb a { color: rgba(255,255,255,0.78); }
.hero .breadcrumb a:hover { color: #fff; }
.hero .breadcrumb li + li::before { color: rgba(255,255,255,0.38); }
.hero .breadcrumb li[aria-current="page"] { color: #fff; font-weight: 500; }

/* ---- Service-page sections — base + theme variants ------------------ */
.svc-section { padding: 104px 0 110px; background: #fff; }
.svc-section-alt { background: var(--bg-alt); }

.svc-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.svc-head .h-section { margin: 14px 0 16px; }
.svc-head .lede { margin: 0 auto; }

/* ---- Shared 3-card grid (used for Benefits + AZ Authority sections)
   Vertical cards with icon-top layout. Pool-blue or navy icon variant
   via .svc-card-icon-pool / .svc-card-icon-navy. ---------------------- */
.svc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: #fff;
  padding: 30px 28px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(10,21,43,0.04);
  transition: box-shadow 260ms var(--ease-std), transform 260ms var(--ease-std), border-color 260ms;
}
.svc-card:hover {
  box-shadow: 0 14px 34px rgba(10,21,43,0.10);
  border-color: var(--pool-100);
  transform: translateY(-3px);
}
.svc-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.svc-card-icon .icon { width: 22px; height: 22px; stroke-width: 1.75; }
.svc-card-icon-pool { background: var(--pool-50); color: var(--pool-600); }
.svc-card-icon-navy { background: var(--navy-900); color: #fff; }
.svc-card h3 { margin: 0 0 10px; }
.svc-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--stone-700);
  margin: 0;
  text-wrap: pretty;
}

/* ---- "What's included" checklist — 2-col, no box chrome ------------ */
.svc-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.svc-check-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.svc-check-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--pool-50);
  color: var(--pool-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.svc-check-icon .icon { width: 18px; height: 18px; stroke-width: 2; }
.svc-check-row h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.svc-check-row p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--stone-700);
  margin: 0;
  text-wrap: pretty;
}

/* Service-page areas chips — center alignment tweak */
.svc-areas-chips { justify-content: center; }

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 960px) {
  .svc-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-checklist { grid-template-columns: 1fr; gap: 22px; max-width: 560px; }
}
@media (max-width: 720px) {
  .svc-section { padding: 80px 0 84px; }
  .svc-card { padding: 26px 24px 24px; }
}

/* ======================================================================
   PART E — CITY PAGE TEMPLATE
   (populated when the first city page lands: local hero, trust/credentials,
   service-mix block, neighborhood/zip list, local FAQ, CTA.)
   ====================================================================== */

/* ======================================================================
   PART F — UTILITY PAGE TEMPLATE (about, contact, privacy-policy)
   (populated when utility pages land: simple header, long-form content,
   contact form on /contact/.)
   ====================================================================== */

