/* Landing pages (/websites, /wellness, /audit, /pest-control). Loaded after styles.css: swaps its dark tokens for a
   light theme (the main site keeps the dark one) and adds the landing-page components. */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --surface: #ffffff;
  --line: #e3ebf1;
  --text: #0f2230;
  --text-dim: #4f6575;
  --cyan: #2bb8e8;
  --cyan-deep: #1e7fc2;
  --ink: #0d6fa8;               /* brand blue dark enough for text on white (5.4:1) */
  --tint: #eef7fc;
  --shadow-sm: 0 1px 2px rgba(15, 34, 48, 0.05), 0 4px 14px rgba(15, 34, 48, 0.05);
  --shadow-md: 0 2px 6px rgba(15, 34, 48, 0.05), 0 18px 44px rgba(15, 34, 48, 0.10);
  --radius: 18px;
}

/* ---------- Base overrides of styles.css ---------- */
body { background: var(--bg); color: var(--text); }
h1, h2, h3 { color: var(--text); letter-spacing: -0.02em; }
.eyebrow { color: var(--ink); letter-spacing: 0.12em; }
.accent { background-image: linear-gradient(120deg, var(--ink), #1a9ad6); }
.lead { color: var(--text-dim); }

.nav {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 34, 48, 0.06);
}
.lp-nav .nav-inner { height: 64px; }
.lp-nav .btn-small { white-space: nowrap; }
.brand { color: var(--text); }
.brand-mark { width: 32px; }
.brand-name span { color: var(--ink); }

.btn {
  background: linear-gradient(135deg, #1478b6, #1a5fa6);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(20, 120, 182, 0.28);
  min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(20, 120, 182, 0.34); }
.btn:focus-visible { outline: 3px solid rgba(43, 184, 232, 0.45); outline-offset: 2px; }
.btn-small { min-height: 40px; padding: 8px 18px; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border: 0; }
.section h2 { margin-bottom: 28px; }
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); }
.lp-footer .footer-inner p a { color: var(--text-dim); }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 90% 0%, rgba(43, 184, 232, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 45% at 4% 70%, rgba(255, 186, 120, 0.15), transparent 70%),
    linear-gradient(180deg, #f1f8fd 0%, #ffffff 55%, var(--bg-alt) 100%);
}
.lp-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 88px;
}
.lp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; margin-bottom: 18px; }
.lp-hero .lead { margin-bottom: 28px; }
.lp-hero-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.lp-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-hero-img.wide { aspect-ratio: 16 / 11; }

/* Offer strip under the hero CTA */
.offer-pill {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d6ebf6;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
  font-size: 0.98rem;
  color: var(--text-dim);
}
.offer-pill strong { color: var(--text); }
.tick {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem;
  margin-top: 1px;
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
}
.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat p { color: var(--text-dim); font-size: 0.95rem; }
.stats-note { color: var(--text-dim); font-size: 0.85rem; margin-top: 16px; }

/* ---------- Problem / feature lists ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-img.wide { aspect-ratio: 3 / 2; }

.pains { list-style: none; display: grid; gap: 14px; }
.pains li {
  padding: 18px 20px 18px 22px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--cyan);
  color: var(--text-dim);
}
.pains strong { display: block; color: var(--text); margin-bottom: 4px; font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.97rem; }

/* What's included */
.includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; list-style: none; }
.includes-single { grid-template-columns: 1fr; }
.includes li { position: relative; padding-left: 32px; color: var(--text-dim); }
.includes li::before {
  content: "✓";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.includes strong { color: var(--text); font-weight: 600; }

/* ---------- The deal ---------- */
.deal {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(43, 184, 232, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 186, 120, 0.12), transparent 70%),
    #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.deal h2 { margin-bottom: 14px; }
.deal-terms { display: grid; gap: 12px; }
.deal-term {
  display: flex; gap: 16px; align-items: baseline;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: 14px;
}
.deal-term .amt {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  min-width: 104px;
  white-space: nowrap;
}
.deal-term p { color: var(--text-dim); font-size: 0.96rem; }
.deal-term p strong { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  transition: box-shadow .15s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-dim); padding-bottom: 18px; }

