/* ════════════════════════════════════════
   KÉFIR ORO BLANCO — Stylesheet v2.0
   Del Cáucaso al Illimani
   ════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Fredoka:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap");

/* ── Variables ── */
:root {
  --verde: #2e8b3e;
  --verde-vivo: #3cb94e;
  --verde-oscuro: #1a5c28;
  --verde-menta: #a8e6b2;
  --crema: #f5f0e8;
  --crema-oscura: #e8ddc8;
  --dorado: #b8912a;
  --dorado-claro: #d4a840;
  --dorado-muted: #c9a84c;
  --azul: #2d5a6b;
  --azul-claro: #4a8fa5;
  --blanco: #ffffff;
  --negro: #111111;
  --gris: #6b7280;
  --sombra: 0 8px 32px rgba(0, 0, 0, 0.12);
  --sombra-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
  --radio: 16px;
  --radio-lg: 24px;
  --trans: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-brand: "Fredoka", sans-serif;
  --font-serif: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;
}

/* Ocultar overlay móvil por defecto (evita que aparezca en escritorio) */
#mobileMenuOverlay {
  display: none;
}
#mobileMenuOverlay.open {
  display: block;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--crema);
  color: var(--negro);
  overflow-x: hidden;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
details {
  cursor: pointer;
}

/* ── Canvas Partículas ── */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ── Cursor Personalizado ── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--verde-vivo);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid var(--verde-vivo);
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
  opacity: 0.6;
}
body:hover .cursor-dot,
body:hover .cursor-ring {
  opacity: 1;
}
@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════ NAVBAR ══════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(46, 139, 62, 0.1);
  transition: var(--trans);
}
.navbar.scrolled {
  padding: 8px 0;
  background: rgba(245, 240, 232, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-kefir {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--verde);
}
.logo-oro {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  color: var(--dorado);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--negro);
  padding: 6px 12px;
  border-radius: 50px;
  transition: var(--trans);
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--verde);
  color: var(--blanco);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--verde);
  color: var(--blanco);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--trans);
  box-shadow: 0 4px 16px rgba(46, 139, 62, 0.3);
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--verde-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 139, 62, 0.4);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--verde);
  transition: var(--trans);
  border-radius: 2px;
}

/* ══════════════════ HERO ══════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  gap: 60px;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: floatShape 8s ease-in-out infinite;
}
.shape-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--verde-menta), transparent);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}
.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(184, 145, 42, 0.4), transparent);
  top: 20%;
  right: 10%;
  animation-delay: 2s;
}
.shape-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--verde-menta), transparent);
  bottom: 15%;
  left: 30%;
  animation-delay: 4s;
}
@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  animation: fadeSlideUp 0.9s ease both;
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--verde-oscuro), var(--verde));
  color: var(--blanco);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.9s 0.1s ease both;
}
.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  margin-bottom: 16px;
  animation: fadeSlideUp 0.9s 0.2s ease both;
}
.hero-kefir {
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--verde);
  text-shadow: 2px 4px 12px rgba(46, 139, 62, 0.2);
}
.hero-oro {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dorado);
  letter-spacing: 0.05em;
}
.hero-slogan {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--gris);
  margin-bottom: 16px;
  animation: fadeSlideUp 0.9s 0.3s ease both;
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--gris);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
  animation: fadeSlideUp 0.9s 0.4s ease both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeSlideUp 0.9s 0.5s ease both;
}
.btn-primary {
  background: var(--verde);
  color: var(--blanco);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--trans);
  box-shadow: 0 6px 24px rgba(46, 139, 62, 0.35);
}
.btn-primary:hover {
  background: var(--verde-oscuro);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(46, 139, 62, 0.45);
}
.btn-secondary {
  border: 2px solid var(--verde);
  color: var(--verde);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--trans);
}
.btn-secondary:hover {
  background: var(--verde);
  color: var(--blanco);
  transform: translateY(-3px);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeSlideUp 0.9s 0.6s ease both;
}
.stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--verde);
  line-height: 1.1;
  white-space: nowrap;
  overflow: visible;
  min-width: max-content;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--gris);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--crema-oscura);
}
.hero-image-wrap {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  animation: fadeSlideUp 0.9s 0.3s ease both;
}
.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(60, 185, 78, 0.25), transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}
.hero-bottle {
  width: clamp(260px, 35vw, 420px);
  filter: drop-shadow(0 20px 40px rgba(46, 139, 62, 0.2));
  animation: floatBottle 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes floatBottle {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}
.floating-badge {
  position: absolute;
  background: var(--blanco);
  border: 1px solid var(--crema-oscura);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--sombra);
  animation: floatBadge 3s ease-in-out infinite;
  white-space: nowrap;
  z-index: 3;
}
.badge-1 {
  top: 15%;
  left: -10%;
  animation-delay: 0s;
}
.badge-2 {
  top: 50%;
  right: -8%;
  animation-delay: 1s;
}
.badge-3 {
  bottom: 15%;
  left: -5%;
  animation-delay: 2s;
}
@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--verde), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,
  100% {
    opacity: 1;
    height: 48px;
  }
  50% {
    opacity: 0.3;
    height: 24px;
  }
}
.hero-scroll span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gris);
}

/* ══════════════════ MARQUEE ══════════════════ */
.marquee-wrap {
  background: var(--verde);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ══════════════════ SECCIONES COMUNES ══════════════════ */
section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--verde);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--negro);
  line-height: 1.2;
  margin-bottom: 48px;
}

