/* ==========================================================================
   Landing page template — HVAC repairs (bold color-block look)
   Colors live here only. Swap this block for the next client.
   ========================================================================== */
:root {
  --brand: #0B5159;         /* the solid first-screen block */
  --brand-dark: #063A41;    /* darker edge of the same color */
  --accent: #FFC21A;        /* the CALL button. Used for nothing else. */
  --accent-ink: #1A1200;    /* text on the call button */
  --ink: #15191C;           /* body text */
  --muted: #5A646B;         /* quieter text */
  --paper: #FFFFFF;         /* white sections */
  --band: #F2F5F4;          /* the very light tint sections */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, .btn, .num, .offer-price {
  font-family: Archivo, "Arial Black", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- the one call button ---------- */
.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  border-radius: 10px;
  text-align: center;
  min-height: 56px;
}
.btn-call {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .28);
}
.btn-call:active { transform: translateY(2px); box-shadow: 0 4px 0 rgba(0, 0, 0, .28); }
.btn-line { font-size: 1.22rem; line-height: 1.15; text-transform: uppercase; }
.btn-num { font-family: Inter, sans-serif; font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; }
.btn-xl { padding: 16px 22px; min-height: 76px; width: 100%; }
.btn-lg { padding: 14px 24px; min-height: 68px; }
.btn-xl .btn-line { font-size: 1.5rem; }
.btn-xl .btn-num { font-size: 1.12rem; }

/* the quiet "have us call you back" link — one wording everywhere */
.formlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--brand);
  background: transparent;
  border: 2px solid var(--brand);
  border-radius: 8px;
  text-decoration: none;
}
.formlink-hero, .formlink-final {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, .6);
}

/* ==========================================================================
   SECTION: hero — one solid color block, split on desktop
   ========================================================================== */
.hero { display: block; background: var(--paper); }

.hero-block {
  background: var(--brand);
  background-image: linear-gradient(180deg, var(--brand) 0%, var(--brand) 62%, var(--brand-dark) 100%);
  color: #FFFFFF;
  padding: 20px 20px 104px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner { width: 100%; max-width: 560px; margin: 0 auto; }

.logo-chip {
  margin: 0 0 18px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-block;
  line-height: 0;
}
.logo-chip img { width: 232px; height: auto; }

.hero-h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 9.1vw, 3rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-sub {
  margin: 0 0 20px;
  font-size: 1.08rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
  max-width: 34em;
}
.hero-risk {
  margin: 14px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  border-left: 5px solid var(--accent);
  padding-left: 12px;
}
.hero-rating { margin: 16px 0 0; min-height: 1px; }
.hero-foot { display: none; }
.formlink-hero { margin-top: 18px; }

/* the white form panel */
.hero-panel { background: var(--paper); padding: 30px 20px 34px; }
.hero-panel-in { max-width: 560px; margin: 0 auto; }
.panel-h {
  margin: 0 0 6px;
  font-size: 1.65rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.panel-sub { color: var(--muted); font-size: 1rem; margin-bottom: 10px; }
[data-form] { min-height: 700px; width: 100%; }
[data-form] iframe { width: 100%; border: 0; }

/* ==========================================================================
   SECTION: numbered lists (numerals, never icons)
   ========================================================================== */
.sec-h {
  margin: 0 0 26px;
  font-size: clamp(1.85rem, 6.4vw, 2.5rem);
  line-height: 1.04;
  text-transform: uppercase;
}
.numlist { list-style: none; margin: 0; padding: 0; }
.numlist li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 2px solid rgba(11, 81, 89, .14);
}
.numlist li:first-child { border-top: 0; }
.num {
  font-size: 3.1rem;
  line-height: 0.85;
  color: var(--brand);
  flex: 0 0 auto;
  min-width: 56px;
  opacity: .95;
}
.num-body h3 { margin: 0 0 4px; font-size: 1.22rem; line-height: 1.2; font-weight: 800; }
.num-body p { margin: 0; color: var(--muted); }

.steps { background: var(--paper); padding: 56px 0 60px; }
.reasons { background: var(--band); padding: 56px 0 60px; }
.mid-cta { margin: 32px 0 0; display: flex; justify-content: center; }

/* ==========================================================================
   SECTION: photo bands — wide, sharp, edge to edge, nothing written on them
   ========================================================================== */
.band { margin: 0; display: block; }
.band img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 58%;
}

/* ==========================================================================
   SECTION: offers
   ========================================================================== */