/* ---------- Final CTA band ---------- */
.cta-band-inner { text-align: center; display: grid; justify-items: center; gap: 4px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .lead { margin-bottom: 22px; }

/* ---------- Forms (shared by the wellness form and the quiz contact step) ---------- */
.apply-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
/* min-width 0: without it the calendar's widest row stretched the column past a phone screen (2026-10-24) */
.apply-grid > * { min-width: 0; }
.apply-card {
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
}
.lp-form { display: grid; gap: 16px; }
.lp-form[hidden] { display: none; }
.lp-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.lp-form label { display: grid; gap: 7px; font-weight: 500; font-size: 0.93rem; }
.lp-form .opt { color: var(--text-dim); font-weight: 400; }
.lp-form input,
.lp-form select {
  background: #fff;
  border: 1px solid #d5e0e8;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* 16px+ stops iOS zoom on focus */
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.lp-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.lp-form input:focus, .lp-form select:focus {
  outline: none;
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 4px rgba(43, 184, 232, 0.18);
}
.lp-form input::placeholder { color: #8a9cab; }
.lp-form .btn { width: 100%; padding: 15px 26px; font-size: 1.05rem; }
.lp-form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
/* SMS consent (A2P 10DLC, 2026-10-12): two separate, unchecked, optional checkboxes with HighLevel's exact wording,
   plus Privacy/Terms links in the form footer. Never pre-check them and never make them required. */
.consent { color: var(--text-dim); font-size: 0.78rem; line-height: 1.5; display: grid; gap: 10px; }
.lp-form .consent-opt { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 0.78rem; line-height: 1.5; cursor: pointer; }
.lp-form .consent-opt input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--ink); cursor: pointer; }
.consent-links { margin: 0; }
.consent a { color: var(--ink); text-decoration: underline; }
.footer-inner p a { white-space: nowrap; }

/* /privacy and /terms */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 8px; }
.legal .updated { color: var(--text-dim); margin-bottom: 32px; }
.legal h2 { font-size: 1.28rem; margin: 36px 0 12px; }
.legal p, .legal li { line-height: 1.65; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--ink); text-decoration: underline; }
.legal .callout { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.legal .callout p:last-child { margin-bottom: 0; }
.legal .section { padding: 56px 0 80px; }
.form-error { color: #c2373a; font-size: 0.92rem; display: none; }
.form-error.show { display: block; }
/* Fields lp.js flagged on submit (skipped or malformed): red outline plus a short note above the field */
.lp-form label.invalid input, .lp-form label.invalid select { border-color: #c2373a; box-shadow: 0 0 0 4px rgba(194, 55, 58, 0.14); }
.lp-form .field-error { color: #c2373a; font-size: 0.82rem; font-weight: 600; }
/* Honeypot. display:none, not off-screen: Safari and Chrome autofill fill off-screen fields, and a filled one drops the lead. */
.hp { display: none; }

.booked { display: none; scroll-margin-top: 84px; }
.booked.show { display: block; }
.booked h3 { font-size: 1.35rem; margin-bottom: 8px; }
.booked p { color: var(--text-dim); margin-bottom: 18px; }
.booked iframe { width: 100%; min-height: 600px; height: 720px; border: 0; border-radius: 14px; background: #fff; }

/* ---------- Custom booking calendar (cal.js, 2026-10-12): a copy of the GHL widget's look ---------- */
.cal { --cb: #1a56db; --cb-soft: #e8f0fe; --ct: #0f172a; --cm: #4b5563; --cl: #e5e7eb; max-width: 560px; margin: 0 auto; min-width: 0; }
/* The calendar sits inside grid/flex items (quiz card, review panel): without min-width: 0 the 7 fixed-size day cells
   set a min-content width that pushes the whole card past a phone's edge (seen 2026-10-13 at 390 px). */
.booked, .quiz-card, .cal-card { min-width: 0; }
.cal-card { background: #fff; border: 1px solid var(--cl); border-radius: 14px; padding: 24px 22px 26px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); color: var(--ct); }
.cal-loading p, .cal-none { color: var(--cm); text-align: center; margin: 24px 0; }
.cal-none a { color: var(--cb); }
.cal-title { font-size: 1.6rem; font-weight: 600; margin: 0 0 14px; color: var(--ct); letter-spacing: -0.01em; }
.cal-info { display: grid; gap: 10px; margin-bottom: 22px; }
.cal-row { display: flex; align-items: center; gap: 12px; color: var(--cm); font-size: 1rem; line-height: 1.4; }
.cal-ic { width: 20px; height: 20px; flex: 0 0 20px; color: #6b7280; display: inline-flex; }
.cal-ic svg { width: 20px; height: 20px; }
.cal-month { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 16px; padding: 0 8px; }
.cal-month-name { font-weight: 600; font-size: 1.15rem; color: var(--ct); }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--cb); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cal-nav svg { width: 22px; height: 22px; }
.cal-nav-next:not([disabled]) { background: var(--cb-soft); }
.cal-nav[disabled] { color: #cbd5e1; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px 0; justify-items: center; }
.cal-dow { font-weight: 600; font-size: 0.95rem; color: var(--ct); padding: 6px 0 8px; }
.cal-cell { width: 100%; max-width: 44px; aspect-ratio: 1 / 1; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1rem; font-weight: 500; padding: 0; }
.cal-off { color: #9ca3af; }
.cal-day { border: 0; background: var(--cb-soft); color: var(--cb); font-weight: 600; cursor: pointer; font: inherit; font-weight: 600; transition: background .12s; }
.cal-day:hover { background: #d9e6fd; }
.cal-day.sel { background: var(--cb); color: #fff; }
.cal-tz { margin-top: 26px; }
.cal-tz-label { display: block; font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; color: var(--ct); }
.cal-tz-row { display: flex; align-items: center; gap: 10px; padding: 0 10px; }
.cal-tz-select { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ct); padding: 8px 0; min-height: 40px; appearance: auto; -webkit-appearance: menulist; cursor: pointer; }
.cal-head { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; margin-bottom: 14px; }
.cal-back { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cl); background: #fff; color: var(--cb); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cal-back svg { width: 22px; height: 22px; }
.cal-head-title { text-align: center; grid-column: 2; }
.cal-head-title h3 { font-size: 1.35rem; font-weight: 600; margin: 0; color: var(--ct); }
.cal-head-title p { color: var(--cm); margin: 2px 0 0; font-size: 0.95rem; }
.cal-sub { text-align: center; font-size: 1.35rem; font-weight: 600; margin: 26px 0 6px; color: var(--ct); }
.cal-sub.cal-left { text-align: left; font-size: 1.3rem; margin: 4px 0 18px; }
.cal-dur { text-align: center; color: var(--cm); margin: 0 0 18px; }
.cal-list { display: grid; gap: 10px; }
.cal-time { width: 100%; min-height: 56px; border: 1px solid var(--cb); border-radius: 6px; background: #fff; color: var(--cb); font: inherit; font-weight: 600; font-size: 1.05rem; cursor: pointer; transition: background .12s; }
.cal-time:hover { background: #f3f7ff; }
.cal-time.sel { background: #6b7280; border-color: #6b7280; color: #fff; }
.cal-time-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cal-select { min-height: 56px; border: 0; border-radius: 6px; background: var(--cb); color: #fff; font: inherit; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.cal-form { display: grid; gap: 16px; }
.cal-form label { display: block; font-weight: 600; font-size: 1rem; color: var(--ct); }
.cal-form .req { color: var(--ct); }
.cal-form input, .cal-form textarea { display: block; margin-top: 8px; width: 100%; border: 1px solid #6b7280; border-radius: 8px; padding: 14px 16px; min-height: 56px; font: inherit; font-size: 1rem; color: var(--ct); background: #fff; font-weight: 400; }
.cal-input-ic { margin-top: 8px; }
.cal-input-ic input { margin-top: 0; }
.cal-form textarea { min-height: 112px; resize: vertical; }
.cal-form input:focus, .cal-form textarea:focus { outline: none; border-color: var(--cb); box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.18); }
.cal-form ::placeholder { color: #9ca3af; }
.cal-input-ic { position: relative; display: block; }
.cal-input-ic .cal-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.cal-input-ic input { padding-left: 46px; }
.cal-form .cal-opt { font-weight: 400; color: var(--cm); font-size: 0.9rem; }
.cal-form .cal-consent { margin-top: 2px; }
.cal-form .consent-opt { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 0.78rem; line-height: 1.5; color: var(--cm); cursor: pointer; }
.cal-form .consent-opt input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--cb); cursor: pointer; }
.cal-form .consent a { color: var(--cb); }
.cal-legal { color: var(--cm); font-size: 0.82rem; line-height: 1.5; margin: 0; }
.cal-legal a { color: var(--cb); text-decoration: underline; }
.cal-error { color: #c2373a; font-size: 0.95rem; margin: 0 0 12px; }
.cal-error[hidden] { display: none; }
.cal-submit { width: 100%; min-height: 56px; border: 0; border-radius: 8px; background: var(--cb); color: #fff; font: inherit; font-weight: 600; font-size: 1.05rem; cursor: pointer; margin-top: 10px; }
.cal-submit[disabled] { opacity: 0.6; cursor: wait; }
.cal-done { text-align: center; padding: 40px 22px; }
.cal-done-ic { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #15803d; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cal-done-ic svg { width: 32px; height: 32px; }
.cal-done h3 { font-size: 1.5rem; margin-bottom: 10px; color: #1d7a52; }
.cal-done p { color: var(--cm); margin-bottom: 8px; }
.cal-done-when { color: var(--ct) !important; font-weight: 600; font-size: 1.05rem; }
@media (max-width: 420px) {
  .cal-card { padding: 20px 14px 22px; }
  .cal-cell { max-width: 40px; }
  .cal-title { font-size: 1.35rem; }
}

.apply-points { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.apply-points li { display: flex; gap: 12px; color: var(--text-dim); }
.apply-points li::before { content: "→"; color: var(--ink); font-weight: 700; }

/* ---------- Quiz funnel (/websites) ---------- */
.quiz-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}
.quiz-hero h1 { font-size: clamp(1.95rem, 4.2vw, 2.9rem); font-weight: 700; margin-bottom: 16px; }
.quiz-hero h1 .accent { display: inline-block; }
.hero-sub { color: var(--text-dim); font-size: 1.12rem; max-width: 46ch; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-chips li {
  padding: 7px 14px 7px 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #dceaf3;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.hero-chips li::before { content: "✓"; color: var(--ink); font-weight: 700; margin-right: 7px; }

.quiz-card {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 26px 26px 28px;
  min-height: 340px;
  scroll-margin-top: 80px; /* clear the sticky nav when scrolled into view */
}
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin-bottom: 10px; }
.quiz-back {
  background: none; border: 0; padding: 4px 2px; cursor: pointer;
  font: inherit; font-size: 0.92rem; font-weight: 500; color: var(--ink);
}
.quiz-back[hidden] { display: none; }
.quiz-meta { margin-left: auto; font-size: 0.85rem; color: var(--text-dim); }
.quiz-progress { height: 6px; background: #e8f0f5; border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.quiz-progress span {
  display: block; height: 100%; width: 8%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-deep));
  border-radius: inherit;
  transition: width .3s ease;
}
.quiz-step { animation: quiz-in .22s ease both; }
@keyframes quiz-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quiz-q { font-size: clamp(1.25rem, 2.4vw, 1.5rem) !important; margin-bottom: 18px !important; line-height: 1.25; }
.quiz-help { color: var(--text-dim); font-size: 0.95rem; margin: -8px 0 4px; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #dbe5ec;
  border-radius: 14px;
  font: inherit; font-size: 1rem; font-weight: 500; color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.quiz-opt::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid #b9cad6;
  background: #fff;
  transition: all .15s;
}
.quiz-opt:hover { border-color: var(--cyan); background: #f6fbfe; }
.quiz-opt:active { transform: scale(0.99); }
.quiz-opt:focus-visible { outline: 3px solid rgba(43, 184, 232, 0.45); outline-offset: 2px; }
.quiz-opt.selected { border-color: #1478b6; background: var(--tint); }
.quiz-opt.selected::before {
  border-color: #1478b6;
  background: #1478b6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Result screen */
.quiz-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--tint);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.quiz-findings { list-style: none; display: grid; gap: 12px; margin: 4px 0 20px; }
.quiz-findings li { position: relative; padding-left: 26px; color: var(--text-dim); font-size: 0.98rem; }
.quiz-findings li::before {
  content: "";
  position: absolute; left: 4px; top: 0.6em;
  width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, #ffb46b, #ff8a5c);
}
.quiz-offer {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--tint);
  border-radius: 14px;
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.quiz-offer strong { color: var(--text); }
.quiz-cta { width: 100%; font-size: 1.05rem; padding: 15px 22px; }
.quiz-form .site-field[hidden] { display: none; }

/* Three doors on the result screen (2026-10-13): book a call now / text me / send me the details */
.quiz-choose { font-weight: 600; color: var(--text); margin: 0 0 10px; font-size: 1rem; }
.quiz-doors { display: grid; gap: 10px; margin-bottom: 14px; }
.quiz-door {
  display: grid; gap: 3px;
  width: 100%; padding: 14px 16px; text-align: left;
  background: #fff; border: 1.5px solid #dbe5ec; border-radius: 14px;
  font: inherit; color: var(--text); cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.quiz-door strong { font-size: 1.02rem; font-weight: 600; }
.quiz-door span { color: var(--text-dim); font-size: 0.9rem; line-height: 1.4; }
.quiz-door:hover { border-color: var(--cyan); background: #f6fbfe; }
.quiz-door:active { transform: scale(0.99); }
.quiz-door:focus-visible { outline: 3px solid rgba(43, 184, 232, 0.45); outline-offset: 2px; }
.quiz-door.primary { border-color: #1478b6; background: var(--tint); }
.quiz-door[disabled] { opacity: 0.6; cursor: wait; }
/* Confirmation after "text me" / "send me the details" */
.quiz-sent { text-align: left; }
.quiz-sent .quiz-sent-ic { width: 52px; height: 52px; border-radius: 50%; background: #dcfce7; color: #15803d; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.quiz-sent .quiz-sent-ic svg { width: 26px; height: 26px; }
.quiz-sent .quiz-q { color: #1d7a52; }
.quiz-sent .quiz-help { margin: 0 0 18px; }
.quiz-sent .quiz-alt { font-size: 0.95rem; color: var(--text-dim); margin: 14px 0 0; }
.quiz-sent .quiz-alt button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.quiz-text-form .quiz-q { margin-bottom: 10px !important; }

body.quiz-done .sticky-cta { display: none !important; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section h2 { margin-bottom: 22px; }

  .lp-hero-inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 52px; gap: 28px; }
  .lp-hero-img { aspect-ratio: 16 / 11; }
  .stats, .steps { grid-template-columns: 1fr; }
  .split, .apply-grid { grid-template-columns: 1fr; gap: 28px; }
  .split-flip .split-img { order: 2; }
  .split-img { aspect-ratio: 16 / 10; }
  .includes { grid-template-columns: 1fr; }
  .deal { grid-template-columns: 1fr; padding: 30px 22px; gap: 24px; }
  .deal-term { flex-direction: column; gap: 2px; }
  .deal-term .amt { min-width: 0; }
  .lp-nav .brand-name { white-space: nowrap; font-size: 1rem; }
  .lp-nav .brand-mark { width: 28px; }
  .lp-form .row { grid-template-columns: 1fr; }
  .apply-card { padding: 24px 18px; }

  .quiz-hero-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; padding-bottom: 44px; }
  .quiz-hero h1 { font-size: clamp(1.75rem, 7.4vw, 2.2rem); margin-bottom: 10px; }
  .hero-sub { font-size: 1.02rem; }
  .hero-chips { display: none; }
  .quiz-card { padding: 20px 18px 22px; border-radius: 20px; min-height: 0; scroll-margin-top: 72px; }
  .quiz-findings { gap: 10px; margin-bottom: 16px; }
  .quiz-findings li, .quiz-close { font-size: 0.93rem; line-height: 1.55; }
  .quiz-progress { margin-bottom: 18px; }

  .sticky-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -6px 24px rgba(15, 34, 48, 0.08);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
  .lp-footer { padding-bottom: 104px; }
}

@media (max-width: 380px) {
  .lp-nav .btn-small { padding: 8px 14px; font-size: 0.85rem; }
  .lp-nav .brand-name { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-step { animation: none; }
  .quiz-progress span, .sticky-cta { transition: none; }
}

/* ---------- Website audit (/audit) ---------- */
.url-row { display: flex; gap: 10px; }
.url-row input {
  flex: 1; min-width: 0; min-height: 52px;
  padding: 12px 16px;
  font: inherit; font-size: 1.05rem; color: var(--text);
  background: #fff; border: 1.5px solid #d5e0e8; border-radius: 14px;
}
.url-row input:focus { outline: none; border-color: var(--cyan-deep); box-shadow: 0 0 0 4px rgba(43, 184, 232, 0.18); }
.url-row .btn { white-space: nowrap; min-height: 52px; }
.audit-fine { color: var(--text-dim); font-size: 0.85rem; margin-top: 12px; }
.audit-start .form-error { margin-top: 10px; }
.audit-scan[hidden], .audit-preview[hidden], .audit-ready[hidden], .audit-start[hidden] { display: none; }

.scan-head { margin-bottom: 20px; }
.scan-head strong { display: block; font-size: 1.05rem; word-break: break-all; margin-bottom: 12px; }
.progress-row { display: flex; align-items: center; gap: 14px; }
.progress { flex: 1; height: 12px; background: #e8f0f5; border-radius: 999px; overflow: hidden; }
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-deep));
  border-radius: inherit;
  position: relative; overflow: hidden;
}
.progress span::after { /* soft moving sheen so the bar never looks frozen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-100%);
  animation: sheen 1.6s ease-in-out infinite;
}
@keyframes sheen { to { transform: translateX(100%); } }
.progress-pct {
  flex: none; min-width: 3.2em; text-align: right;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.progress-eta { margin-top: 8px; color: var(--text-dim); font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) { .progress span::after { animation: none; } }
.scan-steps { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.scan-steps li { position: relative; padding-left: 30px; color: var(--text-dim); font-size: 0.95rem; }
.scan-steps li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #c9d7e1; background: #fff;
}
.scan-steps li.active { color: var(--text); font-weight: 500; }
.scan-steps li.active::before { border-color: var(--cyan-deep); box-shadow: 0 0 0 4px rgba(43, 184, 232, 0.15); }
.scan-steps li.done { color: var(--text); }
.scan-steps li.done::before {
  border-color: #1478b6;
  background: #1478b6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.wait-q { border-top: 1px solid var(--line); padding-top: 18px; }
.wait-label { font-weight: 600; margin-bottom: 12px; }
.chip-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt {
  min-height: 44px; padding: 10px 16px;
  background: #fff; border: 1.5px solid #dbe5ec; border-radius: 999px;
  font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--text); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.chip-opt:hover { border-color: var(--cyan); background: #f6fbfe; }

.score-row { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.score-row .quiz-q { margin-bottom: 0 !important; }
.score-ring { position: relative; flex: none; width: 104px; height: 104px; }
.score-ring.small { width: 92px; height: 92px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: #e8f0f5; }
.ring-fg { stroke-linecap: round; transition: stroke-dashoffset 1s ease; stroke: #e0603a; }
.score-ring[data-band="mid"] .ring-fg { stroke: #e39b2d; }
.score-ring[data-band="high"] .ring-fg { stroke: #24a06b; }
.score-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.9rem; color: var(--text);
}
.score-ring.small .score-num { font-size: 1.6rem; }

.impact {
  flex: none; align-self: flex-start;
  padding: 3px 9px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: #fdebe5; color: #b4441f;
}
.impact[data-impact="medium"] { background: #fdf3e1; color: #9a6410; }
.impact[data-impact="low"] { background: #e9f5ef; color: #1d7a52; }
.issue-list { list-style: none; display: grid; gap: 12px; margin-bottom: 14px; }
.issue-list li { display: flex; gap: 12px; align-items: flex-start; }
.issue-list strong { display: block; font-size: 0.98rem; }
.issue-list p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; }
.locked {
  position: relative; padding: 14px 16px 14px 44px; margin-bottom: 22px;
  background: var(--bg-alt); border-radius: 14px; color: var(--text); font-weight: 500; font-size: 0.95rem;
}
.locked::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6fa8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.audit-form { border-top: 1px solid var(--line); padding-top: 20px; }
.gate-title { font-size: 1.2rem; }

.report-inner { display: grid; gap: 28px; }
.report-head { display: flex; gap: 22px; align-items: center; }
.report-head h2 { margin-bottom: 8px !important; }
.estimate-box {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  padding: 24px 26px; border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(43, 184, 232, 0.16), transparent 70%),
    var(--tint);
}
.estimate-num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.estimate-num small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: 0.9rem; color: var(--text-dim); margin-top: 6px; }
.estimate-box p { color: var(--text-dim); font-size: 0.95rem; }
.report-sub { font-size: 1.25rem; }
.fix-list { list-style: none; display: grid; gap: 14px; counter-reset: fix; }
.fix { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 20px 22px; }
.fix-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.fix-head h4 { font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; }
.fix dl { display: grid; grid-template-columns: 190px 1fr; gap: 8px 18px; }
.fix dt { font-size: 0.82rem; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.fix dd { color: var(--text-dim); font-size: 0.97rem; }
.fix dd.c { color: var(--text); }
.report-cta .deal-terms .btn { margin-top: 6px; }
.report .booked { margin-top: 4px; }
.check-grid .step::before { display: none; }

@media (max-width: 880px) {
  .url-row { flex-direction: column; }
  .url-row .btn { width: 100%; }
  .report-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .estimate-box { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .fix { padding: 18px; }
  .fix dl { grid-template-columns: 1fr; gap: 2px; }
  .fix dd { margin-bottom: 10px; }
  .score-ring { width: 88px; height: 88px; }
  .score-num { font-size: 1.6rem; }
}
.audit-gets { list-style: none; display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.audit-gets li { position: relative; padding-left: 28px; color: var(--text-dim); font-size: 0.93rem; }
.audit-gets li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }
.audit-gets strong { color: var(--text); font-weight: 600; }
@media (max-width: 880px) { .audit-gets { display: none; } }

/* ---------- Lead-gen pass (Oct 7): short hero, one CTA, gated report ---------- */
.audit-gets-line { color: var(--text-dim); font-size: 0.93rem; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mid-cta { text-align: center; margin-top: 34px; }
.mid-cta.left { text-align: left; margin-top: 26px; }
.form-note { color: var(--text-dim); font-size: 0.88rem; text-align: center; margin-top: -6px; }
.quiz-form .form-note { margin-top: -8px; }
.fix.locked-fix { background: var(--bg-alt); box-shadow: none; border: 1.5px dashed #cfdce6; }
.fix.locked-fix .fix-head { margin-bottom: 6px; }
.fix.locked-fix .on-call {
  position: relative; padding-left: 24px; color: var(--text-dim); font-size: 0.93rem;
}
.fix.locked-fix .on-call::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6fa8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.booked.booked-done h3 { color: #1d7a52; }
/* /websites after the GHL booking confirms (body.quiz-booked, set in funnel.js): no more "Start the check" buttons */
body.quiz-booked .lp-nav .btn, body.quiz-booked .mid-cta, body.quiz-booked .cta-band { display: none !important; }
.booked [hidden] { display: none !important; }
#bookBtn[hidden] { display: none; }
@media (max-width: 880px) {
  .audit-gets-line { display: none; }
  .quiz-hero .hero-sub { font-size: 0.98rem; }
  .audit-card .quiz-q { margin-bottom: 14px !important; }
  .mid-cta .btn, .mid-cta.left .btn { width: 100%; }
}

/* ---------- Vision review (Oct 8): phone screenshots, callouts, emailed report ---------- */
.shot-frame { margin: 0; width: 150px; flex: none; }
.shot-frame img { display: block; width: 100%; height: auto; border-radius: 18px; border: 5px solid #0f172a; background: #0f172a; box-shadow: var(--shadow-sm); }
.shot-frame figcaption { font-size: 0.78rem; color: var(--text-dim); text-align: center; margin-top: 6px; }
.shot-frame-lg { width: 240px; }
.preview-grid { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.preview-grid .issue-list { flex: 1; margin-bottom: 0; }
.fix.has-shot { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.fix-shot { margin: 0; }
.fix-shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid #dfe7ef; box-shadow: var(--shadow-sm); }
.fix-shot figcaption { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; }
.fix.locked-fix.has-shot .fix-shot img { filter: saturate(0.6); }
.emailed-note { background: #e8f5ee; color: #1d7a52; font-weight: 600; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-size: 0.95rem; }
.emailed-note[hidden] { display: none; }
.audit-ready .quiz-help { margin: 0 0 16px; }
.report-page .report { display: block; padding-top: 28px; }
.report-page .report-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 10px; }
.report-top { display: grid; grid-template-columns: 1fr 240px; gap: 24px; align-items: start; margin-bottom: 28px; }
.report-cta-top { margin-top: 18px; }
.report-cta-top .btn { margin-top: 14px; }
.strengths { background: #e8f5ee; border-radius: 14px; padding: 16px 20px; margin-bottom: 16px; }
.strengths h3 { font-size: 1rem; color: #1d7a52; margin-bottom: 8px; }
.strengths ul { margin: 0; padding-left: 18px; color: var(--text); font-size: 0.95rem; }
.strengths li { margin-bottom: 4px; }
.report-loading, .report-error { padding: 40px 0; }
.report-page .booked { margin-top: 28px; scroll-margin-top: 84px; }
@media (max-width: 880px) {
  .preview-grid { flex-direction: column-reverse; }
  .preview-grid .shot-frame { width: 132px; align-self: center; }
  .fix.has-shot { grid-template-columns: 1fr; gap: 14px; }
  .fix-shot img { max-width: 260px; margin: 0 auto; }
  .report-top { grid-template-columns: 1fr; }
  .shot-frame-lg { width: 180px; margin: 0 auto; }
}

/* ---------- Why it matters band (Oct 8): three illustrations ---------- */
.why-band { padding-top: 56px; padding-bottom: 56px; }
.why-band h2 { max-width: 30ch; margin-bottom: 28px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { margin: 0; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #e6edf3; }
.why-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 896; object-fit: cover; background: #f4f7fb; }
.why-card figcaption { padding: 16px 18px 20px; }
.why-card strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.08rem; margin-bottom: 6px; }
.why-card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 880px) {
  .why-band { padding-top: 40px; padding-bottom: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card img { aspect-ratio: 16 / 10; }
}

/* Nav: the longer "Complimentary Site Review" button needs room next to the brand on phones */
@media (max-width: 480px) {
  .lp-nav .btn-small { font-size: 0.82rem; padding: 9px 13px; min-height: 40px; white-space: nowrap; }
  .lp-nav .brand-name { font-size: 0.95rem; }
}
@media (max-width: 400px) {
  .lp-nav .brand-name { display: none; }
}

/* Before / after pairs (Oct 8): the problem callout next to the mock-up of what we'd put there */
.fix-shots { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fix.has-pair { grid-template-columns: 1fr; }
.fix.has-pair .fix-shots { grid-template-columns: repeat(2, minmax(0, 250px)); margin-bottom: 16px; }
.fix-shot a { display: block; }
.fix-shot.after img { border-color: #bfe3cf; box-shadow: 0 6px 18px rgba(29, 122, 82, 0.18); }
.fix-shot.after figcaption { color: #1d7a52; font-weight: 600; }
@media (max-width: 880px) {
  .fix.has-pair .fix-shots { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fix.has-pair .fix-shot img { max-width: none; margin: 0; }
}

/* /hvac (Oct 23): the ad's phone video in the hero, and a replay of its text conversation in the ad's dark phone UI */
.hvac-phone {
  justify-self: center;
  width: 100%; max-width: 330px;
  aspect-ratio: 9 / 16;
  padding: 10px;
  border-radius: 42px;
  background: #0b0e14;
  box-shadow: 0 0 0 1px rgba(15, 34, 48, 0.08), 0 30px 70px rgba(13, 40, 80, 0.28);
}
.hvac-phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 33px; background: #0b0e14; }
.chat-card {
  justify-self: center;
  width: 100%; max-width: 430px;
  padding: 18px 16px 20px;
  border-radius: 30px;
  background: #0c1017;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem; line-height: 1.42;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.chat-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #0a84ff; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.chat-head strong { display: block; color: #fff; font-size: 0.98rem; }
.chat-head span { color: #8e98a8; font-size: 0.8rem; }
.chat-pill { display: table; margin: 0 auto 14px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 69, 58, 0.45); background: rgba(255, 69, 58, 0.12); color: #ff8a80; font-size: 0.8rem; font-weight: 600; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 84%; padding: 9px 13px; border-radius: 18px; }
.bubble.ai { align-self: flex-start; background: #1f2430; color: #e9edf3; border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
.job-booked { margin-top: 14px; padding: 16px; border-radius: 18px; text-align: center; border: 1px solid rgba(48, 209, 88, 0.45); background: rgba(48, 209, 88, 0.08); }
.job-booked strong { display: block; color: #fff; font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; }
.job-booked .auto { display: block; color: #4aa8ff; font-weight: 700; font-size: 0.9rem; }
.job-booked p { color: #aab4c3; font-size: 0.85rem; margin-top: 2px; }
.job-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.job-chips span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); color: #dfe5ee; font-size: 0.78rem; }
.chat-note { color: var(--text-dim); font-size: 0.85rem; margin-top: 14px; text-align: center; }
.hvac-math { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-md); }
.hvac-math p { color: var(--text-dim); margin-top: 10px; }
.hvac-math p strong { color: var(--text); }
@media (max-width: 880px) {
  .hvac-phone { max-width: 270px; border-radius: 36px; }
  .hvac-phone video { border-radius: 27px; }
  .chat-card { font-size: 0.92rem; }
}
.replay { align-items: start; }
.replay-copy { position: sticky; top: 96px; }
@media (max-width: 880px) { .replay-copy { position: static; } }
.chat-activated { display: block; margin: -4px 0 14px; text-align: center; color: #2fd3ff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* /hvac rebuild (Oct 25): chat card in the hero, primary + call button pairs, and the bottom-sheet form (#sheet) */
.hero-chat { justify-self: center; width: 100%; max-width: 430px; min-width: 0; }
.hero-chat .chat-note { margin-top: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-ghost { background: #fff; color: var(--ink) !important; border: 1.5px solid #cfe0ec; box-shadow: none; white-space: nowrap; }
.btn-ghost:hover { background: var(--tint); box-shadow: none; }
.apply-cta { max-width: 640px; }
.apply-cta .cta-row { margin-top: 26px; }

.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 34, 48, 0.55); opacity: 0; transition: opacity .2s; touch-action: none; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 92%;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 14px 20px calc(28px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(15, 34, 48, 0.18);
  transform: translateY(100%);
  transition: transform .25s ease;
}
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: #d5e0e8; margin: 0 auto 16px; }
.sheet-close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--bg-alt); color: var(--text);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sheet-panel .eyebrow { margin-bottom: 8px; }
.sheet-panel h2 { font-size: 1.45rem; margin-bottom: 6px; padding-right: 44px; }
.sheet-sub { color: var(--text-dim); margin-bottom: 18px; }
.sheet-alt { color: var(--text-dim); font-size: 0.92rem; text-align: center; margin: 2px 0 0; }
.sheet-alt a { color: var(--ink); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.sheet .booked.show { display: block; }
body.sheet-open { overflow: hidden; }
body.sheet-open .sticky-cta { display: none !important; }
@media (min-width: 881px) {
  .sheet-panel {
    left: 50%; right: auto; top: 50%; bottom: auto;
    width: min(540px, calc(100% - 40px));
    max-height: min(90vh, 920px);
    border-radius: 22px;
    padding: 28px 28px 30px;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(16px);
    transition: transform .2s ease, opacity .2s;
  }
  .sheet.open .sheet-panel { transform: translate(-50%, -50%); opacity: 1; }
  .sheet-grip { display: none; }
  .sheet-close { top: 18px; right: 18px; }
}
@media (max-width: 880px) {
  .cta-row .btn { flex: 1 1 auto; }
  .cta-row .btn-ghost { flex-basis: 100%; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .sheet-panel, .sheet-backdrop { transition: none; } }