/* Make section-subtitle match the main section title style */
/* ══════════════════ HISTORIA ══════════════════ */
.historia {
  background: var(--blanco);
}
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.historia-text p {
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.historia-lead {
  font-family: var(--font-serif);
  font-size: 1.2rem !important;
  font-style: italic;
  color: var(--negro) !important;
  font-weight: 400;
}
.historia-sello {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.sello-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--crema);
  border-radius: var(--radio);
  border-left: 3px solid var(--dorado);
  transition: var(--trans);
}
.sello-item:hover {
  transform: translateX(6px);
}
.sello-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.sello-item strong {
  font-size: 0.9rem;
  color: var(--negro);
}
.sello-item small {
  color: var(--gris);
  font-size: 0.8rem;
}
.historia-visual {
  position: relative;
}
.label-frame {
  position: relative;
  background: transparent;
  border-radius: var(--radio-lg);
  overflow: hidden;
}
.label-img {
  width: 75%;
  margin: 0 auto;
  display: block;
  background: transparent;
  border-radius: var(--radio-lg);
  mix-blend-mode: multiply;
  transition: transform 0.6s ease;
}
.label-frame:hover .label-img {
  transform: scale(1.03);
}
.label-glow {
  display: none;
}
.illimani-silhouette {
  margin-top: 16px;
  text-align: center;
}
.illimani-silhouette svg {
  width: 100%;
}
.illimani-label {
  font-size: 0.72rem;
  color: var(--dorado);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ══════════════════ BENEFICIOS ══════════════════ */
.beneficios {
  background: var(--crema);
}
.beneficios-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid var(--crema-oscura);
  background: var(--blanco);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  color: var(--gris);
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--verde);
  border-color: var(--verde);
  color: var(--blanco);
  box-shadow: 0 6px 20px rgba(46, 139, 62, 0.25);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: tabIn 0.4s ease;
}
@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--blanco);
  padding: 48px;
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra);
}
.tab-text h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--negro);
  margin-bottom: 16px;
}
.tab-text p {
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.benefit-list li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--negro);
  font-weight: 500;
  border-bottom: 1px solid var(--crema-oscura);
}
.benefit-list li:last-child {
  border-bottom: none;
}
.benefit-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--verde) !important;
  font-size: 1rem !important;
  margin-top: 20px !important;
}
.tab-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--crema);
  border-radius: var(--radio);
  text-align: center;
  transition: var(--trans);
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  background: var(--verde-menta);
}
.icon-big {
  font-size: 2.4rem;
}
.icon-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--negro);
}

