/* =========================================================
   Frosty's Air Conditioning & Refrigeration Inc
   Shared styles for index.html and schedule.html
   Mobile-first. Sections are in page order.
   Palette: white + baby blue with hairline outlines.
   Navy is reserved for text and the reviews band.
   ========================================================= */

/* ---------- 1. Font (self-hosted, variable weight + width) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"),
       url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* Blues */
  --frost: #0090c8;        /* logo blue: icons, decoration */
  --frost-btn: #0a7bc2;    /* button fill, passes AA with white text */
  --frost-ink: #0670b5;    /* blue text at body size */
  --frost-light: #7fd0f5;  /* blue on dark backgrounds */
  --sky: #a9ddfa;          /* light accent blue */
  --baby: #e6f4fd;         /* baby blue fill */
  --ice: #f4faff;          /* palest section background */
  --ice-line: #d9ebf7;     /* hairline outline */
  --line: #c3e0f3;         /* stronger outline */

  /* Ink */
  --night: #0b2238;        /* headings + reviews band */
  --night-2: #12314f;
  --ink: #13293d;          /* body text */
  --slate: #4a6075;        /* secondary text */
  --white: #ffffff;

  /* Heat */
  --sun: #f47a2a;          /* glows, dots, accents */
  --sun-deep: #e2621a;
  --sun-ink: #b9500f;      /* orange text on white */
  --sun-grad: linear-gradient(180deg, #e8670f 0%, #cc520a 100%);
  --gold: #ffb400;

  --bbb: #005a78;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --pill: 999px;

  --wrap: 1180px;
  --gutter: clamp(18px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);

  --header-h: 68px;
  --shadow-soft: 0 24px 50px -36px rgba(11, 34, 56, 0.45);
  --shadow-lift: 0 18px 40px -22px rgba(11, 34, 56, 0.4);
}

/* ---------- 3. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--frost-ink); }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-stretch: 116%;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--night);
  text-wrap: balance;
}
h2 { font-size: clamp(1.95rem, 6vw, 3.1rem); }
h3 { font-size: 1.2rem; font-stretch: 108%; font-weight: 780; line-height: 1.15; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--night); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }

/* Small outlined label above section headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frost-ink);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
}
.eyebrow-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--frost-light);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 26px;
  border-radius: var(--pill);
  font-size: 1.1rem;
  font-weight: 760;
  font-stretch: 108%;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .icon { width: 20px; height: 20px; }

.btn-frost { background: var(--frost-btn); color: var(--white); box-shadow: 0 12px 24px -14px rgba(10, 123, 194, 0.9); }
.btn-frost:hover { background: var(--frost-ink); }

.btn-sun { background: var(--sun-grad); color: var(--white); box-shadow: 0 12px 26px -14px rgba(226, 98, 26, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-sun:hover { filter: brightness(0.94); }

.btn-outline { background: rgba(255, 255, 255, 0.8); color: var(--night); border-color: var(--line); }
.btn-outline:hover { background: var(--white); border-color: var(--frost); color: var(--frost-ink); }
.btn-outline .icon { transition: transform 0.15s ease; }
.btn-outline:hover .icon { transform: translateX(3px); }

.btn-sm { min-height: 50px; padding: 10px 22px; font-size: 1rem; }
.btn-sm .icon { width: 18px; height: 18px; }

.cta-pair {
  display: grid;
  gap: 12px;
}
.cta-pair .btn { width: 100%; }

@media (min-width: 640px) {
  .cta-pair { display: flex; flex-wrap: wrap; }
  .cta-pair .btn { width: auto; }
}

/* ---------- 5. Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--ice-line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(11, 34, 56, 0.45); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; }

.desk-nav { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 50px;
  height: 50px;
  border-radius: var(--pill);
  border: 0;
  text-decoration: none;
  font-weight: 760;
  font-stretch: 106%;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}
.hbtn:active { transform: scale(0.95); }
.hbtn .icon { width: 22px; height: 22px; }

.hbtn-call { background: var(--sun-grad); color: var(--white); box-shadow: 0 10px 20px -12px rgba(226, 98, 26, 0.95); }
.hbtn-call:hover { filter: brightness(0.94); }
.hbtn-label { display: none; }

.hbtn-sched { display: none; }

.hbtn-menu { background: var(--baby); color: var(--night); border: 1px solid var(--line); }
.hbtn-menu:hover { background: #d8eefc; }

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger { position: relative; }
.burger::before,
.burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; width: 13px; }

.hbtn-menu[aria-expanded="true"] .burger { background: transparent; }
.hbtn-menu[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.hbtn-menu[aria-expanded="true"] .burger::after { width: 20px; transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 720px) {
  .hbtn-call { width: auto; padding: 0 20px 0 16px; }
  .hbtn-label { display: inline; font-size: 1.05rem; }
  .brand img { height: 54px; }
  :root { --header-h: 76px; }
}

@media (min-width: 1100px) {
  .brand img { height: 60px; }
  .desk-nav {
    display: flex;
    gap: 2px;
    margin-left: auto;
  }
  .desk-nav a {
    padding: 9px 14px;
    border-radius: var(--pill);
    font-weight: 680;
    font-stretch: 106%;
    color: var(--ink);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .desk-nav a:hover { background: var(--baby); color: var(--frost-ink); }
  .has-nav .hbtn-menu { display: none; }
  .has-nav .hbtn-sched {
    display: inline-flex;
    width: auto;
    padding: 0 20px;
    background: var(--white);
    color: var(--night);
    border: 1.5px solid var(--line);
  }
  .has-nav .hbtn-sched:hover { border-color: var(--frost); color: var(--frost-ink); }
}

/* Drop-down menu */
.site-menu {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--ice-line);
  box-shadow: 0 24px 40px -28px rgba(11, 34, 56, 0.5);
  padding: 8px 0 22px;
  animation: menuIn 0.22s ease;
}
.site-menu[hidden] { display: none; }

