:root{
  --primary:#ff2d7a;
  --primary-dark:#d91c68;
  --primary-soft:#fde7ef;
  --primary-light:#fff2f7;
  --text:#647384;
  --heading:#121821;
  --muted:#8a96a3;
  --line:#e8edf2;
  --bg-soft:#f5f7f8;
  --footer:#edf1f3;
  --dark-box:#33485f;
  --white:#ffffff;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:18px;
  --container:1120px;


  --metallic-pink: #d4a5b2;
  --neon-glow: rgba(98, 3, 30, 0.5);
  --neon-border: #333cc0; /* Un tono un poco más oscuro para el borde de luz */
  --bg-dark: #ff2d7a;
  --relief-light: rgba(212, 165, 178, 0.08); /* Relieve súper sutil */
  --relief-dark: rgba(0, 0, 0, 0.6); /* Sombras oscuras menos duras */

}

.dynamic-schedule {
  background-color: transparent;
  padding: 60px 0;
  color: #d91c68;
}

.calendar-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

/* =========================================
   EFECTO LUZ DE NEÓN EN MOVIMIENTO
   ========================================= */
.neon-calendar-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  overflow: hidden;
  /* Relieve base */
  box-shadow: 10px 10px 20px var(--relief-dark), -10px -10px 20px var(--relief-light);
}

/* La luz giratoria */
.neon-calendar-wrapper::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(transparent, transparent, transparent, var(--neon-glow));
  animation: rotateNeon 4s linear infinite;
  z-index: 0;
}

/* La "tapa" del calendario para ocultar el centro del gradiente */
.calendar-inner {
  position: relative;
  background: #181818;
  margin: 3px; /* Grosor de la línea de neón */
  border-radius: 22px;
  padding: 25px;
  z-index: 1;
}

@keyframes rotateNeon {
  100% { transform: rotate(360deg); }
}

/* =========================================
   ESTILOS INTERNOS DEL CALENDARIO
   ========================================= */
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--metallic-pink); }
.nav-btn { background: none; border: none; color: var(--metallic-pink); font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.nav-btn:hover { color: var(--neon-glow); text-shadow: 0 0 10px var(--neon-glow); }

.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; color: #777; font-size: 0.85rem; margin-bottom: 10px; }
.calendar-dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }

/* Botones de los días con relieve (Neumorfismo) */
.date-cell {
  aspect-ratio: 1;
  display: flex; justify-content: center; align-items: center;
  border-radius: 50%; cursor: pointer;
  background: linear-gradient(145deg, #1f1f1f, #151515);
  box-shadow: 3px 3px 6px var(--relief-dark), -2px -2px 5px rgba(255,255,255,0.03);
  transition: all 0.3s ease;
  color: #ccc;
  font-weight: 500;
}

.date-cell:hover, .date-cell.active {
  background: var(--metallic-pink);
  color: #121212; /* Texto oscuro para que resalte elegante */
  font-weight: bold;
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.3), 0 0 15px var(--neon-glow);
}

.date-cell.disabled { opacity: 0.2; pointer-events: none; }

/* =========================================
   PANEL DE CLASES DINÁMICAS
   ========================================= */
.classes-panel {
  width: 100%;
  max-width: 400px;
}

.panel-relief {
  background: #181818;
  border-radius: 20px;
  padding: 25px;
  border-left: 2px solid var(--metallic-pink);
  box-shadow: 6px 6px 15px var(--relief-dark), -6px -6px 15px var(--relief-light);
}

.panel-relief h4 { color: var(--metallic-pink); margin-bottom: 20px; border-bottom: 1px solid rgba(212, 165, 178, 0.2); padding-bottom: 10px;}

