/* ===========================
   CÍRCULO MÁGICO — ESTILOS
   =========================== */

/* ===========================
   INTRO SCREEN
   =========================== */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #05070B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

/* Fondo oscuro que recibe el micro-zoom de GSAP */
#intro-bg {
  position: absolute;
  inset: -5%;         /* margen extra para que el scale no revele bordes */
  background: #05070B;
  pointer-events: none;
  transform-origin: center center;
}

/* Manos — position:fixed + z-index alto para ser independientes del intro-screen */
.intro-hand {
  position: fixed;
  z-index: 9500;
  width: clamp(160px, 22vw, 300px);
  pointer-events: none;
  opacity: 0;           /* GSAP controla la visibilidad */
  filter: drop-shadow(0 0 10px rgba(200, 200, 200, 0.12));
}
.intro-hand-left {
  bottom: -10px;
  left:  -10px;
  transform-origin: 100% 100%;   /* pivot esquina inferior-derecha */
}
.intro-hand-right {
  bottom: -10px;
  right: -10px;
  transform-origin: 0% 100%;     /* pivot esquina inferior-izquierda */
}

/* 4 Ases */
#intro-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6; /* dentro de intro-screen, encima del fondo */
}
.intro-card {
  position: absolute;
  top: 42%;           /* ligeramente sobre el centro */
  left: 50%;
  width: clamp(58px, 7vw, 96px);
  opacity: 0;         /* GSAP controla visibilidad */
  border-radius: 6px;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.65),
    0 0 0 0.5px rgba(200, 168, 75, 0.25),
    0 0 20px rgba(200, 168, 75, 0.08);
}
.intro-card svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Partículas mágicas */
#intro-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9600;
}
.intro-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Canvas partículas */
#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Glow en anillo — centro transparente para no interferir con screen blend del logo */
.intro-glow {
  position: absolute;
  width: 72vw;
  height: 72vw;
  max-width: 780px;
  max-height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 28%,
    rgba(192, 25, 44, 0.10) 45%,
    rgba(192, 25, 44, 0.06) 60%,
    transparent 75%);
  animation: introGlowPulse 5s ease-in-out infinite, fadeIn 2s ease both;
  pointer-events: none;
}
@keyframes introGlowPulse {
  0%, 100% { transform: scale(1);    opacity: 0.8; }
  50%       { transform: scale(1.12); opacity: 1;   }
}

/* Haces de luz dorada */
.intro-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: fadeIn 3s 1s ease both;
}
.intro-beam {
  position: absolute;
  top: -10%;
  width: 1px;
  height: 120%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(212, 175, 55, 0.07) 30%,
    rgba(212, 175, 55, 0.12) 50%,
    rgba(212, 175, 55, 0.07) 70%,
    transparent 100%);
}
.intro-beam-l {
  left: 28%;
  transform: rotate(-12deg);
  animation: introBeamPulse 7s ease-in-out infinite;
}
.intro-beam-r {
  right: 28%;
  transform: rotate(12deg);
  animation: introBeamPulse 7s 2s ease-in-out infinite;
}
@keyframes introBeamPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1;   }
}

/* Logo wrapper — sin z-index para no crear stacking context
   y permitir que mix-blend-mode alcance #intro-screen (#05070B) */
.intro-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Sin animación en el wrapper → sin stacking context → blend mode del img
   alcanza correctamente el fondo #05070B de #intro-screen */
.intro-logo-wrap {
  position: relative;
}

/* Blend mode funciona: black-pixels del PNG → screen(0, #05070B) ≈ #05070B (invisible)
   La mask suaviza los bordes del rectángulo del PNG                                   */
.intro-logo {
  width: min(500px, 75vw);
  display: block;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, black 54%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, black 54%, transparent 100%);
  animation: introLogoFade 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
@keyframes introLogoFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* CTA "ENTRAR" */
.intro-cta {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  animation: fadeInUp 1s 2.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  pointer-events: none; /* clics pasan al #intro-screen */
}
.intro-cta span {
  pointer-events: auto; /* permite hover sobre el texto */
  transition: color 0.35s ease, letter-spacing 0.35s ease, text-shadow 0.35s ease;
  cursor: pointer;
}
.intro-cta span:hover {
  color: rgba(212, 175, 55, 0.9);
  letter-spacing: 0.46em;
  text-shadow:
    0 0 8px  rgba(212, 175, 55, 0.7),
    0 0 20px rgba(212, 175, 55, 0.35),
    0 0 40px rgba(212, 175, 55, 0.15);
}

