/* ═══════════════════════════════════════════════════════════
   PRECISION ENERGY INSIGHTS — Site Stylesheet
   Colors matched to current brand
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Sora:wght@400;600;700;800&display=swap');

:root {
  /* Brand colors — original navy/blue/orange */
  --navy:        #0C2340;
  --navy-mid:    #153358;
  --navy-light:  #1D4575;
  --blue:        #1A6BB5;
  --blue-light:  #2B8FE0;
  --blue-pale:   #E8F2FB;
  --orange:      #E8650A;
  --orange-soft: #FFF0E8;
  --green:       #1E8754;
  --green-soft:  #E6F4ED;
  --white:       #FFFFFF;
  --offwhite:    #F7F9FC;
  --gray-100:    #EEF1F6;
  --gray-200:    #D6DCE8;
  --gray-400:    #8A94A8;
  --gray-600:    #4B5568;
  --gray-800:    #1E2A3B;
  --text:        #0C2340;

  --font-head: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius:   8px;
  --radius-lg:16px;
  --shadow:   0 2px 12px rgba(12,35,64,0.08);
  --shadow-lg:0 8px 40px rgba(12,35,64,0.14);
  --transition: 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(36px,5.5vw,62px); font-weight: 800; }
h2 { font-size: clamp(28px,4vw,44px); font-weight: 700; }
h3 { font-size: clamp(20px,2.5vw,26px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 600; }
p  { font-size: 16px; line-height: 1.75; color: var(--gray-600); }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  border-radius: var(--radius); transition: all var(--transition);
  white-space: nowrap; line-height: 1;
}
.btn-primary   { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #c4540a; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,101,10,0.35); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline   { background: transparent; color: var(--navy); border: 2px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-white     { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--offwhite); }
.btn svg { flex-shrink: 0; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* ── Labels ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--orange); flex-shrink: 0; }
.eyebrow-blue { color: var(--blue); }
.eyebrow-blue::before { background: var(--blue); }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.badge-orange { background: var(--orange-soft); color: var(--orange); }
.badge-blue   { background: var(--blue-pale);   color: var(--blue); }
.badge-green  { background: var(--green-soft);  color: var(--green); }
.badge-navy   { background: var(--navy);         color: #fff; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-body  { padding: 32px; }

/* ── Divider ── */
.divider { height: 1px; background: var(--gray-100); margin: 48px 0; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  height: 72px;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.nav-logo {
  display: flex; flex-direction: column; line-height: 1.2; flex-shrink: 0;
}
.nav-logo .name {
  font-family: var(--font-head); font-size: 15px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.01em;
}
.nav-logo .sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--gray-600);
  padding: 8px 14px; border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--offwhite); }
.nav-cta-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta-group .btn { padding: 10px 22px; font-size: 14px; }

