/* ==========================================================================
   Dragones Elite — Sitio público (landing + inscripción)
   ========================================================================== */

/* --- Cabecera -------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: 78px;
  display: flex;
  align-items: center;
  background: rgba(7, 7, 10, .55);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease);
}
.site-header.scrolled { height: 66px; background: rgba(7, 7, 10, .92); border-bottom-color: var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.progress-bar {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -7px;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: 0 50%; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 44px; height: 44px; place-items: center; border-radius: 12px; border: 1px solid var(--line-soft); }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; transition: transform .3s var(--ease), opacity .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 89;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 100px var(--gutter) 40px;
  background: rgba(7, 7, 10, .97);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  font-family: Anton, sans-serif;
  text-transform: uppercase;
  font-size: clamp(30px, 9vw, 46px);
  letter-spacing: .01em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  transition: color .25s, padding-left .3s var(--ease);
}
.mobile-menu a:hover { color: var(--gold); padding-left: 12px; }
.mobile-menu .btn { margin-top: 22px; }

/* --- Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding: 130px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.hero h1 {
  font-family: Anton, Manrope, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(48px, 9vw, 118px);
  line-height: .88;
  letter-spacing: -.005em;
  margin: 18px 0 24px;
}
.hero h1 .outline {
  -webkit-text-stroke: 1.6px var(--gold);
  color: transparent;
  paint-order: stroke fill;
}
.hero p.lead { max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.hero-stats {
  display: flex;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.hero-stats div strong { display: block; font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); color: var(--gold); }
.hero-stats div span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }

.hero-visual { position: relative; min-height: 380px; display: grid; align-content: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* --- Próxima competencia: el marcador del hero --------------------------- */

.proxima {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  padding: 26px 26px 22px;
  border-radius: var(--r-m);
  background: linear-gradient(155deg, rgba(28, 16, 14, .92), rgba(16, 15, 21, .92));
  border: 1px solid rgba(255, 90, 31, .3);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .55);
  overflow: hidden;
  animation: bob 7s ease-in-out infinite;
}
/* Franja de fuego arriba: el acento de energía */
.proxima::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-fire);
}
/* Rayas diagonales al fondo, como la cinta de una pista */
.proxima::after {
  content: '';
  position: absolute; right: -30px; bottom: -30px; width: 190px; height: 190px;
  background: repeating-linear-gradient(-45deg, rgba(255, 90, 31, .14) 0 3px, transparent 3px 13px);
  transform: rotate(8deg);
  pointer-events: none;
}
.proxima-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ember);
}
.proxima-live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--fire);
  box-shadow: 0 0 0 0 rgba(225, 6, 0, .7);
  animation: latido 1.8s ease-out infinite;
}
@keyframes latido {
  70% { box-shadow: 0 0 0 11px rgba(225, 6, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); }
}
.proxima-nombre {
  font-family: var(--font-poster);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: .96;
  letter-spacing: .005em;
}
.proxima-lugar { font-size: 12.5px; color: var(--muted); }
.cuenta-hero { position: relative; margin-top: 4px; }
.cuenta-hero div { background: rgba(0, 0, 0, .34); border-color: rgba(255, 90, 31, .18); }
.cuenta-hero b { font-size: clamp(24px, 2.6vw, 32px); }
.proxima-cta {
  justify-self: start;
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 12.5px; font-weight: 700;
  color: var(--gold);
  border-bottom: 1px solid rgba(245, 183, 0, .4);
  padding-bottom: 2px;
  transition: border-color .2s, gap .2s;
}
.proxima-cta:hover, .proxima-cta:focus-visible { border-color: var(--gold); }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-cue i { display: block; width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.35); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* --- Marquesina ------------------------------------------------------------ */

