/* Atlantis Pool Care */
:root {
  --navy: #0a2342;
  --mid: #1b4079;
  --sky: #20a2f1;
  --mist: #edeff1;
  --slate: #686c72;
  --mint: #86f0b8;
  --coral: #ff9f61;
  --teal: #14b8a6;
  /* The accent, teal (Jaden's pick, 28 Oct; coral before): one token for the wave crest and the hero's Get a quote, so
     they move together. Navy text on teal 6.3 to 1. Coral stays for the status dot and the freeze glyph. */
  --accent: var(--teal);
  --accent-ink: var(--navy);
  /* The process band's own token: a soft blue, the brand blue's tint from the dashboard palette (accentSoft).
     Navy text on it 13.1 to 1; the white step cards and the sky icon boxes both stand off it. */
  --soft-blue: #d8edfd;
  --hairline: #dde0e5;
  --error: #b42318;
  --white: #ffffff;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --pill: 9999px;
  --container: 1200px;
  --gutter: 24px;
  --section: 96px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(10, 35, 66, .06), 0 12px 32px rgba(10, 35, 66, .10);
}
@media (max-width: 819px) { :root { --section: 64px; --header-h: 64px; } }
@media (max-width: 479px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 88px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--navy);
  background: var(--white); overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--mid); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .site-footer :focus-visible, .util :focus-visible { outline-color: var(--sky); }