/* Mobile menu toggle */
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; border-radius: var(--radius); transition: background var(--transition); }
.nav-toggle:hover { background: var(--offwhite); }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* Mobile nav */
.nav-mobile { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--gray-100); padding: 20px 24px 28px; box-shadow: var(--shadow-lg); z-index: 199; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; font-size: 16px; font-weight: 600; color: var(--gray-600); padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .btn { display: flex; margin-top: 16px; justify-content: center; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  padding-top: 152px; padding-bottom: 80px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 100% 50%, rgba(26,107,181,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(232,101,10,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-content {}
.hero .eyebrow { color: #E8D5A3; }
.hero .eyebrow::before { background: #E8D5A3; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .highlight { color: #F9B45A; }
.hero-sub { font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 36px; }
.hero-sub strong { color: rgba(255,255,255,0.92); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-trust { display: flex; flex-direction: column; gap: 10px; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7);
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
}
.hero-stat-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-card {
  background: var(--offwhite);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.stat-card .num {
  font-family: var(--font-head); font-size: 42px; font-weight: 800;
  color: var(--green); line-height: 1;
}
.stat-card .label { font-size: 13px; color: var(--gray-600); margin-top: 6px; }
.hero-cred-bar {
  background: var(--offwhite);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-around; gap: 16px; flex-wrap: wrap;
}
.cred-pill {
  font-size: 12px; font-weight: 600; color: var(--gray-600);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   AUDIENCE SPLIT
═══════════════════════════════════════════ */
.audience { background: var(--offwhite); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.audience-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 48px 40px;
  position: relative; overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.audience-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--orange);
}
.audience-card.contractor::before { background: var(--blue); }
.ac-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-soft); color: var(--orange);
  margin-bottom: 24px;
}
.audience-card.contractor .ac-icon { background: var(--blue-pale); color: var(--blue); }
.ac-title { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.ac-tag { font-size: 13px; font-weight: 600; color: var(--orange); margin-bottom: 16px; }
.audience-card.contractor .ac-tag { color: var(--blue); }
.ac-body { font-size: 15px; color: var(--gray-600); margin-bottom: 24px; line-height: 1.7; }
.ac-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.ac-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--gray-600); line-height: 1.5;
}
.ac-list li::before {
  content: '';
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange-soft); flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%23E8650A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.audience-card.contractor .ac-list li::before {
  background-color: var(--blue-pale);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%231A6BB5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ac-cta { font-size: 14px; font-weight: 700; color: var(--orange); display: flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.ac-cta:hover { gap: 12px; }
.audience-card.contractor .ac-cta { color: var(--blue); }

/* ═══════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════ */
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gray-200); }
.service-num {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  color: var(--orange); letter-spacing: 0.1em; margin-bottom: 20px;
  opacity: 0.7;
}
.service-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-name { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-desc { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ═══════════════════════════════════════════
   REBATES SECTION
═══════════════════════════════════════════ */
.rebates { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.rebates::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.rebates-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; position: relative; z-index: 1; }
.rebates .eyebrow { color: rgba(255,255,255,0.7); }
.rebates .eyebrow::before { background: rgba(255,255,255,0.7); }
.rebates h2 { color: #fff; }
.rebates p { color: rgba(255,255,255,0.75); }
.rebates p strong { color: rgba(255,255,255,0.95); font-weight: 600; }
.rebate-stats { display: flex; gap: 48px; margin: 32px 0; }
.r-stat-num { font-family: var(--font-head); font-size: 52px; font-weight: 800; color: #fff; line-height: 1; }
.r-stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 500; }
.rebate-tracks { display: flex; flex-direction: column; gap: 16px; }
.rebate-track {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: background var(--transition);
}
.rebate-track:hover { background: rgba(255,255,255,0.12); }
.rt-badge {
  display: inline-block;
  background: #fff; color: var(--green);
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 4px; margin-bottom: 10px;
}
.rt-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.rt-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.rt-amount { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #fff; margin-top: 10px; }

/* ═══════════════════════════════════════════
   SERVICE AREA
═══════════════════════════════════════════ */
.area { background: var(--white); }
.area-header { text-align: center; margin-bottom: 56px; }
.area-header h2 { margin: 0 auto 16px; }
.area-header p { max-width: 480px; margin: 0 auto; }
.county-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.county-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.county-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.county-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.county-name { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--navy); }
.county-type { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; margin-top: 2px; }
.county-cities { font-size: 14px; color: var(--gray-600); line-height: 2; }

/* ═══════════════════════════════════════════
   ABOUT STRIP
═══════════════════════════════════════════ */
.about-strip { background: var(--navy); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px; align-items: center; }
.about-big-text { font-family: var(--font-head); font-size: clamp(40px,6vw,64px); font-weight: 800; line-height: 1.1; color: #fff; }
.about-big-text .pop { color: #8FC86A; }
.about-body { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.65); margin-bottom: 28px; }
.about-body strong { color: #fff; font-weight: 600; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; }
.cred { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 100px; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials { background: var(--white); }
.testi-alert {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-soft); border: 1px solid rgba(232,101,10,0.2);
  border-radius: var(--radius); padding: 10px 16px;
  font-size: 13px; font-weight: 600; color: var(--orange);
  margin-bottom: 48px;
}
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--offwhite);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.testi-quote { font-size: 36px; font-family: var(--font-head); color: var(--orange); line-height: 1; margin-bottom: 16px; opacity: 0.5; }
.testi-text { font-size: 15px; color: var(--gray-600); line-height: 1.75; font-style: italic; margin-bottom: 24px; }
.testi-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.testi-loc  { font-size: 13px; color: var(--gray-400); margin-top: 2px; }
.testi-placeholder {
  background: var(--gray-100); border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; text-align: center;
  min-height: 200px; color: var(--gray-400);
  font-size: 13px; font-weight: 600;
}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq { background: var(--offwhite); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 28px;
  font-size: 15px; font-weight: 700; color: var(--navy);
  text-align: left; transition: background var(--transition);
}
.faq-q:hover { background: var(--offwhite); }
.faq-q.open { background: var(--navy); color: #fff; }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 28px 24px; font-size: 14px; line-height: 1.75; color: var(--gray-600); }
.faq-a.open { display: block; }

/* ═══════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, #c4540a 100%);
  padding: 80px 0;
}
.cta-band-inner { text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 480px; margin: 0 auto 36px; }
.cta-band .btn-white { color: var(--orange); font-weight: 700; }

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact { background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: start; }
.contact-form { background: var(--offwhite); border-radius: var(--radius-lg); border: 1px solid var(--gray-100); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { padding-top: 8px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.cd-icon { width: 40px; height: 40px; background: var(--blue-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.cd-label { font-size: 12px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; }
.cd-value { font-size: 15px; font-weight: 600; color: var(--navy); margin-top: 2px; }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
  padding: 140px 0 80px;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(42,92,27,0.25) 0%, transparent 65%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero .eyebrow { color: rgba(255,255,255,0.55); }
.page-hero .eyebrow::before { background: rgba(255,255,255,0.55); }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.65); max-width: 640px; }

/* ═══════════════════════════════════════════
   FEATURE ROWS (inner pages)
═══════════════════════════════════════════ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 96px; }
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
.feature-row:last-child { margin-bottom: 0; }
.feature-content {}
.feature-content h3 { font-size: 28px; color: var(--navy); margin-bottom: 16px; }
.feature-content p { font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.feature-visual {
  background: var(--offwhite);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.feature-visual-icon { font-size: 64px; margin-bottom: 16px; }
.feature-visual-label { font-size: 14px; font-weight: 600; color: var(--gray-400); }
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.fl-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.fl-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6l2.5 2.5L9.5 4' stroke='%231E8754' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ═══════════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════════ */
.steps { background: var(--offwhite); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.step-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow); position: relative;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-desc  { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* ═══════════════════════════════════════════
   PARTNER SECTION (Contractors)
═══════════════════════════════════════════ */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.partner-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow); transition: all var(--transition);
}
.partner-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.partner-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--blue-pale); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.partner-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.partner-desc  { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 72px 0 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand .name { font-family: var(--font-head); font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.01em; display: block; margin-bottom: 2px; }
.footer-brand .sub  { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 240px; }
.footer-col-title { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }


/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .services-head     { grid-template-columns: 1fr; gap: 24px; }
  .services-grid     { grid-template-columns: 1fr 1fr; }
  .rebates-inner     { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner     { grid-template-columns: 1fr; gap: 48px; }
  .about-inner       { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature-row       { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip  { direction: ltr; }
  .steps-grid        { grid-template-columns: 1fr 1fr; gap: 16px; }
  .partner-grid      { grid-template-columns: 1fr; }
  .audience-grid     { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   Full redesign for phones
═══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ─── Base ─── */
  .container  { padding: 0 20px; }
  .section    { padding: 52px 0; }
  .section-sm { padding: 36px 0; }

  /* ─── Typography ─── */
  h1 { font-size: 28px; line-height: 1.2; }
  h2 { font-size: 23px; line-height: 1.25; }
  h3 { font-size: 19px; line-height: 1.3; }
  p  { font-size: 15px; }

  /* ─── Buttons ─── */
  .btn {
    padding: 14px 20px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }
  .hero-ctas      { flex-direction: column; gap: 10px; }
  .hero-btn-group { flex-direction: column; gap: 10px; }

  /* ─── Nav ─── */
  .nav              { height: 62px; }
  .nav-inner        { height: 62px; }
  .nav-logo .name   { font-size: 13px; }
  .nav-links, .nav-cta-group { display: none; }
  .nav-toggle       { display: flex; }
  .nav-mobile       { top: 62px; padding: 16px 20px 24px; }
  .nav-mobile a     { font-size: 16px; padding: 14px 0; }
  .nav-mobile .btn  { margin-top: 12px; }

  /* ─── THE BIG FIX: collapse ALL inline grid-template-columns ─── */
  /* This catches every inline style="display:grid;grid-template-columns:..." */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* ─── Page Hero ─── */
  .page-hero         { padding: 90px 0 40px; }
  .page-hero h1      { font-size: 26px; margin-bottom: 12px; }
  .page-hero p       { font-size: 15px; line-height: 1.65; }

  /* ─── Homepage Hero ─── */
  .hero              { padding: 90px 0 48px; }
  .hero h1           { font-size: 30px; margin-bottom: 14px; }
  .hero-sub          { font-size: 15px; margin-bottom: 28px; line-height: 1.65; }
  .hero-ctas         { margin-bottom: 32px; }
  .hero-trust        { gap: 8px; }
  .trust-item        { font-size: 12px; }
  .hero-stat-cards   { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card         { padding: 18px 14px; }
  .stat-card .num    { font-size: 30px; }
  .stat-card .label  { font-size: 11px; }
  .hero-cred-bar     { padding: 12px 14px; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
  .cred-pill         { font-size: 10px; }

  /* ─── Audience Cards ─── */
  .audience-grid     { margin-top: 28px; gap: 14px; }
  .audience-card     { padding: 24px 20px; }
  .ac-icon           { width: 44px; height: 44px; margin-bottom: 14px; }
  .ac-title          { font-size: 20px; }
  .ac-body           { font-size: 14px; margin-bottom: 14px; }
  .ac-list           { gap: 8px; margin-bottom: 20px; }
  .ac-list li        { font-size: 13px; }

  /* ─── Services ─── */
  .services-head     { margin-bottom: 24px; }
  .services-grid     { grid-template-columns: 1fr; gap: 12px; }
  .service-card      { padding: 22px 18px; }
  .service-name      { font-size: 16px; }
  .service-desc      { font-size: 13px; }
  .service-icon      { width: 36px; height: 36px; margin-bottom: 12px; }
  .service-num       { margin-bottom: 12px; }

  /* ─── Rebates ─── */
  .rebates-inner     { gap: 32px; }
  .rebate-stats      { flex-direction: row; flex-wrap: wrap; gap: 24px; margin: 20px 0; }
  .r-stat-num        { font-size: 38px; }
  .r-stat-label      { font-size: 12px; }
  .rebate-tracks     { gap: 10px; }
  .rebate-track      { padding: 18px; }
  .rt-title          { font-size: 15px; }
  .rt-amount         { font-size: 20px; }
  .rt-desc           { font-size: 13px; }

  /* ─── County Grid ─── */
  .county-grid       { grid-template-columns: 1fr; gap: 12px; }
  .county-card       { padding: 24px 20px; }
  .county-name       { font-size: 24px; }
  .county-cities     { font-size: 13px; line-height: 1.85; }

  /* ─── About Strip (homepage) ─── */
  .about-inner       { gap: 24px; }
  .about-big-text    { font-size: 28px; }
  .about-body        { font-size: 14px; margin-bottom: 18px; }
  .creds             { gap: 7px; }
  .cred              { font-size: 11px; padding: 5px 10px; }

  /* ─── Navy Callout box (homeowners "We don't sell") ─── */
  .navy-callout      { padding: 28px 22px !important; }
  .navy-callout div[style*="font-size:48px"] { font-size: 30px !important; }

  /* ─── About certifications box ─── */
  .cert-box          { padding: 24px 18px !important; }

  /* ─── Contractor navy highlight box ─── */
  .contractor-navy-box { padding: 28px 22px !important; gap: 28px !important; }

  /* ─── Testimonials ─── */
  .testi-grid        { grid-template-columns: 1fr; gap: 12px; }
  .testi-card        { padding: 22px 18px; }
  .testi-quote       { font-size: 28px; margin-bottom: 10px; }
  .testi-text        { font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
  .testi-name        { font-size: 14px; }
  .testi-alert       { font-size: 12px; margin-bottom: 28px; }

  /* ─── FAQ ─── */
  .faq-grid          { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }
  .faq-q             { padding: 16px 18px; font-size: 14px; }
  .faq-a             { padding: 0 18px 16px; font-size: 13px; line-height: 1.7; }

  /* ─── CTA Band ─── */
  .cta-band          { padding: 48px 0; }
  .cta-band h2       { font-size: 22px; margin-bottom: 10px; }
  .cta-band p        { font-size: 15px; margin-bottom: 24px; }

  /* ─── Contact / Forms ─── */
  .contact-inner     { gap: 32px; }
  .contact-form      { padding: 22px 18px; }
  .form-row          { grid-template-columns: 1fr; gap: 0; }
  /* font-size 16px prevents iOS zoom on input focus */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 12px 14px; }
  .form-group label  { font-size: 12px; }
  .contact-detail    { gap: 12px; margin-bottom: 18px; }
  .cd-icon           { width: 36px; height: 36px; flex-shrink: 0; }
  .cd-label          { font-size: 11px; }
  .cd-value          { font-size: 14px; }

  /* ─── Feature Rows (inner pages) ─── */
  .feature-row       { gap: 24px; margin-bottom: 44px; }
  .feature-content h3 { font-size: 20px; }
  .feature-content p  { font-size: 14px; }
  .feature-visual    { padding: 24px 18px; }
  .feature-visual-icon { font-size: 44px; }

  /* ─── Steps ─── */
  /* Horizontal layout: number badge + text side by side */
  .steps-grid        { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .step-card         {
    padding: 18px 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .step-num          {
    width: 34px; height: 34px; font-size: 14px;
    flex-shrink: 0; margin-bottom: 0;
  }
  .step-title        { font-size: 15px; margin-bottom: 4px; }
  .step-desc         { font-size: 13px; line-height: 1.6; }

  /* ─── Partner / Use-Case Cards ─── */
  .partner-grid      { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .partner-card      {
    padding: 20px 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .partner-icon      {
    width: 38px; height: 38px; flex-shrink: 0; margin-bottom: 0;
  }
  .partner-title     { font-size: 16px; margin-bottom: 5px; }
  .partner-desc      { font-size: 13px; line-height: 1.65; }

  /* ─── Inline checklist rows (homeowners / about) ─── */
  /* Tighten the checklist items that use inline flex+border styles */
  [style*="border-bottom:1px solid var(--gray-100)"][style*="padding:18px 0"],
  [style*="padding:18px 0;border-bottom"] {
    padding: 13px 0 !important;
  }
  [style*="padding:36px 24px"][style*="border-radius"] {
    padding: 20px 16px !important;
  }

  /* ─── Footer ─── */
  footer             { padding: 44px 0 24px; }
  .footer-grid       { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-brand .name { font-size: 14px; }
  .footer-tagline    { font-size: 13px; max-width: 100%; }
  .footer-col-title  { font-size: 10px; margin-bottom: 10px; }
  .footer-links      { gap: 8px; }
  .footer-links a    { font-size: 14px; }
  .footer-bottom     { flex-direction: column; text-align: center; gap: 6px; padding-top: 18px; }
  .footer-bottom p   { font-size: 12px; }
}
