/* ============================================================
   Raíz Viva · estilos
   - Paleta cálida natural · tipografía artesanal moderna
   - Animaciones ligeras (CSS puro)
   - View Transitions API para cambio de filtros
   - Fondo cíclico con blobs en mix-blend-mode (capa fija)
   - Reveal-on-scroll via IntersectionObserver (clase .reveal)
   ============================================================ */

/* ---------- propiedad animable para el acento ----------
   --accent-live la cicla animations.js cada 8s; el resto de
   variables son estáticas. Con @property la interpolación
   entre colores es continua y suave. */
@property --accent-live {
  syntax: "<color>";
  inherits: true;
  initial-value: #b85c38;
}

:root {
  /* paleta cálida artesanal · base clara, contenido cremoso
     Contraste WCAG AA verificado sobre #fbf8f1 */
  --bg:        #fbf8f1;             /* crema cálida base */
  --bg-elev:   #ffffff;
  --bg-soft:   #f4ede0;
  --ink:       #1a1714;     /* texto principal · 16.2:1 AAA */
  --ink-2:     #3d362e;     /* texto secundario · 9.8:1 AAA */
  --muted:     #6e6657;     /* texto terciario · 4.8:1 AA */
  --muted-strong: #5a5347;  /* 6.2:1 */
  --line:        #e8e1d2;
  --line-strong: #d4cdba;
  --accent:      #b85c38;   /* terracota */
  --accent-soft: #d99873;
  --accent-deep: #8e3f24;
  --salsa:       #c0392b;
  --olive:       #5a6b3c;
  --gold:        #c89559;
  --moss:        #7a8a55;

  /* tonos por categoría · pasteles claros · vitrina suave */
  --c-kefir:      #eef1e6;
  --c-yogurt:     #f4ebd6;   /* crema lácteo · familia kefir */
  --c-mermeladas: #f6e3d6;
  --c-salsas:     #f5d9c8;
  --c-pastas:     #ecdfca;
  --c-quesos:     #f1ebde;
  --c-encurtidos: #e5e7d4;
  --c-bienestar:  #dce6ed;   /* azul suave · acompaña el packaging marino */

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-full: 999px;

  /* sistema de sombras claras · estratificado en 3 niveles */
  --shadow-0: 0 1px 1px rgba(26,23,20,.04);
  --shadow-1: 0 1px 2px rgba(26,23,20,.04), 0 6px 14px rgba(26,23,20,.05);
  --shadow-2: 0 6px 18px rgba(26,23,20,.06), 0 18px 36px rgba(26,23,20,.08);
  --shadow-3: 0 10px 30px rgba(26,23,20,.10), 0 30px 60px rgba(26,23,20,.12);
  --glow-warm: 0 0 40px rgba(184,92,56,.12);

  /* token de foco accesible — usado por :focus-visible global */
  --ring: 0 0 0 2px var(--bg-elev), 0 0 0 4px var(--accent);

  --font-display: "Fraunces", "Instrument Serif", "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(2.8rem, 6.5vw + 1rem, 6rem);
  --fs-h2:   clamp(1.9rem, 2.8vw + 1rem, 3rem);
  --fs-h3:   clamp(1.15rem, .6vw + 1rem, 1.4rem);

  --container: 1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: #fbf8f1;  /* crema cálida estable · fondo del resto de la página */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* transición suave para el cambio de tono desde JS */
  transition: background-color 1.4s ease-in-out;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -.015em; }