/* Cursor sparkle trail */
.intro-spark {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: sparkFade 0.75s ease-out forwards;
  z-index: 10001;
}
@keyframes sparkFade {
  0%   { opacity: 1;   transform: translate(calc(-50% + 0px), -50%) scale(1); }
  100% { opacity: 0;   transform: translate(calc(-50% + var(--drift-x, 0px)), calc(-50% - 26px)) scale(0.1); }
}
.intro-cta-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.7), transparent);
  animation: introLineBounce 2s 3s ease-in-out infinite;
}
@keyframes introLineBounce {
  0%, 100% { transform: translateY(0)  scaleY(1);    opacity: 0.6; }
  50%       { transform: translateY(5px) scaleY(1.15); opacity: 1;   }
}

/* Utility usado por intro-glow y intro-beams */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Responsive intro */
@media (max-width: 480px) {
  .intro-logo { width: 82vw; }
  .intro-cta  { bottom: 32px; }
}

/* Variables */
:root {
  --bg: #06060a;
  --bg-2: #09090d;
  --bg-card: #0e0e13;
  --bg-card-2: #131318;
  --red: #c0192c;
  --red-light: #e52535;
  --red-dark: #8a1020;
  --red-glow: rgba(192, 25, 44, 0.22);
  --yellow: #e8b800;
  --yellow-glow: rgba(232, 184, 0, 0.2);
  --text: #f0f0f0;
  --text-muted: #80808a;
  --border: rgba(192, 25, 44, 0.2);
  --nav-h: 72px;
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', serif;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===========================
   UTILIDADES
   =========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.gold { color: var(--red); }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.center .divider { margin: 16px auto 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-gold {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: #ffffff;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--red-glow);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ===========================
   PARTÍCULAS / ESTRELLAS (HERO)
   =========================== */
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}
@keyframes sparkle-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* ===========================
   HEADER / NAV
   =========================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}

#header.scrolled {
  background: rgba(8, 8, 15, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.5);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.nav-logo img {
  height: 52px;
  width: auto;
  border-radius: 0;
  mix-blend-mode: screen;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  background: rgba(192, 25, 44, 0.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-light)) !important;
  color: #ffffff !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { opacity: 0.9; }

/* Tienda — nav link sutil con borde */
.nav-links a.nav-tienda {
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links a.nav-tienda:hover {
  color: var(--yellow);
  border-color: rgba(232, 184, 0, 0.5);
  background: rgba(232, 184, 0, 0.07);
}
.mobile-menu a.nav-tienda {
  color: var(--text-muted) !important;
  border: 1px solid var(--border);
}
.mobile-menu a.nav-tienda:hover {
  color: var(--yellow) !important;
  background: rgba(232, 184, 0, 0.07) !important;
  border-color: rgba(232, 184, 0, 0.4) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  border: none;
  background: transparent;
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(192, 25, 44, 0.12); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8,8,15,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--red); background: rgba(192, 25, 44, 0.08); }
.mobile-menu .nav-cta {
  margin-top: 12px;
  text-align: center;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--red), var(--red-light)) !important;
}

/* ===========================
   SPLASH
   =========================== */
#splash {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.splash-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(192, 25, 44, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 30% 70%, rgba(192, 25, 44, 0.06) 0%, transparent 55%);
  animation: splashPulse 5s ease-in-out infinite alternate;
}

@keyframes splashPulse {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}

.splash-inner {
  position: relative;
  /* no z-index — avoids stacking context so mix-blend-mode blends against #splash bg */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.splash-logo {
  width: min(400px, 65vw);
  mix-blend-mode: screen;
  /* Fade edges to hide PNG rectangular border */
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, black 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, black 50%, transparent 100%);
  animation:
    splashLogoIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) both,
    splashBreath 7s 2s ease-in-out infinite;
}

