/* High-converting local home-services above-the-fold layout (2026-11-25).
   Unified clean split-hero architecture for both call-only and form sites:
   - Single stacked header Call button (label + smaller phone number underneath; no redundant phone link beside it)
   - Horizontal desktop nav (no lonely hamburger on 1280px screens)
   - Clean light per-trade surface + unobstructed framed hero photo (zero hardcoded forest-green scrim)
   - Keyword-rich opening paragraph + primary Call (XXX) XXX-XXXX button (+ calm Request a free quote button on form sites)
   - Zero green "live" dots or fake status badges
   - Supporting intro-2 context sits immediately below the service strip so zero SEO copy is lost. */

:root {
  --conv-ink: #0f172a;
  --conv-body: #334155;
  --conv-muted: #64748b;
  --conv-line: #e2e8f0;
  --conv-surface: #f5f7fa;
  --conv-cta: var(--accent, #165b8c);
  --conv-cta-hover: var(--accent, #0f456c);
  --conv-strip-bg: #1e293b;
}

body.conv-hero.vertical-plumbing { --conv-surface: #f4f8fc; --conv-cta: #d95d1e; --conv-cta-hover: #b84b14; --conv-strip-bg: #0f2940; }
body.conv-hero.vertical-heating { --conv-surface: #faf6f3; --conv-cta: #c2410c; --conv-cta-hover: #9a3412; --conv-strip-bg: #291811; }
body.conv-hero.vertical-asbestos { --conv-surface: #f6f6fa; --conv-strip-bg: #1e1b2e; }
body.conv-hero.vertical-lead { --conv-surface: #f6f8f7; --conv-strip-bg: #1b2a26; }
body.conv-hero.vertical-foundation-repair { --conv-surface: #f7f6f4; --conv-strip-bg: #24211d; }
body.conv-hero.vertical-basement-finishing { --conv-surface: #f7f6f3; --conv-strip-bg: #23201c; }
body.conv-hero.vertical-polished-concrete { --conv-surface: #f5f6f7; --conv-strip-bg: #1f2428; }
body.conv-hero.vertical-elevators { --conv-surface: #f9f7f4; --conv-strip-bg: #26201a; }
body.conv-hero.vertical-geothermal { --conv-surface: #f4f7f4; --conv-strip-bg: #182c21; }

/* Header: real desktop navigation + single stacked phone CTA (label + smaller phone number) */
body.conv-hero .site-header {
  background: #fff;
  border-bottom: 1px solid var(--conv-line);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
body.conv-hero .header-inner {
  max-width: 1280px;
  padding: 11px 32px;
  gap: 20px;
}
body.conv-hero .brand {
  gap: 10px;
  font: 800 17px/1.1 Manrope, sans-serif;
  letter-spacing: -.025em;
  color: var(--conv-ink);
}
body.conv-hero .brand img { width: 38px; height: 38px; }
body.conv-hero .brand span span {
  font: 600 10px/1.3 'DM Sans', sans-serif;
  letter-spacing: .13em;
  color: var(--accent);
  margin-top: 2px;
}
body.conv-hero .desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--conv-body);
}
body.conv-hero .desktop-nav a { text-decoration: none; white-space: nowrap; }
body.conv-hero .desktop-nav a:hover { color: var(--accent); }
body.conv-hero .header-actions { gap: 10px; }
body.conv-hero .header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.15;
  white-space: nowrap;
  transition: filter .15s;
}
body.conv-hero.conv-call .header-call-btn { background: var(--conv-cta); }
body.conv-hero .header-call-btn:hover { filter: brightness(.92); }
body.conv-hero .header-call-btn svg { width: 16px; height: 16px; flex: none; }
body.conv-hero .header-call-btn .hcb-text { display: flex; flex-direction: column; text-align: left; }
body.conv-hero .header-call-btn .hcb-label { font: 700 13px/1.1 'DM Sans', sans-serif; color: #fff; }
body.conv-hero .header-call-btn .hcb-num { font: 600 11.5px/1.2 'DM Sans', sans-serif; color: rgba(255, 255, 255, .9); letter-spacing: .01em; }
body.conv-hero .menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border-color: var(--conv-line);
}

/* Unified Split Conversion Hero (Call-Only & Form Sites) */
body.conv-hero .hero-band {
  background: linear-gradient(180deg, var(--conv-surface) 0%, #fff 100%);
  border-bottom: 1px solid var(--conv-line);
}
body.conv-hero .hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 44px;
  align-items: center;
  max-width: 1280px;
  min-height: 0;
  padding: 38px 32px 42px;
  margin: 0 auto;
  color: var(--conv-ink);
  isolation: auto;
}
body.conv-hero .hero-copy { max-width: none; }
body.conv-hero .hero h1 {
  font: 800 clamp(36px, 4vw, 52px)/1.08 Manrope, sans-serif;
  letter-spacing: -.035em;
  color: var(--conv-ink);
  margin: 0 0 16px;
}
body.conv-hero .hero .intro {
  margin: 0 0 22px;
  max-width: 590px;
}
body.conv-hero .hero .intro p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--conv-body);
  margin: 0;
}
body.conv-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}
body.conv-hero .hero .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent, #165b8c);
  color: #fff;
  padding: 15px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .14);
}
body.conv-hero.conv-call .hero .button { background: var(--conv-cta); }
body.conv-hero .hero .button:hover { filter: brightness(.92); }
body.conv-hero.conv-call .hero .button:hover { background: var(--conv-cta-hover); filter: none; }
body.conv-hero .hero .button svg { width: 18px; height: 18px; flex: none; }
body.conv-hero .hero .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--conv-ink);
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
body.conv-hero .hero .text-link:hover { border-color: var(--accent); color: var(--accent); }
body.conv-hero .cta-note {
  font-size: 13px;
  color: var(--conv-muted);
  margin: 0 0 22px;
}
body.conv-hero .conv-proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  max-width: 560px;
}
body.conv-hero .conv-proof li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--conv-ink);
}
body.conv-hero .conv-proof li svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}
body.conv-hero .hero-image {
  position: relative;
  inset: auto;
  z-index: 1;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(15, 23, 42, .13);
  border: 1px solid rgba(15, 23, 42, .08);
}
body.conv-hero .hero-image:after { display: none; }
body.conv-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Quick-jump dark service strip visible above the fold on desktop */
body.conv-hero .service-strip {
  background: var(--conv-strip-bg);
  color: #fff;
}
body.conv-hero .service-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
body.conv-hero .strip-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #cbd5e1;
}
body.conv-hero .strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.conv-hero .strip-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #f8fafc;
  background: rgba(255, 255, 255, .11);
  padding: 7px 13px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .16);
}
body.conv-hero .strip-links a:hover { background: rgba(255, 255, 255, .2); }