.offers { background: var(--paper); padding: 56px 0 60px; }
.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.offer-card {
  background: var(--brand);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.offer-price { font-size: 2.5rem; line-height: 1; }
.offer-what { font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.offer-note { margin: 22px 0 0; color: var(--muted); font-size: 1rem; }

/* ==========================================================================
   SECTION: reviews (classes filled by the builder from Google)
   ========================================================================== */
.reviews { background: var(--band); padding: 56px 0 60px; }
.rv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}
.rv-chip .rv-stars { color: var(--accent); letter-spacing: 1px; }
.rv-chip .rv-count { color: rgba(255, 255, 255, .8); }
.rv-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.rv-score { font-family: Archivo, sans-serif; font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--brand); }
.rv-summary .rv-stars { color: #E8A302; font-size: 1.3rem; letter-spacing: 2px; }
.rv-count { color: var(--muted); font-size: .98rem; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rv-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(11, 81, 89, .12);
}
.rv-card .rv-stars { color: #E8A302; letter-spacing: 2px; margin-bottom: 6px; }
.rv-text { margin: 0 0 10px; font-size: 1rem; }
.rv-who { margin: 0; font-size: .95rem; color: var(--muted); }
.rv-who b { color: var(--ink); }
.rv-source { margin: 16px 0 0; font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   SECTION: questions
   ========================================================================== */
.faq { background: var(--paper); padding: 56px 0 60px; }
.q { border-top: 2px solid rgba(11, 81, 89, .14); }
.q:last-of-type { border-bottom: 2px solid rgba(11, 81, 89, .14); }
.q summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1.1rem;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: "+";
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--brand);
  flex: 0 0 auto;
}
.q[open] summary::after { content: "\2013"; }
.q p { margin: 0 0 18px; color: var(--muted); max-width: 60em; }

/* ==========================================================================
   SECTION: final call to action
   ========================================================================== */
.final {
  background: var(--brand);
  background-image: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #FFFFFF;
  padding: 60px 0 72px;
}
.final-in { max-width: 620px; }
.final-h {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 8vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}
.final-sub { font-size: 1.08rem; color: rgba(255, 255, 255, .92); margin-bottom: 24px; }
.final-risk {
  margin: 14px 0 0;
  font-weight: 600;
  border-left: 5px solid var(--accent);
  padding-left: 12px;
}
.formlink-final { margin-top: 16px; }

/* ==========================================================================
   SECTION: legal
   ========================================================================== */
.legal { background: #0A0D0F; color: #9AA4AA; padding: 28px 0 120px; font-size: .95rem; }
.legal p { margin: 0 0 6px; }
.legal a { color: #D6DEE2; }

/* ==========================================================================
   SECTION: the call bar that stays in reach
   ========================================================================== */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--brand-dark);
  border-top: 3px solid var(--accent);
  padding: 9px 14px;
}
.callbar-in {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.callbar-txt {
  font-family: Archivo, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.callbar-btn { flex: 1 1 auto; min-height: 50px; padding: 6px 16px; }
.callbar-btn .btn-line { font-size: 1.04rem; }
.callbar-btn .btn-num { font-size: .96rem; }

/* ==========================================================================
   thank-you page
   ========================================================================== */
.thanks {
  background: var(--brand);
  background-image: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #FFFFFF;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 44px 20px 56px;
}
.thanks-card { max-width: 620px; margin: 0 auto; width: 100%; }
.thanks-h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 8.6vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}
.thanks-sub { font-size: 1.1rem; color: rgba(255, 255, 255, .92); margin-bottom: 26px; }
.thanks-or { font-weight: 700; margin-bottom: 10px; }
body[data-page="thank-you"] .legal { padding-bottom: 28px; }
body[data-page="privacy-policy"] .legal-page { padding-bottom: 60px; }

/* ==========================================================================
   privacy page (written by the builder)
   ========================================================================== */
.legal-page { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.legal-page h1 { font-size: 2rem; line-height: 1.1; margin: 0 0 18px; }
.legal-page h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.legal-page a { color: var(--brand); }

/* ==========================================================================
   desktop
   ========================================================================== */
@media (min-width: 900px) {
  body { font-size: 17px; }

  .hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    min-height: 100vh;
  }
  /* the color block holds the first screen and stays put while the form column scrolls */
  .hero-block {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    min-height: 0;
    padding: 36px 48px 100px;
  }
  .hero-block { flex-direction: column; justify-content: center; }
  .hero-panel-in { max-width: 540px; }
  .panel-sub { margin-bottom: 4px; }
  .hero-inner { max-width: 640px; width: 100%; margin: 0 0 0 auto; padding-right: 28px; }
  .hero-foot {
    display: block;
    margin: 34px 0 0 auto;
    padding: 22px 28px 0 0;
    max-width: 640px;
    width: 100%;
    font-size: .88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .62);
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .logo-chip img { width: 250px; }
  .hero-h1 { font-size: clamp(2.5rem, 3.15vw, 3.25rem); margin-bottom: 12px; }
  .hero-sub { margin-bottom: 22px; }
  .formlink-hero { display: none; }
  .btn-xl { width: auto; max-width: 480px; }
  .hero-panel { padding: 36px 48px 104px; display: flex; align-items: center; }
  .hero-panel-in { max-width: 520px; margin: 0 auto 0 0; width: 100%; }

  .band img { height: 340px; }
  .offer-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .rv-list { grid-template-columns: repeat(3, 1fr); }
  .numlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .numlist li { border-top: 0; border-left: 3px solid rgba(11, 81, 89, .16); padding: 6px 0 6px 20px; }
  .numlist-tight { grid-template-columns: repeat(2, 1fr); }
  .num { font-size: 3.6rem; min-width: 0; }
  .numlist li { display: block; }
  .num-body h3 { margin-top: 8px; }

  .steps, .reasons, .offers, .reviews, .faq { padding: 76px 0 84px; }
  .final { padding: 84px 0 92px; }
  .final-in { max-width: 820px; margin: 0 auto; text-align: center; }
  .final-in .btn-xl { margin: 0 auto; min-width: 520px; }
  .final-h { font-size: clamp(2.6rem, 4.4vw, 3.8rem); }
  .final-sub { font-size: 1.2rem; }
  .final-risk { display: inline-block; text-align: left; margin-top: 20px; }
  .formlink-final { margin-top: 20px; }
  .sec-h { margin-bottom: 34px; }
  .callbar { padding: 10px 20px; }
  .callbar-in { justify-content: flex-end; }
  .callbar-btn { flex: 0 0 auto; min-width: 340px; }
  .callbar-txt { margin-right: auto; font-size: 1.2rem; }
  .legal { padding: 34px 0 110px; }
  .q summary { font-size: 1.18rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
