:root {
  --verde: #0F6B45;          /* hoja del logotipo */
  --verde-hondo: #0A3524;    /* secciones oscuras */
  --lima: #C6D92E;           /* "avo" del logotipo */
  --hueso: #000;             /* hueso negro del logotipo */
  --escarcha: #F1F5EF;       /* fondo frío, guiño a la congelación */
  --tinta: #13201A;
  --musgo: #4E6157;
  --linea: #CBD8CE;
  --lima-suave: #E3EBB4;
  --font-mano: "Caveat", cursive;
  /* Formas tomadas de la marca: el hueso del logotipo y la hoja */
  --forma-hueso: 50% 50% 47% 53% / 60% 60% 40% 40%;
  --forma-hoja: 48px 260px 48px 260px / 48px 180px 48px 180px;
  --forma-semilla: 58% 42% 52% 48% / 46% 56% 44% 54%;
  --blanco: #fff;

  --font: "Archivo", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --step-4: clamp(2.3rem, 1.4rem + 3.2vw, 4rem);

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--tinta);
  background: var(--escarcha);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--lima); color: var(--verde-hondo); }
input, textarea, select { caret-color: var(--verde); accent-color: var(--verde); }
:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--lima); color: var(--hueso); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* Tipografía: una familia; los titulares van anchos, pesados e itálicos como el logotipo */
.display, .h2 {
  font-style: italic;
  font-weight: 850;
  font-stretch: 115%;
  letter-spacing: -0.02em;
}
.display { font-size: var(--step-4); line-height: 1.04; max-width: 17ch; text-wrap: balance; }
.h2 { font-size: var(--step-3); color: var(--verde); text-wrap: balance; }
.h3 { font-size: var(--step-1); font-weight: 750; font-stretch: 105%; }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 46ch; }
.section-intro { color: var(--musgo); max-width: 52ch; margin-top: .75rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 750; font-size: 1rem; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-lima { background: var(--lima); color: var(--hueso); }
.btn-lima:hover { background: #d6e84a; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--blanco); }
.btn-ghost:hover { border-color: var(--blanco); background: rgba(255,255,255,.08); }
.btn-verde { background: var(--verde); color: var(--blanco); }
.btn-verde:hover { background: #0c5838; }

/* Encabezado */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--escarcha);
  color: var(--tinta);
  border-bottom: 1px solid var(--linea);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand img { width: 50px; height: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem .9rem; border-radius: 999px;
  color: var(--tinta); text-decoration: none; font: inherit; font-weight: 600;
  background: none; border: 0; cursor: pointer;
}
.nav-list > li > a:hover, .sub-toggle:hover { background: rgba(15,107,69,.08); color: var(--verde); }
.nav-cta { margin-left: .75rem; }
.nav-list > li.nav-cta > a { color: var(--blanco); background: var(--verde); padding: .6rem 1.2rem; }
.nav-list > li.nav-cta > a:hover { background: #0c5838; color: var(--blanco); }
.sub-toggle::after {
  content: ""; width: .45em; height: .45em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.sub-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + .5rem); left: 0; min-width: 240px;
  background: var(--blanco); color: var(--tinta);
  border-radius: 14px; padding: .5rem;
  box-shadow: 0 18px 40px rgba(10, 53, 36, .22);
  display: none;
}
.sub-toggle[aria-expanded="true"] + .sub { display: block; }
.sub a { display: block; padding: .55rem .8rem; border-radius: 8px; text-decoration: none; }
.sub a:hover { background: var(--escarcha); color: var(--verde); }
.menu-toggle { display: none; }

/* Hero: carrusel. La foto ocupa la derecha y se funde hacia el verde, donde vive el texto */
.hero { position: relative; background: var(--verde-hondo); color: var(--blanco); overflow: hidden; }
.hero-slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: min(680px, calc(100svh - 76px));
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }
.slide-copy {
  position: relative; z-index: 1;
  display: grid; gap: 1.5rem; align-content: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) 9rem;
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.slide-copy .display { font-size: clamp(2rem, 1.1rem + 2.1vw, 3.1rem); max-width: 16ch; overflow-wrap: break-word; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.slide-media {
  position: absolute; inset: 0 0 0 34%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 22%, #000 52%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 22%, #000 52%);
}
.slide-copy .display, .slide-copy .lead { text-shadow: 0 1px 18px rgba(10, 53, 36, .55); }
.slide-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
}
@media (prefers-reduced-motion: no-preference) {
  .slide-media img { transform: scale(1.06); transition: transform 7.5s ease-out; }
  .slide.is-active .slide-media img { transform: scale(1); }
}

.hero-controls {
  position: absolute; bottom: calc(2.25rem + 40px); z-index: 2;
  left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; align-items: center; gap: .5rem;
}
.ctrl {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4);
  background: transparent; color: var(--blanco); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.ctrl:hover { border-color: var(--blanco); background: rgba(255,255,255,.08); }
.ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ctrl .i-play { fill: currentColor; stroke-width: 1.5; }
.ctrl-pause { margin-left: .5rem; }
.ctrl-pause .i-play, .ctrl-pause[aria-pressed="true"] .i-pause { display: none; }
.ctrl-pause[aria-pressed="true"] .i-play { display: block; }
.counter { min-width: 3.5rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.progress { width: 72px; height: 3px; margin-left: .5rem; background: rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--lima); transform-origin: left; transform: scaleX(0); }
.progress.is-running span { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* A quién atendemos: fotos dentro de la forma del hueso, en ritmo escalonado */
.audiences { background: var(--blanco); padding-block: clamp(3.5rem, 7vw, 6rem); }
.audiences .h2 { max-width: 18ch; }
.aud-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.aud-list li:nth-child(2) { margin-top: clamp(0rem, 5vw, 4rem); }
.egg { aspect-ratio: 4 / 4.6; border-radius: var(--forma-hueso); overflow: hidden; margin-bottom: 1.5rem; background: var(--escarcha); }
.aud-list li:nth-child(2) .egg { transform: rotate(4deg); }
.aud-list li:nth-child(3) .egg { transform: rotate(-3deg); }
.egg img { width: 100%; height: 100%; object-fit: cover; }
.aud-list h3 { font-size: var(--step-1); font-weight: 750; color: var(--verde); margin-bottom: .4rem; }
.aud-list p { color: var(--musgo); max-width: 34ch; }

/* Maquila */
.maquila { padding-block: var(--section); background: var(--escarcha); }
.maq-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 4rem; align-items: start; }
.maq-statement {
  font-size: var(--step-2); line-height: 1.3; font-weight: 600; font-stretch: 105%;
  max-width: 30ch; text-wrap: pretty;
}
.maq-photo { margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-radius: var(--forma-hoja); overflow: hidden; aspect-ratio: 21 / 9; }
.maq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

.maq-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.maq-explain > p { max-width: 52ch; color: var(--musgo); }
.facts { display: grid; gap: 1.25rem; margin: 2rem 0 0; }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: baseline; }
.facts dt { font-style: italic; font-weight: 850; font-stretch: 115%; font-size: var(--step-1); color: var(--verde); }
.facts dd { margin: 0; color: var(--musgo); }
.maq-scope .h3 { margin-bottom: .9rem; }
.maq-scope .h3 + * { margin-bottom: 2rem; }
.scope { display: grid; gap: .9rem; }
.scope li { color: var(--musgo); padding-bottom: .9rem; border-bottom: 1px solid var(--linea); }
.scope strong { display: block; color: var(--tinta); font-weight: 750; }
.formats { color: var(--musgo); max-width: 46ch; }

