/* 
 * Magic Day - Sistema de Diseño en Vanilla CSS 
 * Estilos modernos, responsivos, con micro-animaciones premium e identidad visual alegre.
 */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

/* Variables de Sistema */
:root {
  --color-primary: #FF5E8C;         /* Rosa Mágico / Divertido */
  --color-primary-hover: #ff477e;
  --color-secondary: #4D96FF;       /* Azul Cielo / Aventura */
  --color-secondary-hover: #357ae8;
  --color-accent: #FFD93D;          /* Amarillo Sol / Alegría */
  --color-bg: #FAFAFF;              /* Blanco Nube / Suave */
  --color-text: #2B2D42;            /* Deep Slate / Contraste */
  --color-text-muted: #6C757D;      /* Gris Suave */
  --color-white: #FFFFFF;
  --color-success: #6BCB77;         /* Verde éxito */
  
  /* Gradientes */
  --grad-magic: linear-gradient(135deg, var(--color-primary) 0%, #ff85a7 100%);
  --grad-sky: linear-gradient(135deg, var(--color-secondary) 0%, #7db1ff 100%);
  --grad-rainbow: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent), var(--color-success));
  
  /* Sombras */
  --shadow-sm: 0 4px 10px rgba(43, 45, 66, 0.04);
  --shadow-md: 0 10px 25px rgba(43, 45, 66, 0.06);
  --shadow-lg: 0 20px 40px rgba(43, 45, 66, 0.08);
  --shadow-primary: 0 10px 25px rgba(255, 94, 140, 0.25);
  --shadow-secondary: 0 10px 25px rgba(77, 150, 255, 0.25);

  /* Transiciones */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bouncy: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Estructura y Contenedores */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

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

/* Encabezados de Sección */
.section-header {
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background-color: rgba(255, 94, 140, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-w: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Barra de Navegación (Sticky Glassmorphism) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 250, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77, 150, 255, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo span {
  color: var(--color-secondary);
}

.logo-icon {
  font-size: 1.8rem;
  animation: float 3s ease-in-out infinite;
}

.logo-img {
  height: 40px;
  width: auto;
  animation: float 3s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 99px;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .active {
  color: var(--color-primary);
}

.nav-links .active::after {
  width: 100%;
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: var(--transition-bouncy);
}

.btn-primary {
  background: var(--grad-magic);
  color: var(--color-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 94, 140, 0.35);
}

.btn-secondary {
  background: var(--grad-sky);
  color: var(--color-white);
  box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(77, 150, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: rgba(255, 94, 140, 0.05);
  transform: translateY(-4px);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 10px 25px rgba(255, 217, 61, 0.25);
}

.btn-accent:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 217, 61, 0.4);
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh; /* Ajustado de 90vh para evitar espacio vacío excesivo en PC */
  display: flex;
  align-items: center;
  padding: 120px 0 80px 0; /* Padding vertical controlado y elegante */
  background: radial-gradient(circle at 10% 20%, rgba(255, 94, 140, 0.06) 0%, rgba(77, 150, 255, 0.06) 90%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px; /* Reducido para evitar separación visual vacía */
  align-items: center;
  max-width: 1100px; /* Centra y junta horizontalmente el texto y la imagen en pantallas grandes */
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 219, 61, 0.15);
  border: 1px solid rgba(255, 219, 61, 0.3);
  color: #c99300;
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
  animation: pulse-glow 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title span.pink {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-title span.blue {
  color: var(--color-secondary);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Elementos Visuales del Hero (Sesión de fotos principal) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor interno que limita el área de posicionamiento al tamaño de la foto.
   Así el badge siempre se ancla a la esquina de la imagen, no al contenedor ancho. */
.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  background: var(--grad-sky);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: morph 8s ease-in-out infinite;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: var(--transition-smooth);
  display: block;
}

.hero-photo-wrapper:hover .hero-img {
  transform: scale(1.1);
}

/* Insignia Mágica */
.magic-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--color-accent);
  padding: 16px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  transform: rotate(12deg);
  animation: hover-slow 4s ease-in-out infinite;
  z-index: 5;
}

.magic-badge .badge-txt {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  color: var(--color-text);
}

.floating-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(77, 150, 255, 0.1);
  animation: bubble-float 6s ease-in-out infinite;
  pointer-events: none;
}

/* Bento Grid de Instalaciones */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
  margin-top: 30px;
}

.bento-item {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-white);
  cursor: pointer;
  transition: var(--transition-bouncy);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(20, 21, 33, 0.85) 0%, rgba(20, 21, 33, 0) 100%);
  padding: 20px 24px;
  color: var(--color-white);
  opacity: 1; /* Siempre visible de forma limpia */
  transform: translateY(0); /* Fijo en su lugar */
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-item h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Sombra para máxima legibilidad */
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.bento-item:hover img {
  transform: scale(1.08);
}

