/* ============================================================
   Northwind Heating & Air template
   Palette: slate/ink neutrals + dual accent (warm coral = heating,
   ice blue = cooling), gradient where the two meet.
   Type: Space Grotesk (display) + Inter (body).
   Crisp, technical, comfort-focused. No decorative gimmicks.
   ============================================================ */

@import url("../fonts/fonts.css");

:root {
  --ink: #0B131B;
  --ink-2: #131F2A;
  --ink-3: #1C2C3B;
  --paper: #F3F6F7;
  --paper-alt: #E7EEF1;
  --white: #FFFFFF;
  --line: rgba(11, 19, 27, .13);
  --line-strong: rgba(11, 19, 27, .24);
  --line-light: rgba(255, 255, 255, .14);

  --coral: #FF6A45;
  --coral-hi: #FF8B69;
  --coral-deep: #C43E17;
  --ice: #2FC2E0;
  --ice-hi: #74DEF1;
  --ice-deep: #0E7E96;
  --gradient: linear-gradient(90deg, var(--coral), var(--ice));

  --slate: #4C5D68;
  --ink-text: #0E1922;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 18px 50px rgba(11, 19, 27, .16);
  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Defensive: several elements toggle the native `hidden` attribute from JS
   (e.g. #heroBarDone, #heroForm) but also carry their own unconditional
   `display: flex` rule for when they ARE shown. An author-stylesheet display
   rule beats the UA stylesheet's [hidden]{display:none}, so without this the
   hidden attribute silently does nothing and the element stays visible. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-text); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ice-deep); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section { padding-block: clamp(68px, 8.5vw, 116px); }
.section.alt { background: var(--paper-alt); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin: 14px 0 15px; }
.section-head p { font-size: 17.5px; color: var(--slate); margin: 0; }
.dark { background: var(--ink); color: rgba(243, 246, 247, .82); }
.dark h2, .dark h3, .dark h4 { color: var(--paper); }
.dark .section-head p { color: rgba(243, 246, 247, .68); }

