/* ============================================
   VITANERAL LANDING PAGE — STYLES
   ============================================ */

:root {
  /* Colores oficiales Manual de Marca Vitaneral */
  --primary: #F39600;
  --primary-dark: #D48200;
  --primary-light: #FFAA2B;
  --gold: #FFD700;
  --gold-light: #FFE44D;
  --brand-dark: #46454B;
  --dark: #46454B;
  --dark-soft: #3A393F;
  --gray-900: #46454B;
  --gray-700: #52515A; /* más oscuro para AAA (ratio ~8:1 sobre blanco) */
  --gray-500: #5A595F; /* subido de #64646E para mejorar contraste en textos secundarios (+60) */
  --gray-300: #D0D0D8;
  --gray-100: #F2F2F5;
  --warm-white: #F7F7FA;
  --white: #FFFFFF;
  /* Tipografía */
  --font: 'Plus Jakarta Sans', 'Exo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Exo', 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 2px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(243,150,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Easing curves (Emil Kowalski) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100000;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
html {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  background: var(--gray-900); /* matches footer — evita banda blanca en overscroll iOS */
  /* Garantiza scroll touch en todos los dispositivos (fix gama baja Android) */
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.75; /* generoso para lectura +60 */
  overflow-x: hidden;
  letter-spacing: -0.01em;
  width: 100%;
  min-width: 320px;
  /* NO usar overscroll-behavior-y: none — puede bloquear scroll en Android gama baja */
  touch-action: manipulation;
}

/* MODO LOW-END: dispositivos con poco RAM/CPU (detectado via JS con .low-end en html)
   Desactiva animaciones infinite y efectos caros para no bloquear scroll */
.low-end * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}
.low-end .solution__product img,
.low-end .science-section__bg video,
.low-end .hero__video-bg video {
  animation: none !important;
}
.low-end [class*="backdrop"],
.low-end .hero__badge-item,
.low-end .flavor-tab,
.low-end .science__card,
.low-end .navbar__mobile {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* FIX low-end Android: backdrop-filter es muy caro en GPU vieja y puede bloquear scroll.
   Lo reemplazamos por fondos opacos en dispositivos táctiles. */
@media (hover: none) and (pointer: coarse) {
  .hero__badge-item,
  .flavor-tab,
  .science-section .science__card,
  .navbar__mobile {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .hero__badge-item { background: rgba(0, 0, 0, 0.35); }
  .flavor-tab { background: rgba(255, 255, 255, 0.25); }
  .science-section .science__card { background: rgba(255, 255, 255, 0.12); }
  .navbar__mobile { background: var(--primary); }
}

/* PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  /* Safety: si JS falla totalmente, CSS oculta el preloader a los 4s */
  animation: preloaderSafetyHide 0s linear 4s forwards;
}
@keyframes preloaderSafetyHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  text-align: center;
}
.preloader__logo {
  width: 240px;
  height: auto;
  margin-bottom: 20px;
  animation: preloaderPulse 1s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.96); }
}
.preloader__bar {
  width: 160px;
  height: 3px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader__bar-fill {
  width: 0%;
  height: 100%;
  background: var(--primary);
  border-radius: 100px;
  animation: preloaderFill 0.9s ease-out forwards;
}
@keyframes preloaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
  transition: none;
}

/* WAVE DIVIDERS — hidden for clean AG1-style section breaks */
.wave-divider { display: none; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Focus visible — accesibilidad teclado */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.faq__question:focus-visible,
.nutri__tab:focus-visible,
.flavor-tab:focus-visible,
.footer__social-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4.5vw, 64px);
}
/* ULTRA-WIDE (monitores 2K+): padding lateral generoso para centrar mejor */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
}