/* Supporting intro-2 SEO block right below the service strip */
body.conv-hero .home-overview {
  background: #fff;
  border-bottom: 1px solid var(--conv-line);
}
body.conv-hero .home-overview-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 36px;
  align-items: start;
}
body.conv-hero .home-overview h2 {
  font: 800 25px/1.2 Manrope, sans-serif;
  letter-spacing: -.03em;
  color: var(--conv-ink);
  margin: 0;
}
body.conv-hero .home-overview p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--conv-body);
  margin: 0;
}

/* Override editorial/craft hero rules cleanly when conv-hero is active on Batch 1/2 sites */
body.conv-hero.direction-editorial { --paper: #ffffff; --soft: #f4f6f8; }
body.conv-hero.direction-editorial h1,
body.conv-hero.direction-editorial h2 { font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.03em; }
body.conv-hero.direction-editorial .hero-copy { display: block; }
body.conv-hero.direction-editorial .hero-image { margin-top: 0; }
body.conv-hero.direction-craft .hero-image { border-radius: 14px; box-shadow: 0 20px 44px rgba(15, 23, 42, .13); }
body.conv-hero .highlights { display: none; }

/* ===== Tablet ===== */
@media (max-width: 1050px) {
  body.conv-hero .header-inner { padding: 10px 22px; }
  body.conv-hero .desktop-nav { gap: 16px; font-size: 13px; }
  body.conv-hero .hero { padding: 32px 24px; gap: 28px; }
  body.conv-hero .service-strip-inner { padding: 14px 24px; }
}

@media (max-width: 900px) {
  body.conv-hero .desktop-nav { display: none; }
}

/* ===== Mobile (<= 760px) ===== */
@media (max-width: 760px) {
  body.conv-hero .header-inner { padding: 9px 14px; gap: 8px; }
  body.conv-hero .brand { font-size: 14px; max-width: 155px; gap: 7px; }
  body.conv-hero .brand img { width: 30px; height: 30px; }
  body.conv-hero .brand span span { font-size: 7.5px; letter-spacing: .09em; }
  body.conv-hero .header-call-btn { padding: 7px 11px; gap: 6px; }
  body.conv-hero .header-call-btn svg { width: 14px; height: 14px; }
  body.conv-hero .header-call-btn .hcb-label { font-size: 11.5px; }
  body.conv-hero .header-call-btn .hcb-num { font-size: 10px; }
  body.conv-hero .menu-toggle { width: 38px; height: 38px; }

  body.conv-hero .hero {
    grid-template-columns: 1fr;
    padding: 18px 16px 20px;
    gap: 16px;
  }
  body.conv-hero .hero h1 { font-size: 31px; margin-bottom: 8px; }
  body.conv-hero .hero .intro { margin-bottom: 14px; }
  body.conv-hero .hero .intro p { font-size: 15px; line-height: 1.54; }
  body.conv-hero .hero-actions { flex-direction: column; align-items: stretch; gap: 9px; margin-bottom: 8px; }
  body.conv-hero .hero .button { width: 100%; padding: 14px 18px; font-size: 16px; }
  body.conv-hero.conv-call .hero .text-link { display: none; }
  body.conv-hero.conv-form .hero .text-link { width: 100%; padding: 13px 18px; font-size: 15px; }
  body.conv-hero .cta-note { font-size: 12px; text-align: center; margin-bottom: 14px; }
  body.conv-hero .conv-proof { grid-template-columns: 1fr 1fr; gap: 8px 10px; }
  body.conv-hero .conv-proof li { font-size: 12.5px; }
  body.conv-hero .hero-image { width: 100%; margin: 0; aspect-ratio: 16 / 9; border-radius: 10px; }

  body.conv-hero .service-strip-inner {
    padding: 12px 16px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  body.conv-hero .strip-links { justify-content: flex-start; gap: 6px; }
  body.conv-hero .strip-links a { font-size: 12px; padding: 6px 10px; }
  body.conv-hero .home-overview-inner { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  body.conv-hero .home-overview h2 { font-size: 22px; }
  body.conv-hero .home-overview p { font-size: 14.5px; }
}