.site-menu ul { display: grid; }
.site-menu ul a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--ice-line);
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 114%;
  color: var(--night);
  text-decoration: none;
}
.site-menu ul a:hover { color: var(--frost-ink); }
.site-menu .cta-pair { margin-top: 18px; }

@media (min-width: 900px) {
  .site-menu ul { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 6vw, 72px) 0 clamp(52px, 7vw, 92px);
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(169, 221, 250, 0.55), transparent 70%),
    radial-gradient(40% 45% at 4% 96%, rgba(244, 122, 42, 0.07), transparent 70%),
    linear-gradient(180deg, #e1f2fd 0%, #eff8ff 48%, #ffffff 100%);
}

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Faint blueprint grid that fades out toward the edges */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 123, 194, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 123, 194, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 65% 35%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 65% 35%, #000 15%, transparent 75%);
}
.snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid { display: grid; gap: 44px; align-items: center; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 5px 16px 5px 5px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
}
@media (min-width: 640px) { .hero-pill { font-size: 0.92rem; } }
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  background: var(--sun-grad);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Live status set by main.js (Pacific time, Mon to Fri 8 to 5) */
.hero-pill.is-open .hero-pill-badge,
.hero-pill.is-closed .hero-pill-badge { background: var(--white); }
.hero-pill.is-open .hero-pill-badge { color: #13734b; border-color: #bfe6d2; }
.hero-pill.is-closed .hero-pill-badge { color: var(--slate); border-color: var(--line); }
.hero-pill.is-open .hero-pill-badge::before,
.hero-pill.is-closed .hero-pill-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8ea3b5;
}
.hero-pill.is-open .hero-pill-badge::before {
  background: #1fa968;
  box-shadow: 0 0 0 0 rgba(31, 169, 104, 0.5);
  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 169, 104, 0.5); }
  100% { box-shadow: 0 0 0 8px rgba(31, 169, 104, 0); }
}

.hero-eyebrow {
  margin-bottom: 12px;
  font-size: clamp(1rem, 2.8vw, 1.3rem);
  font-weight: 760;
  font-stretch: 106%;
  color: var(--sun-ink);
  line-height: 1.3;
}

.hero h1 {
  font-size: clamp(3rem, 12.5vw, 6.1rem);
  font-stretch: 122%;
  font-weight: 880;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 0.34em;
}
.hero h1 .h1-a,
.hero h1 .h1-b { display: block; }
.hero h1 .h1-a {
  background: linear-gradient(100deg, #0670b5 10%, #1d9ad8 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
}

.hero-sub {
  font-size: clamp(1.06rem, 3.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--slate);
  max-width: 40ch;
  margin-bottom: 30px;
}

/* Big orange call button + quiet quote link */
.hero-ctas { display: grid; gap: 12px; }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 10px 26px 10px 12px;
  border-radius: var(--pill);
  background: var(--sun-grad);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 22px 40px -20px rgba(226, 98, 26, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-call:hover { filter: brightness(0.95); box-shadow: 0 26px 44px -20px rgba(226, 98, 26, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-call:active { transform: translateY(1px) scale(0.99); }
.btn-call .icon {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.btn-call small {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}
.btn-call strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 860;
  font-stretch: 112%;
  line-height: 1.1;
}

.btn-quote { min-height: 64px; }

@media (min-width: 640px) {
  .hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
  .btn-quote { min-height: 76px; padding-inline: 24px; font-size: 1.04rem; }
}

/* Trust row: BBB seal + Google + Yelp.
   Phones: Google | Yelp side by side, BBB seal underneath. */
.hero-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-trust .seal-bbb { order: 3; grid-column: 1 / -1; justify-self: start; }
.hero-trust .stars .icon { width: 13px; height: 13px; }

.seal-bbb {
  display: inline-flex;
  align-items: stretch;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--bbb);
  background: var(--white);
  box-shadow: 0 10px 22px -16px rgba(0, 90, 120, 0.7);
}
.seal-bbb-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 4px 10px;
  background: var(--bbb);
  color: var(--white);
  font-weight: 900;
  font-size: 0.86rem;
  font-stretch: 100%;
  letter-spacing: 0.02em;
  line-height: 1;
}
.seal-bbb-mark .icon { width: 14px; height: 19px; }
.seal-bbb-text {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bbb);
  line-height: 1.15;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.rating-logo { width: 30px; height: 30px; flex: none; }
.rating-top { display: flex; align-items: center; gap: 6px; }
.rating-top strong { font-size: 1.6rem; font-weight: 860; font-stretch: 112%; line-height: 1; color: var(--night); }
.rating-sub { display: block; margin-top: 4px; font-size: 0.84rem; color: var(--slate); line-height: 1.2; }
.rating:hover .rating-sub { color: var(--frost-ink); text-decoration: underline; }

@media (min-width: 640px) {
  .hero-trust { display: flex; flex-wrap: wrap; gap: 16px 20px; }
  .hero-trust .seal-bbb { order: 0; }
  .hero-trust .stars .icon { width: 16px; height: 16px; }
  .rating { padding-left: 20px; border-left: 1px solid var(--line); gap: 12px; }
  .rating-logo { width: 38px; height: 38px; }
  .rating-top strong { font-size: 1.8rem; }
}

/* Van in a circle with orbit rings, floating badges and a dial */
.hero-visual {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.hv-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(10, 123, 194, 0.3);
  animation: spin 120s linear infinite;
}
.hv-orbit-2 { inset: 4.5%; border: 1px solid rgba(10, 123, 194, 0.14); animation: none; }
.hv-disc {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--baby);
  border: 7px solid var(--white);
  box-shadow: 0 40px 70px -40px rgba(11, 34, 56, 0.55), 0 0 0 1px var(--ice-line);
}
.hv-disc img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }

.hv-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--ice-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px -20px rgba(11, 34, 56, 0.4);
  line-height: 1.2;
  animation: bob 7s ease-in-out infinite;
}
.hv-badge strong { display: block; font-size: 1rem; font-weight: 820; font-stretch: 110%; color: var(--night); }
.hv-badge > span:last-child > span { font-size: 0.8rem; color: var(--slate); }
.hv-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--baby);
  border: 1px solid var(--line);
  color: var(--frost-btn);
  flex: none;
}
.hv-ico .icon { width: 20px; height: 20px; }
.hv-ico-sun { background: #fff2e8; border-color: #fbd9bd; color: var(--sun-deep); }
.hv-ico-sun .icon { fill: currentColor; }
.hv-badge-1 { top: 6%; left: -4%; }
.hv-badge-2 { top: 56%; right: -5%; animation-delay: -3.5s; }

.hv-dial {
  position: absolute;
  left: 1%;
  bottom: 1%;
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(closest-side, #fff 79%, transparent 80% 100%),
    conic-gradient(from 210deg, #0a7bc2, #7fd0f5 68%, var(--baby) 68% 100%);
  box-shadow: 0 22px 40px -22px rgba(11, 34, 56, 0.5), 0 0 0 1px var(--ice-line);
}
.hv-dial strong { font-size: clamp(1.4rem, 5vw, 2.3rem); font-weight: 860; font-stretch: 112%; color: var(--frost-ink); line-height: 1; }
.hv-dial span { margin-top: 4px; font-size: clamp(0.56rem, 1.6vw, 0.72rem); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (min-width: 640px) {
  .hero-visual { width: min(100%, 440px); }
  .hv-badge { padding: 10px 18px 10px 10px; gap: 12px; }
  .hv-badge strong { font-size: 1.12rem; }
  .hv-badge > span:last-child > span { font-size: 0.88rem; }
  .hv-ico { width: 44px; height: 44px; border-radius: 12px; }
  .hv-ico .icon { width: 22px; height: 22px; }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.24fr 0.76fr; gap: 36px; }
  .hero h1 { font-size: clamp(4rem, 5.6vw, 5.3rem); }
  .hero-visual { width: 100%; max-width: 480px; }
  .hv-badge-1 { left: -10%; }
}

/* ---------- 7. Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--baby);
  color: var(--night);
  border-block: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; flex: none; }
.marquee-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 0 15px 22px;
  white-space: nowrap;
  font-size: clamp(0.98rem, 3vw, 1.1rem);
  font-weight: 740;
  font-stretch: 114%;
}
.marquee-list .icon { width: 18px; height: 18px; color: var(--frost); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 8. Shared section frame ---------- */
.section { padding: var(--section-y) 0; }
.section-ice { background: var(--ice); border-block: 1px solid var(--ice-line); }
.section-night { background: var(--night); color: rgba(255, 255, 255, 0.84); }
.section-night h2,
.section-night h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(26px, 4vw, 40px); }
.section-head p { font-size: 1.12rem; color: var(--slate); }
.section-head .eyebrow { margin-bottom: 16px; font-size: 0.78rem; color: var(--frost-ink); }
.section-night .section-head p { color: rgba(255, 255, 255, 0.75); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 760;
  color: var(--frost-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link .icon { width: 18px; height: 18px; transition: transform 0.15s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* Scroll reveal (only when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-delay { transition-delay: 0.12s; }

/* ---------- 9. Services: tabs + list + feature card ---------- */
.svc-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  margin-bottom: 20px;
  padding: 5px;
  border-radius: var(--pill);
  background: var(--ice);
  border: 1px solid var(--line);
}
.svc-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 740;
  font-stretch: 106%;
  color: var(--slate);
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.svc-tab:hover { color: var(--frost-ink); }
.svc-tab .icon { display: none; width: 18px; height: 18px; }
.svc-tab .tab-more {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.svc-tab[aria-selected="true"] { color: var(--white); }
/* Without JS the active tab paints its own fill; with JS a sliding pill does it */
.svc-tabs:not(.has-ink) .svc-tab[aria-selected="true"] { background: var(--frost-btn); }
.svc-tab-ink {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: var(--pill);
  background: var(--frost-btn);
  box-shadow: 0 10px 20px -10px rgba(10, 123, 194, 0.85);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 640px) {
  .svc-tabs { display: inline-flex; width: auto; max-width: 100%; margin-bottom: 26px; }
  .svc-tab { padding: 0 20px; }
  .svc-tab .icon { display: block; }
  .svc-tab .tab-more { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
}

.svc-split { display: grid; gap: 16px; }

.svc-feature {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3.3;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--baby);
  border: 1px solid var(--ice-line);
  box-shadow: var(--shadow-soft);
}
.svc-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svc-feature-media img.is-on { opacity: 1; transform: none; }

/* Phones: tag + badge share a row, title underneath, so the photo stays visible */
.svc-feature-info {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "tag badge" "title title";
  align-items: center;
  justify-items: start;
  gap: 6px 10px;
  padding: 10px 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -24px rgba(11, 34, 56, 0.55);
}
.svc-tag {
  grid-area: tag;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: var(--baby);
  border: 1px solid var(--line);
  color: var(--frost-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.svc-feature-title {
  grid-area: title;
  font-size: clamp(1.15rem, 4.6vw, 1.85rem);
  font-weight: 860;
  font-stretch: 114%;
  line-height: 1.05;
  color: var(--night);
}
.svc-badge { grid-area: badge; justify-self: end; display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 0.8rem; font-weight: 650; color: var(--slate); white-space: nowrap; overflow: hidden; }
.svc-badge > span { overflow: hidden; text-overflow: ellipsis; }
.svc-badge .icon { width: 17px; height: 17px; color: var(--frost); }

.svc-list { display: grid; gap: 8px; }
.svc-list[hidden] { display: none; }

.svc-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--ice-line);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.svc-row::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--frost);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.svc-row.is-active { border-color: var(--line); background: var(--ice); box-shadow: 0 16px 30px -26px rgba(10, 123, 194, 0.7); }
.svc-row.is-active::before { opacity: 1; }
.svc-row-text { flex: 1; min-width: 0; }
.svc-row h3 { margin: 0 0 3px; font-size: 1.1rem; }
.svc-row p { margin: 0; font-size: 0.94rem; line-height: 1.4; color: var(--slate); }

.svc-book {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px 0 16px;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--frost-ink);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.svc-book .icon { width: 16px; height: 16px; transition: transform 0.2s ease; }
.svc-row.is-active .svc-book,
.svc-book:hover { background: var(--frost-btn); border-color: var(--frost-btn); color: var(--white); }
.svc-book:hover .icon { transform: translateX(2px); }

@media (min-width: 960px) {
  .svc-split { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .svc-panels { order: 1; }
  .svc-feature {
    order: 2;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    aspect-ratio: 4 / 4.2;
    max-height: 600px;
    width: 100%;
  }
  .svc-feature-info {
    left: 18px; right: 18px; bottom: 18px;
    grid-template-columns: 1fr;
    grid-template-areas: "tag" "title" "badge";
    padding: 16px 20px 18px;
    gap: 8px;
  }
  .svc-badge { justify-self: start; font-size: 0.9rem; }
  .svc-list { gap: 10px; }
  .svc-row { padding: 18px 18px 18px 24px; }
  .svc-row h3 { font-size: 1.24rem; }
  .svc-row p { font-size: 0.98rem; }
}

/* ---------- 10. Desert proof (before / after) ---------- */
.desert-grid { display: grid; gap: 32px; align-items: center; }
.desert-copy p { font-size: 1.12rem; color: var(--slate); }
.desert-copy .text-link { margin-top: 4px; }

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--ice-line);
  user-select: none;
  touch-action: pan-y;
  background: var(--baby);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(11, 34, 56, 0.2);
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--frost-ink);
  box-shadow: 0 6px 18px rgba(11, 34, 56, 0.3);
}
.ba-knob .icon { width: 26px; height: 26px; }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-range:focus-visible ~ .ba-line .ba-knob { outline: 3px solid var(--sun); outline-offset: 3px; }
.ba-tag {
  position: absolute;
  top: 14px;
  padding: 6px 12px;
  border-radius: var(--pill);
  font-size: 0.85rem;
  font-weight: 780;
  pointer-events: none;
}
.ba-tag-before { left: 14px; background: rgba(255, 255, 255, 0.92); color: var(--sun-ink); }
.ba-tag-after { right: 14px; background: rgba(255, 255, 255, 0.92); color: var(--frost-ink); }

@media (min-width: 900px) {
  .desert-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}

/* ---------- 11. Brand banner + recent work ---------- */
.brand-banner {
  display: grid;
  gap: 22px;
  padding: 26px 20px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff8f1 0%, #ffffff 70%);
  border: 1.5px solid #f5c79c;
  box-shadow: 0 24px 50px -42px rgba(226, 98, 26, 0.7);
  text-align: center;
}
.bb-copy h2 { font-size: clamp(1.5rem, 5vw, 1.85rem); margin-bottom: 6px; }
.bb-copy p { margin: 0; color: var(--slate); font-size: 1.02rem; }

/* Logo grid: one outlined block split by hairlines */
.bb-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ice-line);
  border-radius: var(--radius-m);
  background: var(--white);
  overflow: hidden;
}
.bb-logos li {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px 6px;
  border-right: 1px solid var(--ice-line);
  border-bottom: 1px solid var(--ice-line);
  transition: background-color 0.2s ease;
}
.bb-logos li:nth-child(3n) { border-right: 0; }
.bb-logos li:nth-child(n+4) { border-bottom: 0; }
.bb-logos li:hover { background: #fbfdff; }

/* Full-color brand logos */
.bb-logos img {
  width: auto;
  max-width: 100%;
  height: 26px;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bb-logos li:hover img,
.bb-logos li:hover .wm-hoshizaki { transform: scale(1.06); }
.bb-logos .logo-goodman { height: 24px; }
.bb-logos .logo-trane { height: 26px; }
.bb-logos .logo-carrier { height: 34px; }
.bb-logos .logo-lennox { height: 22px; }
.bb-logos .logo-rheem { height: 38px; }
.wm-hoshizaki {
  display: inline-block;
  color: #0a4ea2;
  font-size: 0.78rem;
  font-weight: 880;
  font-style: italic;
  font-stretch: 112%;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 400px) {
  .bb-logos .logo-goodman { height: 26px; }
  .bb-logos .logo-trane { height: 28px; }
  .bb-logos .logo-carrier { height: 36px; }
  .bb-logos .logo-lennox { height: 24px; }
  .bb-logos .logo-rheem { height: 40px; }
  .wm-hoshizaki { font-size: 0.9rem; }
}

.bb-ctas { display: grid; gap: 10px; }
.bb-ctas .btn { width: 100%; }

@media (min-width: 720px) {
  .brand-banner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "copy ctas" "logos logos";
    align-items: center;
    text-align: left;
    padding: 28px 30px;
    column-gap: 28px;
  }
  .bb-copy { grid-area: copy; }
  .bb-logos { grid-area: logos; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bb-logos li { border-bottom: 0; border-right: 1px solid var(--ice-line); }
  .bb-logos li:last-child { border-right: 0; }
  .bb-ctas { grid-area: ctas; display: flex; gap: 10px; }
  .bb-ctas .btn { width: auto; }
}

@media (min-width: 1140px) {
  .brand-banner {
    grid-template-columns: minmax(0, 1fr) 360px auto;
    grid-template-areas: "copy logos ctas";
    column-gap: 26px;
    padding: 22px 24px 22px 36px;
    border-radius: 32px;
  }
  .bb-copy h2 { font-size: 1.36rem; }
  .bb-copy p { font-size: 0.98rem; }
  .bb-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bb-logos li { min-height: 56px; border-bottom: 1px solid var(--ice-line); }
  .bb-logos .logo-goodman { height: 28px; }
  .bb-logos .logo-trane { height: 30px; }
  .bb-logos .logo-carrier { height: 38px; }
  .bb-logos .logo-lennox { height: 25px; }
  .bb-logos .logo-rheem { height: 44px; }
  .bb-logos li:last-child { border-right: 0; }
  .bb-logos li:nth-child(3n) { border-right: 0; }
  .bb-logos li:nth-child(n+4) { border-bottom: 0; }
}

.work { margin-top: clamp(40px, 6vw, 64px); }
.work-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.work-head h3 { font-size: clamp(1.4rem, 4.4vw, 1.9rem); margin: 0; }

.work-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.work-strip figure { margin: 0; scroll-snap-align: start; }
.work-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-m);
  border: 1px solid var(--ice-line);
}
.work-strip figcaption { font-size: 0.92rem; color: var(--slate); margin-top: 8px; }

@media (min-width: 760px) { .work-strip { grid-auto-columns: 40%; } }
@media (min-width: 1040px) { .work-strip { grid-auto-columns: calc((100% - 56px) / 5); } }

/* ---------- 12. Mid-page CTA card ---------- */
.push-card {
  display: grid;
  gap: 22px;
  padding: 14px 14px 22px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--ice-line);
  box-shadow: var(--shadow-soft);
}
.push-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--baby);
}
.push-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.push-copy { padding: 0 8px; }
.push-copy h2 { font-size: clamp(2rem, 6.4vw, 3.3rem); margin-bottom: 14px; }
.push-copy .hot {
  background: linear-gradient(100deg, #c9500a 0%, #e86a16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.push-lines { font-size: 1.15rem; line-height: 1.55; color: var(--slate); margin-bottom: 24px; }

@media (min-width: 900px) {
  .push-card { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 48px; padding: 16px; }
  .push-photo { aspect-ratio: 4 / 3.4; }
  .push-copy { padding: 16px 32px 16px 0; }
}

/* ---------- 13. Reviews (dark navy band, white cards) ---------- */
.reviews {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 95% 0%, rgba(0, 144, 200, 0.22), transparent 70%),
    var(--night);
}
.reviews-head { display: grid; gap: 22px; margin-bottom: 28px; }
.reviews-title h2 { margin: 0; color: var(--white); }

.reviews-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rv-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px 9px 9px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 1.2;
}
.rv-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  flex: none;
}
.rv-logo svg { width: 26px; height: 26px; }
.rv-logo-bbb { background: var(--bbb); color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.85); }
.rv-logo-bbb .icon { width: 16px; height: 21px; }
.rv-stat strong { font-size: 1.4rem; font-weight: 860; font-stretch: 112%; color: var(--white); margin-right: 8px; vertical-align: -2px; }
.rv-stat .stars .icon { width: 14px; height: 14px; }
.rv-stat small { display: block; margin-top: 3px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }

.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel-nav button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.carousel-nav button:hover:not(:disabled) { background: var(--white); color: var(--night); border-color: var(--white); }
.carousel-nav button:disabled { opacity: 0.3; cursor: default; }
.carousel-nav .icon { width: 22px; height: 22px; }

/* Phones: the three stats sit in one compact row */
@media (max-width: 639px) {
  .reviews-bar { gap: 14px; }
  .rv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .rv-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 10px; }
  .rv-logo { width: 34px; height: 34px; }
  .rv-logo svg { width: 22px; height: 22px; }
  .rv-logo-bbb .icon { width: 14px; height: 18px; }
  .rv-stat strong { display: block; margin: 0 0 4px; font-size: 1.3rem; }
  .rv-stat .stars .icon { width: 12px; height: 12px; }
  .rv-stat small { font-size: 0.72rem; }
  .carousel-nav { margin-left: auto; }
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 18px;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }

@media (min-width: 640px) { .review-track { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .review-track { grid-auto-columns: 31%; } }
@media (min-width: 1100px) {
  .review-track {
    grid-auto-columns: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 42px) / 4);
    padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  }
}

.rcard {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 260px;
  padding: 22px;
  border-radius: var(--radius-m);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 40px -30px rgba(0, 0, 0, 0.6);
}
.rc-top { display: flex; align-items: center; gap: 12px; width: 100%; }
.r-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 850;
  font-size: 1.1rem;
  text-transform: uppercase;
  flex: none;
}
.av-1 { background: #0a7bc2; }
.av-2 { background: #d4560c; }
.av-3 { background: #1f8a5f; }
.av-4 { background: #6a4fc9; }
.av-5 { background: #c43d70; }
.av-6 { background: #0d7f91; }
.rc-who { flex: 1; min-width: 0; line-height: 1.25; }
.rc-who strong { display: block; font-size: 1.02rem; color: var(--night); }
.rc-who span { font-size: 0.85rem; color: var(--slate); }
.rc-src { width: 24px; height: 24px; flex: none; align-self: flex-start; }
.rcard .stars .icon { width: 18px; height: 18px; }

.rc-text {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.55;
  font-weight: 520;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}
.rc-text p { margin: 0; }
.rc-text.is-open { display: block; -webkit-line-clamp: unset; line-clamp: none; }
.rc-more {
  margin-top: -6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--frost-ink);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rc-tag {
  margin-top: auto;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--baby);
  border: 1px solid var(--line);
  color: var(--frost-ink);
  font-size: 0.8rem;
  font-weight: 760;
}

.reviews-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 10px; }
.reviews .text-link { color: var(--frost-light); }

/* ---------- 14. FAQ accordion ---------- */
.faq-grid { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
}

.accordion { display: grid; gap: 10px; }
.acc-item {
  padding: 0 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--ice-line);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.acc-item:hover { border-color: var(--line); }
.acc-item:has(.acc-btn[aria-expanded="true"]) { border-color: var(--line); background: var(--ice); box-shadow: 0 16px 34px -30px rgba(10, 123, 194, 0.8); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 760;
  font-stretch: 106%;
  line-height: 1.3;
  color: var(--night);
  text-wrap: pretty;
}
.acc-sign {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--baby);
  border: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.acc-sign::before,
.acc-sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2.5px;
  margin: -1.25px 0 0 -7px;
  border-radius: 2px;
  background: var(--frost-ink);
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.acc-sign::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-sign { background: var(--frost-btn); border-color: var(--frost-btn); }
.acc-btn[aria-expanded="true"] .acc-sign::before,
.acc-btn[aria-expanded="true"] .acc-sign::after { background: var(--white); }
.acc-btn[aria-expanded="true"] .acc-sign::after { transform: rotate(0deg); }

.acc-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease;
}
.acc-panel-inner { padding: 0 48px 20px 0; color: var(--slate); font-size: 1.04rem; }

/* ---------- 15. Closing CTA ---------- */
.section-closing { padding-top: 0; }
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 8vw, 88px) clamp(22px, 5vw, 60px);
  border-radius: 28px;
  background: linear-gradient(180deg, #dbf0fd 0%, #f1f9ff 100%);
  border: 1px solid var(--line);
  text-align: center;
}
.closing .snow { z-index: -1; }
.closing::before,
.closing::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230090c8' stroke-width='0.6' stroke-linecap='round'%3E%3Cpath d='M12 12L12 2M12 5.8L9.88 3.68M12 5.8L14.12 3.68M12 12L20.66 7M17.37 8.9L18.15 6M17.37 8.9L20.27 9.68M12 12L20.66 17M17.37 15.1L20.27 14.32M17.37 15.1L18.15 18M12 12L12 22M12 18.2L14.12 20.32M12 18.2L9.88 20.32M12 12L3.34 17M6.63 15.1L5.85 18M6.63 15.1L3.73 14.32M12 12L3.34 7M6.63 8.9L3.73 9.68M6.63 8.9L5.85 6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.closing::before { left: -70px; top: -70px; }
.closing::after { right: -60px; bottom: -80px; width: 260px; height: 260px; }
.closing h2 {
  font-size: clamp(2.4rem, 8.5vw, 4.4rem);
  font-stretch: 122%;
  line-height: 0.95;
  margin-bottom: 14px;
}
.closing p { font-size: 1.12rem; color: var(--slate); max-width: 40ch; margin: 0 auto 28px; }
.closing .cta-pair { justify-content: center; max-width: 440px; margin: 0 auto; }
@media (min-width: 640px) { .closing .cta-pair { max-width: none; } }

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--ice);
  border-top: 1px solid var(--ice-line);
  color: var(--slate);
  padding: 48px 0 26px;
  font-size: 0.95rem;
}
.site-footer a { color: var(--night); }