/* PRINT: estilos básicos para imprimir info nutricional, FAQ, etc. */
@media print {
  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
    line-height: 1.5;
  }
  .navbar,
  .floating-cta,
  .back-to-top,
  .hero__video-bg,
  .science-section__bg,
  .flavor-hero__bg,
  .nutri-section__bg,
  .preloader,
  video,
  .hero__scroll-indicator,
  .compare-visual__swipe-hint,
  .testimonials__swipe-hint {
    display: none !important;
  }
  .hero { min-height: auto; padding: 20px 0; color: #000; }
  .hero__title, .section__title, h1, h2, h3 { color: #000; break-after: avoid; }
  a { color: #000; text-decoration: underline; }
  .btn { display: none !important; }
  section { break-inside: avoid; page-break-inside: avoid; padding: 16px 0; }
  .nutri__table { min-width: auto; font-size: 10pt; }
  img { max-width: 100%; height: auto; break-inside: avoid; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(243, 150, 0, 0.25); /* sombra base para destacar el CTA */
  transition: transform 0.18s var(--ease-out),
              background 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.btn::before { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(243,150,0,0.25);
  }
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}
.btn--lg { padding: 20px 48px; font-size: 1.05rem; }
.btn--sm { padding: 12px 26px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--primary);
}
.btn--white:hover {
  background: var(--warm-white);
  color: var(--primary-dark);
  box-shadow: 0 8px 32px rgba(255,255,255,0.3);
}

/* SECTIONS */
.section {
  padding: clamp(48px, 8vw, 120px) 0;
  position: relative;
}
.section--light { background: var(--warm-white); }
.section--compact { padding: 48px 0; }
.section--no-bottom { padding-bottom: 20px; }
.section--no-top { padding-top: 20px; }
.section--gradient {
  background: var(--gray-100);
}
.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.section--cta::before { display: none; }

.section__header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(32px, 5vw, 80px);
}
.section__tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(243, 150, 0, 0.08);
  color: var(--primary);
  margin-bottom: 24px;
}
.section__tag--light {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
}
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--gray-900);
  text-wrap: balance;
}
.hero__title,
.hmb-hero__title,
.flavor-hero__title,
.cta-final__inner h2 {
  text-wrap: balance;
}
.section__title--light { color: var(--white); }
.section__desc {
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.8;
  font-weight: 400;
}
.section__desc--light { color: rgba(255,255,255,0.7); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  padding-top: max(16px, env(safe-area-inset-top));
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: var(--primary);
  border-bottom: none;
}
.navbar.scrolled {
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(243,150,0,0.25);
  padding: 10px 0;
  padding-top: calc(10px + env(safe-area-inset-top));
  border-bottom: none;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.navbar__logo-img {
  height: 56px;
  width: auto;
  transition: var(--transition);
}
.navbar__logo-img {
  filter: brightness(0) invert(1);
}
.navbar.scrolled .navbar__logo-img {
  filter: brightness(0) invert(1);
}
.navbar__links {
  display: flex;
  gap: 40px;
}
.navbar__links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
}
.navbar__links a:hover {
  color: var(--white);
}
.navbar__links a:hover::after { width: 100%; }
.navbar__links a.active::after { width: 100%; }
.navbar.scrolled .navbar__links a { color: rgba(255,255,255,0.9); }
.navbar__links a.active { color: var(--white); }
.navbar.scrolled .navbar__links a.active { color: var(--white); }
.navbar__cta {
  display: none;
  background: var(--white);
  color: var(--primary);
  border: none;
}
.navbar__cta:hover {
  background: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  box-shadow: none;
}
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: background 0.25s var(--ease-out);
  position: relative;
  z-index: 1001; /* por encima del overlay del menu */
}
.navbar__hamburger.active {
  background: rgba(255, 255, 255, 0.2);
}
.navbar__hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out);
  border-radius: 3px;
}
.navbar.scrolled .navbar__hamburger span,
.navbar__hamburger.active span { background: var(--white); }
/* X más pronunciada y clara para +60 */
.navbar__hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
/* Mobile menu: overlay fullscreen premium */
.navbar__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999; /* debajo del navbar (1000) para que logo y X queden visibles */
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: calc(72px + env(safe-area-inset-top)) 32px calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity 0.45s var(--ease-out),
              transform 0.5s var(--ease-out),
              visibility 0.45s;
  overflow-y: auto;
}
.navbar__mobile.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar__mobile ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.navbar__mobile li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.navbar__mobile.active li {
  opacity: 1;
  transform: translateX(0);
}
.navbar__mobile.active li:nth-child(1) { transition-delay: 0.08s; }
.navbar__mobile.active li:nth-child(2) { transition-delay: 0.14s; }
.navbar__mobile.active li:nth-child(3) { transition-delay: 0.20s; }
.navbar__mobile.active li:nth-child(4) { transition-delay: 0.26s; }
.navbar__mobile.active li:nth-child(5) { transition-delay: 0.32s; }
.navbar__mobile.active li:nth-child(6) { transition-delay: 0.38s; }
.navbar__mobile.active li:nth-child(7) { transition-delay: 0.44s; }
.navbar__mobile.active li:nth-child(8) { transition-delay: 0.52s; }
.navbar__mobile a {
  font-size: 1.45rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  min-height: 56px;
  border-radius: 14px;
  transition: background 0.25s var(--ease-out), transform 0.15s var(--ease-out);
}
.navbar__mobile a:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.985);
}
.navbar__mobile a svg {
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.navbar__mobile li:last-child a {
  margin-top: 16px;
  background: var(--white);
  color: var(--primary);
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.navbar__mobile li:last-child a svg {
  color: var(--primary);
}
/* Body scroll lock cuando menu abierto */
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .navbar__cta { display: inline-flex; }
}
@media (max-width: 1023px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
}

/* ============================================
   01. HERO
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh; /* small viewport height — constante aunque aparezca/se oculte la URL bar */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--dark);
}
.hero__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero__video-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 60px 0;
}
.hero__content { color: var(--white); }
.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(243,150,0,0.2);
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.3);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 900px;
}
.hero__desc {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
/* Hero CTA */
.hero__cta {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 32px;
  padding: 20px 52px;
  font-size: 1.1rem;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(243,150,0,0.4);
  z-index: 5;
  position: relative;
}
.hero__cta:hover {
  box-shadow: 0 6px 32px rgba(243,150,0,0.5);
}

/* Hero badges — AG1 style */
.hero__badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 72px;
  flex-wrap: wrap;
}
.hero__badge-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.25;
}
.hero__badge-item > span {
  flex: 1;
  min-width: 0;
}
.hero__badge-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}
.hero__badge-item strong {
  color: var(--white);
  font-weight: 700;
}


/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  z-index: 4;
}
.hero__scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================
   02. PROBLEMA
   ============================================ */