/* ---------- eyebrow (gradient dash: the recurring heat/cool signature) ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ice-deep);
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--gradient); }
.eyebrow.light { color: var(--ice-hi); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  padding: 0 26px; height: 52px; border-radius: var(--radius-s);
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--ice-deep); color: #fff; }
.btn-primary:hover { background: var(--ice); color: var(--ink); transform: translateY(-2px); }
.btn-onlight { background: var(--ink); color: #fff; }
.btn-onlight:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-lg { height: 60px; padding: 0 34px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--ink-text); border: 1.5px solid var(--ink-text); }
.btn-ghost:hover { background: var(--ink-text); color: var(--paper); }

/* ---------- nav (transparent over hero, solid on scroll; text-based logo) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 800; color: #fff;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: inherit; }
.logo-mark { display: flex; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; letter-spacing: -.01em; color: inherit; }
.logo-text em { font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: inherit; opacity: .72; margin-top: 1px; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 14.5px; letter-spacing: .01em; opacity: .92; padding: 6px 0; position: relative; color: inherit; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gradient); transition: width .22s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; white-space: nowrap; color: inherit;
}
.nav-phone svg { color: var(--ice-hi); }
.nav .btn.nav-cta { height: 44px; padding: 0 20px; font-size: 14.5px; }
.nav.is-solid { background: rgba(11, 19, 27, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; box-shadow: 0 1px 0 var(--line-light); }
.nav.is-solid .nav-phone svg { color: var(--ice); }
/* color: inherit is load-bearing: a <button> resets colour to buttontext (black),
   which would paint the burger bars invisible on the dark/transparent nav. */
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; color: inherit; }
.nav-burger span { width: 24px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 790; background: var(--ink); color: #fff; display: none; flex-direction: column; justify-content: center; padding: 40px clamp(24px, 6vw, 48px); }
.menu-open .mobile-menu { display: flex; }
.mobile-menu a { text-decoration: none; }
.mobile-menu nav a { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 8vw, 42px); padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.mobile-menu .mm-foot { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu .nav-phone { font-size: 22px; }

/* ---------- hero : dual-mode heat/cool ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; padding-top: 76px; }
.hero-media { position: absolute; inset: 0; background: var(--ink); }
.hero-media-mode { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-media-mode.is-active { opacity: 1; }
.hero-media-mode img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1%,-1%,0); } }
.hero-wash { position: absolute; inset: 0; transition: background 1s ease; }
.hero[data-mode="heating"] .hero-wash {
  background:
    linear-gradient(155deg, rgba(255, 106, 69, .40) 0%, transparent 52%),
    linear-gradient(5deg, rgba(11,19,27,.94) 0%, rgba(11,19,27,.58) 42%, rgba(11,19,27,.42) 62%, rgba(11,19,27,.86) 100%);
}
.hero[data-mode="cooling"] .hero-wash {
  background:
    linear-gradient(155deg, rgba(47, 194, 224, .38) 0%, transparent 52%),
    linear-gradient(5deg, rgba(11,19,27,.94) 0%, rgba(11,19,27,.58) 42%, rgba(11,19,27,.42) 62%, rgba(11,19,27,.86) 100%);
}
.hero-in { position: relative; z-index: 2; width: 100%; padding-block: clamp(28px, 5vw, 46px) 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* mode toggle: segmented pill, sliding gradient-colored thumb */
.mode-toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); margin-bottom: clamp(22px, 3.5vw, 34px); }
.mode-thumb { position: absolute; top: 5px; left: 5px; width: calc(50% - 5px); height: calc(100% - 10px); border-radius: 999px; background: var(--coral); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .38s cubic-bezier(.2,.7,.2,1), background .38s ease; z-index: 0; }
.mode-toggle.m-heating .mode-thumb { transform: translateX(0); background: var(--coral); }
.mode-toggle.m-cooling .mode-thumb { transform: translateX(100%); background: var(--ice); }
.mode-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; cursor: pointer; color: rgba(255,255,255,.78); font-family: var(--font-body); font-weight: 600; font-size: 14.5px; padding: 11px 22px; border-radius: 999px; transition: color .25s ease; }
.mode-btn svg { width: 17px; height: 17px; flex: none; }
.mode-btn.is-active { color: var(--ink); }
.mode-toggle.m-heating .mode-btn[data-mode-btn="heating"] { color: #fff; }
.mode-toggle.m-cooling .mode-btn[data-mode-btn="cooling"] { color: var(--ink); }

.hero-copy { max-width: 780px; }
.hero h1 { color: #fff; font-weight: 700; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 16px 0 0; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 56ch; color: rgba(243, 246, 247, .92); margin: 18px auto 0; text-shadow: 0 1px 16px rgba(0,0,0,.4); }
.hero-load h1, .hero-load .mode-toggle, .hero-load .eyebrow, .hero-load .hero-sub, .hero-load .hero-cta-row, .hero-load .hero-dock { opacity: 0; transform: translateY(22px); }
.hero-ready h1, .hero-ready .mode-toggle, .hero-ready .eyebrow, .hero-ready .hero-sub, .hero-ready .hero-cta-row, .hero-ready .hero-dock { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.6,.2,1); }
.hero-ready .mode-toggle { transition-delay: .02s; }
.hero-ready .eyebrow { transition-delay: .08s; }
.hero-ready h1 { transition-delay: .16s; }
.hero-ready .hero-sub { transition-delay: .28s; }
.hero-ready .hero-cta-row { transition-delay: .36s; }
.hero-ready .hero-dock { transition-delay: .3s; }

.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.hero-call { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff;
  padding: 13px 24px 13px 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(11,19,27,.4); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.hero-call:hover { border-color: var(--ice-hi); background: rgba(11,19,27,.6); transform: translateY(-2px); }
.hero-call .hc-ic { width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--gradient); display: flex; align-items: center; justify-content: center; }
.hero-call small { display: block; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ice-hi); font-weight: 700; margin-bottom: 2px; text-align: left; }
.hero-call b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 29px); letter-spacing: -.02em; line-height: 1; }
.hero-book { text-decoration: none; color: #fff; font-weight: 600; font-size: 15px; padding: 15px 6px; border-bottom: 1.5px solid rgba(255,255,255,.45); transition: border-color .2s ease, opacity .2s; }
.hero-book:hover { border-color: var(--ice-hi); opacity: .88; }

/* ---------- hero dock: one bounded white form card, centered on the hero's axis ----------
   The card sits on its own centered column (.hero-dock-in is a .wrap with symmetric
   padding, flex-centered) so its centerX always equals the viewport centerX, matching
   .hero-in above it. Card max-width (780px, same as .hero-copy) keeps a wide gutter on
   both sides at desktop, which is what actually clears the fixed chat launcher/nudge in
   the bottom-right corner: verified with real geometry, not a right-padding shim. */
.hero-dock { position: relative; z-index: 3; margin-top: clamp(28px, 5vw, 48px); }
.hero-dock-in { display: flex; justify-content: center; padding-block: 0 clamp(26px, 4vw, 44px); }
.hero-form-card {
  width: 100%; max-width: 780px; background: var(--white); border-radius: 18px;
  padding: clamp(20px, 2.6vw, 26px) clamp(20px, 3vw, 30px); box-shadow: 0 26px 64px rgba(0,0,0,.4);
}
.hero-form-card .eyebrow { margin-bottom: 14px; }
.hero-bar { display: flex; align-items: stretch; gap: 10px; }
.hb-field { flex: 1 1 0; min-width: 0; }
.hb-field.hb-service { flex: 1.2 1 0; }
.hb-field input, .hb-field select {
  width: 100%; height: 52px; padding: 0 15px; font-family: var(--font-body); font-size: 15px; color: var(--ink-text);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 11px;
  transition: border-color .18s ease, box-shadow .18s ease; }
.hb-field input::placeholder { color: rgba(14, 25, 34, .42); }
.hb-field select { appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--ink-text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E1922' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 32px; }
.hb-field input:hover, .hb-field select:hover { border-color: rgba(11,19,27,.34); }
.hb-field input:focus, .hb-field select:focus { outline: none; border-color: var(--ice-deep); box-shadow: 0 0 0 3px rgba(14,126,150,.16); }
.hb-field input.bad, .hb-field select.bad { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,106,69,.16); }
.hb-submit { flex: 0 0 auto; height: 52px; padding: 0 28px; background: var(--gradient); color: #fff; border: 0; font-weight: 700; }
.hb-submit:hover { opacity: .92; transform: translateY(-1px); }
.hero-form-note { margin: 13px 0 0; font-size: 12.5px; color: var(--slate); text-align: center; }
.hero-bar-done { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; font-size: 14.5px; color: var(--ink-text); padding: 6px 0 2px; }
.hero-bar-done svg { color: #1E9E52; flex: none; }
.hero-bar-done a { color: var(--ice-deep); font-weight: 700; text-decoration: none; }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-in { display: flex; align-items: center; flex-wrap: nowrap; gap: 40px; padding: 22px clamp(20px, 4vw, 44px);
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.trust-in::-webkit-scrollbar { display: none; }
.trust-in > * { flex: none; }
.trust-in.is-centered { justify-content: center; }
.trust-note { font-size: 12.5px; font-weight: 700; color: var(--ink-text); white-space: nowrap; }

.rating-blk { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-text); flex: none; }
.rating-blk > svg { width: 30px; height: 30px; flex: none; }
.rating-blk .rb-meta { display: flex; flex-direction: column; }
.rating-blk .rb-top { display: flex; align-items: center; gap: 9px; line-height: 1; }
.rating-blk .rb-top b { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.rating-blk .rb-stars { color: #F5B400; font-size: 15px; letter-spacing: 1.5px; }
.rating-blk .rb-sub { font-size: 12px; color: var(--slate); margin-top: 3px; font-weight: 600; }
.rating-lg > svg { width: 34px; height: 34px; }
.rating-lg .rb-top b { font-size: 27px; }

.cred { display: inline-flex; align-items: center; gap: 11px; }
.cred-em { width: 34px; height: 34px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(11,19,27,.18); }
.cred-em svg { width: 19px; height: 19px; }
.cred-em-g { background: #fff; box-shadow: 0 3px 8px rgba(11,19,27,.16), inset 0 0 0 1px var(--line); }
.cred-em-g svg { width: 21px; height: 21px; }
.cred-t b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1.15; color: var(--ink-text); }
.cred-t em { display: block; font-style: normal; font-size: 11px; color: var(--slate); margin-top: 1px; }

/* ---------- seasonal offer banner (angled ribbon) ---------- */
.offer { position: relative; background: var(--gradient); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); padding-bottom: 22px; }
.offer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 34px; padding-block: clamp(34px, 5vw, 50px) clamp(20px, 3vw, 30px); }
.offer .eyebrow.light { color: rgba(11,19,27,.75); }
.offer .eyebrow::before { background: rgba(11,19,27,.55); }
.offer-copy h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 8px; text-shadow: 0 2px 16px rgba(0,0,0,.12); }
.offer-copy p { color: rgba(11,19,27,.82); font-size: 15.5px; max-width: 52ch; margin: 0; font-weight: 500; }
.offer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: none; }
.offer-note { font-size: 12.5px; font-weight: 700; color: rgba(11,19,27,.72); letter-spacing: .02em; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-accent { height: 4px; width: 100%; background: var(--gradient); }
.svc.mode-heating .svc-accent { background: var(--coral); }
.svc.mode-cooling .svc-accent { background: var(--ice); }
.svc-img { aspect-ratio: 16 / 9.4; overflow: hidden; position: relative; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.svc:hover .svc-img img { transform: scale(1.045); }
.svc-mode-tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(11,19,27,.68); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.svc-mode-tag svg { width: 11px; height: 11px; }
.svc.mode-heating .svc-mode-tag svg { color: var(--coral-hi); }
.svc.mode-cooling .svc-mode-tag svg { color: var(--ice-hi); }
.svc.mode-both .svc-mode-tag svg { color: var(--ice-hi); }
.svc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc h3 { font-size: 21px; font-weight: 700; }
.svc-range { font-size: 12.5px; font-weight: 700; letter-spacing: .01em; color: var(--ice-deep); }
.svc.mode-heating .svc-range { color: var(--coral-deep); }
.svc p { font-size: 15px; color: var(--slate); margin: 0; flex: 1; }
.svc-cta { font-size: 13.5px; font-weight: 700; color: var(--ink-text); display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; }
.svc-cta::after { content: "→"; color: var(--ice-deep); transition: transform .2s ease; }
.svc:hover .svc-cta::after { transform: translateX(5px); }

/* ---------- membership ---------- */
.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.mem { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 28px; display: flex; flex-direction: column; }
.mem-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink-text); }
.mem-tagline { font-size: 13.5px; color: var(--slate); margin-top: 4px; }
.mem-price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 6px; }
.mem-price b { font-family: var(--font-display); font-weight: 700; font-size: 42px; letter-spacing: -.02em; color: var(--ink-text); }
.mem-price em { font-style: normal; font-size: 15px; color: var(--slate); font-weight: 600; }
.mem-features { list-style: none; margin: 18px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.mem-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--slate); line-height: 1.4; }
.mem-features li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--ice-deep); }
.mem .btn { width: 100%; }
.mem-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; box-shadow: 0 8px 18px rgba(11,19,27,.25); white-space: nowrap; }
.mem.is-highlight { border: none; padding: 31px 27px 29px; transform: scale(1.045); box-shadow: 0 26px 60px rgba(11,19,27,.16); background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box; border: 2px solid transparent; z-index: 1; }
.mem.is-highlight .mem-price b { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mem.is-highlight .btn { background: var(--gradient); color: #fff; }
.mem.is-highlight .btn:hover { opacity: .9; transform: translateY(-2px); }

/* ---------- energy savings band ---------- */
.energy-top { max-width: 720px; margin-bottom: clamp(30px, 4vw, 46px); }
.energy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.energy-grid .stat { border-left: 2px solid var(--line-light); padding-left: 18px; }
.energy-grid .stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.6vw, 46px); color: var(--paper); line-height: 1; letter-spacing: -.02em; display: block; }
.energy-grid .stat .n em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.energy-grid .stat .l { font-size: 13px; color: rgba(243, 246, 247, .64); margin-top: 10px; display: block; line-height: 1.4; }

