/* ============================================
   SON-RISAS - MAIN STYLESHEET
   Premium Design System
   ============================================ */

/* --- ROOT VARIABLES --- */
:root {
  --primary: #FF6B35;
  --primary-dark: #E55A24;
  --primary-light: #FF9066;
  --secondary: #FFD23F;
  --secondary-dark: #F5C800;
  --accent: #7B2D8B;
  --accent-light: #A855C0;
  --teal: #0EA5E9;
  --teal-dark: #0284C7;
  --dark: #ffffff; /* Pure white to match video background */
  --dark-2: #f8fafc;
  --dark-3: #f1f5f9;
  --light: #111827; /* Inverse for light mode */
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: rgba(0,0,0,0.08);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.05);

  /* STATUS COLORS */
  --status-available: #CBD5E1;
  --status-pending: #F59E0B;
  --status-confirmed: #22C55E;
  --status-cancelled: #EF4444;

  /* GOLD COLORS FOR GEARS */
  --gold-primary: #FFD700;
  --gold-secondary: #B8860B;
  --gold-accent: #DAA520;
  --gold-metallic: linear-gradient(135deg, #FFD700, #B8860B, #FFD700);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   PAGE LOADER — fondo blanco + logo animado
   ============================================ */
#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.5); /* Seamless expansion effect */
}

/* Fusion Animation */
.fusion-active {
  animation: fusionPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fusionPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.loader-video {
  width: min(480px, 82vw);
  height: auto;
  display: block;
  /* mix-blend-mode multiply: el blanco del vídeo se funde con el fondo blanco = fondo invisible */
  mix-blend-mode: multiply;
  animation: loaderPulse 2.4s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- GEARS BACKGROUND --- */
#gears-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.15;
}

.gear {
  position: absolute;
  fill: var(--gold-accent);
  stroke: rgba(184, 134, 11, 0.3);
  stroke-width: 0.5px;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
  transition: transform 0.1s linear;
  will-change: transform;
}

.gear-inner {
  transform-origin: center;
}

/* --- CONTAINER --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}




.nav-links {
  display: flex;
  gap: 32px;
  grid-column: 2; /* Center column */
  justify-content: center; /* Center the links within their grid column */
  align-items: center;
}

.nav-link {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition-bounce);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--secondary);
  opacity: 0;
  border-radius: 50px;
  transition: var(--transition-bounce);
  z-index: -1;
  transform: scale(0.5);
}

.nav-link:hover {
  color: var(--primary-dark);
  transform: scale(1.15) rotate(3deg);
}

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-link:active {
  transform: scale(0.95);
}

.btn-reserva-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end; /* Align to the right of the 3rd column */
  grid-column: 3;
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
  white-space: nowrap;
}

.btn-reserva-nav:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255,107,53,0.6);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* Vertical layout */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px; /* Space for fixed navbar */
  background: #ffffff; /* Explicitly pure white */
}

.hero-centerpiece {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  margin-bottom: -40px; /* Pull text closer */
  display: flex;
  justify-content: center;
}

.logo-animado-video {
  width: 100%;
  height: auto;
  max-height: 50vh;
  mix-blend-mode: multiply; /* Blends out the white background */
  filter: brightness(1.02) contrast(1.02); /* Ensures compression artifacts become pure white */
  transform: scale(1.1);
  display: block;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px 24px 80px;
  max-width: 960px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 210, 63, 0.15);
  border: 1px solid rgba(255, 210, 63, 0.4);
  color: var(--secondary);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Subtle shadow instead of heavy glow */
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 500;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  width: fit-content;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.stat-item {
  text-align: center;
  padding: 0 32px;
}