.problem__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.problem__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.9);
  transition: opacity 0.8s var(--ease-out),
              transform 0.9s var(--ease-drawer);
  will-change: transform, opacity;
}
/* Cada card entra desde un ángulo ligeramente distinto para feel más orgánico */
.problem__card:nth-child(1) {
  transform: translate3d(-16px, 48px, 0) scale(0.9) rotate(-1.5deg);
}
.problem__card:nth-child(3) {
  transform: translate3d(16px, 48px, 0) scale(0.9) rotate(1.5deg);
}
.problem__card.is-visible,
.problem__card:nth-child(1).is-visible,
.problem__card:nth-child(3).is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0);
}
.problem__card::before { display: none; }
.problem__card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: var(--gray-100);
}
.problem__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.14);
  transition: transform 1.4s var(--ease-out);
}
.problem__card:nth-child(2) .problem__card-img img {
  object-position: center 15%;
}
.problem__card.is-visible .problem__card-img img {
  transform: scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .problem__card.is-visible:hover .problem__card-img img {
    transform: scale(1.04);
  }
}
.problem__card-body {
  padding: 0 4px;
}
.problem__card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--gray-900);
  min-height: calc(1.25em * 2);
  text-wrap: balance;
  display: block;
}
.problem__card p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.75;
}
@media (prefers-reduced-motion: reduce) {
  .problem__card { transition: opacity 0.3s ease; transform: none; }
  .problem__card.is-visible { transform: none; }
  .problem__card-img img { transition: none; }
  .problem__card:hover .problem__card-img img { transform: none; }
}

/* ============================================
   03. SOLUCIÓN
   ============================================ */
.solution__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
/* ============================================
   04. HMB HERO — Split layout
   ============================================ */
.hmb-hero {
  overflow: hidden;
  background: var(--gray-100);
}
.hmb-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 900px) {
  .hmb-hero__layout {
    grid-template-columns: 1fr;
  }
}
.hmb-hero__image {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hmb-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: inset(0 100% 0 0);
  transform: scale(1.08);
  transition: clip-path 1.1s var(--ease-in-out),
              transform 1.4s var(--ease-out);
  will-change: clip-path, transform;
}
.hmb-hero__image.is-visible img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .hmb-hero__image img {
    clip-path: none;
    transform: none;
    transition: none;
  }
}
.hmb-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}
.hmb-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.hmb-hero__desc {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 20px;
}
.hmb-hero__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.hmb-hero__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: box-shadow 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hmb-hero__card:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
    border-color: var(--primary-light);
  }
}
.hmb-hero__card-number {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  min-width: 50px;
}
.hmb-hero__card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(243,150,0,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hmb-hero__card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hmb-hero__card-text strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
}
.hmb-hero__card-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

@media (max-width: 767px) {
  .hmb-hero__layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hmb-hero__image {
    width: 100%;
  }
  .hmb-hero__content {
    padding: 40px 20px;
  }
  .hmb-hero__title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .hmb-hero__cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hmb-hero__card {
    padding: 16px;
  }
  .hmb-hero__card-number {
    font-size: 1.3rem;
    min-width: 50px;
  }
  .hmb-hero__card-text strong { font-size: 0.95rem; }
  .hmb-hero__card-text span { font-size: 0.88rem; color: var(--gray-700); }
}

/* ============================================
   05. BENEFICIOS
   ============================================ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.benefit__card {
  text-align: center;
  padding: 48px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.95);
  transition: opacity 0.55s var(--ease-out),
              transform 0.55s var(--ease-out),
              box-shadow 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}
.benefit__card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.benefit__card::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  .benefit__card.is-visible:hover {
    transform: translate3d(0, -4px, 0) scale(1);
    box-shadow: var(--shadow);
    border-color: rgba(243,150,0,0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .benefit__card { opacity: 1; transform: none; transition: none; }
}
.benefit__icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.benefit__icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
/* Formula badge hanging from card */
.benefit__card--formula {
  position: relative;
  overflow: visible;
}
.benefit__card--formula .benefit__icon {
  visibility: hidden;
}
.benefit__card--formula h3 {
  visibility: hidden;
}
.benefit__formula-badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.benefit__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.benefit__card p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.75;
}

/* ============================================
   06. COMPARATIVA — Visual cards
   ============================================ */
.compare-visual {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: clamp(12px, 2vw, 20px);
  align-items: stretch;
}
.compare-visual__swipe-hint,
.testimonials__swipe-hint { display: none; }
@media (max-width: 900px) {
  .compare-visual__swipe-hint,
  .testimonials__swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px auto 0;
    padding: 10px 20px;
    border-radius: 100px;
    background: rgba(243, 150, 0, 0.12);
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 600;
    max-width: fit-content;
  }
  .compare-visual__swipe-hint svg,
  .testimonials__swipe-hint svg { flex-shrink: 0; }
  .compare-visual__swipe-hint svg:first-child,
  .testimonials__swipe-hint svg:first-child { animation: hint-arrow-l 1.8s ease-in-out infinite; }
  .compare-visual__swipe-hint svg:last-child,
  .testimonials__swipe-hint svg:last-child { animation: hint-arrow-r 1.8s ease-in-out infinite; }
  @keyframes hint-arrow-l {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(-3px); opacity: 1; }
  }
  @keyframes hint-arrow-r {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(3px); opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .compare-visual__swipe-hint svg,
    .testimonials__swipe-hint svg { animation: none; }
  }
}
/* Swipe hint: micro-bounce del primer card para sugerir swipe */
@keyframes carousel-swipe-hint {
  0% { transform: translateX(0); }
  35% { transform: translateX(-24px); }
  70% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .compare-visual.is-hinted .compare-visual__card--main,
  .testimonials__grid.is-hinted .testimonial__card:first-child { animation: none; }
}