/* Tamaños Especiales Bento */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

/* Sección Promoción del Mes */
.promo-section {
  background-color: #f3f5ff;
  border-top: 1px solid rgba(77, 150, 255, 0.05);
  border-bottom: 1px solid rgba(77, 150, 255, 0.05);
}

.promo-card {
  background-color: var(--color-white);
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 94, 140, 0.1);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.rainbow-stripe {
  background: var(--grad-rainbow);
  height: 6px;
  grid-column: span 2;
}

.promo-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-tag {
  color: var(--color-primary);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.promo-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.promo-desc {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.promo-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.price-box {
  padding: 16px;
  border-radius: 1rem;
  text-align: center;
  border: 2px dashed;
  transition: var(--transition-smooth);
}

.price-box.semana {
  background-color: rgba(77, 150, 255, 0.05);
  border-color: rgba(77, 150, 255, 0.3);
  color: var(--color-secondary);
}

.price-box.finde {
  background-color: rgba(255, 94, 140, 0.05);
  border-color: rgba(255, 94, 140, 0.3);
  color: var(--color-primary);
}

.price-day {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.price-val {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.promo-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}

.promo-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.promo-feat-item span.icon {
  color: var(--color-success);
  font-size: 1.2rem;
  font-weight: bold;
}

.promo-visual {
  position: relative;
  overflow: hidden;
  min-height: 500px; /* Incrementado a 500px en PC para mayor visibilidad del folleto */
  background-color: #ffffff; /* Fondo blanco limpio para combinar con el flyer promocional */
  display: flex;
  justify-content: center; /* Centrado base horizontal en la columna */
  align-items: center;
}

.promo-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Muestra el folleto completo sin zoom ni recortes */
  padding: 6px; /* Reducido de 12px a 6px para aumentar el tamaño de la imagen */
  transform: translateX(-15px); /* Desplaza el folleto ligeramente a la izquierda en PC para centrarlo visualmente entre el texto y el borde */
  transition: var(--transition-smooth);
}

.promo-badge-limited {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 12px 18px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.1;
  box-shadow: var(--shadow-md);
  transform: rotate(-10deg);
  animation: hover-slow 5s ease-in-out infinite alternate;
}

/* Cotizador Interactivo */
.quote-box {
  background-color: var(--color-white);
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid rgba(77, 150, 255, 0.08);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.quote-form h3 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.quote-form h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 99px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.day-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.day-option {
  border: 2px solid #E2E8F0;
  padding: 16px;
  border-radius: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.day-option input {
  display: none;
}

.day-option:hover {
  border-color: var(--color-secondary);
  background-color: rgba(77, 150, 255, 0.02);
}

.day-option.selected {
  border-color: var(--color-primary);
  background-color: rgba(255, 94, 140, 0.04);
}

.day-option h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.day-option p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Extras Checkboxes */
.extras-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.extra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: #F8F9FA;
  border-radius: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.extra-item:hover {
  background-color: #EFEFEF;
}

.extra-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.extra-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  background-color: var(--color-white);
}

.extra-checkbox::after {
  content: '✓';
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  display: none;
}

.extra-item input {
  display: none;
}

.extra-item input:checked + .extra-checkbox {
  background-color: var(--color-success);
  border-color: var(--color-success);
}

.extra-item input:checked + .extra-checkbox::after {
  display: block;
}

.extra-item.selected {
  border-color: var(--color-success);
  background-color: rgba(107, 203, 119, 0.04);
}

.extra-name {
  font-weight: 600;
}

.extra-price {
  font-weight: 700;
  color: var(--color-primary);
}

/* Columna de Resultado Cotizador */
.quote-summary {
  background: radial-gradient(circle at 100% 0%, rgba(77, 150, 255, 0.1) 0%, rgba(255, 94, 140, 0.05) 100%);
  border-radius: 1.5rem;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 94, 140, 0.06);
  text-align: center;
}

.summary-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.summary-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.summary-price-tag {
  margin: 30px 0;
}

.summary-price-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.summary-price-val {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.5rem;
  color: var(--color-primary);
  font-weight: 700;
  transition: var(--transition-bouncy);
}

.summary-price-val.pop-anim {
  transform: scale(1.15);
}

.summary-features {
  text-align: left;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 1rem;
  margin-bottom: 30px;
  border: 1px solid rgba(43, 45, 66, 0.05);
}

.summary-features h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.summary-features ul {
  list-style: none;
  font-size: 0.9rem;
}

.summary-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.summary-features li::before {
  content: '★';
  color: var(--color-accent);
  font-size: 0.9rem;
}

/* Google Reviews Widget */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background-color: var(--color-white);
  border-radius: 1.5rem;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 45, 66, 0.04);
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.reviewer-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.reviewer-meta h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-icon {
  color: var(--color-secondary);
  font-size: 0.9rem;
}

.reviewer-guide {
  font-size: 0.75rem;
  color: #ff9100;
  font-weight: 700;
}

.google-logo-svg {
  width: 18px;
  height: 18px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.review-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  display: block;
}

.google-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}

