/* ==========================================================================
   Jayaditya Agro — prototype stylesheet
   Palette follows the reference site: green #2e9e5b + amber #fdb72c
   ========================================================================== */

/* Brand colours sampled from the company logo:
   wordmark green #1A5528, sun/monogram orange #F8A219 / #F4871F, leaf #9EC83D */
:root {
  --green:        #2e9e5b;
  --green-dark:   #1A5528;
  --green-darker: #123B1D;
  --green-tint:   #eef7f1;
  --amber:        #F8A219;
  --amber-dark:   #F4871F;
  --leaf:         #9EC83D;
  --corn:         #e0a021;
  --corn-tint:    #fdf6e6;

  --ink:          #17251c;
  --body:         #5a6b60;
  --line:         #e3ebe6;
  --bg:           #ffffff;
  --bg-soft:      #f6faf7;

  --radius:   14px;
  --radius-sm: 8px;
  --shadow:    0 2px 8px rgba(23, 37, 28, .05);
  --shadow-md: 0 10px 30px rgba(23, 37, 28, .09);
  --shadow-lg: 0 22px 60px rgba(23, 37, 28, .16);

  --font: "Rubik", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber-dark); }

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

ul { margin: 0 0 1.1rem; padding-left: 1.15rem; }
li { margin-bottom: .35rem; }

/* ---------- Layout helpers ---------------------------------------------- */

.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.container-wide { width: min(1440px, 100% - 3rem); margin-inline: auto; }

.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-green { background: var(--green-darker); color: rgba(255,255,255,.82); }
.section-green h2, .section-green h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* Grid and flex items default to min-width:auto, which lets wide content
   (tables in particular) force a track open and blow out the page. */
.grid > *, .split > *, .contact-grid > *, .footer-grid > * { min-width: 0; }

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 2rem; }

/* ---------- Buttons ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.9rem;
  border: 2px solid transparent;
  border-radius: 40px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(46,158,91,.28); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

.btn-amber { background: var(--amber); border-color: var(--amber); color: #3a2c05; box-shadow: 0 8px 22px rgba(253,183,44,.32); }
.btn-amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #3a2c05; }

.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--green-dark); }

.btn-outline { border-color: var(--green); color: var(--green-dark); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }

.btn-sm { padding: .6rem 1.35rem; font-size: .78rem; }

/* ---------- Top bar ------------------------------------------------------ */

.topbar {
  background: var(--green-darker);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: .5rem 0;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; align-items: center; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--amber); }
.topbar .spacer { margin-left: auto; }
.topbar .ico { color: var(--amber); margin-right: .4rem; }
.topbar .ico svg { width: 11px; height: 11px; vertical-align: -1px; }