@media (max-width: 900px) {
  .compare-visual.is-hinted .compare-visual__card--main {
    animation: carousel-swipe-hint 1.1s var(--ease-in-out) 1;
  }

  /* Carrusel horizontal con snap — evita scroll vertical infinito */
  .compare-visual {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding: 8px 20px 24px;
    margin-left: clamp(-64px, -4vw, -20px);
    margin-right: clamp(-64px, -4vw, -20px);
    scroll-padding-inline: 20px;
  }
  .compare-visual::-webkit-scrollbar { display: none; }
  .compare-visual__card {
    flex: 0 0 calc(86% - 14px);
    max-width: 360px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 24px 20px;
  }
  /* Orden mobile: Vitaneral primero → Suplementos básicos → Proteína común */
  .compare-visual__card--main { order: -2; }
  .compare-visual__card--side:nth-of-type(3) { order: -1; }
  .compare-visual__card:hover { transform: none; }
  .compare-visual__card:active {
    transform: scale(0.985);
    transition: transform 0.12s ease-out;
  }
}
.compare-visual__card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .compare-visual__card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: var(--shadow-lg);
  }
}
.compare-visual__card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--gray-900);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-300);
  width: 100%;
  text-align: center;
}
.compare-visual__card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.compare-visual__card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-900);
  padding: 2px 0;
  line-height: 1.35;
}
.compare-visual__card li span {
  font-size: 0.95rem;
  font-weight: 700;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.35s var(--ease-out),
              transform 0.45s var(--ease-out);
}
.compare-visual__card li span.pop-in {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .compare-visual__card li span { opacity: 1; transform: none; transition: none; }
}
/* Side cards */
.compare-visual__card--side {
  background: var(--warm-white);
  border: 1px solid var(--gray-100);
}
.compare-visual__card--side:hover {
  box-shadow: var(--shadow);
}
.compare-visual__card--side h4 {
  color: var(--gray-900);
  font-size: 1.05rem;
  border-bottom-color: var(--gray-100);
}
/* Main card */
.compare-visual__card--main {
  background: var(--white);
  border: 2px solid var(--primary);
  padding: 48px 40px;
  box-shadow: 0 12px 48px rgba(243,150,0,0.15);
  position: relative;
}
.compare-visual__card--main:hover {
  box-shadow: 0 16px 56px rgba(243,150,0,0.2);
}
.compare-visual__card--main h4 {
  font-size: 1.5rem;
  color: var(--primary);
  border-bottom-color: rgba(243,150,0,0.2);
}
.compare-visual__badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--primary);
  color: var(--white);
  margin-bottom: 20px;
}
.compare-visual__card--main .btn {
  margin-top: 32px;
  width: 100%;
  justify-content: center;
}
/* Check / X styles */
.compare-visual__yes span {
  background: rgba(243,150,0,0.1);
  color: var(--primary);
}
.compare-visual__card--main .compare-visual__yes span {
  background: var(--primary);
  color: var(--white);
}
.compare-visual__no span {
  background: var(--gray-100);
  color: var(--gray-300);
}
.compare-visual__muted span {
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 0.9rem;
}
.compare-visual__no {
  opacity: 0.7;
}
.compare-visual__no span {
  background: var(--gray-100);
  color: var(--gray-500);
}
.compare-visual__muted {
  opacity: 0.8;
}
.compare-visual__muted span {
  background: #FFF3E0;
  color: var(--primary);
}

/* Compare cards — old mobile version */
.compare__cards { display: none; }
.compare__variable {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
}

/* Compare cards — mobile only */
.compare__cards { display: none; }

/* ============================================
   07. SABORES — Flavor hero full width bg swap
   ============================================ */
.flavor-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.flavor-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.55s var(--ease-out),
              filter 0.55s var(--ease-out);
}
.flavor-hero__bg.active {
  opacity: 1;
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .flavor-hero__bg { filter: none; transition: opacity 0.25s ease; }
}
.flavor-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flavor-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.flavor-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
}
.flavor-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.flavor-hero__desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.flavor-hero__tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.flavor-tab {
  padding: 14px 44px;
  min-height: 48px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: transform 0.18s var(--ease-out),
              background 0.2s var(--ease-out),
              color 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .flavor-tab:hover {
    background: rgba(255,255,255,0.25);
    color: var(--white);
  }
}
.flavor-tab:active {
  transform: scale(0.96);
  transition-duration: 0.1s;
}
.flavor-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 767px) {
  /* Mobile: mantiene el layout desktop (imagen full-bleed + overlay + contenido encima)
     La imagen 9:16 mobile ya se sirve por <picture> con media query */
  .flavor-hero {
    min-height: clamp(560px, 90vh, 720px);
  }
  .flavor-hero__content {
    padding: 72px 20px 56px;
  }
  .flavor-hero__title {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.2;
  }
  .flavor-hero__desc {
    font-size: 1rem;
  }
  .flavor-hero__overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.25) 100%);
  }
  .flavor-tab {
    padding: 12px 26px;
    font-size: 0.95rem;
    min-height: 44px;
  }
}

