
/* ---------- reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease);}
.reveal.in{opacity:1;transform:translateY(0);}
.reveal-stagger > *{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal-stagger.in > *{opacity:1;transform:translateY(0);}
.reveal-stagger.in > *:nth-child(1){transition-delay:.05s;}
.reveal-stagger.in > *:nth-child(2){transition-delay:.12s;}
.reveal-stagger.in > *:nth-child(3){transition-delay:.19s;}
.reveal-stagger.in > *:nth-child(4){transition-delay:.26s;}
.reveal-stagger.in > *:nth-child(5){transition-delay:.33s;}
.reveal-stagger.in > *:nth-child(6){transition-delay:.40s;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important;}
}

/* ==========================================
   HERO CAROUSEL (banner principal)
   ========================================== */
.hero-carousel{ position:relative; overflow:hidden; }
.hero-track{ display:flex; transition:transform .55s var(--ease); }
.hero-slide{ flex:0 0 100%; display:block; line-height:0; }
.hero-slide img{ width:100%; display:block; }
.hero-nav-btn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:44px; height:44px; border-radius:50%; background:#fff; box-shadow:var(--shadow);
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.hero-nav-btn:hover{ background:var(--science); }
.hero-nav-btn:hover svg{ color:#fff; }
.hero-nav-btn svg{ width:18px; height:18px; color:var(--ink); transition:color .2s; }
.hero-nav-btn.prev{ left:16px; }
.hero-nav-btn.next{ right:16px; }
@media (max-width:640px){ .hero-nav-btn{ display:none; } }
.hero-dots{ position:absolute; left:50%; bottom:16px; transform:translateX(-50%); z-index:5; display:flex; gap:8px; }
.hero-dot{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.55); border:1px solid rgba(18,18,18,.15); transition:background .2s, transform .2s; }
.hero-dot.active{ background:#fff; transform:scale(1.25); }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background: radial-gradient(120% 100% at 85% 15%, #eaf2f8 0%, var(--foam) 45%, var(--foam) 100%);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding-top: 40px; padding-bottom: 40px; position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--teal-dark); background: rgba(47,167,154,0.1);
  padding: 8px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse-dot 1.8s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--science); position: relative; }
.hero h1 .accent-underline { position: relative; display: inline-block; }
.hero h1 .accent-underline svg { position: absolute; left: 0; bottom: -6px; width: 100%; height: 10px; }

.hero p.lead { margin-top: 22px; font-size: 17px; line-height: 1.65; color: rgba(18,18,18,0.68); max-width: 460px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; align-items: center; }

.hero-actives { display: flex; gap: 10px; margin-top: 38px; flex-wrap: wrap; }
.active-chip {
  font-family: var(--mono); font-size: 11.5px; color: var(--science);
  background: #fff; border: 1px solid var(--line); padding: 7px 12px; border-radius: 8px;
  display: flex; align-items: center; gap: 7px; box-shadow: 0 4px 12px -6px rgba(18,18,18,0.12);
}
.active-chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

.hero-visual { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.blob-stage { position: relative; width: 100%; height: 100%; }
.blob { position: absolute; inset: 0; margin: auto; width: 78%; height: 78%; }
.blob svg { width: 100%; height: 100%; animation: blob-morph 9s var(--ease) infinite alternate; }
@keyframes blob-morph {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.035); }
  100% { transform: rotate(-4deg) scale(0.98); }
}
.blob-glow {
  position: absolute; inset: 0; margin: auto; width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(247,198,220,0.55), transparent 65%);
  filter: blur(10px); animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.hero-bottle {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%);
  width: 150px; z-index: 3; filter: drop-shadow(0 30px 40px rgba(18,18,18,0.28));
  animation: float-bottle 5.5s ease-in-out infinite;
}
@keyframes float-bottle { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-14px); } }

.float-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; z-index: 4;
  animation: float-card 4.5s ease-in-out infinite;
}
.float-card.c1 { top: 8%; left: 0; animation-delay: .2s; }
.float-card.c2 { bottom: 10%; right: -4%; animation-delay: 1s; }
@keyframes float-card { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-card .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--foam); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .ic svg { width: 17px; height: 17px; color: var(--science); }
.float-card strong { display: block; font-size: 13px; font-family: var(--display); }
.float-card span { font-size: 11px; color: rgba(18,18,18,0.55); }

@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { height: 400px; order: -1; }
  .hero p.lead { max-width: 100%; }
}

/* ==========================================
   CATEGORIES & TABS
   ========================================== */
.cat-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.cat-card {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4;
  background: linear-gradient(155deg,#fff 0%,var(--foam) 100%);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.cat-card .cat-ic {
  position: absolute; top: 18px; left: 18px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(18,18,18,0.18); transition: transform .4s var(--ease);
}
.cat-card:hover .cat-ic { transform: scale(1.1) rotate(-6deg); background: var(--science); }
.cat-card:hover .cat-ic svg { color: #fff; }
.cat-ic svg { width: 20px; height: 20px; color: var(--science); transition: color .3s; }
.cat-card .cat-bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 80% 100%,rgba(247,198,220,0.4),transparent 60%); opacity: 0; transition: opacity .4s; }
.cat-card:hover .cat-bg { opacity: 1; }
.cat-card h3 { font-family: var(--display); font-size: 16px; font-weight: 600; position: relative; }
.cat-card span { font-size: 12px; color: rgba(18,18,18,0.55); position: relative; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: repeat(2,1fr); } }

