/* =========================================================================
   Michele's Cleaning Services — stylesheet
   tokens > base > layout > components > home sections > inner pages >
   quote form > responsive
   ========================================================================= */

/* ---------- Fonts (self-hosted, Latin subset; see fonts/LICENSE.md) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0E2A3B;        /* "Lake Erie" — headings, dark bands */
  --navy-deep: #0A2030;   /* footer */
  --blue: #0B6FB0;        /* rinse blue — every action */
  --blue-dark: #095A8F;
  --tint: #EAF4FA;        /* suds — hero + selected states */
  --sponge: #F6C343;      /* stars and sparkle marks only */
  --paper: #FFFFFF;
  --soft: #F5F8FA;
  --line: #DCE5EC;
  --text: #2B3A47;
  --muted: #5F6F7D;
  --good: #17643A;
  --good-bg: #E7F6EC;
  --bad: #B42318;
  --bad-bg: #FDECEC;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --shadow-float: 0 28px 56px -28px rgba(14, 42, 59, 0.5);
  --shadow-soft: 0 1px 2px rgba(14, 42, 59, 0.06), 0 10px 24px -18px rgba(14, 42, 59, 0.35);

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --header-h: 76px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue); text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.028em; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }

p { max-width: 68ch; }

button, input, select, textarea { font: inherit; color: inherit; }

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; vertical-align: -0.125em; overflow: visible; }
.sparkle { width: 14px; height: 14px; flex-shrink: 0; color: var(--blue); }
.stars { display: inline-flex; gap: 2px; color: var(--sponge); font-size: 0.95rem; }
.stars .is-off { opacity: 0.3; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.125rem; margin-top: 14px; }

.lede { font-size: 1.2rem; color: var(--text); max-width: 48ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0 24px;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-on-dark:hover { border-color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--blue); text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(14, 42, 59, 0.5); }

.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; object-fit: contain; }
.brand-word { height: 21px; width: auto; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border: 0; border-radius: var(--r-sm); background: none;
  color: var(--navy); font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer;
}
.nav-link:hover { background: var(--soft); }
.nav-link .chev { font-size: 0.65rem; transition: transform 0.2s ease; }
.has-menu.is-open .chev { transform: rotate(180deg); }

.menu {
  position: absolute; top: calc(100% + 8px); left: -8px; z-index: 10;
  min-width: 290px; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu.is-open > .menu { opacity: 1; visibility: visible; transform: none; }
.menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--text); font-weight: 500; text-decoration: none;
}
.menu a:hover { background: var(--tint); color: var(--navy); }
.menu .menu-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; color: var(--blue); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-phone .icon { color: var(--blue); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
  background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile-extra { display: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Before / after slider ---------- */
.ba { margin: 0; }
.ba-frame {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r-lg); background: var(--line);
  box-shadow: var(--shadow-float);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-frame img { transition: opacity 0.2s ease; }
.ba-frame.is-loading img { opacity: 0.4; }
.ba-tag {
  position: absolute; top: 14px; z-index: 2;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(14, 42, 59, 0.74); color: #fff; font-size: 0.85rem; font-weight: 600;
  transition: opacity 0.2s ease;
}
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; }
.ba-frame.is-mostly-after .ba-tag--before,
.ba-frame.is-mostly-before .ba-tag--after { opacity: 0; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(14, 42, 59, 0.12);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 50px; height: 50px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--navy);
  box-shadow: 0 6px 18px rgba(14, 42, 59, 0.3);
}
.ba-knob svg { width: 26px; height: 26px; }
.ba-range:focus-visible ~ .ba-handle .ba-knob { outline: 3px solid var(--sponge); outline-offset: 3px; }
.ba figcaption {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 14px; color: var(--muted); font-size: 0.95rem;
}
.ba figcaption .sparkle { margin-top: 5px; }