/* ============================================
   08. TESTIMONIOS
   ============================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.testimonial__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: none;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.55s var(--ease-out),
              transform 0.55s var(--ease-out),
              box-shadow 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}
.testimonial__card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.testimonial__card::before { display: none; }
@media (hover: hover) and (pointer: fine) {
  .testimonial__card.is-visible:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: var(--shadow);
    border-color: var(--gray-300);
  }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial__card { opacity: 1; transform: none; transition: none; }
}
.testimonial__quote-mark {
  display: none;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: Georgia, serif;
}
.testimonial__stars {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.testimonial__card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial__author strong {
  display: block;
  font-size: 1.02rem;
  color: var(--gray-900);
}
.testimonial__author span {
  font-size: 0.95rem;
  color: var(--gray-700);
}
.testimonial__time {
  display: block;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.3px;
}

/* ============================================
   09. FAQ
   ============================================ */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--gray-100);
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}
.faq__item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .faq__item { opacity: 1; transform: none; transition: none; }
}
.faq__question {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  transition: color 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .faq__question:hover { color: var(--primary); }
}
.faq__chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  transition: transform 0.3s var(--ease-out), color 0.25s var(--ease-out);
  color: var(--primary);
}
.faq__item.active .faq__chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  /* Cerrar rápido (respuesta del sistema) */
  transition: max-height 0.22s var(--ease-out);
}
.faq__item.active .faq__answer {
  max-height: 500px;
  /* Abrir más lento (usuario está decidiendo mirar la respuesta) */
  transition: max-height 0.42s var(--ease-out);
}
.faq__answer p {
  padding: 0 0 24px;
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* ============================================
   11. NATUFARMA
   ============================================ */
.natufarma__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.natufarma__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.natufarma__logo-img {
  width: 120px;
  height: auto;
}
.natufarma__info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.natufarma__info p {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================
   12. CTA FINAL
   ============================================ */
.cta-final__inner {
  text-align: center;
  padding: 20px 0;
}
.cta-final__inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
}
.cta-final__inner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   13. FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding-top: 80px;
}
.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { max-width: 360px; }
.footer__logo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__logo-natufarma {
  width: 80px;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer__brand p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer__location svg {
  color: var(--primary-light);
  flex-shrink: 0;
}
.footer__links h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__links h4 svg {
  color: var(--primary-light);
  flex-shrink: 0;
}
.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.footer__links a svg {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover {
    color: var(--primary-light);
  }
  .footer__links a:hover svg {
    transform: translateX(3px);
  }
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  transition: background 0.25s var(--ease-out),
              transform 0.2s var(--ease-out),
              color 0.25s var(--ease-out);
}
.footer__social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.footer__disclaimer {
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__bottom {
  padding: 24px 0;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   INFORMACIÓN NUTRICIONAL
   ============================================ */
.nutri-section {
  position: relative;
  background: var(--dark);
}
.nutri-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.nutri-section__bg.active {
  opacity: 1;
}
.nutri-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nutri-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.3);
  z-index: 1;
}
.nutri-section .container {
  position: relative;
  z-index: 2;
}
.nutri {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.nutri__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.nutri__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  background: rgba(255,255,255,0.7);
  transition: transform 0.18s var(--ease-out),
              background 0.25s var(--ease-out),
              color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out);
  cursor: pointer;
  border: 2px solid transparent;
}
@media (hover: hover) and (pointer: fine) {
  .nutri__tab:hover {
    color: var(--gray-900);
    background: rgba(255,255,255,0.85);
  }
}
.nutri__tab:active {
  transform: scale(0.96);
  transition-duration: 0.1s;
}
.nutri__tab.active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}
.nutri__tab-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.nutri__tab-dot--vainilla { background: #F5DEB3; }
.nutri__tab-dot--chocolate { background: #6B3A2A; }
.nutri__tab.active .nutri__tab-dot--vainilla { background: #FFF3D6; }
.nutri__tab.active .nutri__tab-dot--chocolate { background: #A0522D; }

.nutri__panel {
  display: none;
  animation: nutriFadeIn 0.4s ease;
}
.nutri__panel.active { display: block; }
@keyframes nutriFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.nutri__highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.nutri__highlight {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}
.nutri__highlight:hover {
  border-color: rgba(243,150,0,0.3);
  transform: translateY(-2px);
}
.nutri__highlight-value {
  display: inline;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.nutri__highlight-unit {
  display: inline;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.nutri__highlight-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nutri__collapsible {
  margin-bottom: 20px;
}
.nutri__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.7);
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  margin-bottom: 0;
}
.nutri__toggle:hover {
  background: rgba(255,255,255,0.85);
  color: var(--primary);
  border-color: rgba(243,150,0,0.2);
}
.nutri__toggle-icon {
  transition: transform 0.3s ease;
}
.nutri__collapsible.open .nutri__toggle-icon {
  transform: rotate(180deg);
}
.nutri__collapsible.open .nutri__toggle span {
  color: var(--primary);
}
.nutri__collapsible .nutri__table-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin 0.3s ease;
  margin-top: 0;
}
.nutri__collapsible.open .nutri__table-wrapper {
  max-height: 1500px;
  margin-top: 16px;
}
.nutri__collapsible.open .nutri__table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.nutri__collapsible.open .nutri__table-wrapper-old {
  display: none;
}
.nutri__table-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.nutri__collapsible.open .nutri__table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nutri__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.nutri__table thead {
  background: var(--gray-900);
  color: var(--white);
}
.nutri__table th {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nutri__table th:last-child { text-align: center; }
.nutri__table td {
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.nutri__table td:last-child {
  text-align: center;
  font-weight: 600;
  color: var(--gray-500);
}
.nutri__table tbody tr {
  transition: background 0.2s ease;
}
.nutri__table tbody tr:hover { background: var(--gray-100); }
.nutri__row--highlight {
  background: rgba(243,150,0,0.06) !important;
}
.nutri__row--highlight td {
  color: var(--primary) !important;
  font-weight: 700 !important;
}
.nutri__note {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.6;
  padding: 12px 0;
}


/* ============================================
   FULLWIDTH IMAGE SECTION
   ============================================ */
/* Galería VAMOS X TODO */
.vamos-gallery {
  padding: 0;
}
.vamos-gallery {
  margin-bottom: 80px;
}
.vamos-gallery__item {
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.88);
  transition: opacity 0.8s var(--ease-out),
              transform 0.9s var(--ease-drawer);
  will-change: transform, opacity;
}
/* Alternating lateral entry */
.vamos-gallery__item:nth-child(1) {
  transform: translate3d(-32px, 40px, 0) scale(0.88) rotate(-1.2deg);
}
.vamos-gallery__item:nth-child(3) {
  transform: translate3d(32px, 40px, 0) scale(0.88) rotate(1.2deg);
}
.vamos-gallery__item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0);
}
/* Kenburns interno: imagen arranca más grande, se asienta */
.vamos-gallery__item img {
  transform: scale(1.1);
  transition: transform 1.6s var(--ease-out);
}
.vamos-gallery__item.is-visible img {
  transform: scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .vamos-gallery__item.is-visible:hover img {
    transform: scale(1.04);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vamos-gallery__item,
  .vamos-gallery__item img { opacity: 1; transform: none; transition: none; }
}
/* ============================================
   CIENCIA Y CERTIFICACIONES (dark section con video atmósfera)
   ============================================ */
.science-section {
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
}
.science-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.science-section__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: saturate(0.85);
}
.science-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(56, 54, 60, 0.58) 0%,
    rgba(56, 54, 60, 0.42) 50%,
    rgba(56, 54, 60, 0.62) 100%);
}
.science-section > .container {
  position: relative;
  z-index: 1;
}
/* Tipografía clara sobre fondo oscuro */
.science-section .section__tag {
  background: rgba(243, 150, 0, 0.18);
  color: var(--primary-light);
}
.science-section .section__title {
  color: var(--white);
}
.science-section .section__desc {
  color: rgba(255, 255, 255, 0.78);
}
/* Cards glass sobre fondo oscuro */
.science-section .science__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}
.science-section .science__card h3 {
  color: var(--white);
}
.science-section .science__card p {
  color: rgba(255, 255, 255, 0.75);
}
.science-section .science__icon {
  background: rgba(243, 150, 0, 0.18);
  color: var(--primary-light);
}
@media (hover: hover) and (pointer: fine) {
  .science-section .science__card.is-visible:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(243, 150, 0, 0.35);
    transform: translate3d(0, -4px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .science-section__bg video { display: none; }
}
.science__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(32px, 4vw, 48px);
}
.science__card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.5vw, 28px) clamp(20px, 2vw, 26px);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.55s var(--ease-out),
              transform 0.55s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.3s var(--ease-out);
  will-change: transform, opacity;
}
.science__card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (hover: hover) and (pointer: fine) {
  .science__card.is-visible:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: var(--shadow);
    border-color: rgba(243, 150, 0, 0.25);
  }
  .science__card.is-visible:hover .science__icon {
    transform: scale(1.08) rotate(-6deg);
    background: rgba(243, 150, 0, 0.18);
  }
}
.science__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(243, 150, 0, 0.10);
  color: var(--primary-dark);
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.5s var(--ease-out) 0.15s,
              opacity 0.4s var(--ease-out) 0.15s,
              background 0.3s var(--ease-out);
}
.science__card.is-visible .science__icon {
  transform: scale(1);
  opacity: 1;
}
.science__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  transition: transform 0.3s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .science__card,
  .science__icon {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.science__card h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: 8px;
}
/* Botón visible dentro de la card "Respaldo científico" para +60 */
.science__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: 100px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(243, 150, 0, 0.25);
  transition: transform 0.18s var(--ease-out),
              background 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}