.marquee {
  --dur: 28s;
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .012);
  user-select: none;
}
.marquee-track { display: flex; gap: 40px; padding-right: 40px; flex: 0 0 auto; animation: slide var(--dur) linear infinite; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-family: Anton, sans-serif;
  text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 40px);
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 183, 0, .45);
  white-space: nowrap;
}
.marquee span b { color: var(--gold); -webkit-text-stroke: 0; }
.marquee span::after { content: '✦'; font-size: 14px; -webkit-text-stroke: 0; color: var(--gold-deep); }
@keyframes slide { to { transform: translateX(-100%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --- Cifras ---------------------------------------------------------------- */

.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-l); overflow: hidden; }
.figures article { background: var(--bg); padding: clamp(24px, 3vw, 38px); transition: background .4s var(--ease); }
.figures article:hover { background: var(--panel); }
.figures strong { display: block; font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.figures span { display: block; margin-top: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.figures small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted-2); }

/* --- Programas ------------------------------------------------------------- */

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program.featured { grid-column: span 2; }
@media (max-width: 1080px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .program-grid { grid-template-columns: 1fr; } .program.featured { grid-column: auto; } }
.program {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 420px;
  padding: 26px;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s;
  will-change: transform;
}
.program:hover { transform: translateY(-8px); border-color: rgba(245, 183, 0, .4); }
.program-art { position: absolute; inset: 0; z-index: -2; }
.program-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transition: transform 1s var(--ease); }
.program:hover .program-art img { transform: scale(1.07); }
.program::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,7,10,.28) 0%, rgba(7,7,10,.86) 55%, rgba(7,7,10,.97) 100%);
}
.program .lvl { position: absolute; top: 20px; left: 20px; }
.program h3 { font-family: Anton, sans-serif; text-transform: uppercase; font-size: 30px; font-weight: 400; }
.program .age { display: block; margin: 4px 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.program p { font-size: 13.5px; color: var(--muted); }
.program ul { display: grid; gap: 6px; margin-top: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s; }
.program:hover ul, .program:focus-within ul { max-height: 120px; opacity: 1; }
.program li { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.program li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.program .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.program .foot b { font-family: Manrope, sans-serif; font-size: 17px; }
.program .foot b em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
.program .go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); transition: background .3s, color .3s, transform .3s var(--spring); }
.program:hover .go { background: var(--gold); color: #100d06; transform: rotate(-45deg); }

/* --- Equipos --------------------------------------------------------------- */

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: all .3s var(--ease);
}
.tab:hover { color: var(--ink); border-color: var(--line); }
.tab.active { background: var(--grad-gold); color: #100d06; border-color: transparent; box-shadow: var(--sh-gold); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.team-card { padding: 24px; display: grid; gap: 14px; align-content: start; transition: transform .45s var(--ease), border-color .35s; }
.team-card:hover { transform: translateY(-5px); border-color: rgba(245, 183, 0, .35); }
.team-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.team-card h3 { font-size: 21px; }
.team-card .meta { display: grid; gap: 9px; font-size: 13px; color: var(--muted); }
.team-card .meta div { display: flex; gap: 10px; align-items: center; }
.team-card .meta i { width: 22px; text-align: center; font-style: normal; opacity: .7; }
.cupos { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted-2); }

/* --- Proceso / línea de tiempo --------------------------------------------- */

.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; }
.step-card { position: relative; padding: 28px 24px; border-radius: var(--r-l); border: 1px solid var(--line-soft); background: linear-gradient(160deg, var(--panel), transparent); overflow: hidden; }
.step-card::before {
  counter-increment: paso;
  content: '0' counter(paso);
  position: absolute; right: 14px; top: 2px;
  font-family: Anton, sans-serif;
  font-size: 74px;
  color: rgba(245, 183, 0, .08);
}
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); }

.timeline { display: grid; gap: 0; margin-top: 60px; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 26px; padding: 24px 0; border-top: 1px solid var(--line-soft); transition: background .4s; }
.tl-item:hover { background: rgba(245, 183, 0, .03); }
.tl-item b { font-family: Anton, sans-serif; font-size: 26px; color: var(--gold); }
.tl-item h4 { font-family: Manrope, sans-serif; font-size: 17px; margin-bottom: 5px; }
.tl-item p { font-size: 13.5px; color: var(--muted); max-width: 620px; }