/* ---------- Home: hero ---------- */
.hero { background: var(--tint); padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 96px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.hero-rating {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  color: var(--navy); font-weight: 600; font-size: 0.95rem;
}
.hero-rating a { color: inherit; }
.hero h1 { max-width: 15em; margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }
.hero .ba { width: 100%; max-width: 460px; justify-self: end; }

.zip-form label { display: block; margin-bottom: 8px; color: var(--navy); font-weight: 600; }
.zip-row {
  display: flex; gap: 6px; max-width: 500px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
}
.zip-row:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.zip-row input {
  flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent;
  font-size: 1.05rem; font-weight: 500; color: var(--navy);
}
.zip-row input:focus { outline: none; }
.zip-row input::placeholder { color: #8A98A5; }
.zip-note { min-height: 1.5em; margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.zip-note.is-good { color: var(--good); }
.zip-note.is-error { color: var(--bad); }

.check-points { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 28px; margin-top: 28px; padding: 0; list-style: none; }
.check-points li { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: 0.97rem; }

/* ---------- Home: services list ---------- */
.service-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px);
  padding: 0; list-style: none; border-top: 1px solid var(--line);
}
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 20px 4px; color: inherit; text-decoration: none;
}
.svc-icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: var(--r-md); background: var(--tint); color: var(--blue); font-size: 1.2rem;
}
.svc-name { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.svc-desc { display: block; margin-top: 2px; color: var(--muted); font-size: 0.98rem; }
.svc-go { color: var(--muted); transition: transform 0.18s ease, color 0.18s ease; }
.service-list a:hover .svc-name { color: var(--blue); }
.service-list a:hover .svc-go { color: var(--blue); transform: translateX(3px); }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px);
  padding: 0; list-style: none; counter-reset: step;
}
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding-top: 66px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.step::after {
  content: ""; position: absolute; top: 22px; left: 62px; right: -16px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 8px; font-size: 1.3rem; }
.step p { color: var(--muted); }

/* ---------- Home: work gallery ---------- */
.gallery {
  display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.gallery .section-head { margin-bottom: 28px; }
.gallery-tabs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  padding: 0; list-style: none;
}
.gallery-tab {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  color: var(--navy); font-weight: 600; font-size: 0.98rem; text-align: left; cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.gallery-tab img { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.gallery-tab:hover { border-color: var(--muted); }
.gallery-tab[aria-pressed="true"] { border-color: var(--blue); background: var(--tint); box-shadow: inset 0 0 0 1px var(--blue); }
.gallery-nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.gallery-count { margin-right: auto; color: var(--muted); font-size: 0.95rem; }
.icon-btn {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer;
  transition: border-color 0.16s ease;
}
.icon-btn:hover { border-color: var(--navy); }
.icon-btn[disabled] { opacity: 0.4; cursor: default; border-color: var(--line); }

/* ---------- Home: reviews ---------- */
.reviews-grid {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.rating-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: var(--navy); font-weight: 600; }
.rating-line .stars { font-size: 1.1rem; }
.rating-line a { color: var(--navy); text-decoration: none; }
.rating-line a:hover { color: var(--blue); text-decoration: underline; }
.review-links-label { margin-top: 28px; color: var(--muted); font-size: 0.95rem; }
.review-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.review-links .btn { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }

.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 10px); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 2px 2px 6px; scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track:focus-visible { outline-offset: 4px; border-radius: var(--r-md); }
.review-card {
  display: flex; flex-direction: column; gap: 18px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  scroll-snap-align: start;
}
.review-card blockquote { color: var(--text); font-size: 1.06rem; line-height: 1.65; }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; flex-shrink: 0;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.95rem;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { display: block; color: var(--navy); font-weight: 700; }
.review-src { display: block; color: var(--muted); font-size: 0.88rem; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ---------- Home: about ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-lg); }
.about-photos img:nth-child(2) { margin-top: 56px; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy > p { color: var(--text); font-size: 1.1rem; }
.promise-list { display: grid; gap: 20px; margin-top: 30px; padding: 0; list-style: none; }
.promise-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; }
.promise-list .sparkle { margin-top: 5px; width: 18px; height: 18px; }
.promise-list strong { display: block; color: var(--navy); font-size: 1.05rem; }
.promise-list span { color: var(--muted); }