.science__card-btn svg {
  transition: transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .science__card--link:hover .science__card-btn {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(243, 150, 0, 0.35);
  }
  .science__card--link:hover .science__card-btn svg {
    transform: translate(2px, -2px);
  }
}
.science__card--link:active .science__card-btn {
  transform: scale(0.97);
}
.science__card p {
  font-size: 0.98rem;
  color: var(--gray-700);
  line-height: 1.55;
}
@media (max-width: 767px) {
  .science__grid { grid-template-columns: 1fr; gap: 14px; }
  .science__card { padding: 22px 20px; }
  .science__card h3 { font-size: 1.05rem; }
  .science__card p { font-size: 0.98rem; }
}

.vamos-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.vamos-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
@media (max-width: 767px) {
  .vamos-gallery__grid { grid-template-columns: 1fr; gap: 14px; }
  .vamos-gallery__item { border-radius: 16px; overflow: hidden; }
}
/* ============================================
   ANIMATIONS (reveal base)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Curtain effect */
.curtain-section {
  position: relative;
  z-index: 2;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.1);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(243,150,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.25s var(--ease-out),
              visibility 0.25s var(--ease-out),
              transform 0.25s var(--ease-out),
              background 0.2s var(--ease-out);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}
@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    background: var(--primary-dark);
    transform: translate3d(0, -2px, 0);
  }
}
.back-to-top:active {
  transform: scale(0.93);
  transition-duration: 0.1s;
}

