/* ═══════════════════════════════════════════════════════════
   Cooper's Climate — Shared Stylesheet
   Brand palette sourced from Branding/cooper_climate_logo.svg
   ═══════════════════════════════════════════════════════════ */

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── BRAND TOKENS ───────────────────────────────────────── */
:root {
  --navy:      #042C53;   /* COOPER wordmark in logo */
  --blue:      #185FA5;   /* circle stroke, CLIMATE text */
  --blue-lt:   #2176c7;
  --green:     #3B6D11;   /* leaf, SOLUTIONS text */
  --lime:      #97C459;   /* separator, accents */
  --sky:       #E6F1FB;   /* circle fill */
  --sky-dark:  #ccdff5;
  --off:       #f8fafc;
  --grey1:     #f1f5f9;
  --grey2:     #e2e8f0;
  --grey3:     #94a3b8;
  --grey4:     #64748b;
  --grey5:     #334155;
  --text:      #1e293b;
  --white:     #ffffff;
  --shadow-sm: 0 1px 3px rgba(4,44,83,.08), 0 1px 2px rgba(4,44,83,.05);
  --shadow:    0 4px 16px rgba(4,44,83,.10), 0 2px 6px rgba(4,44,83,.06);
  --shadow-lg: 0 12px 40px rgba(4,44,83,.14), 0 4px 12px rgba(4,44,83,.07);
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }
.section-sm { padding: 64px 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.label-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.label-tag-blue { color: var(--blue); }
.label-tag-lime { color: var(--lime); }
.label-tag-white { color: rgba(255,255,255,.7); }

h1,h2,h3,h4,h5 { color: var(--navy); font-weight: 800; line-height: 1.15; letter-spacing: -.3px; }
.display-xl  { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.8px; line-height: 1.08; }
.display-lg  { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.5px; }
.display-md  { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.3px; }
.display-sm  { font-size: clamp(20px, 2.5vw, 28px); }
.lead        { font-size: 18px; color: var(--grey4); line-height: 1.65; }
.body-lg     { font-size: 16px; color: var(--grey5); line-height: 1.65; }
.body-sm     { font-size: 14px; color: var(--grey4); line-height: 1.6; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; max-width: 580px; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; border: none; cursor: pointer;
  font-size: 14.5px; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-lt), var(--blue));
  color: #fff; box-shadow: 0 4px 14px rgba(24,95,165,.35);
}
.btn-primary:hover { box-shadow: 0 7px 22px rgba(24,95,165,.45); }

.btn-green {
  background: linear-gradient(135deg, #4a8a17, var(--green));
  color: #fff; box-shadow: 0 4px 14px rgba(59,109,17,.35);
}
.btn-green:hover { box-shadow: 0 7px 22px rgba(59,109,17,.45); }

.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--sky); }

.btn-white {
  background: #fff; color: var(--navy);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-white:hover { box-shadow: 0 7px 22px rgba(0,0,0,.18); }

.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--grey2); box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-body { padding: 28px; }

