/* ============================================
   AL PASO DANCE STUDIO - Estilos principales
   Paleta: Morado oscuro + Blanco
   ============================================ */

/* Montserrat: ancha, bold (titulos principales)
   Inter: moderna, Apple-like (UI, nav, badges)
   DM Sans: limpia, moderna, legible (cuerpo) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --fondo: #140A18;
  --fondo-suave: #1C0E22;
  --fondo-card: #1F1228;
  --fondo-elevado: #261530;
  --borde: rgba(255,255,255,0.08);
  --borde-hover: rgba(255,255,255,0.2);
  --morado: #430440;
  --morado-claro: #6B2060;
  --morado-oscuro: #0F0412;
  --blanco: #FFFFFF;
  --blanco-suave: #B8B0BC;
  --verde-wa: #25d366;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: linear-gradient(145deg, #1A0522 0%, #140A18 35%, #1C0C10 65%, #201008 100%);
  background-attachment: fixed;
  color: var(--blanco);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- NAVBAR FIJA (degradado morado→naranja) ---- */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  padding: 0.7rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(61,16,67,0.92) 0%, rgba(92,31,94,0.85) 50%, rgba(196,110,60,0.80) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding 0.3s, background 0.3s;
}

.navbar.scrolled {
  padding: 0.5rem 2.5rem;
  background: linear-gradient(90deg, rgba(61,16,67,0.97) 0%, rgba(92,31,94,0.95) 50%, rgba(196,110,60,0.92) 100%);
}

.nav-logo-img {
  height: 63px;
  width: auto;
  transition: height 0.3s;
}

.navbar.scrolled .nav-logo-img {
  height: 51px;
}

.nav-links { display: flex; gap: 2.2rem; align-items: center; }

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  transition: opacity 0.3s;
  position: relative;
}

.nav-links a:hover { opacity: 0.75; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Boton "Entrar" en navbar */
.nav-acceso {
  border: 2px solid rgba(255,255,255,0.6) !important;
  padding: 0.5rem 1.6rem !important;
  border-radius: 50px !important;
  transition: all 0.3s !important;
}

.nav-acceso:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4), 0 0 30px rgba(168, 85, 247, 0.15) !important;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 2rem 1.5rem;
  overflow: hidden;
  background: #3D1043;
}

/* Imagen de fondo */
.hero-bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Degradado sobre la imagen */
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    180deg,
    rgba(61, 16, 67, 0.40) 0%,
    rgba(0, 0, 0, 0.08) 35%,
    rgba(0, 0, 0, 0.10) 65%,
    rgba(61, 16, 67, 0.45) 100%
  );
  z-index: -1;
}

/* Ubicacion arriba del titulo */
.hero-location {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.65rem, 1.2vw, 0.82rem);
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 400;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  animation: fadeInUp 0.8s ease 0.1s both;
}


/* Titulo principal */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  text-shadow: 0 3px 20px rgba(0,0,0,0.5);
  animation: fadeInUp 0.8s ease 0.2s both;
  white-space: nowrap;
}

/* En desktop: 1 línea. En mobile: 2 líneas */
.hero-br-mobile { display: none; }

@media (max-width: 600px) {
  .hero-title { white-space: normal; }
  .hero-br-mobile { display: block; }
}

/* Logo blanco grande centrado */
.hero-logo-icon {
  width: clamp(55px, 7vw, 80px);
  height: auto;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 4px 30px rgba(255,255,255,0.25));
  animation: fadeInUp 0.8s ease 0.3s both;
}