/* ---------- brands we service ---------- */
.brands { border-bottom: 1px solid var(--line); background: var(--paper); padding-block: 30px; }
.brands-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.brands-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); flex: none; }
.brands-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 34px; }
.brands-list span { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink-text); opacity: .5; letter-spacing: -.01em; transition: opacity .2s ease; }
.brands-list span:hover { opacity: .95; }

/* ---------- financing ---------- */
.fin-top { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 46px); }
.fin-top .section-head { max-width: 560px; }
.fin-top .section-head p { margin-top: 14px; }
.fin-callout { flex: none; text-align: center; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 24px 40px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.fin-callout::before { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 100% at 50% 0, rgba(47,194,224,.28), transparent 62%); }
.fin-callout-label { position: relative; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ice-hi); }
.fin-callout-num { position: relative; display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1; margin: 9px 0; }
.fin-callout-num b { font-size: clamp(46px, 6vw, 60px); color: var(--paper); }
.fin-callout-num em { font-size: 21px; font-style: normal; color: var(--ice-hi); font-weight: 700; margin-left: 2px; }
.fin-callout-sub { position: relative; display: block; font-size: 12.5px; color: rgba(243,246,247,.72); max-width: 27ch; margin: 0 auto; line-height: 1.4; }
.fin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fin { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; }
.fin-ic { width: 52px; height: 52px; border-radius: 13px; background: rgba(14,126,150,.1); color: var(--ice-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.fin-ic svg { width: 26px; height: 26px; }
.fin h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.fin p { font-size: 14.5px; color: var(--slate); margin: 0; }
.fin-hi { border-color: var(--ice-deep); box-shadow: 0 16px 44px rgba(14,126,150,.16); }
.fin-hi .fin-ic { background: var(--gradient); color: #fff; }
.fin-badge { position: absolute; top: 20px; right: 20px; background: var(--gradient); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }

/* ---------- process (connected, numbered: this is a real sequence) ---------- */
.proc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.proc-step { position: relative; padding: 30px 22px 0 0; border-top: 2px solid var(--line); }
.proc-step::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--gradient); border-radius: 50%; }
.proc-num { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ice-deep); display: block; margin-bottom: 12px; }
.proc-step h3 { font-size: 19.5px; font-weight: 700; }
.proc-step p { font-size: 14.5px; color: var(--slate); margin-top: 10px; }

