/* ============================================================
   HELADÍN — Design System Claymorphism 3D
   Paleta: Raspberry #A31550 · Cream #FFF5EB · Dark #2A1A1F
   ============================================================ */

/* ===== TOKENS DE DISEÑO ===== */
:root {
  /* Brand Colors */
  --raspberry:       #A31550;
  --raspberry-light: #D42070;
  --raspberry-dark:  #7A0F3B;
  --raspberry-glow:  rgba(163, 21, 80, 0.22);
  --cream:           #FFF5EB;
  --cream-dark:      #F5E8D8;
  --cone-tan:        #D4B896;
  --cone-light:      #E8D5B8;
  --pink-soft:       #FFD6E0;
  --pink-medium:     #F7A8C4;
  --white:           #FFFFFF;
  --dark:            #2A1A1F;
  --dark-soft:       #4A3040;

  /* Flavor Colors */
  --mint:       #A8E6CF;
  --mango:      #FFD166;
  --blueberry:  #7B68EE;
  --chocolate:  #6B3A2A;
  --vanilla:    #FFF8DC;
  --strawberry: #FF6B8A;
  --pistachio:  #93C572;

  /* Clay Shadow System */
  --clay-shadow:
    0 6px 0 rgba(0, 0, 0, 0.11),
    0 14px 36px rgba(163, 21, 80, 0.16),
    inset 0 -3px 0 rgba(0, 0, 0, 0.07),
    inset 0 4px 10px rgba(255, 255, 255, 0.55);

  --clay-shadow-sm:
    0 4px 0 rgba(0, 0, 0, 0.10),
    0 8px 22px rgba(163, 21, 80, 0.12),
    inset 0 3px 8px rgba(255, 255, 255, 0.50);

  --clay-shadow-hover:
    0 10px 0 rgba(0, 0, 0, 0.12),
    0 22px 50px rgba(163, 21, 80, 0.24),
    inset 0 -3px 0 rgba(0, 0, 0, 0.08),
    inset 0 5px 12px rgba(255, 255, 255, 0.60);

  --clay-shadow-btn:
    0 7px 0 rgba(122, 15, 59, 0.70),
    0 14px 30px rgba(163, 21, 80, 0.30),
    inset 0 3px 8px rgba(255, 255, 255, 0.22);

  --clay-shadow-btn-hover:
    0 10px 0 rgba(122, 15, 59, 0.70),
    0 20px 40px rgba(163, 21, 80, 0.38),
    inset 0 3px 8px rgba(255, 255, 255, 0.28);

  --clay-shadow-btn-active:
    0 2px 0 rgba(122, 15, 59, 0.70),
    0 4px 12px rgba(163, 21, 80, 0.22),
    inset 0 3px 8px rgba(255, 255, 255, 0.18);

  /* Glass tokens */
  --glass-bg:     rgba(255, 245, 235, 0.82);
  --glass-border: rgba(163, 21, 80, 0.10);

  /* Easing */
  --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth-in: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Nunito', 'Quicksand', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  padding-bottom: 72px;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--raspberry); border-radius: 3px; }

/* ===== ANIMACIONES ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(2deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes wobble {
  0%, 100% { transform: rotate(-2.5deg) scale(1); }
  50%       { transform: rotate(2.5deg) scale(1.02); }
}
@keyframes drip {
  0%   { transform: scaleY(0); opacity: 0; transform-origin: top; }
  15%  { opacity: 1; transform: scaleY(1); }
  85%  { opacity: 1; }
  100% { transform: scaleY(1) translateY(55px); opacity: 0; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.4) translateY(30px); }
  55%  { transform: scale(1.07) translateY(-6px); }
  75%  { transform: scale(0.97) translateY(3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes gradientMesh {
  0%   { background-position: 0% 0%,   100% 100%, 50% 0%; }
  33%  { background-position: 100% 50%, 0% 50%,   100% 100%; }
  66%  { background-position: 50% 100%,50% 0%,    0% 50%; }
  100% { background-position: 0% 0%,   100% 100%, 50% 0%; }
}
@keyframes sprinkle {
  0%   { transform: translateY(-20px) rotate(0deg);   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateY(100vh) rotate(540deg); opacity: 0; }
}
@keyframes wave {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}
@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
}
@keyframes pillSlide {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(145deg, var(--raspberry-dark), var(--raspberry), var(--raspberry-light));
  background-size: 300% 300%;
  animation: gradientMesh 6s ease infinite;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.7s var(--smooth-in), visibility 0.7s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-cone {
  width: 90px; height: 175px; position: relative;
  animation: float 2.2s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}
.loader-scoop {
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--pink-soft), var(--raspberry));
  position: absolute; top: 0;
  box-shadow:
    inset -10px -10px 22px rgba(0,0,0,0.18),
    inset 8px 8px 18px rgba(255,255,255,0.42),
    0 8px 0 rgba(122,15,59,0.35),
    0 12px 30px rgba(0,0,0,0.15);
}
.loader-scoop::after {
  content: ''; position: absolute;
  width: 22px; height: 9px;
  background: rgba(255,255,255,0.65); border-radius: 50%;
  top: 18px; left: 18px; transform: rotate(-30deg);
}
.loader-base {
  width: 0; height: 0;
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-top: 100px solid var(--cone-tan);
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
}
.loader-base::before {
  content: ''; position: absolute;
  top: -98px; left: -32px; width: 64px; height: 24px;
  background: repeating-linear-gradient(
    45deg, var(--cone-tan), var(--cone-tan) 5px,
    var(--cone-light) 5px, var(--cone-light) 10px
  );
  border-radius: 0 0 5px 5px;
}
.loader-text {
  font-family: 'Pacifico', cursive;
  color: rgba(255,255,255,0.92);
  font-size: 1.7rem; margin-top: 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  animation: pulse 1.8s ease-in-out infinite;
}
.loader-dots::after {
  content: ''; animation: dots 1.6s steps(4, end) infinite;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 10px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1.5px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--smooth-in);
}
nav.scrolled {
  padding: 7px 20px;
  box-shadow: 0 4px 24px rgba(163, 21, 80, 0.10);
}
.nav-logo { height: 38px; transition: transform 0.3s var(--spring); }
.nav-logo:hover { transform: scale(1.07); }
.nav-links { display: none; gap: 6px; }
.nav-links a {
  text-decoration: none; color: var(--dark-soft);
  font-weight: 700; font-size: 0.78rem;
  padding: 7px 14px; border-radius: var(--r-pill);
  transition: all 0.25s var(--spring);
  letter-spacing: 0.03em; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--raspberry);
  color: var(--white);
  box-shadow: 0 4px 0 rgba(122,15,59,0.45), 0 8px 20px var(--raspberry-glow);
  transform: translateY(-2px);
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  nav { justify-content: space-between; padding: 12px 44px; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 90px 24px 50px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 15% 55%, rgba(255,182,210,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(163,21,80,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 70% 55% at 55% 95%, rgba(232,213,184,0.50) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 90% 80%, rgba(255,214,102,0.18) 0%, transparent 60%),
    var(--cream);
}

/* Sprinkles */
.sprinkle {
  position: absolute; width: 7px;
  animation: sprinkle linear infinite;
  opacity: 0; pointer-events: none;
}

/* Hero logo */
.hero-logo {
  width: min(260px, 66vw); margin-bottom: 16px;
  filter: drop-shadow(0 10px 28px rgba(163, 21, 80, 0.22));
  animation: floatSlow 5s ease-in-out infinite;
}

/* Hero content */
.hero-content {
  text-align: center; z-index: 2;
  animation: slideUp 0.9s var(--smooth-in) 0.3s both;
}
.hero-tagline {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.5rem, 5.5vw, 2.4rem);
  color: var(--raspberry);
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(163, 21, 80, 0.14);
  line-height: 1.25;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 3.2vw, 1.12rem);
  color: var(--dark-soft); font-weight: 600;
  max-width: 380px; margin: 0 auto 32px;
  line-height: 1.65;
}

