/* =====================================================================
   FUENTES OFICIALES 3 GARRAFAS
   MidcentDisco → titulares (H1)
   Grift → H2..H5 y textos de lectura (400/500/700)
   ===================================================================== */

@font-face {
  font-family: 'MidcentDisco';
  src: url('../fonts/MidcentDisco-Regular.woff2') format('woff2'),
       url('../fonts/MidcentDisco-Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('../fonts/Grift-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('../fonts/Grift-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Grift';
  src: url('../fonts/Grift-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Body baseline global - Grift para todo el sitio */
body,
button,
input,
select,
textarea {
  font-family: 'Grift', 'Manrope', system-ui, -apple-system, sans-serif;
}

/* =====================================================================
   3 GARRAFAS NEVERÍA — HOME (v2 rediseñado, autocontenido)
   Base editorial con producto real como protagonista.
   Bandas horizontales full-width por sección.
   ===================================================================== */

/* Sobrescribir defaults del sitio si vienen del styles.css antiguo */
main#main { padding: 0; }

/* Variables locales por si el sitio no las define */
:root {
  --home-cream: #fcf1d8;
  --home-cream-deep: #f5e6c0;
  --home-yellow: #ffd400;
  --home-purple: #5448dd;
  --home-purple-soft: #7b6de8;
  --home-pink: #f5c9d6;
  --home-pink-deep: #f0a6bd;
  --home-brown: #6b4023;
  --home-brown-dark: #4a2a15;
  --home-red: #e63946;
  --home-blue: #2340cc;
}

/* ============================================
   HERO
   ============================================ */
.home-hero {
  position: relative;
  padding: 130px 0 60px;
  background: var(--home-cream);
  overflow: hidden;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.home-hero-text { max-width: 500px; }

.home-hero-title {
  font-family: 'MidcentDisco', 'Fraunces', 'Georgia', serif;
  font-weight: 500;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 0.95;
  color: var(--home-brown);
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
.home-hero-title span { display: block; }

.home-hero-underline {
  display: block;
  width: 190px;
  height: 18px;
  margin: 6px 0 22px;
  color: var(--home-brown);
}
.home-hero-underline svg { width: 100%; height: 100%; }

.home-hero-sub {
  font-family: 'Grift', 'Manrope', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--home-brown);
  opacity: 0.85;
  margin: 0 0 30px;
  max-width: 380px;
}

.home-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  font-family: 'Grift', 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .3s ease;
  cursor: pointer;
}
.btn-home--dark {
  background: var(--home-brown);
  color: var(--home-cream);
  border-color: var(--home-brown);
}
.btn-home--dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(107, 64, 35, 0.5);
}
.btn-home--outline {
  background: transparent;
  color: var(--home-brown);
  border-color: var(--home-brown);
}
.btn-home--outline:hover {
  background: var(--home-brown);
  color: var(--home-cream);
  transform: translateY(-2px);
}
.btn-home--white {
  background: #fff;
  color: var(--home-brown);
  border-color: #fff;
}
.btn-home--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, 0.3);
}

/* Cluster de 3 helados del hero */
.home-hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero-bg-circle {
  position: absolute;
  width: 520px;
  height: 520px;
  background: var(--home-cream-deep);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.home-hero-cluster {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: end;
  gap: 0;
  width: 100%;
  max-width: 620px;
}
.home-hero-cluster img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 30px rgba(107, 64, 35, 0.25));
  animation: heroFloat 5s ease-in-out infinite;
}
.home-hero-cluster img.hero-cup--left  { transform: translateY(30px); animation-delay: 0s; }
.home-hero-cluster img.hero-cup--main  { z-index: 3; }
.home-hero-cluster img.hero-cup--right { transform: translateY(30px); animation-delay: 1s; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.home-hero-cluster img.hero-cup--left  { animation-name: heroFloatLeft; }
.home-hero-cluster img.hero-cup--right { animation-name: heroFloatRight; }
@keyframes heroFloatLeft {
  0%, 100% { transform: translateY(30px); }
  50%      { transform: translateY(20px); }
}
@keyframes heroFloatRight {
  0%, 100% { transform: translateY(30px); }
  50%      { transform: translateY(20px); }
}

/* Sparks decorativos del hero */
.hero-spark {
  position: absolute;
  z-index: 3;
  font-size: 18px;
  color: var(--home-brown);
  opacity: 0.7;
}
.hero-spark--1 { top: 8%; left: 18%; color: var(--home-yellow); font-size: 22px; }
.hero-spark--2 { top: 15%; right: 8%; }
.hero-spark--3 { bottom: 20%; right: 3%; color: var(--home-brown); }
.hero-spark--3::before,
.hero-spark--2::before {
  content: "+";
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--home-brown);
  color: var(--home-cream);
  text-align: center;
  line-height: 22px;
  font-weight: 700;
}
.hero-spark--2 { color: transparent; }
.hero-spark--3 { color: transparent; }
.hero-spark--1::before { content: "+"; color: var(--home-yellow); font-weight: 900; font-size: 24px; }

