/* Saneco Farms — public site styles */
:root {
  --green-900: #163a12;
  --green-800: #1f4d19;
  --green-700: #2c6a22;
  --leaf: #7ab52d;
  --lime: #b4dc4f;
  --melon: #e8566b;
  --sun: #f2b632;
  --ink: #142010;
  --text: #2c3a27;
  --muted: #64725e;
  --line: #e6ebe1;
  --soft: #f6f8f2;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 32, 16, .04), 0 12px 32px rgba(20, 32, 16, .07);
  --wrap: 1200px;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section.soft { background: var(--soft); }
.eyebrow {
  display: inline-block;
  font: 600 13px/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 16px;
}
.display {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons — pill with offset lime shadow, after the Aerofarms CTA */
.btn {
  --b: var(--green-800);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--b);
  color: #fff;
  font: 700 14px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0; cursor: pointer;
  box-shadow: 5px 5px 0 var(--lime);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--lime); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--lime); }
.btn.ghost { background: transparent; color: var(--green-800); box-shadow: inset 0 0 0 2px var(--green-800); }
.btn.ghost:hover { background: var(--green-800); color: #fff; transform: none; }
.btn.light { background: #fff; color: var(--green-800); }
.btn.wa { --b: #1f9d55; }
.btn.small { padding: 12px 20px; font-size: 12px; box-shadow: 3px 3px 0 var(--lime); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 48px; width: auto; }
.brand svg { width: 46px; height: 36px; }
.brand-text { font-family: var(--display); line-height: .95; color: var(--green-800); }
.brand-text b { display: block; font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.brand-text span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .38em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  white-space: nowrap;
  padding: 10px 9px; border-radius: 10px;
  font: 600 14px/1 var(--display);
  color: var(--ink); text-decoration: none;
}
.nav a:hover { background: var(--soft); }
.nav a.active { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--leaf); border-radius: 0; }
.nav .btn { margin-left: 10px; color: #fff; box-shadow: 3px 3px 0 var(--lime); }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--soft); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; content: "";
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav a.active { box-shadow: inset 3px 0 0 var(--leaf); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border: 0; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 25, 8, .15) 0%, rgba(10, 25, 8, .35) 45%, rgba(10, 25, 8, .82) 100%);
}
.hero .wrap { padding: 120px 0 clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; font-size: clamp(32px, 5.2vw, 64px); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; max-width: 16ch; }
.hero .sub { font: 600 clamp(16px, 1.6vw, 20px)/1.4 var(--display); max-width: 34ch; margin-bottom: 14px; }
.hero p { max-width: 56ch; opacity: .9; font-size: 16px; }
.hero .eyebrow { color: var(--lime); }
.hero .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--green-800); }

.page-hero { min-height: 460px; }
.page-hero h1 { font-size: clamp(28px, 4.2vw, 50px); max-width: 20ch; }

/* Quick facts strip */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: -1px; border-bottom: 1px solid var(--line); }
.fact { padding: 40px 32px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .num { font: 800 13px/1 var(--display); color: var(--leaf); letter-spacing: .14em; }
.fact h3 { font-size: 20px; margin: 12px 0 8px; }
.fact p { color: var(--muted); margin: 0; }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
}

/* Section header */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head > div { max-width: 720px; }
.sec-head .lead { margin: 0; }

/* Product cards */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 999px;
  font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  background: #fff; color: var(--green-800);
}
.badge.soon { background: var(--sun); color: var(--ink); }
.badge.out { background: var(--ink); color: #fff; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 18px; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 15px; }
.price { font: 800 20px/1 var(--display); color: var(--green-800); margin: 4px 0 16px; }
.price small { font: 500 13px var(--body); color: var(--muted); margin-left: 4px; }
.price.ask { font-size: 15px; font-weight: 700; color: var(--muted); }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.dates div { background: var(--soft); border-radius: 12px; padding: 10px 12px; }
.dates dt { font: 700 10px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dates dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); font-size: 14px; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* Generated placeholder when no photo has been uploaded */
.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center; text-align: center;
  color: #fff; padding: 20px;
  background: var(--ph, linear-gradient(135deg, var(--green-700), var(--leaf)));
}
.ph svg { display: block; width: 54px; height: 54px; opacity: .85; margin: 0 auto 10px; }
.ph b { font: 800 18px/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; }