/* --- Cinta a pantalla completa (foto grande + cita) -------------------------- */

.band {
  position: relative;
  min-height: min(78svh, 640px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid var(--line-soft);
}
.band-bg { position: absolute; inset: -8% 0; z-index: -2; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,7,10,.94) 0%, rgba(7,7,10,.75) 45%, rgba(7,7,10,.35) 100%);
}
.band-in { display: grid; gap: 22px; max-width: 620px; padding-block: clamp(40px, 8vw, 90px); }
.band-in h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -.015em; }
.band-in h2 em { font-style: italic; color: var(--gold); }
.band-in p { color: var(--muted); font-size: clamp(14px, 1.5vw, 17px); }
.band-meta { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.band-meta div strong { display: block; font-family: var(--font-ui); font-weight: 800; font-size: 24px; color: var(--gold); }
.band-meta div span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }

/* --- Galería --------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 186px; gap: 14px; }
.shot {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  cursor: pointer;
}
.shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.shot:nth-child(4) { grid-column: span 2; }
.shot:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.shot:nth-child(8) { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.shot img.con-foto { object-position: 50% 22%; }
.shot:hover img { transform: scale(1.08); }
.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 18px 16px;
  background: linear-gradient(transparent, rgba(7, 7, 10, .9));
  font-size: 13px;
  font-weight: 700;
  transform: translateY(6px);
  opacity: .85;
  transition: transform .4s var(--ease), opacity .4s;
}
.shot:hover figcaption { transform: none; opacity: 1; }
.shot figcaption small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
  background: rgba(4, 4, 6, .93);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; border-radius: var(--r-m); border: 1px solid var(--line); transform: scale(.94); transition: transform .45s var(--spring); }
.lightbox.open img { transform: none; }
.lightbox .close { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.lightbox .nav-btn { position: absolute; top: 50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(18,17,23,.8); display: grid; place-items: center; transform: translateY(-50%); }
.lightbox .prev { left: 3vw; } .lightbox .next { right: 3vw; }
.lightbox .cap { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted); }

/* --- Coaches --------------------------------------------------------------- */

.coach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.coach { padding: 22px; display: grid; gap: 12px; transition: transform .4s var(--ease), border-color .3s; }
.coach:hover { transform: translateY(-5px); border-color: rgba(245, 183, 0, .35); }
.coach .ini {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-m);
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(245,183,0,.16), rgba(245,183,0,.04));
  color: var(--gold);
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 26px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.coach .ini.con-foto { border-color: transparent; }
.coach h3 { font-family: var(--font-serif); font-weight: 500; font-size: 21px; }
.coach h3 { font-size: 17px; }
.coach .rol { font-size: 12px; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.coach p { font-size: 13px; color: var(--muted); }

/* --- Testimonios ----------------------------------------------------------- */

.quotes { position: relative; overflow: hidden; }
.quote-track { display: flex; transition: transform .7s var(--ease-out); }
.quote {
  flex: 0 0 100%;
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  gap: 22px;
}
.quote p { font-family: Manrope, sans-serif; font-size: clamp(19px, 2.6vw, 31px); line-height: 1.3; letter-spacing: -.02em; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote .ini { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 183, 0, .13); color: var(--gold); font-weight: 800; overflow: hidden; }
.quote p { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.quote strong { display: block; font-size: 14px; }
.quote span { font-size: 12px; color: var(--muted); }
.quote-nav { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
/* El punto se ve de 3px pero se toca en 44: el área táctil va en el padding */
.quote-dot { width: 30px; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .13); transition: background .3s, width .3s; box-sizing: content-box; padding: 20px 6px; background-clip: content-box; }
.quote-dot.active { background: var(--gold); width: 46px; }

/* --- Bloque plataforma (SaaS) ---------------------------------------------- */

.platform { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.feature-list { display: grid; gap: 2px; margin-top: 28px; }
.feature {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}
.feature i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(245, 183, 0, .1); color: var(--gold); font-style: normal; font-size: 15px; }
.feature h4 { font-family: Manrope, sans-serif; font-size: 15px; margin-bottom: 3px; }
.feature p { font-size: 13px; color: var(--muted); }

.screen {
  position: relative;
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #34313d; }
.screen-bar span { margin-left: auto; font-size: 10.5px; color: var(--muted-2); letter-spacing: .08em; }
.screen-body { padding: 20px; display: grid; gap: 14px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-kpi { padding: 14px; border-radius: var(--r-s); background: rgba(255, 255, 255, .028); border: 1px solid var(--line-soft); }
.mini-kpi span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.mini-kpi strong { display: block; margin-top: 6px; font-family: Manrope, sans-serif; font-size: 22px; color: var(--gold); }
.mini-chart { display: flex; align-items: flex-end; gap: 7px; height: 108px; padding: 14px; border-radius: var(--r-s); background: rgba(255, 255, 255, .022); border: 1px solid var(--line-soft); }
.mini-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--gold), rgba(255, 90, 31, .25)); transform-origin: bottom; animation: growBar 1.1s var(--ease-out) backwards; }
@keyframes growBar { from { transform: scaleY(.05); opacity: .3; } }
.mini-rows { display: grid; gap: 8px; }
.mini-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-s); background: rgba(255, 255, 255, .022); font-size: 12px; }
.mini-row b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 183, 0, .12); color: var(--gold); font-size: 10px; }