/* ---------- Navbar ------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--nav-h);
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand-mark { flex: none; width: auto; height: 54px; }
.brand-text { line-height: 1.15; }
.brand-name {
  display: block;
  font-size: 1.16rem;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: .005em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-tag {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

/* footer sits on near-black green, so the wordmark inverts */
.brand-invert .brand-name { color: #fff; }
.brand-invert .brand-tag { color: rgba(255,255,255,.62); }

.nav-links { display: flex; align-items: center; gap: .35rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links > li { position: relative; margin: 0; }
.nav-links > li > a {
  display: block;
  padding: .6rem .95rem;
  border-radius: 30px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
}
.nav-links > li > a:hover,
.nav-links > li.active > a { background: var(--green-tint); color: var(--green-dark); }

.has-drop > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  padding: .5rem;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: .55rem .8rem; border-radius: 6px; color: var(--ink); font-size: .88rem; }
.drop a:hover { background: var(--green-tint); color: var(--green-dark); }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: relative; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 4px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after  { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero slider -------------------------------------------------- */

.hero { position: relative; height: min(88vh, 760px); min-height: 500px; overflow: hidden; background: var(--green-darker); }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s ease, transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9,32,18,.86) 0%, rgba(9,32,18,.62) 45%, rgba(9,32,18,.28) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 660px; color: rgba(255,255,255,.86); }
.hero-copy h1 { color: #fff; margin-bottom: 1rem; }
.hero-copy .lead { font-size: 1.1rem; margin-bottom: 1.9rem; }
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: .35rem 1rem;
  border: 1px solid rgba(253,183,44,.5);
  border-radius: 30px;
  background: rgba(253,183,44,.12);
  color: var(--amber);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hero banner (whole poster, nothing overlaid) ----------------- */

.hero-banner {
  background: #bcd8ee;                 /* matches the poster's sky, so any letterboxing blends */
  line-height: 0;
}
/* shown whole, at its own aspect ratio — nothing cropped off the poster */
.hero-banner img { width: 100%; height: auto; display: block; }

.hero-intro {
  padding: 52px 0 58px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 52px;
  align-items: start;
  margin-top: 1.1rem;
}
.hero-intro h1 { margin-bottom: 0; }
.hero-intro .lead { font-size: 1.06rem; margin-bottom: 1.7rem; }
.hero-intro .hero-eyebrow {
  border-color: rgba(248,162,25,.55);
  background: rgba(248,162,25,.12);
  color: var(--amber-dark);
}

.hero-dots { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; display: flex; justify-content: center; gap: .6rem; }
.hero-dots button {
  width: 34px; height: 4px;
  padding: 0;
  border: 0; border-radius: 4px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.hero-dots button.active { background: var(--amber); width: 52px; }

/* ---------- Section heading ---------------------------------------------- */

.heading { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.heading.left { margin-inline: 0; text-align: left; }
.subheading {
  display: block;
  margin-bottom: .5rem;
  color: var(--green);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.heading h2 { margin-bottom: .7rem; }
.heading .rule { width: 62px; height: 3px; margin: 1.1rem auto 0; border-radius: 3px; background: var(--amber); }
.heading.left .rule { margin-inline: 0; }
.section-green .subheading { color: var(--amber); }

/* ---------- The three farm "inputs" (home) ------------------------------- */

.farm-picker { position: relative; z-index: 20; }

.farm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 2.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: #123;
  box-shadow: var(--shadow-md);
  transition: transform .35s ease, box-shadow .35s ease;
}
.farm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
/* Stacking order matters here: .bg is a child, so the `.farm-card > *` rule below would
   otherwise lift it above the ::after gradient and the darkening would never be seen. */
.farm-card .bg {
  position: absolute; inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s ease;
}
.farm-card:hover .bg { transform: scale(1.07); }
.farm-card::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11,35,20,.32) 0%, rgba(11,35,20,.80) 40%, rgba(11,35,20,.92) 70%, rgba(11,35,20,.96) 100%);
}
.farm-card > * { position: relative; z-index: 2; }
.farm-card h3, .farm-card p, .farm-card .farm-stats { text-shadow: 0 1px 3px rgba(6,20,11,.5); }

.farm-badge {
  align-self: flex-start;
  padding: .34rem 1rem;
  border-radius: 30px;
  /* sits at the top of the card where the gradient is lightest, so it carries its own
     dark chip rather than relying on the overlay for contrast */
  background: rgba(8,26,15,.66);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.farm-card .spacer { flex: 1 1 auto; }
.farm-card h3 { color: #fff; font-size: 1.85rem; margin-bottom: .5rem; }
.farm-card p { color: rgba(255,255,255,.8); margin-bottom: 1.3rem; }

.farm-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.farm-stats div strong { display: block; color: var(--amber); font-size: 1.28rem; font-weight: 800; line-height: 1.2; }
.farm-stats div span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.62); }

.farm-card .btn { align-self: flex-start; }
.farm-card.corn .farm-badge,
.farm-card.dates .farm-badge { color: var(--amber); border-color: rgba(248,162,25,.5); }

/* Three cards to a row leaves each one about 375px wide — tighten the padding,
   headline and stat row so the three stats still sit on one line. */
.farm-picker .g-3 .farm-card { padding: 2rem 1.8rem; }
.farm-picker .g-3 .farm-card h3 { font-size: 1.6rem; }
.farm-picker .g-3 .farm-card p { font-size: .93rem; }
.farm-picker .g-3 .farm-stats { gap: 1rem; }
.farm-picker .g-3 .farm-stats div strong { font-size: 1.12rem; }
.farm-picker .g-3 .farm-stats div span { font-size: .68rem; letter-spacing: .07em; }
.farm-picker .g-3 .farm-card .btn { padding: .78rem 1.4rem; font-size: .8rem; }