/* Fresh harvest spectrum band (after Aerofarms' Flavorspectrum) */
.spectrum {
  background: linear-gradient(110deg, #2c6a22 0%, #7ab52d 30%, #f2b632 62%, #e8566b 100%);
  color: #fff;
}
.spectrum .display, .spectrum h2 { color: #fff; }
.spectrum .lead { color: rgba(255, 255, 255, .92); }
.spectrum .eyebrow { color: #fff; opacity: .85; }
.spectrum .card { color: var(--text); border: 0; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media { border-radius: calc(var(--radius) + 8px); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
}

/* Basket */
.basket {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff;
}
.basket-head { padding: 22px 26px; background: var(--green-800); color: #fff; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.basket-head h3 { color: #fff; margin: 0; font-size: 18px; }
.basket-head span { font-size: 14px; opacity: .85; }
.basket ul { list-style: none; margin: 0; padding: 0; }
.basket li { display: flex; align-items: center; gap: 14px; padding: 16px 26px; border-top: 1px solid var(--line); }
.basket li:first-child { border-top: 0; }
.basket li .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); flex: none; }
.basket li.na { color: var(--muted); }
.basket li.na .dot { background: #cfd6ca; }
.basket li .nm { flex: 1; font-weight: 600; }
.basket li .pr { font-weight: 700; color: var(--green-800); white-space: nowrap; }
.basket li.na .pr { color: var(--muted); font-weight: 500; }
.basket-foot { padding: 20px 26px; background: var(--soft); color: var(--muted); font-size: 14px; }

/* About */
.prose p { font-size: 16px; }
.prose p:first-child::first-letter { font: 800 3.4em/0.85 var(--display); float: left; margin: 6px 10px 0 0; color: var(--green-700); }
.quote {
  font: 700 clamp(19px, 2vw, 26px)/1.35 var(--display);
  color: var(--green-800); border-left: 6px solid var(--lime);
  padding-left: clamp(18px, 3vw, 36px); margin: 0; max-width: 32ch;
}
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillar .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--green-700); margin-bottom: 18px; }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 17px; }
.pillar p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Video */
.video-box { border-radius: calc(var(--radius) + 8px); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-box video { width: 100%; max-height: 640px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); font: 800 26px/1 var(--display); color: var(--lime); display: block; margin-bottom: 14px; }
.step h3 { font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--green-900); color: #fff; border-radius: calc(var(--radius) + 12px); padding: clamp(36px, 6vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; font-weight: 800; margin: 0 0 8px; max-width: 20ch; }
.cta-band p { margin: 0; opacity: .82; max-width: 52ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 28px 0; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); }
a.contact-item:hover { border-color: var(--leaf); }
.contact-item .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--soft); color: var(--green-700); display: grid; place-items: center; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; font: 700 11px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-item b { font-weight: 600; color: var(--ink); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font: 600 13px var(--display); color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 14px; border-radius: 12px;
  border: 1px solid #d5ddcf; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 880px) { .contact-grid, .row2 { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--green-700); }
.site-footer .tag { color: var(--muted); max-width: 40ch; margin-top: 16px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
.wa-float svg { width: 30px; height: 30px; }

.load-error { padding: 120px 16px; text-align: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Status: active production */
.badge.prod { background: var(--lime); color: var(--green-900); }
.badge.event { background: var(--green-800); color: #fff; }

/* News & events */
.news-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.news-card .card-media { display: block; aspect-ratio: 16 / 10; }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a:hover { color: var(--green-700); }
.news-card .meta { font: 600 12px/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); margin-bottom: 10px; }
.read-more { margin-top: auto; font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--green-800); text-decoration: none; }
.read-more:hover { color: var(--leaf); }
.date-chip {
  position: absolute; right: 14px; bottom: 14px;
  background: #fff; color: var(--ink); border-radius: 12px; padding: 8px 12px;
  text-align: center; font: 700 11px/1.1 var(--display); text-transform: uppercase; letter-spacing: .08em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}
.date-chip b { display: block; font-size: 22px; letter-spacing: 0; }
.filters { display: inline-flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: 999px; }
.filters button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 14px var(--display); color: var(--muted); cursor: pointer; }
.filters button.on { background: #fff; color: var(--green-800); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.card[hidden] { display: none; }

.post-hero h1 { text-transform: none; font-size: clamp(26px, 3.4vw, 42px); max-width: 24ch; letter-spacing: -.01em; }
.post-hero .back { display: table; color: #fff; opacity: .85; text-decoration: none; font-weight: 600; margin-bottom: 18px; }
.post-hero .back:hover { opacity: 1; }
.post { max-width: 760px; }
.dateline { font: 700 14px/1.4 var(--display); color: var(--green-700); letter-spacing: .04em; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.post .prose p { font-size: 17px; line-height: 1.75; }
.post-closing { margin: 36px 0 0; padding: 24px 28px; background: var(--soft); border-left: 5px solid var(--lime); border-radius: 0 16px 16px 0; font: 600 17px/1.5 var(--display); color: var(--green-800); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 36px; }
.gallery a { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font: 700 12px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share a, .share button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14px var(--body); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--leaf); color: var(--green-700); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.partner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s;
}
a.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-logo { height: 120px; width: 100%; display: grid; place-items: center; margin-bottom: 12px; }
.partner-logo img { max-height: 120px; max-width: 80%; object-fit: contain; border-radius: 8px; }
.partner-logo b { font: 800 22px var(--display); color: var(--green-800); }
.partner-name { font: 700 17px/1.3 var(--display); color: var(--ink); }
.partner-desc { font-size: 14px; color: var(--muted); }

/* Announcement bar (turned on in /admin → Announcement bar) */
.announce { background: var(--green-900); color: #fff; font: 600 14px/1.4 var(--display); text-align: center; padding: 10px 0; }
.announce a { color: var(--lime); text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
