/* =========================================================
   MPA® Marca Personal Audiovisual — Landing
   Colores tomados del logo: violeta → magenta → rojo
   ========================================================= */

:root {
  --violet: #5b17e6;
  --magenta: #c42fc0;
  --red: #f21b1f;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--magenta) 50%, var(--red) 100%);

  /* Regla de color: el degradé es la firma y se reserva para el logo, el titular del hero,
     el visual del hero y líneas finas de acento. Todo lo demás usa colores sólidos. */
  --accent: #5b17e6;
  --accent-hover: #4a0fcc;
  --hl-light: #a8239f;  /* palabra destacada sobre fondo claro */
  --hl-dark: #e48be0;   /* palabra destacada sobre fondo oscuro */

  --ink: #0f0b18;
  --ink-2: #181226;
  --ink-3: #241b37;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text-on-dark: #f4f1fa;
  --muted-on-dark: #b5acc8;

  --paper: #ffffff;
  --mist: #f6f3fb;
  --line-light: #e6e0f0;
  --text: #1a1525;
  --muted: #5d5670;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(40, 10, 80, 0.35);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }

.grad-text { color: var(--hl-light); }
.section-dark .grad-text { color: var(--hl-dark); }
/* Titular principal: frase fina + MAYÚSCULAS gruesas con el degradé de la marca */
.hero h1 { font-weight: 300; letter-spacing: -0.025em; }
.hero h1 .h1-light { display: block; font-size: 0.78em; }
.hero h1 .grad-text {
  display: inline-block; /* el degradé se ajusta al largo del texto */
  margin-top: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  /* degradé magenta → violeta (violeta aclarado para que se lea sobre fondo oscuro) */
  background: linear-gradient(100deg, #e64fdc 0%, var(--magenta) 30%, #8a4dff 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-light { background: var(--paper); }
.section-mist { background: var(--mist); }

.section-head { max-width: 780px; margin-bottom: 48px; }
/* Letras MPA® del logo con sus colores originales dentro de un título */
.h2-logo {
  display: inline-block;
  height: 0.95em;
  width: auto;
  vertical-align: -0.1em;
  margin-left: 0.1em;
}
.kicker {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}
.section-dark .kicker { color: #e07bdc; }
.section-sub { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-sub { color: var(--muted-on-dark); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid #e07bdc; outline-offset: 3px; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(91, 23, 230, 0.7);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 14px 32px -12px rgba(91, 23, 230, 0.8); }
.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-light { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 64px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(196, 47, 192, 0.28) 0%, rgba(91, 23, 230, 0.12) 40%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  margin-bottom: 24px;
}
.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(242, 27, 31, 0.6);
  animation: rec 1.6s infinite;
  display: inline-block;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(242, 27, 31, 0.6); opacity: 1; }
  50% { opacity: 0.45; }
  100% { box-shadow: 0 0 0 10px rgba(242, 27, 31, 0); opacity: 1; }
}
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.hero .eyebrow { letter-spacing: 0.06em; font-size: 0.78rem; margin-bottom: 20px; }
.hero-ctas { margin-top: 26px; }
.lead { font-size: 1.2rem; color: var(--muted-on-dark); max-width: 560px; }
.lead strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 16px; }
.hero-note { font-size: 0.9rem; color: var(--muted-on-dark); }

/* Visor de cámara con el video principal */
.hero-visual { position: relative; padding: 0 24px; }
.viewfinder {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #000;
  box-shadow: 0 40px 80px -30px rgba(91, 23, 230, 0.6);
}
.hero-play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.hero-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-play:hover img { transform: scale(1.03); }
.hero-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 11, 24, 0.45) 0%, transparent 22%, transparent 62%, rgba(15, 11, 24, 0.6) 100%);
  pointer-events: none;
}
.hero-play:focus-visible { outline: 3px solid var(--hl-dark); outline-offset: -3px; }
/* Botón de play abajo a la izquierda para no tapar el título de la miniatura */
.hero-play-btn {
  position: absolute;
  z-index: 3;
  left: 6%;
  bottom: 12%;
  display: block;
}
.hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-video.playing .vf-corner,
.hero-video.playing .vf-rec,
.hero-video.playing .vf-meta,
.hero-video.playing .vf-timecode { display: none; }
.big-play {
  position: relative;
  display: block;
  flex: none;
  width: clamp(54px, 5.5vw, 68px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 14px 40px -10px rgba(91, 23, 230, 0.9);
  transition: transform 0.2s ease;
}
.hero-play:hover .big-play { transform: scale(1.08); }
.big-play::before,
.big-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  animation: ring 2.8s ease-out infinite;
}
.big-play::after { animation-delay: 1.4s; }
@keyframes ring {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(1.9); opacity: 0; }
}
.big-play span {
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: clamp(16px, 1.7vw, 20px) solid #fff;
  border-top: clamp(10px, 1.05vw, 12px) solid transparent;
  border-bottom: clamp(10px, 1.05vw, 12px) solid transparent;
}