/* Boton CTA "Tu primer paso" — con glow neon */
.hero-cta {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(90deg, rgba(107,32,96,0.85) 0%, rgba(196,110,60,0.80) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 0 15px rgba(168, 85, 247, 0.4),
    0 0 40px rgba(168, 85, 247, 0.15),
    0 6px 30px rgba(61, 16, 67, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.6),
    0 0 60px rgba(168, 85, 247, 0.25),
    0 10px 40px rgba(61, 16, 67, 0.65);
}


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

/* ---- BOTON CTA PRINCIPAL ---- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(90deg, #6B2060 0%, #C46E3C 100%);
  color: #fff;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow:
    0 0 12px rgba(168, 85, 247, 0.3),
    0 0 35px rgba(168, 85, 247, 0.1),
    0 4px 20px rgba(67, 4, 64, 0.25);
  transition: all 0.3s;
  animation: fadeInUp 0.8s ease 0.5s both;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.5),
    0 0 50px rgba(168, 85, 247, 0.2),
    0 8px 35px rgba(67, 4, 64, 0.4);
}

.btn-cta svg { width: 20px; height: 20px; fill: #fff; }

/* ---- SECCIONES ---- */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #c084fc 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--blanco-suave);
  font-weight: 300;
  font-size: 0.95rem;
}

/* ---- SECCION CON FONDO TEXTURA ---- */
.section-bg {
  position: relative;
  z-index: 1;
}

.section-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../img/Fondo.png') center/cover;
  opacity: 0.05;
  z-index: -1;
}



/* ---- INSTRUCTOR CARD (horizontal) ---- */
.instructor-card {
  display: grid;
  grid-template-columns: 336px 1fr;
  background: rgba(31, 18, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--borde);
  border-radius: 20px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.08), 0 4px 20px rgba(0,0,0,0.2);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.instructor-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.3),
    0 0 50px rgba(168, 85, 247, 0.1),
    0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.instructor-card-photo {
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.instructor-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.instructor-card:hover .instructor-card-photo img {
  transform: scale(1.03);
}

.instructor-card-body {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.instructor-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: var(--blanco);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.instructor-card-role {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  color: rgba(168, 85, 247, 0.9);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.instructor-card-body p {
  color: var(--blanco-suave);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ---- INSTRUCTOR STATS (15+ años / 1K+ alumnos / 5 premios) ---- */
.instructor-stats {
  display: flex;
  gap: 0.8rem;
}

.instructor-stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 14px;
  padding: 1rem 0.5rem 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.instructor-stat:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.2);
}

.instructor-stat svg {
  width: 22px;
  height: 22px;
  color: rgba(168, 85, 247, 0.85);
  margin-bottom: 0.1rem;
}

.stat-valor {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #c084fc 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blanco-suave);
  font-weight: 500;
}

@media (max-width: 700px) {
  .instructor-card {
    grid-template-columns: 1fr;
  }
  .instructor-card-photo { min-height: 240px; }
  .instructor-card-body { text-align: center; }
}


/* ---- WALL OF LOVE ---- */
.section-wol {
  max-width: 1200px;
}

/* Masonry 3 columnas */
.wol-masonry {
  columns: 3;
  column-gap: 1.6rem;
}

.wol-card {
  break-inside: avoid;
  position: relative;
  margin-bottom: 1.6rem;
  padding-top: 14px;
  transform: rotate(var(--r, 0deg));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.wol-card:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
  filter: brightness(1.05);
}

.wol-pin {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: #a855f7;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.7), 0 0 22px rgba(168, 85, 247, 0.3);
}

.wol-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wol-card:hover img {
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.55),
    0 0 45px rgba(168, 85, 247, 0.2),
    0 8px 30px rgba(0,0,0,0.45);
}

@media (max-width: 900px) {
  .wol-masonry { columns: 2; }
}

@media (max-width: 560px) {
  .wol-masonry { columns: 1; }
}

/* ---- CONTACTO: MAPA + FORMULARIO ---- */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contacto-mapa {
  border-radius: 16px;
  overflow: hidden;
  min-height: 350px;
  border: 1px solid var(--borde);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.08), 0 4px 20px rgba(0,0,0,0.2);
}

.contacto-mapa iframe {
  display: block;
}

.contacto-form {
  background: rgba(31, 18, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.08), 0 4px 20px rgba(0,0,0,0.2);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contacto-form:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.2),
    0 0 40px rgba(168, 85, 247, 0.08),
    0 6px 25px rgba(0,0,0,0.25);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blanco-suave);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--blanco);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--fondo-card);
  color: var(--blanco);
}