/* Floating CTA — hidden on desktop */
.floating-cta { display: none; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* TABLET (iPad portrait y landscape, 768-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Beneficios: 2x2 grid (en vez de 3+1) */
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }

  /* Ciencia: 2x2 + 1 en vez de 5 columnas irregulares */
  .science__grid { grid-template-columns: repeat(2, 1fr); }

  /* Features (10g / 2.56g / 19): 3 en línea con padding ajustado */
  .solution__feature-card { padding: 28px 20px; }

  /* HMB cards: 2x2 compacto */
  .hmb-hero__cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .section__title { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.4rem); line-height: 1.2; }
  .section__desc { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem); line-height: 1.7; }

  /* HERO MOBILE — fluid responsive: escala suave entre 320px y 768px */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    /* Paddings para bajar el contenido al centro visual (más abajo = se ve más foto arriba) */
    padding-top: clamp(140px, 20vh, 200px);
    padding-bottom: clamp(70px, 10vh, 100px);
  }
  .hero__inner {
    padding: 0 clamp(8px, 2vw, 16px);
  }
  .hero__title {
    /* Escalado fluido: 1.85rem en 320px → 2.4rem en 768px */
    font-size: clamp(1.85rem, 1.5rem + 1.8vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    margin-bottom: clamp(12px, 2.5vw, 18px);
  }
  .hero__badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(8px, 1.5vw, 12px);
    margin-top: clamp(28px, 6vw, 48px);
    max-width: 100%;
  }
  .hero__badge-item {
    padding: clamp(10px, 2vw, 14px) clamp(12px, 2.5vw, 18px);
    font-size: clamp(0.8rem, 0.65rem + 0.7vw, 0.95rem);
    gap: 12px;
    border-radius: 14px;
    justify-content: flex-start;
    text-align: left;
  }
  .hero__badge-item > span {
    flex: 1;
    min-width: 0;
  }
  .hero__badge-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .hero__badge-item svg {
    width: 16px;
    height: 16px;
  }
  .hero__desc {
    font-size: clamp(0.98rem, 0.85rem + 0.5vw, 1.15rem);
    line-height: 1.55;
    margin: 0 auto clamp(16px, 3vw, 22px);
    max-width: 100%;
  }
  .hero__cta {
    width: 100%;
    justify-content: center;
    padding: clamp(15px, 3.5vw, 20px) clamp(24px, 5vw, 36px);
    font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.1rem);
  }
  /* Scroll indicator mobile — visible y compacto (más abajo para no pegarse a los badges) */
  .hero__scroll-indicator {
    bottom: 6px;
    font-size: 0.82rem;
    gap: 4px;
    opacity: 0.95;
  }
  .hero__scroll-indicator svg {
    width: 20px;
    height: 20px;
  }
}

/* LANDSCAPE MOBILE (teléfono rotado): hero compacto */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 32px;
  }
  .hero__title { font-size: clamp(1.5rem, 3.5vh, 2rem); margin-bottom: 8px; }
  .hero__desc { font-size: 1rem; margin-bottom: 14px; }
  .hero__badges { margin-top: 18px; gap: 8px; }
  .hero__badge-item { padding: 8px 12px; font-size: 0.78rem; }
  .hero__badge-icon { width: 22px; height: 22px; }
  .hero__scroll-indicator { display: none; }
  /* Carruseles aún más compactos en landscape */
  .flavor-hero { min-height: auto; }
  .flavor-hero__content { padding: 48px 20px 36px; }
}