/* ---------- Home: service area ---------- */
.areas-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.areas-copy h2 { margin-bottom: 14px; }
.areas-copy .zip-form { margin-top: 28px; }
.city-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.city-links a {
  display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; color: var(--navy); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.city-links a:hover { border-color: var(--blue); color: var(--blue); }
.map {
  height: 460px; overflow: hidden; z-index: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--soft);
}
.map .leaflet-tile-pane { filter: grayscale(1) sepia(0.25) hue-rotate(165deg) saturate(1.6) brightness(1.04) contrast(0.88); }
.leaflet-container { font-family: var(--font-body); }
.map-note { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.faq-aside p { margin-top: 14px; color: var(--muted); }
.faq-aside a { font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  color: var(--navy); font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: var(--tint); color: var(--blue);
  font-family: var(--font-body); font-size: 1.4rem; font-weight: 500; line-height: 1;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding-block: clamp(56px, 8vw, 92px); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, 0.8); font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.74); padding-block: 64px 28px; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand img { filter: invert(1); }
.footer-brand p { margin-top: 16px; max-width: 36ch; }
.site-footer .footer-heading { margin-bottom: 14px; color: #fff; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: baseline; }
.footer-contact .icon { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.5); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff;
}
.socials a:hover { background: rgba(255, 255, 255, 0.18); text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9rem;
}

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; min-height: 50px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--tint); padding-block: clamp(32px, 5vw, 60px) clamp(48px, 7vw, 84px); }
.page-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.page-hero--plain .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero--compact { padding-block: clamp(24px, 4vw, 40px) clamp(28px, 4vw, 44px); }
.page-hero--compact h1 { max-width: none; margin-bottom: 10px; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero--compact .lede { margin-bottom: 0; }
.page-hero h1 { max-width: 17ch; margin-bottom: 18px; font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero .lede { margin-bottom: 28px; }
.page-hero .ba { width: 100%; max-width: 360px; justify-self: end; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; padding: 0; list-style: none; font-size: 0.92rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9AA8B4; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

.split {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px); align-items: start;
}
.prose p { margin-bottom: 1.1em; font-size: 1.1rem; }
.prose h2 { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

.panel { padding: clamp(24px, 3vw, 36px); background: var(--soft); border-radius: var(--r-lg); }
.panel h2, .panel h3 { margin-bottom: 18px; font-size: 1.5rem; }

.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; }
.check-list .sparkle { margin-top: 6px; width: 16px; height: 16px; }

.price-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.price-block .lede { margin-top: 16px; max-width: 64ch; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.link-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; color: var(--navy); font-weight: 600; text-decoration: none;
}
.link-grid a:hover { border-color: var(--blue); color: var(--blue); }
.link-grid .icon { color: var(--muted); }

.legal { max-width: 720px; }
.legal h2 { margin: 40px 0 12px; font-size: 1.5rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { margin: 0 0 1em 1.2em; display: grid; gap: 6px; }
.legal p { margin-bottom: 1em; }

/* ---------- Quote form ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote-card { padding: clamp(20px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }

.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 34px; padding: 0; list-style: none; counter-reset: s; }
.stepper li { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 0.92rem; font-weight: 600; counter-increment: s; }
.stepper li::before { content: ""; height: 5px; border-radius: 5px; background: var(--line); transition: background-color 0.25s ease; }
.stepper li::after { content: "Step " counter(s); order: -1; display: none; }
.stepper li.is-done::before, .stepper li.is-current::before { background: var(--blue); }
.stepper li.is-current { color: var(--navy); }

fieldset { min-width: 0; padding: 0; border: 0; }
.step-panel legend {
  margin-bottom: 22px; padding: 0;
  color: var(--navy); font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
}
.step-panel[hidden] { display: none; }

.group { margin-bottom: 26px; border: 0; padding: 0; }
.group-label { display: block; margin-bottom: 10px; color: var(--navy); font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; }
.choice input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff;
  color: var(--navy); font-weight: 600; line-height: 1.3; cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice .icon { color: var(--blue); font-size: 1.15rem; }
.choice span:hover { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--blue); background: var(--tint); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-block; }
.chip span {
  display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: #fff; color: var(--navy); font-weight: 600; font-size: 0.97rem; cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.chip span:hover { border-color: var(--muted); }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }

.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field-label { color: var(--navy); font-weight: 600; font-size: 0.98rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
  color: var(--navy); font-size: 1rem;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11, 111, 176, 0.18); }
.field-hint { color: var(--muted); font-size: 0.9rem; }
.field-error { color: var(--bad); font-size: 0.92rem; font-weight: 500; }
.field-error:empty { display: none; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--bad); }
.is-invalid .choice span, .is-invalid .chip span { border-color: #E9A6A0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.grid-zip { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 16px; }

.addons { margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--r-md); }
.addons summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; cursor: pointer; list-style: none; color: var(--navy); font-weight: 600; }
.addons summary::-webkit-details-marker { display: none; }
.addons summary .icon { color: var(--muted); transition: transform 0.2s ease; }
.addons[open] summary .icon { transform: rotate(180deg); }
.addons-body { padding: 0 18px 18px; }
.addons-body .chips[hidden] { display: none; }

.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin: 8px 0 18px; font-size: 0.97rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.captcha { min-height: 0; margin-bottom: 8px; }

.step-nav {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line);
}
.step-nav .btn-back { margin-right: auto; }
.form-status { width: 100%; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 14px; border-radius: var(--r-sm); background: var(--bad-bg); color: var(--bad); }
.form-status.is-sending { color: var(--muted); }

.form-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 0.9rem; }

.quote-done { padding: clamp(8px, 2vw, 16px) 0; }
.quote-done[hidden] { display: none; }
.done-mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; background: var(--good-bg); color: var(--good); }
.done-mark svg { width: 30px; height: 30px; }
.quote-done h2 { margin-bottom: 12px; }
.quote-done p { margin-bottom: 24px; font-size: 1.1rem; }
.quote-done .next-list { margin-bottom: 26px; font-size: 1rem; }
.confirm-wrap { max-width: 640px; }
.confirm-card h1, .confirm-card .confirm-title { margin-bottom: 14px; font-size: clamp(1.9rem, 4vw, 2.5rem); }
.confirm-card .lede { margin-bottom: 24px; }
.confirm-card p + p { margin-bottom: 24px; }
.confirm-card .form-status { margin-top: 16px; }
[data-confirm-state]:focus { outline: none; }
.hiring-note { margin-top: 28px; color: var(--muted); }
.hiring-note a { font-weight: 600; }
.job-details { grid-template-columns: max-content minmax(0, 1fr); margin-bottom: 20px; font-size: 1.02rem; }
.summary-list.job-details dd { text-align: left; }
.section--soft .aside-card { background: #fff; border: 1px solid var(--line); }

.quote-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { padding: 22px; background: var(--soft); border-radius: var(--r-md); }
.aside-card h2 { margin-bottom: 12px; font-size: 1.15rem; letter-spacing: -0.01em; }
.summary-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; font-size: 0.95rem; }
.summary-list dt { color: var(--muted); }
.summary-list dd { color: var(--navy); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.next-list { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: n; font-size: 0.97rem; }
.next-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; counter-increment: n; }
.next-list li::before {
  content: counter(n); display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.8rem; font-weight: 700;
}
.aside-contact { display: grid; gap: 8px; padding: 0; list-style: none; }
.aside-contact li { display: flex; gap: 10px; align-items: baseline; }
.aside-contact .icon { width: 14px; height: 14px; color: var(--blue); }
.aside-contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.aside-contact a:hover { text-decoration: underline; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .review-track { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
}

@media (max-width: 1080px) {
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 .step:nth-child(2)::after { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: block; }
  /* Absolute, not fixed: the header's backdrop-filter makes it the containing
     block, so the panel hangs off the header with an explicit height. */
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    display: none; overflow-y: auto; padding: 12px var(--gutter) 40px;
    background: #fff; border-top: 1px solid var(--line);
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; border-radius: 0; }
  .nav-link:hover { background: none; }
  .menu {
    position: static; display: none; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .menu::before { display: none; }
  .has-menu.is-open > .menu { display: block; }
  .menu a { padding: 10px 12px; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 24px; }
  .header-actions .btn-primary { display: none; }
  .header-actions { margin-left: auto; }
  body.nav-open { overflow: hidden; }

  .hero-grid, .page-hero-grid, .gallery, .reviews-grid, .about-grid, .areas-grid, .faq-grid, .split, .quote-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero .ba, .page-hero .ba { justify-self: start; max-width: 520px; }
  .hero h1 { max-width: 16ch; }
  .gallery .ba { order: 2; max-width: 520px; }
  .about-photos { order: 2; max-width: 560px; }
  .map { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-block { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .quote-aside { position: static; }
}

@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
  body.no-mobile-bar { padding-bottom: 0; }

  .header-phone { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
  .brand-word { height: 18px; }
  .brand-mark { width: 40px; height: 40px; }

  .service-list { grid-template-columns: minmax(0, 1fr); }
  .steps, .steps--4 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step { padding-top: 0; padding-left: 64px; min-height: 46px; }
  .step::after { display: none; }
  .review-track { grid-auto-columns: 86%; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 .field:last-child { grid-column: 1 / -1; }
  .ba-frame { aspect-ratio: 4 / 5; }
  .gallery-tabs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .zip-row { flex-direction: column; padding: 8px; border-radius: var(--r-md); }
  .zip-row input { min-height: 48px; }
  .zip-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-2, .grid-zip { grid-template-columns: minmax(0, 1fr); }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-tab { padding: 6px; font-size: 0.92rem; }
  .gallery-tab img { width: 40px; height: 40px; }
  .cta-actions .btn { flex: 1; }
}

/* =========================================================================
   Resource pages (2026-10-19): comparison table, guides, about, contact
   ========================================================================= */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; }

.menu--cols { min-width: 420px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 4px; }
.menu--cols li:last-child { grid-column: 1 / -1; }
.menu .menu-all--plain { margin-top: 0; border-top: 0; }

.zip-line { display: flex; align-items: center; gap: 8px; margin: -12px 0 24px; color: var(--navy); font-weight: 600; }
.panel-link { margin-top: 20px; font-weight: 600; }

.cta-panel { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; background: var(--tint); }
.cta-panel h2 { margin-bottom: 6px; }
.cta-panel p { color: var(--text); }

/* Comparison table */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.cmp-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.98rem; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp-table thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 1.08rem; }
.cmp-table thead th a { color: #fff; text-decoration: none; }
.cmp-table thead th a:hover { text-decoration: underline; }
.cmp-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--text); }
.cmp-table .cmp-best th, .cmp-table .cmp-best td { background: var(--tint); color: var(--navy); font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; }
.cmp-table th[scope="row"], .cmp-table thead th:first-child { width: 36%; }
.cmp-group th { background: var(--soft); color: var(--navy); font-family: var(--font-display); font-weight: 700; text-align: left; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.cmp { display: inline-grid; place-items: center; }
.cmp--yes { width: 28px; height: 28px; border-radius: 50%; background: var(--good-bg); color: var(--good); }
.cmp--yes svg { width: 16px; height: 16px; }
.cmp--no { color: #9AA8B4; font-size: 1.2rem; }
.cmp--add { padding: 3px 10px; border-radius: var(--r-pill); background: var(--tint); color: var(--blue-dark); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.cmp-note { margin-top: 16px; color: var(--muted); }
.cmp-actions { margin-top: 20px; }

/* Guides */
.guide { display: grid; gap: 32px; }
.guide .prose p { font-size: 1.1rem; }
.guide-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.guide-list { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.guide-list h2 { margin-bottom: 14px; font-size: 1.35rem; }
.guide-list ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.guide-list label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; }
.guide-list input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); }
.guide-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.guide-note { color: var(--muted); font-size: 0.9rem; margin-top: -16px; }
.guide-after { padding: clamp(20px, 3vw, 32px); border-left: 4px solid var(--sponge); background: var(--soft); border-radius: var(--r-md); max-width: none; }
.guide-after h2 { font-size: 1.5rem; margin-bottom: 12px; }

/* About */
.about-figure { margin: 0; justify-self: end; display: grid; place-items: center; width: 100%; max-width: 320px; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: var(--shadow-float); }
.about-figure img { width: 58%; height: auto; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--text); text-decoration: none; }
.contact-card .icon { color: var(--blue); font-size: 1.3rem; }
.contact-card strong { color: var(--navy); font-family: var(--font-display); font-size: 1.15rem; }
.contact-card strong a { color: inherit; }
.contact-card span { color: var(--muted); }
a.contact-card:hover { border-color: var(--blue); }
.contact-card--primary { background: var(--blue); border-color: var(--blue); }
.contact-card--primary .icon, .contact-card--primary strong, .contact-card--primary span { color: #fff; }
a.contact-card--primary:hover { background: var(--blue-dark); }
.contact-more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.socials--light { margin-top: 0; }
.socials--light a { background: var(--tint); color: var(--navy); }
.socials--light a:hover { background: var(--line); }

@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu--cols { min-width: 0; grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .guide-lists { grid-template-columns: minmax(0, 1fr); }
  .about-figure { justify-self: start; max-width: 220px; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Print: checklists and comparison print cleanly on paper */
@media print {
  .site-header, .site-footer, .mobile-bar, .cta-band, .cta-panel, .hero-actions, .ba, .skip-link, .guide-note, .breadcrumb { display: none !important; }
  body { padding: 0; font-size: 11pt; }
  .page-hero { background: none; padding: 0 0 12pt; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .section, .section--tight { padding: 0; }
  .guide-lists { grid-template-columns: 1fr 1fr; gap: 10pt; }
  .guide-list { break-inside: avoid; padding: 10pt; }
  .cmp-table thead th { background: #fff; color: #000; border-bottom: 2px solid #000; }
}

a.contact-card { white-space: normal; }

.nav-link { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1100px) {
  .nav-link { padding: 10px 7px; }
  .header-row { gap: 12px; }
}

@media (max-width: 760px) {
  .cmp-table { min-width: 560px; font-size: 0.92rem; }
  .cmp-table th, .cmp-table td { padding: 12px 10px; }
  .cmp-table th[scope="row"], .cmp-table thead th:first-child { position: sticky; left: 0; z-index: 1; width: 150px; min-width: 150px; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .cmp-table thead tr:first-child th:first-child { background: var(--navy); }
  .cmp-table thead .cmp-best th { background: var(--tint); color: var(--navy); }
  .cmp-group th span { position: sticky; left: 10px; }
}

/* ---------- Text button, areas index, prep page (2026-10-19) ---------- */
.header-text {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--blue); text-decoration: none;
}
.header-text:hover { border-color: var(--blue); }
.header-text .icon { width: 20px; height: 20px; }
.mobile-bar .btn { padding: 0 12px; font-size: 0.95rem; }
.mobile-bar .btn-primary { flex: 1.3; }
.cta-actions .btn-on-dark .icon { width: 18px; height: 18px; }

.contact-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.area-list a {
  display: grid; gap: 4px; height: 100%; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--text); text-decoration: none;
}
.area-list a:hover { border-color: var(--blue); }
.area-list strong { color: var(--navy); font-family: var(--font-display); font-size: 1.12rem; }
.area-list a:hover strong { color: var(--blue); }
.area-list span { color: var(--muted); font-size: 0.95rem; }
.area-list .area-zips { color: var(--navy); font-weight: 600; font-size: 0.88rem; }
.areas-copy h2 + .zip-form { margin-top: 12px; }

.prep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.prep-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.prep-card .icon { width: 26px; height: 26px; color: var(--blue); margin-bottom: 12px; }
.prep-card h2 { font-size: 1.2rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.prep-card p { color: var(--muted); }

@media (max-width: 760px) {
  .header-text { display: none; }
  .mobile-bar { gap: 8px; padding-inline: 10px; }
  .mobile-bar .btn { min-height: 48px; padding: 0 8px; font-size: 0.92rem; gap: 6px; }
}

/* Full phone number + Text icon only when there's room for both. */
@media (min-width: 961px) and (max-width: 1260px) {
  .header-text { display: none; }
  .header-phone span { display: none; }
}

/* Two-column Areas menu must still start closed on the mobile menu. */
@media (max-width: 960px) {
  .menu.menu--cols { display: none; }
  .has-menu.is-open > .menu.menu--cols { display: grid; }
}