/* ============================================
   BANDA: SMOOTHIE DEL MES (amarilla)
   ============================================ */
.home-smoothie {
  background: var(--home-yellow);
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}
.home-smoothie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 340px;
}
.home-smoothie-title {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  color: var(--home-brown);
  margin: 0;
  letter-spacing: -0.5px;
}
.home-smoothie-title span { display: block; }
.home-smoothie-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-smoothie-visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
  position: relative;
  z-index: 2;
  animation: heroFloat 6s ease-in-out infinite;
}
/* Cubos de mango decorativos (SVG inline) */
.home-smoothie-cube {
  position: absolute;
  background: linear-gradient(135deg, #ffb800, #ff9500);
  border-radius: 8px;
  opacity: 0.85;
  animation: cubeFloat 4s ease-in-out infinite;
}
.home-smoothie-cube--1 { width: 40px; height: 40px; top: 15%; left: 8%; transform: rotate(-15deg); animation-delay: 0s; }
.home-smoothie-cube--2 { width: 55px; height: 55px; top: 5%; right: 5%; transform: rotate(20deg); animation-delay: 0.5s; }
.home-smoothie-cube--3 { width: 30px; height: 30px; bottom: 20%; right: 15%; transform: rotate(-10deg); animation-delay: 1s; }
.home-smoothie-cube--4 { width: 35px; height: 35px; bottom: 5%; left: 12%; transform: rotate(15deg); animation-delay: 1.5s; }

@keyframes cubeFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-8px) rotate(calc(var(--r, 0deg) + 5deg)); }
}

/* ============================================
   BANDA: AGUAS FRESCAS (morada)
   ============================================ */
.home-aguas {
  background: var(--home-purple);
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}
.home-aguas-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 340px;
}
.home-aguas-visual {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 20px;
  position: relative;
}
.home-aguas-visual img {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
  animation: heroFloat 5s ease-in-out infinite;
}
.home-aguas-visual img:nth-child(1) { animation-delay: 0s; max-width: 170px; }
.home-aguas-visual img:nth-child(2) { animation-delay: 0.6s; max-width: 190px; z-index: 2; }
.home-aguas-visual img:nth-child(3) { animation-delay: 1.2s; max-width: 210px; }
.home-aguas-title {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  color: var(--home-yellow);
  margin: 0;
  letter-spacing: -0.5px;
  text-align: right;
}
.home-aguas-title span { display: block; }
.home-aguas-desc {
  text-align: right;
  color: var(--home-cream);
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 14px;
  opacity: .9;
  margin: 14px 0 0;
}

/* ============================================
   BANDA: COMPARTIR SABE MEJOR (rosa)
   ============================================ */
