/* =========================================================
   CB Pools — "Wade in" one-pager
   Brand tokens: edit these to rebrand.
   ========================================================= */
:root {
  /* colour — the page deepens from tile-white to deep-end navy */
  --tile:      #F7FBFB;  /* white pool tile, page surface */
  --shallow:   #E4F5F7;  /* shallow-end tint */
  --wade:      #CDEDF2;  /* waist-deep tint */
  --pool:      #0B6F8C;  /* plaster aqua, darkened to pass AA with white text */
  --pool-hi:   #19A7CE;  /* bright water, fills + accents only (not text) */
  --drop:      #0A4C66;  /* drop-off */
  --deep:      #06283A;  /* deep end + primary ink */
  --abyss:     #041A26;  /* footer */
  --ring:      #FF5A1F;  /* lifeguard ring orange, primary buttons */
  --sun:       #FFD66B;  /* stars + focus ring on dark */
  --ink:       #0B2231;  /* body text on light */
  --ink-soft:  #3D5866;  /* secondary text on light (7:1 on tile) */
  --grout:     #BFD6DC;  /* hairlines on light */

  /* type */
  --display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
  --radius: 6px;
  --wrap: 1200px;
  --focus: var(--deep);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--tile); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
ul { margin: 0; padding: 0; }
figure, blockquote, dl, dd { margin: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.hero, .depth-4, .depth-5, .depth-6, .site-footer, .callbar { --focus: var(--sun); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--deep); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-ring { background: var(--ring); color: var(--deep); }
.btn-ring:hover { background: #FF7440; }
.btn-ghost { color: var(--deep); border-color: var(--deep); background: transparent; }
.btn-ghost:hover { background: var(--deep); color: #fff; }
.btn-glass { color: #fff; border-color: rgba(255,255,255,.85); background: rgba(6,40,58,.35); }
.btn-glass:hover { background: rgba(255,255,255,.14); }

/* ---------- header + sticky tabs ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,251,251,.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--grout);
}
.bar {
  width: min(100% - 32px, 1320px); margin-inline: auto; height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--display); font-weight: 850; font-stretch: 125%;
  font-size: 1.35rem; letter-spacing: -0.01em; color: var(--deep); white-space: nowrap;
}
.tabs { flex: 1; display: flex; justify-content: center; }
.tabs ul { list-style: none; display: flex; gap: 4px; }
.tabs a {
  position: relative; display: block; padding: 10px 14px; min-height: 44px; white-space: nowrap;
  font-weight: 700; font-size: .98rem; color: var(--ink-soft); text-decoration: none; border-radius: 999px;
}
.tabs a:hover { color: var(--deep); background: var(--shallow); }
.tabs a[aria-current="location"] { color: var(--deep); }
.tabs a[aria-current="location"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  border-radius: 3px; background: var(--ring);
}
.bar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

@media (max-width: 1080px) {
  .bar-call-num { display: none; }
  .bar-call { width: 44px; padding: 0; }
  .bar-call-sr { position: absolute !important; }
}
@media (max-width: 960px) {
  :root { --header-h: 116px; }
  .bar { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 0 12px; }
  .brand { flex: 1; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-stretch: 105%; font-size: 1.25rem; }
  .tabs { order: 3; flex-basis: 100%; justify-content: flex-start; margin-inline: -16px; padding-inline: 8px;
          overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs ul { gap: 0; }
  .tabs a { white-space: nowrap; padding: 12px 12px; }
  .tabs a[aria-current="location"]::after { left: 12px; right: 12px; }
}
@media (max-width: 380px) { .bar-actions .btn-ring { padding-inline: 14px; } .brand-name { font-size: 1.15rem; } }

/* ---------- depth gauge (signature) ---------- */
.gauge { display: none; }
@media (min-width: 1380px) {
  .gauge {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    position: fixed; right: 22px; top: calc(50% + var(--header-h) / 2); transform: translateY(-50%); z-index: 40;
  }
  .gauge-track {
    position: relative; width: 14px; height: 38vh; border-radius: 7px; overflow: hidden;
    background:
      repeating-linear-gradient(to bottom, rgba(6,40,58,.35) 0 2px, transparent 2px 10%) center / 6px 100% no-repeat,
      rgba(255,255,255,.7);
    box-shadow: inset 0 0 0 1.5px rgba(6,40,58,.45);
  }
  .gauge-fill {
    position: absolute; inset: 0 0 auto 0; height: 0%;
    background: linear-gradient(to bottom, var(--pool-hi), var(--deep));
    opacity: .9;
  }
  .gauge-tile {
    width: 56px; padding: 6px 0 5px; background: #fff; color: var(--deep); text-align: center;
    border-radius: 4px; box-shadow: 0 0 0 2px var(--deep), 0 6px 16px rgba(4,26,38,.25);
    font-family: var(--display); font-stretch: 62%; font-weight: 800; line-height: .95;
  }
  .gauge-num { display: block; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
  .gauge-unit { display: block; font-size: .72rem; letter-spacing: .12em; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end;
  padding: 120px 0 64px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(4,26,38,.92) 0%, rgba(4,26,38,.7) 40%, rgba(4,26,38,.38) 75%, rgba(4,26,38,.18) 100%),
    linear-gradient(to right, rgba(4,26,38,.55), rgba(4,26,38,0) 60%);
}
.hero-kicker {
  display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 4px;
  background: #fff; color: var(--deep);
  font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase;
  letter-spacing: .1em; font-size: .88rem;
}
.hero-title {
  font-weight: 850; font-stretch: 122%;
  font-size: clamp(2.5rem, 6.2vw, 5.6rem); line-height: .96; letter-spacing: -0.02em;
  max-width: 15ch; text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-title .line + .line { color: #BDEFF7; }
.hero-sub { max-width: 40ch; margin: 22px 0 28px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px;
  font-weight: 600; font-size: .98rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pool-hi); margin-right: 6px; }
.stars { color: var(--sun); letter-spacing: .08em; }

@media (max-width: 640px) {
  .hero { padding: 96px 0 40px; min-height: calc(92svh - var(--header-h)); }
  .hero-title { font-stretch: 100%; }
  .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line, .hero-sub, .hero-ctas, .hero-trust { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-title .line + .line { animation-delay: .12s; }
  .hero-sub { animation-delay: .24s; }
  .hero-ctas { animation-delay: .34s; }
  .hero-trust { animation-delay: .44s; }
  .hero-media img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* the waterline tile band — like the mosaic row at every pool's waterline */
.waterline {
  height: 30px;
  background:
    linear-gradient(90deg, rgba(247,251,251,.9) 2px, transparent 2px) 0 0 / 15px 15px,
    linear-gradient(0deg, rgba(247,251,251,.9) 2px, transparent 2px) 0 0 / 15px 15px,
    repeating-linear-gradient(90deg, #0A4F66 0 15px, #127C9C 15px 30px, #0B5F7A 30px 45px, #169BBF 45px 60px, #0D6A87 60px 75px, #0A4F66 75px 90px, #14889F 90px 105px);
}

/* ---------- sections + depth markers ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.depth-1 { background: var(--tile); }
.depth-2 { background: var(--shallow); }
.depth-3 { background: var(--wade); }
.depth-4 { background: var(--pool); color: #fff; }
.depth-5 { background: var(--drop); color: #fff; }
.depth-6 { background: var(--deep); color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head-split .lede { margin: 0; }
@media (max-width: 800px) { .section-head-split { grid-template-columns: 1fr; } }
.section h2 {
  font-weight: 800; font-stretch: 112%;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; text-wrap: balance;
}
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-soft); margin-top: 18px; max-width: 52ch; }
.depth-4 .lede, .depth-5 .lede, .depth-6 .lede { color: #D9EEF3; }

.marker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.marker-tile {
  display: inline-grid; place-items: center; min-width: 64px; height: 42px; padding: 0 10px;
  background: #fff; color: var(--deep); border-radius: 4px;
  box-shadow: 0 0 0 2px var(--deep) inset, 0 1px 0 2px rgba(6,40,58,.08);
  font-family: var(--display); font-weight: 800; font-stretch: 62%; font-size: 1.35rem; letter-spacing: .02em;
}
.marker-label {
  font-family: var(--display); font-weight: 700; font-stretch: 80%; text-transform: uppercase;
  letter-spacing: .14em; font-size: .85rem; color: var(--ink-soft);
}
.depth-4 .marker-label, .depth-5 .marker-label, .depth-6 .marker-label { color: #D9EEF3; }

/* ---------- services ---------- */
.service {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding-block: clamp(28px, 4vw, 48px);
}
.service + .service { border-top: 1px solid var(--grout); }
.service-flip .service-media { order: 2; }
.service-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.service-media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-media-pair img { aspect-ratio: 3 / 5; }
.service-media-pair img:last-child { margin-top: 48px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-pane { position: relative; }
.ba-pane img { aspect-ratio: 1 / 2; max-height: 560px; }
.ba-pane:first-child img { border-radius: var(--radius) 0 0 var(--radius); }
.ba-pane:last-child img { border-radius: 0 var(--radius) var(--radius) 0; }
.ba-tag {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 4px;
  background: var(--deep); color: #fff;
  font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem;
}
.ba-tag-after { background: #fff; color: var(--deep); }
.service h3 { font-weight: 800; font-stretch: 118%; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.service-hook {
  font-family: var(--display); font-weight: 600; font-stretch: 95%; font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.25; color: var(--pool); margin: 12px 0 18px; max-width: 30ch;
}
.service-body > p:not(.service-hook) { max-width: 54ch; }
.checks { list-style: none; display: grid; gap: 8px; margin: 22px 0 26px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pool-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2306283A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--deep); text-decoration-color: var(--ring); text-decoration-thickness: 3px;
}
.text-link::after { content: "→"; transition: transform .15s ease; }
.text-link:hover::after { transform: translateX(4px); }

@media (max-width: 800px) {
  .service { grid-template-columns: 1fr; }
  .service-flip .service-media { order: 0; }
  .service-media img { aspect-ratio: 4 / 3; }
  .ba-pane img { aspect-ratio: 3 / 4; }
  .service-media-pair img { aspect-ratio: 3 / 4; }
  .service-media-pair img:last-child { margin-top: 24px; }
}

/* ---------- results gallery ---------- */
.gallery {
  list-style: none; display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); grid-auto-flow: dense;
}
.gallery li { overflow: hidden; border-radius: var(--radius); background: var(--wade); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery li:hover img { transform: scale(1.04); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 8px; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-art { position: relative; padding-top: 12px; }
.about-mascot { width: 100%; max-width: 520px; margin: 0 auto -40px; position: relative; z-index: 1; filter: drop-shadow(0 12px 20px rgba(6,40,58,.18)); }
.about-photo { width: 72%; margin-left: auto; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; }
.about-photo figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: 10px; }
.about-copy { max-width: 60ch; }
.about-copy h2 { margin-bottom: 26px; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.pull {
  margin: 26px 0; padding: 4px 0 4px 22px; border-left: 6px solid var(--ring);
  font-family: var(--display); font-weight: 800; font-stretch: 110%;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--deep);
}
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 32px; border-top: 2px solid var(--deep); }
.facts div { padding: 16px 0; border-bottom: 1px solid rgba(6,40,58,.25); }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.facts dd { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; color: var(--deep); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-art { max-width: 520px; }
}

/* ---------- reviews carousel ---------- */
.rv-summary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  margin: -24px 0 36px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.25);
}
.rv-score { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.rv-score-num { font-family: var(--display); font-weight: 850; font-stretch: 90%; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.rv-score .stars { font-size: 1.5rem; }
.rv-score-label { margin: 0; color: #E3F2F6; font-weight: 600; }
.rv-google { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; }
@media (max-width: 700px) { .rv-google { margin-left: 0; } }

.rv-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 18px; }
.rv-controls[hidden] { display: none; }
.rv-btn {
  min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85);
  font: 700 1.05rem/1 var(--body);
}
.rv-btn:hover { background: rgba(255,255,255,.14); }
.rv-toggle { margin-right: auto; }
.rv-count { margin: 0 6px; font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.rv-track {
  list-style: none; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 18px; margin: -4px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.5) transparent;
}
@media (prefers-reduced-motion: reduce) { .rv-track { scroll-behavior: auto; } }
.rv-card {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start;
  display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius); background: rgba(4,26,38,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
@media (max-width: 1000px) { .rv-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .rv-card { flex-basis: 88%; } }
.rv-card .stars { font-size: 1.2rem; margin-bottom: 12px; }
.rv-text p { font-size: 1.08rem; line-height: 1.6; margin: 0; }
.rv-by { margin: auto 0 0; padding-top: 18px; display: flex; flex-direction: column; }
.rv-by span { font-size: .92rem; color: #D9EEF3; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq-head a { color: #fff; font-weight: 700; }
.faq-list details { border-top: 1px solid rgba(255,255,255,.28); }
.faq-list details:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; min-height: 44px;
  font-family: var(--display); font-weight: 700; font-stretch: 100%; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--pool-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%2306283A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 22px 0; color: #E3F2F6; max-width: 60ch; }
@media (max-width: 800px) {
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- quote (deep end) ---------- */
.quote { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.big-phone {
  display: block; margin: 30px 0 6px; text-decoration: none; color: #fff;
  font-family: var(--display); font-weight: 850; font-stretch: 100%; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1;
}
.big-phone:hover { color: #BDEFF7; }
.big-phone-label { display: block; font-family: var(--body); font-weight: 600; font-size: 1rem; color: #D9EEF3; margin-bottom: 6px; }
.quote-alt { margin-bottom: 22px; }
.quote-alt a { color: #fff; font-weight: 600; }
.hours { margin: 34px 0 20px; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.25); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.hours dt { color: #D9EEF3; }
.hours dd { font-weight: 700; text-align: right; white-space: nowrap; }
@media (max-width: 420px) { .hours div { flex-direction: column; gap: 2px; } .hours dd { text-align: left; } }
.area { color: #D9EEF3; margin-bottom: 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); font-size: .95rem; }

.quote-form-wrap {
  background: var(--tile); color: var(--ink); border-radius: 10px;
  padding: clamp(22px, 3.5vw, 40px); box-shadow: 0 24px 60px rgba(0,0,0,.35);
  --focus: var(--deep);
}
.form-note { font-size: .95rem; color: var(--ink-soft); margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: #fff;
  border: 2px solid #5E7F8C; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2306283A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--deep); outline: 3px solid var(--pool-hi); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field-err { margin: 6px 0 0; color: #B42318; font-weight: 700; font-size: .95rem; }
.field-err::before { content: "⚠ "; }
.consent { font-size: .95rem; color: var(--ink-soft); }
.form-status { margin: 14px 0 0; font-weight: 700; }
.form-status.is-error { color: #B42318; }
.form-status.is-ok { color: #05603A; }
.form-success { text-align: center; padding: 32px 8px; }
.form-success h3 { font-weight: 800; font-stretch: 112%; font-size: 1.9rem; margin-bottom: 12px; color: var(--deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--abyss); color: #D9EEF3; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer-brand { font-family: var(--display); font-weight: 850; font-stretch: 125%; font-size: 1.8rem; color: #fff; margin: 0; }
.footer-tag { margin-top: 4px; }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 8px 0; color: #fff; }
.footer-copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .92rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 767px) {
  .callbar {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(4,26,38,.96); transition: transform .25s ease, visibility 0s;
  }
  /* visibility keeps the hidden bar out of the keyboard tab order */
  .callbar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  body { padding-bottom: 72px; }
}

/* ---------- scroll reveal (JS adds .js to <html>) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 16px 80px; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 24px; font-weight: 700; color: var(--deep); }
.legal h1 { font-weight: 850; font-stretch: 112%; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--deep); margin-bottom: 8px; }
.legal h2 { font-weight: 800; font-stretch: 105%; font-size: 1.35rem; color: var(--deep); margin: 36px 0 10px; }
.legal-updated { color: var(--ink-soft); margin-bottom: 28px; }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }

/* ---------- Windows high contrast ---------- */
@media (forced-colors: active) {
  .marker-tile, .gauge-tile, .btn { border: 2px solid CanvasText; }
  .tabs a[aria-current="location"] { text-decoration: underline; }
}