/* ---------- photo/video gallery: uniform grid, equal-height tiles, no orphan rows ----------
   Real CSS grid instead of a masonry `columns` layout: every tile is the same 4:3 box
   (object-fit: cover), so any row is automatically equal-height because the columns are
   equal-width. Tile count (8) and the 4/2/1 column steps below are chosen so 8 divides
   evenly at every breakpoint: 2 rows of 4, 4 rows of 2, 8 rows of 1. Never orphaned. */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink); position: relative; aspect-ratio: 4 / 3; }
.gal-item img, .gal-item video { width: 100%; height: 100%; display: block; object-fit: cover; }
.gal-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.gal-play svg { width: 46px; height: 46px; color: rgba(255,255,255,.9); filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }

/* ---------- reviews (Google style) ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.g-summary { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow); }
.g-score { display: flex; align-items: center; gap: 10px; }
.g-score b { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink-text); line-height: 1; }
.g-stars { color: #FBBC04; font-size: 17px; letter-spacing: .05em; }
.g-count { font-size: 13px; color: var(--slate); margin-top: 3px; }
.greviews { position: relative; }
.greviews-track { display: flex; gap: 20px; overflow-x: auto; padding: 8px clamp(20px, 4vw, 40px) 20px; -ms-overflow-style: none; scrollbar-width: none; }
.greviews-track::-webkit-scrollbar { display: none; }
.greview { flex: 0 0 clamp(290px, 78vw, 400px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; box-shadow: 0 8px 24px rgba(11,19,27,.07); display: flex; flex-direction: column; height: 268px; }
.greview-top { display: flex; align-items: center; gap: 13px; flex: none; }
.gavatar { position: relative; overflow: hidden; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; flex: none; }
.gname { font-weight: 700; font-size: 15px; color: var(--ink-text); line-height: 1.2; }
.gsub { font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.greview-top .g-mark { margin-left: auto; width: 20px; height: 20px; flex: none; }
.greview .g-row { display: flex; align-items: center; gap: 8px; margin: 13px 0 10px; flex: none; }
.greview .g-row .g-stars { font-size: 15px; }
.greview .g-when { font-size: 12.5px; color: var(--slate); }
.gtext { font-size: 14.5px; line-height: 1.58; color: var(--ink-text); margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; flex: 0 1 auto; }
.g-nav { position: absolute; top: 42%; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink-text); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.g-nav:hover { background: var(--ink); color: var(--paper); }
.g-prev { left: 6px; }
.g-next { right: 6px; }

/* ---------- stats + credentials band ---------- */
.awards-sec { padding-block: clamp(56px, 7vw, 84px); }
.awards-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.2vw, 52px); color: var(--paper); line-height: 1; letter-spacing: -.02em; }
.stat .n em { color: var(--ice-hi); font-style: normal; }
.stat .l { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: rgba(243, 246, 247, .58); margin-top: 10px; display: block; font-weight: 600; }
.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.award { display: flex; align-items: center; gap: 15px; background: rgba(243,246,247,.05); border: 1px solid var(--line-light); border-radius: 14px; padding: 18px 20px; }
.award .cred-em { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.28); }
.award .cred-em svg { width: 25px; height: 25px; }
.award b { display: block; color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.award > div > span { display: block; font-size: 12px; color: rgba(243,246,247,.6); margin-top: 3px; }

/* ---------- service area ---------- */
.areas-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips span { font-size: 13.5px; font-weight: 600; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 16px; color: var(--ink-text); }
.areas-note { margin-top: 20px; font-size: 14.5px; color: var(--slate); }

/* ---------- faq ---------- */
.faq-wrap { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0; font-family: var(--font-display); font-weight: 700; font-size: 18.5px; color: var(--ink-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ice-deep); transition: transform .25s ease; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 24px; max-width: 66ch; color: var(--slate); font-size: 15.5px; }

/* ---------- estimate (bottom form) ---------- */
.estimate-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.est-copy h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; margin: 14px 0 18px; }
.est-copy .promise { font-size: 17px; color: rgba(243, 246, 247, .84); max-width: 46ch; }
.est-points { list-style: none; margin: 24px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.est-points li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; color: rgba(243, 246, 247, .84); }
.est-points li::before { content: "✓"; color: var(--ice-hi); font-weight: 700; flex: none; }
.est-phone { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.est-phone svg { color: var(--ice-hi); }
.est-phone span { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.01em; }
.est-meta { margin-top: 14px; font-size: 13px; color: rgba(243, 246, 247, .58); }
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.form-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 4px; color: var(--ink-text); }
.form-sub { font-size: 14px; color: var(--slate); margin-bottom: 22px; }
.f-step { display: none; }
.f-step.on { display: block; animation: fIn .3s ease; }
@keyframes fIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { display: flex; flex-direction: column; gap: 7px; }
.f-field.full { grid-column: 1 / -1; }
.f-field label { font-size: 13px; font-weight: 700; color: var(--ink-text); }
.f-field input, .f-field select { height: 52px; border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 0 16px; font-size: 15.5px; font-family: inherit; background: var(--white); color: var(--ink-text); width: 100%; appearance: none; }
.f-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E1922' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.f-field input:focus, .f-field select:focus { outline: none; border-color: var(--ice-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button { border: 1.5px solid var(--line); background: var(--white); color: var(--ink-text); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink-text); border-color: var(--ink-text); color: var(--paper); }
.f-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--slate); margin-top: 18px; }
.f-opt input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--ice-deep); }
.f-submit { width: 100%; margin-top: 20px; }
.f-note { text-align: center; font-size: 12px; color: rgba(11,19,27,.5); margin-top: 14px; }
.f-done { text-align: center; padding: 30px 6px; }
.f-done .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.f-done h3 { margin-bottom: 10px; }
.f-done p { font-size: 15px; color: var(--slate); }

