:root {
  --ink: #261a12;
  --ink-soft: #604f42;
  --paper: #f7f1e3;
  --paper-deep: #eee1c8;
  --white: #fffdf8;
  --green: #0f6b43;
  --green-dark: #073f2b;
  --lime: #c8ea19;
  --tomato: #d72c24;
  --gold: #e7ac2d;
  --line: rgba(38, 26, 18, 0.14);
  --shadow: 0 24px 70px rgba(38, 26, 18, 0.13);
  --radius: 1.6rem;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(200, 234, 25, 0.11), transparent 25rem),
    var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--green) 0 33%, var(--white) 33% 66%, var(--tomato) 66%);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .8rem;
  left: .8rem;
  padding: .65rem 1rem;
  transform: translateY(-160%);
  border-radius: 999px;
  color: var(--white);
  background: var(--green-dark);
}

.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.surface { background: var(--white); }
.surface-green { color: var(--white); background: var(--green-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.15rem;
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before { width: 2.3rem; height: 2px; content: ""; background: currentColor; }
.surface-green .eyebrow { color: var(--lime); }

h1, h2, h3, .display {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}

h1 { max-width: 12ch; font-size: clamp(3.4rem, 8vw, 7.6rem); }
h2 { max-width: 14ch; font-size: clamp(2.5rem, 5vw, 5rem); }
h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.08; }
p { margin: 0 0 1.25rem; }
.lead { max-width: 62ch; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.surface-green .lead { color: rgba(255, 253, 248, .75); }
.accent { color: var(--tomato); font-style: italic; }

.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  border-bottom: 1px solid rgba(38, 26, 18, .08);
  background: rgba(247, 241, 227, .92);
  backdrop-filter: blur(16px);
}

.nav-shell { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand img { width: 72px; height: 60px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: Georgia, serif; font-size: 1.04rem; font-weight: 600; }
.brand-copy small { margin-top: .35rem; color: var(--ink-soft); font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.65rem); }
.site-nav a { position: relative; padding: .5rem 0; font-size: .82rem; font-weight: 750; letter-spacing: .03em; text-decoration: none; }
.site-nav a:not(.button)::after { position: absolute; right: 0; bottom: .18rem; left: 0; height: 2px; content: ""; transform: scaleX(0); background: var(--tomato); transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; content: ""; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-light { color: var(--green-dark); background: var(--lime); }
.button-ghost { border-color: var(--line); }
.button-ghost:hover { color: var(--white); background: var(--green-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.arrow { font-size: 1.15em; }

.hero { position: relative; overflow: hidden; min-height: calc(100vh - 90px); padding: clamp(4rem, 8vw, 7rem) 0; color: var(--white); background: var(--green-dark); }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7, 41, 28, .96) 0%, rgba(7, 41, 28, .78) 48%, rgba(7, 41, 28, .2) 100%), url("../img/hero-campo-verde.webp") center/cover; }
.hero::after { position: absolute; right: -11rem; bottom: -15rem; width: 35rem; height: 35rem; border: 1px solid rgba(200, 234, 25, .35); border-radius: 50%; content: ""; box-shadow: 0 0 0 4rem rgba(200, 234, 25, .04), 0 0 0 8rem rgba(200, 234, 25, .03); }
.hero-grid { position: relative; z-index: 1; display: grid; min-height: 67vh; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: clamp(3rem, 6vw, 6rem); }
.hero h1 { text-wrap: balance; }
.hero .eyebrow { color: var(--lime); }
.hero-copy { max-width: 38rem; margin-top: 1.7rem; color: rgba(255, 253, 248, .78); font-size: clamp(1.05rem, 1.5vw, 1.27rem); }
.hero-card { position: relative; align-self: center; padding: .7rem; transform: rotate(-1.5deg); border-radius: 1.5rem; background: rgba(255, 253, 248, .96); box-shadow: var(--shadow); }
.hero-card img { width: 100%; height: auto !important; aspect-ratio: 1776 / 708; border-radius: .9rem; object-fit: contain; }
.hero-stamp { position: absolute; top: -2.5rem; right: -1.5rem; display: grid; width: 104px; height: 104px; place-items: center; transform: rotate(9deg); border-radius: 50%; color: var(--green-dark); background: var(--lime); font-size: .66rem; font-weight: 900; letter-spacing: .1em; line-height: 1.25; text-align: center; text-transform: uppercase; }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--lime); }
.ticker-inner { display: flex; width: max-content; gap: 2.5rem; padding: .9rem 0; animation: ticker 30s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 2.5rem; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ticker span::after { content: "✦"; }
@keyframes ticker { to { transform: translateX(-50%); } }

.intro-grid, .split { display: grid; align-items: center; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 8vw, 8rem); }
.intro-stat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.stat { min-height: 180px; padding: 1.8rem; background: var(--white); }
.stat strong { display: block; margin-bottom: .75rem; color: var(--green); font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; line-height: 1; }
.stat span { color: var(--ink-soft); font-size: .86rem; }

