:root {
  --verde-noche: #0d2614;
  --verde-hoja: #1f4d2b;
  --lima: #b9e05c;
  --lima-suave: #e7f5c4;
  --crema: #f7f8f1;
  --tinta: #17221a;
  --gris: #5b6b5f;
  --linea: #dfe5d6;
  --radio: 14px;
  --ancho: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--crema);
  color: var(--tinta);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--verde-hoja); }
img { max-width: 100%; display: block; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }

/* Encabezado */
.encabezado {
  background: var(--verde-noche);
  position: sticky;
  top: 0;
  z-index: 10;
}
.encabezado .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
  flex-wrap: wrap;
}
.marca {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--lima);
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1;
}
.menu { display: flex; gap: 6px; flex-wrap: wrap; }
.menu a {
  color: #d9e8cf;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.menu a:hover, .menu a[aria-current="page"] { background: var(--verde-hoja); color: #fff; }

/* Portada */
.portada {
  background:
    linear-gradient(90deg, rgba(13, 38, 20, .96) 0%, rgba(13, 38, 20, .82) 42%, rgba(13, 38, 20, .25) 100%),
    url("/assets/img/cosecha-manos.webp") center 40% / cover no-repeat,
    var(--verde-noche);
  color: #eaf3e2;
  padding: 104px 0 120px;
  position: relative;
  overflow: hidden;
}
.portada h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  color: var(--lima);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.portada p.lema { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 560px; margin-top: 20px; color: #d3e4c8; }
.portada .acciones { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hoja-fondo { position: absolute; right: -60px; bottom: -40px; width: 380px; opacity: .16; pointer-events: none; }

.boton {
  display: inline-block;
  background: var(--lima);
  color: var(--verde-noche);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
}
.boton.secundario { background: transparent; color: var(--lima); border: 1.5px solid var(--lima); }

/* Secciones */
.seccion { padding: 64px 0; }
.seccion.alterna { background: #fff; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.seccion h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  color: var(--verde-noche);
  margin-bottom: 14px;
  line-height: 1.2;
}
.seccion p + p { margin-top: 12px; }
.intro { max-width: 720px; color: var(--gris); font-size: 1.05rem; }

.rejilla { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.tarjeta {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 24px;
}
.seccion.alterna .tarjeta { background: var(--crema); }
.tarjeta h3 { font-size: 1.08rem; color: var(--verde-noche); margin-bottom: 6px; }
.tarjeta p { color: var(--gris); font-size: .97rem; }
.icono {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--lima-suave); color: var(--verde-hoja);
  display: grid; place-items: center; margin-bottom: 14px;
}
.icono svg { width: 22px; height: 22px; }

.producto {
  display: grid; gap: 28px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  margin-top: 28px;
}
.producto .visual {
  background: var(--verde-noche);
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
}
.producto .visual svg { width: 58%; }
.ficha { list-style: none; margin-top: 16px; border-top: 1px solid var(--linea); }
.ficha li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.ficha li span:first-child { color: var(--gris); }
.ficha li span:last-child { font-weight: 600; text-align: right; }

.datos { list-style: none; margin-top: 18px; }
.datos li { padding: 12px 0; border-bottom: 1px solid var(--linea); }
.datos strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }

.mapa { border: 0; width: 100%; height: 340px; border-radius: var(--radio); margin-top: 18px; }

/* Fotos */
.foto { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.galeria { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.galeria figure { margin: 0; }
.galeria .foto { aspect-ratio: 4 / 5; }
.galeria figcaption { font-size: .9rem; color: var(--gris); margin-top: 8px; }
.dos-col { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.dos-col .foto { aspect-ratio: 1 / 1; max-height: 340px; object-position: center 30%; }
.banda-foto { height: 360px; background: center / cover no-repeat; }
.producto .visual { overflow: hidden; background: none; aspect-ratio: auto; }
.producto .visual .foto { aspect-ratio: 1 / 1; max-height: 320px; object-position: center 40%; }
.producto .visual .foto { border-radius: 20px; }
.cabecera-pagina.con-foto {
  background:
    linear-gradient(90deg, rgba(13, 38, 20, .95) 0%, rgba(13, 38, 20, .7) 55%, rgba(13, 38, 20, .35) 100%),
    var(--fondo) center / cover no-repeat;
  padding: 80px 0;
}

/* Páginas legales */
.legal { max-width: 760px; }
.legal h1 { font-family: "Fraunces", Georgia, serif; color: var(--verde-noche); font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.15; }
.legal .fecha { color: var(--gris); margin: 8px 0 28px; font-size: .95rem; }
.legal h2 { font-size: 1.15rem; color: var(--verde-noche); margin: 28px 0 8px; font-family: inherit; }
.legal ul { margin: 8px 0 8px 22px; }
.legal li { margin: 4px 0; }

.cabecera-pagina { background: var(--verde-noche); color: #d3e4c8; padding: 48px 0; }
.cabecera-pagina h1 { font-family: "Fraunces", Georgia, serif; color: var(--lima); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }
.cabecera-pagina p { margin-top: 10px; max-width: 620px; }

/* Pie de página */
.pie { background: var(--verde-noche); color: #b9cbb0; padding: 48px 0 28px; font-size: .93rem; }
.pie .columnas { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pie h4 { color: var(--lima); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.pie a { color: #e3efda; }
.pie .razon { color: #fff; font-weight: 600; }
.pie .copy { border-top: 1px solid #23432c; margin-top: 32px; padding-top: 18px; font-size: .85rem; }

@media (max-width: 720px) {
  .producto, .dos-col { grid-template-columns: 1fr; }
  .dos-col .foto, .producto .visual .foto { aspect-ratio: 16 / 10; max-height: 240px; }
  .galeria { grid-template-columns: 1fr; }
  .galeria .foto { aspect-ratio: 4 / 3; }
  .banda-foto { height: 220px; }
  .portada {
    background:
      linear-gradient(180deg, rgba(13, 38, 20, .9) 0%, rgba(13, 38, 20, .78) 100%),
      url("/assets/img/cosecha-manos.webp") 60% center / cover no-repeat,
      var(--verde-noche);
    padding: 72px 0 88px;
  }
  .encabezado .contenedor { padding-top: 10px; padding-bottom: 10px; }
  .menu a { padding: 6px 10px; font-size: .88rem; }
  .hoja-fondo { width: 240px; }
}
