/* =========================================================
   Verdant Roots — Microgreens demo site
   Shared stylesheet
   ========================================================= */

:root {
  --green-900: #14301f;
  --green-800: #1d3d29;
  --green-700: #26512f;
  --green-500: #3f7d3f;
  --leaf: #6cbf4b;
  --leaf-dark: #56a138;
  --cream: #f7f5ee;
  --cream-2: #efece1;
  --ink: #1c241d;
  --muted: #5d6b5d;
  --line: #e2ddcd;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(20, 48, 31, .06);
  --shadow: 0 14px 40px rgba(20, 48, 31, .12);
  --maxw: 1180px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--green-900);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

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

.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--leaf-dark);
  margin-bottom: 14px;
  display: inline-block;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--leaf); color: #0f2415; box-shadow: 0 8px 20px rgba(108,191,75,.32); }
.btn--primary:hover { background: var(--leaf-dark); color: #fff; }
.btn--dark { background: var(--green-800); color: #fff; }
.btn--dark:hover { background: var(--green-900); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--outline { background: transparent; border-color: var(--green-700); color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,245,238,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--green-900); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--leaf), var(--green-700));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: .96rem; color: var(--green-800); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--leaf); transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-900); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: .9rem; color: var(--green-800); cursor: pointer; box-shadow: var(--shadow-sm);
}
.cart-count {
  background: var(--leaf); color: #102516; font-size: .72rem; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px;
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--green-900);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,28,17,.86) 0%, rgba(13,33,20,.6) 45%, rgba(13,33,20,.15) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 640px; padding: 80px 0; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.88); font-size: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero__stats .num { font-family: var(--font-display); font-size: 2rem; color: var(--leaf); line-height: 1; }
.hero__stats .label { font-size: .82rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .1em; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 500; margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }

/* ---------- Marquee / logos ---------- */
.trust { background: var(--green-900); color: rgba(255,255,255,.75); padding: 22px 0; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; font-family: var(--font-display); font-size: 1.15rem; opacity: .8; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split__media.tall img { aspect-ratio: 3/4; }

.ticklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; }
.ticklist .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(108,191,75,.18);
  color: var(--leaf-dark); display: grid; place-items: center; font-size: .8rem; margin-top: 3px;
}

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(108,191,75,.2), rgba(38,81,47,.12)); font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.step img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.step__body { padding: 24px 26px 28px; }
.step__num { counter-increment: step; }
.step__num::before {
  content: "0" counter(step); font-family: var(--font-display); font-size: 1.1rem; color: var(--leaf-dark);
  background: rgba(108,191,75,.14); border-radius: 999px; padding: 4px 12px; display: inline-block; margin-bottom: 12px;
}

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--green-900); color: #fff; padding: 70px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,191,75,.35), transparent 70%);
}
.page-hero h1 { color: #fff; position: relative; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 60ch; position: relative; }
.crumbs { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 14px; position: relative; }
.crumbs a:hover { color: #fff; }

/* ---------- Shop ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--white); padding: 8px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 500; cursor: pointer; color: var(--green-800); transition: .18s;
}
.chip:hover { border-color: var(--leaf); }
.chip.active { background: var(--green-800); color: #fff; border-color: var(--green-800); }

.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product:hover .product__media img { transform: scale(1.06); }
.product__tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--green-800); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; }
.product__tag.spicy { background: #ffe1d6; color: #b4431f; }
.product__tag.best { background: var(--leaf); color: #10260f; }
.product__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__name { font-family: var(--font-display); font-size: 1.18rem; color: var(--green-900); }
.product__desc { font-size: .9rem; color: var(--muted); flex: 1; }
.product__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-weight: 700; color: var(--green-900); font-size: 1.05rem; }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }

.rating { color: #e2a52f; font-size: .85rem; letter-spacing: 1px; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--leaf); box-shadow: 0 20px 50px rgba(38,81,47,.16); transform: translateY(-6px); }
.plan__media { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.plan__media img { width: 100%; height: 100%; object-fit: cover; }
.plan__flag { position: absolute; top: 14px; right: 14px; background: var(--leaf); color: #10260f; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.plan__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.plan__price { font-family: var(--font-display); font-size: 2.2rem; color: var(--green-900); margin: 6px 0 2px; }
.plan__price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink); }
.plan li::before { content: "✓"; color: var(--leaf-dark); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--font-display); font-size: 1.1rem; color: var(--green-800); line-height: 1.4; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.quote .who b { display: block; font-size: .92rem; color: var(--green-900); }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; border-radius: var(--radius-lg); overflow: hidden; padding: 64px 48px; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,33,20,.9), rgba(13,33,20,.55)); }
.cta-band__inner { position: relative; z-index: 2; max-width: 560px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--green-800); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white); color: var(--ink); transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(108,191,75,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.two-col { grid-template-columns: 1fr 1fr; }

.info-card { background: var(--green-900); color: #fff; border-radius: var(--radius-lg); padding: 36px; }
.info-card h3 { color: #fff; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { font-size: 1.3rem; width: 42px; height: 42px; border-radius: 12px; background: rgba(108,191,75,.2); display: grid; place-items: center; flex: none; }
.info-row b { display: block; }
.info-row span { color: rgba(255,255,255,.78); font-size: .92rem; }

.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form-success { background: rgba(108,191,75,.14); border: 1px solid var(--leaf); color: var(--green-800); padding: 14px 18px; border-radius: 12px; font-weight: 500; margin-top: 10px; }
.hidden { display: none !important; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 320px; border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--green-900); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--leaf-dark); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Stats strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-strip .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--green-900); line-height: 1; }
.stat-strip .label { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 70px 0 30px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--leaf); }
.footer-news { display: flex; gap: 8px; margin-top: 14px; }
.footer-news input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.footer-news input::placeholder { color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: rgba(255,255,255,.55); }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--leaf); color: #10260f; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(140%);
  background: var(--green-900); color: #fff; padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow);
  font-weight: 500; z-index: 100; transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps, .quotes, .plans { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 18px 24px 26px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .section { padding: 60px 0; }
  .grid-4, .grid-2, .two-col { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: auto; }
  .hero__inner { padding: 64px 0; }
}
