/* =====================================================================
   Solstice Heating & Cooling — Lead-Gen Site Stylesheet
   Mobile-first, fast-loading, zero dependencies.
   Brand colors are CSS variables — change them once below to rebrand.
   ===================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Brand palette — cool blue (cooling) + warm amber (heating) */
  --navy:      #0b2545;
  --blue:      #1565c0;
  --blue-dark: #0d47a1;
  --blue-soft: #e8f1fb;
  --orange:    #f59e0b;
  --orange-dk: #d97706;

  --ink:       #14202e;
  --body:      #44525f;
  --muted:     #6b7785;
  --line:      #e3e8ee;
  --bg:        #ffffff;
  --bg-alt:    #f6f9fc;

  --ok:        #15803d;
  --star:      #f5b50a;

  --maxw: 1160px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.09);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.18);
  --grad-warm: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  --grad-cool: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
  --grad-brand: linear-gradient(120deg, #0b2545 0%, #123a6b 55%, #1565c0 100%);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  line-height: 1.65;
  font-size: 17px;
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.16; font-weight: 800; font-family: var(--font-head); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
ul { margin: 0 0 1rem 1.1rem; }
li { margin-bottom: 0.4rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #cdd9e7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-dark); margin-bottom: 16px;
  background: var(--blue-soft); padding: 7px 15px; border-radius: 50px;
}
.lead { font-size: 1.18rem; color: var(--body); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1.02rem; line-height: 1; cursor: pointer;
  padding: 15px 26px; border-radius: 12px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background-image: var(--grad-warm); color: #fff; box-shadow: 0 10px 24px rgba(249,115,22,.34); }
.btn--primary:hover { filter: brightness(1.06); color: #fff; box-shadow: 0 14px 30px rgba(249,115,22,.42); }
.btn--call { background-image: linear-gradient(135deg, #22a85a, #15803d); color: #fff; box-shadow: 0 10px 24px rgba(21,128,61,.30); }
.btn--call:hover { filter: brightness(1.06); color: #fff; box-shadow: 0 14px 30px rgba(21,128,61,.4); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 18px 34px; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy); color: #b9c7d8; font-size: 0.86rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.topbar a { color: #dce6f1; }
.topbar__hours { display: flex; align-items: center; gap: 7px; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.badge-247 { color: var(--orange); font-weight: 700; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(11,37,69,.04);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.18rem; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 46px; height: 46px; flex: none;
  background: url("../assets/logo.png") center/contain no-repeat;
  display: grid; place-items: center;
  color: transparent; font-size: 0; /* hide the legacy "S" text; logo image carries the mark */
}
.brand__name small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.nav__links a:hover { color: var(--blue); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.nav__phone:hover { color: var(--blue); text-decoration: none; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #eaf1f9;
  background:
    linear-gradient(100deg, rgba(8,26,51,.95) 0%, rgba(8,26,51,.84) 36%, rgba(8,26,51,.42) 64%, rgba(8,26,51,.12) 100%),
    url("../assets/hero-home.png") center right/cover no-repeat, var(--navy);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.0)); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 72px 0; }
.hero h1 { color: #fff; }
.hero__sub { font-size: 1.2rem; color: #cfe0f2; margin: 16px 0 26px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; font-size: 0.95rem; color: #d8e6f5; }
.hero__trust span { display: flex; align-items: center; gap: 8px; }
.hero__trust strong { color: #fff; }

/* ---------- Lead form card ---------- */
.lead-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 28px;
}
.lead-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.lead-card .sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; text-align: center; }
.form-success {
  display: none; background: #eaf7ef; border: 1.5px solid #bfe5cd; color: var(--ok);
  padding: 16px; border-radius: 10px; font-weight: 600; text-align: center;
}
.form-success.show { display: block; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--blue-soft); border-top: 1px solid #d6e6f8; border-bottom: 1px solid #d6e6f8; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px; padding: 22px 20px; text-align: center; }
.trust-strip__item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.trust-strip__item .ic { font-size: 1.4rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background-image: var(--grad-warm); border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0; transition: opacity .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px; background-image: var(--grad-cool);
  display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(21,101,192,.30);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.98rem; margin-bottom: 14px; }
.card__link { font-weight: 700; font-size: 0.95rem; }
.card__link::after { content: " →"; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; }
.step__num {
  counter-increment: step; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem;
}
.step__num::before { content: counter(step); }

/* ---------- Testimonials ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.review p { font-style: italic; color: var(--ink); }
.review__by { font-weight: 700; color: var(--ink); font-style: normal; margin-top: 12px; font-size: 0.95rem; }
.review__by span { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checklist { list-style: none; margin: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ok); color: #fff; font-size: 0.8rem; font-weight: 800; display: grid; place-items: center;
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 52px 18px 20px; font-size: 1.05rem; font-weight: 700; color: var(--ink); position: relative;
}
.faq__q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue); transition: transform .2s;
}
.faq__item.open .faq__q::after { content: "−"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 20px; }
.faq__item.open .faq__a { max-height: 500px; padding: 0 20px 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, rgba(11,37,69,.92) 0%, rgba(13,71,161,.78) 100%),
              url("../assets/cta-tech.png") center 30%/cover no-repeat;
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dce9f7; max-width: 620px; margin: 10px auto 24px; font-size: 1.12rem; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Areas list ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 14px 16px;
  font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 9px; transition: .15s;
}
.area-pill:hover { border-color: var(--blue); background: var(--blue-soft); text-decoration: none; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); color: #d6e3f2; padding: 56px 0; }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { color: #c2d3e6; max-width: 680px; margin-top: 12px; font-size: 1.12rem; }
.crumbs { font-size: 0.85rem; color: #91a8c2; margin-bottom: 14px; }
.crumbs a { color: #bcd0e8; }

/* ---------- Prose (article/service body) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { margin-left: 1.2rem; }
.prose .callout {
  background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 8px;
  padding: 18px 20px; margin: 24px 0;
}
.prose .callout strong { color: var(--navy); }

.layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: 100px; }
.sidebar .lead-card { padding: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9fb3cc; font-size: 0.95rem; padding-top: 56px; }
.footer a { color: #cdd9e7; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer__brand .brand { color: #fff; margin-bottom: 14px; }
.footer__brand .brand__name { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #7e93ad; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 52px 0; }
  .split, .layout { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { position: static; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 0; box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .28s ease; z-index: 55;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { margin: 0; border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: 15px 20px; }
  .nav__toggle { display: block; }
  .nav__cta .btn { display: none; }
  .nav__phone span { display: none; }
  .grid--3, .grid--2, .grid--4, .areas-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 48px 0; }

  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    box-shadow: 0 -4px 20px rgba(0,0,0,.18);
  }
  .mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px; font-weight: 800; color: #fff; font-size: 1.02rem; }
  .mobile-bar a:hover { text-decoration: none; }
  .mobile-bar .mb-call { background: var(--ok); }
  .mobile-bar .mb-quote { background: var(--orange); }
  body { padding-bottom: 56px; }
}

/* ---------- Accessibility skip link ---------- */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; transition: top .15s ease;
}
.skip-link:focus { top: 8px; outline: 3px solid var(--orange); text-decoration: none; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
}
.cookie-banner p { margin: 0; font-size: 0.95rem; color: var(--body); flex: 1 1 320px; }
.cookie-banner__btns { display: flex; gap: 10px; flex: none; }
.cookie-banner .btn { padding: 11px 20px; font-size: 0.95rem; }
@media (max-width: 760px) {
  .cookie-banner { bottom: 64px; padding: 16px; }
  .cookie-banner__btns { width: 100%; }
  .cookie-banner__btns .btn { flex: 1; }
}

/* ===================================================================
   Chat widget (Solstice Assistant) — self-contained lead catcher
   =================================================================== */
.cw-launch {
  position: fixed; right: 22px; bottom: 24px; z-index: 95;
  display: flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff; border: 0; cursor: pointer;
  padding: 14px 20px 14px 16px; border-radius: 50px; font: inherit; font-weight: 800;
  box-shadow: 0 10px 28px rgba(249,115,22,.42); transition: transform .15s, box-shadow .15s, background .15s;
}
.cw-launch:hover { transform: translateY(-2px); background: var(--orange-dk); box-shadow: 0 14px 34px rgba(249,115,22,.5); }
.cw-launch__ic { width: 26px; height: 26px; display: grid; place-items: center; font-size: 1.3rem; }
.cw-launch__dot { position: absolute; top: 10px; right: 16px; width: 10px; height: 10px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--orange); }
.cw-launch.cw-hidden { display: none; }

/* Pulse to draw the eye, once */
@keyframes cwPulse { 0% { box-shadow: 0 10px 28px rgba(249,115,22,.42), 0 0 0 0 rgba(249,115,22,.5);} 70% { box-shadow: 0 10px 28px rgba(249,115,22,.42), 0 0 0 16px rgba(249,115,22,0);} 100% { box-shadow: 0 10px 28px rgba(249,115,22,.42), 0 0 0 0 rgba(249,115,22,0);} }
.cw-launch.cw-pulse { animation: cwPulse 2.2s ease-out 3; }

/* Teaser bubble */
.cw-teaser {
  position: fixed; right: 22px; bottom: 84px; z-index: 95; max-width: 250px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px 14px 4px 14px;
  padding: 14px 16px; box-shadow: var(--shadow-lg); font-size: 0.95rem; font-weight: 600;
  animation: cwFade .3s ease;
}
.cw-teaser button { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 1rem; cursor: pointer; line-height: 1; }
.cw-teaser.cw-hidden { display: none; }

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

/* Panel */
.cw-panel {
  position: fixed; right: 22px; bottom: 24px; z-index: 96;
  width: 380px; max-width: calc(100vw - 32px); height: 580px; max-height: calc(100vh - 48px);
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden; animation: cwFade .2s ease;
}
.cw-panel.cw-open { display: flex; }

.cw-head { background: linear-gradient(120deg, var(--navy), var(--blue-dark)); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.cw-head__logo { width: 40px; height: 40px; border-radius: 10px; background: #fff url("../assets/logo.png") center/76% no-repeat; flex: none; }
.cw-head__t { flex: 1; line-height: 1.25; }
.cw-head__t strong { display: block; font-size: 1.02rem; }
.cw-head__t span { font-size: 0.8rem; color: #bcd0e8; display: flex; align-items: center; gap: 6px; }
.cw-head__t span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #38d16a; display: inline-block; }
.cw-head__x { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; }
.cw-head__x:hover { background: rgba(255,255,255,.3); }

.cw-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; }
.cw-msg { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: 0.95rem; line-height: 1.5; }
.cw-msg a { font-weight: 700; }
.cw-msg--bot { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.cw-msg--user { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.cw-msg--user a { color: #fff; }
.cw-typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; padding: 12px 16px; display: flex; gap: 4px; }
.cw-typing span { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; animation: cwBlink 1.2s infinite both; }
.cw-typing span:nth-child(2) { animation-delay: .2s; } .cw-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes cwBlink { 0%,80%,100% { opacity: .3; } 40% { opacity: 1; } }

.cw-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; background: var(--bg-alt); }
.cw-chip { background: #fff; border: 1.5px solid var(--blue); color: var(--blue); border-radius: 50px; padding: 8px 14px; font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: .12s; }
.cw-chip:hover { background: var(--blue); color: #fff; }

.cw-foot { border-top: 1px solid var(--line); padding: 10px; display: flex; gap: 8px; background: #fff; }
.cw-foot input { flex: 1; border: 1.5px solid var(--line); border-radius: 50px; padding: 11px 16px; font: inherit; font-size: 0.95rem; }
.cw-foot input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.cw-foot button { background: var(--orange); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; flex: none; }
.cw-foot button:hover { background: var(--orange-dk); }
.cw-foot__note { font-size: 0.72rem; color: var(--muted); text-align: center; padding: 0 10px 8px; background: #fff; }
.cw-foot__note a { color: var(--muted); text-decoration: underline; }

@media (max-width: 760px) {
  .cw-launch { right: 14px; bottom: 70px; padding: 13px 18px 13px 14px; }
  .cw-launch__dot { top: 9px; right: 14px; }
  .cw-teaser { right: 14px; bottom: 130px; }
  .cw-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
}

/* ===================================================================
   Polish: scroll-reveal motion, sticky-header shadow, back-to-top
   =================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

.header { transition: box-shadow .2s ease, background .2s ease; }
.header.scrolled { box-shadow: 0 8px 24px rgba(11,37,69,.12); background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); }

.to-top {
  position: fixed; left: 22px; bottom: 24px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 1.2rem; line-height: 1;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--blue); transform: translateY(-3px); }

/* Refined image framing for in-content photos */
.prose > img, .split img { border-radius: var(--radius); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 760px) { .to-top { left: 14px; bottom: 124px; width: 42px; height: 42px; } }

/* ---------- Brands we service ---------- */
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.brand-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 50px;
  padding: 12px 22px; font-weight: 800; color: var(--navy); font-family: var(--font-head);
  letter-spacing: .01em; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.brand-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }

/* ===================================================================
   HVAC flavor: certification badges, season-duality, frosted hero form
   =================================================================== */

/* Certification / trust badges strip */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.badge {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px;
  box-shadow: var(--shadow-sm); font-weight: 700; color: var(--navy); font-size: 0.95rem;
}
.badge .badge__ic {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background-image: var(--grad-cool); color: #fff; font-size: 1.1rem; flex: none;
}
.badge small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }

/* "Comfort in every season" duality section */
.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.season {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.season:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.season__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.season:hover .season__img { transform: scale(1.06); }
.season__body { position: relative; z-index: 2; padding: 30px; width: 100%; }
.season__tag {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.78rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 50px; margin-bottom: 12px;
}
.season h3 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.season p { color: #eaf1f9; margin-bottom: 16px; font-size: 1rem; }
.season--summer { background: var(--navy); }
.season--summer .season__img { background-image: linear-gradient(0deg, rgba(120,53,15,.72), rgba(180,83,9,.30) 55%, rgba(0,0,0,.05)); }
.season--summer .season__tag { background: var(--grad-warm); color: #fff; }
.season--winter .season__img { background-image: linear-gradient(0deg, rgba(8,26,51,.80), rgba(13,71,161,.34) 55%, rgba(0,0,0,.05)); }
.season--winter .season__tag { background: var(--grad-cool); color: #fff; }
.season .btn--ghost-light { backdrop-filter: blur(2px); }

/* Frosted, elevated hero lead form + gradient top accent */
.hero .lead-card { position: relative; border: 1px solid rgba(255,255,255,.6); }
.hero .lead-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%;
  background-image: var(--grad-warm); border-radius: var(--radius) var(--radius) 0 0;
}
.lead-card__badge {
  display: inline-flex; align-items: center; gap: 7px; background: #eaf7ef; color: var(--ok);
  font-weight: 700; font-size: 0.82rem; padding: 5px 12px; border-radius: 50px; margin-bottom: 12px;
}

@media (max-width: 760px) {
  .seasons { grid-template-columns: 1fr; }
  .cta-band { background-attachment: scroll; }
}