.card-grid { display: grid; margin-top: 3rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.product-card { position: relative; overflow: hidden; min-height: 500px; border-radius: var(--radius); background: var(--green-dark); }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-card::after { position: absolute; inset: 30% 0 0; content: ""; background: linear-gradient(transparent, rgba(7, 41, 28, .95)); }
.product-card-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 2rem; color: var(--white); }
.product-card-copy small { color: var(--lime); font-size: .67rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.product-card-copy h3 { margin: .65rem 0; }
.product-card-copy p { margin: 0; color: rgba(255, 253, 248, .75); font-size: .88rem; }

.product-feature { display: grid; align-items: center; margin-top: 3rem; padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); grid-template-columns: minmax(260px, .72fr) 1fr; gap: clamp(2rem, 6vw, 6rem); }
.product-feature > img { width: 100%; max-height: 600px; aspect-ratio: 4 / 5; border-radius: 1.2rem; object-fit: cover; }
.product-feature h3 { margin-bottom: 1.2rem; font-size: clamp(2.3rem, 5vw, 4.6rem); }

.harvest-banner { display: grid; overflow: hidden; min-height: 430px; border-radius: 2rem; color: var(--white); background: var(--tomato); grid-template-columns: 1.35fr .65fr; box-shadow: var(--shadow); }
.harvest-banner img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.harvest-banner-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.harvest-banner-copy .eyebrow { color: var(--white); }
.harvest-banner-copy h2 { margin-bottom: 1.25rem; font-size: clamp(2.4rem, 4.5vw, 4.5rem); }
.harvest-banner-copy p { color: rgba(255,255,255,.82); }

.image-frame { position: relative; }
.image-frame img { width: 100%; min-height: 580px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.image-note { position: absolute; right: -1.5rem; bottom: 2rem; max-width: 230px; padding: 1.3rem; transform: rotate(-2deg); border-radius: 1rem; color: var(--green-dark); background: var(--lime); font-size: .82rem; font-weight: 750; box-shadow: var(--shadow); }

.steps { display: grid; margin-top: 3rem; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.16); overflow: hidden; }
.step { min-height: 255px; padding: 1.8rem; background: var(--green-dark); }
.step-number { display: grid; width: 44px; height: 44px; margin-bottom: 3rem; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--lime); font-size: .75rem; font-weight: 900; }
.step h3 { margin-bottom: .8rem; font-size: 1.45rem; }
.step p { color: rgba(255,253,248,.66); font-size: .88rem; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem); border-radius: 2.2rem; color: var(--white); background: var(--tomato); }
.cta-panel::after { position: absolute; right: -7rem; bottom: -9rem; width: 24rem; height: 24rem; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; content: ""; box-shadow: 0 0 0 3rem rgba(255,255,255,.05), 0 0 0 6rem rgba(255,255,255,.03); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 13ch; }

.page-hero { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; align-items: end; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 3rem; }
.page-hero h1 { color: var(--green-dark); }
.page-hero .lead { justify-self: end; }

.product-row { display: grid; align-items: center; padding: 2rem 0; border-top: 1px solid var(--line); grid-template-columns: .75fr 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); }
.product-row:last-child { border-bottom: 1px solid var(--line); }
.product-row img { width: 100%; aspect-ratio: 4 / 5; border-radius: 1.2rem; object-fit: cover; }
.product-row h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.tags li { padding: .42rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .72rem; font-weight: 750; }

.download-grid { display: grid; margin-top: 2.5rem; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.download-grid.single { grid-template-columns: minmax(0, 420px); }
.download-card { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; padding: 1.4rem; border: 1px solid rgba(255,255,255,.18); border-radius: 1.2rem; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.download-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); }
.download-card span { color: var(--lime); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.download-card strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; line-height: 1.1; }

.timeline { max-width: 900px; margin: 4rem auto 0; }
.timeline-item { display: grid; padding: 2.3rem 0; border-top: 1px solid var(--line); grid-template-columns: 140px 1fr; gap: 2rem; }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--tomato); font-family: Georgia, serif; font-size: 2rem; }
.timeline-item h3 { margin-bottom: .8rem; }
.timeline-item p { color: var(--ink-soft); }

.quote { padding: clamp(2.5rem, 6vw, 5rem); border-radius: var(--radius); color: var(--green-dark); background: var(--lime); }
.quote p { max-width: 24ch; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.03em; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery figure { position: relative; overflow: hidden; min-height: 310px; margin: 0; border-radius: 1.25rem; background: var(--paper-deep); }
.gallery figure:nth-child(6n+1), .gallery figure:nth-child(6n+4) { grid-column: span 7; }
.gallery figure:nth-child(6n+2), .gallery figure:nth-child(6n+3) { grid-column: span 5; }
.gallery figure:nth-child(6n+5), .gallery figure:nth-child(6n+6) { grid-column: span 6; }
.gallery img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: .8rem 1rem; border-radius: .8rem; color: var(--white); background: rgba(7, 41, 28, .76); font-size: .72rem; font-weight: 800; backdrop-filter: blur(8px); }

