/* EnergySetter site styles. Colors come from the 2026 logo. */
:root {
  --green-dark: #0b4d1f;
  --green: #2e7d32;
  --green-leaf: #86c440;
  --green-tint: #f2f8ec;
  --ink: #1f2a22;
  --muted: #5a665d;
  --line: #e2e8de;
  --white: #ffffff;
  --radius: 12px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--head); color: var(--green-dark); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: var(--white); font-family: var(--head); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--green); transition: background .15s, color .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-tint); color: var(--green-dark); border-color: var(--green-dark); }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-light { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-light:hover { background: var(--green-tint); border-color: var(--green-tint); color: var(--green-dark); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand img { width: 220px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 500; font-size: .92rem; }
.site-nav a:not(.btn):hover { color: var(--green); }
.menu-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; padding: 8px 14px; font-family: var(--head); font-weight: 600; color: var(--green-dark); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--green-tint), var(--white)); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.price-card { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--green-leaf); border-radius: var(--radius); padding: 30px 30px 24px; box-shadow: 0 12px 32px rgba(11,77,31,.08); }
.price-label { font-family: var(--head); font-weight: 600; color: var(--muted); margin: 0; }
.price-big { font-family: var(--head); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--green-dark); margin: 6px 0 18px; }
.price-math { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-math td { padding: 8px 0; border-top: 1px solid var(--line); }
.price-math td:last-child { text-align: right; font-weight: 600; }
.price-note { font-size: .92rem; color: var(--muted); margin: 14px 0 0; }

/* Trust strip */
.trust-strip { background: var(--green-dark); color: var(--white); }
.trust-items { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 16px; padding-bottom: 16px; font-family: var(--head); font-weight: 500; font-size: .92rem; }
.trust-items span::before { content: "✓"; color: var(--green-leaf); margin-right: 8px; font-weight: 700; }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--green-tint); }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin-bottom: 36px; }
.more-link { margin-top: 28px; font-family: var(--head); font-weight: 600; font-size: .95rem; }
.more-link a { text-decoration: none; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: var(--white); }
.card p { color: var(--muted); font-size: 1rem; margin: 0; }
.icon { width: 40px; height: 40px; color: var(--green); background: var(--green-tint); border-radius: 10px; padding: 8px; margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 58px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-family: var(--head); font-weight: 700; display: grid; place-items: center; }
.steps strong { font-family: var(--head); color: var(--green-dark); display: block; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
blockquote { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--green-tint); border-left: 4px solid var(--green-leaf); }
blockquote p { font-size: 1.02rem; }
cite { font-style: normal; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--green-dark); }

.cta-band { background: var(--green); color: var(--white); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; opacity: .92; }

/* Footer */
.site-footer { background: #f7f9f5; border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 150px; margin-bottom: 12px; }
.site-footer h3 { font-size: .95rem; }
.site-footer a { text-decoration: none; }
.legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; font-size: .85rem; }

/* Tablet and phone */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav .btn { margin-top: 14px; text-align: center; }
  .hero { padding: 44px 0; }
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .cards { grid-template-columns: 1fr; }
  .brand img { width: 140px; }
  .trust-items { justify-content: flex-start; }
}