/* Maqueta del portal de apoderados dentro del bloque de accesos */
.mock-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--r-s); background: rgba(255, 255, 255, .028); border: 1px solid var(--line-soft); }
.mock-face { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--grad-gold); color: #100d06; font-weight: 800; font-size: 12.5px; }
.mock-txt { flex: 1; min-width: 0; }
.mock-txt strong { display: block; font-size: 13px; }
.mock-txt span { display: block; font-size: 11px; color: var(--muted-2); }
.mock-pay { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-radius: var(--r-s); background: rgba(255, 255, 255, .028); border: 1px solid var(--line-soft); }
.mock-pay span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.mock-pay strong { display: block; margin-top: 6px; font-family: Manrope, sans-serif; font-size: 24px; color: var(--gold); }
.mock-att { padding: 14px 16px; border-radius: var(--r-s); background: rgba(255, 255, 255, .028); border: 1px solid var(--line-soft); }
.mock-att > span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.mock-att > div { display: flex; gap: 7px; margin-top: 11px; }
.mock-att i { width: 13px; height: 13px; border-radius: 50%; opacity: .9; }

/* --- FAQ ------------------------------------------------------------------- */

.faq { display: grid; max-width: 880px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-family: Manrope, sans-serif; font-weight: 700; font-size: clamp(15px, 1.9vw, 19px); transition: color .3s; }
.faq-q:hover { color: var(--gold); }
.faq-q i { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; color: var(--gold); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--gold); color: #100d06; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px 24px 4px; font-size: 14px; color: var(--muted); }

/* --- Páginas de texto (legal, privacidad) ---------------------------------- */