.form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.contacto-form .btn-cta-sm {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .contacto-mapa { min-height: 250px; }
  .wall-of-love { grid-template-columns: 1fr; }
}

/* ---- FOOTER ---- */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem;
  border-top: 1px solid var(--borde);
}

footer p {
  font-size: 0.78rem;
  color: var(--blanco-suave);
  font-weight: 300;
}

footer span { color: var(--blanco); }

/* ---- WHATSAPP FLOTANTE ---- */
.wa-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 56px;
  height: 56px;
  background: var(--verde-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
}

.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar { padding: 0.6rem 1.2rem; }
  .navbar.scrolled { padding: 0.5rem 1.2rem; }
  .nav-logo-img { height: 54px; }
  .navbar.scrolled .nav-logo-img { height: 45px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(61,16,67,0.97) 0%, rgba(92,31,94,0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1.2rem;
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }

  .hero { padding: 5.5rem 1.5rem 1.5rem; }
  .hero-logo-icon { width: 120px; }

  .section { padding: 4rem 1.5rem; }
}

@media (max-width: 480px) {
  .curso-card { padding: 2rem 1.5rem; }
}

/* ---- MODO INVITADO ---- */
.invitado-hidden { display: none; }
.invitado-only  { display: none; }
.modo-invitado .invitado-hidden { display: none !important; }
.modo-invitado .invitado-only  { display: block !important; }

/* ---- BANNERS CARRUSEL ---- */
.banners-section {
  padding: 2rem 2rem 0;
  overflow: hidden;
}

.banners-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.banners-carousel::-webkit-scrollbar { display: none; }

.banner-slide {
  flex: 0 0 auto;
  width: min(90%, 600px);
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--borde);
  transition: border-color 0.3s;
}

.banner-slide:hover {
  border-color: var(--borde-hover);
}

.banner-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ---- EVENTOS LANDING ---- */
.eventos-grid-landing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.evento-landing-card {
  background: rgba(31,18,40,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--borde);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.evento-landing-card:hover {
  border-color: var(--borde-hover);
  box-shadow: 0 8px 30px rgba(255,255,255,0.04);
}

.evento-landing-img {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  background-color: var(--fondo-card);
}

.evento-landing-body {
  padding: 1.2rem;
}

.evento-landing-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--blanco);
  margin-bottom: 0.4rem;
}

.evento-landing-fecha {
  font-size: 0.8rem;
  color: var(--blanco);
  margin-bottom: 0.2rem;
}

.evento-landing-lugar {
  font-size: 0.8rem;
  color: var(--blanco-suave);
  margin-bottom: 0.5rem;
}

.evento-landing-desc {
  font-size: 0.85rem;
  color: var(--blanco-suave);
  font-weight: 300;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .banner-img { height: 150px; }
  .eventos-grid-landing { grid-template-columns: 1fr; }
}

/* ---- CURSOS DETALLE (reemplaza flip cards) ---- */
.cursos-grid-detalle {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.curso-card {
  background: rgba(31, 18, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--borde);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.08), 0 4px 20px rgba(0,0,0,0.2);
}

.curso-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.3),
    0 0 50px rgba(168, 85, 247, 0.1),
    0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.curso-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.curso-card-numero {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  flex-shrink: 0;
}

