/* Xeax Alimentos · prototipo de home
   Diagramación corporativa tradicional, alineada al brief estratégico y a los comentarios del cliente (oct 2026):
   logo oficial sin alterar, slogan literal, alimentos y servicios agroindustriales separados.
   VERSIÓN CÁLIDA: paleta inspirada en la propuesta de Xeax (verde bosque, crema y dorado) sobre la misma estructura.
   El verde del logo queda para detalles; el dorado marca el botón principal y la franja de llamado.
   Holly Mass usa su propia identidad, según su manual 2026. Colores y tipografías XEAX provisionales hasta su manual. */

:root {
  --paper: #FBFAF6;        /* blanco cálido */
  --alt: #F2EFE4;          /* crema */
  --ink: #18372E;          /* tinta verde profunda */
  --text: #33463F;
  --muted: #5C6B62;
  --line: #DDD8C9;
  --brand: #00BF8E;        /* verde del logo: solo detalles */
  --brand-deep: #153D31;   /* verde bosque: botones y enlaces */
  --brand-deeper: #0F2E26;
  --sage: #677F7A;
  --slate: #153D31;        /* franjas oscuras en verde bosque */
  --slate-deep: #0F2E26;
  --gold: #D8BB6F;         /* dorado: botón principal y franja de llamado */
  --gold-light: #E1C77E;
  --kicker: #2C6B53;
  --frame: #D6D0BE;

  /* Holly Mass · manual de identidad 2026 */
  --hm-crema: #F5ECDA;
  --hm-azul: #0A3854;
  --hm-amarillo: #FDB913;
  --hm-carmesi: #C0154F;

  --font: "Montserrat", system-ui, sans-serif;
  --font-head: "Poppins", "Montserrat", system-ui, sans-serif;
  --font-hm: "Yeseva One", Georgia, serif;
  --font-accent: "Lora", Georgia, serif;
  --container: 1200px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-head); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
/* palabra en cursiva serif dentro de los títulos, como en la propuesta de Xeax */
h1 em, h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }
:target { scroll-margin-top: 90px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--ink); color: #fff; padding: 0.6rem 1rem; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.center { text-align: center; margin-top: 3rem; }

/* ícono de WhatsApp junto a cada enlace de WhatsApp */
a.wa, a.mail { display: inline-flex; align-items: center; gap: 0.4em; min-width: 0; }
.wa-icon, .mail-icon { width: 1.1em; height: 1.1em; flex: none; }
.btn .wa-icon { width: 1.2em; height: 1.2em; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0 1.4rem; border-radius: var(--radius); border: 2px solid transparent; font-family: var(--font-head); font-weight: 500; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 1.8rem; font-size: 16.5px; }
.btn-sm { min-height: 38px; padding: 0 1rem; font-size: 14.5px; }
.btn-primary { background: var(--brand-deep); color: #fff; }
.btn-primary:hover { background: var(--brand-deeper); }
.btn-outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn-outline:hover { background: var(--slate); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--alt); }

/* barra superior */
.topbar { background: var(--slate-deep); color: #E4EADF; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.topbar-inner > p:first-child { display: flex; align-items: center; flex-wrap: wrap; line-height: 1.2; }
.topbar .sep { margin: 0 0.9rem; opacity: 0.5; }
.topbar .social { display: flex; gap: 0.35rem; }
/* redes como íconos oficiales, con área de toque cómoda */
.social a, .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; transition: background-color 180ms ease, color 180ms ease; }
.so-icon { width: 18px; height: 18px; flex: none; }
.topbar .social a:hover { background: rgba(255, 255, 255, 0.14); text-decoration: none; }

/* encabezado blanco con el logo oficial a color */
.header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid var(--line); transition: box-shadow 200ms ease; }
.header.is-scrolled { box-shadow: 0 4px 18px rgba(30, 37, 35, 0.08); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 80px; }
.brand { display: block; }
.brand img { width: 150px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; font-family: var(--font-head); font-weight: 500; font-size: 15.5px; }
.nav a { text-decoration: none; color: var(--ink); padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: border-color 180ms ease, color 180ms ease; }
.nav a:hover { border-bottom-color: var(--gold); }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--line); border-radius: var(--radius); padding: 0.45rem 0.9rem; font: inherit; font-family: var(--font-head); font-weight: 500; color: var(--ink); cursor: pointer; }

