/* =========================================================================
   SERVSITE — HVAC MASTER TEMPLATE — Locked Design System
   Per the ServSite playbook: orange #E05C1A accent; darks #0D0D0D/#111111/
   #161616; light #F8F9FA; borders #E8E8E8/#DDDDDD; green #22C55E; amber
   #F59E0B; typography Arial, weights 400/500 ONLY. Premium cinematic
   dark-mode-forward aesthetic + direct-response conversion architecture.
   ========================================================================= */

:root {
  /* Brand */
  --orange: #E05C1A;
  --orange-soft: rgba(224, 92, 26, 0.15);
  --orange-border: rgba(224, 92, 26, 0.3);

  /* Dark surfaces */
  --bg-dark: #111111;
  --bg-darker: #0D0D0D;
  --card-dark: #1a1a1a;
  --card-dark-2: #161616;
  --border-dark: rgba(255, 255, 255, 0.1);
  --text-dark-1: #ffffff;
  --text-dark-2: rgba(255, 255, 255, 0.55);
  --text-dark-3: rgba(255, 255, 255, 0.35);

  /* Light surfaces */
  --bg-light: #ffffff;
  --bg-gray: #F8F9FA;
  --border-light: #E8E8E8;
  --border-2: #DDDDDD;
  --text-1: #111111;
  --text-2: #4b5563;
  --text-3: #6b7280;

  /* Status */
  --green: #22C55E;
  --amber: #F59E0B;
  --red: #ef4444;
  --blue: #3b82f6;

  /* System */
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1200px;
  --font-sans: Arial, Helvetica, sans-serif;
}

/* Playbook rule: Arial 400/500 only — browser-default bold (700) is not allowed */
b, strong { font-weight: 500; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-1);
  background: var(--bg-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.accent-line { width: 28px; height: 2px; background: var(--orange); margin-bottom: 16px; }
.accent-line.center { margin-left: auto; margin-right: auto; }

h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: 18px; }

.section { padding: 72px 0; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 16px; color: var(--text-3); line-height: 1.6; }

/* Dark variants */
.dark { background: var(--bg-dark); color: var(--text-dark-1); }
.dark.darker { background: var(--bg-darker); }
.dark h1, .dark h2, .dark h3 { color: var(--text-dark-1); }
.dark .section-header p { color: var(--text-dark-2); }
.gray { background: var(--bg-gray); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; padding: 14px 26px;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(224,92,26,.28); }
.btn-orange:hover { background: #cf5316; }
.btn-dark { background: var(--text-1); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--text-1); border-color: #cbd2d9; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); background: rgba(224,92,26,0.06); }
/* On dark surfaces (heroes included) ghost buttons must read white, not #111 */
.dark .btn-ghost, .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.07); }
.dark .btn-ghost:hover, .hero .btn-ghost:hover { color: #fff; border-color: var(--orange); background: rgba(224,92,26,0.18); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.micro-copy { font-size: 12.5px; color: var(--text-3); margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.dark .micro-copy { color: var(--text-dark-3); }

/* ---------- Badges & pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500; padding: 4px 11px; border-radius: 20px;
  background: var(--orange-soft); color: var(--orange); border: 1px solid var(--orange-border);
}
.pill.gray { background: #f1f3f5; color: var(--text-3); border-color: var(--border-light); }

.avail-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 30px;
  background: rgba(34,197,94,0.12); color: var(--green); border: 1px solid rgba(34,197,94,0.3);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; }
.dot.pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--green); opacity: .4; animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.7); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
.dot.green { background: var(--green); } .dot.red { background: var(--red); } .dot.white { background: #fff; }

.verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--green); font-weight: 500; }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.trust-strip .item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.trust-strip .item i { color: var(--orange); font-size: 18px; }
.dark .trust-strip .item { color: var(--text-dark-1); }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; }
.stat .num { font-size: 30px; font-weight: 500; color: var(--orange); line-height: 1.1; }
.stat .lbl { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.dark .stat .lbl { color: var(--text-dark-2); }

/* =========================================================================
   TICKER BAR
   ========================================================================= */
.ticker { background: var(--orange); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; padding: 9px 0; animation: ticker 32s linear infinite; }
.ticker-track span { color: #fff; font-size: 13px; font-weight: 500; padding: 0 22px; letter-spacing: .01em; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================================
   NAVBAR
   ========================================================================= */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-light); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.logo i { color: var(--orange); font-size: 24px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-1); }
