/* Clever Chamba Academy — hoja de estilos principal
   Morado, blanco y negro. Tipografía Poppins. Sin dependencias. */

:root {
  --purple: #6f00ff;
  --purple-700: #5800cc;
  --purple-300: #b98cff;
  --purple-50: #f4edff;
  --ink: #0b0b10;
  --ink-2: #16161d;
  --ink-3: #24242d;
  --text: #1b1b22;
  --muted: #5b5b66;
  --line: #e4e4ea;
  --gray-bg: #f1f1f3;
  --white: #ffffff;
  --badge: #d42a1e;
  --error: #c4170c;
  --ok: #0f7b3f;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(17, 12, 40, .08);
  --shadow-lg: 0 24px 60px rgba(17, 12, 40, .14);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.container--form { max-width: calc(680px + var(--gutter) * 2); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-purple :focus-visible { outline-color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.display {
  font-size: clamp(2.35rem, 6.4vw, 4.4rem);
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.h2 { font-size: clamp(1.85rem, 4.4vw, 3rem); text-transform: uppercase; }
/* Palabras completas: sin partición silábica en ningún texto editorial (antes: hyphens:auto con lang="es").
   El tamaño de los títulos se ajusta para que la palabra más larga quepa; los cortes solo se permiten en URLs. */
body { -webkit-hyphens: none; hyphens: none; word-break: normal; overflow-wrap: normal; }
h1, h2, h3, h4, .display, .h2, .h3 { -webkit-hyphens: none; hyphens: none; word-break: normal; overflow-wrap: normal; text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
.break-url { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .display { font-size: clamp(1.75rem, 8.4vw, 2.5rem); line-height: 1.06; }
  .h2 { font-size: clamp(1.45rem, 6.6vw, 2.05rem); line-height: 1.1; }
  .lead { font-size: 1rem; }
}
.h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.accent { color: var(--purple); }
.on-dark .accent { color: var(--purple-300); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.on-dark .lead { color: #c9c9d6; }
.center { text-align: center; }
.rule { width: 64px; height: 4px; background: var(--purple); border: 0; margin: 18px auto 0; border-radius: 2px; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 14px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--purple); color: var(--white); box-shadow: 0 10px 26px rgba(111, 0, 255, .28); }
.btn--primary:hover { background: var(--purple-700); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--purple-700); }
.btn--light:hover { background: var(--purple-50); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.on-dark .btn--outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.on-dark .btn--outline:hover { background: var(--white); color: var(--ink); }
.btn--xl { min-height: 64px; padding: 18px 44px; font-size: clamp(1rem, 1.6vw, 1.2rem); text-transform: uppercase; letter-spacing: .01em; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.on-dark .link-arrow { color: var(--purple-300); }
.link-arrow svg { width: 16px; height: 16px; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  background: var(--badge); color: var(--white);
  font-size: .8rem; font-weight: 700; line-height: 1.3; letter-spacing: .01em;
}
.badge--dark { background: var(--ink); }
.badge--purple { background: var(--purple); }

/* ---------- Franja CTA ---------- */
.strip { background: var(--purple); color: var(--white); }
.strip__text--mob { display: none; }
.strip__link {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: nowrap;
  min-height: 70px; padding: 12px var(--gutter);
  text-decoration: none; font-size: clamp(.9rem, 1.45vw, 1.12rem); line-height: 1.35; text-align: center;
}
.strip__badge {
  background: var(--white); color: var(--ink); border-radius: 999px;
  padding: 3px 11px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
}
.strip__text { min-width: 0; }
.strip__badge { flex: none; }
.strip__text strong { font-weight: 700; }
.strip__cta {
  display: inline-flex; align-items: center; gap: 10px; flex: none; white-space: nowrap;
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.strip__arrow { width: 30px; height: 14px; flex: none; transition: transform .2s; }
.strip__link:hover .strip__arrow { transform: translateX(4px); }
@media (max-width: 1080px) {
  .strip__link { flex-wrap: wrap; gap: 6px 12px; }
}
@media (max-width: 720px) {
  /* Móvil: un único bloque de texto que fluye (etiqueta + mensaje corto + CTA), altura natural y compacta. */
  .strip__link { display: block; min-height: 0; padding: 9px 16px 10px; font-size: .84rem; line-height: 1.45; }
  .strip__text--desk { display: none; }
  .strip__text--mob { display: inline; }
  .strip__link { text-wrap: balance; }
  [data-banner-mobile], .strip__cta { white-space: nowrap; } /* frases cortas: no separar "Bienes Raíces" ni el CTA */
  .strip__badge { display: inline-block; vertical-align: 1px; padding: 1px 7px; font-size: .62rem; margin-right: 6px; }
  .strip__cta { display: inline-flex; gap: 6px; margin-left: 8px; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
  .strip__arrow { width: 18px; height: 10px; }
}

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); }
.nav__bar { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { text-decoration: none; font-weight: 800; letter-spacing: .01em; font-size: 1.08rem; line-height: 1.1; white-space: nowrap; color: var(--white); }
.logo span { color: var(--purple-300); }
.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; }
.nav__item { position: relative; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; background: none; border-radius: 8px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 1rem; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active { color: var(--purple-300); }
.nav__chev { width: 14px; height: 14px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 290px;
  list-style: none; padding: 10px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s, visibility 0s; }
.nav__sub a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav__sub a:hover, .nav__sub a:focus-visible, .nav__sub a[aria-current="page"] { background: var(--purple-50); color: var(--purple-700); }
.nav__cta { margin-left: 12px; min-height: 48px; padding: 12px 24px; }
.nav__toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 10px;
  background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 28px; height: 28px; }
.nav__toggle { flex: none; } /* área táctil fija de 48 px */
@media (max-width: 374px) { .nav__bar { gap: 12px; } .logo { font-size: .94rem; } }
.nav__panel-cta { display: none; }

@media (max-width: 1080px) {
  .nav__bar { min-height: 68px; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - 68px); overflow-y: auto;
    padding: 8px var(--gutter) 28px; display: none;
  }
  .nav.is-open .nav__panel { display: block; }
  .nav__menu { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.08rem; }
  .nav__sub { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 12px 12px; display: none; }
  .nav__item.is-open .nav__sub { display: block; }
  .nav__sub a { color: #d9d9e3; }
  .nav__sub a:hover, .nav__sub a:focus-visible, .nav__sub a[aria-current="page"] { background: rgba(255,255,255,.06); color: var(--white); }
  .nav__panel-cta { display: flex; margin-top: 22px; }
}
@media (min-width: 1081px) { .nav__panel { display: flex; align-items: center; margin-left: auto; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
html { scroll-padding-top: 100px; }
@media (max-width: 1080px) { html { scroll-padding-top: 84px; } }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--gray { background: var(--gray-bg); }
.section--dark { background: var(--ink); color: #e9e9f0; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--purple { background: var(--purple); color: var(--white); }
.section--purple h2 { color: var(--white); }

/* Hero de inicio */
.hero-home { background: var(--gray-bg); position: relative; overflow: hidden; }
.hero-home__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 24px; min-height: 560px; }
.hero-home__copy { padding: clamp(56px, 8vw, 96px) 0; align-self: center; }
.hero-home__copy .display { color: var(--ink); }
.hero-home__copy .lead { margin-top: 22px; max-width: 560px; color: #33333d; }
.hero-home__copy .btn { margin-top: 34px; }
.hero-home__photo { align-self: end; display: flex; justify-content: center; padding-top: 48px; }
.hero-home__photo img { width: auto; max-width: 100%; max-height: 600px; margin-bottom: -2px; }
@media (max-width: 860px) {
  .hero-home__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-home__copy { text-align: center; padding-bottom: 28px; }
  .hero-home__copy .lead { margin-left: auto; margin-right: auto; }
  .hero-home__photo { padding-top: 0; }
  .hero-home__photo img { max-height: 440px; }
}
@media (max-width: 600px) { .hero-home__copy { padding-top: 36px; } } /* mismo aire bajo el menú que .page-hero */

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.stat { border-left: 4px solid var(--purple); padding: 4px 0 4px 20px; }
.stat__num { display: block; font-size: clamp(2.2rem, 4.6vw, 3.3rem); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.stat__label { display: block; margin-top: 10px; font-size: .86rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.on-dark .stat__num { color: var(--white); }
.on-dark .stat__label { color: #b9b9c8; }
@media (max-width: 640px) {
  .stats { gap: 12px; }
  .stat { padding-left: 10px; border-left-width: 3px; }
  .stat__num { font-size: clamp(1.05rem, 5.2vw, 1.7rem); white-space: nowrap; }
  .stat__label { font-size: .68rem; letter-spacing: .06em; line-height: 1.35; }
}

/* Tarjeta de hoja de ruta (estilo "Scaling Roadmap") */
.feature-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px);
  background: #fafafb; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px);
}
.feature-card .badge { position: absolute; top: 18px; right: 18px; font-size: .95rem; padding: 6px 14px; font-style: italic; text-transform: uppercase; }
.feature-card__title { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; }
.feature-card__body .btn { margin-top: 26px; }
@media (max-width: 860px) { .feature-card { grid-template-columns: 1fr; padding-top: 64px; text-align: center; } }
/* Móvil: menos margen lateral para que la imagen de la tarjeta (plantillas, portada del MRI) no quede pequeña. */
@media (max-width: 600px) { .feature-card { padding-left: 14px; padding-right: 14px; } .feature-card__body { padding: 0 8px; } }

/* Espacios de foto configurables */
.slot {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, #ececf1 0%, #f7f7fa 55%, #ececf1 100%);
  aspect-ratio: 4 / 3; width: 100%;
}
.slot::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(17, 12, 40, .06); border-radius: inherit; pointer-events: none; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot--square { aspect-ratio: 1; }
.slot--portrait { aspect-ratio: 4 / 5; }
.slot--wide { aspect-ratio: 16 / 9; }
.slot--circle { border-radius: 50%; aspect-ratio: 1; }
.on-dark .slot { background: linear-gradient(135deg, #1d1d26 0%, #262632 55%, #1d1d26 100%); }
.on-dark .slot::after { border-color: rgba(255,255,255,.06); }
/* Imágenes definitivas: el hueco toma la proporción del original (estilo en línea generado), así se ven
   completas sin deformar ni recortar. Las piezas con transparencia (plantillas, portátiles) van sin fondo ni marco. */
.slot.has-photo { background: #e9e9ee; }
.on-dark .slot.has-photo { background: #1d1d26; }
.slot--png.has-photo, .on-dark .slot--png.has-photo { background: none; border-radius: 0; overflow: visible; }
.slot--png::after { content: none; }
.slot--png img { object-fit: contain; }
.course .slot--device { width: 100%; max-width: 360px; }
.split .slot--device { max-width: 600px; margin: 0 auto; }

/* Tarjetas de cursos gratis (estilo "Free Advanced Training") */
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.course { display: flex; flex-direction: column; align-items: center; text-align: center; }
.course__top { width: 100%; display: flex; justify-content: flex-end; min-height: 30px; }
.course__title { font-size: clamp(1.1rem, 1.8vw, 1.35rem); text-transform: uppercase; margin: 10px 0 18px; min-height: 2.2em; display: flex; align-items: center; }
.course .slot--circle { width: min(100%, 250px); background: radial-gradient(circle at 50% 45%, #2a2a36 0%, var(--ink) 70%); }
.course .btn { margin-top: 24px; width: 100%; max-width: 280px; }
.courses--2 { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(32px, 7vw, 96px); }
@media (max-width: 860px) { .courses { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 48px; } }
@media (max-width: 860px) and (min-width: 601px) { .courses--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; gap: 32px; } .courses--2 .course__title { font-size: 1.05rem; } }
@media (max-width: 600px) { .courses--2 { grid-template-columns: 1fr; max-width: 420px; gap: 48px; } }
.event-band { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.event-band > div { max-width: 640px; }
@media (max-width: 640px) { .event-band { text-align: center; justify-content: center; } .event-band .btn { width: 100%; } }
.divider { height: 1px; background: #cfcfd8; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); border: 0; }

/* Reseñas tipo tarjeta */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.review {
  background: var(--white); border-radius: 12px; box-shadow: 0 6px 24px rgba(17, 12, 40, .1); padding: 22px;
  border: 1px solid var(--line);
}
.review:nth-child(2) { transform: rotate(-1deg) translateY(10px); }
.review:nth-child(3) { transform: rotate(.8deg); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: var(--white); font-weight: 700; flex: none; }
.review__name { font-weight: 700; color: var(--ink); line-height: 1.2; }
.review__program { font-size: .85rem; color: var(--muted); }
.review__stars { color: #f5a400; letter-spacing: 2px; margin: 12px 0 8px; font-size: 1rem; }
.review__text { color: #2d2d36; }
.review__text mark { background: #fff3a6; color: inherit; padding: 0 2px; }
.disclaimer { max-width: 760px; margin: clamp(32px, 4vw, 48px) auto 0; text-align: center; font-size: .92rem; color: var(--muted); }
.on-dark .disclaimer { color: #a5a5b4; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .review:nth-child(n) { transform: none; } }

/* FAQ */
.faq { max-width: 960px; margin: 0 auto; }
.faq details { border-bottom: 2px dashed #c9c9d3; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-weight: 700; font-size: clamp(1.02rem, 1.8vw, 1.3rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 820px; }

/* Banda final */
.final-cta { text-align: center; }
.final-cta .h2 { max-width: 820px; margin: 0 auto; }
.final-cta p { margin: 16px auto 0; max-width: 560px; color: rgba(255,255,255,.9); font-size: 1.08rem; }
.final-cta .btn { margin-top: 30px; }

/* Encabezados de páginas internas */
.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); text-align: center; }
.page-hero .display { max-width: 1000px; margin: 0 auto; }
.page-hero .lead { max-width: 720px; margin: 22px auto 0; }
.page-hero__actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }
.page-hero .badge { margin-bottom: 18px; }
.eyebrow { display: block; margin: 0 auto 12px; font-size: clamp(.82rem, 1.4vw, 1rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.on-dark .eyebrow { color: var(--purple-300); }
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .section--tight { padding: 40px 0; }
  .page-hero { padding: 36px 0 48px; }
  .page-hero .badge { margin-bottom: 12px; }
  .page-hero .lead { margin-top: 14px; }
  .page-hero__actions { margin-top: 26px; gap: 14px; }
  .section-head { margin-bottom: 28px; }
  .vsl, .event-video { margin-top: 26px; }
  .event-video__sub { letter-spacing: .1em; }
  .event-video__dot { display: block; height: 2px; font-size: 0; } /* en móvil: dos líneas, sin punto suelto */
  .btn--xl { min-height: 56px; padding: 14px 24px; }
}

/* Video VSL */
.vsl { max-width: 900px; margin: clamp(32px, 5vw, 48px) auto 0; }
.vsl__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 120% at 70% 0%, #2c1066 0%, #120a26 45%, var(--ink) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.vsl__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl__poster { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.vsl__poster img { height: 96%; width: auto; max-width: none; object-fit: contain; }
.vsl__play {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--purple); color: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(111, 0, 255, .25);
  transition: transform .2s;
}
.vsl__play:hover { transform: scale(1.06); }
.vsl__play svg { width: 34px; height: 34px; margin-left: 5px; }

/* Vídeo de Wake Up (portada estática hasta que exista el archivo) */
.event-video { margin: clamp(32px, 5vw, 48px) auto 0; max-width: 900px; }
.event-video__frame {
  position: relative; width: 100%; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 120% at 70% 0%, #2c1066 0%, #120a26 45%, var(--ink) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.event-video__frame video, .event-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.event-video__cover { position: absolute; inset: 0; display: grid; place-items: center; }
.event-video__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-video__brand { position: relative; text-align: center; display: grid; gap: 10px; padding: 24px; }
.event-video__brand { gap: 20px; }
.event-video__sub { color: var(--purple-300); font-weight: 700; font-size: clamp(.8rem, 1.6vw, 1rem); letter-spacing: .16em; text-transform: uppercase; }
.event-video__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.event-video__chips span { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--white); font-weight: 600; font-size: clamp(.85rem, 1.6vw, 1.05rem); }
/* Móvil: la portada es 16:9 con overflow oculto; se compacta para que no se corten las píldoras (320 px incluido). */
@media (max-width: 480px) {
  .event-video__brand { gap: 10px; padding: 12px; }
  .event-video__sub { font-size: .74rem; line-height: 1.45; }
  .event-video__chips { gap: 6px; }
  .event-video__chips span { padding: 5px 10px; font-size: .76rem; line-height: 1.35; }
}
.event-video__cover.has-poster .event-video__brand { display: none; }
.event-video__cover .vsl__play { z-index: 1; }

/* Bloques "Lo que obtienes" (estilo workshop) */
.torn {
  background: #1d1d22; color: var(--white); text-align: center; padding: clamp(26px, 4vw, 40px) var(--gutter);
  clip-path: polygon(0 6%, 4% 0, 9% 5%, 15% 1%, 22% 6%, 30% 0, 38% 5%, 46% 1%, 55% 6%, 63% 0, 71% 5%, 80% 1%, 88% 6%, 95% 0, 100% 5%, 100% 95%, 96% 100%, 90% 94%, 82% 99%, 74% 94%, 66% 100%, 58% 95%, 49% 100%, 41% 94%, 33% 99%, 25% 94%, 17% 100%, 9% 95%, 3% 100%, 0 94%);
}
.torn h2 { color: var(--white); font-size: clamp(1.4rem, 3.4vw, 2.4rem); }
.torn u { text-decoration-thickness: 3px; text-underline-offset: 6px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: clamp(36px, 5vw, 56px); }
.pillar { text-align: center; }
.pillar__title { font-size: clamp(1.05rem, 1.7vw, 1.25rem); margin-bottom: 16px; }
.pillar .slot { border-radius: 16px; margin-bottom: 18px; }
.pillar p { color: #3a3a44; }
.pillar p strong { color: var(--ink); }
.on-dark .pillar p { color: #c9c9d6; }
.on-dark .pillar p strong { color: var(--white); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 44px; } }

/* Dos columnas */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.split .h2 + p, .split .h2 + .lead { margin-top: 18px; }
/* En media columna el título dispone de la mitad del ancho: escala propia para que quepa la palabra más larga. */
.split .h2 { font-size: clamp(1.5rem, 3.1vw, 2.6rem); }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Tarjetas de módulos/cifras del MRI */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.tile__num { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--purple); line-height: 1; }
.tile__label { margin-top: 10px; font-weight: 700; color: var(--ink); }
.tile__text { margin-top: 4px; font-size: .95rem; color: var(--muted); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } }

/* Equipo (estilo "Leadership team") */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: clamp(32px, 6vw, 80px); }
.member {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: inherit; text-decoration: none; border-radius: 8px;
}
.member:focus-visible { outline: 3px solid var(--purple); outline-offset: 8px; }
.member__photo {
  position: relative; display: block; width: 100%; border: 6px solid var(--ink); background: #dcdce2; aspect-ratio: 1; overflow: hidden;
}
.member__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--purple); z-index: 1; }
.member__photo img { position: absolute; max-width: none; filter: grayscale(1) contrast(1.05); transition: filter .3s, transform .4s; }
/* Clever: figura recortada (PNG sin fondo). Se reduce y baja para dejar aire sobre el cabello. */
.member__photo--figura img { left: 50%; bottom: 0; height: 90%; width: auto; transform: translateX(-50%); transform-origin: 50% 100%; }
/* Edwin: retrato con fondo negro. Se muestra completo (alto del marco) sobre negro, con aire sobre el cabello
   similar al de Clever; un recorte cuadrado lo ampliaría demasiado frente a la figura de medio cuerpo. */
.member__photo--retrato { background: #080808; }
.member__photo--retrato img { left: 50%; top: 0; height: 100%; width: auto; transform: translateX(-50%); }
.member__photo--retrato img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.member:hover .member__photo img, .member:focus-visible .member__photo img { filter: none; }
.member:hover .member__photo--figura img { transform: translateX(-50%) scale(1.02); }
.member:hover .member__photo--retrato img { transform: translateX(-50%) scale(1.02); }
.member__name { margin-top: 18px; color: var(--purple); font-size: 1.3rem; text-transform: uppercase; }
.member__role { display: block; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-top: 4px; }
.member__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .92rem; font-weight: 600; color: var(--purple-700); text-decoration: underline; text-underline-offset: 4px; }
.member__more svg { width: 15px; height: 15px; transition: transform .2s; }
.member:hover .member__more svg { transform: translateX(3px); }
.on-dark .member__role { color: var(--white); }
@media (max-width: 640px) { .team { grid-template-columns: minmax(0, 300px); } }


/* Páginas de biografía */
.bio { padding-top: clamp(40px, 6vw, 72px); }
.bio__back { color: var(--purple-700); text-decoration: none; }
.bio__back:hover { text-decoration: underline; }
.bio__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: clamp(24px, 4vw, 40px); }
.bio__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--gray-bg); border-bottom: 10px solid var(--purple); }
.bio__photo img { position: absolute; max-width: none; }
.bio__photo--figura { background: linear-gradient(180deg, #ececf1 0%, #dcdce2 100%); }
.bio__photo--figura img { left: 50%; bottom: 0; height: 92%; width: auto; transform: translateX(-50%); }
.bio__photo--retrato { background: #050505; }
.bio__photo--retrato img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.bio__name { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; }
.bio__role { margin: 10px 0 26px; color: var(--purple); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.bio__body > p:not(.bio__role) { font-size: 1.08rem; color: #33333d; max-width: 640px; }
.bio__body > p + p { margin-top: 14px; }
.bio__focus-title { margin-top: 36px; font-size: 1.2rem; text-transform: uppercase; }
.bio__body .checks { margin-top: 16px; }
.bio__actions { margin-top: 36px; }
@media (max-width: 860px) {
  .bio__grid { grid-template-columns: 1fr; }
  .bio__photo { max-width: 420px; width: 100%; margin: 0 auto; }
  .bio__body { text-align: left; }
  .bio__actions .btn { width: 100%; }
}

/* Tarjetas de opción (invierte, cursos) */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--purple-300); }
.card h3 { font-size: 1.4rem; text-transform: uppercase; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; color: var(--purple-700); }
@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }

/* ---------- Formularios ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
}
.form-card--flush { box-shadow: none; }
.form-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 400; color: var(--ink); line-height: 1.2; }
.form-title strong { font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .req { color: var(--purple); }
.field .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 13px 16px; border: 1.5px solid #c9c9d4; border-radius: 10px; background: var(--white);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b10' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: #9d9daa; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(111, 0, 255, .16); }
[aria-invalid="true"].input, [aria-invalid="true"].select, [aria-invalid="true"].textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: grid; gap: 12px; margin-top: 4px; }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .choices--2 { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 14px 18px; border: 1.5px solid #c9c9d4; border-radius: 10px;
  font-weight: 600; color: var(--ink); background: var(--white); transition: border-color .15s, background-color .15s;
}
.choice span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9d9daa; flex: none; transition: border .15s, background .15s; }
.choice input:checked + span { border-color: var(--purple); background: var(--purple-50); }
.choice input:checked + span::before { border: 6px solid var(--purple); }
.choice input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }
.choice:hover span { border-color: #9d9daa; }
.fieldset-invalid .choice span { border-color: var(--error); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--purple); cursor: pointer; }
.consent a { color: var(--purple-700); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.form-actions .btn { flex: 1 1 200px; }
.form-alert { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form-alert--error { background: #fdecea; color: #8a1309; border: 1px solid #f5c2bd; }
.form-alert--ok { background: #e8f6ee; color: #0b5a2e; border: 1px solid #b9e2c8; }

/* Formulario por pasos */
.stepper { max-width: 720px; margin: 0 auto; }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .28s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step__count { font-size: .9rem; font-weight: 600; color: var(--muted); }
.step__nav { display: flex; gap: 12px; margin-top: 28px; }
.step__nav .btn--primary { flex: 1; }
.btn-back { min-height: 52px; padding: 12px 20px; border: 1.5px solid #c9c9d4; border-radius: 999px; background: var(--white); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn-back:hover { border-color: var(--ink); }
.btn-back svg { width: 18px; height: 18px; }

/* Resultado de la hoja de ruta */
.roadmap { counter-reset: rm; display: grid; gap: 18px; margin-top: 28px; }
.roadmap__item { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.roadmap__num { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 800; font-size: 1.4rem; }
.roadmap__item h3 { font-size: 1.2rem; }
.roadmap__item p { margin-top: 8px; color: #3a3a44; }
.roadmap__item .link-arrow { margin-top: 12px; color: var(--purple-700); }
.roadmap__why { font-size: .9rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 520px) { .roadmap__item { grid-template-columns: 1fr; } }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Footer */
.footer { background: var(--purple); color: var(--white); padding: clamp(56px, 7vw, 80px) 0 32px; }
.footer .logo { font-size: clamp(1.15rem, 5vw, 1.5rem); white-space: normal; }
.footer .logo span { color: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__about { margin-top: 16px; color: rgba(255,255,255,.88); max-width: 340px; font-size: .95rem; }
.footer h2 { color: var(--white); font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.18); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); display: grid; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.88); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Páginas legales y texto largo */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.prose p, .prose li { color: #33333d; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.prose a { color: var(--purple-700); }
.note { padding: 14px 18px; border-left: 4px solid var(--purple); background: var(--purple-50); border-radius: 8px; color: #33333d; font-size: .95rem; }

/* Detalles del evento */
.event-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; list-style: none; }
.event-facts li { padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--white); font-weight: 600; }

/* Galería simple */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery > :first-child { grid-column: 1 / -1; } }

/* Aviso de cookies/analítica */
.consent-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto;
  background: var(--ink); color: var(--white); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .93rem;
}
.consent-bar p { flex: 1 1 280px; }
.consent-bar a { color: var(--purple-300); }
.consent-bar .btn { min-height: 44px; padding: 10px 20px; }

/* Animación discreta */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .step.is-active { animation: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Impresión de la hoja de ruta */
@media print {
  .strip, .nav, .footer, .result-actions, .no-print { display: none !important; }
  body { color: #000; }
  .roadmap__item { box-shadow: none; break-inside: avoid; }
}