/* Datos Científicos */
.ciencia-box {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--verde-oscuro), var(--azul));
  border-radius: var(--radio-lg);
  padding: 48px;
  color: var(--blanco);
}
.ciencia-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.ciencia-icon {
  font-size: 2.5rem;
}
.ciencia-header h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
}
.ciencia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.ciencia-item {
  text-align: center;
}
.ciencia-num {
  font-family: var(--font-brand);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dorado-claro);
  display: block;
  margin-bottom: 8px;
}
.ciencia-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
}
.ciencia-footer {
  text-align: center;
  font-style: italic;
  opacity: 0.7;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

/* ══════════════════ PRODUCTOS ══════════════════ */
.productos {
  background: var(--blanco);
}
.productos-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}
.productos-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.productos-col--natural .thumbnail-gallery {
  justify-content: center;
}
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.producto-card--large {
  padding: 30px 24px;
}
.producto-card--large .producto-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, 24%);
  grid-template-rows: auto auto;
  gap: 14px 16px;
  align-items: start;
  margin-bottom: 16px;
}
.producto-card--large .producto-img-wrap {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  height: 450px;
  margin-bottom: 0;
}
.producto-card--large .producto-img {
  height: 410px;
}
.producto-card--large .producto-img-wrap .producto-glow {
  width: 210px;
  height: 210px;
}
.producto-card--large .producto-heading {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  text-align: center;
  padding-left: 4px;
}
.producto-card--large .producto-features {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
}
.producto-card--large .producto-footer {
  text-align: center;
}
.producto-card--large h3 {
  font-size: 1.15rem;
  margin-bottom: 3px;
  line-height: 1.2;
}
.producto-card--large .producto-heading .producto-size {
  font-size: 0.72rem;
  margin-bottom: 10px;
}
.producto-card--large .producto-heading .price-section {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.producto-card--large .producto-heading .price-value {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  color: var(--dorado);
  padding-bottom: 270px;
  margin: 0;
  line-height: 1;
}

/* Este código se ejecutará solo en pantallas menores a 768px (móviles) */
@media (max-width: 767px) {
  .producto-card--large .producto-heading .price-value {
    padding-bottom: 0;
  }
}

.producto-card--large .producto-features li {
  font-size: 0.8rem;
  padding: 4px 0;
}
.producto-card--large .sellos-row {
  gap: 6px;
  margin-bottom: 15px;
}
.producto-card--large .sello {
  font-size: 0.68rem;
  padding: 3px 8px;
}
.producto-card--large .btn-producto {
  padding: 9px 18px;
  font-size: 0.8rem;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}
.producto-card--large .producto-badge {
  font-size: 0.68rem;
  padding: 3px 9px;
  top: 12px;
  right: 12px;
}
.producto-card.agua {
  background: linear-gradient(135deg, #eef8fb, #e0f2f7);
  border-color: #5bb8d4;
  box-shadow: 0 12px 40px rgba(91, 184, 212, 0.15);
}
.producto-card.agua:hover {
  border-color: #3a9fbe;
}
.producto-badge.agua-badge {
  background: #3a9fbe;
}
.producto-glow.agua {
  background: radial-gradient(circle, rgba(91, 184, 212, 0.25), transparent);
}
.btn-producto--agua {
  background: linear-gradient(135deg, #3a9fbe, #5bb8d4);
  box-shadow: 0 4px 16px rgba(58, 159, 190, 0.3);
}
.btn-producto--agua:hover {
  background: #2d8aaa;
  box-shadow: 0 8px 24px rgba(58, 159, 190, 0.45);
}
.producto-card {
  background: var(--crema);
  border-radius: var(--radio-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--trans);
  border: 2px solid transparent;
  overflow: hidden;
}
.producto-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-lg);
  border-color: var(--verde-menta);
}
.producto-card.featured {
  background: linear-gradient(135deg, var(--crema), #e8f5ea);
  border-color: var(--verde);
  box-shadow: 0 12px 40px rgba(46, 139, 62, 0.15);
}
.producto-card.coming {
  opacity: 0.85;
}
.producto-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--verde-oscuro);
  color: var(--blanco);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.producto-badge.popular {
  background: var(--dorado);
}
.producto-badge.pronto {
  background: var(--gris);
}
.producto-img-wrap {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.producto-img {
  height: 200px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s ease;
}
.producto-img.small-bottle {
  height: 170px;
}
.producto-card:hover .producto-img {
  transform: scale(1.05) translateY(-4px);
}
.producto-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 185, 78, 0.15), transparent);
  filter: blur(20px);
}
.producto-glow.gold {
  background: radial-gradient(circle, rgba(184, 145, 42, 0.2), transparent);
}
.producto-card h3 {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  color: var(--negro);
  margin-bottom: 4px;
}
.producto-size {
  font-size: 0.85rem;
  color: var(--gris);
  margin-bottom: 16px;
}
.producto-features {
  text-align: center;
  margin-bottom: 20px;
}
.producto-features li {
  font-size: 0.85rem;
  color: var(--negro);
  padding: 6px 0;
  border-bottom: 1px solid var(--crema-oscura);
}
.sellos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.sello {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: var(--blanco);
  border: 1px solid var(--crema-oscura);
  border-radius: 50px;
  font-weight: 600;
  color: var(--gris);
}
.btn-producto {
  display: block;
  background: var(--verde);
  color: var(--blanco);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--trans);
  box-shadow: 0 4px 16px rgba(46, 139, 62, 0.25);
}
.btn-producto:hover {
  background: var(--verde-oscuro);
  transform: translateY(-2px);
}
.btn-producto.gold {
  background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
  box-shadow: 0 4px 16px rgba(184, 145, 42, 0.3);
}
.btn-producto.gold:hover {
  box-shadow: 0 8px 24px rgba(184, 145, 42, 0.45);
}