.class-slot {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px; margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.class-slot:hover {
  border-color: var(--metallic-pink);
  background: rgba(212, 165, 178, 0.05); /* Fondo apenas rosado al pasar el mouse */
  transform: translateX(5px);
}

.class-info strong { display: block; color: #fff; font-size: 1.1rem; }
.class-info span { color: #aaa; font-size: 0.85rem; }

.book-btn {
  background: transparent;
  color: var(--metallic-pink);
  border: 1px solid var(--metallic-pink);
  padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: 0.3s;
  font-weight: bold; font-size: 0.8rem; text-transform: uppercase;
}

.book-btn:hover { background: var(--metallic-pink); color: #000; box-shadow: 0 0 15px var(--metallic-pink); }


*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  color:var(--text);
  line-height:1.7;

/* Mantenemos tu color de texto y fondo base por si la imagen tarda en cargar */
  background-color: #ffffff; 
  color: #4b4a4a;

/* Aquí agregamos el nuevo fondo */
  background-image: url('img/patron.png'); /* Asegúrate de que la ruta sea correcta */
  background-repeat: repeat; /* Esto crea el efecto mosaico/patrón */
  background-size: 500px; /* Tamaño del dibujo. Puedes subirlo a 300px o bajarlo a 150px según qué tan grandes quieras los atrapasueños */
  background-attachment: fixed; /* El toque mágico: el fondo no se mueve al hacer scroll */
  background-position: center;

  }

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(92%, var(--container));
  margin:auto;
}

.section{
  padding:90px 0;
}

.section-title{
  text-align:center;
  margin-bottom:46px;
}

.section-title .line{
  width:48px;
  height:4px;
  margin:0 auto 18px;
  background:var(--primary);
  border-radius:999px;
}

.section-title h2{
  font-family: Georgia, "Times New Roman", serif;
  color:#1e1e1e;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom:10px;
  line-height:1.1;
}

.section-title p{
  max-width:740px;
  margin:auto;
  color:#71808f;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  border-radius:999px;
  font-weight:700;
  border:none;
  cursor:pointer;
  transition:.25s ease;
}

.btn-primary{
  color:#fff;
  background:linear-gradient(135deg, #ff5ba9, var(--primary));
  box-shadow:0 12px 25px rgba(255,45,122,.25);
}

.btn-primary:hover{
  transform:translateY(-2px);
}

.btn-outline{
  background:#fff;
  color:var(--primary);
  border:1.5px solid var(--primary);
}

.btn-outline:hover{
  background:var(--primary);
  color:#fff;
}

.btn-whatsapp{
  background:#29cc5f;
  color:#fff;
}

.badge-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:9px 18px;
  font-size:.92rem;
  font-weight:700;
}

.badge-primary{
  background:#d21d67;
  color:#fff;
}

.badge-soft{
  background:#ff8db8;
  color:#fff;
}

header {
  position: absolute; /* Esto lo coloca encima del contenido */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Asegura que esté por encima de la imagen */
  background: transparent; /* Fondo transparente */
  transition: background 0.3s ease; /* Para que cambie suavemente si haces scroll */
}

/* Opcional: Un ligero degradado oscuro arriba para que los textos blancos se lean bien */
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  z-index: -1;
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
  position:relative;
}

.logo-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff2d7a, #740834);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Opcional: efecto sutil al hover */
.logo:hover .logo-text {
  background: linear-gradient(135deg, #d91c68, #ff2d7a);
  background-clip: text;
  -webkit-background-clip: text;
}

.logo-text {
  font-size: 1rem;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  white-space:nowrap;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .logo-img {
    height: 40px;
  }

  .contact-list li {
    font-size: 0.85rem;
    gap: 10px;
  }
  .contact-icon {
    font-size: 1rem;
    min-width: 24px;
  }
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}

.nav-links a{
  color:#5d6874;
  font-weight:500;
  position:relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  background:var(--primary);
}

/* Estilos para los iconos sociales del Header */
.social-top {
  display: flex;
  gap: 12px; /* Espacio de separación entre cada círculo */
  align-items: center;
}

.social-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; /* Ancho del círculo */
  height: 42px; /* Alto del círculo */
  background-color: #f0f2f5; /* Color gris muy claro para el fondo */
  color: #6b7280; /* Color gris oscuro para el icono */
  border-radius: 50%; /* Convierte el cuadrado en un círculo perfecto */
  text-decoration: none;
  font-size: 20px; /* Tamaño del icono */
  transition: all 0.3s ease; /* Suaviza el cambio de color al pasar el mouse */
}

/* Efecto al pasar el cursor por encima (Hover) */
.social-top a:hover {
  background-color: #e4e6eb; /* Oscurece un poco el círculo */
  color: #374151; /* Oscurece un poco el icono */
  transform: translateY(-2px); /* Pequeño salto hacia arriba opcional */
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:2rem;
  color:var(--heading);
  cursor:pointer;
  line-height:1;
}

.hero-home {
  min-height: 100vh; /* Ocupa el 100% de la altura de la pantalla */
  display: flex;
  align-items: center;
  padding-top: 80px; /* Espacio para que el texto no choque con el menú */
  background-color: var(--bg-color); /* Fondo base blanco */
  overflow: hidden;
  position: relative;
}

.hero-grid div:first-child {
  opacity: 0;
  transform: translateX(-30px);
  animation: textFadeIn 1s ease-out forwards;
  animation-delay: 1.5s;
}

.hero-home h1{
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height:.95;
  color:#3a0e21;
  margin-bottom:18px;
  text-shadow:0 4px 10px rgba(0,0,0,.08);
}

.hero-home p{
  font-size:1.08rem;
  color:#6c7784;
  max-width:660px;
  margin-bottom:32px;
}

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

.hero-image {
  /* Imagen de fondo (asegúrate de que tenga una imagen) */
  background-image: url('img/foto_inicio.png'); 
  background-size: cover;
  background-position: center;
  
  /* Estado inicial: Pantalla completa */
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  border-radius: 0;
  
  /* Aplicamos la animación */
  animation: heroIntroPro 1.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.3s;
}

/* 2. El bloque de texto (H1, P y Botones) */
.hero-grid > div:first-child {
  opacity: 0; /* Invisible al inicio */
  transform: translateY(20px);
  
  /* ANIMACIÓN DEL TEXTO */
  animation: textFadeIn 1s ease-out forwards;
  
  /* CRUCIAL: El delay debe ser mayor a la duración de la imagen (1.8s + 0.3s) 
     Lo ponemos en 2.1s para que aparezca justo cuando la imagen se acomoda */
  animation-delay: 2.1s; 
}

@keyframes heroIntroPro {
  0% {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  100% {
    /* Estado final según tu diseño */
    position: relative;
    top: auto;
    left: auto;
    width: 100%; 
    height: 100%; /* Se adapta al contenedor del grid */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  }
}

@keyframes textFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajuste para que el grid no se rompa durante la animación */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 80vh; /* Altura mínima para mantener el espacio */
}

.page-hero{
  background:#f4f6f7;
  padding:88px 0;
  text-align:center;
}

.page-hero h1{
  font-family: Georgia, "Times New Roman", serif;
  color:#151b23;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height:1.1;
  margin-bottom:10px;
}

.breadcrumb{
  color:#788392;
  font-size:.95rem;
}

.breadcrumb span{
  color:var(--primary);
}

.white-box{
  background:#fff;
  box-shadow:var(--shadow);
}

.gallery-box{
  padding:54px 42px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:34px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.gallery-card img{
  width:100%;
  height:230px;
  object-fit:cover;
}

.gallery-card h3{
  font-family: Georgia, "Times New Roman", serif;
  color:#222;
  font-size:1.18rem;
  margin-top:16px;
}

/* --- MEJORA SECCIÓN ACADEMIA --- */

.academy-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.academy-card {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Lado de Información */
.info-side {
  position: relative;
  background: linear-gradient(to right, #ffffff, #fdf8fa);
}

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

.contact-mini-grid {
  margin: 30px 0;
  display: grid;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.btn-wide {
  width: fit-content;
  gap: 10px;
}

/* Lado Visual (Poster) */
.visual-side {
  background: #121821; /* Color oscuro profundo */
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Textura de fondo sutil */
.overlay-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 24px 24px;
}

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

.tagline {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.poster-main-text {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.poster-main-text span {
  display: block;
}

.poster-main-text .outline {
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
  color: transparent;
}

.poster-main-text .filled {
  color: var(--primary);
}

.poster-footer {
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .academy-wrapper {
    grid-template-columns: 1fr;
    margin: 0 10px;
  }
  
  .academy-card {
    padding: 50px 30px;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .btn-wide {
    margin: 0 auto;
  }
}

.academy-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.academy-info{
  padding:72px 64px 72px 42px;
  position:relative;
  background:#fff;
}

.academy-info::before{
  content:"✿";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  color:#eef2f5;
  font-size:21rem;
  line-height:1;
  z-index:0;
}

.academy-info > *{
  position:relative;
  z-index:1;
}

.academy-info h2{
  font-family: Georgia, "Times New Roman", serif;
  color:#111;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height:1.05;
  margin-bottom:22px;
}

.academy-info p{
  margin-bottom:6px;
}

.academy-poster{
  min-height:520px;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
}

.poster{
  width:100%;
  max-width:440px;
  text-align:right;
  text-transform:uppercase;
  font-weight:800;
  line-height:.95;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing:-1px;
}

.poster span{
  display:block;
  color:#cfcfcf;
}

.poster .light{
  font-style:italic;
  font-weight:400;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  /* Fuerza a cualquier hijo directo a ocupar el 100% del alto disponible */
  align-items: stretch; 
}
.rates-grid > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}




.popular-tag {
  position: absolute;
  top: -18px; 
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d01a67, #a71180);
  color: #fff;
  padding: 8px 16px; 
  border-radius: 18px;
  font-size: .85rem;
  font-weight: 800;
  text-align: center;
  z-index: 10;
  white-space: nowrap;
}

.price-card {
  border: 1.5px solid #ffc6dc;
  border-radius: 18px;
  padding: 26px 22px 22px;
  padding-top: 46px;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
  height: 100%; 
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 30px rgba(255,45,122,.13);
}

.price-card h3 {
  text-align: center;
  color: #a11063;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-card button,
.price-card .btn,
.price-card a {
  /* alineación manejada por .price-actions */
}


.price-duration{
  text-align:center;
  color:#d31a6f;
  font-size:.92rem;
  margin-bottom:18px;
}

.price-amount{
  text-align:center;
  color:#f22470;
  font-weight:900;
  font-size:3rem;
  margin-bottom:18px;
}

.price-desc{
  min-height:72px;
  text-align:center;
  color:#7c6671;
  margin-bottom:18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-box{
  background:#ffe9f2;
  border-left:3px solid var(--primary);
  border-radius:10px;
  padding:15px 14px;
  margin-bottom:14px;
  flex-grow: 1;
}

.bonus-box h4{
  color:#d31a6f;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom:8px;
  font-size:1.02rem;
}

.bonus-box ul{
  list-style:none;
  display:grid;
  gap:7px;
  color:#7b3956;
  font-size:.9rem;
}

.price-note{
  width:fit-content;
  margin:0 auto 14px;
  padding:9px 18px;
  border-radius:999px;
  background:#fff4f8;
  border:1px solid #ffbfd8;
  color:#db2d74;
  font-size:.92rem;
  font-weight:700;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.price-actions{
  text-align:center;
  margin-top: auto;
  padding-top: 14px;
}

.comparison-wrap{
  max-width:980px;
  margin:auto;
  background:#fde7ef;
  border-radius:18px;
  padding:34px 24px 28px;
}

.comparison-wrap h3{
  text-align:center;
  color:#ef2677;
  font-family: Georgia, "Times New Roman", serif;
  font-size:2rem;
  margin-bottom:6px;
}

.comparison-wrap p{
  text-align:center;
  color:#9d4e6b;
  margin-bottom:26px;
}

.comparison-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.comparison-card{
  background:#fff;
  border-radius:14px;
  padding:24px 18px;
  text-align:center;
  box-shadow:var(--shadow);
}

.comparison-card h4{
  color:#ef2677;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom:10px;
}

.comparison-price{
  color:#b31a5e;
  font-size:1.12rem;
  font-weight:900;
  margin-bottom:18px;
}

.faq-list{
  max-width:760px;
  margin:auto;
}

details{
  border-bottom:1px solid #ececec;
  padding:20px 0;
}

summary{
  list-style:none;
  cursor:pointer;
  color:var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size:1.16rem;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

summary::-webkit-details-marker{
  display:none;
}

summary::after{
  content:"+";
  font-size:1.4rem;
  color:var(--primary);
}

details[open] summary::after{
  content:"–";
}

details p{
  padding-top:12px;
}

.classes-top-box{
  padding:26px 34px;
  margin-bottom:18px;
}

.classes-top-box h2{
  font-family: Georgia, "Times New Roman", serif;
  color:#111;
  font-size:2rem;
}

.shorts-hero{
  background:#f560aa;
  min-height:470px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  margin-bottom:54px;
  padding:40px;
}

.shorts-hero h3{
  font-family: Georgia, "Times New Roman", serif;
  color:#181114;
  font-size:3rem;
  margin-bottom:12px;
}

.shorts-hero p{
  margin-bottom:20px;
}

.shorts-note{
  text-align:center;
  color:#6f7d8c;
  margin-bottom:28px;
}

.shorts-grid {

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Móvil: 1 columna */
@media (max-width: 600px) {
  .shorts-grid {
    grid-template-columns: 1fr;
  }
}

.short-card{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.short-thumb{
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* Relación de aspecto 9:16 (Vertical) */
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.short-thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.short-play{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:5rem;
  color:#ff174d;
}

.short-link{
  position:absolute;
  left:10px;
  bottom:10px;
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(96,96,96,.6);
  color:#fff;
}

.short-content {
  padding: 15px 5px;
}

.short-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}

.short-content h4{
  font-family: Georgia, "Times New Roman", serif;
  color:#3a4a61;
  font-size:1.05rem;
}

.short-tag{
  background:#ff1616;
  color:#fff;
  border-radius:999px;
  padding:3px 10px;
  font-size:.68rem;
  font-weight:800;
  text-transform:uppercase;
}

.short-content p{
  color:#677587;
  margin-bottom:10px;
  min-height:48px;
}

.short-meta{
  color:#728097;
  font-size:.88rem;
}

.cta-dark{
  margin-top:50px;
  background:var(--dark-box);
  text-align:center;
  color:#fff;
  padding:72px 20px;
}

.cta-dark h3{
  font-family: Georgia, "Times New Roman", serif;
  color:#161616;
  font-size:3rem;
  margin-bottom:10px;
}

.cta-dark p{
  max-width:620px;
  margin:0 auto 24px;
}

.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:42px;
  align-items:start;
}

.contact-left h2{
  font-family: Georgia, "Times New Roman", serif;
  color:#5f6d80;
  font-size:4rem;
  line-height:1;
  margin-bottom:12px;
}

.contact-left .lead{
  margin-bottom:24px;
}

.contact-form{
  background:#fff;
  border:1px solid #edf0f4;
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:28px;
}

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

.form-group label{
  display:block;
  margin-bottom:8px;
  color:#55667a;
  font-size:.95rem;
  font-weight:700;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:16px 18px;
  border:1.5px solid #aab4c0;
  border-radius:999px;
  outline:none;
  font-size:1rem;
}

.contact-form textarea{
  min-height:130px;
  border-radius:14px;
  resize:vertical;
}

.helper{
  margin-top:16px;
  background:#f4fbf7;
  border:1px solid #2fcd63;
  color:#2f8f54;
  padding:14px 16px;
  border-radius:10px;
  text-align:center;
  font-size:.92rem;
}

.contact-cards{
  display:grid;
  gap:22px;
}

.info-card{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:20px 22px;
}

.info-card h3{
  font-family: Georgia, "Times New Roman", serif;
  color:#5b697a;
  font-size:1.25rem;
  margin-bottom:10px;
}

.map-block{
  margin-top:60px;
  text-align:center;
}

.map-block h2{
  font-family: Georgia, "Times New Roman", serif;
  color:#5f6d80;
  font-size:3rem;
  margin-bottom:22px;
}

.map-frame{
  overflow:hidden;
  border-radius:18px;
  box-shadow:var(--shadow);
  min-height:330px;
}

.map-frame iframe{
  width:100%;
  height:330px;
  border:0;
}

.map-links{
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
  margin-top:18px;
  color:#111;
  font-weight:700;
}

.schedule-box{
  background:#fef3f8;
  border-radius:18px;
  padding:46px 18px 20px;
}

.schedule-head{
  text-align:center;
  margin-bottom:16px;
}

.schedule-head h3{
  color:#4c5868;
  font-size:2rem;
  margin-bottom:14px;
  font-weight:700;
}

.schedule-pills{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.schedule-table-wrap{
  overflow:auto;
  background:#fff;
  box-shadow:var(--shadow);
  border-radius:14px;
}

table{
  width:100%;
  border-collapse:collapse;
  min-width:980px;
}

th, td{
  border:1px solid #e8ebef;
  text-align:center;
  padding:12px 10px;
  font-size:.94rem;
  vertical-align:middle;
}

th{
  background:#fb86b4;
  color:#fff;
  font-weight:800;
}

td.hour{
  color:#f02a77;
  font-weight:700;
  background:#fff;
  white-space:nowrap;
}

td.empty{
  color:#a3acb6;
  font-style:italic;
  background:#fffefc;
}

td.break{
  background:#fff6c8;
  color:#f0868f;
  font-style:italic;
}

td.closed{
  color:#ff4d7d;
}

.class-chip{
  background:#fff3f8;
  border-left:3px solid var(--primary);
  border-radius:8px;
  padding:8px;
  line-height:1.3;
}

.class-chip strong{
  display:block;
  color:#39485a;
}

.class-chip span{
  color:#ff4d7d;
  font-size:.82rem;
}

.table-note{
  margin-top:16px;
  color:#524d4d;
}

footer{
  margin-top:70px;
  background:var(--footer);
  padding:56px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.1fr 1.1fr .9fr 1fr;
  gap:26px;
  margin-bottom:24px;
}

.footer-grid h3{
  font-family: Georgia, "Times New Roman", serif;
  color:#60707a;
  font-size:1.1rem;
  margin-bottom:12px;
}

.footer-grid p,
.footer-grid li,
.footer-grid a{
  color:#667583;
}

.footer-grid ul{
  list-style:none;
  display:grid;
  gap:4px;
}

.social-footer{
  margin-top:24px;
}

.social-icons{
  display:flex;
  gap:14px;
  margin-top:10px;
}

.social-icons a{
  width:30px;
  height:30px;
  border-radius:50%;
  background:#f8fafb;
  border:1px solid #dfe5ea;
  display:grid;
  place-items:center;
  color:#697683;
  font-size:.9rem;
}

.copyright{
  border-top:1px solid #dde4ea;
  padding-top:16px;
  color:#75818c;
  font-size:.92rem;
}

/* ============================================================
   BOTONES FLOTANTES — reemplaza el bloque actual en style.css
   ============================================================ */

.floating-buttons-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;   /* apilados verticalmente */
    gap: 12px;                /* espacio entre cada botón */
    align-items: center;
}

/* El wrapper de Cameron (botón rosado) */
/* cameron-widget.js posiciona #cam-btn de forma independiente,
   así que ocultamos el wrapper placeholder */
#cam-btn-wrapper {
    display: none;
}

/* ── Yape ─────────────────────────────────────────────────── */
.yape-float {
    width: 60px;
    height: 60px;
    background-color: #711891;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    animation: pulse-yape 2s infinite;
}
.yape-float:hover {
    transform: scale(1.1);
    background-color: #5a136e;
    animation: none;
}
.yape-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}
@keyframes pulse-yape {
    0%   { box-shadow: 0 0 0 0 rgba(113,24,145,0.7); }
    70%  { box-shadow: 0 0 0 15px rgba(113,24,145,0); }
    100% { box-shadow: 0 0 0 0 rgba(113,24,145,0); }
}

/* ── WhatsApp ─────────────────────────────────────────────── */
.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    animation: none;
}
.whatsapp-icon {
    width: 32px;
    height: 32px;
}
@keyframes pulse-whatsapp {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70%  { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── Notificación Yape ────────────────────────────────────── */
.yape-notification {
    position: absolute;
    top: -5px; right: -5px;
    width: 20px; height: 20px;
    background-color: #ff4757;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 12px; font-weight: bold;
    animation: notification-pulse 1.5s infinite;
}
@keyframes notification-pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ── Modal Yape ───────────────────────────────────────────── */
.yape-modal {
    display: none;
    position: fixed;
    bottom: 160px;
    right: 90px;           /* a la izquierda de los botones */
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 1003;
    max-width: 280px;
    animation: slideUp 0.3s ease;
    border: 1px solid #e0e0e0;
}
.yape-modal-content { text-align: center; }
.yape-modal-content h3 { margin: 0 0 10px; color: #333; font-size: 18px; }
.yape-modal-content p  { margin: 5px 0; color: #666; font-size: 14px; }
.yape-qr {
    width: 200px; height: 200px;
    margin: 10px auto; display: block;
    border: 1px solid #f0f0f0;
    border-radius: 8px; object-fit: contain;
    background-color: #f9f9f9;
}
.yape-close {
    background: #711891; color: white;
    border: none; padding: 8px 15px;
    border-radius: 5px; cursor: pointer;
    margin-top: 10px; font-size: 14px;
    transition: background 0.3s;
}
.yape-close:hover { background: #5a136e; }
.yape-copy {
    background-color: #f0e6f5; color: #711891;
    border: 1px solid #711891; border-radius: 5px;
    padding: 5px 10px; margin: 5px 0;
    cursor: pointer; font-size: 12px;
    transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
    gap: 5px; width: 100%;
}
.yape-copy:hover { background-color: #711891; color: white; }
.yape-copy.copied { background-color: #4CAF50; color: white; border-color: #4CAF50; }

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

/* ── Responsive ───────────────────────────────────────────── */
@media screen and (max-width: 768px) {
    .floating-buttons-container { bottom: 15px; right: 15px; gap: 10px; }
    .whatsapp-float, .yape-float { width: 55px; height: 55px; }
    .whatsapp-icon, .yape-icon   { width: 28px; height: 28px; }
    .yape-modal { bottom: 140px; right: 80px; max-width: 250px; }
    .yape-qr    { width: 180px; height: 180px; }
}
@media screen and (max-width: 480px) {
    .whatsapp-float, .yape-float { width: 50px; height: 50px; }
}
/* Animaciones suaves */
.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:all .8s ease;
}

.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

@media (max-width:1100px){
  .rates-grid,
  .comparison-grid{
    grid-template-columns:repeat(2,1fr);
  }

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

@media (max-width:900px){
  .hero-grid,
  .academy-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

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

  .menu-toggle{
    display:block;
  }

  .navbar{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }

  .nav-links{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    box-shadow:0 12px 22px rgba(0,0,0,.08);
    padding:20px;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    z-index:999;
  }

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

  .nav-links a:hover, 
  .nav-links a.active {
  color: var(--accent-strong); /* Resalta en un rosado elegante */
}

  

  .academy-poster{
    min-height:360px;
  }

  .academy-info{
    padding:42px 24px;
  }

  .contact-left h2{
    font-size:3rem;
  }
}

@media (max-width:800px){
  .rates-grid,
  .comparison-grid,
  .shorts-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .hero-image{
    min-height:360px;
  }
  .gallery-box{
    padding:38px 20px;
  }
  .section{
    padding:72px 0;
  }
  .short-thumb{
    height:400px;
  }
  .cta-dark h3,
  .map-block h2{
    font-size:2.3rem;
  }

  .footer-contact .contact-list li {
    font-size: 0.85rem;
    gap: 10px;
  }
  .footer-contact .contact-icon {
    font-size: 1rem;
    min-width: 24px;
  }

}  /* ← CIERRE CORRECTO DEL MEDIA QUERY */

/* ===== ESTILOS DEL FOOTER CONTACTO (FUERA DEL MEDIA QUERY) ===== */
.footer-contact h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;      /* ← Corregido: antes era flex-star */
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
  word-break: break-word;
}

.contact-icon {
  font-size: 1.2rem;
  min-width: 28px;
  text-align: center;
  color: var(--primary);
  opacity: 0.9;
}

.date-cell {
    position: relative;
}

.feriado-badge {
    display: block;
    width: 6px;
    height: 6px;
    background: #EF9F27;
    border-radius: 50%;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
}



.feriado-tooltip {
    visibility: hidden;
    opacity: 0;
    background: #2a2a2a;
    color: #fff;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.feriado-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2a2a2a;
}

.date-cell:hover .feriado-tooltip,
.date-cell:focus .feriado-tooltip {
    visibility: visible;
    opacity: 1;
}


/* Modal de confirmación centrado */
.confirm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    animation: fadeIn 0.25s ease;
}
.confirm-modal-box {
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px 28px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    position: relative;
    animation: scaleUp 0.3s ease;
}
.confirm-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
}
.confirm-modal-close:hover { color: #333; }
.confirm-modal-icon {
    font-size: 52px;
    margin-bottom: 16px;
}
.confirm-modal-box p {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.5;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleUp { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }


/* ================================================
   HERO ANIMATIONS — Agregar al final de style.css
   ================================================ */
   
/* === HERO HOME – Texto más compacto === */
.hero-home .hero-badge {
  font-size: 0.75rem;      /* antes ~1rem */
}

.hero-home h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);  /* reducido desde ~3.2rem */
  line-height: 1.15;
}

.hero-home .hero-line span {
  font-size: inherit;
}

.hero-home .hero-accent {
  font-size: inherit;
}

.hero-home .hero-tagline {
  font-size: 1rem;         /* antes 1.15rem */
}

.hero-home ul li {
  font-size: 0.9rem;       /* antes 0.98rem */
}

.hero-home .btn {
  font-size: 0.9rem;       /* ligeramente más pequeño */
  padding: 10px 22px;      /* algo menos de espacio */
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(188, 17, 97, 0.1);
  border: 1px solid rgba(188, 17, 97, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #bc1161;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 2.2s forwards;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #bc1161;
  border-radius: 50%;
  animation: heroPulseDot 2s ease-in-out 3s infinite;
}

/* H1 líneas reveladas */
.hero-home h1 .hero-line {
  display: block;
  overflow: hidden;
}

.hero-home h1 .hero-line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: heroRevealLine 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-home h1 .hero-line:nth-child(1) span { animation-delay: 2.3s; }
.hero-home h1 .hero-line:nth-child(2) span { animation-delay: 2.48s; }
.hero-home h1 .hero-line:nth-child(3) span { animation-delay: 2.64s; }

/* Palabra destacada con subrayado */
.hero-accent {
  color: var(--primary);
  font-style: italic;
  position: relative;
  display: inline-block;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #bc1161, #ff5ba9);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: heroUnderlineReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 3.1s forwards;
}

/* Tagline */
.hero-tagline {
  opacity: 0;
  transform: translateY(10px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 2.8s forwards;
}

/* Bullets */
.hero-home ul li {
  opacity: 0;
  transform: translateX(-16px);
  animation: heroFadeSlideRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-home ul li:nth-child(1) { animation-delay: 2.95s; }
.hero-home ul li:nth-child(2) { animation-delay: 3.1s; }
.hero-home ul li:nth-child(3) { animation-delay: 3.25s; }

/* Botones */
.hero-actions {
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 3.4s forwards;
}

/* Shimmer en btn-primary */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-110%) skewX(-15deg);
  transition: transform 0.45s ease;
}

.btn-primary:hover::after {
  transform: translateX(150%) skewX(-15deg);
}

/* Orbe decorativo */
.hero-orb {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 122, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: heroOrbFloat 7s ease-in-out infinite;
  z-index: 0;
}

/* Keyframes */
@keyframes heroFadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeSlideRight {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroRevealLine {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroUnderlineReveal {
  to { transform: scaleX(1); }
}
@keyframes heroPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}
@keyframes heroOrbFloat {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%       { transform: translateY(calc(-50% - 22px)) scale(1.04); }
}