/* MOBILE PORTRAIT — resto de reglas mobile (navbar, cards, footer, etc.) */
@media (max-width: 767px) {
  /* NAVBAR MOBILE */
  .navbar {
    padding: 12px 0;
  }
  .navbar__logo-img {
    height: 48px;
  }
  .navbar__hamburger {
    padding: 8px;
    gap: 6px;
  }
  .navbar__hamburger span {
    width: 28px;
    height: 3px;
  }

  /* SECTIONS */
  /* Container */

  .problem__cards { grid-template-columns: 1fr; gap: 24px; }
  .problem__card-img { border-radius: 18px; }
  .problem__card h3 {
    font-size: 1.2rem;
    min-height: 0; /* en mobile 1 columna no hace falta forzar altura */
  }
  .problem__card p { font-size: 1rem; }

  .solution__grid { flex-direction: column; }
  .solution__card { padding: 24px 20px; }
  .solution__plus { font-size: 2rem; }
  .solution__result { padding: 24px 20px; }
  .solution__hmb-badge { max-width: 100%; }


  .benefits__grid { grid-template-columns: 1fr; gap: 16px; }
  .benefit__card { padding: 24px 20px; }
  .benefit__card h3 { font-size: 1.1rem; }
  .benefit__card p { font-size: 1rem; }


  .testimonials__grid.is-hinted .testimonial__card:first-child {
    animation: carousel-swipe-hint 1.1s var(--ease-in-out) 1;
  }
  /* Testimonios: carrusel horizontal con snap en mobile */
  .testimonials__grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding: 8px 20px 24px;
    margin-left: clamp(-64px, -4vw, -20px);
    margin-right: clamp(-64px, -4vw, -20px);
    scroll-padding-inline: 20px;
  }
  .testimonials__grid::-webkit-scrollbar { display: none; }
  .testimonial__card {
    flex: 0 0 calc(86% - 14px);
    max-width: 360px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 28px 22px;
  }
  .testimonial__card:hover { transform: none; }
  .testimonial__card:active {
    transform: scale(0.985);
    transition: transform 0.12s ease-out;
  }
  .testimonial__quote-mark { font-size: 2.5rem; }

  .compare-visual {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .compare-visual__card--main {
    order: -1;
    padding: 32px 24px;
  }
  .compare-visual__card--side {
    padding: 24px 20px;
  }
  .compare-visual__card h4 { font-size: 1rem; }
  .compare-visual__card--main h4 { font-size: 1.3rem; }
  .compare-visual__card li { font-size: 1rem; gap: 10px; }
  .compare-visual__card li span { width: 28px; height: 28px; font-size: 1rem; }
  .compare__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .compare__card-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
  }
  .compare__card-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
  }
  .compare__card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--gray-700);
  }
  .compare__card-row:not(:last-child) {
    border-bottom: 1px solid var(--gray-100);
  }
  .compare__card-row .compare__yes {
    font-size: 1.1rem;
  }
  .compare__card-row .compare__no {
    font-size: 1.1rem;
  }

  .nutri__highlights { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .nutri__highlight { padding: 16px 10px; }
  .nutri__highlight-value { font-size: 1.3rem; }
  .nutri__tabs { gap: 8px; }
  .nutri__tab { padding: 14px 20px; font-size: 1rem; min-height: 48px; }
  .nutri__table { min-width: 480px; }
  .nutri__table th,
  .nutri__table td {
    padding: 12px 14px;
    font-size: 0.98rem;
  }

  .faq__question {
    font-size: 1.02rem;
    padding: 16px 0;
  }

  .natufarma__inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }
  .natufarma__logo-img { width: 80px; }
  .natufarma__info h3 { font-size: 1.1rem; }

  .cta-final__inner h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .cta-final__inner p {
    font-size: 1rem;
  }

  /* Footer mobile — compacto pero informativo */
  .footer { padding-top: 28px; }
  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: none;
    gap: 14px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: none;
  }
  .footer__brand {
    grid-column: auto;
    max-width: 340px;
    margin: 0;
  }
  .footer__logo {
    justify-content: center;
    margin-bottom: 10px;
  }
  .footer__logo-natufarma { width: 72px; height: auto; }
  .footer__brand p {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .footer__location {
    margin: 0 auto;
    font-size: 0.82rem;
    padding: 6px 12px;
  }

  /* Columna Producto oculta (ya está en hamburger) */
  .footer__links:first-of-type { display: none; }
  /* Columna Contacto: ocultamos h4 pero mostramos links externos + social */
  .footer__links { width: 100%; }
  .footer__links h4 { display: none; }
  .footer__links ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
    margin: 0 0 10px;
  }
  .footer__links a {
    font-size: 0.92rem;
    padding: 4px 2px;
    justify-content: center;
  }
  .footer__links ul a svg { display: none; }
  .footer__social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
  }
  .footer__social-link { width: 40px; height: 40px; }
  .footer__social-link svg { width: 18px; height: 18px; }

  .footer__disclaimer {
    padding: 12px 16px;
    font-size: 0.78rem;
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer__bottom {
    padding: 8px 0 calc(10px + env(safe-area-inset-bottom));
    font-size: 0.78rem;
    opacity: 0.65;
  }

  /* Floating CTA se oculta automáticamente al llegar al footer (JS) — no hace falta padding extra */

  /* Floating CTA mobile */
  .floating-cta {
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 16px;
    right: 16px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    min-height: 56px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 6px 24px rgba(243,150,0,0.4);
    text-decoration: none;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease, background 0.2s ease;
  }
  .floating-cta.visible {
    transform: translateY(0);
    opacity: 1;
  }
  .floating-cta:active {
    background: var(--primary-dark);
    transform: scale(0.97);
  }

  /* Back to top: above floating CTA on mobile — tap target 48px para +60 */
  .back-to-top {
    bottom: max(90px, calc(76px + env(safe-area-inset-bottom)));
    right: 12px;
    width: 48px;
    height: 48px;
  }

  /* Wave dividers smaller on mobile */
  /* wave dividers hidden globally */
}

/* Product images */
.solution__products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 3vw, 40px);
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.solution__product {
  position: relative;
  perspective: 1200px;
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.94);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}
.solution__product.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .solution__product {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.solution__product::before {
  content: '';
  position: absolute;
  inset: 10% 8% 10% 8%;
  background: radial-gradient(ellipse at center, rgba(243, 150, 0, 0.22) 0%, rgba(243, 150, 0, 0) 65%);
  filter: blur(36px);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 0;
}
.solution__product img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.18))
          drop-shadow(0 6px 8px rgba(0, 0, 0, 0.10));
  animation: float-product 5.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.solution__product:nth-child(2) img {
  animation-delay: -2.9s;
}
@keyframes float-product {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (hover: hover) and (pointer: fine) {
  .solution__product:hover::before {
    opacity: 1;
    transform: scale(1);
  }
  .solution__product:hover img {
    animation-play-state: paused;
    transform: translateY(-14px) scale(1.035) rotateY(-4deg) rotateX(2deg);
    filter: drop-shadow(0 34px 28px rgba(0, 0, 0, 0.22))
            drop-shadow(0 10px 14px rgba(0, 0, 0, 0.14));
  }
  .solution__product:nth-child(2):hover img {
    transform: translateY(-14px) scale(1.035) rotateY(4deg) rotateX(2deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .solution__product img { animation: none; transition: none; }
  .solution__product::before { display: none; }
}
@media (max-width: 767px) {
  .solution__products {
    gap: 16px;
    max-width: 100%;
  }
}

/* Feature cards below video */
.solution__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
}
.solution__feature-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.96);
  transition: opacity 0.55s var(--ease-out),
              transform 0.55s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
  will-change: transform, opacity;
}
.solution__feature-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .solution__feature-card.is-visible:hover {
    transform: translate3d(0, -4px, 0) scale(1);
    box-shadow: var(--shadow);
  }
}
@media (prefers-reduced-motion: reduce) {
  .solution__feature-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.solution__feature-icon {
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.solution__feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.solution__feature-card p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.65;
}
/* HMB badge full width */
.solution-hmb-full {
  display: none;
}
.solution-hmb-full__img {
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 5;
}

/* Mobile ajustes de features */
@media (max-width: 768px) {
  .solution__features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .solution__feature-card {
    padding: 24px 20px;
  }
  .solution-hmb-full {
    padding: 0 0 24px;
  }
  .solution-hmb-full__img {
    max-width: 90%;
    border-radius: 10px;
  }
}