::selection { background: var(--accent); color: #fff; }

/* ---------- focus-visible global · accesibilidad ----------
   Sólo aparece al navegar por teclado, no en click con ratón.
   Usa ring de doble capa (sobre el fondo de la página +
   sobre el elemento) para verse bien sobre cualquier color. */
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
  transition: box-shadow .12s ease;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.cat-chip:focus-visible,
.product-cta:focus-visible,
.fab-whatsapp:focus-visible {
  border-radius: var(--r-full);
}
.product-card:focus-visible {
  border-radius: var(--r-md);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  /* el bloque cinematográfico se queda estable en negro para
     mantener mejor contraste con el texto crema del hero */
  .hero-block {
    animation: none !important;
    background-color: #0a0a0a !important;
  }
  body { transition: background-color 1.4s ease-in-out !important; }
}

/* alto contraste: refuerza líneas y texto secundario */
@media (prefers-contrast: more) {
  :root {
    --muted: #4a423a;
    --line: #b8b09e;
    --ink-2: #1a1714;
  }
}

/* ---------- contenedor ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  position: relative;
}

/* ============================================================
   FONDO DINÁMICO · capa fija con blobs orgánicos
   - position: fixed para que no haga reflow al hacer scroll
   - mix-blend-mode: multiply para integrarse con el fondo cíclico
   - JS añade --scroll-y para reaccionar al scroll
   ============================================================ */
/* bg-canvas: contenedor heredado, ahora vacío. El bloque
   cinematográfico vive DENTRO del hero, no en una capa global. */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

/* ============ BLOQUE CINEMATOGRÁFICO DEL HERO ============
   Cubre SÓLO la sección hero como un panel detrás del contenido.
   Cicla negro → blanco → negro → blanco en bucle infinito,
   tipo proyección de cine, sin afectar al resto de la página.
   El texto del hero usa --hero-ink (crema) + text-shadow doble
   para sobrevivir ambos extremos del ciclo.
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;        /* contiene la pila del bloque */
  overflow: hidden;
}
.hero-block {
  position: absolute;
  inset: 0;
  z-index: -1;               /* detrás del contenido del hero */
  background-color: #0a0a0a; /* base negra */
  animation: hero-cycle 12s ease-in-out infinite;
  will-change: background-color;
}
@keyframes hero-cycle {
  0%, 100% { background-color: #0a0a0a; } /* negro */
  50%      { background-color: #f7f0e2; } /* blanco cálido (no puro blanco) */
}

/* texto del hero sobre el bloque ciclante · siempre legible.
   Color crema + text-shadow oscuro garantiza contraste en
   ambos extremos del ciclo (sobre negro: cream brilla;
   sobre blanco cálido: la sombra oscura define los glifos). */
.hero .hero-eyebrow,
.hero .hero-title,
.hero .hero-title em,
.hero .hero-lede {
  color: #f5e7d6;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, .55),
    0 1px 2px rgba(0, 0, 0, .65),
    0 0 1px rgba(0, 0, 0, .9);
}
.hero .hero-title em {
  color: #fdba74;            /* acento que también lee en ambos */
  text-shadow:
    0 2px 10px rgba(0, 0, 0, .65),
    0 0 2px rgba(0, 0, 0, .9);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* fondo cream beige premium · opacidad alta en reposo */
  background: rgba(245, 241, 235, .85);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
  /* al scrollear: más opaco + línea de separación + sombra muy fina */
  border-bottom-color: rgba(26, 23, 20, .08);
  background: rgba(245, 241, 235, .96);
  box-shadow: 0 1px 0 rgba(26, 23, 20, .03), 0 12px 28px rgba(26, 23, 20, .04);
}
/* layout · una fila: logo izq, menú centro absoluto, CTA der */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .85rem 0;
  gap: 1rem;
  transition: padding .3s ease;
}
.site-header.is-scrolled .nav { padding: .65rem 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -.02em;
  font-weight: 500;
  justify-self: start;       /* logo siempre pegado a la izquierda */
}
/* logo PNG · ancho premium 140px desktop / 100px mobile.
   Drop-shadow + glow muy ligero. Compresión sutil al scroll. */
.brand-logo {
  width: 140px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 2px 6px rgba(26, 23, 20, .10))
    drop-shadow(0 0 14px rgba(255, 255, 255, .35));   /* glow suave */
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              width .3s ease,
              filter .3s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.04) rotate(-1deg);
  filter:
    drop-shadow(0 4px 10px rgba(26, 23, 20, .14))
    drop-shadow(0 0 18px rgba(255, 255, 255, .45));
}
.site-header.is-scrolled .brand-logo { width: 110px; }
@media (max-width: 720px) {
  .brand-logo { width: 100px; }
  .site-header.is-scrolled .brand-logo { width: 84px; }
}
.nav-links {
  display: none;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .015em;
  color: var(--ink-2);
}
.nav-links a {
  position: relative;
  padding: .35rem 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--accent-live);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  justify-self: end;          /* siempre pegado a la derecha */
  padding: .75rem 1.5rem;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--bg);           /* contraste 16.2:1 AAA */
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: transform .25s cubic-bezier(.2,.7,.2,1),
              background .3s ease,
              box-shadow .3s ease;
  box-shadow: 0 4px 12px rgba(26, 23, 20, .12);
}
.nav-cta:hover {
  background: var(--accent-live);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 92, 56, .32);
}
@media (min-width: 760px) { .nav-links { display: inline-flex; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 5rem); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;   /* video estira hasta la altura del texto izquierdo */
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4.5rem; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-live);
  margin-bottom: 1.4rem;
  transition: color .6s ease;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: currentColor;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .96;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--accent-live);
  transition: color .6s ease;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(.98);
  filter: blur(6px);
  animation: wordIn .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .word:nth-child(1) { animation-delay: .05s; }
.hero-title .word:nth-child(2) { animation-delay: .12s; }
.hero-title .word:nth-child(3) { animation-delay: .19s; }
.hero-title .word:nth-child(4) { animation-delay: .26s; }
.hero-title .word:nth-child(5) { animation-delay: .33s; }
.hero-title .word:nth-child(6) { animation-delay: .40s; }
.hero-title .word:nth-child(7) { animation-delay: .47s; }
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-lede {
  margin-top: 1.7rem;
  max-width: 50ch;
  color: var(--ink-2);
  font-size: 1.075rem;
  opacity: 0;
  animation: fadeUp .8s ease .55s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-actions {
  margin-top: 2.1rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s ease .7s forwards;
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  font-weight: 500;
  font-size: .95rem;
  transition: transform .18s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .65s ease;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(100%); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover {
  background: var(--accent-live);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(184,92,56,.3);
}
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.85); color: var(--accent); }

/* ============================================================
   HERO-VIDEO · video que reemplaza al panel derecho del hero
   ------------------------------------------------------------
   - Ocupa el mismo espacio que tenía .hero-card (~400-450px)
   - Bordes redondeados grandes, sombra cinematográfica
   - Autoplay loop muted (autopla en todos los navegadores)
   - object-fit: cover para llenar el frame sin franjas
   - mismo fadeUp de entrada que la tarjeta anterior
   ============================================================ */
.hero-video {
  position: relative;
  width: 100%;
  height: 100%;             /* estira a la altura del texto izquierdo */
  min-height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease .9s forwards;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.hero-video:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(184,92,56,.18);
}
.hero-video-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* en móvil (1 columna) el video usa proporción 16:10 para no
   verse desproporcionado, y NO estira a altura completa */
