:root {
  --green: #0a6a43;
  --green-bright: #0bab67;
  --green-dark: #073d29;
  --orange: #f39200;
  --ink: #1d2621;
  --muted: #68716c;
  --line: #dfe7e2;
  --paper: #ffffff;
  --soft: #f4f8f5;
  --shadow: 0 22px 55px rgba(6, 45, 28, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "Open Sans", Arial, sans-serif; line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, .main-nav { font-family: Montserrat, Arial, sans-serif; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -60px; left: 20px; padding: 10px 18px; background: var(--green); color: #fff; transition: top .2s; }
.skip-link:focus { top: 16px; }
.section { width: min(1120px, calc(100% - 44px)); margin-inline: auto; padding: 110px 0; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); box-shadow: 0 6px 24px rgba(0,0,0,.06); backdrop-filter: blur(12px); }
.nav-wrap { width: min(1140px, calc(100% - 34px)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 240px; height: 64px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 238px; height: 64px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.main-nav > a, .nav-dropdown > button { position: relative; padding: 29px 0; border: 0; background: none; color: #252b28; white-space: nowrap; }
.main-nav > a::after, .nav-dropdown > button::after { content: ""; position: absolute; left: 0; bottom: 19px; width: 0; height: 2px; background: var(--green-bright); transition: width .25s; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after, .main-nav > a.active::after, .nav-dropdown > button:hover::after { width: 100%; }
.main-nav .home-link { padding-inline: 0; }
.home-link svg { width: 19px; height: 19px; fill: none; stroke: var(--green-bright); stroke-width: 1.8; }
.nav-dropdown { position: relative; }
.nav-dropdown > button span { color: var(--green); font-size: 16px; }
.dropdown-panel { position: absolute; top: 62px; left: -22px; min-width: 235px; padding: 12px; background: #fff; border-top: 3px solid var(--green-bright); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.dropdown-panel a { display: block; padding: 9px 12px; font-family: "Open Sans", sans-serif; font-size: 13px; font-weight: 600; text-transform: none; color: #4d5752; }
.dropdown-panel a:hover { color: var(--green); background: var(--soft); }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.language { display: flex; align-items: center; gap: 5px; color: #69716c; font-size: 11px; }
.flag-es { width: 18px; height: 12px; display: inline-block; border: 1px solid rgba(0,0,0,.12); background: linear-gradient(#b71722 0 25%, #f5c94e 25% 75%, #b71722 75%); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 3px; margin: 4px auto; background: var(--green); transition: .25s; }

.hero { position: relative; min-height: calc(100vh - 76px); overflow: hidden; background: #0d3828; }
.hero-slide { position: absolute; inset: 0; display: grid; align-items: end; padding: 0 max(22px, calc((100vw - 800px) / 2)) 64px; background-image: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.24)), var(--bg); background-position: center; background-size: cover; opacity: 0; visibility: hidden; transform: scale(1.035); transition: opacity .8s ease, transform 5.5s ease; }
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-copy { position: relative; width: min(800px, 100%); padding: 26px 32px 28px; color: #fff; background: rgba(0,18,11,.74); border-top: 5px solid var(--green-bright); box-shadow: 0 16px 50px rgba(0,0,0,.28); }
.hero-copy .eyebrow { margin: 0 0 5px; font: 700 18px Montserrat, sans-serif; text-transform: none; letter-spacing: 0; }
.hero-copy h1, .hero-copy h2 { margin: 0 0 8px; color: #fff; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.hero-copy p:not(.eyebrow) { max-width: 680px; margin: 0 0 19px; font-size: 18px; line-height: 1.55; }
.outline-btn, .solid-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 28px; border: 2px solid var(--green-bright); color: #fff; font-weight: 700; transition: .2s; }
.outline-btn:hover, .outline-btn:focus-visible { background: var(--green-bright); transform: translateY(-2px); }

.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > span, .kicker { display: inline-block; margin-bottom: 8px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-heading h2, .company-copy h2, .quality-copy h2, .info-panel h2, .contact-inner h2, .brands-strip h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.section-heading h2::after, .company-copy h2::after, .quality-copy h2::after { content: ""; display: block; width: 54px; height: 3px; margin-top: 20px; background: var(--green-bright); }
.centered h2::after { margin-inline: auto; }
.section-heading p { color: var(--muted); font-size: 17px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.image-frame { position: relative; }
.story-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.story-stamp { position: absolute; right: -25px; bottom: -25px; width: 155px; height: 155px; display: grid; place-content: center; text-align: center; color: #fff; background: var(--green); border: 8px solid #fff; border-radius: 50%; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.story-stamp strong { font: 800 24px Montserrat, sans-serif; }
.story-stamp span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.story-copy p { color: #505a55; }
.story-copy .lead { color: var(--ink); font-size: 18px; font-weight: 600; }
.signature { margin-top: 28px; color: var(--green-dark); font: 800 25px Montserrat, sans-serif; letter-spacing: .05em; }
.signature span { display: block; color: var(--orange); font-size: 10px; letter-spacing: .35em; text-transform: uppercase; }

.alt { width: 100%; max-width: none; padding-inline: max(22px, calc((100vw - 1120px) / 2)); background: var(--soft); }
.company-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 80px; }
.company-copy > p { color: #53605a; }
.check-list { margin: 28px 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 13px 0; padding-left: 34px; color: #39443e; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-content: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; }
.small-note { padding-left: 16px; border-left: 3px solid var(--orange); font-weight: 600; }
.company-visual { position: relative; }
.company-visual img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; box-shadow: var(--shadow); }
.metric-card { position: absolute; left: -34px; bottom: 34px; width: 190px; padding: 22px; color: #fff; background: var(--green-dark); box-shadow: var(--shadow); }
.metric-card strong { display: block; font: 800 38px Montserrat, sans-serif; color: var(--orange); }
.metric-card span { font-size: 13px; }

.parallax-band { min-height: 330px; display: grid; place-items: center; padding: 70px 22px; text-align: center; color: #fff; background-position: center; background-size: cover; background-attachment: scroll; }
.field-band { background-image: linear-gradient(110deg, rgba(0,153,86,.77), rgba(225,198,22,.68)), url('assets/field-rows.jpg'); }
.season-band { background-image: linear-gradient(110deg, rgba(3,74,46,.83), rgba(10,171,103,.6)), url('assets/nectarina-plana-amarilla-ysatis-02.jpg'); }
.parallax-band h2 { margin: 0; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.15; text-transform: uppercase; }
.parallax-band p { margin: 14px auto 0; font-size: 17px; font-weight: 600; }
.light-rule { display: block; width: 54px; height: 3px; margin: 20px auto; background: #fff; }

.products { padding-bottom: 120px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { min-height: 286px; padding: 38px 30px; text-align: center; background: #fff; border: 1px solid #ebf0ed; box-shadow: 0 12px 34px rgba(17,61,41,.07); transition: .25s ease; }
.product-card:hover { transform: translateY(-8px); border-color: rgba(11,171,103,.4); box-shadow: var(--shadow); }
.product-card.featured { background: var(--green-dark); color: #fff; }
.product-icon { height: 92px; display: grid; place-content: center; font-size: 70px; filter: saturate(.85); }
.product-card h3 { margin: 9px 0 8px; font-size: 19px; }
.product-card p { margin: 0; color: var(--muted); font-size: 14px; }
.product-card.featured p { color: #cadbd2; }

.quality-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 100px; }
.quality-copy p { color: #56615b; }
.text-button { padding: 10px 0; border: 0; border-bottom: 2px solid var(--green); background: none; color: var(--green); font-weight: 700; }
.text-button span { margin-left: 7px; }
.quality-more { margin-top: 16px; padding: 16px 20px; background: var(--soft); border-left: 3px solid var(--green-bright); }
.quality-card { position: relative; min-height: 310px; display: grid; place-content: center; text-align: center; color: var(--green-dark); background: linear-gradient(145deg, #eef7f1, #fff); border: 1px solid var(--line); overflow: hidden; }
.quality-card::before, .quality-card::after { content: ""; position: absolute; width: 130px; height: 130px; border: 2px solid rgba(10,106,67,.09); transform: rotate(45deg); }
.quality-card::before { top: -45px; right: -30px; }
.quality-card::after { bottom: -55px; left: -25px; }
.seal { width: 106px; height: 106px; margin: 0 auto 15px; display: grid; place-content: center; border: 4px solid var(--green); border-radius: 50%; }
.seal span { width: 70px; height: 70px; display: grid; place-content: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 42px; }
.quality-card strong { font: 800 34px Montserrat, sans-serif; }
.quality-card p { margin: -4px 0 0; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.brands-strip { text-align: center; background: linear-gradient(#fff, #f8fbf9); border-top: 1px solid #eef2ef; }
.brands-strip .section { padding-top: 90px; padding-bottom: 90px; }
.brands-strip p { max-width: 680px; margin-inline: auto; color: var(--muted); }
.brands-strip img { width: min(520px, 90%); height: 170px; margin: 26px auto 0; object-fit: contain; object-position: center; }
.news-jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.info-panel { min-height: 360px; padding: 48px; color: #fff; background: var(--green); }
.info-panel.warm { color: var(--ink); background: #f3a713; }
.info-panel p { margin-bottom: 28px; }
.info-panel .kicker { color: inherit; opacity: .78; }
.solid-btn { border: 0; background: #fff; color: var(--green); }
.solid-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.solid-btn.dark { color: #fff; background: var(--green-dark); }
.contact-band { color: #fff; background: linear-gradient(115deg, rgba(5,66,41,.98), rgba(10,106,67,.9)); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-top: 72px; padding-bottom: 72px; }
.contact-inner > div { max-width: 760px; }
.contact-inner .kicker { color: #8cf0bd; }
.contact-inner p { color: #d8e8df; }
.outline-btn.light { flex: 0 0 auto; border-color: #fff; }
.outline-btn.light:hover { background: #fff; color: var(--green-dark); }

.site-footer { color: #c7ceca; background: #1d1f1e; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.45fr; gap: 55px; padding-top: 68px; padding-bottom: 62px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h2 { margin: 0 0 8px; color: #fff; font-size: 17px; }
.footer-column p { margin: 0 0 5px; font-size: 14px; }
.footer-column > a { position: relative; padding-left: 14px; font-size: 14px; transition: color .2s; }
.footer-column > a::before { content: "›"; position: absolute; left: 0; color: var(--green-bright); font-weight: 800; }
.footer-column > a:hover { color: #fff; }
.footer-logo { width: 225px; height: 92px; margin: -14px 0 5px; padding: 3px 7px; object-fit: contain; object-position: left center; background: #fff; opacity: .96; }
.company-data p { overflow-wrap: anywhere; }
.company-data > a { margin-top: 8px; color: #60da9b; font-size: 15px; }
.newsletter input { width: 100%; height: 49px; margin: 10px 0 10px; padding: 0 14px; border: 1px solid #555; background: #fff; }
.newsletter button { min-height: 44px; padding: 0 22px; border: 0; background: var(--green-bright); color: #fff; font-weight: 700; }
.form-status { min-height: 22px; color: #76e2aa; }
.footer-bottom { background: #111211; }
.footer-bottom-inner { width: min(1120px, calc(100% - 44px)); min-height: 74px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; font-size: 13px; }
.socials { display: flex; gap: 9px; }
.socials a { width: 36px; height: 36px; display: grid; place-content: center; background: #242725; color: #fff; font-weight: 700; transition: .2s; }
.socials a:hover { background: var(--green); }

.whatsapp { position: fixed; z-index: 30; right: 28px; bottom: 30px; width: 68px; height: 68px; display: grid; place-content: center; border: 7px solid #fff; border-radius: 50%; background: #25d366; box-shadow: 0 8px 30px rgba(0,0,0,.22); transition: .2s; }
.whatsapp:hover { transform: scale(1.07); }
.whatsapp svg { width: 42px; height: 42px; fill: #fff; }
.back-top { position: fixed; right: 30px; bottom: 112px; z-index: 25; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: var(--green-dark); box-shadow: 0 8px 24px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1120px) {
  .main-nav { gap: 16px; font-size: 11px; }
  .brand { flex-basis: 200px; }
  .brand img { width: 200px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; z-index: 2; }
  .main-nav { position: fixed; top: 76px; right: 0; bottom: auto; left: 24%; height: calc(100vh - 76px); display: block; padding: 22px 28px 45px; background: rgba(255,255,255,.99); box-shadow: -14px 20px 38px rgba(0,0,0,.12); overflow-y: auto; opacity: 0; visibility: hidden; clip-path: inset(0 0 0 100%); pointer-events: none; transition: opacity .25s ease, clip-path .3s ease, visibility .3s; }
  .main-nav.open { opacity: 1; visibility: visible; clip-path: inset(0); pointer-events: auto; }
  .main-nav > a, .nav-dropdown > button { display: block; width: 100%; padding: 14px 0; text-align: left; border-bottom: 1px solid #e7eee9; }
  .main-nav > a::after, .nav-dropdown > button::after { display: none; }
  .home-link svg { margin-top: 4px; }
  .dropdown-panel { position: static; display: none; box-shadow: none; border-top: 0; padding: 4px 0 10px 14px; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.open .dropdown-panel { display: block; }
  .language { padding-top: 18px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .story-grid, .company-grid, .quality-grid { grid-template-columns: 1fr; }
  .story-grid { gap: 55px; }
  .company-grid { gap: 50px; }
  .company-visual { max-width: 640px; }
  .company-visual img { aspect-ratio: 16 / 10; }
  .quality-grid { gap: 45px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 68px; }
  .section { width: min(100% - 32px, 1120px); padding: 76px 0; }
  .nav-wrap { min-height: 68px; }
  .brand { flex-basis: 188px; height: 58px; }
  .brand img { width: 185px; height: 58px; }
  .main-nav { top: 68px; right: 0; bottom: auto; left: 9%; height: calc(100vh - 68px); }
  .hero { min-height: 680px; }
  .hero-slide { padding: 0 18px 58px; background-position: 55% center; }
  .hero-copy { padding: 22px 20px 24px; }
  .hero-copy .eyebrow { font-size: 15px; }
  .hero-copy p:not(.eyebrow) { font-size: 15px; }
  .section-heading { margin-bottom: 36px; }
  .story-stamp { right: -8px; bottom: -35px; width: 130px; height: 130px; }
  .alt { padding-inline: 16px; }
  .metric-card { left: 12px; bottom: 12px; }
  .parallax-band { min-height: 290px; background-attachment: scroll; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 240px; }
  .news-jobs { grid-template-columns: 1fr; gap: 14px; }
  .info-panel { min-height: 320px; padding: 34px 28px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom-inner { padding: 18px 0; align-items: flex-start; flex-direction: column; }
  .whatsapp { right: 16px; bottom: 18px; width: 62px; height: 62px; }
  .back-top { right: 25px; bottom: 94px; }
}

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