/* Proceso: es una secuencia real, por eso va numerado, sobre una línea ondulada */
.process-wrap { position: relative; margin-top: clamp(3rem, 6vw, 5rem); }
.process-line { position: absolute; left: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.process-line path { fill: none; stroke: var(--verde); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.process { counter-reset: paso; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.process li { counter-increment: paso; display: grid; justify-items: center; align-content: start; text-align: center; padding: 0 .75rem; }
.process li:nth-child(even) { padding-top: 72px; }
.process li::before {
  content: counter(paso);
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 1rem;
  border-radius: var(--forma-semilla); background: var(--lima); color: var(--hueso);
  font-weight: 850; font-style: italic; font-size: 1.15rem;
  box-shadow: 0 0 0 8px var(--escarcha);
}
.process h3 { font-size: 1.05rem; font-weight: 750; margin-bottom: .35rem; }
.process p { font-size: .95rem; color: var(--musgo); max-width: 22ch; }

.maq-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.maq-cta p { font-size: var(--step-1); font-weight: 600; }

/* Productos */
.productos { padding-block: var(--section); background: var(--blanco); }
.tabs {
  display: flex; gap: .5rem; margin-top: 2rem;
  overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  flex: none; min-height: 44px; padding: .55rem 1.15rem;
  border-radius: 999px; border: 1.5px solid var(--linea);
  background: var(--blanco); color: var(--tinta);
  font: inherit; font-weight: 650; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.tabs [role="tab"]:hover { border-color: var(--verde); }
.tabs [role="tab"][aria-selected="true"] { background: var(--verde); border-color: var(--verde); color: var(--blanco); }

.panel {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem 4rem; align-items: center;
  margin-top: 2rem; padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--escarcha); border-radius: 48px 160px 48px 160px / 48px 120px 48px 120px;
  min-height: 460px;
}
.panel[hidden] { display: none; }
.panel-copy { display: grid; gap: 1rem; align-content: start; }
.panel-copy p { color: var(--musgo); max-width: 44ch; }
.panel-copy .panel-nota { color: var(--verde-hondo); font-weight: 650; }
.panel-cta { justify-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.chips li { padding: .35rem .85rem; border-radius: 999px; background: var(--blanco); border: 1px solid var(--linea); font-size: var(--step--1); font-weight: 600; }

.shelf { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 0; }
.shelf::before { content: ""; position: absolute; inset: 14% 4% 2%; background: var(--lima-suave); border-radius: var(--forma-semilla); }
.shelf img { position: relative; }
.shelf img { filter: drop-shadow(0 14px 18px rgba(10,53,36,.2)); }
.shelf img:nth-child(2) { transform: translateY(-6%); }
.shelf-one { grid-template-columns: 1fr; justify-items: center; }
.shelf-one img { width: min(260px, 70%); transform: none; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 1rem;
  overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x mandatory;
  scrollbar-color: var(--verde) transparent;
}
.rail figure { margin: 0; scroll-snap-align: start; text-align: center; }
.rail img { filter: drop-shadow(0 10px 12px rgba(10,53,36,.18)); }
.rail figcaption { margin-top: .5rem; font-size: var(--step--1); font-weight: 650; }

.panel-photo { margin: 0; }
.panel-photo img { width: 100%; height: auto; }

/* Mercados */
.mercados { padding-block: var(--section); background: var(--verde-hondo); color: var(--blanco); }
.mercados .h2 { color: var(--blanco); }
.mercados .section-intro { color: rgba(255,255,255,.75); }
/* Mapa: tierra con proyección Natural Earth (curva, orgánica) y rutas que se dibujan al aparecer */
.mapa { margin: clamp(1.5rem, 4vw, 3rem) 0 0; overflow: hidden; }
.mapa svg { display: block; width: 100%; height: auto; overflow: visible; }
.rutas path { fill: none; stroke: var(--lima); stroke-width: 2.5; stroke-dasharray: .1 9; stroke-linecap: round; }
.draw { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mapa.is-visible .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.45,.05,.25,1); }
.mapa.is-visible #m-eu .draw { transition-delay: .25s; }
.mapa.is-visible #m-as .draw { transition-delay: .5s; transition-duration: 2s; }
.destino circle { fill: var(--lima); }
.destino .halo { fill: rgba(198, 217, 46, .25); }
.destino text { fill: var(--blanco); font: italic 850 22px var(--font); font-stretch: 115%; }
.origen circle { fill: var(--lima); stroke: var(--verde-hondo); stroke-width: 3; }
.origen .pulso { fill: none; stroke: var(--lima); stroke-width: 2; transform-origin: 243px 192px; }
.origen .flecha { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.origen .nota { fill: var(--blanco); font: 600 30px var(--font-mano); }
@media (prefers-reduced-motion: no-preference) {
  .mapa.is-visible .pulso { animation: pulso 2.4s ease-out 1.2s 3; }
}
@keyframes pulso { from { transform: scale(1); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }

.markets { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid rgba(255,255,255,.2); }
.markets li { padding: 2rem 2rem 0 0; }
.markets li + li { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.2); }
.markets h3 { font-style: italic; font-weight: 850; font-stretch: 115%; font-size: var(--step-2); color: var(--lima); margin-bottom: .5rem; }
.markets p { color: rgba(255,255,255,.75); }

/* Certificaciones */
.certs { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--escarcha); }
.certs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem 4rem; align-items: center; }
.certs-grid p { color: var(--musgo); margin-top: .75rem; max-width: 40ch; }
.cert-estado {
  display: inline-block; margin-top: 1.25rem; padding: .4rem .9rem; border-radius: 999px;
  background: var(--lima-suave); color: var(--verde-hondo); font-weight: 750; font-size: 1.15rem;
  padding: .6rem 1.25rem;
}
.seals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.seals li { display: grid; justify-items: center; gap: .6rem; text-align: center; }
.seals img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 12%;
  background: var(--blanco); border-radius: var(--forma-semilla);
  filter: grayscale(1); opacity: .75;
}
.seals span { font-size: var(--step--1); font-weight: 700; color: var(--musgo); }

/* Contacto */
.contacto { padding-block: var(--section); background: var(--escarcha); }
.contacto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem 4rem; }
.contacto-copy p { color: var(--musgo); margin: .75rem 0 2rem; max-width: 40ch; }
address { font-style: normal; line-height: 1.8; }
address a { color: var(--verde); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wa { display: inline-flex; align-items: center; gap: .45rem; }
.wa svg { width: 1.15em; height: 1.15em; fill: #1FA855; flex: none; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--blanco); border-radius: 32px 96px 32px 96px / 32px 72px 32px 72px;
  border: 1px solid var(--linea);
}
.field { display: grid; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: var(--step--1); }
.opt { color: var(--musgo); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--tinta);
  padding: .75rem .9rem; border-radius: 12px;
  border: 1.5px solid var(--linea); background: var(--escarcha);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verde); background: var(--blanco); box-shadow: 0 0 0 3px rgba(15, 107, 69, .25); }