/* CTA Button — Clay style */
.hero-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(145deg, var(--raspberry-light), var(--raspberry));
  color: var(--white); border: none;
  padding: 16px 36px; border-radius: var(--r-pill);
  font-family: 'Nunito', 'Quicksand', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  cursor: pointer; text-decoration: none;
  box-shadow: var(--clay-shadow-btn);
  transition: all 0.2s var(--spring);
  position: relative; overflow: hidden;
  transform: translateY(0);
  letter-spacing: 0.01em;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}
.hero-cta:hover {
  transform: translateY(-5px);
  box-shadow: var(--clay-shadow-btn-hover);
}
.hero-cta:active {
  transform: translateY(2px);
  box-shadow: var(--clay-shadow-btn-active);
  transition-duration: 0.08s;
}

/* 3D Ice Cream */
.hero-3d-container {
  position: relative; width: 210px; height: 360px;
  margin: 0 auto 28px;
  perspective: 900px;
  animation: slideUp 0.9s var(--smooth-in) 0.1s both;
}
.ice-cream-3d {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: wobble 5s ease-in-out infinite;
  position: relative;
  filter: drop-shadow(0 30px 40px rgba(163, 21, 80, 0.18));
}
.scoop-3d {
  width: 130px; height: 130px;
  border-radius: 50%;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.scoop-3d::after {
  content: ''; position: absolute;
  width: 26px; height: 10px;
  background: rgba(255,255,255,0.58);
  border-radius: 50%; top: 22px; left: 24px;
  transform: rotate(-28deg);
}
.scoop-3d:nth-child(1) {
  background: radial-gradient(circle at 32% 28%, #FFB6C1, var(--strawberry));
  top: 0; z-index: 3;
  box-shadow:
    inset -12px -12px 28px rgba(0,0,0,0.20),
    inset 8px 8px 20px rgba(255,255,255,0.38),
    0 8px 0 rgba(180,40,80,0.30),
    0 14px 30px rgba(163,21,80,0.14);
}
.scoop-3d:nth-child(2) {
  background: radial-gradient(circle at 32% 28%, #C8EEB0, var(--pistachio));
  top: 44px; z-index: 2;
  box-shadow:
    inset -12px -12px 28px rgba(0,0,0,0.18),
    inset 8px 8px 20px rgba(255,255,255,0.38),
    0 8px 0 rgba(100,140,60,0.28),
    0 14px 28px rgba(100,160,70,0.12);
}
.scoop-3d:nth-child(3) {
  background: radial-gradient(circle at 32% 28%, #D4A574, var(--chocolate));
  top: 88px; z-index: 1;
  box-shadow:
    inset -12px -12px 28px rgba(0,0,0,0.22),
    inset 8px 8px 20px rgba(255,255,255,0.28),
    0 8px 0 rgba(80,40,20,0.30),
    0 14px 28px rgba(100,60,30,0.14);
}
.cone-3d {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 162px; z-index: 0;
  width: 0; height: 0;
  border-left: 54px solid transparent;
  border-right: 54px solid transparent;
  border-top: 180px solid var(--cone-tan);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.12));
}
.cone-3d::before {
  content: ''; position: absolute;
  top: -178px; left: -50px; width: 100px; height: 54px;
  background:
    repeating-linear-gradient(50deg, transparent, transparent 6px, rgba(0,0,0,0.05) 6px, rgba(0,0,0,0.05) 12px),
    repeating-linear-gradient(-50deg, transparent, transparent 6px, rgba(0,0,0,0.04) 6px, rgba(0,0,0,0.04) 12px),
    linear-gradient(to bottom, var(--cone-light), var(--cone-tan));
  border-radius: 0 0 8px 8px;
}

/* Drip */
.drip {
  position: absolute; width: 11px; height: 18px;
  border-radius: 50% 50% 60% 60%;
  animation: drip 2.8s ease-in infinite;
}

/* Wave divider */
.wave-divider {
  position: absolute; bottom: -2px; left: 0; width: 200%; height: 80px;
  overflow: hidden;
}
.wave-divider svg { width: 100%; height: 100%; animation: wave 10s linear infinite; }

/* ===== SECTIONS COMMON ===== */
section { padding: 80px 20px; position: relative; }
.section-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--raspberry);
  text-align: center; margin-bottom: 10px;
}
.section-subtitle {
  text-align: center; color: var(--dark-soft);
  font-size: 1rem; font-weight: 600;
  max-width: 480px; margin: 0 auto 44px;
  line-height: 1.65;
}