.stat-number {
  font-family: 'Fredoka One', cursive;
  font-size: 2.5rem;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 0.5; }
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 30px rgba(255,107,53,0.6); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-glow {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,107,53,0.4); }
  50% { box-shadow: 0 4px 40px rgba(255,107,53,0.8), 0 0 60px rgba(255,107,53,0.3); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  transition: var(--transition-bounce);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: var(--dark-2);
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

.btn-full { width: 100%; justify-content: center; }

/* --- SECTION BASE --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--primary-light);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.highlight {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- NOSOTROS --- */
.nosotros-section {
  background: white;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.nosotros-image-wrapper {
  position: relative;
}

.nosotros-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.floating-badge {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  animation: floatBadge 4s ease-in-out infinite;
}

.badge-1 {
  top: -16px;
  right: -16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ADE80;
  animation-delay: 0s;
}

.badge-2 {
  bottom: -16px;
  left: -16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.1));
  border-color: rgba(14, 165, 233, 0.4);
  color: #38BDF8;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.feature-list { display: flex; flex-direction: column; gap: 24px; }

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.feature-item:hover {
  background: rgba(255, 107, 53, 0.06);
  border-color: rgba(255, 107, 53, 0.2);
  transform: translateX(8px);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.feature-text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.feature-text p { color: var(--text-muted); font-size: 0.95rem; }

/* --- SERVICIOS --- */
.servicios-section {
  background: var(--dark-2);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.servicio-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.servicio-card:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255,107,53,0.1);
}

.servicio-card:hover::before { transform: scaleX(1); }

.servicio-icon-wrap {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.servicio-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 12px;
}

.servicio-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7; }

.servicio-features { text-align: left; }
.servicio-features li {
  color: var(--text-muted);
  padding: 4px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tobogan-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.tobogan-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tobogan-overlay-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px;
}

.tobogan-overlay-content h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 12px;
}

.tobogan-overlay-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 500px;
}

/* --- RESERVAS --- */
.reservas-section {
  background: white;
}

.legend-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.legend-title {
  font-weight: 800;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
}

.legend-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-available { background: var(--status-available); box-shadow: 0 0 8px rgba(203,213,225,0.6); }
.dot-pending { background: var(--status-pending); box-shadow: 0 0 8px rgba(245,158,11,0.6); }
.dot-confirmed { background: var(--status-confirmed); box-shadow: 0 0 8px rgba(34,197,94,0.6); }
.dot-cancelled { background: var(--status-cancelled); box-shadow: 0 0 8px rgba(239,68,68,0.6); }

/* --- CALENDAR --- */
.calendar-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 107, 53, 0.06);
  border-bottom: 1px solid var(--border);
}

.cal-month-year {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--text);
}

.cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  cursor: pointer;
}

.cal-nav:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 12px 12px 4px;
  background: var(--white);
}

.calendar-weekdays div {
  text-align: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 8px 12px 12px;
}

.cal-day {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 50px;
  background: #f8fafc;
}

.cal-day:not(.empty):not(.past):hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--primary-light);
  z-index: 2;
}

.cal-day.empty { border-color: transparent; cursor: default; background: transparent; }
.cal-day.past { opacity: 0.4; cursor: not-allowed; }
.cal-day.today { border: 2px solid var(--secondary); }

.cal-day-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  background: rgba(255,255,255,0.92);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: var(--text);
  font-weight: 800;
  font-size: 0.85rem;
}

.cal-day.selected {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.cal-day.selected .cal-day-number {
  background: var(--primary);
  color: white;
}

.cal-day-slots-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.cal-slot-half {
  flex: 1;
  width: 100%;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.cal-slot-half:last-child { border-bottom: none; }

.cal-slot-half.available { background: var(--status-available); }
.cal-slot-half.pending   { background: var(--status-pending); }
.cal-slot-half.confirmed { background: var(--status-confirmed); }
.cal-slot-half.cancelled { background: var(--status-cancelled); }

/* Hide redundant elements */
.cal-day-dots, .cal-dot { display: none !important; }

/* --- BOOKING PANEL --- */
.booking-panel {
  background: var(--dark-2);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.booking-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.booking-panel-header h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: var(--text);
}

.close-panel {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
}

.close-panel:hover { background: var(--status-cancelled); }

.slots-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.slot-card {
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition-bounce);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.slot-card.available {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.3);
}

.slot-card.available:hover {
  background: rgba(34, 197, 94, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.2);
}

.slot-card.pending {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.3);
  cursor: not-allowed;
}

.slot-card.confirmed {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.3);
  cursor: not-allowed;
}

.slot-card.cancelled {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.3);
  cursor: not-allowed;
}

.slot-time {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 4px;
}