.curso-card-dia {
  display: block;
  font-size: 0.75rem;
  color: var(--blanco-suave);
  font-weight: 500;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.curso-card-titulo {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 0.4rem;
}

.curso-card-nivel {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.nivel-basico {
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.nivel-intermedio {
  background: rgba(255,255,255,0.05);
  color: var(--blanco);
  border: 1px solid rgba(255,255,255,0.15);
}

.nivel-open {
  background: rgba(52, 152, 219, 0.12);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.curso-card-desc {
  color: var(--blanco-suave);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

/* ---- VIDEO EN CARDS DE CURSOS ---- */
.curso-card-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 160px;
}

.curso-card-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curso-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-cta-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #6B2060 0%, #C46E3C 100%);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow:
    0 0 10px rgba(168, 85, 247, 0.2),
    0 3px 15px rgba(67, 4, 64, 0.2);
  transition: all 0.3s;
}

.btn-cta-sm:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 15px rgba(168, 85, 247, 0.5),
    0 0 40px rgba(168, 85, 247, 0.15),
    0 6px 25px rgba(67, 4, 64, 0.35);
}

@media (max-width: 768px) {
  .cursos-grid-detalle {
    grid-template-columns: 1fr;
  }
}


/* ---- CALENDARIO INLINE (para invitados) ---- */
.cal-inline-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(31, 18, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 1.2rem;
}

.cal-header-dias {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.5rem;
}

.cal-header-dias span {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blanco);
  padding: 0.3rem 0;
}

.cal-grid-inline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-dia-inline {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(31, 18, 40, 0.5);
  border: 1px solid transparent;
  position: relative;
  transition: border-color 0.2s;
}

.cal-dia-inline.vacio {
  background: transparent;
}

.cal-dia-inline.tiene-clase {
  border-color: rgba(255,255,255,0.1);
}

.cal-dia-inline.hoy {
  border-color: var(--blanco);
  box-shadow: 0 0 8px rgba(255,255,255,0.1);
}

.cal-dia-inline.hoy .cal-dia-num-inline {
  background: var(--blanco);
  color: var(--morado);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-dia-num-inline {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--blanco-suave);
  font-weight: 500;
}

.cal-dia-inline.tiene-clase .cal-dia-num-inline {
  color: var(--blanco);
}

.cal-dia-puntos-inline {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.cal-dia-punto-inline {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.cal-dot-bachata-bas { background: #2ecc71; }
.cal-dot-casino-bas { background: #3498db; }
.cal-dot-bachata-int { background: var(--morado-claro); }
.cal-dot-casino-int { background: #e74c3c; }
.cal-dot-mambo { background: #9b59b6; }

.cal-inline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  justify-content: center;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--blanco-suave);
}

.cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.cal-reminder {
  text-align: center;
  color: var(--blanco-suave);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- GALERÍA ---- */
.section-galeria {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 4rem;
}

.section-galeria .section-header {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

/* Link Instagram en subtítulo galería */
.ig-link {
  color: rgba(168, 85, 247, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.ig-link:hover { color: #f97316; }

/* Contenedor externo: recorta el overflow */
.galeria-outer {
  width: 100%;
  overflow: hidden;
  /* vignette lateral */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

/* Pista animada */
.galeria-inner {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: max-content;
  animation: galeriaScroll 42s linear infinite;
}

/* Tarjeta individual */
.gslide {
  width: 320px;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  flex-grow: 0;
}

.gslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes galeriaScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .gslide {
    width: 220px;
    height: 300px;
  }
}

/* ---- PRECIOS ---- */
.precios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.precio-card {
  background: rgba(31, 18, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--borde);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.08), 0 4px 20px rgba(0,0,0,0.2);
}

.precio-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.3),
    0 0 50px rgba(168, 85, 247, 0.1),
    0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.precio-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 1rem;
}

.precio-valor {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, #c084fc 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.precio-detalle {
  font-size: 0.85rem;
  color: var(--blanco-suave);
  font-weight: 400;
}

.precio-destacado {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.2),
    0 0 45px rgba(168, 85, 247, 0.08),
    0 8px 30px rgba(0,0,0,0.25);
}

.precio-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #a855f7, #ec4899);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.promos-box {
  background: rgba(31, 18, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1), 0 4px 20px rgba(0,0,0,0.2);
}

.promos-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 1.2rem;
  text-align: center;
}

.promos-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.promos-list li {
  font-size: 0.9rem;
  color: var(--blanco-suave);
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.6;
}

.promos-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(90deg, #a855f7, #f97316);
}

.promos-list strong {
  color: var(--blanco);
  font-weight: 700;
}

@media (max-width: 768px) {
  .precios-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }
}