/* ===== SABORES ===== */
.sabores { background: var(--white); overflow: hidden; }
.sabores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px; max-width: 520px; margin: 0 auto;
  padding: 0 4px;
}
@media (min-width: 600px) { .sabores-grid { grid-template-columns: repeat(4, 1fr); max-width: 680px; } }
@media (min-width: 900px) { .sabores-grid { grid-template-columns: repeat(5, 1fr); max-width: 860px; gap: 18px; } }

.sabor-card {
  border-radius: var(--r-md);
  padding: 18px 8px 14px;
  text-align: center; position: relative;
  overflow: hidden; cursor: pointer;
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--spring);
  box-shadow: var(--clay-shadow-sm);
  opacity: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.sabor-card.visible { animation: bounceIn 0.6s var(--spring) forwards; }
.sabor-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: var(--clay-shadow-hover);
}
.sabor-card:active { transform: translateY(1px) scale(0.97); transition-duration: 0.08s; }

/* Highlight de brillo en la card */
.sabor-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, transparent 100%);
  border-radius: var(--r-md) var(--r-md) 0 0;
  pointer-events: none;
}

.sabor-icon {
  width: 68px; height: 68px; margin: 0 auto 10px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow:
    inset -6px -6px 14px rgba(0,0,0,0.18),
    inset 4px 4px 10px rgba(255,255,255,0.48),
    0 4px 0 rgba(0,0,0,0.10),
    0 8px 18px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--spring);
}
.sabor-card:hover .sabor-icon { transform: scale(1.12) rotate(-5deg); }
.sabor-card:active .sabor-icon { transform: scale(0.94); }