.field ::placeholder { color: var(--musgo); opacity: 1; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form-note { font-size: var(--step--1); color: var(--musgo); }
.form-status { padding: .9rem 1rem; border-radius: 14px; font-weight: 600; }
.form-status.is-ok { background: var(--lima-suave); color: var(--verde-hondo); }
.form-status.is-error { background: #FBE7E4; color: #8A1F12; }
.form-status a { color: inherit; font-weight: 750; }
.form .btn { justify-self: start; }

/* Pie */
.site-footer { background: var(--blanco); color: var(--musgo); font-size: var(--step--1); border-top: 1px solid var(--linea); }
.footer-inner { display: flex; align-items: center; gap: 1rem; padding-block: 1.5rem; }

/* Tablet */
@media (max-width: 1000px) {
  .panel { grid-template-columns: 1fr; }
  .seals { grid-template-columns: repeat(6, minmax(0, 110px)); }
  .certs-grid { grid-template-columns: 1fr; }
}

/* Móvil */
@media (max-width: 860px) {
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; color: var(--tinta); cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s;
  }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -7px; }
  .menu-toggle-bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--escarcha); padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--linea);
    display: none; max-height: calc(100svh - 76px); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: .9rem .25rem; border-radius: 0; border-bottom: 1px solid var(--linea); }
  .sub { position: static; box-shadow: none; background: transparent; padding: 0 0 .5rem .75rem; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-list > li.nav-cta > a { justify-content: center; border-radius: 999px; border: 0; }

  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-media {
    position: relative; inset: auto; order: -1; aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .slide-copy { align-content: start; margin-top: -3.5rem; padding: 0 var(--gutter) 6.5rem; }
  .slide-copy { padding-bottom: 8rem; }
  .hero-controls { bottom: calc(1.5rem + 28px); }
  .progress { width: 40px; }
  .tabs { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 2rem; }
  .maq-photo { aspect-ratio: 4 / 3; }
  .process-line { display: none; }
  .process { grid-template-columns: 1fr; gap: 1.75rem; border-left: 2px dashed var(--linea); margin-left: 23px; padding-left: 0; }
  .process li, .process li:nth-child(even) {
    grid-template-columns: 48px 1fr; column-gap: 1rem; justify-items: start; text-align: left;
    padding: 0; margin-left: -25px;
  }
  .process li::before { grid-row: span 2; margin: 0; }
  .process p { max-width: none; }
  .mapa svg { width: 130%; margin-left: -21%; }
  .maq-photo { border-radius: 28px 120px 28px 120px / 28px 90px 28px 90px; }
  .origen .nota { font-size: 40px; transform: translate(150px, -42px); }
  .origen .flecha { display: none; }
  .destino text { font-size: 30px; }
  .aud-list, .markets { grid-template-columns: 1fr; }
  .aud-list li:nth-child(2) { margin-top: 0; }
  .egg { width: min(78%, 320px); }
  .aud-list li:nth-child(even) .egg { margin-left: auto; }
  .markets li, .markets li + li { padding: 1.5rem 0; border-left: 0; }
  .markets li + li { border-top: 1px solid rgba(255,255,255,.2); }
  .maq-head, .maq-body, .contacto-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
  .seals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form { grid-template-columns: 1fr; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Capa orgánica: olas entre secciones, patrón de frutas a línea y botón de WhatsApp */
.wave-top { position: relative; }
.wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  height: clamp(22px, 3.5vw, 52px);
  background: inherit; pointer-events: none;
  -webkit-mask: url(img/ola.svg) center bottom / 100% 100% no-repeat;
          mask: url(img/ola.svg) center bottom / 100% 100% no-repeat;
}
.productos.wave-top::before, .certs.wave-top::before { transform: scaleX(-1); }

.patterned { position: relative; isolation: isolate; }
.patterned::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--verde); opacity: .05;
  -webkit-mask: url(img/patron-frutas.svg) 0 0 / 340px 340px repeat;
          mask: url(img/patron-frutas.svg) 0 0 / 340px 340px repeat;
}

.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 60;
  display: flex; align-items: center; gap: .6rem;
  height: 58px; padding: 0 16px; border-radius: 999px;
  background: #127A3F; color: var(--blanco); text-decoration: none; font-weight: 750;
  box-shadow: 0 10px 28px rgba(10, 53, 36, .32);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; margin-left: -.6rem; transition: max-width .3s ease, margin .3s ease; }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 8rem; margin-left: 0; }
.wa-float:hover { background: #0E6634; }

/* Lima de acento: el verde oscuro se queda en el inicio y el mapa; el lima toma las secciones intermedias */
.audiences { background: var(--lima); }
.audiences .h2,
.aud-list h3 { color: var(--verde-hondo); }
.aud-list p { color: rgba(10, 53, 36, .85); }
.panel { background: var(--lima-suave); }
.panel-copy p { color: rgba(10, 53, 36, .85); }
.shelf::before { background: var(--lima); }
.contacto { background: var(--lima); }
.contacto .h2,
address a { color: var(--verde-hondo); }
.contacto-copy p,
address { color: rgba(10, 53, 36, .88); }
.contacto .btn-lima { background: var(--verde-hondo); color: var(--lima); }
.contacto .wa svg { fill: var(--verde-hondo); }