.stat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
}
.stat-pill-green { background: #e8f5d9; color: var(--green); }
.stat-pill-blue  { background: var(--sky); color: var(--blue); }

/* ── BADGES / PILLS ─────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
}
.badge-sky   { background: var(--sky); color: var(--blue); border: 1px solid var(--sky-dark); }
.badge-lime  { background: #edf7db; color: var(--green); border: 1px solid #c6e599; }
.badge-navy  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2); }

/* ── NAV ────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--grey2);
  box-shadow: 0 1px 0 rgba(4,44,83,.05);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-menu a {
  padding: 7px 14px; border-radius: 7px;
  font-size: 14px; font-weight: 600; color: var(--grey5);
  transition: background .15s, color .15s;
}
.nav-menu a:hover { background: var(--sky); color: var(--blue); }
.nav-menu a.active { color: var(--blue); background: var(--sky); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.nav-cta {
  padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer;
  font-size: 13.5px; font-weight: 800;
  background: linear-gradient(135deg, var(--blue-lt), var(--blue)); color: #fff;
  box-shadow: 0 3px 10px rgba(24,95,165,.3);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(24,95,165,.4); }
.hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--navy); }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(145deg, var(--navy) 0%, #0a3f6e 60%, #0d4d80 100%);
  padding: 72px 0 64px; overflow: hidden; position: relative;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .crumb { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.page-hero .crumb a { color: rgba(255,255,255,.6); }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .lead { color: rgba(255,255,255,.72); max-width: 600px; }
.page-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--grey2);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.trust-stat { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--sky); display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.trust-text strong { display: block; font-size: 17px; font-weight: 900; color: var(--navy); line-height: 1; }
.trust-text span { font-size: 12px; color: var(--grey4); font-weight: 500; }
.trust-divider { width: 1px; height: 36px; background: var(--grey2); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--grey5); margin-bottom: 6px; letter-spacing: .2px;
}
.form-control {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--grey2); border-radius: 8px;
  font-size: 14.5px; color: var(--text); background: var(--off);
  transition: border-color .15s, background .15s;
  outline: none; font-family: inherit;
  -webkit-appearance: none; appearance: none;
}
.form-control:focus { border-color: var(--blue); background: var(--white); }
.form-control::placeholder { color: var(--grey3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 15px; border: none; border-radius: 9px; cursor: pointer;
  font-size: 15px; font-weight: 800; font-family: inherit;
  background: linear-gradient(135deg, var(--blue-lt), var(--blue));
  color: #fff; box-shadow: 0 4px 14px rgba(24,95,165,.4);
  transition: transform .15s, box-shadow .15s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(24,95,165,.5); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--grey2); }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 56px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.48); line-height: 1.65; max-width: 250px; margin-bottom: 18px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  padding: 4px 12px; border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px; font-size: 11px; color: rgba(255,255,255,.48); font-weight: 600;
}
.footer-col h4 {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.58); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.28); }
.footer-accred { font-size: 12px; color: rgba(255,255,255,.38); display: flex; align-items: center; gap: 5px; }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item { background: var(--white); border: 1px solid var(--grey2); border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; }
.faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; background: none; border: none; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--navy); text-align: left; gap: 12px;
  transition: background .15s;
}
.faq-btn:hover { background: var(--grey1); }
.faq-icon { font-size: 14px; color: var(--blue); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-body { max-height: 400px; }
.faq-body-inner { padding: 0 22px 20px; font-size: 14.5px; color: var(--grey4); line-height: 1.65; }

/* ── CHECKER ─────────────────────────────────────────────── */
.checker-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.checker-head {
  background: linear-gradient(135deg, var(--green), #4a8a17);
  padding: 22px 26px; color: #fff;
}
.checker-head h3 { font-size: 17px; font-weight: 800; color: #fff; }
.checker-head p { font-size: 13px; opacity: .82; margin-top: 4px; color: rgba(255,255,255,.85); }
.checker-body { padding: 26px; }
.checker-progress { display: flex; gap: 5px; margin-bottom: 26px; }
.prog-dot { height: 5px; flex: 1; border-radius: 5px; background: var(--grey2); transition: background .3s; }
.prog-dot.done { background: var(--green); }
.prog-dot.active { background: var(--lime); }
.checker-q { display: none; }
.checker-q.active { display: block; }
.q-step { font-size: 12px; font-weight: 700; color: var(--grey3); margin-bottom: 6px; }
.q-text { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 18px; line-height: 1.4; }
.q-options { display: flex; flex-direction: column; gap: 10px; }
.q-opt {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1.5px solid var(--grey2); border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--grey5);
  transition: border-color .15s, background .15s, color .15s;
}
.q-opt:hover { border-color: var(--green); background: #f0f9e6; color: var(--green); }
.q-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--grey1); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.checker-result { display: none; }
.checker-result.active { display: block; }
.result-inner { text-align: center; padding: 8px 0; }
.result-emoji { font-size: 48px; margin-bottom: 12px; }
.result-inner h4 { font-size: 19px; margin-bottom: 8px; }
.result-inner p { font-size: 14px; color: var(--grey4); margin-bottom: 18px; line-height: 1.5; }
.result-btn { display: block; width: 100%; padding: 14px; text-align: center; font-weight: 800; font-size: 15px; border-radius: 9px; border: none; cursor: pointer; margin-bottom: 9px; font-family: inherit; text-decoration: none; transition: transform .15s; }
.result-btn:hover { transform: translateY(-2px); }
.result-btn-green { background: linear-gradient(135deg, #4a8a17, var(--green)); color: #fff; box-shadow: 0 4px 14px rgba(59,109,17,.35); }
.result-btn-grey { background: var(--grey1); color: var(--grey5); font-weight: 600; }
.checker-reset { display: block; width: 100%; margin-top: 12px; padding: 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--grey3); cursor: pointer; background: none; border: none; border-radius: 8px; transition: color .15s, background .15s; }
.checker-reset:hover { color: var(--green); background: #f0f9e6; }

/* ── STEP TIMELINE ───────────────────────────────────────── */
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; gap: 8px; }
.steps-row::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--blue));
}
.step { text-align: center; padding: 0 8px; position: relative; z-index: 1; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; border: 3px solid;
  background: var(--white); box-shadow: var(--shadow-sm);
}
.sc-1 { border-color: var(--lime); color: var(--green); background: #f0f9e6; }
.sc-2 { border-color: var(--blue); color: var(--blue); background: var(--sky); }
.sc-3 { border-color: #5c6bc0; color: #5c6bc0; background: #eef0fb; }
.sc-4 { border-color: var(--green); color: var(--green); background: #f0f9e6; }
.sc-5 { border-color: #e67e22; color: #e67e22; background: #fff3e0; }
.step-title { font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.step-desc { font-size: 12px; color: var(--grey4); line-height: 1.45; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #3B6D11, #4a8a17, #5a9e1a);
  padding: 80px 0; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.78); margin-bottom: 32px; font-size: 17px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.48); margin-top: 18px; }

/* ── MOBILE / RESPONSIVE ─────────────────────────────────── */
@media (max-width: 960px) {
  .nav-menu { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-row::before { display: none; }
  .trust-divider { display: none; }
  .trust-bar-inner { justify-content: center; }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .btn-lg { padding: 13px 22px; font-size: 14.5px; }
  .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