@keyframes splashLogoIn {
  from { opacity: 0; transform: scale(0.8) translateY(28px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

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

.splash-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeInUp 1s 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.splash-dot {
  color: var(--red);
  font-size: 10px;
}

.splash-scroll {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  animation: fadeInUp 1s 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}


/* ===========================
   HERO
   =========================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(192, 25, 44, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(192, 25, 44, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(192, 25, 44, 0.04) 0%, transparent 50%);
}

.stars-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
  max-width: 100%;
  overflow: hidden;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '✦';
  font-size: 10px;
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1.1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title .line-gold {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeInUp 1.1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
  animation: fadeInUp 1.1s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 1s 0.8s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: float 2s ease-in-out infinite;
}

.hero-visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 40vw);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.hero-card-orbit {
  position: relative;
  width: 320px;
  height: 320px;
  animation: float 6s ease-in-out infinite;
}

.hero-img-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 0 60px var(--red-glow), 0 0 120px rgba(192, 25, 44, 0.1);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.orbit-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.78rem;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: float ease-in-out infinite;
}
.orbit-card i { color: var(--red); margin-right: 6px; }
.orbit-card:nth-child(2) { top: 0; left: -20px; animation-duration: 4s; }
.orbit-card:nth-child(3) { bottom: 20px; right: -30px; animation-duration: 5s; animation-delay: 1s; }
.orbit-card:nth-child(4) { bottom: 20px; left: -10px; animation-duration: 4.5s; animation-delay: 0.5s; }

/* ===========================
   FEATURES / PROPUESTA
   =========================== */
#features {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { border-color: var(--red); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(192, 25, 44, 0.1);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--red);
  color: #0a0a0a;
  box-shadow: 0 0 24px var(--red-glow);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===========================
   ABOUT
   =========================== */
#about {
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid--gap-lg { gap: 56px; }
.about-img-wrap {
  position: relative;
  padding-bottom: 28px; /* espacio para que .about-badge no quede recortado */
}
.about-img {
  border-radius: 16px;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.about-badge .number {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--yellow);
  line-height: 1;
}
.about-badge .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-feat i { color: var(--red); margin-top: 3px; font-size: 0.9rem; }
.about-feat p { font-size: 0.875rem; color: var(--text-muted); }
.about-feat strong { color: var(--text); display: block; font-size: 0.9rem; }

/* ===========================
   CURSOS
   =========================== */
#cursos { background: var(--bg-2); }

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.curso-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.curso-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.curso-img {
  height: 220px;
  overflow: hidden;
}
.curso-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.curso-card:hover .curso-img img { transform: scale(1.05); }

.curso-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.curso-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.curso-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.curso-body p { color: var(--text-muted); font-size: 0.88rem; flex: 1; margin-bottom: 20px; }
.curso-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap var(--transition);
}
.curso-link:hover { gap: 10px; }

/* ===========================
   GALERÍA (PREVIEW)
   =========================== */
#galeria-preview { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  min-height: 180px;
}
.gallery-item:not(.featured) img { height: 180px; }
.gallery-item.featured img { height: 380px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay span {
  font-size: 0.78rem;
  font-weight: 500;
  color: white;
  letter-spacing: 0.05em;
}
.gallery-overlay i { color: var(--red); margin-right: 6px; }

.gallery-more {
  text-align: center;
  margin-top: 40px;
}

/* ===========================
   PLANES
   =========================== */
#planes { background: var(--bg-2); }

.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.plan-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 20px 60px var(--red-glow);
}

.plan-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--yellow), #ffd040);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.plan-header {
  padding: 32px 28px 24px;
  border-bottom: 1px solid var(--border);
}
.plan-header h3 { font-size: 1rem; margin-bottom: 16px; letter-spacing: 0.08em; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price .amount {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  color: var(--yellow);
  line-height: 1;
}
.plan-price .currency { font-size: 1.1rem; color: var(--yellow); font-weight: 600; }
.plan-price .period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 4px;
}
.plan-unavailable { color: var(--text-muted); font-size: 0.9rem; font-style: italic; }

.plan-body { padding: 24px 28px 28px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--red); font-size: 0.8rem; width: 16px; }
.plan-features li strong { color: var(--text); }

.plan-footer { padding: 0 28px 28px; }
.plan-footer .btn { width: 100%; justify-content: center; }

/* ===========================
   UBICACIÓN
   =========================== */