.google-score {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.google-stars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.google-stars-row {
  display: flex;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.google-count {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* FAQ Acordeón */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: 1rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 45, 66, 0.03);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Fredoka', sans-serif;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  max-height: 200px;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

/* Sección de Ubicación y Mapa */
.footer-map-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.footer-map-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.footer-map-info p {
  color: var(--color-text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(77, 150, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.4rem;
  flex-shrink: 0; /* Evita que el círculo se deforme a óvalo en pantallas móviles o con textos largos */
}

.contact-txt h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-txt p {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
  font-size: 1rem;
}

.map-wrapper {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-white);
  height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Copyright */
.footer-bottom {
  border-top: 1px solid rgba(43, 45, 66, 0.05);
  padding: 40px 0;
  margin-top: 60px;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-logo span {
  color: var(--color-secondary);
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Animaciones */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes morph {
  0% { border-radius: 42% 58% 58% 42% / 42% 42% 58% 58%; }
  50% { border-radius: 55% 45% 45% 55% / 45% 55% 45% 55%; }
  100% { border-radius: 42% 58% 58% 42% / 42% 42% 58% 58%; }
}

@keyframes bubble-float {
  0% { transform: translateY(0px) scale(1); opacity: 0.8; }
  50% { transform: translateY(-20px) scale(1.05); opacity: 0.6; }
  100% { transform: translateY(0px) scale(1); opacity: 0.8; }
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 219, 61, 0.4); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(255, 219, 61, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 219, 61, 0); }
}

/* Estilos de Lightbox para fotos */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 21, 33, 0.97); /* Gris muy oscuro azulado de altísimo nivel */
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 32px 16px;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 72vh; /* Limita la altura vertical para dejar espacio al título sin desbordar */
  object-fit: contain;
  border-radius: 1rem;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-lg);
  display: block;
}

.lightbox-title {
  color: var(--color-white);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  margin-top: 16px;
  text-align: center;
  max-width: 600px;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background-color: rgba(43, 45, 66, 0.85); /* Fondo oscuro translúcido */
  border: 2px solid var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  z-index: 10;
  padding: 0;
}

.lightbox-close:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

/* ESTILOS DE LA PÁGINA DE PAQUETES (packages.html) */
.packages-hero {
  background: linear-gradient(185deg, rgba(255, 94, 140, 0.08) 0%, rgba(77, 150, 255, 0.04) 100%);
  padding: 140px 0 60px 0;
  text-align: center;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.package-card {
  background-color: var(--color-white);
  border-radius: 2rem;
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-bouncy);
}

.package-card.highlighted {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.package-card.highlighted::before {
  content: '★ EL MÁS POPULAR ★';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 16px;
  border-radius: 99px;
  letter-spacing: 1px;
}

.package-name {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.package-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.package-price-tag {
  margin-bottom: 30px;
}

.package-price-base {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.package-price-val {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: baseline;
}

.package-price-val span.currency {
  font-size: 1.8rem;
  font-weight: 700;
}

.package-dias {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-top: 4px;
}

.package-features {
  list-style: none;
  margin-bottom: 40px;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.package-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
}

.package-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

/* Sección Comodidades del Salón */
.amenities-section {
  background-color: var(--color-white); /* Fondo blanco sólido elegante para contraste */
  border-top: 1px solid rgba(77, 150, 255, 0.05);
  border-bottom: 1px solid rgba(77, 150, 255, 0.05);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  transition: var(--transition-smooth);
}

.amenity-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(255, 94, 140, 0.08); /* Fondo rosa suave */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition-bouncy);
}

.amenity-icon {
  color: var(--color-primary); /* Rosa Mágico */
  font-size: 2.4rem;
}

.amenity-item:hover .amenity-icon-wrapper {
  transform: scale(1.12) translateY(-4px);
  background-color: rgba(255, 94, 140, 0.12);
  box-shadow: 0 10px 20px rgba(255, 94, 140, 0.15);
}

.amenity-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.amenity-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 340px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   BREAKPOINTS RESPONSIVOS
   • Tablet / Z Fold desplegado  : 769px – 1024px  (breakpoint intermedio)
   • Mobile                      : ≤ 768px
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Tablet / Z Fold Desplegado (769px – 1024px) ─────────────────
   A este ancho el Z Fold y las tablets reciben layout de escritorio
   pero con pantalla táctil. Aquí lo corregimos:
   - Se activa el menú hamburguesa (igual que móvil)
   - Los grids se reducen a 2 columnas
   - Los textos y botones se ajustan para toque táctil cómodo
   ──────────────────────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Navbar: hamburger en tablet */
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-white);
    padding: 32px 0;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid rgba(77, 150, 255, 0.05);
    display: none;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  /* Contenedor: más padding lateral */
  .container {
    padding: 0 32px;
  }

  /* Hero: una sola columna centrada */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-desc {
    font-size: 1.1rem;
    max-width: 560px;
  }

  .hero-photo-wrapper {
    max-width: 380px;
  }

  .hero-visual-inner {
    max-width: 380px;
  }

  /* Bento Grid: 2 columnas en tablet */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-wide {
    grid-column: span 2;
  }

  /* Promo del Mes: columna única */
  .promo-card {
    grid-template-columns: 1fr;
  }

  .rainbow-stripe {
    grid-column: span 1;
  }

  .promo-info {
    padding: 36px;
  }

  .promo-visual {
    order: -1;
    min-height: 320px;
    justify-content: center;
    padding-left: 0;
  }

  .promo-visual img {
    transform: translateX(0);
    padding: 12px;
  }

  .promo-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Cotizador: columna única */
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .quote-box {
    padding: 32px;
  }

  /* Reviews: carrusel horizontal de scroll automático */
  .reviews-grid {
    display: flex;          /* cambia de grid a flex track */
    gap: 0;                 /* el gap lo maneja el padding de las tarjetas */
    overflow: hidden;       /* viewport del carrusel */
    width: 100%;
    margin-top: 40px;
    position: relative;
  }

  /* El track que se anima (contiene las tarjetas originales + duplicadas) */
  .reviews-carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll-carousel 18s linear infinite;
    width: max-content;
  }

  /* Pausar al tocar con el dedo */
  .reviews-carousel-track:hover {
    animation-play-state: paused;
  }

  /* Cada tarjeta en el carrusel tiene ancho fijo */
  .reviews-grid .review-card {
    flex: 0 0 320px;
    width: 320px;
    margin: 0;
    transform: none !important; /* evita interferencia con el scroll */
  }

  /* Comodidades: 2 columnas (igual que móvil) */
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  /* Footer mapa: columna única */
  .footer-map-container {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    height: 280px;
  }

  /* Paquetes: columna única */
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Botones táctiles más generosos */
  .btn {
    padding: 14px 32px;
    font-size: 1.05rem;
    min-height: 52px;
  }

  /* Sección padding reducido */
  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* ─── Desktop / 1024px+ (breakpoint original) ──────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  
  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .bento-wide {
    grid-column: span 2;
  }
  
  .promo-card {
    grid-template-columns: 1fr;
  }
  
  .rainbow-stripe {
    grid-column: span 1;
  }
  
  .promo-visual {
    order: -1;
    min-height: 300px;
    justify-content: center; /* Vuelve a centrar en pantallas medianas/móviles */
    padding-left: 0;
  }
  
  .promo-visual img {
    transform: translateX(0); /* Resetea el desplazamiento en celulares/tablets */
    padding: 12px; /* Restablece el padding original para móvil */
  }
  
  .quote-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-map-container {
    grid-template-columns: 1fr;
  }
  
  .map-wrapper {
    height: 300px;
  }
}