.nav-call { text-align: right; }
.nav-call .label { font-size: 11px; font-weight: 500; color: var(--green); display: flex; align-items: center; gap: 5px; justify-content: flex-end; }
.nav-call .phone { display: inline-flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 500; color: var(--text-1); margin-top: 2px; }
.nav-call .phone i { color: var(--orange); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text-1); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; background: var(--bg-dark); color: #fff; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(17,17,17,0.97) 0%, rgba(17,17,17,0.86) 55%, rgba(17,17,17,0.68) 100%),
              url('https://images.unsplash.com/photo-1660330589827-da8ab7dd3c02?q=80&w=1600&auto=format&fit=crop') center/cover;
}
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 90px; max-width: 1100px; }
.hero h1 { max-width: 720px; margin-bottom: 18px; }
.hero .sub { font-size: 17px; color: var(--text-dark-2); max-width: 560px; line-height: 1.6; margin-bottom: 28px; }
.hero .avail-badge { margin-bottom: 18px; }

/* Floating testimonial card */
.float-card {
  position: absolute; right: 32px; bottom: 36px; z-index: 3;
  width: 290px; background: var(--card-dark); border: 1px solid var(--border-dark);
  border-radius: var(--radius); padding: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.float-card .stars { color: #F59E0B; font-size: 13px; margin-bottom: 8px; }
.float-card p { font-size: 13px; color: var(--text-dark-1); line-height: 1.55; margin-bottom: 10px; }
.float-card .who { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dark-2); }
.float-card .who .av { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 500; }

/* =========================================================================
   SPLIT (image + content)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev { direction: rtl; } .split.rev > * { direction: ltr; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; background: #222 center/cover; }
.media .ov { position: absolute; z-index: 2; }
.media .ov.tl { top: 14px; left: 14px; }
.media .ov.bl { bottom: 14px; left: 14px; }
.media .ov.br { bottom: 14px; right: 14px; }
.tag-overlay {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500;
  background: rgba(17,17,17,0.82); color: #fff; padding: 7px 12px; border-radius: 30px; backdrop-filter: blur(4px);
}
.resp-badge {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius-sm);
  padding: 10px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.resp-badge .ic { width: 34px; height: 34px; border-radius: 8px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 18px; }
.resp-badge .t1 { font-size: 14px; font-weight: 500; color: var(--text-1); line-height: 1.1; }
.resp-badge .t2 { font-size: 11px; color: var(--text-3); }

/* checklist */
.checklist { display: grid; gap: 16px; margin: 24px 0; }
.checklist .ck { display: flex; gap: 12px; }
.checklist .ck i { color: var(--orange); font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.checklist .ck .h { font-size: 15px; font-weight: 500; }
.checklist .ck .d { font-size: 13px; color: var(--text-3); }
.dark .checklist .ck .d { color: var(--text-dark-2); }
.stat-inline { display: flex; gap: 22px; padding: 14px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin-bottom: 8px; }
.dark .stat-inline { border-color: var(--border-dark); }
.stat-inline b { font-size: 18px; font-weight: 500; color: var(--orange); }
.stat-inline span { display: block; font-size: 12px; color: var(--text-3); }
.dark .stat-inline span { color: var(--text-dark-2); }
.guarantee { font-size: 12.5px; color: var(--text-3); margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.dark .guarantee { color: var(--text-dark-3); }
.guarantee i { color: var(--orange); }

/* =========================================================================
   PROCESS STEPS
   ========================================================================= */
.steps-row { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: start; margin-bottom: 40px; }
.step-card { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 26px 22px; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 16px; }
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--text-dark-2); line-height: 1.6; margin-bottom: 14px; }
.connector { display: grid; place-items: center; padding-top: 46px; }
.connector i { color: rgba(255,255,255,0.2); font-size: 22px; }

/* =========================================================================
   SERVICE CARDS
   ========================================================================= */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.svc-card:hover { box-shadow: 0 14px 40px rgba(0,0,0,.08); transform: translateY(-3px); }
.svc-card.featured { border: 1.5px solid var(--orange); }
.svc-photo { position: relative; height: 150px; background: #2a2a2a center/cover; }
.svc-photo .cat { position: absolute; top: 10px; left: 10px; }
.svc-photo .badge24 { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; background: var(--red); color: #fff; font-size: 11px; font-weight: 500; padding: 4px 9px; border-radius: 20px; }
.svc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.svc-body h3 { font-size: 17px; }
.svc-body .desc { font-size: 13.5px; color: var(--text-3); line-height: 1.55; }
.incl { list-style: none; display: grid; gap: 7px; margin: 4px 0; }
.incl li { font-size: 12.5px; color: var(--text-2); display: flex; gap: 8px; align-items: flex-start; }
.incl li i { color: var(--orange); font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.svc-body .foot { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 12px; }

/* =========================================================================
   WHY CHOOSE — 2x2
   ========================================================================= */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border-light); background: #fff; }
.dark .benefit { background: var(--card-dark); border-color: var(--border-dark); }
.benefit .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.benefit h3 { font-size: 16px; margin-bottom: 4px; }
.benefit p { font-size: 13px; color: var(--text-3); line-height: 1.5; }
.dark .benefit p { color: var(--text-dark-2); }
.benefit .stat-line { font-size: 12px; color: var(--orange); font-weight: 500; margin-top: 6px; }

/* =========================================================================
   REVIEWS
   ========================================================================= */
.agg-header { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.agg-header .score { font-size: 44px; font-weight: 500; color: var(--orange); line-height: 1; }
.agg-header .stars { color: #F59E0B; font-size: 18px; }
.agg-header .meta { font-size: 13px; color: var(--text-dark-2); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev-card { background: var(--card-dark-2); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 22px; }
.gray .rev-card { background: #fff; border-color: var(--border-light); }
.rev-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.rev-av { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 14px; }
.rev-top .name { font-size: 14.5px; font-weight: 500; }
.rev-top .loc { font-size: 12px; color: var(--text-dark-2); }
.gray .rev-top .loc { color: var(--text-3); }
.rev-stars { color: #F59E0B; font-size: 13px; }
.rev-card .text { font-size: 13.5px; color: var(--text-dark-1); line-height: 1.6; margin: 12px 0; }
.gray .rev-card .text { color: var(--text-2); }
.rev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* =========================================================================
   FORM
   ========================================================================= */
.form-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field select {
  font-family: inherit; font-size: 14px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-light); background: #fff; color: var(--text-1);
}
.dark .field input, .dark .field select { background: var(--card-dark); border-color: var(--border-dark); color: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; }
.dark .form-card { background: var(--card-dark); border-color: var(--border-dark); }
.info-block { display: grid; gap: 18px; }
.info-row { display: flex; gap: 12px; }
.info-row .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.info-row .t1 { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.dark .info-row .t1 { color: var(--text-dark-2); }
.info-row .t2 { font-size: 15px; font-weight: 500; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cert { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; padding: 8px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border-light); background: var(--bg-gray); }
.dark .cert { background: var(--card-dark); border-color: var(--border-dark); color: #fff; }
.cert i { color: var(--orange); font-size: 16px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--bg-darker); color: var(--text-dark-2); padding: 56px 0 0; }
.footer .cert-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding-bottom: 36px; border-bottom: 1px solid var(--border-dark); }
.footer .cert-row .cert { background: var(--card-dark); border-color: var(--border-dark); color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 40px 0; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; font-weight: 500; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--text-dark-2); transition: color .15s; }
.footer ul a:hover { color: var(--orange); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .blurb { font-size: 13.5px; line-height: 1.6; max-width: 280px; }
.footer .emergency .big { font-size: 22px; font-weight: 500; color: #fff; display: flex; align-items: center; gap: 8px; }
.footer .emergency .big i { color: var(--orange); }
.footer .emergency .lbl { font-size: 12px; color: var(--orange); font-weight: 500; margin-top: 4px; }
.footer .social { display: flex; gap: 10px; margin-top: 16px; }
.footer .social a { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border-dark); display: grid; place-items: center; color: #fff; font-size: 18px; transition: .15s; }
.footer .social a:hover { background: var(--orange); border-color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border-dark); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12.5px; }
.footer-bottom a { color: var(--text-dark-2); }

/* =========================================================================
   FILTER PILLS
   ========================================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 22px 0; }
.filter-pill { font-size: 13.5px; font-weight: 500; padding: 9px 18px; border-radius: 30px; border: 1px solid var(--border-light); background: #fff; color: var(--text-2); cursor: pointer; transition: .15s; }
.filter-pill.active, .filter-pill:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* breadcrumb */
.crumb { font-size: 13px; color: var(--text-dark-2); margin-bottom: 14px; }
.crumb a:hover { color: var(--orange); }
.crumb i { font-size: 13px; vertical-align: -1px; }

/* faq */
.faq-grid { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px 22px; background: #fff; }
.faq-item .q { font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.faq-item .q i { color: var(--orange); }
.faq-item .a { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-top: 10px; }

/* city pills */
.city-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city-pill { font-size: 13.5px; font-weight: 500; padding: 9px 16px; border-radius: 30px; background: var(--bg-gray); border: 1px solid var(--border-light); display: inline-flex; align-items: center; gap: 6px; }
.city-pill i { color: var(--orange); font-size: 15px; }

/* map */
.map-embed { width: 100%; height: 380px; border: 0; border-radius: var(--radius); filter: grayscale(0.2); background: #e9ecef; }
.map-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 380px; border-radius: var(--radius); text-align: center; padding: 24px;
  background: #e9ecef; border: 1px solid var(--border-light);
}
.map-fallback i { font-size: 40px; color: var(--orange); }
.map-fallback b { font-size: 17px; }
.map-fallback span { font-size: 13px; color: var(--text-3); }

/* three paths */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 26px; text-align: center; }
.path-card.emergency { border: 1.5px solid var(--orange); }
.path-card .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin: 0 auto 14px; }
.path-card .ic.o { background: var(--orange-soft); color: var(--orange); }
.path-card .ic.b { background: rgba(59,130,246,.12); color: var(--blue); }
.path-card .ic.g { background: rgba(34,197,94,.12); color: var(--green); }
.path-card h3 { margin-bottom: 6px; }
.path-card p { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }

/* values / cert cards */
.icon-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 26px; }
.gray .icon-card { background: #fff; }
.icon-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.icon-card h3 { margin-bottom: 8px; }
.icon-card p { font-size: 13.5px; color: var(--text-3); line-height: 1.6; }

/* rating breakdown */
.breakdown { display: grid; gap: 9px; }
.bd-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.bd-row .lab { width: 28px; color: var(--text-3); }
.bd-bar { flex: 1; height: 8px; background: var(--border-light); border-radius: 10px; overflow: hidden; }
.bd-bar > span { display: block; height: 100%; background: var(--orange); }
.bd-row .pct { width: 36px; text-align: right; color: var(--text-3); }

/* founder quote */
.quote-callout { border-left: 3px solid var(--orange); padding: 6px 0 6px 18px; font-size: 16px; font-style: italic; color: var(--text-2); margin: 20px 0; }
.dark .quote-callout { color: var(--text-dark-1); }
.founder-by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.founder-by .av { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 500; }
.founder-by .n { font-size: 15px; font-weight: 500; }
.founder-by .r { font-size: 12.5px; color: var(--text-3); }
.dark .founder-by .r { color: var(--text-dark-2); }
.milestones { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 24px; }
.milestone { text-align: center; padding: 14px; border-radius: var(--radius-sm); background: var(--bg-gray); }
.dark .milestone { background: var(--card-dark); }
.milestone b { display: block; font-size: 15px; color: var(--orange); }
.milestone span { font-size: 12px; color: var(--text-3); }
.dark .milestone span { color: var(--text-dark-2); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--border-light); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev { direction: ltr; }
  .cards-grid, .cards-grid.two { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid, .path-grid, .milestones { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 14px; }
  .connector { display: none; }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
  .benefit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards-grid, .cards-grid.two { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .nav-call .label { display: none; }
  .section { padding: 52px 0; }
  .reviews-grid.six { grid-template-columns: 1fr; }
}

/* =========================================================================
   LANGUAGE TOGGLE — English ⇄ Español (playbook §2, bilingual positioning)
   The label always names the language you GET by clicking, so there is no
   ambiguity about what the button does. Injected by js/i18n.js.
   ========================================================================= */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 8px 15px; margin-left: 18px;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500;
  color: var(--orange); background: var(--orange-soft);
  border: 1.5px solid var(--orange-border); border-radius: 999px;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.lang-toggle:hover { background: var(--orange); color: #fff; transform: translateY(-1px); }
.lang-toggle i { font-size: 17px; }
.lang-toggle .lang-short { display: none; }

@media (max-width: 980px) {
  /* compact next to the hamburger, still obviously a language switch */
  .lang-toggle { margin-left: 10px; padding: 8px 12px; }
  .lang-toggle .lang-full { display: none; }
  .lang-toggle .lang-short { display: inline; }
}

/* Keep the navbar on one line once the toggle joins the row */
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .nav-inner { gap: 6px; }
  .logo { font-size: 15px; white-space: nowrap; gap: 6px; }
  .logo i { font-size: 20px; }
  .nav-call .phone { font-size: 15px; white-space: nowrap; gap: 5px; }
  .nav-call .phone i { font-size: 15px; }
  .lang-toggle { margin-left: 6px; padding: 8px 10px; gap: 5px; font-size: 13px; }
  .lang-toggle i { font-size: 15px; }
}

/* =========================================================================
   STICKY MOBILE CALL BAR — the primary conversion mechanism on phones.
   Most emergency HVAC searches are mobile; this keeps a 48px tap-to-call
   target on screen at all times once the visitor scrolls past the hero.
   Injected by js/main.js — reads the phone number from the navbar, so the
   per-client find-and-replace automatically keeps it in sync.
   ========================================================================= */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 997;
  display: none; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(17,17,17,0.10);
  transform: translateY(100%); transition: transform .28s ease;
}
.call-bar.visible { transform: none; }
.call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 48px; border-radius: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
}
.call-bar .cb-primary { flex: 1.7; background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(224,92,26,.32); }
.call-bar .cb-primary i { font-size: 17px; }
.call-bar .cb-secondary { flex: 1; background: #fff; color: var(--text-1); border: 1.5px solid var(--border-2); }

@media (max-width: 980px) {
  .call-bar { display: flex; }
  /* keep the last section clear of the bar */
  body.has-callbar { padding-bottom: 74px; }
  /* lift the chat launcher so it never sits under the call bar */
  body.has-callbar .hcb-btn { bottom: 88px; }
  body.has-callbar .hcb-panel { bottom: 158px; max-height: calc(100vh - 230px); }
  /* the navbar phone is the other always-visible call target — make it thumb-sized */
  .nav-call .phone { min-height: 44px; padding: 4px 2px; }
}

/* =========================================================================
   MOTION — premium but subtle.
   Hero entrance on load + scroll-reveal fade-ups (auto-tagged by main.js).
   Keep this block LAST: while an element is mid-reveal these transitions
   take precedence; main.js removes the classes afterward so hover
   micro-interactions return to normal.
   ========================================================================= */

/* Hero entrance — content rises in, one beat per element */
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .container > * { animation: heroUp .65s cubic-bezier(.22,.61,.36,1) both; }
.hero .container > *:nth-child(1) { animation-delay: .05s; }
.hero .container > *:nth-child(2) { animation-delay: .13s; }
.hero .container > *:nth-child(3) { animation-delay: .21s; }
.hero .container > *:nth-child(4) { animation-delay: .29s; }
.hero .container > *:nth-child(5) { animation-delay: .37s; }
.hero .container > *:nth-child(6) { animation-delay: .45s; }
.hero .container > *:nth-child(7) { animation-delay: .53s; }
.float-card { animation: heroUp .7s .6s cubic-bezier(.22,.61,.36,1) both; }

/* Hover micro-lifts for the card families that didn't have one yet */
.rev-card, .icon-card, .path-card, .benefit, .step-card, .faq-item { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rev-card:hover, .icon-card:hover, .path-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.09); }
.faq-item:hover { border-color: var(--orange-border); }

/* Scroll-reveal — fade-up with per-sibling stagger (via --d, set by JS) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Accessibility: honor reduced-motion — everything appears instantly */
@media (prefers-reduced-motion: reduce) {
  .hero .container > *, .float-card { animation: none; }
  .ticker-track { animation: none; }
  .dot.pulse::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
