/*
Theme Name: IL Grows
Theme URI: https://ilgrows.com
Author: HomeGrow Blueprint
Description: Single-page VSL landing theme for the Illinois 5-plant custom grow kit
  offer. One offer, two doors (book a call / text us), lead capture to Klaviyo. Set
  the booking URL, text number and Klaviyo IDs under Appearance > Customize > IL Grows.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilgrows
*/

/* Paths below are relative to this file, so assets/ resolves inside the theme. */

/* ───────────────────────────────────────────────────────────
   IL Grows — single-file landing page
   Palette: deep grow-room green, vivid leaf green, harvest gold
   ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #070b08;
  color: #e8f0ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

:root {
  --green:      #22c55e;
  --green-hi:   #4ade80;
  --green-deep: #14532b;
  --green-dark: #0d2818;
  --gold:       #f5b400;
  --gold-hi:    #ffd24a;
  --ink:        #070b08;
  --panel:      #0e1711;
  --panel-2:    #132018;
  --line:       #1e3226;
  --muted:      #9db3a5;
  --white:      #f2f8f4;
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 5.6vw, 60px); }
h2 { font-size: clamp(26px, 4.2vw, 44px); }
h3 { font-size: clamp(18px, 2.2vw, 23px); }
p  { margin: 0 0 1.1em; }
.lead { font-size: clamp(17px, 2.1vw, 21px); color: #c6d8cc; }
.muted { color: var(--muted); }
.center { text-align: center; }
.gold { color: var(--gold-hi); }
.leaf { color: var(--green-hi); }

/* ── Announcement + sticky nav ───────────────────────────── */
.announce {
  background: linear-gradient(90deg, var(--green-deep), var(--green), var(--green-deep));
  color: #fff; text-align: center; font-weight: 700;
  font-size: 13.5px; letter-spacing: .04em; padding: 9px 16px;
}
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7,11,8,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px; max-width: 1120px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--green), var(--green-deep));
  display: grid; place-items: center;
  font-weight: 900; font-size: 17px; color: #fff; letter-spacing: -.03em;
  box-shadow: 0 4px 14px rgba(34,197,94,.32);
}
.logo-txt { font-weight: 900; font-size: 20px; letter-spacing: -.03em; line-height: 1; }
.logo-txt span { color: var(--green-hi); }
.logo-sub { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .17em; color: var(--muted); margin-top: 3px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; font-size: 17px; text-decoration: none;
  padding: 17px 32px; border-radius: 12px; border: 0; cursor: pointer;
  transition: transform .13s ease, box-shadow .13s ease, filter .13s ease;
  font-family: inherit; text-align: center; line-height: 1.25;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #241a00;
  box-shadow: 0 6px 0 #b98600, 0 14px 30px rgba(245,180,0,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #b98600, 0 18px 36px rgba(245,180,0,.38); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 3px 0 #b98600; }
.btn-text {
  background: transparent; color: var(--white);
  border: 2px solid #2c4634;
}
.btn-text:hover { border-color: var(--green); background: rgba(34,197,94,.09); }
.btn-sm { padding: 11px 20px; font-size: 14.5px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

.cta-pair { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-pair .btn { flex: 1 1 260px; max-width: 340px; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,.13); border: 1px solid rgba(34,197,94,.4);
  color: var(--green-hi); font-weight: 800; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.badge.gold-badge { background: rgba(245,180,0,.12); border-color: rgba(245,180,0,.42); color: var(--gold-hi); }
.eyebrow {
  color: var(--green-hi); font-weight: 800; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 54px 0 46px;
  background:
    radial-gradient(900px 460px at 50% -8%, rgba(34,197,94,.17), transparent 66%),
    linear-gradient(180deg, #081109, #070b08);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("assets/hero-cola.jpg");
  background-size: cover; background-position: center;
  opacity: .1; z-index: 0; pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 56ch; margin: 0 auto 26px; }

/* ── VSL player ──────────────────────────────────────────── */
.vsl {
  position: relative; max-width: 880px; margin: 0 auto 26px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid #24402e;
  box-shadow: 0 26px 70px rgba(0,0,0,.62), 0 0 0 1px rgba(34,197,94,.13);
  background: #000; aspect-ratio: 16 / 9;
}
.vsl video { width: 100%; height: 100%; object-fit: cover; }
.vsl-overlay {
  position: absolute; inset: 0; cursor: pointer;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.5));
  transition: opacity .25s ease;
}
.vsl-overlay.hide { opacity: 0; pointer-events: none; }
.vsl-play {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(245,180,0,.96); display: grid; place-items: center;
  box-shadow: 0 0 0 12px rgba(245,180,0,.19), 0 12px 34px rgba(0,0,0,.5);
  animation: pulse 2.3s ease-in-out infinite;
}
.vsl-play svg { margin-left: 5px; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 12px rgba(245,180,0,.19), 0 12px 34px rgba(0,0,0,.5); }
  50%     { box-shadow: 0 0 0 22px rgba(245,180,0,.04), 0 12px 34px rgba(0,0,0,.5); }
}
.vsl-label {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  font-weight: 800; font-size: 14.5px; color: #fff; letter-spacing: .04em;
  text-shadow: 0 2px 10px rgba(0,0,0,.85);
}
.vsl-sound {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.6); border: 1px solid #2c4634; color: #cfe2d5;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  padding: 6px 11px; border-radius: 7px;
}