@media (max-width: 919px) {
  .hero-video {
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

/* ============================================================
   HERO-CARD · vitrina premium del panel derecho del hero
   ------------------------------------------------------------
   - Glass más profundo, sombra cinematográfica
   - Frasco SVG elaborado con tapa, etiqueta, contenido, brillos
   - Animaciones: flotación, sombra que respira, burbujas
     ascendiendo, shimmer cruzando el vidrio
   - Orbs decorativos (radial-gradient blur) que derivan despacio
   - Parallax leve del frasco según posición del cursor (--mx/--my)
   - Badges artesanal/sin conservantes
   - Stats con números en gradient, divisores sutiles
   ============================================================ */
.hero-card {
  position: relative;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(232, 225, 210, .9);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2vw + .5rem, 2.2rem);
  box-shadow:
    var(--shadow-3),
    inset 0 1px 0 rgba(255, 255, 255, .8);   /* hairline highlight arriba */
  display: grid;
  grid-template-columns: clamp(125px, 18vw, 165px) 1fr;
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: center;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease .9s forwards;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-3),
    inset 0 1px 0 rgba(255, 255, 255, .8),
    0 0 0 1px rgba(184, 92, 56, .15);
}

/* glow radial que sigue al cursor (igual que antes pero más fuerte) */
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
              rgba(184,92,56,.16) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 2;
}
.hero-card:hover::after { opacity: 1; }

/* ---------- ORBS decorativos · drift lento detrás del contenido ---------- */
.hero-card-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
}
.orb-1 {
  width: 110px; height: 110px;
  top: -30px; right: -30px;
  background: radial-gradient(circle, rgba(217, 152, 115, .55), transparent 70%);
  animation: orbDrift1 14s ease-in-out infinite alternate;
}
.orb-2 {
  width: 90px; height: 90px;
  bottom: -25px; left: -25px;
  background: radial-gradient(circle, rgba(200, 149, 89, .45), transparent 70%);
  animation: orbDrift2 18s ease-in-out infinite alternate;
}
.orb-3 {
  width: 70px; height: 70px;
  top: 45%; left: 35%;
  background: radial-gradient(circle, rgba(122, 138, 85, .30), transparent 70%);
  animation: orbDrift3 22s ease-in-out infinite alternate;
}
@keyframes orbDrift1 { to { transform: translate(-18px, 22px) scale(1.08); } }
@keyframes orbDrift2 { to { transform: translate(22px, -18px) scale(1.05); } }
@keyframes orbDrift3 { to { transform: translate(14px, -14px) scale(1.18); } }

/* ---------- JAR-STAGE · escenario radial del frasco ---------- */
.jar-stage {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 18px;
  padding: .5rem;
  z-index: 1;
  /* spotlight cálido detrás del frasco */
  background:
    radial-gradient(ellipse 80% 55% at 50% 60%,
      rgba(184, 92, 56, .14),
      transparent 70%);
}

/* parallax wrapper · respondiendo a --mx/--my que setea pointermove */
.hero-jar-parallax {
  width: 100%;
  aspect-ratio: 140 / 210;
  transform: translate(
    calc((var(--mx, 50%) - 50%) * .12),
    calc((var(--my, 50%) - 50%) * .08)
  );
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

/* frasco · float vertical infinito, profundidad en hover */
.hero-jar {
  position: relative;
  width: 100%;
  height: 100%;
  animation: jarFloat 4.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(26, 23, 20, .12));
  transition: filter .4s ease;
}
.hero-card:hover .hero-jar {
  filter: drop-shadow(0 18px 28px rgba(26, 23, 20, .22));  /* sombra más profunda */
}
.hero-card:hover .hero-jar-img {
  transform: scale(1.04) rotate(-2deg);                      /* leve giro + zoom */
}
@keyframes jarFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-7px) rotate(-1deg); }
}

/* imagen real del frasco · llena el wrapper preservando proporción */
.hero-jar-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

/* sombra elíptica abajo del frasco · respira al ritmo opuesto.
   Como ahora la imagen es una foto, la sombra la dibujamos
   como pseudo-elemento del .hero-jar en lugar de SVG interno. */
.hero-jar::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -2%;
  height: 14px;
  background: radial-gradient(ellipse at center,
              rgba(26, 23, 20, .35),
              rgba(26, 23, 20, 0) 70%);
  filter: blur(3px);
  animation: shadowBreath 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shadowBreath {
  0%, 100% { opacity: .85; transform: scaleX(1); }
  50%      { opacity: .55; transform: scaleX(.75); }
}

/* destello que barre el vidrio cada ~6s */
.jar-shimmer-sweep {
  position: absolute;
  inset: 18% 22% 8% 22%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, .55) 50%,
    transparent 65%
  );
  transform: translateX(-130%);
  animation: shimmerSweep 6.5s ease-in-out infinite;
  border-radius: 8px;
  mix-blend-mode: overlay;
  opacity: .85;
}
@keyframes shimmerSweep {
  0%, 25% { transform: translateX(-130%); }
  55%     { transform: translateX(130%); }
  100%    { transform: translateX(130%); }
}