/* Fermento animado */
.fermento {
  background: linear-gradient(135deg, #e0f2e9, #d0ebd8);
  border-radius: var(--radio);
}
.bubble-anim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radio);
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(60, 185, 78, 0.3);
  animation: bubbleUp 3s ease-in-out infinite;
}
.b1 {
  width: 20px;
  height: 20px;
  left: 20%;
  bottom: 0;
  animation-delay: 0s;
  animation-duration: 2.5s;
}
.b2 {
  width: 12px;
  height: 12px;
  left: 40%;
  bottom: 0;
  animation-delay: 0.5s;
  animation-duration: 3s;
}
.b3 {
  width: 16px;
  height: 16px;
  left: 60%;
  bottom: 0;
  animation-delay: 1s;
  animation-duration: 2.8s;
}
.b4 {
  width: 10px;
  height: 10px;
  left: 75%;
  bottom: 0;
  animation-delay: 0.3s;
  animation-duration: 3.2s;
}
.b5 {
  width: 14px;
  height: 14px;
  left: 30%;
  bottom: 0;
  animation-delay: 1.5s;
  animation-duration: 2.6s;
}
@keyframes bubbleUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-200px) scale(0.2);
    opacity: 0;
  }
}
.fermento-icon {
  font-size: 4rem;
  position: relative;
  z-index: 2;
  animation: floatBadge 2s ease-in-out infinite;
}
.coming-text {
  font-size: 0.85rem;
  color: var(--gris);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}
.coming-bar {
  width: 100%;
  height: 6px;
  background: var(--crema-oscura);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 8px;
}
.coming-progress {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--verde), var(--dorado));
  border-radius: 50px;
  animation: progress 2s ease-in-out infinite alternate;
}
@keyframes progress {
  from {
    width: 55%;
  }
  to {
    width: 75%;
  }
}
.coming-label {
  font-size: 0.75rem;
  color: var(--gris);
  font-style: italic;
}