.home-compartir {
  background: var(--home-pink);
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}
.home-compartir-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 380px;
  position: relative;
  z-index: 2;
}
.home-compartir-bg-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--home-pink-deep);
  border-radius: 50%;
  top: -30%;
  left: -8%;
  z-index: 0;
  opacity: 0.6;
}
.home-compartir-text {
  max-width: 400px;
  position: relative;
  z-index: 2;
}
.home-compartir-title {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 1;
  color: var(--home-brown);
  margin: 0;
  letter-spacing: -0.5px;
}
.home-compartir-title span { display: block; }
.home-compartir-underline {
  display: block;
  width: 200px;
  height: 18px;
  margin: 8px 0 24px;
  color: var(--home-brown);
}
.home-compartir-sub {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--home-brown);
  opacity: 0.85;
  line-height: 1.5;
  margin: 0;
}
.home-compartir-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.home-compartir-visual img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
}
.home-compartir-spark {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--home-pink-deep);
  color: var(--home-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 3;
}
.home-compartir-spark--1 { top: 20%; right: 8%; }
.home-compartir-spark--2 { top: 32%; right: 3%; }

/* ============================================
   SECCIÓN: SUCURSALES
   ============================================ */
/* ═══════════════════════════════════════════════════════════════
   CONOCE DÓNDE DISFRUTAR — sección amarilla con ilustración
   ═══════════════════════════════════════════════════════════════ */

.home-sucursales {
  position: relative;
  width: 100%;
  background: #ffd400;
  padding: clamp(60px, 10vh, 120px) 0;
  overflow: hidden;
}

/* Círculos decorativos flotantes */
.home-suc-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.home-suc-dot--pink-a {
  background: #e95068;
  width: clamp(60px, 6vw, 90px);
  aspect-ratio: 1/1;
  top: 10%;
  left: 42%;
}
.home-suc-dot--purple-a {
  background: #5448dd;
  width: clamp(70px, 7vw, 110px);
  aspect-ratio: 1/1;
  top: 6%;
  right: 4%;
}
.home-suc-dot--pink-b {
  background: #e95068;
  width: clamp(80px, 9vw, 130px);
  aspect-ratio: 1/1;
  bottom: 12%;
  left: 34%;
}

.home-sucursales-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  z-index: 2;
}

.home-sucursales-content { position: relative; z-index: 3; }

.home-sucursales-title {
  font-family: 'MidcentDisco', serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  color: #6b4023;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.home-sucursales-cuchara {
  display: block;
  width: clamp(100px, 12vw, 160px);
  height: auto;
  margin: 0 0 28px;
}
.home-sucursales-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #e95068;
  color: #fcf1d8;
  font-family: 'Grift', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.home-sucursales-btn:hover {
  background: #d94054;
  transform: translateX(3px);
}

.home-sucursales-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.home-sucursales-illustracion {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   ¿ANTOJO DE ALGO RICO? — sección morada con WhatsApp
   ═══════════════════════════════════════════════════════════════ */

.home-cta {
  position: relative;
  width: 100%;
  background: #5448dd;
  padding: clamp(60px, 10vh, 120px) 0;
  overflow: hidden;
}

.home-cta-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.home-cta-dot--pink {
  background: #e95068;
  width: clamp(50px, 5vw, 80px);
  aspect-ratio: 1/1;
  top: 25%;
  left: 6%;
}
.home-cta-dot--yellow {
  background: #ffd400;
  width: clamp(80px, 9vw, 130px);
  aspect-ratio: 1/1;
  bottom: -20px;
  left: -30px;
}

.home-cta-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  z-index: 2;
}

.home-cta-text {
  position: relative;
  z-index: 3;
  text-align: center;
}
.home-cta-title {
  font-family: 'MidcentDisco', serif;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  color: #fcf1d8;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.home-cta-sub {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fcf1d8;
  opacity: 0.9;
  margin: 0 auto 28px;
  max-width: 42ch;
}
.home-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #ffd400;
  color: #5448dd;
  font-family: 'Grift', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.home-cta-btn:hover {
  background: #ffdd33;
  transform: translateX(3px);
}
.home-cta-btn svg { flex-shrink: 0; }