/* ---------- INFO · badges + título + stats ---------- */
.hero-card-info {
  position: relative;
  z-index: 1;
}
.hero-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .65rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(184, 92, 56, .08);
  color: var(--accent);
  border: 1px solid rgba(184, 92, 56, .18);
  border-radius: var(--r-full);
}
.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(184, 92, 56, .15);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(184, 92, 56, .15); }
  50%      { box-shadow: 0 0 0 4px rgba(184, 92, 56, .04); }
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.5vw + .8rem, 1.55rem);
  margin-bottom: .35rem;
  letter-spacing: -.015em;
}
.hero-card p {
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* stats con divisores y números en gradient */
.hero-stats {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.stat {
  position: relative;
  padding-inline: .55rem;
}
.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--line);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.6vw + 1rem, 2rem);
  display: block;
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 500;
  /* número en gradient premium · cae a color sólido como fallback */
  color: var(--ink);
  background: linear-gradient(135deg, var(--ink) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat-lbl {
  font-size: .68rem;
  color: var(--muted);
  margin-top: .4rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* responsive · pantallas estrechas: el frasco va arriba, info debajo */
@media (max-width: 480px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .jar-stage {
    max-width: 180px;
    margin-inline: auto;
    width: 100%;
  }
  .hero-stats {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
  }
}

/* ============================================================
   SECCIÓN GENÉRICA
   ============================================================ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-live);
  margin-bottom: .7rem;
  transition: color .6s ease;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  letter-spacing: -.02em;
  max-width: 18ch;
  font-weight: 400;
}
.section-title em { font-style: italic; color: var(--accent-live); transition: color .6s ease; }
.section-desc { max-width: 40ch; color: var(--muted); font-size: 1rem; }

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2.5rem;
}
.cat-chip {
  /* tap target ≥ 44px de alto (Apple HIG / WCAG 2.5.5) */
  min-height: 44px;
  padding: .7rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .6);
  font-size: .9rem;
  color: var(--ink-2);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease, box-shadow .3s ease;
  backdrop-filter: blur(6px);
}
.cat-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, .85);
  transform: translateY(-1px);
}
.cat-chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 6px 18px rgba(26,23,20,.18);
  font-weight: 600;
}
.cat-chip .count { margin-left: .4rem; font-size: .72rem; opacity: .6; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.6rem;
}
.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
.product-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
              rgba(251,146,60,.18), transparent 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 1;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}
.product-card:hover::before { opacity: 1; }
.product-media {
  aspect-ratio: 4 / 3;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--c-kefir);
}
.product-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.5), transparent 55%);
  pointer-events: none;
}
.product-media[data-cat="kefir"]      { background: var(--c-kefir); }
.product-media[data-cat="mermeladas"] { background: var(--c-mermeladas); }
.product-media[data-cat="salsas"]     { background: var(--c-salsas); }
.product-media[data-cat="pastas"]     { background: var(--c-pastas); }
.product-media[data-cat="quesos"]     { background: var(--c-quesos); }
.product-media[data-cat="encurtidos"] { background: var(--c-encurtidos); }
.product-media[data-cat="bienestar"]  { background: var(--c-bienestar); }
.product-media[data-cat="yogurt"]     { background: var(--c-yogurt); }

/* yogurt griego · la foto tiene 3 frascos lado a lado → contain
   para que se vean todos, con padding para que no toquen el borde */
.product-media[data-cat="yogurt"] .product-img {
  object-fit: contain;
  padding: 10px;
}

.product-jar {
  width: 96px;
  height: 128px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  filter: drop-shadow(0 8px 14px rgba(26,23,20,.12));
}
.product-card:hover .product-jar { transform: translateY(-4px) scale(1.04) rotate(-2deg); }

.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: .32rem .65rem;
  border-radius: var(--r-full);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(26,23,20,.86);
  color: var(--ink);
  backdrop-filter: blur(2px);
  z-index: 2;
}
.product-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
  position: relative;
  z-index: 2;
}
.product-name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--ink);
}
.product-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .8rem;
}
/* sin precios · meta del producto muestra disponibilidad + presentación */
.product-meta {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  line-height: 1.1;
}
.product-availability {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -.01em;
}
.product-unit {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 40px;
  padding: .6rem 1rem;
  border-radius: var(--r-full);
  background: #1faa56;  /* contraste 4.5:1 sobre blanco — antes #25D366 era 2.4:1 */
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .3s ease, background .2s ease;
  box-shadow: 0 0 0 0 rgba(37,211,102,.45);
  animation: softPulse 3.2s ease-in-out infinite;
}
.product-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37,211,102,.4);
}
.product-cta svg { width: 14px; height: 14px; }
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
  font-size: .95rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  background:
    linear-gradient(180deg, transparent 0%, var(--bg-soft) 30%, var(--bg-soft) 70%, transparent 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  left: -200px; top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,138,85,.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
}
.about p { color: var(--ink-2); font-size: 1.075rem; max-width: 54ch; }
.about-points {
  list-style: none; padding: 0; margin: 1.8rem 0 0;
  display: grid; gap: 1rem;
}
.about-points li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  transition: transform .25s ease;
}
.about-points li:hover { transform: translateX(4px); }
.about-points li:last-child { border: 0; padding-bottom: 0; }
.about-points strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: .15rem; }
.about-points span { color: var(--muted); font-size: .92rem; }
.about-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent-live);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.about-points li:hover .about-icon {
  background: var(--accent-live);
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
}
/* ============================================================
   ABOUT-COMPOSITION · imagen Raíz Viva en conjunto
   ------------------------------------------------------------
   Efectos: glow cálido detrás, frame con borde fino + sombra
   profunda, flotación suave continua, parallax leve con cursor,
   zoom/rotación leve en hover, shimmer que cruza la imagen.
   ============================================================ */