/* ─── Z Fold / Plegable Abierto en Portrait (600px – 768px, portrait) ──────
   El Z Fold 7 abierto en portrait tiene un viewport CSS de ~683×758px.
   Cae dentro del breakpoint móvil (≤768px) pero su pantalla es cuadrada
   y más grande que un teléfono normal. Este bloque lo optimiza.
   ────────────────────────────────────────────────────────────────────── */
@media screen and (min-width: 600px) and (max-width: 768px) and (orientation: portrait) {

  /* Contenedor con más padding lateral — la pantalla es ancha */
  .container {
    padding: 0 28px;
  }

  /* Tipografía de sección: punto medio entre mobile y tablet */
  .section-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  /* Foto del hero más grande — hay espacio suficiente */
  .hero-photo-wrapper,
  .hero-visual-inner {
    max-width: 320px;
  }

  /* Bento: 2 columnas — aprovecha el ancho extra */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }

  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-wide {
    grid-column: span 2;
  }

  /* Promo: pantalla cuadrada → columna única pero con más padding */
  .promo-info {
    padding: 32px;
  }

  .promo-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo-prices {
    grid-template-columns: 1fr 1fr;
  }

  /* Reseñas: carrusel (igual que tablet landscape) */
  .reviews-grid {
    display: flex;
    overflow: hidden;
    width: 100%;
    margin-top: 32px;
    position: relative;
  }

  .reviews-carousel-track {
    display: flex;
    gap: 16px;
    animation: scroll-carousel 16s linear infinite;
    width: max-content;
  }

  .reviews-carousel-track:hover {
    animation-play-state: paused;
  }

  .reviews-grid .review-card {
    flex: 0 0 290px;
    width: 290px;
    transform: none !important;
  }

  /* Comodidades: mantener 2×2 */
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  /* Footer: columna única */
  .footer-map-container {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    height: 260px;
  }

  /* Paquetes: columna única centrada con max-width mayor */
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Botones táctiles generosos */
  .btn {
    padding: 13px 28px;
    font-size: 1rem;
    min-height: 50px;
  }

  /* Cotizador: una columna con mayor padding */
  .quote-box {
    padding: 28px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  /* Sección padding intermedio */
  .section-padding {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {

  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .navbar-container {
    padding: 0 16px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-white);
    padding: 40px 0;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid rgba(77, 150, 255, 0.05);
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  
  .bento-large, .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .promo-info {
    padding: 24px;
  }
  
  .promo-prices {
    grid-template-columns: 1fr;
  }
  
  .promo-features-grid {
    grid-template-columns: 1fr;
  }
  
  .quote-box {
    padding: 24px;
  }
  
  .day-selector {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .package-card {
    padding: 24px;
    border-radius: 1.5rem;
  }
  
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr); /* Fuerza cuadrícula de 2x2 en móvil */
    gap: 24px 16px; /* Gap ajustado para pantallas angostas */
  }
  
  .amenity-item {
    padding: 8px 4px;
  }

  .amenity-title {
    font-size: 1.1rem;
  }
  
  .amenity-desc {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* ─── Keyframe: Carrusel de Reseñas (Tablet) ───────────────────── */
@keyframes scroll-carousel {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% porque el track tiene las tarjetas duplicadas */
}