.map-shell { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
#map { height: min(620px, 72vh); min-height: 440px; background: #dce7d2; }
.leaflet-container { font-family: inherit; }
.map-pin { display: grid; width: 42px; height: 42px; place-items: center; border: 4px solid var(--white); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--tomato); box-shadow: 0 8px 18px rgba(38,26,18,.25); }
.map-pin::after { width: 11px; height: 11px; border-radius: 50%; content: ""; background: var(--white); }
.map-popup strong { display: block; color: var(--green-dark); font-family: Georgia, serif; font-size: 1.1rem; }

.store-grid { display: grid; margin-top: 2.5rem; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.store { padding: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.store h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.store p { margin: 0; color: var(--ink-soft); font-size: .84rem; }

.service-grid { display: grid; margin-top: 3rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--white); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card-copy { padding: 1.5rem; }
.service-card-copy h3 { margin-bottom: .75rem; }
.service-card-copy p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.crop-list { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; padding: 0; list-style: none; }
.crop-list li { padding: .6rem .95rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.82); font-size: .78rem; font-weight: 750; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-card { min-height: 260px; padding: clamp(1.7rem, 4vw, 3rem); border-radius: var(--radius); background: var(--white); }
.contact-card:nth-child(1) { color: var(--white); background: var(--green-dark); }
.contact-card:nth-child(2) { background: var(--lime); }
.contact-label { display: block; margin-bottom: 4rem; font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.contact-card a { display: inline-block; max-width: 100%; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.35vw, 2.25rem); line-height: 1.1; text-decoration-thickness: 1px; text-underline-offset: .25rem; overflow-wrap: anywhere; }
.contact-card a[href^="tel:"],
.contact-card a[href^="mailto:"] { word-break: normal; }
.contact-card a[href^="tel:"] { white-space: nowrap; }
.contact-card a[href^="mailto:"] { font-size: clamp(1.15rem, 2vw, 1.85rem); }
.contact-card address { font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-style: normal; line-height: 1.1; }

.legal { max-width: 820px; }
.legal h2 { margin: 2.5rem 0 1rem; font-size: 2rem; }
.legal h3 { margin: 2rem 0 .8rem; font-size: 1.35rem; }
.legal p, .legal li { color: var(--ink-soft); }

.site-footer { padding: 4rem 0 2rem; color: rgba(255,253,248,.7); background: #052b1e; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-brand { max-width: 380px; }
.footer-brand img { width: 150px; margin-bottom: 1.4rem; filter: drop-shadow(0 8px 18px rgba(0,0,0,.2)); }
.footer-title { margin-bottom: 1.2rem; color: var(--lime); font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a { width: fit-content; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); justify-content: space-between; gap: 1rem; font-size: .74rem; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 86px; right: 0; left: 0; display: none; padding: 1.2rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: .75rem; }
  .site-nav .button { margin-top: .4rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { width: min(100%, 560px); justify-self: center; }
  .intro-grid, .split, .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .lead { justify-self: start; }
  .card-grid, .store-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-row { grid-template-columns: 220px 1fr; }
  .product-feature { grid-template-columns: minmax(220px, .75fr) 1fr; }
  .harvest-banner { grid-template-columns: 1fr; }
  .harvest-banner img { min-height: 340px; }
  .product-row > :last-child { grid-column: 1 / -1; }
  .download-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .brand-copy small { display: none; }
  .brand img { width: 62px; height: 52px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; }
  .hero { padding: 3.2rem 0 2.6rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-stamp { top: -2rem; right: -.5rem; width: 86px; height: 86px; font-size: .56rem; }
  .hero .button-row { display: grid; }
  .hero .button { width: 100%; }
  .intro-stat, .card-grid, .store-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 440px; }
  .image-frame img { min-height: 420px; }
  .image-note { right: .8rem; bottom: .8rem; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .step-number { margin-bottom: 2rem; }
  .product-row { grid-template-columns: 1fr; }
  .product-feature { grid-template-columns: 1fr; }
  .harvest-banner { min-height: 0; border-radius: 1.4rem; }
  .harvest-banner img { min-height: 260px; max-height: 320px; }
  .harvest-banner-copy { padding: 2rem 1.4rem; }
  .product-row > :last-child { grid-column: auto; }
  .product-row img { max-height: 360px; }
  .timeline-item { grid-template-columns: 1fr; gap: .6rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure:nth-child(n) { min-height: 300px; grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