.about-composition {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;       /* horizontal · matches imagen 1536×1024 */
  isolation: isolate;
}

/* glow cálido detrás de la composición — orb radial animado */
.about-composition-glow {
  position: absolute;
  inset: -8% -10%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(184, 92, 56, .22),
    rgba(217, 152, 115, .12) 35%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: -1;
  animation: aboutGlow 6s ease-in-out infinite alternate;
}
@keyframes aboutGlow {
  0%   { transform: scale(1)    translate(0, 0);     opacity: .85; }
  100% { transform: scale(1.08) translate(12px, -8px); opacity: 1; }
}

/* frame con borde, sombra cinematográfica, hover lift + rotación */
.about-composition-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  /* flotación continua */
  animation: aboutFloat 5s ease-in-out infinite;
  /* parallax con cursor · --mx/--my ya seteados por pointermove */
  transform-origin: center;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1),
              box-shadow .4s ease;
  will-change: transform;
}
.about-composition:hover .about-composition-frame {
  animation-play-state: paused;
  transform: translate(
    calc((var(--mx, 50%) - 50%) * .04),
    calc((var(--my, 50%) - 50%) * .04)
  ) scale(1.02) rotate(-1.5deg);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(184, 92, 56, .2),
              0 0 60px rgba(184, 92, 56, .15);
}
@keyframes aboutFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-8px) rotate(-.5deg); }
}

/* imagen interna · contain para mostrar TODA la composición sin
   recortar ningún frasco. Sin zoom Ken Burns (recortaría bordes);
   el movimiento lo dan el float del marco + glow + shimmer. */
.about-composition-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
/* en hover · zoom muy ligero, sólo 2% para no recortar visiblemente */
.about-composition:hover .about-composition-img {
  transform: scale(1.02);
}

/* shimmer · destello que cruza la composición cada ~8s */
.about-composition-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, .35) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  animation: aboutShimmer 8s ease-in-out infinite;
  mix-blend-mode: overlay;
}
@keyframes aboutShimmer {
  0%, 20% { transform: translateX(-130%); }
  55%     { transform: translateX(130%); }
  100%    { transform: translateX(130%); }
}

/* ============================================================
   REVEAL ON SCROLL · clases utilitarias
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}
.reveal-blur { filter: blur(8px); }
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(.96); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal-stagger.is-in > * { opacity: 1; transform: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: #e9e3d6;
  padding: 4.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  right: -250px; bottom: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,92,56,.22), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  animation: drift1 32s ease-in-out infinite alternate;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
/* logo PNG en el footer · versión recortada horizontal,
   más visible. Glow blanco sutil para que se separe del dark bg */
.footer-logo {
  width: 180px;
  height: auto;
  display: block;
  margin-bottom: 1.1rem;
  filter:
    drop-shadow(0 2px 6px rgba(0, 0, 0, .25))
    drop-shadow(0 0 16px rgba(255, 255, 255, .14));
}
.footer-tag { color: #b0a999; max-width: 38ch; font-size: .93rem; }
.footer h4 {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: #b0a999;
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .93rem; }
.footer-list a { color: #e9e3d6; transition: color .25s ease, transform .2s ease; display: inline-block; }
.footer-list a:hover { color: var(--accent-soft); transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #b0a999;
  position: relative;
}

/* ============================================================
   FAB WhatsApp · efecto pulsante
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 40;
  width: 60px; height: 60px;   /* ≥ 44px ✓ tap target HIG */
  border-radius: 50%;
  background: #1faa56;          /* contraste WCAG: icono blanco 3.2:1 vs 2.4:1 */
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.35);
  transition: transform .2s ease, box-shadow .25s ease;
  animation: fabPulse 2.6s ease-in-out infinite;
}
.fab-whatsapp::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,.5);
  z-index: -1;
  animation: fabRing 2.6s ease-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 27px; height: 27px; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37,211,102,.35); }
  50%      { box-shadow: 0 14px 36px rgba(37,211,102,.55); }
}
@keyframes fabRing {
  0%   { transform: scale(.85); opacity: .55; }
  80%  { transform: scale(1.5);  opacity: 0; }
  100% { transform: scale(1.5);  opacity: 0; }
}

/* ============================================================
   CANVAS PIXI (#rv-pixi) · loop continuo + transición cinemática
   ------------------------------------------------------------
   - z-index -2: detrás de todo (incluido .bg-canvas en z -1).
     Los blobs CSS quedan encima del Pixi, con mix-blend-mode:
     multiply blendeando con el plano cálido Pixi.
   - background-color #1a1714: fallback antes de que Pixi inicialice
     (matches el color del cover plane → cero parpadeo).
   - .rv-busy en body sube el canvas al frente para la transición.
   ============================================================ */
#rv-pixi {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-color: transparent;  /* Pixi sólo cubre durante transiciones */
  display: block;
}
.rv-busy #rv-pixi {
  z-index: 9999;
  pointer-events: auto;
}

/* pausa las animaciones del hero hasta que la transición de entrada
   termine. Cuando cinematic-transition.js añade .rv-ready, las
   animaciones CSS del hero corren. */
body:not(.rv-ready) .hero-title .word,
body:not(.rv-ready) .hero-lede,
body:not(.rv-ready) .hero-actions,
body:not(.rv-ready) .hero-card {
  animation-play-state: paused;
}