/* ══════════════════ GALERÍA DE PRODUCTOS ══════════════════ */
.product-gallery-section {
  margin-bottom: 60px;
  padding: 40px 0;
  border-bottom: 2px solid var(--crema-oscura);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.col-lg-6 {
  flex: 0 0 50%;
  padding: 0 12px;
}

.col-lg-6.mb-4 {
  margin-bottom: 24px;
}

.col-lg-6.mb-lg-0 {
  margin-bottom: 0;
}

.gx-4 {
  --gutter: 16px;
}

.gx-lg-5 {
  --gutter: 48px;
}

@media (max-width: 991px) {
  .col-lg-6 {
    flex: 0 0 100%;
  }
}

.align-items-center {
  align-items: center;
}

.mb-3 {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 24px;
}

.rounded-lg {
  border-radius: 12px;
}

.shadow {
  box-shadow: var(--sombra);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-image-container {
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.main-image-container img {
  width: 100%;
  height: 50%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.3s ease;
}

.main-image-container img:hover {
  transform: scale(1.02);
}

.thumbnail-gallery {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.thumbnail-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--trans);
  object-fit: contain;
  padding: 8px;
  background: var(--crema);
}

/* En pantallas grandes: colocar miniaturas a la derecha de la imagen principal */
@media (min-width: 992px) {
  .product-gallery {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
  .main-image-container {
    flex: 1 1 auto;
    min-height: 480px;
  }
  .product-gallery > .thumbnail-gallery {
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8px;
  }
  .product-gallery > .thumbnail-gallery .thumbnail-img {
    width: 100%;
    height: 90px;
    padding: 6px;
  }
  /* La galería dentro de .product-info (debajo del precio) sigue siendo horizontal */
  .product-info > .thumbnail-gallery {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-top: 16px;
  }
  .product-info > .thumbnail-gallery .thumbnail-img {
    width: 80px;
    height: 80px;
  }
}

.thumbnail-img:hover {
  border-color: var(--verde-menta);
  transform: scale(1.05);
}

.thumbnail-img.active {
  border-color: var(--dorado);
  background: linear-gradient(135deg, var(--crema), #e8f5ea);
}

.product-info {
  background: var(--blanco);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--sombra);
}

.price-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--crema-oscura);
}

.price-value {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--dorado);
  margin: 0;
  line-height: 1;
  transition: color 0.3s ease;
}

#dynamicPrice {
  transition: color 0.3s ease;
}

.price-note {
  font-size: 0.95rem;
  color: var(--gris);
  margin: 12px 0 0 0;
}

@media (max-width: 991px) {
  .col-lg-6 {
    flex: 0 0 100%;
  }

  .main-image-container {
    min-height: 300px;
  }

  .price-value {
    font-size: 2.5rem;
  }

  .product-info {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .productos-col--natural .thumbnail-gallery {
    justify-content: center;
    gap: 10px;
  }
  .thumbnail-img {
    width: 70px;
    height: 70px;
  }

  .product-info {
    padding: 20px;
  }

  .price-value {
    font-size: 2rem;
  }
}

/* ══════════════════ CÓMO USAR ══════════════════ */
.como-usar {
  background: var(--crema);
}
.ritual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.ritual-steps h3,
.ritual-ideas h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--negro);
}
.ritual-intro {
  color: var(--gris);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.step-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--blanco);
  border-radius: var(--radio);
  margin-bottom: 16px;
  transition: var(--trans);
  border-left: 4px solid transparent;
}
.step-card:hover {
  border-left-color: var(--verde);
  transform: translateX(4px);
  box-shadow: var(--sombra);
}
.step-num {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--verde-menta);
  line-height: 1;
  flex-shrink: 0;
}
.step-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.step-text p {
  font-size: 0.85rem;
  color: var(--gris);
  line-height: 1.6;
}
.ideas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.idea-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 24px 20px;
  transition: var(--trans);
}
.idea-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
}
.idea-emoji {
  font-size: 2rem;
  margin-bottom: 10px;
}
.idea-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.idea-card p {
  font-size: 0.82rem;
  color: var(--gris);
  line-height: 1.5;
}

/* ══════════════════ FAQ ══════════════════ */
.faq {
  background: var(--blanco);
}
.faq-list {
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--crema-oscura);
  overflow: hidden;
}
.faq-item summary {
  padding: 24px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--negro);
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  position: relative;
  cursor: pointer;
  transition: var(--trans);
}
.faq-item summary:hover {
  color: var(--verde);
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  color: var(--verde);
  transition: var(--trans);
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0 0 24px;
  font-size: 0.9rem;
  color: var(--gris);
  line-height: 1.8;
}