.doc-wrap { max-width: 760px; margin-inline: auto; padding: 118px var(--gutter) 70px; }
.doc-wrap h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.015em; }
.doc-wrap .fecha { display: block; margin-top: 12px; font-size: 12.5px; color: var(--muted-2); }
.doc-wrap h2 { font-family: var(--font-ui); font-size: 18px; margin: 42px 0 12px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.doc-wrap h3 { font-family: var(--font-ui); font-size: 15px; margin: 24px 0 8px; color: var(--gold); }
.doc-wrap p, .doc-wrap li { font-size: 15px; line-height: 1.7; color: var(--muted); }
.doc-wrap p + p { margin-top: 14px; }
.doc-wrap ul { display: grid; gap: 9px; margin: 14px 0; }
.doc-wrap ul li { position: relative; padding-left: 20px; }
.doc-wrap ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.doc-wrap strong { color: var(--ink); font-weight: 600; }
.doc-wrap a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.doc-wrap table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.doc-wrap th, .doc-wrap td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.doc-wrap th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
.doc-wrap td { color: var(--muted); }

.aviso-borrador {
  display: grid; gap: 7px;
  padding: 16px 18px; margin: 26px 0 0;
  border: 1px dashed rgba(245, 183, 0, .4);
  border-radius: var(--r-s);
  background: rgba(245, 183, 0, .06);
  font-size: 13.5px;
}
.aviso-borrador b { color: var(--gold); }
.pendiente { color: var(--warn); font-weight: 600; background: rgba(255, 194, 75, .12); padding: 1px 6px; border-radius: 4px; }

/* --- CTA final y pie ------------------------------------------------------- */

.cta-final {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 7vw, 90px) clamp(26px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 50% 0%, rgba(245, 183, 0, .16), transparent 62%), linear-gradient(160deg, var(--panel), var(--bg-2));
  text-align: center;
}
.cta-final h2 { font-family: Anton, sans-serif; text-transform: uppercase; font-weight: 400; font-size: clamp(34px, 7vw, 78px); line-height: .95; }
.cta-final p { margin: 18px auto 0; max-width: 540px; color: var(--muted); }
.cta-final .row { justify-content: center; margin-top: 32px; }

.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 26px; }
.footer-grid h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); margin: 0 0 14px; font-family: Manrope, sans-serif; }
.footer-grid a, .footer-grid li { font-size: 13.5px; color: var(--muted); display: block; padding: 9px 0; min-height: 40px; display: flex; align-items: center; transition: color .25s; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 11.5px; color: var(--muted-2); }

.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #06210f;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .3);
  transition: transform .3s var(--spring);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }

/* ==========================================================================
   Inscripción
   ========================================================================== */

.enroll-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }

.wizard { border-radius: var(--r-xl); border: 1px solid var(--line-soft); background: linear-gradient(170deg, var(--panel), var(--bg-2)); box-shadow: var(--sh-3); overflow: hidden; }
.wizard-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, .015); }
.wstep { position: relative; display: flex; align-items: center; gap: 11px; padding: 20px 22px; font-size: 13px; font-weight: 700; color: var(--muted-2); transition: color .3s, background .3s; }
.wstep + .wstep { border-left: 1px solid var(--line-soft); }
.wstep i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; font-style: normal; font-size: 11px; flex: 0 0 auto; transition: all .35s var(--ease); }
.wstep.active { color: var(--ink); background: rgba(245, 183, 0, .05); }
.wstep.active i { border-color: var(--gold); color: var(--gold); }
.wstep.done { color: var(--muted); }
.wstep.done i { background: var(--grad-gold); border-color: transparent; color: #100d06; }
.wstep::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--grad-gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.wstep.active::after { transform: scaleX(1); }

.wpanel { display: none; padding: clamp(24px, 4vw, 40px); }
.wpanel.active { display: block; animation: panelIn .55s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateX(26px); } }
.wpanel-head { margin-bottom: 26px; }
.wpanel-head h2 { font-size: clamp(23px, 3vw, 31px); margin-top: 10px; }
.wpanel-head p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.pick {
  position: relative;
  text-align: left;
  padding: 20px;
  border-radius: var(--r-m);
  border: 1.5px solid var(--line-soft);
  background: rgba(255, 255, 255, .022);
  transition: transform .35s var(--ease), border-color .3s, background .3s;
}
.pick:hover { transform: translateY(-4px); border-color: rgba(245, 183, 0, .4); }
.pick.sel { border-color: var(--gold); background: rgba(245, 183, 0, .09); box-shadow: 0 0 0 1px var(--gold) inset; }
.pick .tick { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; color: transparent; transition: all .3s var(--spring); }
.pick.sel .tick { background: var(--grad-gold); border-color: transparent; color: #100d06; }
.pick h3 { font-size: 18px; margin-bottom: 4px; }
.pick .sub { font-size: 12px; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.pick p { margin-top: 9px; font-size: 12.5px; color: var(--muted); min-height: 36px; }
.pick .price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }
.pick .price b { font-family: Manrope, sans-serif; font-size: 16px; color: var(--ink); }
.pick.full { opacity: .5; pointer-events: none; }

.age-hint { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 20px; border-radius: var(--r-s); border: 1px solid var(--line); background: rgba(245, 183, 0, .07); font-size: 13px; }
.age-hint b { color: var(--gold); }

.wpanel-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-soft); }