html[data-input="pointer"] :focus-visible, html[data-input="pointer"] :focus-visible + span { outline: none !important; } /* rings only after Tab (site.js sets data-input) */
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
/* no lone last word: headings balance their lines, running text keeps two words or more on its last line */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, summary, figcaption, blockquote { text-wrap: pretty; }
h1 { font-size: clamp(32px, 2.2vw + 22px, 56px); line-height: 1.1; }
h2 { font-size: clamp(28px, 1.2vw + 22px, 42px); }
h3 { font-size: clamp(21px, .5vw + 18px, 26px); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(18px, .4vw + 16px, 21px); line-height: 1.5; }
.meta { font-size: 15px; font-weight: 600; color: var(--slate); }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; }
.on-navy .eyebrow { color: var(--sky); }
.sr-only { 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 { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--soft-blue { background: var(--soft-blue); }
.section--tight { padding-top: calc(var(--section) * .5); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 16px; }

/* buttons and chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: var(--pill); border: 2px solid var(--navy); background: var(--navy); color: #fff;
  font: 700 16px/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--mid); border-color: var(--mid); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--sky { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.btn--sky:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--white-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--white-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.nobr { white-space: nowrap; }
.text-link { font-weight: 700; color: var(--mid); display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "\2192"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }
.on-navy .text-link { color: #fff; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--pill);
  background: #fff; border: 1.5px solid var(--hairline); color: var(--navy); font-weight: 700; font-size: 16px; text-decoration: none;
}
a.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip--mist { background: var(--mist); border-color: var(--mist); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--pill); font-size: 14px; font-weight: 700; color: var(--navy); background: var(--mist); border: 1.5px solid transparent; white-space: nowrap; }
.status--mint { background: var(--mint); }
.status--coral { background: var(--coral); }
.status--sky { background: var(--sky); border-color: var(--navy); }

/* glyph and spot slots: on a blue box the icon is white (currentColor from the box); on a light ground it stays
   navy. test/icon-ground.test.ts in owner-platform holds every box to this. */
.glyph { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--white); flex: none; }
.glyph svg { width: 24px; height: 24px; }
.glyph--sm { width: 36px; height: 36px; border-radius: 10px; }
.glyph--sm svg { width: 20px; height: 20px; }
.spot { width: 96px; height: 96px; border-radius: var(--radius-lg); flex: none; }
.ico { width: 20px; height: 20px; flex: none; }

/* utility bar */
.util { background: var(--navy); color: #fff; font-size: 14px; }
.util .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.util a { color: #fff; text-decoration: none; font-weight: 700; }
.util a:hover { color: var(--sky); }
.util__links { display: flex; gap: 20px; align-items: center; }
.util__tag { margin: 0; }
@media (max-width: 819px) { .util__tag { display: none; } .util .container { justify-content: flex-end; } }

/* the preview link bar (the preview host only; the site Worker adds it after the skip link) */
.pv-bar { background: var(--soft-blue); color: var(--navy); font-size: 14px; border-bottom: 1px solid rgba(10, 35, 66, .08); }
.pv-bar__in { display: flex; align-items: center; gap: 8px 20px; min-height: 44px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.pv-bar__tag { margin: 0; font-weight: 800; letter-spacing: .02em; }
.pv-bar__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.pv-bar__links li { display: flex; align-items: center; }
.pv-bar__links li + li::before { content: ""; width: 1px; height: 14px; background: rgba(10, 35, 66, .25); margin-right: 18px; }
.pv-bar a, .pv-bar__links button { font: inherit; font-weight: 700; color: var(--mid); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.pv-bar a:hover, .pv-bar__links button:hover { color: var(--navy); }
.pv-bar__links form { margin: 0; display: inline; }
.pv-bar__note { margin: 0; font-weight: 700; background: #fff; border-radius: var(--pill); padding: 2px 12px; }
.pv-bar__x { margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--navy); cursor: pointer; }
.pv-bar__x:hover { background: rgba(255, 255, 255, .7); }
@media (max-width: 599px) {
  .pv-bar__in { position: relative; padding-right: calc(var(--gutter) + 36px); }
  .pv-bar__tag { flex-basis: 100%; }
  .pv-bar__links { gap: 6px 20px; }
  .pv-bar__links li + li::before { display: none; }
  .pv-bar__x { position: absolute; top: 6px; right: var(--gutter); }
}

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--hairline); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { width: 148px; }
@media (max-width: 819px) { .brand img { width: 124px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: var(--pill); color: var(--navy); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.nav a:hover, .nav summary:hover { background: var(--mist); color: var(--navy); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.nav details { position: relative; }
.nav details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; }
.dropdown a { display: flex; gap: 12px; border-radius: var(--radius); width: 100%; padding: 10px 12px; }
.dropdown small { display: block; font-weight: 600; color: var(--slate); font-size: 14px; }
.nav__phone { white-space: nowrap; }
.nav__phone svg { width: 20px; height: 20px; }
.nav .btn { color: #fff; padding: 10px 22px; margin-left: 6px; }
.nav .btn:hover { color: #fff; background: var(--mid); }
.menu-btn { display: none; min-height: 44px; padding: 8px 16px; border-radius: var(--pill); border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 16px var(--font); cursor: pointer; }
@media (max-width: 1159px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow); padding: 12px var(--gutter) 20px; flex-direction: column; align-items: stretch; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav summary { width: 100%; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav .btn { margin: 8px 0 0; }
}

/* hero */
.hero { position: relative; background: #fff; padding-top: 64px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding-bottom: 40px; }
.hero h1 { max-width: 17ch; }
.hero .lead { margin: 24px 0 32px; max-width: 34em; }
.hero__art { position: relative; }
.hero__art img { width: 100%; border-radius: 24px; }
.conditions { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 6px 14px 6px 6px; border-radius: var(--pill); background: var(--mist); font-size: 15px; font-weight: 700; color: var(--navy); }
.conditions .glyph { width: 32px; height: 32px; border-radius: var(--pill); }
.conditions .glyph svg { width: 18px; height: 18px; }
@media (max-width: 999px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { max-width: 420px; }
}
@media (max-width: 599px) { .hero__art { display: none; } }
@media (max-width: 819px) { .hero { padding-top: 40px; } }

/* inner page hero */
.page-hero { background: #fff; padding: 64px 0 32px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
/* the page photo on the right (round five: a real photo, never the icon tile); a missing photo shows its marked slot,
   and the site Worker swaps in assets/photo/hero-<page>.jpg once that file is there (no code change) */
.page-hero__photo { aspect-ratio: 4 / 3; border-radius: 24px; }
.page-hero__photo .photo-slot__tag { left: 16px; right: 16px; top: auto; bottom: 16px; justify-content: center; text-align: center; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 20px; max-width: 36em; }
.page-hero .btn-row { margin-top: 28px; }
.crumbs { font-size: 15px; font-weight: 600; color: var(--slate); margin-bottom: 18px; }
.crumbs a { color: var(--mid); }
@media (max-width: 819px) {
  .page-hero { padding-top: 40px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero__photo { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
}

/* waves */
.wave { position: relative; width: 100%; overflow: hidden; pointer-events: none; line-height: 0; }
.wave__svg { display: block; width: 200%; max-width: none; height: 100%; } /* one tile per viewport; max-width none beats the global svg clamp */
.wave__l { transform-box: view-box; }
.wave--hero { height: 140px; }
.wave--band { height: 72px; }
.wave--divider { height: 40px; }
.wave--footer { height: 64px; margin-bottom: -1px; }
@media (max-width: 819px) {
  .wave--hero { height: 80px; }
  .wave--band { height: 48px; }
  .wave--divider { height: 28px; }
  .wave--footer { height: 40px; }
  .wave__svg { width: 360%; margin-left: -54%; } /* phones see 30% to 86% of the tile, crest included */
}
@keyframes wave-drift { from { translate: 3% 0; } to { translate: 0 0; } }
.wave--hero .wave__l, .wave--settle .wave__l { animation: wave-drift 800ms var(--ease-out) both; }
.wave--hero .wave__l--mid, .wave--settle .wave__l--mid { animation-delay: 120ms; }
.wave--hero .wave__l--front, .wave--settle .wave__l--front { animation-delay: 240ms; }
@keyframes travel-back { from { transform: translateX(0); } to { transform: translateX(-8%); } }
@keyframes travel-mid { from { transform: translateX(0); } to { transform: translateX(-11%); } }
@keyframes travel-front { from { transform: translateX(0); } to { transform: translateX(-15%); } }
@supports (animation-timeline: view()) {
  .wave--hero .wave__l--back, .wave--band .wave__l--back { animation: wave-drift 800ms var(--ease-out) both, travel-back linear both; animation-timeline: auto, view(); }
  .wave--hero .wave__l--mid, .wave--band .wave__l--mid { animation: wave-drift 800ms var(--ease-out) 120ms both, travel-mid linear both; animation-timeline: auto, view(); }
  .wave--hero .wave__l--front, .wave--band .wave__l--front { animation: wave-drift 800ms var(--ease-out) 240ms both, travel-front linear both; animation-timeline: auto, view(); }
  .wave--band .wave__l { animation-name: none, travel-back; }
  .wave--band .wave__l--mid { animation-name: none, travel-mid; }
  .wave--band .wave__l--front { animation-name: none, travel-front; }
}
.is-hidden-tab .wave__l { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .wave__l, .loader__run { animation: none !important; translate: none !important; transform: none !important; }
}

/* home hero: the photo full bleed behind the copy, a navy scrim on the left, the one wave across the bottom.
   A real photo drops in as <img> inside .hero__photo (object-fit cover); the slot below stands in until then. */
.photo { position: relative; overflow: hidden; background: var(--mist); }
.photo > img, .photo > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo > picture { position: absolute; inset: 0; } /* a photo with AVIF and JPEG files comes inside a picture element */
.photo-slot { position: absolute; inset: 0; display: grid; place-items: center; background: var(--mist); }
.photo-slot__art { width: min(78%, 640px); height: auto; opacity: .95; }
.photo-slot__tag { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pill); background: #fff; border: 1.5px dashed var(--slate); font-size: 14px; font-weight: 700; color: var(--navy); }
.hero--full { position: relative; padding: 0; background: var(--navy); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo > picture { position: absolute; inset: 0; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 90%; } /* the pool sits low in the owner's photo */
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 35, 66, .92) 0%, rgba(10, 35, 66, .86) 30%, rgba(10, 35, 66, .6) 48%, rgba(10, 35, 66, .15) 66%, rgba(10, 35, 66, 0) 78%); }
.photo-slot--hero { background: linear-gradient(100deg, #0a2342 0%, #123a66 40%, #2f86c8 75%, #5fb7ec 100%); }
.photo-slot--hero .photo-slot__tag { left: auto; right: max(24px, calc(50% - 576px)); top: 28px; z-index: 1; }
.hero__inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: clamp(100px, 8vw, 132px); }
.hero__copy { max-width: 640px; }
.hero--full .eyebrow { color: var(--sky); }
.hero--full h1 { color: #fff; max-width: 17ch; }
.hero--full .lead { color: rgba(255, 255, 255, .9); margin: 24px 0 32px; max-width: 34em; }
.wave--one { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: auto; aspect-ratio: 1440 / 320; max-height: 400px; }
.wave--one .wave__svg { width: 100%; height: 100%; margin: 0; }
.hero--full + .doors { margin-top: -48px; }
@media (max-width: 819px) {
  .hero__inner { padding-top: 44px; padding-bottom: 220px; }
  .hero__photo::after { background: linear-gradient(180deg, rgba(10, 35, 66, .9) 0%, rgba(10, 35, 66, .82) 52%, rgba(10, 35, 66, .25) 80%, rgba(10, 35, 66, 0) 100%); }
  .wave--one { aspect-ratio: auto; height: max(150px, 22.2222vw); } /* 150 tall on phones; from 675 wide up it grows with the screen, as on a laptop */
  .hero__photo img { height: 100%; object-position: 50% 100%; } /* the tall phone file fills the hero's height, anchored at the bottom so the pool lands in the clear strip above the wave */
  .wave--one .wave__svg { width: max(100%, 675px); margin-left: min(0px, 100% - 675px); } /* the wave keeps its drawn shape (1440 by 320) at every width: phones see the rise and the curl, the faint left runs off the edge; a tablet sees the whole wave */
  .photo-slot--hero .photo-slot__tag { font-size: 13px; right: 12px; top: auto; bottom: 168px; }
  .hero--full + .doors { margin-top: -24px; }
}

/* door cards */
.doors { position: relative; z-index: 2; margin-top: -84px; }
.doors__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; }
.door { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: center; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); text-decoration: none; color: var(--navy); border: 1.5px solid transparent; transition: border-color .2s, transform .2s; }
.door:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.door h2 { font-size: 24px; letter-spacing: -.01em; }
.door p { margin: 6px 0 10px; color: var(--navy); font-size: 16px; }
.door .text-link { font-size: 16px; }
@media (max-width: 819px) {
  .doors { margin-top: -40px; }
  .doors__grid { grid-template-columns: 1fr; gap: 16px; }
  .door { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 20px; }
  .door .spot { width: 72px; height: 72px; }
}
.doors + .section { padding-top: calc(var(--section) * .8); }

/* two-column feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
/* a split whose second column is a fact not filled yet (or dropped by the Worker) closes to one column */
.split:has(> [data-fact][hidden]), .split:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 999px) { .split, .split--wide-left { grid-template-columns: 1fr; gap: 40px; } }

/* visit list */
.glyph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.glyph-list li { display: flex; gap: 16px; align-items: center; font-weight: 600; }
.glyph-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
@media (max-width: 599px) { .glyph-list--cols { grid-template-columns: 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) 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='%230a2342' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* My Pool Health (round six): the customer screens in a phone frame, screenshots of the real screens (build/mph.py) */
.mph--mist { background: var(--mist); }
html[data-show-plans="none"] .mph--mist { background: #fff; } /* the plans section drops, so the mist would meet the next mist */
.mph__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.mph__copy .lead { margin-top: 16px; }
.mph__list { margin: 28px 0; }
.mph__tag { display: flex; width: fit-content; margin: 0 0 24px; padding: 6px 16px; border-radius: var(--pill); background: var(--soft-blue); font-size: 15px; font-weight: 800; }
.mph--mist .mph__tag, .mph-strip .mph__tag { background: #fff; }
.mph__phones { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.phone { margin: 0; flex: 1 1 0; min-width: 0; max-width: 250px; padding: 7px; border-radius: 34px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.phone img { width: 100%; border-radius: 27px; background: #fff; }
.mph__phones .phone:not(:first-child):not(:last-child) { margin-top: 48px; }
@media (max-width: 999px) { .mph__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 599px) {
  .mph__phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: none; }
  .mph__phones::-webkit-scrollbar { display: none; }
  .mph__phones .phone { flex: 0 0 64%; max-width: 240px; scroll-snap-align: center; }
  .mph__phones .phone:not(:first-child):not(:last-child) { margin-top: 0; }
}
.mph--strip { padding-bottom: 0; }
.mph-strip { display: grid; grid-template-columns: 220px minmax(0, 560px); justify-content: center; gap: 72px; align-items: center; padding: 40px 56px; border-radius: 24px; background: var(--soft-blue); }
.mph-strip .phone { max-width: 220px; }
.mph-strip__copy { max-width: 34em; }
.mph-strip__copy .lead { margin: 16px 0 24px; }
@media (max-width: 719px) {
  .mph-strip { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 24px; }
  .mph-strip .phone { width: 64%; max-width: 220px; justify-self: center; }
  .mph-strip__copy { order: -1; }
}
.dash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash-list li { position: relative; padding-left: 26px; }
.dash-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 12px; height: 2px; border-radius: 2px; background: var(--mid); }

/* price */
.price { background: var(--mist); border-radius: var(--radius-lg); padding: 32px; }
.section--mist .price { background: #fff; }
.price__label { font-weight: 700; margin-bottom: 4px; }
.price .price__num { margin: 0; }
.price__num { font-size: clamp(40px, 2vw + 30px, 60px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.price__num span { font-size: 21px; font-weight: 600; letter-spacing: 0; }
.price__note { margin-top: 16px; }
.price__aside { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--slate); }
.price hr { border: 0; border-top: 1px solid var(--hairline); margin: 24px 0; }
.price__num--words { font-size: clamp(30px, 1vw + 24px, 40px); }
/* The plans switch (tenant portal.showPlans: none, names, prices). The site Worker removes what the value hides;
   these rules cover a page served without it. Built pages carry data-show-plans="names". */
html[data-show-plans="none"] [data-plans]:not([data-plans~="none"]),
html[data-show-plans="names"] [data-plans]:not([data-plans~="names"]),
html[data-show-plans="prices"] [data-plans]:not([data-plans~="prices"]) { display: none !important; }
@media (max-width: 479px) { .price { padding: 24px; } }

/* equipment row (Rachio) */
.equip-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.equip-row a { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 12px; border-radius: var(--radius-lg); background: #fff; border: 1.5px solid transparent; text-decoration: none; color: var(--navy); font-weight: 700; text-align: center; transition: border-color .2s, transform .2s; height: 100%; }
.section--mist .equip-row a { background: #fff; }
.equip-row a:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
@media (max-width: 819px) {
  .equip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .equip-row .spot { width: 72px; height: 72px; }
}
@media (max-width: 479px) { .equip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .equip-row li:last-child { grid-column: 1 / -1; } }
.brand-line { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; margin-top: 32px; font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.brand-line span { color: var(--navy); }

/* sticky category nav (equipment repair) */
.catnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--hairline); }
.catnav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 16px 4px 4px; border-radius: var(--pill); border: 1.5px solid var(--hairline); text-decoration: none; color: var(--navy); font-weight: 700; white-space: nowrap; background: #fff; }
.catnav a:hover { border-color: var(--navy); }
.catnav a[aria-current="true"] { border-color: var(--navy); background: var(--mist); }
.catnav .glyph { width: 38px; height: 38px; border-radius: var(--pill); }
.catnav .glyph svg { width: 20px; height: 20px; }

.cat { padding: 80px 0; border-top: 1px solid var(--hairline); }
.cat:first-of-type { border-top: 0; }
.cat--mist { background: var(--mist); border-top: 0; }
.cat--mist + .cat { border-top: 0; }
.cat__head { display: flex; gap: 24px; align-items: center; margin-bottom: 32px; }
.cat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cat__grid h3 { font-size: 18px; margin-bottom: 14px; letter-spacing: 0; }
.cat .btn-row { margin-top: 32px; }
@media (max-width: 999px) { .cat__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .cat { padding: 56px 0; } .cat__grid { grid-template-columns: 1fr; gap: 28px; } .cat__head { gap: 16px; } .cat__head .spot { width: 72px; height: 72px; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 32px; }
.section--mist .card { border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card .spot, .card .glyph { margin-bottom: 20px; }
.card--mist { background: var(--mist); border-color: var(--mist); }
@media (max-width: 999px) { .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } .card { padding: 24px; } }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--hairline); position: relative; }
.section--mist .steps li { border-color: transparent; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps .glyph { position: absolute; top: 28px; right: 28px; }
@media (max-width: 999px) { .steps, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .steps, .steps--4 { grid-template-columns: 1fr; } }

.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--hairline); align-items: start; }
.numbered li:last-child { border-bottom: 1px solid var(--hairline); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-size: 40px; font-weight: 800; color: var(--mid); line-height: 1; letter-spacing: -.02em; }
.numbered h3 { margin-bottom: 6px; }
@media (max-width: 599px) { .numbered li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; } .numbered li::before { font-size: 30px; } }

/* reviews */
.rating { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; margin-bottom: 32px; }
.rating strong { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
figure { margin: 0; }
a[href^="tel:"] { white-space: nowrap; }
.review { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 18px; }
.section--mist .review { border-color: transparent; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
.review figcaption { font-weight: 700; }
.review figcaption span { display: block; font-weight: 600; color: var(--slate); font-size: 15px; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; }

/* towns */
.towns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.town { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.town:target { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.town h3 { font-size: 21px; margin-bottom: 6px; }
.town p { font-size: 16px; }
@media (max-width: 999px) { .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .towns { grid-template-columns: 1fr; } }
.map { background: var(--mist); border-radius: 24px; padding: 16px; }
.map__frame { position: relative; border-radius: 16px; overflow: hidden; background: var(--hairline); }
.map__frame img { display: block; width: 100%; height: auto; }
.map__pins { position: absolute; inset: 0; }
.pin { position: absolute; text-decoration: none; }
.pin__dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 13px; height: 13px; border-radius: 50%; background: var(--sky); border: 2.5px solid var(--navy); box-shadow: 0 1px 3px rgba(10, 35, 66, .35); }
.pin__label { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--navy); text-shadow: 0 1px 2px rgba(255, 255, 255, .7), 0 0 6px rgba(255, 255, 255, .6); }
.pin--l .pin__label { left: auto; right: 12px; text-align: right; }
.pin--ul .pin__label { top: auto; bottom: 19px; left: auto; right: 2px; transform: none; text-align: right; }
.pin--ll .pin__label { top: 15px; left: auto; right: 2px; transform: none; text-align: right; }
.pin--dr .pin__label { top: 15px; transform: none; }
.pin--hub .pin__dot { width: 18px; height: 18px; background: var(--navy); border-width: 3px; }
.pin--hub .pin__label { top: auto; bottom: 24px; left: 50%; transform: translateX(-50%); text-align: center; font-size: 18px; font-weight: 800; }
a.pin:hover .pin__label, a.pin:focus-visible .pin__label { text-decoration: underline; }
.map__attribution { margin: 10px 4px 0; font-size: 13px; font-weight: 600; color: var(--slate); }
@media (max-width: 599px) {
  .section .split > .map:last-child { padding: 8px; }
  .pin__dot { width: 11px; height: 11px; }
  .pin--hub .pin__dot { width: 15px; height: 15px; }
  .pin__label { font-size: 12.5px; left: 9px; }
  .pin--l .pin__label { right: 9px; }
  .pin--hub .pin__label { font-size: 15px; bottom: 20px; }
  .pin--ul .pin__label { bottom: 15px; }
  .pin--ll .pin__label { top: 12px; }
}
@media (max-width: 359px) {
  .pin__label { font-size: 11px; }
  .pin--hub .pin__label { font-size: 13.5px; bottom: 20px; }
  .pin--ul .pin__label { top: 50%; bottom: auto; transform: translateY(-50%); }
  .pin--ll .pin__label { top: 11px; }
  a[href="service-area.html#green-hills"] .pin__label { left: 22px; }
}

/* navy band */
.band { background: var(--navy); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: 56px 0; }
.band__inner p { font-size: clamp(20px, .6vw + 17px, 26px); font-weight: 700; line-height: 1.35; max-width: 34em; margin: 0; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); font-size: 22px; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 56px 24px 0; }
@media (max-width: 599px) { .faq .answer { padding-right: 0; } .faq summary { font-size: 18px; } }

/* do and don't */
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dodont > div { border-radius: var(--radius-lg); padding: 32px; background: #fff; }
.dodont h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
@media (max-width: 699px) { .dodont { grid-template-columns: 1fr; } .dodont > div { padding: 24px; } }

/* chooser */
.chooser { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 20px; border: 0; padding: 0; }
.chooser legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.chooser-intro { font-size: 19px; max-width: 40em; min-height: 3em; }

/* partner view teaser */
.pview { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--hairline); }
.pview__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); margin-bottom: 8px; }
.pview__top img { width: 96px; }
.pview__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.pview__row:last-child { border-bottom: 0; }
.bar { display: block; height: 12px; border-radius: 6px; background: var(--mist); }
.bar + .bar { margin-top: 8px; height: 10px; width: 55%; }
.pview__legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* quote slot */
.quote-slot { border-left: 4px solid var(--sky); padding: 8px 0 8px 24px; margin: 0; }
.quote-slot blockquote { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.4; }
.quote-slot [data-fact-text="company"]::before { content: ", "; }

/* forms */
.form-card { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--hairline); }
.section--mist .form-card { border-color: transparent; }
@media (max-width: 599px) { .form-card { padding: 24px 20px; border-radius: var(--radius-lg); } }
.form fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.form fieldset:last-of-type { margin-bottom: 28px; }
.form .fgrid fieldset, .form fieldset fieldset { margin: 0; }
.field .hint-after { display: block; font-weight: 600; font-size: 14px; color: var(--slate); margin-top: 8px; }
.fgrid-note { grid-column: 1 / -1; margin: -4px 0 0; }
.form legend { font-size: 22px; font-weight: 800; letter-spacing: -.01em; padding: 0; margin-bottom: 18px; }
.form .sublegend { font-size: 16px; font-weight: 700; margin-bottom: 12px; letter-spacing: 0; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .fgrid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 16px; }
.field .hint { display: block; font-weight: 600; font-size: 14px; color: var(--slate); margin-top: -4px; margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--slate); border-radius: var(--radius); background: #fff; color: var(--navy); font: 400 17px/1.4 var(--font);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; 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='%230a2342' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/20px no-repeat; padding-right: 44px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { display: block; color: var(--error); font-weight: 700; font-size: 15px; margin-top: 8px; }
.field-error:empty { display: none; }
.optional { font-weight: 600; color: var(--slate); font-size: 14px; }

.toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px 10px 14px; border-radius: var(--pill); border: 1.5px solid var(--slate); background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; user-select: none; transition: background .15s, border-color .15s; }
.toggle span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--slate); background: #fff; flex: none; }
.toggle input[type="checkbox"] + span::before { border-radius: 6px; }
.toggle span:hover { border-color: var(--navy); }
.toggle input:checked + span { background: var(--sky); border-color: var(--navy); }
.toggle input:checked + span::before { border-color: var(--navy); background: var(--navy) 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='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.toggle input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 3px; }
.toggle .glyph-inline { width: 20px; height: 20px; }
.toggle input:checked + span .glyph-inline { color: var(--white); } /* a chosen chip turns sky: its icon goes white, its words stay navy */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.field .consent { display: flex; } /* .field label forces display:block; restore the checkbox row */
.form__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.form__foot .meta { margin: 0; max-width: 32em; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn .loader { width: 40px; height: 20px; display: none; }
.btn[aria-busy="true"] .loader { display: block; }
@keyframes loader-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.loader { overflow: hidden; }
.loader__run { animation: loader-run 1.2s linear infinite; transform-box: view-box; }
.form-status { font-weight: 700; }
.form-errors { background: #fdecea; border: 1.5px solid var(--error); color: var(--error); border-radius: var(--radius); padding: 14px 18px; font-weight: 700; margin-bottom: 24px; }
.form-errors:empty, .form-errors[hidden] { display: none; }
/* The spam check (shared/form-guard): the line shown with script off, and the box Cloudflare draws only when it wants a tick. */
.form-noscript { background: var(--soft-blue); color: var(--navy); border-radius: var(--radius); padding: 14px 18px; font-weight: 700; margin: 0 0 32px; }
.form-noscript a { color: inherit; white-space: nowrap; }
.fg-box.is-shown { margin-top: 20px; }

.aside-card { background: var(--mist); border-radius: var(--radius-lg); padding: 28px; }
.section--mist .aside-card { background: #fff; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h3 { font-size: 20px; margin-bottom: 8px; }
.contact-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; padding: 0; }
.contact-actions a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px 8px 10px; border-radius: var(--pill); border: 1.5px solid var(--hairline); background: #fff; font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-actions a:hover { border-color: var(--navy); text-decoration: none; }
.contact-actions .glyph--sm { background: var(--sky); }
.contact-number { margin: 10px 0 0; }

/* thank-you */
.thanks { text-align: center; padding: 80px 0 24px; }
.thanks h1 { max-width: 18ch; margin: 0 auto; }
.thanks .lead { max-width: 32em; margin: 20px auto 0; }
.thanks__ribbons { max-width: 520px; margin: 48px auto 0; }
.thanks__ribbons img { width: 100%; animation: wave-drift 800ms var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) { .thanks__ribbons img { animation: none; } }

/* legal */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; letter-spacing: -.01em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* final cta */
.final { padding: 72px 0 var(--section); }
.final__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.final h2 { margin-bottom: 16px; }
.final__grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 999px) { .final__grid { grid-template-columns: 1fr; gap: 32px; } .final__grid > div:first-child { position: static; } }

/* footer */
.site-footer { background: var(--navy); color: #fff; font-size: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 48px 0 40px; }
.footer__brand img { width: 170px; margin-bottom: 20px; }
.footer__col h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col--towns ul { grid-template-columns: 1fr; }
.nap { font-style: normal; display: grid; gap: 8px; }
.nap strong { font-size: 18px; }
.freeze { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 16px; border-radius: var(--radius-lg); background: var(--mid); color: #edeff1; font-size: 15px; }
.freeze .glyph { background: var(--coral); color: var(--navy); width: 40px; height: 40px; }
.freeze strong { color: #fff; display: block; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .16); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #edeff1; }
.footer__base ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 999px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* mobile action bar */
.actionbar { display: none; }
@media (max-width: 819px) {
  .actionbar { display: grid; grid-template-columns: repeat(3, 1fr); position: sticky; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--hairline); box-shadow: 0 -8px 24px rgba(10, 35, 66, .08); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--pill); font-weight: 800; text-decoration: none; color: var(--navy); border: 1.5px solid var(--navy); }
  .actionbar a:last-child { background: var(--navy); color: #fff; }
  .actionbar svg { width: 20px; height: 20px; }
}

/* service plans: read live from the owner dashboard (src/worker.js writes into [data-owner-plans]) */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.plan-card { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.plan-card h3 { font-size: 22px; }
.plan-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-card__list li { display: flex; gap: 10px; align-items: baseline; }
.plan-card__list li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); transform: translateY(-2px); }
.plan-card__line { margin-top: auto; color: var(--slate); font-size: 15px; }
.plan-card .btn { align-self: flex-start; }