/* Chips flotantes */
.float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(24, 18, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.fc-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 0.7rem;
}
/* Montadas sobre los bordes del visor para no tapar REC, subtítulo ni timecode */
.fc1 { top: -20px; left: 34%; }
.fc3 { bottom: 42px; left: 0; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Línea de tiempo bajo el visor */
.track {
  position: relative;
  margin-top: 18px;
  padding: 8px;
  border-radius: 12px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}
.track-clips { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.track-clips span {
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: var(--grad);
  background-size: 800% 100%;
}
.track-clips span:nth-child(1) { background-position: 0% 0; }
.track-clips span:nth-child(2) { background-position: 14.3% 0; }
.track-clips span:nth-child(3) { background-position: 28.6% 0; }
.track-clips span:nth-child(4) { background-position: 42.9% 0; }
.track-clips span:nth-child(5) { background-position: 57.1% 0; }
.track-clips span:nth-child(6) { background-position: 71.4% 0; }
.track-clips span:nth-child(7) { background-position: 85.7% 0; }
.track-clips span:nth-child(8) { background-position: 100% 0; }
.playhead {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 8px;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 10px #fff;
  animation: playhead 12s linear infinite;
}
.playhead::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -5px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #fff;
}
@keyframes playhead {
  from { left: 8px; }
  to { left: calc(100% - 10px); }
}
.vf-corner {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  pointer-events: none;
}
.vf-corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.vf-corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.vf-corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.vf-corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.vf-rec, .vf-meta, .vf-timecode {
  position: absolute;
  z-index: 2;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  pointer-events: none;
}
.vf-rec { top: 26px; left: 56px; display: flex; align-items: center; gap: 8px; }
.vf-meta { top: 26px; right: 56px; opacity: 0.85; }
.vf-timecode { bottom: 26px; right: 56px; }

/* Firma de los expertos (retratos pequeños) */
.hero-experts { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; }
.avatars { display: flex; flex: none; }
.avatars img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 2px rgba(228, 139, 224, 0.55);
}
.avatars img + img { margin-left: -12px; }
.hero-experts p { margin: 0; font-size: 0.98rem; line-height: 1.45; color: var(--muted-on-dark); }
.hero-experts strong { color: #fff; font-weight: 600; }

/* Barra de autoridad */
.hero-stats {
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-on-dark);
  font-size: 0.92rem;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: #fff;
  line-height: 1.2;
}