.home-cta-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.home-cta-helados {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

/* Responsive mobile */
@media (max-width: 900px) {
  .home-sucursales-inner,
  .home-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .home-sucursales-title { font-size: clamp(42px, 12vw, 68px); }
  .home-sucursales-cuchara { margin-left: auto; margin-right: auto; }
  .home-sucursales-illustracion { max-width: 400px; }
  .home-cta-title { font-size: clamp(34px, 10vw, 52px); }
  .home-cta-helados { max-width: 340px; }
  .home-suc-dot--pink-a { top: 6%; left: 4%; }
  .home-suc-dot--pink-b { bottom: 8%; left: 6%; }
  .home-cta-dot--pink { top: 12%; }
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--home-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: pulse 1.4s ease-in-out infinite;
}
.loader-inner img { display: block; }
.loader-text {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--home-brown);
}
@keyframes pulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.03); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .home-hero { padding: 110px 0 50px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .home-hero-bg-circle { width: 420px; height: 420px; }
  .home-hero-visual { min-height: 400px; }
  .home-hero-cluster { max-width: 480px; }
  .home-smoothie-grid,
  .home-aguas-grid,
  .home-compartir-grid,
  .home-sucursales-grid { grid-template-columns: 1fr; gap: 20px; padding: 40px 30px; }
  .home-aguas-title, .home-aguas-desc { text-align: left; }
  .home-aguas-visual { max-width: 400px; margin: 0 auto; }
  .home-sucursales-visual svg { max-width: 380px; }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
  .footer-brand, .footer-slogan {
    grid-column: 1 / -1;
    text-align: left;
  }
  .footer-slogan-underline { margin-left: 0; }
}
@media (max-width: 640px) {
  .home-hero { padding: 100px 0 40px; }
  .home-hero-grid { padding: 0 24px; }
  .home-hero-title { font-size: clamp(44px, 12vw, 60px); }
  .home-hero-visual { min-height: 320px; }
  .home-hero-bg-circle { width: 300px; height: 300px; }
  .home-hero-cluster { max-width: 360px; }
  .home-smoothie-grid,
  .home-aguas-grid,
  .home-compartir-grid,
  .home-sucursales-grid { padding: 30px 24px; gap: 16px; }
  .home-smoothie-title, .home-aguas-title, .home-compartir-title {
    font-size: clamp(38px, 11vw, 56px);
  }
  .home-smoothie-visual img { max-width: 240px; }
  .home-aguas-visual img { max-width: 130px !important; }
  .home-compartir-visual img { max-width: 340px; }
  .home-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 20px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px 30px;
  }
  .footer-brand, .footer-slogan {
    grid-column: 1 / -1;
  }
  .float-wa { width: 50px; height: 50px; bottom: 18px; right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-cluster img,
  .home-smoothie-visual img,
  .home-smoothie-cube,
  .home-aguas-visual img,
  .btn-home {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   HERO SLIDER (circle wipe effect)
   Full-screen height. Cada slide tiene su propio color de fondo.
   El slide entrante se revela con un círculo que crece desde
   el punto que se hizo clic (calculado en JS con --x, --y).
   ============================================ */

/* Reset del hero container: sin padding, cada slide tiene el suyo */
.home-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: transparent;
  min-height: 100vh;
  min-height: 100dvh;
}
/* Override del container interno para que el slider ocupe TODO */
.home-hero > .home-hero-grid {
  display: block !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
  -webkit-clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
  transition: clip-path 1100ms cubic-bezier(0.83, 0, 0.17, 1),
              -webkit-clip-path 1100ms cubic-bezier(0.83, 0, 0.17, 1);
  will-change: clip-path;

  /* Grid interno del slide */
  display: grid !important;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  padding: 130px 60px 100px;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 1;
}

.hero-slide.is-active {
  clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
  -webkit-clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
  z-index: 3;
}

.hero-slide.was-active {
  clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
  -webkit-clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
  z-index: 2;
}

/* Texto del slide */
.hero-slide-text {
  max-width: 500px;
  padding-left: 40px;
  position: relative;
  z-index: 5;
}

.hero-slide-title {
  font-family: 'MidcentDisco', 'Fraunces', 'Georgia', serif;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.92;
  color: inherit;
  margin: 0 0 6px;
  letter-spacing: -1px;
}
.hero-slide-title span { display: block; }

/* Slogan oficial (imagen webp) */
.hero-slide-slogan-img {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
  margin: 0 0 22px -20px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(24%) saturate(1064%) hue-rotate(357deg) brightness(94%) contrast(88%);
  /* Filter para llevar el slogan color café original */
}
/* En slides dark, el slogan se torna claro */
.hero-slide--dark .hero-slide-slogan-img {
  filter: brightness(0) invert(1) sepia(1) hue-rotate(20deg) saturate(3);
}

/* Cuchara */
.hero-slide-cuchara {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 8px 0 24px;
}
.hero-slide--dark .hero-slide-cuchara {
  filter: brightness(0) invert(1) sepia(1) hue-rotate(20deg) saturate(3);
}

.hero-slide-sub {
  font-family: 'Grift', 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.9;
  margin: 0 0 32px;
  max-width: 400px;
  white-space: pre-line;
}

.hero-slide-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Botón variante amarilla (para slide sobre morado) */
.btn-home--yellow {
  background: #ffd400;
  color: #6b4023;
  border-color: #ffd400;
}
.btn-home--yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(255, 212, 0, 0.6);
}