.slot-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.slot-status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.slot-card.available .slot-status-badge { background: rgba(34, 197, 94, 0.15); color: #4ADE80; }
.slot-card.pending .slot-status-badge { background: rgba(245, 158, 11, 0.15); color: #FCD34D; }
.slot-card.confirmed .slot-status-badge { background: rgba(34, 197, 94, 0.15); color: #4ADE80; }
.slot-card.cancelled .slot-status-badge { background: rgba(239, 68, 68, 0.15); color: #F87171; }

.slot-book-btn {
  width: 100%;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  transition: var(--transition-bounce);
  border: none;
  cursor: pointer;
}

.slot-book-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255,107,53,0.4); }
.slot-card:not(.available) .slot-book-btn { display: none; }

.slot-reserved-info {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- MODAL --- */
.booking-form-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: var(--dark-2);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,107,53,0.1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
}

.modal-close:hover { background: var(--status-cancelled); }

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-icon { font-size: 3rem; margin-bottom: 12px; animation: iconBounce 2s ease-in-out infinite; }

.modal-header h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 8px;
}

.modal-header p { color: var(--text-muted); font-size: 0.95rem; }

/* --- FORM --- */
.reservation-form { display: flex; flex-direction: column; gap: 20px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* --- SUCCESS MESSAGE --- */
.success-message {
  text-align: center;
  padding: 60px 24px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-lg);
  animation: slideDown 0.4s ease;
}

.success-icon { font-size: 4rem; margin-bottom: 16px; animation: iconBounce 1.5s ease-in-out infinite; }

.success-message h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: #4ADE80;
  margin-bottom: 12px;
}

.success-message p { color: var(--text-muted); margin-bottom: 24px; }

/* --- CONTACTO --- */
.contacto-section {
  background: var(--dark-2);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.contacto-info { display: flex; flex-direction: column; gap: 16px; }

.contacto-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contacto-item:hover {
  background: rgba(255, 107, 53, 0.06);
  border-color: rgba(255, 107, 53, 0.2);
  transform: translateX(6px);
}

.contacto-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-item strong { display: block; color: white; font-size: 0.9rem; margin-bottom: 4px; }
.contacto-item p, .contacto-item a { color: var(--text-muted); font-size: 0.95rem; }
.contacto-item a:hover { color: var(--primary-light); }

.contacto-map {
  position: sticky;
  top: 100px;
}

.map-placeholder {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.map-icon { font-size: 3rem; }
.map-placeholder p { color: var(--text-muted); font-weight: 700; }
.map-placeholder small { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* --- FOOTER --- */
.footer {
  background: var(--dark-2);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(255,107,53,0.3));
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.7; }

.social-links { display: flex; gap: 12px; }

.social-btn {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-bounce);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px) scale(1.1);
}

.footer-links h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 24px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); padding-left: 8px; }

.footer-contact-col h4 {
  color: white;
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  margin-bottom: 10px;
}

.footer-contact-btn:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.3);
  color: var(--primary-light);
  transform: translateX(4px);
}

.whatsapp-btn:hover { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.3); color: #4ADE80; }
.reserve-btn:hover { background: rgba(255, 107, 53, 0.15); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-bottom a { color: var(--primary-light); font-weight: 700; }
.footer-bottom a:hover { color: var(--primary); }

/* --- FLOATING WA BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-bounce);
}

.whatsapp-float svg { width: 28px; height: 28px; }

.whatsapp-float:hover {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  cursor: pointer;
}

.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px) scale(1.1); }

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-bounce-in {
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.animate-slide-up {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes bounceIn {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

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

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nosotros-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
  }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 20px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { font-size: 1.4rem; padding: 12px 32px; color: var(--text); }
  .btn-reserva-nav { display: none; }
  .hamburger { display: flex; order: 2; }

  .hero-stats { flex-direction: column; gap: 16px; padding: 24px; }
  .stat-divider { width: 100%; height: 1px; }

  .nosotros-grid { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .slots-container { grid-template-columns: 1fr; }
  .tobogan-overlay-content { padding: 30px; }
  .tobogan-overlay-content h3 { font-size: 1.8rem; }
  .legend-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { width: 100%; justify-content: center; }
  .hero-stats { width: 100%; }
  .hero-logo-video { width: min(320px, 90vw); }
  .hero-content { padding: 100px 16px 60px; }
}