/* ---------- Problema ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain {
  background: var(--mist);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.pain-icon {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(91, 23, 230, 0.1);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 18px;
}
.pain p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.statement {
  margin-top: 56px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--text-on-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--grad);
}
.statement p { font-size: 1.2rem; color: var(--muted-on-dark); margin: 0; }
.statement .statement-big {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
}

/* ---------- Método (línea de tiempo tipo editor de video) ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: clip;
}
/* Tarjetas claras sobre la sección gris del método */
.clip {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.clip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
  opacity: 0.85;
}
.clip:hover { transform: translateY(-4px); border-color: rgba(91, 23, 230, 0.3); box-shadow: var(--shadow); }
.clip-tag {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.clip h3 { color: var(--text); }
.clip p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---------- Mentores ---------- */
.mentors { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mentor {
  display: flex;
  flex-direction: column;
  background: var(--mist);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.mentor-photo { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; }
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 0.6s ease; }
.mentor:hover .mentor-photo img { transform: scale(1.03); }
.mentor-body { padding: 32px 28px; }
.mentor-body h3 { font-size: 1.5rem; margin-bottom: 4px; }
.mentor-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 16px;
}
.mentor-body p:not(.mentor-role) { color: var(--muted); font-size: 0.98rem; margin: 0 0 0.8em; }
.mentor-body p:last-child { margin-bottom: 0; }

/* Marcadores de contenido pendiente (borrar al tener el contenido final) */
.pending em { color: var(--red); font-style: normal; font-weight: 600; }

/* ---------- Comunidad ---------- */
.stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.stage-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.stage-list {
  border-radius: var(--radius);
  padding: 36px 30px;
  background: var(--ink-2);
  border: 1px solid rgba(228, 139, 224, 0.28);
  display: flex;
  align-items: center;
}
.stage-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.stage-list li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #fff;
  padding-left: 30px;
  position: relative;
}
.stage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 0;
  height: 0;
  border-left: 12px solid var(--hl-dark);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.sub-title { margin: 72px 0 24px; font-size: 1.5rem; }