/* aceleración compositor para los blobs durante el parpadeo GSAP */
.bg-canvas { will-change: opacity; }

/* ============================================================
   BENEFICIOS · 4 tarjetas con ícono · diferenciales de marca
   ============================================================ */
.benefits { background: var(--bg); }
.benefits-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.benefit {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}
.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(184,92,56,.10), rgba(184,92,56,.04));
  border: 1px solid rgba(184,92,56,.15);
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: transform .35s ease, background .3s ease;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit:hover .benefit-icon {
  transform: rotate(-8deg) scale(1.08);
  background: linear-gradient(135deg, rgba(184,92,56,.18), rgba(184,92,56,.08));
}
.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: .55rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.benefit p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   FAQ · acordeón nativo con <details>/<summary>
   ============================================================ */
.faq { background: var(--bg-soft); border-top: 1px solid var(--line); }
.faq-list {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
  max-width: 800px;
}
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-1);
}
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.005em;
  transition: color .25s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: "";
  width: 14px; height: 14px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.faq-item[open] .faq-q::after { transform: rotate(180deg); }
.faq-a {
  padding: 0 1.4rem 1.2rem;
  color: var(--ink-2);
  font-size: .96rem;
  line-height: 1.65;
  max-width: 65ch;
  animation: faqOpen .35s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CART · FAB + drawer + items + animaciones
   ============================================================ */

/* Defensivo: cualquier elemento con atributo `hidden` debe ocultarse,
   incluso si tiene display: flex/grid en otra regla (el `hidden` del
   HTML no gana por specificity sobre display explícito). */
[hidden] { display: none !important; }

/* ---------- FAB Mi pedido ---------- */
.cart-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.25rem .9rem 1rem;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .005em;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(26, 23, 20, .28);
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}
.cart-fab svg { width: 20px; height: 20px; }
.cart-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(26, 23, 20, .38);
}
.cart-fab:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
/* cuando hay items · color terracota · pop visual */
.cart-fab.has-items {
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(184, 92, 56, .35);
}
.cart-fab.has-items:hover {
  background: var(--accent-deep, #8e3f24);
  box-shadow: 0 14px 36px rgba(184, 92, 56, .5);
}

/* badge contador */
.cart-fab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 .45rem;
  border-radius: var(--r-full);
  background: var(--bg);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.cart-fab.has-items .cart-fab-count {
  background: var(--bg);
  color: var(--accent);
}

/* bounce al agregar producto */
.cart-fab.bounce { animation: cartBounce .55s cubic-bezier(.34,1.56,.64,1); }
@keyframes cartBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  25%      { transform: translateY(-8px) scale(1.07); }
  60%      { transform: translateY(-2px) scale(1.02); }
}

