/* =========================================================
   NUTRIPOPS — Estilos
   Colores y tipografías tomados del brandbook
   ========================================================= */

/* ---------- Fuentes ---------- */
@font-face { font-family: "Merriweather"; font-weight: 700; src: url(../fonts/merriweather-latin-700-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Merriweather"; font-weight: 900; src: url(../fonts/merriweather-latin-900-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Exo 2"; font-weight: 400; src: url(../fonts/exo-2-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Exo 2"; font-weight: 600; src: url(../fonts/exo-2-latin-600-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Exo 2"; font-weight: 800; src: url(../fonts/exo-2-latin-800-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Source Serif 4"; font-weight: 400; src: url(../fonts/source-serif-4-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; src: url(../fonts/source-serif-4-latin-400-italic.woff2) format("woff2"); font-display: swap; }

/* ---------- Variables ---------- */
:root {
  --teal: #205966;
  --teal-claro: #e3edef;
  --cafe: #3A3331;
  --crema: #F5EFE2;
  --crema-oscuro: #e9dfca;
  --coral: #C4565D;
  --rosa: #CB8592;
  --azul: #6F82A8;
  --oliva: #5E603E;
  --rojo-navidad: #B3283A;
  --dorado: #E8B634;
  --linea: #e4dccb;
  --gris: #6f6560;
  --titulo: "Merriweather", Georgia, serif;
  --texto: "Source Serif 4", Georgia, serif;
  --ui: "Exo 2", "Trebuchet MS", sans-serif;
  --ancho: 1200px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--texto); color: var(--cafe); background: #fff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3 { font-family: var(--titulo); font-weight: 900; line-height: 1.15; letter-spacing: -0.3px; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
h3 { font-size: 19px; font-weight: 700; }
p { color: var(--gris); }

.contenedor { width: min(var(--ancho), 100% - 40px); margin-inline: auto; }
.seccion { padding: 96px 0; }
.centro { text-align: center; }
.etiqueta { display: block; font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.cita { font-family: var(--texto); font-style: italic; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.45; color: var(--teal); }
.encabezado { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.enlace { font-family: var(--ui); font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 1.5px solid var(--teal); padding-bottom: 2px; }
.fondo-crema { background: var(--crema); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--teal); color: #fff; border: 1.5px solid var(--teal);
  font-family: var(--ui); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #17454f; }
.btn-borde { background: transparent; color: var(--cafe); border-color: var(--cafe); }
.btn-borde:hover { background: var(--cafe); color: #fff; }
.btn-crema { background: var(--crema); color: var(--teal); border-color: var(--crema); }
.btn-crema:hover { background: #fff; }
.btn-rojo { background: var(--rojo-navidad); border-color: var(--rojo-navidad); }
.btn-rojo:hover { background: #8f1f2e; }
.btn-blanco-borde { background: transparent; color: #fff; border-color: #fff; }
.btn-blanco-borde:hover { background: #fff; color: var(--cafe); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.ico-wa { width: 19px; height: 19px; flex: none; }

/* ---------- Barra superior ---------- */
.barra-top { background: var(--teal); color: #fff; font-family: var(--ui); font-size: 14px; text-align: center; padding: 9px 20px; }
.barra-top a { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--linea); position: sticky; top: 0; z-index: 50; }
.header .contenedor { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 60px; width: auto; }
.menu { display: flex; align-items: center; gap: 36px; }
.menu a { font-family: var(--ui); font-size: 17px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a.activo { color: var(--teal); border-color: var(--teal); }
.menu .solo-celular { display: none; }
.menu-boton { display: none; width: 44px; height: 44px; }
.menu-boton span { display: block; width: 26px; height: 2px; background: var(--cafe); margin: 6px auto; border-radius: 2px; }

/* ---------- Carrusel del hero ---------- */
.carrusel { position: relative; overflow: hidden; display: grid; }
.slide { grid-area: 1 / 1; position: relative; min-height: 620px; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.activo { opacity: 1; visibility: visible; }
.slide .contenedor { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: 620px; padding: 60px 0 80px; position: relative; z-index: 2; }
.slide .texto p { font-size: 20px; margin-top: 22px; max-width: 520px; }
.slide .botones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.flecha { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(0,0,0,.12); font-size: 26px; line-height: 1; color: var(--cafe); }
.flecha:hover { background: #fff; }
.flecha.ant { left: 20px; } .flecha.sig { right: 20px; }
.puntos { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.punto { width: 10px; height: 10px; border-radius: 6px; background: rgba(58,51,49,.3); transition: width .3s; }
.punto.activo { width: 30px; background: var(--teal); }

/* Banner 1: marca */
.banner-marca { background: var(--crema); }
.banner-marca .texto h1 span { color: var(--teal); }
.banner-marca .ventajas { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; font-family: var(--ui); font-size: 15px; color: var(--gris); }
.escena { position: relative; height: 520px; }
.escena .disco { position: absolute; left: 50%; top: 50%; width: 480px; height: 480px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--crema-oscuro); }
.escena img { position: absolute; filter: drop-shadow(0 20px 22px rgba(58,51,49,.22)); }
.escena .p1 { height: 300px; left: 2%; top: 130px; transform: rotate(-7deg); }
.escena .p2 { height: 310px; right: 0; top: 130px; transform: rotate(6deg); }
.escena .p3 { height: 420px; left: 50%; top: 40px; margin-left: -125px; animation: flotar 4s ease-in-out infinite; }
@keyframes flotar { 50% { translate: 0 -14px; } }
.sello { position: absolute; right: 4%; top: 6px; width: 128px; height: 128px; border-radius: 50%; background: var(--cafe); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--titulo); font-weight: 900; font-size: 16px; line-height: 1.15; transform: rotate(-10deg); z-index: 3; }
.sello small { display: block; font-family: var(--ui); font-weight: 400; font-size: 9px; letter-spacing: 2px; margin-top: 4px; }
.granos { position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: url(../img/marca/granos.jpg) center/cover; mix-blend-mode: multiply; opacity: .7; z-index: 1; }

/* Banner 2: Navidad */
.banner-navidad { background: var(--teal); color: #fff; }
.banner-navidad::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 12% 18%, rgba(232,182,52,.25) 0 2px, transparent 3px),
  radial-gradient(circle at 30% 80%, rgba(255,255,255,.25) 0 2px, transparent 3px),
  radial-gradient(circle at 48% 30%, rgba(255,255,255,.2) 0 1.5px, transparent 2.5px),
  radial-gradient(circle at 8% 65%, rgba(255,255,255,.2) 0 1.5px, transparent 2.5px),
  radial-gradient(circle at 42% 92%, rgba(232,182,52,.3) 0 2px, transparent 3px); }
.banner-navidad h1, .banner-navidad p { color: #fff; }
.banner-navidad .etiqueta { color: var(--dorado); }
.banner-navidad h1 em { font-style: italic; font-family: var(--texto); font-weight: 400; color: #ffd9de; }
.banner-navidad .desde { display: inline-block; margin-top: 26px; font-family: var(--ui); font-size: 15px; letter-spacing: 1px; background: var(--rojo-navidad); padding: 8px 18px; border-radius: 999px; }
.banner-navidad .desde b { font-size: 19px; }
.collage { position: relative; height: 520px; }
.collage figure { position: absolute; background: #fff; padding: 10px 10px 34px; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.collage figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--ui); font-weight: 600; font-size: 13px; color: var(--cafe); }
.collage .f1 { width: 280px; height: 314px; left: 0; top: 40px; transform: rotate(-6deg); }
.collage .f2 { width: 300px; height: 334px; left: 27%; top: 170px; transform: rotate(4deg); z-index: 2; }
.collage .f3 { width: 260px; height: 294px; right: 0; top: 10px; transform: rotate(7deg); }
.estrella { position: absolute; color: var(--dorado); font-size: 30px; z-index: 3; }

/* ---------- Valores ---------- */
.valores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.valor .icono { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.valor .icono svg { width: 38px; height: 38px; }
.valor p { font-size: 16px; margin-top: 6px; }

/* ---------- Tarjetas de producto ---------- */
.grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.grilla.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tarjeta:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(58,51,49,.1); }
.tarjeta-foto { display: block; aspect-ratio: 1 / 1; position: relative; overflow: hidden; background: var(--crema); }
.tarjeta-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tarjeta:hover .tarjeta-foto img { transform: scale(1.04); }
.sello-mini { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--teal); font-family: var(--ui); font-weight: 600; font-size: 12px; padding: 5px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.sello-mini.rojo { color: #fff; background: var(--rojo-navidad); }
.tarjeta-info { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.categoria { font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.cat-granolas { color: var(--teal); } .cat-reposteria { color: #7B5A3C; } .cat-barras { color: var(--coral); }
.cat-cereales { color: var(--azul); } .cat-granos { color: var(--oliva); }
.tarjeta h3 { margin-top: 6px; font-size: 18px; }
.tarjeta h3 a { text-decoration: none; }
.peso { font-family: var(--ui); font-size: 14px; margin-top: 2px; }
.tarjeta-pie { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.precio { font-family: var(--ui); font-weight: 800; font-size: 20px; color: var(--cafe); }

/* ---------- Sección Navidad ---------- */
.navidad { background: #fbf6f3; position: relative; overflow: hidden; }
.navidad .etiqueta { color: var(--rojo-navidad); }
.navidad h2 span { color: var(--rojo-navidad); }
.cajas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.caja { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid #f0dfd9; display: flex; flex-direction: column; }
.caja-foto { aspect-ratio: 1 / 1; position: relative; }
.caja-foto img { width: 100%; height: 100%; object-fit: cover; }
.caja-info { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.caja-info h3 { color: var(--teal); font-size: 21px; }
.caja-info .precio { color: var(--rojo-navidad); font-size: 24px; }
.caja-info p { font-size: 15.5px; flex: 1; }
.caja-info .btn { margin-top: 10px; align-self: flex-start; }
.tener-en-cuenta { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; background: #fff; border: 2px solid var(--teal); border-radius: 24px; padding: 40px 48px; }
.tener-en-cuenta ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.tener-en-cuenta li { font-family: var(--ui); font-size: 16px; padding-left: 30px; position: relative; color: var(--cafe); }
.tener-en-cuenta li::before { content: "★"; position: absolute; left: 0; color: var(--dorado); }
.aviso-licor { margin-top: 20px; font-family: var(--ui); font-size: 13px; color: var(--gris); text-align: center; }

/* ---------- Banda Nosotros ---------- */
.banda { background: var(--teal); color: #fff; }
.banda h2, .banda h3 { color: #fff; }
.banda p { color: #d6e5e8; }
.banda .etiqueta { color: #a9c9cf; }
.banda .cita { color: #fff; }
.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.foto-redonda { border-radius: 24px; overflow: hidden; }
.foto-redonda img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Ideas / recetas ---------- */
.idea .foto { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--crema); }
.idea .foto img { width: 100%; height: 100%; object-fit: cover; }
.idea .etiqueta { margin: 18px 0 6px; font-size: 12px; }
.idea p { font-size: 16px; margin-top: 8px; }

/* ---------- CTA ---------- */
.cta { background: var(--cafe); border-radius: 28px; padding: 60px 64px; display: flex; justify-content: space-between; align-items: center; gap: 30px; color: #fff; flex-wrap: wrap; }
.cta h2 { color: #fff; }
.cta p { color: #d9cfc8; margin-top: 12px; }
.cta .etiqueta { color: #e09aa0; }

/* ---------- Encabezado de página interna ---------- */
.cabecera { background: var(--crema); padding: 56px 0 64px; }
.migas { font-family: var(--ui); font-size: 14px; color: var(--gris); }
.migas a { text-decoration: none; }
.migas b { color: var(--cafe); font-weight: 600; }
.cabecera h1 { margin-top: 14px; }
.cabecera p { margin-top: 14px; max-width: 640px; font-size: 19px; }
.trama { height: 30px; background: var(--crema) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='30' viewBox='0 0 96 30'%3E%3Cpath d='M0 3h96M0 27h96' stroke='%236F82A8' stroke-width='2'/%3E%3Cpath d='M0 23 L12 8 L24 23 L36 8 L48 23 L60 8 L72 23 L84 8 L96 23' fill='none' stroke='%23205966' stroke-width='3'/%3E%3Cpath d='M6 23 L12 16 L18 23Z M30 23 L36 16 L42 23Z M54 23 L60 16 L66 23Z M78 23 L84 16 L90 23Z' fill='%236F82A8'/%3E%3C/svg%3E") repeat-x center/auto 30px; }

/* ---------- Catálogo ---------- */
.herramientas { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid #d6ccb8; background: #fff; font-family: var(--ui); font-size: 15px; transition: background .2s; }
.chip:hover { border-color: var(--cafe); }
.chip.activo { background: var(--cafe); color: #fff; border-color: var(--cafe); }
.buscador { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid #d6ccb8; min-width: 280px; }
.buscador input { border: 0; outline: 0; font-family: var(--ui); font-size: 15px; flex: 1; background: none; }
#contador { font-family: var(--ui); font-size: 14px; color: var(--gris); margin-bottom: 18px; }
.vacio { grid-column: 1 / -1; text-align: center; padding: 60px 0; font-family: var(--ui); }

/* ---------- Ficha de producto ---------- */
.ficha-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; margin-top: 28px; }
.ficha-foto { border-radius: 28px; overflow: hidden; background: var(--crema); aspect-ratio: 1 / 1; }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha h1 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 10px; }
.ficha .linea-precio { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; }
.precio-grande { font-family: var(--ui); font-weight: 800; font-size: 34px; }
.ficha .descripcion { margin-top: 20px; font-size: 18px; }
.atributos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pastilla { font-family: var(--ui); font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: var(--teal-claro); color: var(--teal); }
.recuadro { background: var(--crema); border-radius: 18px; padding: 20px 24px; margin-top: 26px; }
.recuadro p { margin-top: 6px; font-size: 16px; }
.comprar { display: flex; gap: 12px; margin-top: 28px; }
.comprar .btn { flex: 1; }
.cantidad { display: inline-flex; align-items: center; height: 52px; border: 1px solid #d6ccb8; border-radius: 999px; font-family: var(--ui); font-size: 18px; }
.cantidad button { width: 46px; height: 100%; font-size: 22px; color: var(--gris); }
.cantidad span { width: 30px; text-align: center; }
.nota { font-family: var(--ui); font-size: 14px; margin-top: 12px; }
.acordeon { border-bottom: 1px solid var(--linea); }
.acordeon:first-child { border-top: 1px solid var(--linea); }
.acordeon-titulo { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-family: var(--ui); font-weight: 600; font-size: 18px; text-align: left; }
.acordeon-titulo::after { content: "+"; font-weight: 300; font-size: 26px; transition: transform .2s; }
.acordeon.abierto .acordeon-titulo::after { transform: rotate(45deg); }
.acordeon-contenido { display: none; padding: 0 0 20px; }
.acordeon.abierto .acordeon-contenido { display: block; }
.barra-compra { display: none; }

/* ---------- Nosotros ---------- */
.hero-foto { position: relative; height: 560px; overflow: hidden; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.hero-foto .capa { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32,89,102,.94) 0%, rgba(32,89,102,.75) 40%, rgba(32,89,102,0) 72%); }
.hero-foto .contenedor { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.hero-foto h1, .hero-foto p { color: #fff; max-width: 560px; }
.hero-foto p { margin-top: 18px; font-size: 20px; color: #d6e5e8; }
.hero-foto .etiqueta { color: #a9c9cf; }
.pilares { display: grid; gap: 16px; }
.pilar { background: var(--crema); border-left: 5px solid var(--teal); border-radius: 16px; padding: 22px 26px; }
.pilar p { color: var(--cafe); margin-top: 4px; font-size: 18px; }
.linea-tiempo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; margin-top: 56px; }
.linea-tiempo::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; border-top: 2px dashed #c9bfa9; }
.hito .numero { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--titulo); font-weight: 900; font-size: 20px; position: relative; }
.hito h3 { margin-top: 20px; }
.hito p { font-size: 16px; margin-top: 6px; }
.ingredientes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; text-align: center; }
.ingrediente .circulo { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; border: 6px solid #fff; box-shadow: 0 10px 24px rgba(58,51,49,.12); background: #fff; }
.ingrediente .circulo img { width: 100%; height: 100%; object-fit: cover; }
.ingrediente p { font-size: 15px; }
.personalidad { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.personalidad span { font-family: var(--ui); font-weight: 600; font-size: 15px; padding: 10px 22px; border-radius: 999px; color: #fff; }

/* ---------- Inspírate ---------- */
.destacada { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.destacada .foto { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: #f3e3e6; display: grid; place-items: center; }
.destacada .foto img { height: 86%; width: auto; filter: drop-shadow(0 20px 24px rgba(58,51,49,.25)); }
.momentos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.momento { border-radius: 22px; padding: 32px 20px 26px; text-align: center; }
.momento .icono { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.momento .icono svg { width: 34px; height: 34px; }
.momento p { font-size: 15px; margin-top: 6px; }
.historia { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 28px; overflow: hidden; background: var(--crema); }
.historia .foto img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.historia .texto { padding: 52px; }
.instagram { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 36px; }
.instagram a { aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: block; }
.instagram img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.instagram a:hover img { transform: scale(1.06); }

/* ---------- Footer ---------- */
.footer { background: var(--teal); color: #fff; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1fr; gap: 40px; padding: 72px 0 0; }
.footer .logo-pie { height: 92px; width: auto; }
.footer .lema { font-family: var(--texto); font-style: italic; font-size: 19px; color: #d6e5e8; margin-top: 16px; max-width: 240px; }
.footer h4 { font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: #a9c9cf; margin-bottom: 16px; }
.footer a, .footer li { font-family: var(--ui); font-size: 15.5px; color: #fff; text-decoration: none; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { text-decoration: underline; }
.redes { display: flex; gap: 10px; margin-top: 16px; }
.redes a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); display: grid; place-items: center; }
.redes svg { width: 18px; height: 18px; }
.footer-bajo { border-top: 1px solid rgba(255,255,255,.18); margin-top: 56px; padding: 24px 0 30px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--ui); font-size: 14px; color: #a9c9cf; }
.footer .acordeon { border-color: rgba(255,255,255,.18); }
.footer .acordeon-titulo { display: none; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-flotante { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante .ico-wa { width: 32px; height: 32px; }

/* =========================================================
   TABLET Y CELULAR
   ========================================================= */
@media (max-width: 1024px) {
  .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .valores, .momentos, .ingredientes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .collage .f1 { width: 220px; height: 250px; } .collage .f2 { width: 240px; height: 270px; } .collage .f3 { width: 210px; height: 240px; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .seccion { padding: 64px 0; }
  .header .contenedor { height: 70px; }
  .solo-pc { display: none; }
  .logo img { height: 46px; }
  .menu-boton { display: block; }
  .menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--linea); box-shadow: 0 12px 20px rgba(0,0,0,.06); }
  .menu.abierto { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--linea); }
  .menu .solo-celular { display: flex; margin-top: 16px; border: 0; }
  .header .btn-header { display: none; }

  .slide, .slide .contenedor { min-height: 0; }
  .slide .contenedor { grid-template-columns: 1fr; gap: 10px; padding: 36px 0 70px; }
  .slide .texto p { font-size: 17px; }
  .slide .botones .btn { flex: 1; }
  .flecha { display: none; }
  .escena { height: 330px; order: -1; }
  .escena .disco { width: 290px; height: 290px; }
  .escena .p1 { height: 180px; left: 4%; top: 90px; } .escena .p2 { height: 185px; right: 4%; top: 90px; }
  .escena .p3 { height: 260px; margin-left: -77px; top: 30px; }
  .sello { width: 86px; height: 86px; font-size: 11px; right: 2%; top: 0; } .sello small { font-size: 6px; }
  .granos { height: 60px; }
  .collage { height: 300px; order: -1; }
  .collage .f1 { width: 150px; height: 175px; left: 0; top: 30px; }
  .collage .f2 { width: 165px; height: 190px; left: 50%; margin-left: -82px; top: 90px; }
  .collage .f3 { width: 145px; height: 170px; right: 0; top: 10px; }
  .collage figure { padding: 6px 6px 24px; } .collage figcaption { font-size: 10px; bottom: 5px; }

  .grilla, .grilla.tres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tarjeta { border-radius: 16px; }
  .tarjeta-info { padding: 12px 12px 14px; }
  .tarjeta h3 { font-size: 15px; } .categoria { font-size: 10px; letter-spacing: 1.4px; }
  .tarjeta-pie { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 10px; }
  .precio { font-size: 17px; }
  .sello-mini { font-size: 10px; padding: 4px 9px; top: 8px; left: 8px; }

  .cajas { grid-template-columns: 1fr; gap: 18px; }
  .caja { flex-direction: row; }
  .caja-foto { width: 40%; flex: none; aspect-ratio: auto; }
  .caja-info { padding: 16px; }
  .caja-info h3 { font-size: 18px; } .caja-info p { font-size: 14px; }
  .caja-info .btn { align-self: stretch; }
  .tener-en-cuenta { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .tener-en-cuenta ul { grid-template-columns: 1fr; }

  .dividido, .destacada, .historia, .ficha-grid { grid-template-columns: 1fr; gap: 32px; }
  .historia .texto { padding: 28px 24px; }
  .grilla-ideas { grid-template-columns: 1fr !important; }
  .cta { padding: 36px 24px; text-align: center; justify-content: center; }
  .cta .btn { width: 100%; }
  .herramientas { flex-direction: column-reverse; align-items: stretch; }
  .buscador { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-bottom: 4px; }
  .chip { flex: none; height: 38px; font-size: 14px; }
  .linea-tiempo { grid-template-columns: 1fr; gap: 28px; padding-left: 12px; }
  .linea-tiempo::before { left: 39px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed #c9bfa9; }
  .hito { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .hito .numero { grid-row: span 2; }
  .hito h3 { margin-top: 4px; }
  .ingrediente .circulo { width: 130px; height: 130px; border-width: 4px; }
  .instagram { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .instagram a { border-radius: 8px; }
  .hero-foto { height: 440px; }
  .hero-foto .capa { background: linear-gradient(0deg, rgba(32,89,102,.95) 0%, rgba(32,89,102,.6) 50%, rgba(32,89,102,0) 80%); }
  .hero-foto .contenedor { justify-content: flex-end; padding-bottom: 32px; }

  .comprar { display: none; }
  .barra-compra { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--linea); padding: 12px 16px; gap: 10px; box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
  .barra-compra .btn { flex: 1; }
  .con-barra .wa-flotante { bottom: 96px; }
  .con-barra .footer { padding-bottom: 80px; }

  .footer { margin-top: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding-top: 44px; }
  .footer-grid > div:first-child { margin-bottom: 20px; }
  .footer .acordeon-titulo { display: flex; color: #fff; font-size: 16px; }
  .footer .acordeon h4 { display: none; }
  .footer .acordeon-contenido { padding-bottom: 18px; }
  .footer .logo-pie { height: 70px; }
  .wa-flotante { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* Ajustes del footer: en computador se ve todo abierto */
.footer .acordeon, .footer .acordeon:first-child { border: 0; }
.footer .acordeon-contenido { display: block; padding: 0; }
@media (max-width: 820px) {
  .footer .acordeon, .footer .acordeon:first-child { border-bottom: 1px solid rgba(255,255,255,.18); }
  .footer .acordeon-contenido { display: none; padding-bottom: 18px; }
  .footer .acordeon.abierto .acordeon-contenido { display: block; }
}

/* ---------- Varios ---------- */
.nowrap { white-space: nowrap; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 820px; margin-inline: auto; padding-top: 56px; }
.legal .actualizado { font-family: var(--ui); font-size: 14px; color: var(--gris); margin-bottom: 32px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; color: var(--teal); }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--cafe); font-size: 17px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 24px; margin: 10px 0; display: grid; gap: 6px; }
.legal .datos { background: var(--crema); border-radius: 18px; padding: 22px 26px; margin-top: 16px; }
.legal .datos p { margin: 4px 0; }
.legal .indice { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.legal .indice a { font-family: var(--ui); font-size: 14px; text-decoration: none; border: 1px solid #d6ccb8; border-radius: 999px; padding: 6px 14px; }
.legal .indice a:hover { border-color: var(--teal); color: var(--teal); }