/* Phones: brand, then a contact card, then two link columns side by side */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 20px;
}
.footer-brand,
.footer-contact { grid-column: 1 / -1; }

.footer-logo {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--ice-line);
}
.footer-logo img { height: 60px; width: auto; }
.footer-tag { margin: 16px 0 0; max-width: 34ch; line-height: 1.55; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid var(--ice-line);
  font-size: 0.82rem;
  font-weight: 720;
  color: var(--night);
}
.footer-badges .icon { width: 16px; height: 16px; color: var(--frost); }
.footer-badges li:first-child .icon { color: var(--bbb); fill: currentColor; }

.footer-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frost-ink);
}
.footer-h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }

.footer-contact {
  padding: 20px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--ice-line);
}
.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.5rem;
  font-weight: 860;
  font-stretch: 112%;
  line-height: 1.1;
  text-decoration: none;
}
.footer-call .icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--sun-grad);
  color: var(--white);
}
.footer-call:hover { color: var(--frost-ink); }
.footer-line { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.footer-line .icon { width: 18px; height: 18px; color: var(--frost); }
.footer-hours {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.footer-hours div { display: flex; justify-content: space-between; gap: 12px; }
.footer-hours dt { font-weight: 700; color: var(--night); }
.footer-hours dd { margin: 0; }

.footer-links { display: grid; gap: 11px; }
.footer-links a { font-weight: 620; text-decoration: none; }
.footer-links a:hover { color: var(--frost-ink); text-decoration: underline; text-underline-offset: 3px; }

.footer-base {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--ice-line);
  font-size: 0.85rem;
  text-align: center;
  color: var(--slate);
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--slate) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.footer-credit strong { color: var(--night); font-weight: 780; }
.footer-credit:hover { border-color: var(--frost); box-shadow: 0 8px 18px -12px rgba(10, 123, 194, 0.6); }

@media (min-width: 720px) {
  .footer-grid { gap: 36px 32px; }
  .footer-brand,
  .footer-contact { grid-column: auto; }
  .footer-base { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Laptop: four columns, contact loses its card */
@media (min-width: 1000px) {
  .site-footer { padding: 64px 0 28px; }
  .footer-grid { grid-template-columns: 1.4fr 1.15fr 0.9fr 0.75fr; gap: 48px; }
  .footer-contact { padding: 0; background: none; border: 0; border-radius: 0; }
  .footer-col,
  .footer-contact { padding-top: 6px; }
}

/* =========================================================
   Schedule page
   ========================================================= */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 6vw, 60px) 0 clamp(104px, 14vw, 150px);
  background:
    radial-gradient(55% 70% at 90% 10%, rgba(169, 221, 250, 0.55), transparent 70%),
    linear-gradient(180deg, #e1f2fd 0%, #eef8ff 60%, #f7fbff 100%);
  border-bottom: 1px solid var(--ice-line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 9.5vw, 4.4rem);
  font-stretch: 120%;
  line-height: 0.95;
  max-width: 14ch;
  margin-bottom: 14px;
}
.page-hero h1 .h1-a {
  background: linear-gradient(100deg, #0670b5 10%, #1d9ad8 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p { font-size: 1.12rem; max-width: 46ch; color: var(--slate); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--frost-ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.back-link:hover { border-color: var(--frost); background: var(--white); }
.back-link .icon { width: 18px; height: 18px; }

.book {
  position: relative;
  margin-top: clamp(-120px, -10vw, -72px);
  padding-bottom: var(--section-y);
}
.book-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 980px) {
  .book-grid { grid-template-columns: 1.45fr 0.85fr; gap: 28px; }
  .book-aside { position: sticky; top: calc(var(--header-h) + 20px); }
}

.form-card {
  padding: clamp(22px, 5vw, 44px);
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: 0 30px 70px -44px rgba(11, 34, 56, 0.5);
  border: 1px solid var(--ice-line);
}

.fset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.fset legend,
.flabel {
  display: block;
  padding: 0;
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-weight: 780;
  font-stretch: 106%;
  color: var(--night);
}
.flabel { font-size: 1rem; margin-bottom: 8px; }
.req { color: var(--frost-ink); }
.opt { font-weight: 500; color: var(--slate); font-size: 0.9rem; }

/* Chip radios */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-weight: 650;
  font-size: 0.98rem;
  color: var(--ink);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip span .icon { width: 18px; height: 18px; color: var(--frost); }
.chip input:hover + span { border-color: var(--frost); }
.chip input:checked + span { background: var(--frost-btn); border-color: var(--frost-btn); color: var(--white); box-shadow: 0 10px 20px -12px rgba(10, 123, 194, 0.85); }
.chip input:checked + span .icon { color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Segmented control */
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 5px;
  gap: 5px;
  border-radius: var(--pill);
  background: var(--ice);
  border: 1px solid var(--line);
}
.seg .chip span {
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.15;
}
.seg .chip input:checked + span { background: var(--white); color: var(--frost-ink); box-shadow: 0 4px 14px -6px rgba(10, 123, 194, 0.55), 0 0 0 1px var(--line); }

.field-row { display: grid; gap: 16px; margin-bottom: 30px; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font: inherit;
  font-size: 1.02rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2238' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #8195a8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--frost-btn);
  box-shadow: 0 0 0 4px rgba(10, 123, 194, 0.16);
}
.field.has-error input,
.field.has-error select { border-color: #c2341b; }
.ferror { display: none; margin-top: 6px; font-size: 0.9rem; font-weight: 650; color: #c2341b; }
.has-error .ferror { display: block; }
.fset.has-error .ferror { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit-row { display: grid; gap: 14px; }
.submit-row .btn { width: 100%; min-height: 62px; font-size: 1.15rem; }
.submit-row .btn[disabled] { opacity: 0.7; cursor: progress; }
.form-note { font-size: 0.9rem; color: var(--slate); text-align: center; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; background: #fdecea; color: #8a1f0c; font-weight: 650; }
.form-status.is-visible { display: block; }

/* Success state */
.success { text-align: center; padding: clamp(20px, 5vw, 40px) 0; }
.success[hidden] { display: none; }
.success-mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--frost-btn);
  color: var(--white);
  animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.success-mark .icon { width: 42px; height: 42px; }
.success h2 { font-size: clamp(2rem, 7vw, 2.8rem); }
.success p { font-size: 1.1rem; color: var(--slate); max-width: 40ch; margin-inline: auto; }
.success .cta-pair { justify-content: center; margin-top: 26px; }

@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* Aside cards */
.aside-card {
  padding: 24px;
  border-radius: var(--radius-l);
  background: var(--white);
  border: 1px solid var(--ice-line);
  margin-bottom: 16px;
}
.aside-card h2 { font-size: 1.45rem; margin-bottom: 10px; }
/* "Need it fixed today?" card: warm outline like the brand banner */
.aside-now {
  background: linear-gradient(180deg, #fff8f1 0%, #ffffff 75%);
  border: 1.5px solid #f5c79c;
  color: var(--slate);
  box-shadow: 0 24px 50px -40px rgba(226, 98, 26, 0.75);
}
.aside-now .btn { width: 100%; margin-top: 16px; }

.steps { counter-reset: step; display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-left: 46px; line-height: 1.45; color: var(--slate); }
.steps li strong { display: block; color: var(--night); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--baby);
  border: 1px solid var(--line);
  color: var(--frost-ink);
  font-weight: 850;
}

.mini-trust { display: grid; gap: 12px; }
.mini-trust li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--slate); }
.mini-trust strong { color: var(--night); }
.mini-trust .mt-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--frost-ink);
  flex: none;
}
.mini-trust .mt-icon .icon { width: 20px; height: 20px; }
.mini-trust .mt-bbb { background: var(--bbb); border-color: var(--bbb); color: var(--white); }
.mini-trust .mt-bbb .icon { width: 16px; height: 20px; fill: currentColor; }


/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .hv-orbit, .hv-badge, .hero-pill-badge::before { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.success:focus { outline: none; }