/* Galería de talleres: 4 columnas, la foto principal ocupa 2x2 */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 12px;
}
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--ink-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.testimonial .t-name { padding: 16px 20px 2px; }
.testimonial .t-note { padding: 0 20px 18px; }
/* Miniatura clicable; al hacer clic se reemplaza por el reproductor de YouTube */
.t-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
/* scale recorta las franjas negras que traen las miniaturas de YouTube */
.t-video img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); transition: transform 0.5s ease, opacity 0.3s; opacity: 0.88; }
.t-video:hover img { transform: scale(1.27); opacity: 1; }
.t-video:focus-visible { outline: 3px solid var(--hl-dark); outline-offset: -3px; }
.t-video iframe, .testimonial iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.t-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s ease;
}
.t-video:hover .t-play { transform: scale(1.08); }
.t-play::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 20px;
  border-left: 16px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.t-name { font-family: var(--font-head); font-weight: 600; color: #fff; margin: 0; }
.t-note { font-size: 0.85rem; color: var(--muted-on-dark); margin: 0; }

/* ---------- Programas ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.plan-featured {
  position: relative;
  border: 0;
  box-shadow: var(--shadow);
}
.plan-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: var(--radius);
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan-badge {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta);
  background: rgba(196, 47, 192, 0.1);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.plan-featured .plan-badge { color: #fff; background: var(--accent); }
.plan h3 { font-size: 1.6rem; margin-bottom: 8px; }
.plan-meta {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin: -2px 0 10px;
}
.plan-desc { color: var(--muted); font-size: 0.98rem; }
.plan-sessions {
  list-style: none;
  margin: 4px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.plan-sessions li {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--mist);
  border: 1px solid var(--line-light);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
}
.plan-sessions span {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hl-light);
  margin-bottom: 2px;
}
.plan-list { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.96rem;
  line-height: 1.45;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent);
}
.plan-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
/* Escalera de rutas: cada nivel incluye el anterior */
.plan-steps {
  list-style: none;
  margin: -16px 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
}
.plan-steps li:nth-child(1) { border-bottom-color: rgba(91, 23, 230, 0.3); }
.plan-steps li:nth-child(2) { border-bottom-color: rgba(91, 23, 230, 0.6); }
.plan-steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
}
.plan-steps em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.plans .plan { position: relative; }
.plan-plus {
  position: absolute;
  left: -24px;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 0 0 5px var(--mist);
}
.plan-includes {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(91, 23, 230, 0.08);
  border: 1px dashed rgba(91, 23, 230, 0.35);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--accent);
}
.plan-includes span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.plan-includes small { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
/* Ítems que suma cada nivel: marcador "+" en lugar de check */
.plan-list.plus li::after {
  content: "+";
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border: 0;
  transform: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 19px;
  text-align: center;
}
.plan-detail {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.plan .btn-block { text-align: center; line-height: 1.3; }
.plans-manifesto {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 40px 0 0;
  padding: 22px 28px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.plans-manifesto img { flex: none; width: 90px; height: auto; }
.plans-manifesto p { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.plans-manifesto strong { color: var(--accent); }
.plans-note { text-align: center; color: var(--muted); margin: 28px auto 0; max-width: 620px; }

/* ---------- Postulación ---------- */
.apply { position: relative; overflow: hidden; }
.apply::before {
  content: "";
  position: absolute;
  left: -20vw;
  bottom: -30vw;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(91, 23, 230, 0.3) 0%, transparent 65%);
  pointer-events: none;
}
.apply-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.apply-copy { position: sticky; top: 110px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps span {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  background: var(--accent);
  color: #fff;
}
.steps strong { font-family: var(--font-head); font-weight: 600; color: #fff; }
.steps p { margin: 2px 0 0; color: var(--muted-on-dark); font-size: 0.95rem; }

.form-card {
  background: var(--paper);
  color: var(--text);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.form-row { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}
.optional { font-weight: 400; color: var(--muted); }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--mist);
  border: 1.5px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--magenta);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 47, 192, 0.14);
}
.invalid input, .invalid select, input.invalid, select.invalid { border-color: var(--red); }
fieldset.invalid legend { color: var(--red); }
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  font-size: 0.97rem;
  padding: 11px 14px;
  margin-bottom: 8px;
  border: 1.5px solid var(--line-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.choice:hover { border-color: #d9c6ec; }
.choice:has(input:checked) { border-color: var(--magenta); background: rgba(196, 47, 192, 0.06); }
.choice input { accent-color: var(--magenta); width: 18px; height: 18px; margin: 0; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { margin: 0; cursor: pointer; font-weight: 500; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-light);
  font-size: 0.95rem;
  transition: all 0.2s;
}
.chip input:checked + span { background: var(--accent); color: #fff; border-color: transparent; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(196, 47, 192, 0.25); }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 4px 0 22px;
  cursor: pointer;
}
.consent input { accent-color: var(--magenta); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.consent.invalid span { color: var(--red); }
.form-error {
  color: var(--red);
  font-weight: 600;
  font-size: 0.93rem;
  margin: -6px 0 16px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#submit-btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.form-result { text-align: center; padding: 40px 10px; }
.form-result:focus { outline: none; }
.result-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
}
.form-result h3 { font-size: 1.6rem; }
.form-result p { color: var(--muted); max-width: 420px; margin: 0 auto 24px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: var(--mist);
  transition: background-color 0.2s;
}
.faq details[open] { background: #fff; box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--magenta);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq details p { padding: 0 22px 22px; margin: 0; color: var(--muted); }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative;
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(196, 47, 192, 0.32), transparent 70%),
    radial-gradient(ellipse 50% 70% at 15% -20%, rgba(91, 23, 230, 0.3), transparent 70%),
    var(--ink);
  color: #fff;
  text-align: center;
  padding: clamp(72px, 10vw, 110px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
}
.final-cta h2 { max-width: 820px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-title { font-family: var(--font-head); font-weight: 600; color: #fff; margin-bottom: 8px; }
.site-footer a { color: #e07bdc; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 22px; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float[hidden] { display: none; }
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; padding: 13px; }
  .wa-label { display: none; }
}

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rec-dot, .big-play::before, .big-play::after, .float-chip, .playhead { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .mentors { gap: 20px; }
  .plans { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; gap: 40px; }
  .plan-plus { left: 50%; top: -36px; margin: 0 0 0 -16px; }
  .plan-steps { max-width: 620px; margin-inline: auto; gap: 12px; }
  .plan-steps em { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav-cta { margin-top: 16px; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .stage-grid { grid-template-columns: 1fr 1fr; }
  .stage-list { grid-column: 1 / -1; order: -1; }
  .testimonials { grid-template-columns: 1fr; max-width: 520px; }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .apply-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 40px; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { padding: 0; }
  .float-chip { display: none; }
  .vf-rec { left: 46px; top: 24px; }
  .vf-meta { display: none; }
  .vf-timecode { right: 46px; bottom: 24px; }
  .pain-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .mentors { grid-template-columns: 1fr; }
  .mentor-photo { aspect-ratio: 1; }
  .stage-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stage-list { padding: 28px 22px; }
  .form-row.two { grid-template-columns: 1fr; }
  .plans-manifesto { flex-direction: column; align-items: flex-start; padding: 20px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 8px; }
  .plan-steps { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