/* flash en el botón "Agregar" del producto */
.product-cta.flashed {
  animation: ctaFlash .8s ease;
}
@keyframes ctaFlash {
  0%   { background: var(--olive); transform: translateY(-1px) scale(1); }
  25%  { background: #1faa56; transform: translateY(-3px) scale(.96); }
  60%  { background: #1faa56; transform: translateY(-2px) scale(1.04); }
  100% { background: var(--olive); transform: translateY(0) scale(1); }
}

/* ---------- Drawer ---------- */
.cart-drawer {
  border: 0;
  padding: 0;
  margin: 0 0 0 auto;          /* alineado a la derecha en desktop */
  max-width: 460px;
  width: 100%;
  max-height: 100dvh;
  height: 100dvh;
  background: transparent;
  color: inherit;
  overflow: visible;
}
.cart-drawer::backdrop {
  background: rgba(10, 10, 10, .55);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  animation: cartBackdropIn .3s ease;
}
@keyframes cartBackdropIn { from { opacity: 0; } to { opacity: 1; } }

.cart-drawer-inner {
  background: var(--bg-elev);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 50px rgba(26, 23, 20, .18);
  animation: cartSlideIn .4s cubic-bezier(.2,.7,.2,1);
}
@keyframes cartSlideIn {
  from { transform: translateX(100%); opacity: .8; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* responsive · móvil: drawer entra desde abajo, max 90vh */
@media (max-width: 600px) {
  .cart-drawer {
    margin: auto auto 0 auto;
    max-width: 100%;
    width: 100%;
    height: 90dvh;
    max-height: 90dvh;
  }
  .cart-drawer-inner {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    box-shadow: 0 -16px 40px rgba(26, 23, 20, .18);
    animation: cartSlideUp .4s cubic-bezier(.2,.7,.2,1);
    padding: 1.25rem;
  }
  @keyframes cartSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
}

/* head */
.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cart-head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 .15rem;
}
.cart-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.cart-close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .2s ease, transform .3s ease, color .2s ease;
}
.cart-close svg { width: 18px; height: 18px; }
.cart-close:hover {
  background: var(--ink);
  color: var(--bg);
  transform: rotate(90deg);
}

/* lista de items · scrolleable cuando hay muchos */
.cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  /* scrollbar fino y discreto */
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.cart-items::-webkit-scrollbar { width: 6px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.cart-item {
  display: grid;
  grid-template-columns: 58px 1fr auto auto;
  align-items: center;
  gap: .7rem;
  padding: .65rem .75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  animation: cartItemIn .35s cubic-bezier(.2,.7,.2,1);
  transition: border-color .2s ease, background .2s ease;
}
.cart-item:hover {
  border-color: var(--line-strong);
  background: var(--bg-soft);
}
@keyframes cartItemIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cart-item-img {
  width: 58px; height: 58px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-soft);
  display: grid; place-items: center;
}
.cart-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cart-item-img svg { width: 70%; height: 70%; }

.cart-item-info { min-width: 0; }
.cart-item-info h4 {
  margin: 0 0 .15rem;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item-cat {
  display: inline-block;
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

/* control de cantidad */
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: .15rem;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.qty-btn:hover {
  background: var(--ink);
  color: var(--bg);
}
.qty-val {
  min-width: 1.4em;
  text-align: center;
  font-weight: 600;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
}

.cart-item-rm {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.cart-item-rm svg { width: 16px; height: 16px; }
.cart-item-rm:hover {
  color: #c0392b;
  background: rgba(192, 57, 43, .08);
}

/* empty state */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  gap: 1rem;
}
.cart-empty svg {
  width: 56px; height: 56px;
  color: var(--line-strong);
}
.cart-empty p {
  margin: 0;
  font-size: .95rem;
}

/* nota */
.cart-note { display: block; }
.cart-note span {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: .4rem;
}
.cart-note textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  resize: vertical;
  min-height: 76px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cart-note textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, .14);
}
.cart-note textarea::placeholder { color: var(--muted); opacity: .65; }

/* acciones finales · enviar / vaciar */
.cart-actions { display: grid; gap: .35rem; }
.cart-actions .btn-whatsapp {
  width: 100%;
  padding: 1rem 1.5rem;
}
.cart-actions .btn-whatsapp:disabled {
  background: var(--line);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.cart-actions .btn-whatsapp:disabled:hover {
  background: var(--line);
  transform: none;
  box-shadow: none;
}
.cart-clear {
  background: transparent;
  color: var(--muted);
  font-size: .82rem;
  padding: .45rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color .2s ease;
}
.cart-clear:hover { color: #c0392b; }

/* respeta usuarios con preferencia de menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .cart-drawer-inner,
  .cart-item,
  .cart-fab.bounce,
  .product-cta.flashed,
  .size-dialog-inner { animation: none !important; }
}

/* ============================================================
   PRESENTACIONES · chips en la tarjeta de producto
   ============================================================ */
.product-sizes {
  display: block;
  margin: .15rem 0 .5rem;
  padding-top: .65rem;
  border-top: 1px dashed var(--line);
}
.product-sizes-label {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.product-sizes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.product-size-chip {
  display: inline-flex;
  align-items: center;
  padding: .22rem .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-variant-numeric: tabular-nums;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.product-card:hover .product-size-chip {
  border-color: var(--line-strong);
  background: var(--bg-elev);
}

/* meta del item del carrito · sabor + tamaño + categoría en una línea */
.cart-item-meta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  font-size: .7rem;
}
.cart-item-size,
.cart-item-flavor {
  font-weight: 600;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.cart-item-sep { color: var(--muted); opacity: .55; }

/* ============================================================
   DIÁLOGO DE SELECCIÓN DE PRESENTACIÓN
   ============================================================ */
.size-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  max-width: 440px;
  width: calc(100% - 2rem);
  margin: auto;
}
.size-dialog::backdrop {
  background: rgba(10, 10, 10, .55);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  animation: sizeBackdropIn .25s ease;
}
@keyframes sizeBackdropIn { from { opacity: 0; } to { opacity: 1; } }

.size-dialog-inner {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow-3);
  border: 1px solid var(--line);
  animation: sizeDialogIn .3s cubic-bezier(.2,.7,.2,1);
}
@keyframes sizeDialogIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.size-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.size-dialog-eyebrow {
  margin: 0 0 .25rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.size-dialog-head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 .35rem;
  color: var(--ink);
}
.size-dialog-desc {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 36ch;
}

/* grupo (sabor / presentación) · label arriba + radios chip abajo */
.size-dialog-group {
  display: grid;
  gap: .55rem;
}
.size-dialog-group-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* radios chip-style · click sobre el chip selecciona el radio oculto */
.size-dialog-options {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.size-radio {
  position: relative;
  cursor: pointer;
}
.size-radio input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.size-radio-chip {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.1rem;
  font-size: .92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid var(--line);
  border-radius: var(--r-full);
  background: var(--bg);
  color: var(--ink);
  transition: all .2s cubic-bezier(.2,.7,.2,1);
}
.size-radio:hover .size-radio-chip {
  border-color: var(--ink-2);
  transform: translateY(-1px);
}
.size-radio input:checked + .size-radio-chip {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 6px 16px rgba(26, 23, 20, .22);
}
.size-radio input:focus-visible + .size-radio-chip {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* stepper de cantidad dentro del diálogo */
.size-dialog-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--r-md);
}
.size-dialog-qty-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.size-dialog-qty .cart-item-qty {
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.size-dialog-confirm {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  /* override: este botón es naranja (acento marca), no verde WhatsApp,
     porque sólo agrega al pedido — el envío WhatsApp es desde el carrito */
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 6px 18px rgba(26, 23, 20, .25);
}
.size-dialog-confirm:hover {
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(184, 92, 56, .3);
}

/* responsive · móvil */
@media (max-width: 480px) {
  .size-dialog-inner { padding: 1.25rem; }
  .size-dialog-head h3 { font-size: 1.25rem; }
  .size-radio-chip { padding: .55rem .9rem; font-size: .88rem; }
}

/* ============================================================
   CINTA CINEMATOGRÁFICA · film strip RTL infinito
   ------------------------------------------------------------
   Estética: perforaciones de película tenues arriba/abajo,
   gradientes de fundido a los lados, frames con sombra suave.
   Animación: translateX -50% sobre el track duplicado → loop
   sin saltos. Pausa en hover/focus para que se pueda ver con
   calma e interactuar.
   ============================================================ */
.film-strip {
  position: relative;
  background: var(--bg-soft);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.film-strip-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
}
.film-strip-head .section-eyebrow,
.film-strip-head .section-title,
.film-strip-head .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.film-strip-head .section-title { max-width: 22ch; }
.film-strip-head .section-desc  { max-width: 38ch; margin-top: .75rem; }

/* perforaciones cinematográficas — sutiles, no gimmicky */
.film-strip::before, .film-strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--ink-2) 0 8px,
    transparent 8px 26px
  );
  opacity: .18;
  z-index: 2;
  pointer-events: none;
}
.film-strip::before { top: 12px; }
.film-strip::after  { bottom: 12px; }

.film-strip-reel {
  position: relative;
  padding-block: clamp(.5rem, 1.5vw, 1rem);
}

/* fundidos laterales para que el strip "respire" hacia el bg */
.film-fades::before, .film-fades::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 8vw, 100px);
  z-index: 3;
  pointer-events: none;
}
.film-fades::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-soft), rgba(244,237,224,0));
}
.film-fades::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-soft), rgba(244,237,224,0));
}