.product-tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 18px; border-radius: 100px; font-size: 13.5px; font-weight: 600;
  border: 1.5px solid var(--line); color: rgba(18,18,18,0.6); transition: all .25s;
}
.tab-btn.active, .tab-btn:hover { border-color: var(--science); color: var(--science); background: rgba(236,85,152,0.06); }

/* ==========================================
   SCIENCE STRIP
   ========================================== */
.science-strip { background: var(--sand); position: relative; overflow: hidden; }
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.science-visual { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.molecule { position: absolute; border-radius: 50%; background: var(--white); box-shadow: 0 20px 40px -16px rgba(18,18,18,0.25); }
.molecule.m1 { width: 180px; height: 180px; top: 10%; left: 8%; animation: drift 7s ease-in-out infinite; }
.molecule.m2 { width: 120px; height: 120px; bottom: 12%; left: 22%; background: var(--science); animation: drift 6s ease-in-out infinite reverse; }
.molecule.m3 { width: 90px; height: 90px; top: 38%; right: 10%; background: var(--teal); animation: drift 8s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-10px,-18px); } }
.molecule-label { position: absolute; font-family: var(--mono); font-size: 11px; color: var(--ink); background: #fff; padding: 5px 10px; border-radius: 8px; box-shadow: 0 8px 18px -8px rgba(18,18,18,0.25); }
.molecule-label.l1 { top: 6%; right: 16%; }
.molecule-label.l2 { bottom: 8%; right: 0; }

.science-features { display: grid; gap: 26px; margin-top: 32px; }
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row .fi { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 8px 20px -10px rgba(18,18,18,0.2); }
.feature-row .fi svg { width: 22px; height: 22px; color: var(--science); }
.feature-row h4 { font-family: var(--display); font-size: 16px; margin-bottom: 4px; }
.feature-row p { font-size: 13.5px; color: rgba(18,18,18,0.62); line-height: 1.55; }
@media (max-width: 1024px) { .science-grid { grid-template-columns: 1fr; } .science-visual { height: 280px; } }

/* ==========================================
   INSTAGRAM & NEWSLETTER
   ========================================== */
.insta-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.insta-handle { display: flex; align-items: center; gap: 12px; }
.insta-handle .ic { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.insta-handle .ic img { width: 100%; height: 100%; object-fit: cover; }
.insta-handle .ic svg { width: 22px; height: 22px; color: #fff; }

/* carrusel: 4 tarjetas visibles, hasta 12 posts deslizables */
.insta-carousel { position: relative; }
.insta-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.insta-grid::-webkit-scrollbar { display: none; }
.insta-card { position: relative; flex: 0 0 calc(25% - 12px); scroll-snap-align: start; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg,var(--mist),var(--science)); }
.insta-card img, .insta-card video { width: 100%; height: 100%; object-fit: cover; }
.insta-video-badge { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: rgba(18,18,18,.55); display: flex; align-items: center; justify-content: center; }
.insta-card .overlay { position: absolute; inset: 0; background: rgba(18,18,18,0.55); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.insta-card:hover .overlay { opacity: 1; }
.insta-card .overlay svg { width: 26px; height: 26px; color: #fff; }
.insta-card .overlay p { font-size: 13px; line-height: 1.45; }
@media (max-width: 1024px) { .insta-card { flex: 0 0 calc(50% - 8px); } }
@media (max-width: 640px) { .insta-card { flex: 0 0 72%; } }

.newsletter { background: linear-gradient(155deg,var(--science) 0%,var(--science-2) 100%); position: relative; overflow: hidden; }
.newsletter::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle,rgba(247,198,220,0.25),transparent 65%);
  top: -200px; right: -150px;
}
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; color: #fff; flex-wrap: wrap; }
.newsletter h2 { font-family: var(--display); font-size: clamp(26px,3vw,36px); max-width: 480px; line-height: 1.15; }
.newsletter p { opacity: .8; margin-top: 12px; max-width: 420px; font-size: 14.5px; }
.newsletter-form { display: flex; gap: 10px; min-width: 340px; }
.newsletter-form input {
  flex: 1; padding: 14px 18px; border-radius: 100px; border: none; font-family: inherit; font-size: 14px; background: rgba(255,255,255,0.12); color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { outline: 2px solid var(--mist); }
.newsletter-form button { background: #fff; color: var(--science); padding: 14px 26px; border-radius: 100px; font-weight: 700; font-size: 14px; transition: transform .25s; }
.newsletter-form button:hover { transform: scale(1.04); }
@media (max-width: 768px) { .newsletter-form { min-width: 100%; flex-direction: column; } }