/* ══════════════════ CONTACTO ══════════════════ */
.contacto {
  background: var(--crema);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contacto-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--blanco);
  border-radius: var(--radio);
  margin-bottom: 16px;
  transition: var(--trans);
}
.contacto-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra);
}
.contacto-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.contacto-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.contacto-card p {
  font-size: 0.85rem;
  color: var(--gris);
  line-height: 1.5;
}
.wa-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--blanco);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--trans);
  width: fit-content;
}
.wa-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--trans);
  width: fit-content;
  color: var(--blanco);
}
.social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.social-btn.tiktok {
  background: #010101;
}
.social-btn.facebook {
  background: #1877f2;
}
.mapa-wrap {
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra-lg);
  border: 3px solid var(--crema-oscura);
}

/* ══════════════════ FOOTER ══════════════════ */
.footer {
  background: var(--negro);
  color: var(--blanco);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-k {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
  color: var(--verde-vivo);
  display: block;
  margin-bottom: 4px;
}
.footer-logo-o {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--dorado-claro);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.footer-slogan {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-links-col strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.footer-links-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  transition: var(--trans);
}
.footer-links-col a:hover {
  color: var(--verde-vivo);
  transform: translateX(4px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 1200px;
  margin: 0 auto;
}

/* ══════════════════ COOKIE BANNER ══════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: var(--negro);
  color: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 20px 24px;
  z-index: 5000;
  box-shadow: var(--sombra-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(0);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  font-size: 0.83rem;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}
.cookie-banner a {
  color: var(--verde-vivo);
  text-decoration: underline;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-accept {
  background: var(--verde);
  color: var(--blanco);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
}
.cookie-accept:hover {
  background: var(--verde-oscuro);
}
.cookie-reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--trans);
}
.cookie-reject:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--blanco);
}

/* ══════════════════ WA FLOTANTE ══════════════════ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 4999;
  transition: var(--trans);
  animation: waPulse 2s ease-in-out infinite;
}
.wa-float:hover {
  background: #1da851;
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6);
  animation: none;
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow:
      0 8px 40px rgba(37, 211, 102, 0.6),
      0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* ══════════════════ SCROLL REVEAL ══════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 1024px) {
  .historia-grid,
  .ritual-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .productos-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .producto-card--large .producto-top-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .producto-card--large .producto-img-wrap {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 395px;
  }
  .producto-card--large .producto-img {
    height: 353px;
  }
  .producto-card--large .producto-heading {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    padding-left: 0;
  }
  .producto-card--large .producto-features {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
  }
  .producto-card--large .btn-producto {
    width: 70%;
  }
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ciencia-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    flex-direction: column;
    padding: 120px 24px 80px;
    text-align: center;
  }
  .hero-sub {
    max-width: 100%;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 20px;
  }
  .stat {
    min-width: max-content;
  }
  .hero-image-wrap {
    order: -1;
  }
  .badge-1,
  .badge-2,
  .badge-3 {
    display: none;
  }
  .tab-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--crema);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 12px;
    padding: 64px 16px 24px; /* espacio superior para la barra */
    overflow-y: auto;
    max-height: 100vh;
    margin: 0;
    list-style: none;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    font-size: 1.2rem;
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
  }

  /* Asegurar separación entre items y contraste legible */
  .nav-links li {
    width: 100%;
    margin-bottom: 8px;
  }

  .nav-links .nav-link {
    background: transparent;
    color: var(--negro);
  }
  /* Styles for the dedicated mobile overlay created by JS */
  #mobileMenuOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--crema);
    z-index: 1000;
    padding: 64px 16px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #mobileMenuOverlay.open {
    display: block;
  }
  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-menu-list li {
    margin-bottom: 10px;
  }
  .mobile-menu-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
    color: var(--negro);
    text-decoration: none;
    font-size: 1.2rem;
  }
  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-links li {
    width: 100%;
  }
  .nav-cta {
    display: none;
  }
  .productos-grid {
    grid-template-columns: 1fr;
  }
  .ciencia-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ideas-grid {
    grid-template-columns: 1fr;
  }
  .tab-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radio-lg) var(--radio-lg) 0 0;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .ciencia-box {
    padding: 28px;
  }
  .tab-content-grid {
    padding: 24px;
  }
  .tab-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