/* ── Trust bar ───────────────────────────────────────────── */
.trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 22px;
}
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .tick { color: var(--green-hi); font-weight: 900; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 62px 0; }
.sec-alt { background: linear-gradient(180deg, #0a120d, #081009); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }

/* ── Math / stat cards ───────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 15px; padding: 26px 20px; text-align: center;
}
.stat-n { font-size: clamp(30px, 4.6vw, 46px); font-weight: 900; color: var(--gold-hi); line-height: 1; letter-spacing: -.03em; }
.stat-l { font-size: 14px; color: var(--muted); margin-top: 9px; font-weight: 600; }

.math {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 26px; margin-top: 26px; max-width: 620px;
  margin-left: auto; margin-right: auto;
}
.math-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed #24382b; font-size: 16px; }
.math-row:last-child { border-bottom: 0; }
.math-row.total { border-top: 2px solid var(--green); margin-top: 6px; padding-top: 15px; font-weight: 900; font-size: 19px; color: var(--gold-hi); }
.math-row span:first-child { color: #c6d8cc; }
.math-row span:last-child { font-weight: 800; white-space: nowrap; }

/* ── Problem list ────────────────────────────────────────── */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pain {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid #c0392b;
  border-radius: 12px; padding: 19px 21px;
}
.pain b { display: block; margin-bottom: 5px; font-size: 16.5px; }
.pain p { margin: 0; font-size: 15px; color: var(--muted); }

/* ── Offer card ──────────────────────────────────────────── */
.offer {
  background: linear-gradient(165deg, #12241a, #0c1710);
  border: 2px solid var(--green); border-radius: 20px;
  padding: 0; overflow: hidden; max-width: 900px; margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 6px rgba(34,197,94,.07);
}
.offer-top { background: linear-gradient(90deg, var(--green-deep), #1a6b38); padding: 22px 30px; text-align: center; }
.offer-top h3 { margin: 0; font-size: clamp(21px, 3vw, 30px); color: #fff; }
.offer-top p { margin: 6px 0 0; font-size: 14.5px; color: #b8dcc4; font-weight: 600; }
.offer-body { padding: 30px; }
.incl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; list-style: none; margin: 0 0 26px; padding: 0; }
.incl li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.incl .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--green); color: #06240f; display: grid; place-items: center;
  font-weight: 900; font-size: 13px;
}
.incl b { color: var(--white); }
.incl span.d { color: var(--muted); }

/* ── Steps ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: 15px;
  padding: 30px 24px 26px; position: relative; counter-increment: s;
}
.step::before {
  content: counter(s); position: absolute; top: -19px; left: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #241a00;
  font-weight: 900; font-size: 17px; display: grid; place-items: center;
  box-shadow: 0 5px 15px rgba(245,180,0,.34);
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Gallery ─────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.86));
  color: #fff; font-size: 12.5px; font-weight: 700; padding: 20px 12px 9px;
}

/* ── Reviews ─────────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  background: var(--panel); border: 1px solid var(--line); border-radius: 15px;
  padding: 24px 22px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.review.il { border-color: rgba(34,197,94,.5); background: linear-gradient(170deg, #10201700, var(--panel)); }
.review-il-flag {
  position: absolute; top: 0; right: 0;
  background: var(--green); color: #06240f; font-weight: 900; font-size: 10.5px;
  letter-spacing: .1em; padding: 5px 12px; border-radius: 0 0 0 10px;
}
.review-yield { font-size: 38px; font-weight: 900; color: var(--gold-hi); line-height: 1; letter-spacing: -.03em; }
.review-yield small { font-size: 14px; color: var(--muted); font-weight: 700; letter-spacing: .04em; margin-left: 4px; }
.review-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin: 12px 0 10px; }
.review-quote { font-size: 15px; color: #d3e3d8; font-style: italic; margin: 0 0 18px; flex: 1; line-height: 1.6; }
.review-who { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); padding-top: 15px; }
.review-av {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(150deg, var(--green), var(--green-deep));
  display: grid; place-items: center; font-weight: 900; font-size: 14px; color: #fff;
}
.review-name { font-weight: 800; font-size: 15px; line-height: 1.25; }
.review-loc { font-size: 12.5px; color: var(--muted); }
.review-meta {
  margin-top: 13px; font-size: 12px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 4px 12px; line-height: 1.5;
}
.review-meta b { color: #c6d8cc; font-weight: 700; }
.review-privacy {
  max-width: 640px; margin: 30px auto 0; text-align: center;
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
}

/* ── Price band ──────────────────────────────────────────── */
.price-box {
  background: linear-gradient(165deg, #16110288, #0e1711);
  border: 2px solid var(--gold); border-radius: 20px;
  padding: 34px 30px; text-align: center; max-width: 720px; margin: 0 auto;
}
.price-n { font-size: clamp(34px, 6vw, 58px); font-weight: 900; color: var(--gold-hi); letter-spacing: -.03em; line-height: 1; }
.price-sub { font-size: 15.5px; color: #c6d8cc; margin-top: 12px; }
.price-what { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; text-align: left; }
.price-what div { background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 11px; padding: 15px 16px; font-size: 14px; }
.price-what b { display: block; color: var(--gold-hi); margin-bottom: 4px; font-size: 14.5px; }

/* ── Guarantee ───────────────────────────────────────────── */
.guarantee {
  display: flex; gap: 24px; align-items: center;
  background: linear-gradient(120deg, #10261a, #0c1a12);
  border: 2px solid var(--green); border-radius: 18px;
  padding: 30px 32px; max-width: 900px; margin: 0 auto;
}
.guarantee-seal {
  flex: none; width: 108px; height: 108px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2ee06a, var(--green-deep));
  display: grid; place-items: center; text-align: center;
  font-weight: 900; font-size: 13px; color: #fff; line-height: 1.2;
  box-shadow: 0 0 0 7px rgba(34,197,94,.13), 0 12px 30px rgba(0,0,0,.45);
  padding: 10px;
}
.guarantee h3 { margin-bottom: 8px; }
.guarantee p { margin: 0; color: #c6d8cc; font-size: 15.5px; }

/* ── Coach ───────────────────────────────────────────────── */
.coach { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; max-width: 900px; margin: 0 auto; }
.coach img { border-radius: 16px; border: 1px solid var(--line); width: 100%; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 11px; padding: 0 22px;
}
.faq details[open] { border-color: #2c4634; background: var(--panel-2); }
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 16.5px; padding: 17px 30px 17px 0;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 15px;
  color: var(--green-hi); font-size: 24px; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); font-size: 15.5px; margin: 0 0 17px; }

/* ── Lead form ───────────────────────────────────────────── */
.formcard {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px; max-width: 520px; margin: 0 auto;
}
.field { margin-bottom: 14px; text-align: left; }
.field label { display: block; font-size: 13px; font-weight: 700; color: #c6d8cc; margin-bottom: 6px; letter-spacing: .03em; }
.field input, .field select {
  width: 100%; padding: 14px 15px; font-size: 16px; font-family: inherit;
  background: #0a120d; border: 1px solid #26402f; border-radius: 10px; color: var(--white);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.16); }
.consent { font-size: 12px; color: #7f958a; margin-top: 14px; line-height: 1.5; }
.form-msg { font-size: 14.5px; font-weight: 700; margin-top: 14px; display: none; }
.form-msg.ok { color: var(--green-hi); display: block; }
.form-msg.err { color: #ff8f7a; display: block; }

/* ── Existing setup line ─────────────────────────────────── */
.aside-line {
  max-width: 720px; margin: 34px auto 0; text-align: center;
  border-top: 1px solid var(--line); padding-top: 26px;
  font-size: 15.5px; color: var(--muted);
}
.aside-line a { color: var(--green-hi); font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: #050806; border-top: 1px solid var(--line); padding: 44px 0 120px; font-size: 13.5px; color: #7f958a; }
footer p { margin: 0 0 11px; }
.footer-legal { max-width: 780px; margin: 0 auto; text-align: center; line-height: 1.65; }
.age { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #3a5544; color: #c6d8cc; font-weight: 900; font-size: 14px; margin-bottom: 16px; }

/* ── Sticky mobile CTA ───────────────────────────────────── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(7,11,8,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 10px 14px;
  display: none; gap: 10px;
}
.sticky-cta .btn { flex: 1; padding: 14px 12px; font-size: 15px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .coach { grid-template-columns: 1fr; gap: 22px; }
  .coach img { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 760px) {
  section { padding: 46px 0; }
  .stats, .steps, .pains, .incl, .price-what, .reviews { grid-template-columns: 1fr; }
  .nav .logo-sub { display: none; }
  .nav-cta .btn-text { display: none; }
  .guarantee { flex-direction: column; text-align: center; padding: 26px 22px; }
  .sticky-cta { display: flex; }
  footer { padding-bottom: 110px; }
  .offer-body { padding: 24px 20px; }
  .vsl-play { width: 66px; height: 66px; }
}