.sabor-name {
  font-weight: 800; font-size: 0.78rem;
  margin-bottom: 3px; line-height: 1.2;
  color: var(--dark);
}
.sabor-desc {
  font-size: 0.64rem; color: var(--dark-soft);
  font-weight: 600; line-height: 1.3;
}

/* ===== PROCESO ===== */
.proceso {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--raspberry-dark) 0%, var(--raspberry) 60%, var(--raspberry-light) 100%);
  color: var(--white);
}
/* Dot pattern overlay */
.proceso::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.proceso .section-title  { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.18); }
.proceso .section-subtitle { color: rgba(255,255,255,0.82); }

.proceso-steps {
  display: flex; flex-direction: column;
  gap: 30px; max-width: 420px; margin: 0 auto;
  position: relative;
}
.proceso-steps::before {
  content: ''; position: absolute;
  left: 33px; top: 32px; bottom: 32px; width: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 100%);
  border-radius: 2px;
}

.paso {
  display: flex; align-items: flex-start; gap: 22px;
  opacity: 0; transform: translateX(-44px);
  transition: opacity 0.6s var(--smooth-in), transform 0.6s var(--smooth-in);
}
.paso.visible { opacity: 1; transform: translateX(0); }

.paso-num {
  width: 66px; height: 66px; flex-shrink: 0;
  border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Pacifico', cursive;
  font-size: 1.55rem; color: var(--raspberry);
  position: relative; z-index: 1;
  box-shadow:
    0 6px 0 rgba(0,0,0,0.16),
    0 12px 28px rgba(0,0,0,0.12),
    inset 0 4px 8px rgba(255,255,255,0.90),
    inset 0 -2px 4px rgba(0,0,0,0.06);
}
.paso-content h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; }
.paso-content p  { font-size: 0.9rem; opacity: 0.86; line-height: 1.55; font-weight: 500; }