/* Botón variante outline-cream (para slide dark) */
.btn-home--outline-cream {
  background: transparent;
  color: #fcf1d8;
  border-color: #fcf1d8;
}
.btn-home--outline-cream:hover {
  background: #fcf1d8;
  color: #5448dd;
  transform: translateY(-2px);
}

/* Visual del slide (imagen del producto) */
.hero-slide-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 40px;
  z-index: 5;
}
.hero-slide-visual img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.18));
  animation: heroFloat 6s ease-in-out infinite;
}

/* Controles del slider (dots + arrows) */
.hero-slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 20;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.15);
}
/* En slide dark, el chip de controles se invierte */
.hero-slider.hero-slider--slide-3 .hero-slider-controls {
  background: rgba(107, 64, 35, 0.35);
}

.hero-slider-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  color: #6b4023;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s ease, transform .25s ease;
}
.hero-slider-arrow:hover {
  background: #6b4023;
  color: #fcf1d8;
  transform: scale(1.08);
}
.hero-slider--slide-3 .hero-slider-arrow {
  color: #fcf1d8;
}
.hero-slider--slide-3 .hero-slider-arrow:hover {
  background: #ffd400;
  color: #5448dd;
}

.hero-slider-arrow:focus-visible {
  outline: 2px solid #5448dd;
  outline-offset: 3px;
}
.hero-slider-arrow svg { width: 18px; height: 18px; }