/* ---------- footer ---------- */
.footer { padding-top: clamp(28px, 3.5vw, 48px); }
.foot-grid { display: grid; grid-template-columns: 4fr 2.4fr 2.4fr 3.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.foot-grid h4 { color: var(--paper); font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { text-decoration: none; font-size: 14.5px; color: rgba(243, 246, 247, .72); }
.foot-grid a:hover { color: var(--paper); }
.foot-phone { font-weight: 700 !important; font-size: 17px !important; color: var(--paper) !important; }
.foot-muted { font-size: 14px; color: rgba(243, 246, 247, .58); }
.foot-brand p { font-size: 14.5px; color: rgba(243, 246, 247, .72); max-width: 32ch; margin: 14px 0 18px; }
.foot-brand .logo { margin-bottom: 4px; color: var(--paper); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; color: rgba(243,246,247,.82); transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--gradient); border-color: transparent; color: #fff; }
.social svg { width: 18px; height: 18px; }
.badge-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding: 28px 0; border-bottom: 1px solid var(--line-light); }
.foot-creds { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 28px; }
.rating-foot, .rating-foot .rb-top b { color: var(--paper); }
.rating-foot .rb-sub { color: rgba(243, 246, 247, .58); }
.cred-foot .cred-t b { color: var(--paper); }
.cred-foot .cred-t em { color: rgba(243, 246, 247, .52); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; padding: 22px 0 30px; font-size: 12.5px; color: rgba(243, 246, 247, .5); }
.foot-bottom a { color: rgba(243, 246, 247, .72); }

/* ---------- mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; display: none; grid-template-columns: 1fr 1fr 1.4fr; gap: 1px; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 30px rgba(11,19,27,.3); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; text-decoration: none; font-weight: 700; font-size: 14.5px; background: var(--ink); color: var(--paper); }
.callbar a.cb-est { background: var(--gradient); color: #fff; }

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.on { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-bar { flex-wrap: wrap; }
  .hb-field, .hb-field.hb-service { flex: 1 1 auto; min-width: 160px; }
  .hb-submit { flex: 1 1 100%; }
  .svc-grid, .mem-grid { grid-template-columns: 1fr 1fr; }
  .energy-grid { grid-template-columns: 1fr 1fr; }
  .proc { grid-template-columns: 1fr 1fr; gap: 26px 30px; }
  .areas-grid, .estimate-grid { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mem.is-highlight { transform: none; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 768px) {
  .nav-links, .nav .nav-phone, .nav .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .proc { grid-template-columns: 1fr; }
  .callbar { display: grid; }
  html { scroll-padding-bottom: 76px; }
  body { padding-bottom: 60px; }
  .reviews-head { align-items: flex-start; }
  .offer-in { flex-direction: column; align-items: flex-start; }
  .svc-grid, .mem-grid { grid-template-columns: 1fr; }
  .energy-grid { grid-template-columns: 1fr 1fr; }
  .fin-callout { width: 100%; }

  /* compact hero: every element tightened so the lead card clears the fold
     on common phone viewports instead of running past the bottom edge */
  .hero { padding-top: 62px; }
  .hero-in { padding-block: 10px 12px; }
  .mode-toggle { margin-bottom: 10px; }
  .mode-btn { padding: 9px 18px; }
  .hero h1 { margin-top: 8px; }
  .hero-sub { margin-top: 8px; }
  .hero-cta-row { flex-direction: column; gap: 12px; margin-top: 12px; }
  .hero-call { padding: 8px 16px 8px 8px; }
  .hero-dock { margin-top: 10px; }
  .hero-dock-in { padding-block: 0 14px; }
  .hero-form-card { padding: 16px 16px 18px; border-radius: 16px; }
  .hero-form-card .eyebrow { margin-bottom: 10px; }
  .hero-bar { gap: 8px; }
  .hb-field input, .hb-field select { height: 46px; }
  .hb-submit { height: 46px; }
  .hero-form-note { margin-top: 10px; }
}
@media (max-width: 560px) {
  .f-grid { grid-template-columns: 1fr; }
  .hero-call { padding: 11px 20px 11px 12px; }
  .hero h1 { font-size: clamp(26px, 8vw, 34px); }
  .hero-sub { font-size: 14.5px; line-height: 1.44; }
  .foot-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .awards-stats { grid-template-columns: 1fr 1fr; }
  .energy-grid { grid-template-columns: 1fr; }
  .mode-btn span { display: inline; }
  .gal-grid { grid-template-columns: 1fr; gap: 10px; }
  .logo-text em { display: none; }
}