/* ---------- Inner pages ---------- */
.site-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.page-hero { background: linear-gradient(180deg, var(--green-tint), var(--white)); padding: 60px 0 36px; }
.page-hero .lead { margin-bottom: 0; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.section-sm { padding: 40px 0 72px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

.reason-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 8px 0 8px; }
.reason-grid .card p { font-size: 1rem; }

.phase { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.phase:first-child { border-top: 0; padding-top: 0; }
.phase-label { font-family: var(--head); font-weight: 700; color: var(--green); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.phase-label span { display: block; font-size: 1.4rem; color: var(--green-dark); letter-spacing: 0; text-transform: none; margin-top: 4px; }
.test-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.test-list div { background: var(--green-tint); border-radius: var(--radius); padding: 18px 20px; }
.test-list h3 { margin-bottom: .3em; }
.test-list p { margin: 0; font-size: 1rem; color: var(--muted); }

.callout { background: var(--green-tint); border-left: 4px solid var(--green-leaf); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }

.rebate-math { width: 100%; max-width: 420px; border-collapse: collapse; }
.rebate-math td { padding: 12px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.rebate-math tr:last-child td { font-weight: 700; color: var(--green-dark); font-size: 1.2rem; border-top: 2px solid var(--green-dark); }
.rebate-math td:last-child { text-align: right; }

.quotes-page { grid-template-columns: repeat(2, 1fr); }
.google-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-top: 36px; }
.google-box p { margin: 0; }

.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.photo-slot { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--green-tint); border: 2px dashed var(--green-leaf); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .95rem; padding: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-family: var(--head); font-weight: 600; color: var(--green-dark); padding: 16px 32px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq details p, .faq details ul { margin: 0 0 16px; color: var(--ink); }

/* Request form */
.form-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.request-form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-family: var(--head); font-weight: 600; font-size: .92rem; color: var(--green-dark); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-family: var(--body); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #cfd8cb; border-radius: 8px; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(134,196,64,.45); border-color: var(--green); }
.field textarea { min-height: 120px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.day-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.day-picks label { display: flex; align-items: center; gap: 8px; border: 1.5px solid #cfd8cb; border-radius: 999px; padding: 8px 16px; font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--ink); margin: 0; cursor: pointer; }
.day-picks input { accent-color: var(--green); width: 18px; height: 18px; }
.hidden { position: absolute; left: -9999px; }
.request-form button { font: inherit; cursor: pointer; justify-self: start; }
.side-box { background: var(--green-tint); border-radius: var(--radius); padding: 26px; }
.side-box h2 { font-size: 1.25rem; }
.side-box ol { padding-left: 1.2em; margin: 0 0 1em; }
.side-box li { margin-bottom: .5em; }

@media (max-width: 820px) {
  .reason-grid, .test-list, .quotes-page, .about-grid, .form-grid { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 14px; }
  .photo-slot { max-width: 300px; }
  .page-hero { padding: 40px 0 24px; }
}
@media (max-width: 520px) {
  .request-form { grid-template-columns: 1fr; }
}

/* ===== Look B "Warm & local" (Rich chose 11/26/2026). These override the base styles above. ===== */
:root {
  --green-dark: #1d2d44;
  --green: #c8553d;
  --green-leaf: #f2a65a;
  --green-tint: #fbf3e6;
  --ink: #2a2a2a;
  --muted: #5f5a52;
  --line: #ebe2d3;
  --radius: 16px;
  --head: "Fraunces", Georgia, serif;
}
body { background: #fffdf8; }
h1, h2 { font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero { background: radial-gradient(circle at 85% 20%, #fde3c3 0, transparent 45%), #fbf3e6; }
.eyebrow { color: #c8553d; }
.btn:hover { background: #a8432e; border-color: #a8432e; }
.btn-ghost { color: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost:hover { background: #fff; color: var(--green-dark); border-color: var(--green-dark); }
.price-card { border-top-color: var(--green); background: #fff; box-shadow: 0 18px 40px rgba(29,45,68,.10); }
.trust-strip { background: var(--green-dark); }
.trust-items span::before { color: #f2a65a; }
.site-header { background: rgba(255,253,248,.96); }
.icon { background: #fde9d4; color: #c8553d; border-radius: 50%; }
.card { background: #fff; box-shadow: 0 6px 18px rgba(29,45,68,.05); border-color: transparent; }
.section-tint { background: #f6efe3; }
blockquote { background: #fff; border-left-color: #f2a65a; box-shadow: 0 6px 18px rgba(29,45,68,.05); }
blockquote p { font-family: "Fraunces", Georgia, serif; font-size: 1.08rem; }
.cta-band { background: var(--green-dark); }
.btn-light { color: var(--green-dark); }
.steps li::before { background: var(--green-dark); }
.site-footer { background: #f6efe3; }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: rgba(242,166,90,.5); border-color: var(--green); }
.side-box, .callout, .test-list div { background: #f6efe3; }
.photo-slot { background: #f6efe3; border-color: #f2a65a; }
.page-hero { background: radial-gradient(circle at 85% 10%, #fde3c3 0, transparent 40%), #fbf3e6; }
.phase-label { color: #c8553d; }
.google-box { background: #fff; }