/* ===== PROMO ===== */
.promo {
  background: linear-gradient(135deg, #FFD166 0%, #FFE599 40%, #FFD166 100%);
  background-size: 200% 200%;
  padding: 64px 24px; text-align: center;
  position: relative; overflow: hidden;
  animation: gradientMesh 10s ease infinite;
}
.promo::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(163,21,80,0.06) 1.5px, transparent 1.5px);
  background-size: 20px 20px; pointer-events: none;
}
.promo-inner { position: relative; z-index: 2; }

.promo-badge {
  display: inline-block;
  background: linear-gradient(145deg, var(--raspberry-light), var(--raspberry));
  color: var(--white);
  padding: 8px 26px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px;
  box-shadow:
    0 5px 0 rgba(122,15,59,0.55),
    0 10px 22px rgba(163,21,80,0.28);
  animation: pulse 2.5s ease-in-out infinite;
}
.promo h2 {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  color: var(--dark); margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.promo p {
  color: var(--dark-soft); font-size: 1rem;
  margin-bottom: 28px; font-weight: 600;
  max-width: 380px; margin-left: auto; margin-right: auto;
  line-height: 1.6;
}
.promo-emoji {
  font-size: 3.2rem; margin-bottom: 18px;
  animation: float 3.5s ease-in-out infinite;
  display: block;
}

/* ===== TESTIMONIOS ===== */
.testimonios { background: var(--cream-dark); overflow: hidden; }

.testimonios-slider {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 8px 24px;
  scrollbar-width: none;
}
.testimonios-slider::-webkit-scrollbar { display: none; }

.testimonio {
  min-width: 82vw; max-width: 340px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--r-lg); padding: 28px 24px;
  box-shadow: var(--clay-shadow-sm);
  position: relative;
  transition: transform 0.3s var(--spring);
  flex-shrink: 0;
}
.testimonio::before {
  content: '\201C'; font-family: 'Pacifico', cursive;
  font-size: 5rem; color: var(--raspberry);
  opacity: 0.12; position: absolute;
  top: 8px; left: 18px; line-height: 1;
}
@media (min-width: 600px) {
  .testimonios-slider { justify-content: center; }
  .testimonio { min-width: 300px; }
}

.testimonio-stars {
  color: var(--raspberry); font-size: 1.1rem;
  letter-spacing: 2px; margin-bottom: 12px;
}
.testimonio-text {
  font-size: 0.94rem; line-height: 1.65;
  color: var(--dark-soft); margin-bottom: 16px;
  font-style: italic; font-weight: 500;
}
.testimonio-author {
  font-weight: 800; font-size: 0.88rem;
  color: var(--raspberry);
}

/* Slider dots */
.slider-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(163,21,80,0.22);
  cursor: pointer;
  transition: all 0.3s var(--spring);
}
.slider-dot.active {
  background: var(--raspberry);
  width: 22px; border-radius: 4px;
  box-shadow: 0 3px 10px var(--raspberry-glow);
}

/* ===== UBICACIÓN ===== */
.ubicacion { background: var(--white); text-align: center; }
.ubicacion-cards {
  display: flex; flex-direction: column;
  gap: 20px; max-width: 520px; margin: 0 auto;
}
@media (min-width: 700px) {
  .ubicacion-cards { flex-direction: row; max-width: 880px; }
  .ubicacion-card { flex: 1; }
}

.ubicacion-card {
  background: linear-gradient(150deg, var(--cream), var(--white));
  border-radius: var(--r-xl); padding: 36px 24px;
  box-shadow: var(--clay-shadow-sm);
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--spring);
}
.ubicacion-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--clay-shadow);
}