.summary-card { position: sticky; top: 100px; padding: 24px; display: grid; gap: 16px; }
.summary-card h3 { font-size: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); }
.sum-row:last-of-type { border: 0; }
.sum-row span { color: var(--muted); }
.sum-row b { text-align: right; font-weight: 700; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.sum-total b { font-family: Manrope, sans-serif; font-size: 24px; color: var(--gold); }
.sum-empty { font-size: 13px; color: var(--muted-2); }

.review { border: 1px solid var(--line-soft); border-radius: var(--r-m); overflow: hidden; }
.review-row { display: grid; grid-template-columns: 168px 1fr; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.review-row:last-child { border: 0; }
.review-row span { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted-2); font-weight: 700; }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.pay { padding: 14px; border-radius: var(--r-s); border: 1.5px solid var(--line-soft); background: rgba(255,255,255,.02); font-size: 12.5px; font-weight: 700; text-align: center; transition: all .3s var(--ease); }
.pay.sel { border-color: var(--gold); background: rgba(245, 183, 0, .09); }
.pay small { display: block; font-weight: 500; color: var(--muted-2); font-size: 10.5px; margin-top: 3px; }

.done { text-align: center; display: grid; justify-items: center; gap: 8px; padding: clamp(30px, 6vw, 64px) 24px; }
.done-mark {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-gold);
  color: #100d06;
  font-size: 34px; font-weight: 800;
  margin-bottom: 8px;
  animation: pop .7s var(--spring);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done h2 { font-size: clamp(28px, 4vw, 42px); }
.done > p { color: var(--muted); max-width: 460px; }
.done-card { margin: 22px 0 6px; padding: 20px 26px; border-radius: var(--r-m); border: 1px solid var(--line); background: rgba(245, 183, 0, .06); min-width: min(100%, 420px); display: grid; gap: 6px; }
.done-card b { font-size: 16px; }
.done-card span { font-size: 12.5px; color: var(--muted); }
.code { margin-top: 16px; font-size: 12px; color: var(--muted-2); letter-spacing: .1em; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti i { position: absolute; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: 0; } }

/* --- Adaptación móvil ------------------------------------------------------ */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin-inline: auto; min-height: 0; }
  .hero-stats { margin-top: 30px; padding-top: 20px; }
  .proxima { padding: 22px 20px 18px; }
  .hero { min-height: auto; padding-top: 104px; padding-bottom: 40px; }
  .hero p.lead { margin-bottom: 4px; }
  .hero-actions { margin-top: 24px; }
  .platform { grid-template-columns: 1fr; }
  .enroll-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 860px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .burger { display: grid; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .steps-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .shot:nth-child(n) { grid-row: auto; grid-column: span 2; }
  .band { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tl-item { grid-template-columns: 72px 1fr; gap: 16px; }
  .review-row { grid-template-columns: 1fr; gap: 4px; }
  .pay-methods { grid-template-columns: 1fr; }
  .wstep span { display: none; }
  .wstep { justify-content: center; padding: 16px 8px; }
}

@media (max-width: 520px) {
  .brand-text { display: none; }
  .hero { padding-top: 92px; }
  .hero-stats { gap: 14px 20px; margin-top: 24px; padding-top: 18px; }
  .hero-stats div strong { font-size: 28px; }
  .wpanel-actions { flex-direction: column-reverse; }
  .wpanel-actions .btn { width: 100%; }
  .figures { grid-template-columns: 1fr; }
}