/* Chat widget (bottom-right) used to overlap the hero's docked lead bar on
   short viewports; the old fix was an asymmetric right-padding reservation
   on .hero-dock-in, which pushed the whole dock (and its centered column)
   off the viewport's center axis. Fixed properly now: .hero-form-card caps
   at 780px and stays centered, which already leaves a wide gutter clear of
   the launcher/nudge at both 1440px and 1999px (verified with geometry, not
   a padding shim). On mobile the card has its own bottom buffer above (the
   768px block) and the widget is already lifted above the call bar, but it
   rides a little higher still so its proactive nudge card clears the card's
   bottom-most row. */
@media (max-width: 768px) { .cw-root { bottom: 84px !important; } }
/* On narrow phones the full "Chat with us" pill is wide enough to cover the
   hero bar's submit button. Shrink the launcher to its avatar + icon only;
   chat.js itself ships unmodified, this is a pure restyle. */
@media (max-width: 480px) {
  .cw-launch { padding: 10px !important; gap: 6px !important; }
  .cw-launch span:not(.cw-launch-av):not(.cw-badge) { display: none; }
  /* the fixed chat launcher owns the bottom-right corner; keep the hero submit out of it */
  .hb-submit { flex: 0 0 calc(100% - 88px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-load h1, .hero-load .mode-toggle, .hero-load .eyebrow, .hero-load .hero-sub, .hero-load .hero-cta-row, .hero-load .hero-dock { opacity: 1; transform: none; }
  .hero-media-mode { transition: none; }
  .hero-media-mode img { animation: none; }
  .hero-wash { transition: none; }
  .mode-thumb { transition: none; }
  .svc, .svc-img img { transition: none; }
}