#ubicacion { background: var(--bg); }

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.ubicacion-info { display: flex; flex-direction: column; gap: 24px; }

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-icon {
  width: 44px; height: 44px;
  background: rgba(192, 25, 44, 0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}
.info-item h4 { font-size: 0.85rem; font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 4px; letter-spacing: 0.05em; }
.info-item p { color: var(--text-muted); font-size: 0.88rem; }
.info-item a { color: var(--red); }

.map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ===========================
   CTA SECTION
   =========================== */
#cta {
  background: linear-gradient(135deg, rgba(192, 25, 44, 0.08) 0%, rgba(192, 25, 44, 0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-inner p { color: var(--text-muted); margin-bottom: 36px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===========================
   FOOTER
   =========================== */
#footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

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

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; max-width: 260px; line-height: 1.8; }

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--red); color: #0a0a0a; border-color: var(--red); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--red); }

/* ===========================
   WHATSAPP FLOTANTE
   =========================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: auto;
}

.wa-btn {
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
  position: relative;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: pulse-ring 2s ease-out infinite;
}

.wa-tooltip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ===========================
   HERO PAGE (subpáginas)
   =========================== */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(192, 25, 44, 0.07) 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero-content { max-width: 640px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--red); }

/* ===========================
   GALERÍA PAGE
   =========================== */
.gallery-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-full .gallery-item img { height: 200px; }
.gallery-full .gallery-item.wide { grid-column: span 2; }
.gallery-full .gallery-item.wide img { height: 200px; }

/* ===========================
   CONTACTO PAGE
   =========================== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--red); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* Select personalizado — arrow nativa oculta, reemplazada con SVG */
select.form-control {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2380808a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
select.form-control option {
  background: var(--bg-card);
  color: var(--text);
}

/* Planes grid de 2 cards — 2col desktop → 1col mobile */
.planes-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-inline: auto;
}
@media (max-width: 640px) {
  .planes-grid-2 { grid-template-columns: 1fr; max-width: 480px; }
}

/* Form grid en contacto — 2 cols → 1 col en mobile */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row-2col { grid-template-columns: 1fr; }
}

/* ===========================
   PLANES PAGE
   =========================== */
.planes-page .planes-grid { margin-top: 0; }
.planes-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.planes-note i { color: var(--red); margin-top: 2px; font-size: 1rem; flex-shrink: 0; }

/* ===========================
   INPUT — mejoras UX
   =========================== */
input[type="text"].form-control,
input[type="tel"].form-control,
input[type="email"].form-control {
  height: 48px; /* touch-friendly */
}

/* ===========================
   VIDEO EMBEDS — reutilizable
   =========================== */
.video-embed-16-9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.video-embed-16-9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===========================
   AOS OVERRIDES
   =========================== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

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

/* ── Monitores grandes (1440px+) ─────────────────── */
@media (min-width: 1440px) {
  .container { max-width: 1360px; }
  .section { padding: 112px 0; }
  .hero-title { font-size: 6rem; }
  .features-grid { gap: 36px; }
  .planes-grid { gap: 32px; }
}

/* ── Monitores medianos (1280px) ─────────────────── */
@media (max-width: 1280px) {
  .container { padding: 0 32px; }
  .hero-title { font-size: clamp(2.4rem, 5.5vw, 5rem); }
}