/* Pin icon CSS */
.ubicacion-icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  background: linear-gradient(145deg, var(--raspberry-light), var(--raspberry));
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  animation: floatSlow 4s ease-in-out infinite;
  box-shadow:
    0 6px 0 rgba(122,15,59,0.40),
    0 12px 22px var(--raspberry-glow);
}
.ubicacion-icon::after {
  content: ''; width: 18px; height: 18px;
  background: var(--white); border-radius: 50%;
}

.ubicacion-card h3 {
  font-family: 'Pacifico', cursive;
  font-size: 1.28rem; color: var(--raspberry);
  margin-bottom: 12px;
}
.ubicacion-card p {
  font-size: 0.95rem; color: var(--dark-soft);
  line-height: 1.6; margin-bottom: 8px; font-weight: 600;
}
.ubicacion-hours {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 12px; margin-top: 18px; text-align: left;
  font-size: 0.84rem;
  border-top: 1.5px solid rgba(163,21,80,0.08);
  padding-top: 14px;
}
.ubicacion-hours .day  { font-weight: 800; color: var(--dark); }
.ubicacion-hours .time { color: var(--dark-soft); font-weight: 600; }

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(160deg, var(--dark), #1A0E12);
  color: rgba(255,255,255,0.72);
  padding: 52px 24px 32px; text-align: center;
}
.footer-logo { height: 52px; margin-bottom: 24px; filter: brightness(12); }
.footer-social { display: flex; gap: 14px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap; }
.footer-social a {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; text-decoration: none;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.14);
  transition: all 0.25s var(--spring);
  color: rgba(255,255,255,0.80);
}
.footer-social a:hover {
  background: var(--raspberry);
  border-color: var(--raspberry);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 0 rgba(122,15,59,0.55), 0 10px 22px var(--raspberry-glow);
  color: var(--white);
}
footer p { font-size: 0.78rem; opacity: 0.52; font-weight: 600; }

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-nav {
  display: flex; position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-top: 1.5px solid var(--glass-border);
  padding: 6px 8px max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -6px 30px rgba(0,0,0,0.07);
}
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* Pill indicator */
.mobile-nav-pill {
  position: absolute; top: 6px; left: 0;
  height: calc(100% - 10px - max(10px, env(safe-area-inset-bottom)));
  background: linear-gradient(145deg, rgba(163,21,80,0.14), rgba(163,21,80,0.08));
  border-radius: var(--r-sm);
  transition: transform 0.4s var(--spring), width 0.4s var(--spring), opacity 0.3s;
  pointer-events: none;
  animation: pillSlide 0.4s ease forwards;
}

.mobile-nav a {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 3px; min-height: 48px;
  justify-content: center;
  text-decoration: none; color: var(--dark-soft);
  font-size: 0.62rem; font-weight: 700;
  padding: 4px 2px;
  transition: color 0.25s var(--spring), transform 0.2s var(--spring);
  position: relative; z-index: 1;
  border-radius: var(--r-sm);
}
.mobile-nav a.active { color: var(--raspberry); }
.mobile-nav a.active svg { transform: scale(1.15); }
.mobile-nav a svg { transition: transform 0.25s var(--spring); }
.mobile-nav a span.nav-label { display: block; }

/* ===== RESPONSIVE ===== */
@media (min-width: 900px) {
  .hero { flex-direction: row; gap: 48px; padding: 100px 60px 80px; }
  .hero-content { text-align: left; }
  .hero-subtitle { margin-left: 0; }
  .proceso-steps { max-width: 560px; }
  section { padding: 100px 40px; }
}

/* ===== INTERSECTION OBSERVER ===== */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s var(--smooth-in), transform 0.7s var(--smooth-in);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .sabor-card { opacity: 1; }
  .paso { opacity: 1; transform: none; }
}