/* banner */
.hero { position: relative; min-height: min(80vh, 740px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--slate-deep); }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1400ms ease; }
.hero-slides img.is-on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 46, 38, 0.9) 0%, rgba(15, 46, 38, 0.68) 50%, rgba(15, 46, 38, 0.25) 100%); }
.hero-content { position: relative; z-index: 1; padding: 88px 0; }
.hero-slogan { font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--gold-light); }
.hero .btn-primary { background: var(--gold); color: var(--ink); }
.hero .btn-primary:hover { background: #E4CB86; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); max-width: 21ch; }
/* ubicación dentro del H1, en una línea más chica */
.h1-lugar { display: block; margin-top: 0.7rem; font-family: var(--font); font-size: 0.4em; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3; color: #E4EADF; }
.hero-content > p:not(.hero-slogan) { margin-top: 1.2rem; font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem); max-width: 46ch; color: #fff; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* datos */
.highlights { background: var(--alt); }
.highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.highlights-grid > div { padding: 1.7rem 1.5rem; display: grid; gap: 0.25rem; }
.highlights-grid > div + div { border-left: 1px solid var(--line); }
.highlights strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.highlights span { color: var(--muted); font-size: 15px; }

/* secciones */
.section { padding: 104px 0; }
.section-alt { background: var(--alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-head p:not(.kicker) { margin-top: 0.9rem; color: var(--muted); }
.kicker { color: var(--kicker); font-weight: 600; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.7rem; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); }

/* dos columnas */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4.5rem; align-items: center; }
.two-col-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.two-col-text > p:not(.kicker) { margin-top: 1rem; }
.vision { padding-left: 1rem; border-left: 3px solid var(--gold); color: var(--ink); }
.checks { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.5rem; }
.checks li { position: relative; padding-left: 1.3rem; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--gold); }

/* Holly Mass · identidad propia (manual 2026): crema de base, azul marino de estructura, color vivo como señal */
.hm { background: var(--hm-crema); color: var(--hm-azul); }
.hm-cinta { background: var(--hm-azul); color: var(--hm-crema); overflow: hidden; white-space: nowrap; padding: 13px 0; font-size: 13px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; line-height: 1; }
.hm-cinta-track { display: inline-flex; animation: hm-cinta 48s linear infinite; }
@keyframes hm-cinta { to { transform: translateX(-50%); } }
.hm-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4.5rem; align-items: center; padding: 96px 0 104px; }
.hm-media img { width: 100%; aspect-ratio: 1100 / 785; object-fit: cover; border-radius: 18px; }
.hm-logo { width: 190px; }
.hm-kicker { margin-top: 1.4rem; color: var(--hm-carmesi); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.hm h2 { margin-top: 0.5rem; font-family: var(--font-hm); font-weight: 400; color: var(--hm-azul); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: 0; line-height: 1.1; }
.hm-body > p:not(.hm-kicker):not(.hm-presentaciones) { margin-top: 1rem; max-width: 44ch; color: var(--hm-azul); }
/* llamado de la marca en tres tiempos, como texto (no como botones) */
.hm-lema { margin-top: 1.5rem; font-family: var(--font-hm); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.3; color: var(--hm-azul); }
.hm-lema span { white-space: nowrap; }
.hm-lema em { font-style: normal; color: var(--hm-carmesi); }
.hm-presentaciones { margin-top: 1.6rem; font-weight: 600; color: var(--hm-azul); }
.hm-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.hm .btn { border-radius: 999px; font-family: var(--font); font-weight: 600; }
.hm-btn { background: var(--hm-azul); color: #fff; }
.hm-btn:hover { background: #0E4A6E; }
.hm-btn-outline { border-color: var(--hm-azul); color: var(--hm-azul); background: transparent; }
.hm-btn-outline:hover { background: var(--hm-azul); color: var(--hm-crema); }
.ig-icon { width: 1.25em; height: 1.25em; flex: none; }

/* plantas */
.plant { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; padding: 2.5rem 0; }
.plant + .plant { border-top: 1px solid var(--line); }
.plant-head { display: grid; gap: 1.2rem; }
.plant-head img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.plant-head h3 { font-size: 1.55rem; }
.plant-head p { margin-top: 0.5rem; color: var(--muted); }
.plant-services { list-style: none; padding: 0; display: grid; gap: 0; }
.plant-services li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.plant-services li:first-child { padding-top: 0; }
.plant-services h4 { font-size: 1.15rem; }
.plant-services p { margin-top: 0.35rem; color: var(--muted); }
.plant-services li.plant-financing { margin-top: 1.4rem; padding: 1.4rem 1.5rem; border-bottom: 0; border-left: 3px solid var(--gold); background: var(--alt); border-radius: 0 var(--radius) var(--radius) 0; }
.plant-financing .card-link { display: inline-block; margin-top: 0.7rem; }

/* semilla ASP-18 destacada */
.seed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.seed img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 856 / 532; }
.seed-body { padding: clamp(1.8rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; }
.seed .kicker { margin-bottom: 0; }
.seed h3 { font-size: 1.7rem; }
.seed-body > p:not(.kicker) { color: var(--muted); }
.seed-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.5rem; margin: 0.6rem 0 0.4rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seed-data dt { font-size: 13.5px; color: var(--muted); }
.seed-data dd { font-weight: 600; color: var(--ink); }
.seed-actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-top: 0.6rem; }

/* tarjetas de producto */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 200ms var(--ease); }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); flex: 1; }
.card-link { color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* marco de fotos: borde blanco con una línea gris fina (banner, logos y Holly Mass van sin marco) */
.two-col-media img, .plant-head img, .contact-info img { padding: 8px; background: #fff; border: 1px solid var(--frame); border-radius: 6px; }
.card img { width: calc(100% - 20px); margin: 10px 10px 0; padding: 5px; background: #fff; border: 1px solid var(--frame); border-radius: 6px; }
.seed img { width: calc(100% - 20px); height: calc(100% - 20px); margin: 10px; padding: 6px; background: #fff; border: 1px solid var(--frame); border-radius: 6px; }

/* cadena de valor: cinco pasos que enlazan con cada área */
.cadena { background: var(--alt); padding: 88px 0; }
.cadena-head { max-width: 640px; margin-bottom: 2.6rem; }
.cadena-head p:not(.kicker) { margin-top: 0.8rem; color: var(--muted); }
.cadena-pasos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cadena-pasos a { display: grid; gap: 0.45rem; align-content: start; height: 100%; padding: 1.3rem 1.2rem 1.4rem; background: #fff; border-top: 3px solid var(--slate); border-radius: 0 0 6px 6px; text-decoration: none; color: var(--text); transition: border-color 180ms ease, transform 200ms var(--ease); }
.cadena-pasos a:hover { border-top-color: var(--gold); transform: translateY(-3px); }
.cadena-num { font-family: var(--font-accent); font-style: italic; font-size: 1.5rem; line-height: 1; color: #8C6A1C; }
.cadena-pasos strong { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.cadena-pasos span:last-child { font-size: 15px; color: var(--muted); }

/* subtítulo de comercialización dentro de Productos */
.sub-head { margin: 3rem 0 1.5rem; display: grid; gap: 0.35rem; }
.sub-head h3 { font-size: 1.4rem; }
.sub-head p { color: var(--muted); }

/* frases de apoyo en cada planta */
.plant-head .card-link { display: inline-block; margin-top: 0.8rem; }

/* preguntas frecuentes */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: #8C6A1C; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--text); max-width: 70ch; }
.faq details a { color: var(--brand-deep); font-weight: 600; }

/* frase de Carol en Nosotros */
.manifiesto { margin-top: 1.3rem; font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.45; color: var(--ink); }

/* lo que necesitamos para atenderte, en cada planta */
.pide-titulo { margin-top: 1rem; font-weight: 600; color: var(--ink); font-size: 15px; }
.pide { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.3rem; font-size: 15px; color: var(--text); }
.pide li { position: relative; padding-left: 1.2rem; }
.pide li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold); }

/* calidad: cuatro pasos al cierre de Nuestras plantas */
.calidad { margin-top: 3rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.calidad h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); margin-bottom: 1.4rem; }
.calidad h3 em { font-family: var(--font-accent); font-style: italic; font-weight: 500; }
.calidad-pasos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.calidad-pasos li { display: grid; gap: 0.45rem; align-content: start; padding: 1.3rem 1.2rem; background: var(--alt); border-radius: 6px; }
.calidad-pasos strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.calidad-pasos span:last-child { font-size: 14.5px; color: var(--muted); }

/* financiamiento: sección propia en verde bosque, con el botón dorado */
.financ { background: var(--slate); color: #E4EADF; padding: 96px 0; }
.financ-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.financ .kicker { color: var(--gold-light); }
.financ h2 { color: #fff; }
.financ h2 em { color: var(--gold-light); }
.financ-texto > p:not(.kicker) { margin-top: 1rem; max-width: 46ch; }
.financ-nota { font-size: 14px; color: #C9D4CC; }
.financ-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }
.financ .btn-primary { background: var(--gold); color: var(--ink); }
.financ .btn-primary:hover { background: #E4CB86; }
.financ .card-link { color: #fff; }
.financ-pasos { list-style: none; padding: 0; display: grid; gap: 12px; }
.financ-pasos li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0.2rem; padding: 1.1rem 1.3rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; }
.financ-pasos .cadena-num { grid-row: span 2; color: var(--gold-light); }
.financ-pasos strong { font-family: var(--font-head); font-weight: 600; color: #fff; }
.financ-pasos span:last-child { font-size: 14.5px; color: #C9D4CC; }

/* formulario: dos formas de envío */
.form-envio { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.form .form-envio .btn { justify-self: auto; }
.form-nota { font-size: 14px; color: var(--muted); }

/* clientes */
.logos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.logos li { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 1rem; aspect-ratio: 2 / 1; }
.logos img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 200ms ease, opacity 200ms ease; }
.logos li:hover img { filter: none; opacity: 1; }

/* franja */
.cta-band { background: var(--gold); color: var(--ink); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 60px 0; }
.cta-band h2 { color: var(--ink); font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.1rem); }
.cta-band p { margin-top: 0.4rem; color: var(--ink); }
.cta-band .btn-light { background: var(--slate); color: #fff; }
.cta-band .btn-light:hover { background: var(--slate-deep); }
.cta-band .btn-outline-light { border-color: var(--ink); color: var(--ink); }
.cta-band .btn-outline-light:hover { background: var(--ink); color: #fff; }
.cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* formularios */
.form { margin-top: 2rem; display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 500; color: var(--ink); font-size: 15px; }
.form input:not([type="checkbox"]), .form select, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #C9CFCD; border-radius: var(--radius); padding: 0.75rem 0.9rem; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-deep); box-shadow: 0 0 0 3px rgba(216, 187, 111, 0.4); }
.form .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; color: var(--text); }
.form .consent input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--brand-deep); flex: none; }
.form .consent a { color: var(--brand-deep); }
.form .btn { justify-self: start; }

/* contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.contact-grid > div > p:not(.kicker) { margin-top: 0.8rem; color: var(--muted); }
.contact-info { background: var(--alt); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.2rem; }
.contact-info h3 { font-size: 1.25rem; }
.contact-info dt { font-weight: 600; color: var(--ink); margin-top: 0.7rem; }
.contact-info dd { overflow-wrap: anywhere; }
.contact-info dd a { color: var(--brand-deep); }
.contact-info a.mail { align-items: flex-start; }
.contact-info .mail-icon { margin-top: 0.3em; }
.contact-info img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
/* mapa de Google con el mismo marco de las fotos */
.mapa iframe { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 8px; background: #fff; border: 1px solid var(--frame); border-radius: 6px; }
.mapa figcaption { margin-top: 0.6rem; font-size: 15px; }
/* foto real de la planta en lugar del mapa, hasta que el visitante lo pida */
.mapa-ph { position: relative; display: block; width: 100%; padding: 8px; background: #fff; border: 1px solid var(--frame); border-radius: 6px; cursor: pointer; font: inherit; }
.mapa-ph img { padding: 0; border: 0; border-radius: 3px; aspect-ratio: 4 / 3; }
.mapa-ph span { position: absolute; left: 20px; bottom: 20px; padding: 0.55rem 0.9rem; border-radius: 4px; background: rgba(15, 46, 38, 0.88); color: #fff; font-weight: 600; font-size: 14.5px; transition: background-color 180ms ease, color 180ms ease; }
.mapa-ph:hover span, .mapa-ph:focus-visible span { background: var(--gold); color: var(--ink); }

/* botón fijo de WhatsApp en tableta y teléfono; se oculta mientras el aviso de cookies está abierto */
.wa-flotante { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 65; width: 56px; height: 56px; border-radius: 50%; background: #128C7E; color: #fff; place-items: center; box-shadow: 0 6px 18px rgba(15, 46, 38, 0.3); transition: transform 160ms var(--ease); }
.wa-flotante:active { transform: scale(0.95); }
.wa-flotante svg { width: 28px; height: 28px; }
.mapa a { color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.mapa a:hover { text-decoration: underline; }

/* pie */
.footer { background: var(--slate-deep); color: #DCE5D8; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; padding: 64px 0 48px; }
.footer-brand img { width: 140px; margin-bottom: 1rem; }
.footer-brand p { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; max-width: 30ch; }
.footer h2, .footer .footer-h { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: 1rem; }
.footer nav { display: grid; gap: 0.5rem; align-content: start; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p + p { margin-top: 0.5rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 0.9rem !important; }
.footer-social a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.08); }
.footer-social a:hover { background: rgba(255, 255, 255, 0.18); color: #fff; text-decoration: none; }
.footer-social .so-icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 18px 0; font-size: 14px; }

/* aviso de cookies */
.cookies { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 70; max-width: 560px; margin-left: auto; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(30, 37, 35, 0.18); padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; font-size: 14px; }
.cookies[hidden] { display: none; }
.cookies a { color: var(--brand-deep); }
.cookies > div { display: flex; gap: 0.5rem; flex: none; }

/* entradas suaves (el contenido queda visible sin JavaScript) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides img { transition: none; }
  .hm-cinta-track { animation: none; }
}

/* laptops chicas: el menú de seis enlaces cabe en una línea */
.nav a { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1280px) {
  .header-inner { gap: 1.4rem; }
  .nav { gap: 1rem; font-size: 14px; }
  .header-cta { padding: 0 1.1rem; font-size: 14.5px; }
}

/* tablet */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .wa-flotante { display: grid; }
  .cookies:not([hidden]) ~ .wa-flotante { display: none; }
  .nav.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 20px 1rem; box-shadow: 0 10px 20px rgba(30, 37, 35, 0.08); }
  .nav.is-open a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cadena-pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calidad-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .two-col, .contact-grid, .plant, .hm-grid { gap: 2.5rem; }
}

/* tablet vertical */
@media (max-width: 920px) {
  .two-col, .contact-grid, .plant, .seed, .hm-grid, .financ-grid { grid-template-columns: 1fr; }
  .financ-grid { gap: 2.4rem; }
  .two-col-media img { aspect-ratio: 16 / 9; }
  .hm-grid { padding: 72px 0 80px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* teléfono */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .topbar-inner { justify-content: space-between; }
  .header-inner { min-height: 68px; }
  .brand img { width: 122px; }
  .hero { min-height: 600px; }
  .hero::after { background: rgba(15, 46, 38, 0.76); }
  .hero-content { padding: 64px 0; }
  .hero h1 { font-size: 1.7rem; }
  .h1-lugar { font-size: 0.6em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlights-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 2.2rem; }
  .checks { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .cadena { padding: 64px 0; }
  .cadena-pasos { grid-template-columns: 1fr; gap: 10px; }
  .calidad-pasos { grid-template-columns: 1fr; gap: 10px; }
  .financ { padding: 64px 0; }
  .form-envio .btn { flex: 1 1 100%; }
  .manifiesto { font-size: 1.15rem; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-grid { padding: 56px 0 64px; }
  .hm-logo { width: 160px; }
  .hm-actions .btn { flex: 1 1 100%; }
  .seed-data { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions .btn { flex: 1 1 auto; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; }
  .cookies { flex-direction: column; align-items: stretch; }
}

.nowrap { white-space: nowrap; }