/* ── Monitor chico / iPad landscape (1024px) ─────── */
@media (max-width: 1024px) {
  .features-grid      { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .about-grid         { grid-template-columns: 1fr; gap: 40px; }
  .about-img          { height: 380px; }
  .about-badge        { right: 0; bottom: 0; }
  .about-img-wrap     { padding-bottom: 24px; }
  .cursos-grid        { grid-template-columns: 1fr 1fr; }
  .planes-grid        { gap: 20px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ubicacion-grid     { grid-template-columns: 1fr; }
  .map-embed          { height: 280px; }
  .splash-logo        { width: min(340px, 58vw); }
}

/* ── Tablet portrait (768px) ─────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .section     { padding: 64px 0; }
  .section-sm  { padding: 48px 0; }
  .container   { padding: 0 20px; }

  /* Nav */
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .nav-logo img { height: 44px; }

  /* Touch targets — mínimo 44px por WCAG */
  .mobile-menu a  { min-height: 44px; display: flex; align-items: center; }
  .hamburger      { min-width: 44px; min-height: 44px; justify-content: center; }

  /* Splash */
  .splash-logo        { width: min(280px, 68vw); }
  .splash-tagline     { font-size: 0.7rem; gap: 8px; }

  /* Hero */
  .hero-visual  { display: none; }
  .hero-content { max-width: 100%; }
  #hero         { padding: 72px 0 80px; }

  /* Grids */
  .features-grid      { grid-template-columns: 1fr; gap: 16px; }
  .about-features     { grid-template-columns: 1fr; gap: 12px; }
  .cursos-grid        { grid-template-columns: 1fr; }
  .planes-grid        { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }

  /* Gallery index */
  .gallery-grid                      { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item.featured             { grid-column: span 2; }
  .gallery-item.featured img         { height: 260px; }
  .gallery-item:not(.featured) img   { height: 160px; }

  /* Gallery page */
  .gallery-full                      { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-full .gallery-item.wide   { grid-column: span 2; }
  .gallery-full .gallery-item.tall   { grid-row: span 1; }
  .gallery-full .gallery-item.tall img { height: 180px; }

  /* CTA */
  .cta-btns   { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .cta-inner  { padding: 48px 24px; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Contact */
  .contacto-grid { grid-template-columns: 1fr; }
  .map-embed     { height: 240px; }

  /* Plans page */
  .faq-item   { padding: 18px 20px; }
}

/* ── Teléfonos grandes (640px) ───────────────────── */
@media (max-width: 640px) {
  .section    { padding: 52px 0; }
  .container  { padding: 0 16px; }

  /* Splash */
  .splash-logo     { width: min(240px, 72vw); }
  .splash-tagline  { font-size: 0.65rem; letter-spacing: 0.14em; text-align: center; gap: 6px; }
  /* Hero */
  #hero             { padding: 64px 0 72px; min-height: unset; }
  .hero-eyebrow     { font-size: 0.68rem; letter-spacing: 0.1em; }
  .hero-actions     { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Headings */
  .section-title  { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-head   { margin-bottom: 36px; }

  /* Cards */
  .feature-card   { padding: 24px 18px; }
  .plan-card      { padding: 0; } /* header/body have own padding */
  .plan-header    { padding: 24px 20px 18px; }
  .plan-body      { padding: 20px; }
  .plan-price .amount { font-size: 2rem; }

  /* Gallery — 2 cols no wide spans on small phones */
  .gallery-grid                    { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured           { grid-column: span 2; }
  .gallery-full                    { grid-template-columns: 1fr 1fr; }
  .gallery-full .gallery-item.wide { grid-column: span 2; }

  /* CTA */
  .cta-inner     { padding: 36px 18px; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  /* Contact */
  .map-embed { height: 200px; }

  /* About — imagen más chica en teléfono */
  .about-img      { height: 260px; }
  .about-img-wrap { padding-bottom: 20px; }
  .about-badge    { right: 8px; bottom: 4px; padding: 12px 16px; }
  .about-badge .number { font-size: 1.6rem; }
  .about-badge .label  { font-size: 0.7rem; }

  /* Footer */
  .footer-brand p { font-size: 0.85rem; }
  .footer-col h4  { font-size: 0.85rem; }
}

/* ── Teléfonos pequeños (400px) ──────────────────── */
@media (max-width: 400px) {
  .container { padding: 0 14px; }

  /* Splash */
  .splash-logo     { width: 80vw; }
  .splash-tagline  { display: none; } /* demasiado estrecho */
  /* Nav */
  .nav-logo img { height: 40px; }

  /* Hero */
  .hero-title   { font-size: 2rem; }
  .hero-desc    { font-size: 0.95rem; }

  /* Gallery — 1 col */
  .gallery-full                    { grid-template-columns: 1fr; }
  .gallery-full .gallery-item.wide { grid-column: span 1; }
  .gallery-full .gallery-item img  { height: 200px !important; }
  .gallery-grid                    { grid-template-columns: 1fr; }
  .gallery-item.featured           { grid-column: span 1; }
  .gallery-item.featured img       { height: 220px; }

  /* Plans */
  .planes-grid { max-width: 100%; }
  .plan-price .amount { font-size: 1.8rem; }

  /* Sections */
  .section     { padding: 44px 0; }
  .section-sub { font-size: 0.9rem; }

  /* CTA */
  .cta-inner { padding: 28px 14px; }

  /* About */
  .about-img      { height: 220px; }
  .about-img-wrap { padding-bottom: 16px; }
  .about-badge    { right: 8px; bottom: 4px; padding: 10px 14px; }
  .about-badge .number { font-size: 1.4rem; }
  .about-badge .label  { font-size: 0.65rem; }

  /* Planes note */
  .planes-note { flex-direction: column; gap: 10px; padding: 16px; }
}