.film-track {
  display: flex;
  width: max-content;
  animation: filmRoll 80s linear infinite;
  will-change: transform;
}
/* el film strip mantiene su movimiento incluso al pasar el cursor
   por encima — sólo se pausa con foco de teclado para que un
   usuario navegando con Tab pueda seleccionar un frame */
.film-strip:focus-within .film-track { animation-play-state: paused; }

.film-frame {
  flex: 0 0 clamp(220px, 26vw, 300px);
  aspect-ratio: 3/4;
  margin-right: clamp(.85rem, 1.5vw, 1.4rem);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-1);
  background: #0a0a0a;
  transition: transform .3s ease, box-shadow .3s ease;
}
.film-frame:hover, .film-frame:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.film-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.film-frame:hover img { transform: scale(1.06); }
.film-frame-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1rem .75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10,10,10,.78) 60%);
  letter-spacing: -.01em;
}

@keyframes filmRoll {
  to { transform: translateX(-50%); }
}

/* en reduced-motion el film strip se detiene en un cuadro
   y se vuelve grid scrolleable normal */
@media (prefers-reduced-motion: reduce) {
  .film-track { animation: none !important; }
  .film-strip-reel { overflow-x: auto; }
}

/* ============================================================
   CÓMO PEDIR · 3 pasos numerados
   ============================================================ */
.how-to {
  background: var(--bg);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
  transition: transform .3s ease;
}
.step:hover { transform: translateY(-2px); }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: .5rem;
  font-weight: 500;
}
.step p { color: var(--muted); max-width: 32ch; font-size: .95rem; }

.how-to-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CTA BANNER · empuje final antes del footer
   ============================================================ */
.cta-banner {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,92,56,.08), transparent 70%),
    var(--bg-soft);
  padding: clamp(4rem, 9vw, 7rem) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-banner-inner { max-width: 720px; margin-inline: auto; }
.cta-banner .section-eyebrow {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}
.cta-banner .section-title {
  max-width: none;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw + 1rem, 4rem);
}
.cta-banner p {
  max-width: 50ch;
  margin: 0 auto 2.25rem;
  color: var(--ink-2);
  font-size: 1.1rem;
}

/* ============================================================
   BOTONES · variantes nuevas (WhatsApp principal, ghost line, XL)
   ============================================================ */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .95rem 1.85rem;
  border-radius: var(--r-full);
  background: #1faa56;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .3s ease, background .25s ease;
  box-shadow: 0 6px 18px rgba(31,170,86,.28);
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: #178244;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(31,170,86,.45);
}
.btn-whatsapp.btn-xl {
  padding: 1.15rem 2.4rem;
  font-size: 1.1rem;
}

/* botón WhatsApp ghost para el hero · sólido para sobrevivir
   el ciclo negro↔blanco del .hero-block detrás */
.btn-whatsapp-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  background: #1faa56;
  border: 1px solid #1faa56;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, background .25s ease, box-shadow .25s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(31,170,86,.35);
}
.btn-whatsapp-ghost svg { color: #fff; }
.btn-whatsapp-ghost:hover {
  background: #178244;
  border-color: #178244;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31,170,86,.5);
}

/* botón ghost minimalista con underline */
.btn-ghost-line {
  display: inline-flex;
  align-items: center;
  padding: .95rem 1.5rem;
  border-radius: var(--r-full);
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  border: 1px solid var(--line-strong);
  transition: border-color .2s ease, transform .15s ease, background .2s ease;
  background: transparent;
  text-decoration: none;
}
.btn-ghost-line:hover {
  border-color: var(--ink);
  background: var(--bg-elev);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER · socials y ajuste de columnas (ahora 4 col)
   ============================================================ */
.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
}
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .8rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #e9e3d6;
  font-size: .92rem;
  padding: .25rem 0;
  transition: color .25s ease, transform .2s ease;
}
.footer-social a:hover { color: var(--accent-soft); transform: translateX(3px); }
.footer-social svg {
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background .25s ease;
}
.footer-social a:hover svg { background: rgba(255,255,255,.16); }
.footer-tagline { font-style: italic; opacity: .8; }