/* Dots (usando la firma de marca: 3 puntos amarillo/morado/rosa) */
.hero-slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-slider-dot {
  width: 12px; height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(107, 64, 35, 0.28);
  cursor: pointer;
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color .35s ease,
              width .35s ease;
}
.hero-slider--slide-3 .hero-slider-dot {
  background: rgba(252, 241, 216, 0.4);
}
.hero-slider-dot:hover {
  transform: scale(1.2);
}
.hero-slider-dot:focus-visible {
  outline: 2px solid #5448dd;
  outline-offset: 3px;
}
.hero-slider-dot.is-active {
  transform: scale(1);
  width: 36px;
  border-radius: 50px;
}
.hero-slider-dot[data-color="yellow"].is-active { background: #ffd400; }
.hero-slider-dot[data-color="purple"].is-active { background: #5448dd; }
.hero-slider-dot[data-color="pink"].is-active   { background: #e95068; }

/* Round decorativo detrás del producto (opcional por slide) */
.hero-slide .home-hero-bg-circle {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}
.hero-slide[data-slide-id="slide-nieves"] .home-hero-bg-circle {
  background: #f5e6c0;
}
.hero-slide[data-slide-id="slide-smoothie"] .home-hero-bg-circle {
  background: rgba(255, 165, 0, 0.4);
}
.hero-slide[data-slide-id="slide-aguas"] .home-hero-bg-circle {
  background: rgba(255, 212, 0, 0.25);
}

/* Reduced motion: eliminar clip-path, usar fade simple */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    clip-path: none !important;
    -webkit-clip-path: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .hero-slide.is-active {
    clip-path: none !important;
    -webkit-clip-path: none !important;
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease, visibility 0s linear 0s;
  }
  .hero-slide-visual img {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-slide {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 110px 30px 120px;
    text-align: left;
  }
  .hero-slide-text { padding-left: 0; max-width: none; }
  .hero-slide-visual { min-height: 380px; padding-right: 0; }
  .hero-slide-visual img { max-width: 460px; }
  .hero-slide-slogan-img { width: 320px; margin-left: 0; }
  .hero-slide .home-hero-bg-circle { width: 380px; height: 380px; }
}
@media (max-width: 640px) {
  .home-hero,
  .home-hero > .home-hero-grid,
  .hero-slider,
  .hero-slide {
    min-height: 90vh;
    min-height: 90dvh;
  }
  .hero-slide {
    padding: 100px 24px 130px;
  }
  .hero-slide-title { font-size: clamp(44px, 12vw, 60px); }
  .hero-slide-slogan-img { width: 260px; }
  .hero-slide-cuchara { width: 180px; }
  .hero-slide-visual { min-height: 280px; }
  .hero-slide-visual img { max-width: 340px; }
  .hero-slider-controls { bottom: 24px; padding: 10px 16px; gap: 12px; }
}

/* =====================================================================
   CUCHARA OFICIAL — reemplaza al garabato SVG
   ===================================================================== */

/* Cuchara del hero slider */
.hero-slide-cuchara {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 8px 0 24px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Cuchara de la sección Compartir sabe mejor */
.home-compartir-cuchara {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 8px 0 22px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Cuchara del footer (bajo "Simplemente se disfruta") */
.footer-slogan-cuchara {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-top: 6px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Ocultar cualquier fallback SVG viejo si aún existe en el HTML */
.hero-slide-underline,
.home-hero-underline,
.home-compartir-underline,
.footer-slogan-underline {
  display: none !important;
}

/* Responsive: reducir cuchara en móvil */
@media (max-width: 640px) {
  .hero-slide-cuchara { width: 180px; }
  .home-compartir-cuchara { width: 160px; }
  .footer-slogan-cuchara { width: 150px; }
}


/* ═══════════════════════════════════════════════════════════════
   Círculos flotantes — animación sutil en loop
   ═══════════════════════════════════════════════════════════════ */
@keyframes home-dot-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.home-suc-dot,
.home-cta-dot {
  animation: home-dot-float 5s ease-in-out infinite;
  will-change: transform;
}

/* Desfase por dot para que no floten en sincronía */
.home-suc-dot--pink-a   { animation-delay: 0s;    animation-duration: 4.8s; }
.home-suc-dot--purple-a { animation-delay: -1.2s; animation-duration: 6.2s; }
.home-suc-dot--pink-b   { animation-delay: -2.4s; animation-duration: 5.4s; }
.home-cta-dot--pink     { animation-delay: -0.8s; animation-duration: 5.6s; }
.home-cta-dot--yellow   { animation-delay: -2.0s; animation-duration: 6.4s; }

@media (prefers-reduced-motion: reduce) {
  .home-suc-dot,
  .home-cta-dot { animation: none; }
}