/* Range-bounded: below 900px the shared .g-3 rule collapses this to one column,
   and that rule is less specific, so it must not have to compete with this one. */
@media (max-width: 1024px) and (min-width: 901px) {
  .farm-picker .g-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Icon cards --------------------------------------------------- */

.card {
  padding: 2.2rem 1.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .95rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  background: var(--green-tint);
  color: var(--green);
}
.card-icon svg { width: 28px; height: 28px; }
.card.amber .card-icon { background: var(--corn-tint); color: var(--corn); }
.card.center { text-align: center; }
.card.center .card-icon { margin-inline: auto; }

/* ---------- Counters ----------------------------------------------------- */

.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.counter { padding: 2.2rem 1.4rem; text-align: center; background: var(--green-darker); }
.counter strong { display: block; color: var(--amber); font-size: 2.5rem; font-weight: 900; line-height: 1.1; }
.counter span { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Split (image + text) ----------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.narrow { gap: 44px; }
.split-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
/* no fixed height and no crop — the image keeps its own aspect ratio */
.split-img img { width: 100%; height: auto; display: block; }

.split-badge {
  position: absolute;
  right: 22px; bottom: 22px;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--amber);
  color: #3a2c05;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.split-badge strong { display: block; font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.split-badge span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Ticked list -------------------------------------------------- */

.ticks { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 9px; height: 15px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(42deg);
}
.section-green .ticks li::before { border-color: var(--amber); }

/* ---------- Page hero (inner pages) -------------------------------------- */

.page-hero {
  position: relative;
  padding: 118px 0 104px;
  /* a backdrop carries the h1, so it has to fill the box — this colour shows
     where a page has no photograph behind its title */
  background-color: var(--green-darker);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,32,18,.72), rgba(9,32,18,.86)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { max-width: 660px; margin-inline: auto; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.crumbs { margin-bottom: 1rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.crumbs a { color: var(--amber); }
.crumbs span { margin: 0 .5rem; }

/* ---------- Quick facts strip -------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -46px;
  position: relative;
  z-index: 10;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.fact { padding: 1.7rem 1.3rem; background: #fff; text-align: center; }
.fact strong { display: block; color: var(--green-dark); font-size: 1.55rem; font-weight: 900; line-height: 1.15; }
.fact span { font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--body); }

/* ---------- Process steps ------------------------------------------------ */

.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1.5rem;
  padding: 1.7rem 1.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .3s ease, transform .3s ease;
}
.step:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 900;
}
.step h4 { margin-bottom: .3rem; }
.step p { font-size: .95rem; margin-bottom: .5rem; }
.step .meta {
  display: inline-block;
  padding: .18rem .7rem;
  border-radius: 20px;
  background: var(--corn-tint);
  color: #8a6208;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Product / by-product cards ----------------------------------- */

.prod {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
/* Most of the supplied artwork is infographic posters, not photographs — cropping
   them to fill the box throws away the content. Every card image is fitted whole
   onto a neutral field instead. Sources are 1:1, 1.25:1 and 1.5:1; a 5:4 box fits
   the 1.25:1 majority exactly and leaves the rest a thin, even band. */
.prod-img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--bg-soft); }
.prod-img img { width: 100%; height: 100%; object-fit: contain; }
.prod-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: .25rem .75rem;
  border-radius: 20px;
  background: rgba(255,255,255,.93);
  color: var(--green-dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.prod-tag.by { background: var(--amber); color: #3a2c05; }
.prod-body { padding: 1.5rem 1.5rem 1.7rem; flex: 1 1 auto; }
.prod-body h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.prod-body p { font-size: .92rem; margin-bottom: .8rem; }
.prod-uses { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  padding: .22rem .7rem;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: .74rem;
  color: var(--body);
}

/* ---------- Flow diagram ------------------------------------------------- */

.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: .8rem; }
.flow-node {
  flex: 1 1 165px;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  text-align: center;
  font-size: .88rem;
}
.flow-node strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: .15rem; }
.flow-node.out { border-top-color: var(--amber); background: var(--corn-tint); }
.flow-arrow { align-self: center; color: var(--green); font-size: 1.3rem; line-height: 1; }

/* ---------- Tables ------------------------------------------------------- */

.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .93rem; }
thead th {
  padding: 1rem 1.2rem;
  background: var(--green-darker);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
tbody td { padding: .95rem 1.2rem; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--bg-soft); }
tbody td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- Gallery ------------------------------------------------------ */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery a:hover img { transform: scale(1.08); }
.gallery a::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(22,83,47,.35);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery a:hover::after { opacity: 1; }
.gallery a.tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- CTA band ----------------------------------------------------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.4rem;
  padding: 2.6rem 3rem;
  border-radius: var(--radius);
  background: linear-gradient(115deg, var(--green-dark), var(--green-darker));
  color: rgba(255,255,255,.82);
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band .grow { flex: 1 1 340px; }

/* ---------- Contact ------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; }

.info-item { display: flex; gap: 1.1rem; margin-bottom: 1.7rem; }
.info-item .card-icon { flex: none; width: 52px; height: 52px; margin-bottom: 0; border-radius: 14px; }
.info-item .card-icon svg { width: 22px; height: 22px; }
.info-item h4 { margin-bottom: .1rem; }
.info-item p { font-size: .94rem; margin-bottom: 0; }

.form {
  padding: 2.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,158,91,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { margin-top: 1rem; font-size: .82rem; color: var(--body); }

/* ---------- Footer ------------------------------------------------------- */

.footer { padding: 78px 0 0; background: #0e2216; color: rgba(255,255,255,.62); font-size: .93rem; }
.footer h4 {
  margin-bottom: 1.3rem;
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer a { color: rgba(255,255,255,.62); }
.footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .55rem; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: rgba(255,255,255,.5); }

.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.socials a:hover { background: var(--amber); color: #3a2c05; transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }

.footer-bottom {
  margin-top: 62px;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: .84rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

.proto-note {
  margin-top: 1rem;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(253,183,44,.1);
  border: 1px dashed rgba(253,183,44,.35);
  color: rgba(255,255,255,.6);
  font-size: .78rem;
}

/* ---------- Scroll reveal ------------------------------------------------ */

/* Content is visible by default; the hide-then-reveal only applies once the
   inline head script has confirmed JS is running, so a script failure can
   never leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .3s ease; transform: none; }
}

/* ---------- Back to top -------------------------------------------------- */

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  box-shadow: var(--shadow-md);
  transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-dark); }

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .counters, .facts { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery a.tall { grid-row: span 1; aspect-ratio: 4 / 3; }
}

@media (max-width: 900px) {
  .container, .container-wide { width: min(100% - 2.5rem, 1180px); }
  .section { padding: 68px 0; }

  .nav-toggle { display: block; }
  .nav .container { flex-wrap: wrap; }
  .nav-links {
    order: 3;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 640px; padding-bottom: 1rem; }
  .nav-links > li > a { padding: .75rem .9rem; border-radius: var(--radius-sm); }
  .drop {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 1rem;
    min-width: 0;
  }
  .nav-cta { display: none; }

  .hero { height: auto; min-height: 0; padding: 96px 0 120px; }
  .hero-inner { min-height: 380px; }
  .hero-intro { padding: 38px 0 44px; }
  .hero-intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .g-2, .g-3, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: -1; }
  .cta-band { padding: 2rem 1.7rem; }
}

@media (max-width: 620px) {
  .topbar .container { justify-content: center; text-align: center; }
  .topbar .spacer { margin-left: 0; }
  .g-4, .counters, .facts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .step { grid-template-columns: 1fr; gap: .9rem; }
  .form { padding: 1.6rem; }
  .farm-card { min-height: 380px; padding: 1.7rem; }

  .brand { gap: .6rem; }
  .brand-mark { height: 44px; }
  .brand-name { font-size: .98rem; }
  .brand-tag { font-size: .52rem; letter-spacing: .24em; }
}
