/* =========================================================
   Brochure interactivo BURS Advisory — estilos compartidos
   ---------------------------------------------------------
   Los colores viven en DOS LÍNEAS GRÁFICAS (ver LINEAS_GRAFICAS.md en la carpeta del proyecto):

   1) Línea "BURS X2" (verde sobre blanco) ..... la que se usa por defecto (Programa Enero 2027)
   2) Línea "Método Burs" (petróleo y menta) ... se activa poniendo  <html data-linea="metodo-burs">
                                                 en index.html (Programa Diciembre 2026 y anteriores)

   Para una línea nueva: copia uno de los dos bloques, cámbiale el nombre y los valores.
   El resto del archivo solo usa estas variables, así que no hace falta tocarlo.
   ========================================================= */

/* ---------- LÍNEA BURS X2 · verde neón sobre blanco (por defecto) ----------
   Igual que el PDF: todo en blanco con brillos verdes. Las variables "night"/"on-dark" conservan su nombre
   (en la línea Método Burs son las superficies oscuras), pero aquí son superficies BLANCAS con texto verde profundo. */
:root {
  /* Paleta */
  --night: #FFFFFF;          /* superficies principales (portada, encabezados de capítulo, plan Master): blanco */
  --night-card: #FFFFFF;     /* placas sobre esas superficies */
  --night-step: #EEF9E8;     /* columnas de la escalera */
  --petrol: #16370A;         /* texto y botones oscuros (verde profundo) */
  --mint-title: #38A11A;     /* títulos sobre fondo claro */
  --mint-name: #25790F;      /* nombres y etiquetas pequeñas */
  --mint: #2F9414;           /* íconos y etiquetas */
  --glow: #38A11A;           /* títulos destacados y rellenos verdes */
  --on-glow: #FFFFFF;        /* texto sobre rellenos verdes */
  --mint-soft: #E6F7DD;      /* tarjetas */
  --paper: #F5FCF2;          /* fondos claros (secciones alternas) */
  --photo: #BFE9A8;          /* fondo de fotos */
  --orange: #F39A3D;         /* acento: Nivel 5-7 (Impulso Burs) */
  --orange-soft: #C2650F;    /* títulos en naranja */
  --ribbon: #E0302A;         /* cintas "La más elegida", "Acceso directo" (rojo en el PDF) */
  --on-ribbon: #FFFFFF;

  /* Botón principal (verde del PDF con texto verde profundo) */
  --btn-bg: #5CD032;
  --btn-ink: #16370A;
  --btn-bg-hover: #6FDC45;

  /* Texto y líneas */
  --ink: #16370A;
  --ink-soft: #4F6347;
  --ink-muted: #5F7357;
  --ink-quote: #2C4A22;
  --ink-on-glow: #F2FBEE;
  --on-dark: #16370A;        /* texto sobre las superficies principales */
  --on-dark-soft: #4F6347;
  --on-dark-strong: #16370A; /* títulos y cifras sobre las superficies principales */
  --exclusive-bg: #FFFFFF;   /* caja "Beneficios exclusivos" (blanca con borde verde, como el PDF) */
  --exclusive-line: #9FDC80;
  --on-orange: #1A0E02;
  --orange-ink: #A9530A;
  --line: #D6EDCB;
  --line-strong: #C6E4B6;
  --logo-plate: #FFFFFF;     /* placa detrás de logos de beneficios */

  /* Estados y brillos */
  --glow-hover: #2F9414;
  --petrol-hover: #22500F;
  --floor-glow: #CFF2BC;     /* brillo verde al pie de las superficies (como el PDF) */
  /* Bordes suaves entre secciones: el brillo verde y las secciones verde claro se difuminan hacia el blanco */
  --edge-fade: linear-gradient(to bottom, rgb(var(--night-rgb) / 0) calc(100% - 200px), var(--night) 100%);
  --fade-top: linear-gradient(to bottom, var(--night) 0, rgb(var(--paper-rgb) / 0) 160px);
  --fade-bottom: linear-gradient(to top, var(--night) 0, rgb(var(--paper-rgb) / 0) 160px);
  --nav-line: transparent;
  --step-active: #DDF5D0;
  --accent-active: #FDEBD8;
  --mentor-1: #8FE866;       /* fondo de las fotos de mentores (verde del PDF) */
  --mentor-2: #5CD032;
  --mentor-3: #3FAE20;
  --mentor-4: #2A8A12;

  /* Los mismos colores en formato "R G B" para transparencias */
  --glow-rgb: 56 161 26;
  --mint-rgb: 92 208 50;
  --orange-rgb: 243 154 61;
  --night-rgb: 255 255 255;
  --petrol-rgb: 22 55 10;
  --paper-rgb: 245 252 242;
  --veil-rgb: 56 161 26;     /* velos sobre superficies (verde suave) */
  --halo-a-rgb: 220 255 200;
  --halo-b-rgb: 140 230 100;
  --halo-c-rgb: 56 161 26;
}

/* ---------- LÍNEA MÉTODO BURS · petróleo y menta (respaldo) ---------- */
:root[data-linea="metodo-burs"] {
  --night: #061518;
  --night-card: #0B2326;
  --night-step: #0A2125;
  --petrol: #0E3A50;
  --mint-title: #369A85;
  --mint-name: #2E8C7A;
  --mint: #65C3B0;
  --glow: #A8F3E9;
  --mint-soft: #E3F3EF;
  --paper: #F6FBFA;
  --photo: #9FCFC6;
  --orange: #F08A24;
  --orange-soft: #FFC58C;
  --ribbon: #F08A24;
  --on-ribbon: #1A0E02;
  --on-glow: #061518;
  --btn-bg: #A8F3E9;
  --btn-ink: #061518;
  --btn-bg-hover: #C3F7EF;
  --logo-plate: rgba(0, 0, 0, .28);
  --veil-rgb: 255 255 255;

  --ink: #0E3A50;
  --ink-soft: #4E6A72;
  --ink-muted: #6B8790;
  --ink-quote: #23485A;
  --ink-on-glow: #1F4A4A;
  --on-dark: #E9F4F2;
  --on-dark-soft: #9DBFBA;
  --on-dark-strong: #FFFFFF;
  --exclusive-bg: #0E3A50;
  --exclusive-line: transparent;
  --on-orange: #1A0E02;
  --orange-ink: #B4600F;
  --line: #D5EAE5;
  --line-strong: #CDE6E0;

  --glow-hover: #C3F7EF;
  --petrol-hover: #164d68;
  --floor-glow: #0F4540;
  --edge-fade: linear-gradient(transparent, transparent);
  --fade-top: none;
  --fade-bottom: none;
  --nav-line: rgb(var(--glow-rgb) / .08);
  --step-active: #0E3A3A;
  --accent-active: #2A1A0A;
  --mentor-1: #129C95;
  --mentor-2: #0A6663;
  --mentor-3: #063336;
  --mentor-4: #031719;

  --glow-rgb: 168 243 233;
  --mint-rgb: 101 195 176;
  --orange-rgb: 240 138 36;
  --night-rgb: 6 21 24;
  --petrol-rgb: 14 58 80;
  --paper-rgb: 246 251 250;
  --halo-a-rgb: 120 236 224;
  --halo-b-rgb: 64 214 200;
  --halo-c-rgb: 60 200 188;
}

/* ---------- Comunes a todas las líneas ---------- */
:root {
  --line-dark: rgb(var(--glow-rgb) / .16);

  /* Tipografía */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Ritmo */
  --gutter: clamp(16px, 4.5vw, 48px);
  --radius: 24px;
  --radius-lg: 28px;
  --radius-sm: 16px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22, .72, .2, 1);
  --bar-h: 64px;

  --floor: var(--edge-fade), radial-gradient(ellipse 90% 45% at 50% 108%, var(--floor-glow) 0%, rgb(var(--night-rgb) / 0) 70%), var(--night);
  --focus: 0 0 0 3px var(--night), 0 0 0 5px var(--glow);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }

body {
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden; /* cada vista tiene su propio scroll */
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; box-shadow: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.noscript { position: fixed; inset: auto 16px 16px; padding: 16px; border-radius: 12px; background: #fff; color: var(--ink); text-align: center; }

/* Un solo estilo de ícono */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-circle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  color: var(--mint-title);
}
.ico-circle .ico { width: 21px; height: 21px; }

/* ---------- Vistas ---------- */
.view {
  position: fixed;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--night);
}
.view--light { background: var(--paper); }
.view.is-leaving { pointer-events: none; }
.view.is-top { z-index: 2; box-shadow: 0 0 60px rgba(0, 0, 0, .3); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .ico { width: 18px; height: 18px; stroke-width: 2; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn--primary:hover { background: var(--btn-bg-hover); }
.btn--ghost { background: transparent; border-color: rgb(var(--glow-rgb) / .4); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--glow); background: rgb(var(--glow-rgb) / .06); }
.btn--dark { background: var(--petrol); color: #fff; }
.btn--dark:hover { background: var(--petrol-hover); }
.btn--outline { background: transparent; border-color: var(--petrol); color: var(--petrol); }
.btn--outline:hover { background: var(--mint-soft); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s;
}

/* ---------- Títulos en dos niveles (como el brochure) ---------- */
.hs { display: flex; flex-direction: column; }
.hs__eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint);
}
.hs__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.hs__line { display: block; font-weight: 400; font-size: clamp(19px, 4.6vw, 28px); color: var(--petrol); }
.hs__bold { display: block; font-weight: 700; font-size: clamp(30px, 7.4vw, 52px); color: var(--mint-title); }
.hs__tail { display: block; margin-top: 8px; font-weight: 400; font-size: clamp(15px, 3.4vw, 20px); letter-spacing: .16em; color: var(--ink-soft); }
.hs__sub {
  margin-top: 16px;
  max-width: 56ch;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hs__sub strong { color: var(--mint-name); font-weight: 600; }
.hs--center { align-items: center; text-align: center; }
.hs--center .hs__sub { margin-left: auto; margin-right: auto; }

.is-dark .hs__line { color: var(--on-dark); }
.is-dark .hs__bold { color: var(--glow); }
.is-dark .hs__tail { color: var(--on-dark-soft); }
.is-dark .hs__sub { color: var(--on-dark-soft); }
.is-dark .hs__sub strong { color: var(--on-dark); }

.label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint-name);
}
.is-dark .label { color: var(--mint); }

/* =========================================================
   PANTALLA 1 · PORTADA
   ========================================================= */
.view--home {
  color: var(--on-dark);
  background: radial-gradient(ellipse 80% 55% at 72% 105%, var(--floor-glow) 0%, rgb(var(--night-rgb) / 0) 70%), var(--night);
}
.home {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "top" "hero" "cta";
  gap: 24px;
  padding: max(24px, env(safe-area-inset-top)) var(--gutter) max(28px, env(safe-area-inset-bottom));
  max-width: var(--maxw);
  margin: 0 auto;
}
.home__top { grid-area: top; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home__logo { width: clamp(118px, 30vw, 150px); height: auto; }
.home__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgb(var(--orange-rgb) / .55);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-soft);
  white-space: nowrap;
}
.home__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
.home__badge-long { display: none; }
@media (min-width: 640px) {
  .home__badge { padding: 9px 18px; font-size: 12px; letter-spacing: .14em; gap: 10px; }
  .home__badge-long { display: inline; }
  .home__badge-short { display: none; }
}

.home__hero {
  grid-area: hero;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}
.hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.02em;
}
.hero-title__thin { display: block; font-weight: 400; font-size: clamp(40px, 10.5vw, 64px); color: var(--on-dark); }
.hero-title__row { display: flex; align-items: baseline; gap: .18em; }
.hero-title__bold { font-weight: 700; font-size: clamp(68px, 17.5vw, 112px); color: var(--glow); }
.hero-title__version { font-weight: 400; font-size: clamp(40px, 10.5vw, 64px); color: var(--mint); }
.hero-sub { max-width: 30ch; font-size: clamp(17px, 4.3vw, 20px); line-height: 1.5; color: var(--on-dark-soft); }

/* Escalera de niveles (portada y "Tu camino"): línea fina, sin halo */
.stairs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: clamp(8px, 1.4vw, 14px);
  height: clamp(190px, 34vh, 340px);
}
.step {
  position: relative;
  height: calc(var(--h) * 1%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px 16px;
  border: 1px solid rgb(var(--mint-rgb) / .55);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--night-step);
  color: var(--on-dark-soft);
  text-align: center;
}
.step::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 2px;
  height: clamp(14px, 2.6vh, 20px);
  transform: translateX(-50%);
  background: var(--mint);
}
.step__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 4.2vw, 22px); color: var(--on-dark); }
.step__label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; }
.stairs:not(.stairs--levels) .step__label { display: none; }
.step:last-child { border-color: var(--glow); background: var(--step-active); box-shadow: 0 0 60px -10px rgb(var(--mint-rgb) / .45); }
.step:last-child::after { background: var(--glow); }
.step:last-child .step__num, .step:last-child .step__label { color: var(--glow); }
.stairs:not(.stairs--levels) .step:last-child .step__num { font-weight: 700; }

/* La escalera se enciende de la 1 a la 5, suave, sin parpadeo */
.stairs--animate .step { animation: rise 700ms var(--ease) both; animation-delay: calc(200ms + var(--i) * 110ms); }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.home__cta { grid-area: cta; display: grid; gap: 10px; }
.home__cta .btn { width: 100%; }

@media (min-width: 560px) and (max-width: 959px) {
  .home__cta { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .stairs:not(.stairs--levels) .step__label { display: block; }
  .home {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto auto 1fr;
    grid-template-areas: "top top" ". stairs" "title stairs" "sub stairs" "cta stairs" ". stairs";
    column-gap: 72px;
    row-gap: 28px;
    padding-top: 40px;
    padding-bottom: 64px;
  }
  .home__hero { display: contents; }
  .hero-title { grid-area: title; }
  .hero-sub { grid-area: sub; }
  .home__stairs { grid-area: stairs; align-self: center; }
  .home__stairs .stairs { height: min(52vh, 440px); }
  .home__cta { grid-template-columns: auto auto; justify-content: start; margin-top: 12px; }
  .home__cta .btn { width: auto; padding: 0 30px; min-height: 56px; font-size: 16px; white-space: nowrap; }
}
@media (max-height: 600px) and (max-width: 959px) {
  .stairs { height: 160px; }
}

/* =========================================================
   Barra superior
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(var(--paper-rgb) / .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.topbar__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--bar-h);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gutter) 10px calc(var(--gutter) - 10px);
}
.topbar .icon-btn { color: var(--petrol); }
.topbar .icon-btn:hover { background: rgb(var(--petrol-rgb) / .06); }
.topbar__title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  color: var(--petrol);
}
.topbar__kicker { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-name); }
.topbar__logo { margin-left: auto; width: 100px; height: auto; flex: none; }

.topbar--dark { background: var(--night); border-bottom-color: rgb(var(--glow-rgb) / .12); }
.topbar--dark .icon-btn { color: var(--on-dark); }
.topbar--dark .icon-btn:hover { background: rgb(var(--veil-rgb) / .06); }
.topbar--dark .topbar__title { color: var(--on-dark); }
.topbar--dark .topbar__kicker { color: var(--mint); }

.progress { display: flex; gap: 4px; margin-left: auto; padding-left: 8px; }
.progress span { width: 18px; height: 3px; border-radius: 2px; background: rgb(var(--glow-rgb) / .2); }
.progress span.is-on { background: var(--glow); }
.progress + .topbar__logo { margin-left: 16px; }

@media (max-width: 479px) {
  .topbar__logo { display: none; }
  .progress span { width: 11px; }
}

/* =========================================================
   PANTALLA 2 · BENEFICIOS
   ========================================================= */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) var(--gutter) max(56px, env(safe-area-inset-bottom));
}
.seminar-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
@media (min-width: 640px) { .seminar-grid { grid-template-columns: 1fr 1fr; } }

.seminar-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--night-card);
  color: var(--on-dark);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s var(--ease);
}
.seminar-card:hover { transform: translateY(-2px); }
.seminar-card:focus-visible { border-radius: var(--radius); }
.seminar-card.is-hidden { visibility: hidden; }
.seminar-card__logo { display: grid; place-items: center; height: clamp(150px, 36vw, 190px); padding: 0 24px; }
.seminar-card__logo img { height: 84px; width: auto; max-width: 70%; object-fit: contain; }
/* El logo de Nasdaq es casi cuadrado: necesita más alto para verse del mismo tamaño que los demás */
.seminar-card__logo img[data-shape="square"] { height: 138px; }
.seminar-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid rgb(var(--glow-rgb) / .12);
}
.seminar-card__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.seminar-card__more { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgb(var(--glow-rgb) / .1); color: var(--glow); }
.seminar-card__more .ico { width: 16px; height: 16px; stroke-width: 2; }
.page-foot { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  overflow: hidden;
}
.modal::backdrop { background: transparent; }
.modal[open] { display: grid; place-items: center; }
.modal__scrim { position: absolute; inset: 0; background: rgb(var(--night-rgb) / .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__panel {
  --mp: clamp(22px, 5vw, 40px);
  position: relative;
  width: min(560px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  margin: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: var(--night);
  transform-origin: 0 0;
}
@media (max-width: 559px) { .modal__panel { width: calc(100% - 20px); max-height: calc(100% - 20px); } }
.modal__x {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px -58px 0;
  z-index: 2;
  color: var(--on-dark);
  background: rgb(var(--veil-rgb) / .06);
}
.modal__x:hover { background: rgb(var(--veil-rgb) / .12); }
.modal__x .ico { width: 20px; height: 20px; }
.modal__body { padding: 0 var(--mp) 36px; }
.modal__logo {
  display: grid;
  place-items: center;
  height: 200px;
  margin: 0 calc(var(--mp) * -1) 32px;
  background: var(--night-card);
  border-bottom: 1px solid rgb(var(--glow-rgb) / .12);
}
.modal__logo img { height: 96px; width: auto; max-width: 70%; object-fit: contain; }
.modal__logo img[data-shape="square"] { height: 150px; }
.modal__tag { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: 6px; }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 6vw, 30px); line-height: 1.15; color: var(--glow); }
.modal__desc { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--on-dark-soft); }
.modal__learn-title { margin-top: 26px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.modal__actions { margin-top: 30px; display: flex; }
.modal__actions .btn { width: 100%; }

.check-list { margin-top: 14px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; }
.check-list .ico {
  width: 26px; height: 26px; padding: 6px;
  border-radius: 50%;
  background: rgb(var(--glow-rgb) / .12);
  stroke: var(--glow); stroke-width: 2.4;
}

/* =========================================================
   PANTALLA 3 · MÉTODO (índice)
   ========================================================= */
.view--hub { background: var(--floor); color: var(--on-dark); }
.hub { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vw, 64px) var(--gutter) max(64px, env(safe-area-inset-bottom)); }

.chapters { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
@media (min-width: 640px) {
  .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .chapters > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .chapters { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .chapters > li, .chapters > li:last-child:nth-child(odd) { grid-column: span 2; }
  .chapters > li:nth-child(-n+2) { grid-column: span 3; }
}

.chapter-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 196px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgb(var(--veil-rgb) / .035);
  color: var(--on-dark);
  text-align: left;
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s;
}
.chapter-card:hover { transform: translateY(-2px); border-color: rgb(var(--glow-rgb) / .35); }
.chapter-card:focus-visible { border-radius: var(--radius); }
.chapter-card__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgb(var(--glow-rgb) / .4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--glow);
}
.chapter-card__kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.chapter-card__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 5vw, 26px); line-height: 1.15; color: var(--on-dark-strong); }
.chapter-card__desc { max-width: 40ch; font-size: 15px; line-height: 1.55; color: var(--on-dark-soft); }
.chapter-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--glow); }
.chapter-card__go .ico { width: 16px; height: 16px; stroke-width: 2; transition: transform .2s; }
.chapter-card:hover .chapter-card__go .ico { transform: translateX(3px); }
/* El capítulo de Inversión se destaca */
.chapters > li:last-child .chapter-card { background: var(--glow); border-color: var(--glow); color: var(--on-glow); }
.chapters > li:last-child .chapter-card__num { background: var(--night); border-color: var(--night); color: var(--glow); }
.chapters > li:last-child .chapter-card__title, .chapters > li:last-child .chapter-card__go { color: var(--night); }
.chapters > li:last-child .chapter-card__desc { color: var(--ink-on-glow); }

/* =========================================================
   Capítulo
   ========================================================= */
.chapter-hero {
  background: var(--edge-fade), radial-gradient(ellipse 80% 70% at 70% 120%, var(--floor-glow) 0%, rgb(var(--night-rgb) / 0) 70%), var(--night);
  color: var(--on-dark);
  padding: clamp(56px, 9vw, 80px) 0 clamp(48px, 8vw, 72px);
}
.chapter-hero .hs__line { color: var(--on-dark-soft); }
.chapter-hero .hs__bold { margin-top: 6px; font-size: clamp(44px, 12vw, 80px); line-height: 1; }
.chapter-hero__desc { margin-top: 18px; max-width: 44ch; font-size: clamp(16px, 2.4vw, 19px); line-height: 1.55; color: var(--on-dark-soft); }
.chapter-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chapter-hero__tags li { padding: 7px 16px; border-radius: 999px; border: 1px solid rgb(var(--glow-rgb) / .25); font-size: 13px; font-weight: 600; }

.wrap { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.csec { --csec-top: none; --csec-bottom: none; padding: clamp(64px, 10vw, 96px) 0; background: var(--csec-top), var(--csec-bottom), var(--paper); color: var(--ink); }
/* Secciones claras: se difuminan hacia el blanco solo donde tocan una superficie blanca (no entre dos secciones claras) */
.csec:not(.is-dark):first-child, .csec.is-dark + .csec:not(.is-dark) { --csec-top: var(--fade-top); }
.csec:not(.is-dark):last-child, .csec:not(.is-dark):has(+ :not(.csec:not(.is-dark))) { --csec-bottom: var(--fade-bottom); }
.csec + .csec:not(.is-dark) { padding-top: 0; }
.csec.is-dark { background: var(--floor); color: var(--on-dark); }
.csec.is-dark + .csec:not(.is-dark) { padding-top: clamp(64px, 10vw, 96px); }
.block { margin-top: clamp(28px, 4.5vw, 44px); }

.split { display: grid; gap: 32px; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.lede { margin-top: 18px; max-width: 46ch; font-size: clamp(17px, 2.4vw, 19px); line-height: 1.6; color: var(--ink-soft); }
.lede strong { color: var(--petrol); font-weight: 600; }

/* Píldoras rellenas y con contorno, alternadas (como el PDF) */
.pills-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin-left: auto; margin-right: auto; }
.pills-row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--mint-soft);
  background: var(--mint-soft);
  font-size: clamp(15px, 2.2vw, 16px);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: var(--petrol);
}
.pills-row li:nth-child(even) { background: transparent; border-color: var(--mint); }
.pills-row--icons li { padding-left: 14px; text-align: left; }
.pills-row--icons .ico { width: 20px; height: 20px; color: var(--mint-title); }

/* ---------- 3.1 El problema ---------- */
.closing-line { margin-top: 36px; text-align: center; font-family: var(--font-display); font-size: clamp(19px, 4vw, 22px); color: var(--petrol); }
.closing-line strong { color: var(--mint-title); }
.quote { max-width: 760px; margin-left: auto; margin-right: auto; padding: clamp(24px, 4vw, 30px); border-radius: var(--radius); background: var(--mint-soft); }
.quote__who, .tcard__who { display: flex; align-items: center; gap: 14px; }
.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--mint-title);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.quote__meta, .tcard__meta { display: flex; flex-direction: column; gap: 2px; }
.quote__name, .tcard__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--mint-name); }
.quote__text, .tcard__text { margin-top: 18px; font-size: 16px; line-height: 1.65; color: var(--ink-quote); text-wrap: pretty; }
.stars { display: inline-flex; gap: 2px; color: var(--mint-title); vertical-align: middle; }
.stars .ico { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* ---------- 3.2 Qué es ---------- */
.pillars { padding: clamp(24px, 4vw, 32px); border-radius: var(--radius-lg); background: var(--mint-soft); }
.pillars__intro { margin-bottom: 8px; font-size: 17px; }
.pillars__intro strong { font-family: var(--font-display); font-weight: 700; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; }
.pillars li + li { border-top: 1px solid var(--line-strong); }
.pillars__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--mint-name); }
.pillars__text { display: block; font-size: 15px; color: var(--ink-soft); }

/* ---------- 3.3 Los 5 pasos ---------- */
.stepper { --n: 5; --p: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.stepper::before, .stepper::after { content: ""; position: absolute; top: 25px; left: calc(50% / var(--n)); height: 1px; }
.stepper::before { right: calc(50% / var(--n)); background: rgb(var(--glow-rgb) / .2); }
.stepper::after { width: calc((100% - 100% / var(--n)) * var(--p) / (var(--n) - 1)); background: var(--glow); transition: width .45s var(--ease); }
.stepper__btn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 2px 6px;
  border: 0;
  background: none;
  color: var(--on-dark-soft);
  cursor: pointer;
}
.stepper__dot {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgb(var(--glow-rgb) / .3);
  background: var(--night);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--on-dark-soft);
  transition: background-color .3s, border-color .3s, color .3s;
}
.stepper__name { font-family: var(--font-display); font-weight: 600; font-size: 14px; transition: color .3s; }
.stepper__btn.is-done .stepper__dot { border-color: var(--glow); color: var(--glow); }
.stepper__btn[aria-selected="true"] { color: var(--on-dark-strong); }
.stepper__btn[aria-selected="true"] .stepper__dot { background: var(--glow); border-color: var(--glow); color: var(--on-glow); font-weight: 700; }
.stepper__btn:focus-visible { border-radius: 16px; }
@media (max-width: 559px) {
  .stepper__dot { width: 44px; height: 44px; font-size: 16px; }
  .stepper::before, .stepper::after { top: 22px; }
  .stepper__name { font-size: 11px; }
}

.detail {
  position: relative;
  display: block;
  margin-top: 32px;
  padding: clamp(24px, 4vw, 32px) clamp(22px, 4vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgb(var(--veil-rgb) / .04);
}
.detail > :not(.detail__logo) { min-width: 0; }
.detail__kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.detail__title { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 6vw, 34px); line-height: 1.1; color: var(--glow); }
.detail__text { margin-top: 8px; max-width: 54ch; font-size: clamp(16px, 2.4vw, 18px); line-height: 1.55; color: var(--on-dark); }
.detail__text strong { color: var(--glow); font-weight: 600; }
.detail.has-logo { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: center; }
.detail.has-logo > :not(.detail__logo) { grid-column: 1; }
.detail__logo { grid-column: 2; grid-row: 1 / span 3; width: clamp(72px, 16vw, 120px); height: auto; }
.detail.is-accent { border-color: rgb(var(--orange-rgb) / .4); }
.detail.is-accent .detail__kicker, .detail.is-accent .detail__title { color: var(--orange-soft); }

/* ---------- 3.5 Niveles (escalera interactiva) ---------- */
.stairs--levels { height: clamp(230px, 40vh, 340px); margin-top: 8px; }
.stairs--levels .step { cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.stairs--levels .step::after { background: rgb(var(--mint-rgb) / .5); }
.stairs--levels .step:last-child { box-shadow: none; background: var(--night-step); border-color: rgb(var(--mint-rgb) / .5); }
.stairs--levels .step .step__num { color: inherit; font-weight: 700; }
.stairs--levels .step .step__label { font-size: clamp(8px, 2.3vw, 12px); letter-spacing: .06em; color: inherit; }
.stairs--levels .step:hover { border-color: rgb(var(--glow-rgb) / .8); }
.stairs--levels .step[aria-selected="true"] { background: var(--step-active); border-color: var(--glow); color: var(--glow); }
.stairs--levels .step[aria-selected="true"]::after { background: var(--glow); }
.stairs--levels .step.is-accent { border-color: var(--orange); color: var(--orange-soft); }
.stairs--levels .step.is-accent::after { background: var(--orange); }
.stairs--levels .step.is-accent[aria-selected="true"] { background: var(--accent-active); }
.stairs--levels .step:focus-visible { border-radius: 12px 12px 0 0; }
.stairs--levels + .detail { margin-top: 0; border-radius: 0 0 var(--radius) var(--radius); }

/* ---------- Pestañas (3.6 Etapas) ---------- */
.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 560px;
  padding: 4px;
  border-radius: 999px;
  background: var(--mint-soft);
}
.tabs__ind {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 6px);
  border-radius: 999px;
  background: var(--petrol);
  transition: transform .4s var(--ease);
}
.tabs[data-active="1"] .tabs__ind { transform: translateX(calc(100% + 4px)); }
.tabs__btn {
  position: relative;
  z-index: 1;
  min-height: 48px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(13px, 3.4vw, 15px);
  line-height: 1.2;
  color: var(--petrol);
  cursor: pointer;
  transition: color .3s;
}
.tabs__btn[aria-selected="true"] { color: #fff; }
.stage__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(23px, 5vw, 30px); line-height: 1.15; color: var(--petrol); }
.stage__intro { margin-top: 8px; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

/* Tarjetas con ícono que flota sobre el borde superior (etapas y "trabajamos al trader") */
.float-cards { display: grid; gap: 44px; margin-top: 52px; }
@media (min-width: 720px) { .float-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 900px) { .float-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.csec--trader .float-cards { margin-top: 64px; }
.float-card {
  position: relative;
  padding: 44px clamp(22px, 4vw, 32px) 32px;
  border-radius: var(--radius);
  background: var(--mint-soft);
  border: 1px solid var(--mint-soft);
  text-align: center;
}
.float-card .ico-circle { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border: 1px solid var(--line); }
.float-card--outline { background: #fff; border-color: var(--mint); }
.float-card--outline .ico-circle { background: var(--mint-soft); border-color: var(--mint-soft); color: var(--petrol); }
.float-card__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 4.4vw, 24px); color: var(--mint-name); }
.float-card__text { margin: 10px auto 0; max-width: 38ch; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

.result { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; text-align: center; }
.result__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--mint-title);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.result__badge .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.result p { max-width: 56ch; font-size: 17px; line-height: 1.55; color: var(--petrol); }

/* ---------- 3.7 Mentores ---------- */
.mentor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 600px) { .mentor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 960px) { .mentor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 16px; } }

.mentor { perspective: 1200px; }
.mentor--lead { grid-column: span 2; }
@media (min-width: 600px) { .mentor--lead { grid-row: span 2; } }

.mentor__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
}
.mentor--lead .mentor__btn { min-height: 340px; }
@media (min-width: 600px) { .mentor__btn { min-height: 270px; } }
.mentor__btn:focus-visible { border-radius: var(--radius); }
.mentor__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.mentor.is-flipped .mentor__inner { transform: rotateY(180deg); }
.mentor__face { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Fondo de estudio: halo turquesa vertical detrás de la persona, oscuro hacia los lados */
.mentor__front {
  background:
    radial-gradient(ellipse 34% 30% at 50% 0%, rgb(var(--halo-a-rgb) / .75) 0%, rgb(var(--halo-a-rgb) / 0) 100%),
    radial-gradient(ellipse 30% 62% at 50% 52%, rgb(var(--halo-b-rgb) / .55) 0%, rgb(var(--halo-b-rgb) / 0) 100%),
    radial-gradient(ellipse 58% 95% at 50% 45%, var(--mentor-1) 0%, var(--mentor-2) 38%, var(--mentor-3) 68%, var(--mentor-4) 100%);
}
/* Resplandor muy tenue y difuso (sin contorno marcado) para integrar la foto con el halo */
.mentor__photo { filter: drop-shadow(0 0 22px rgb(var(--halo-c-rgb) / .22)); }
.mentor__photo {
  position: absolute;
  bottom: 58px;
  left: 50%;
  height: calc(100% - 70px);
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
}
.mentor--lead .mentor__photo { bottom: 76px; height: calc(100% - 92px); }
.mentor__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 11px 14px 12px;
  background: #fff;
  color: var(--petrol);
}
.mentor__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--mint-name); }
.mentor__role { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); }
.mentor--lead .mentor__caption { padding: 18px 24px; }
.mentor--lead .mentor__name { font-size: clamp(20px, 5vw, 26px); }
.mentor--lead .mentor__role { font-size: 12.5px; }
.mentor__flip {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(var(--veil-rgb) / .7);
  color: var(--petrol);
}
.mentor__flip .ico { width: 16px; height: 16px; }
.mentor__back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px;
  background: var(--night-card);
  border: 1px solid rgb(var(--glow-rgb) / .25);
  color: var(--on-dark);
}
.mentor__back .mentor__name { font-size: 18px; color: var(--glow); }
.mentor__back .mentor__role { color: var(--on-dark-soft); }
.mentor__fact { display: flex; flex-direction: column; gap: 6px; }
.mentor__fact-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.mentor__fact-label .ico { width: 14px; height: 14px; }
.mentor__fact-value { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills span { padding: 4px 12px; border-radius: 999px; border: 1px solid rgb(var(--glow-rgb) / .3); font-size: 13px; font-weight: 600; }

.mentor-stat { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--glow); color: var(--on-glow); }
.mentor-stat div { display: flex; flex-direction: column; }
.mentor-stat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 10vw, 48px); line-height: 1; }
.mentor-stat span { font-size: 14px; font-weight: 600; }
.hint { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--on-dark-soft); }
.hint .ico { width: 18px; height: 18px; color: var(--mint); }

/* ---------- 3.9 Horarios ---------- */
.tz { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--mint-soft); font-size: 14px; font-weight: 600; color: var(--petrol); }
.tz .ico { width: 18px; height: 18px; color: var(--mint-title); }
.timeline { display: none; }
.schedule-list { display: grid; gap: 12px; }
@media (min-width: 820px) {
  .timeline { display: block; }
  .schedule-list { display: none; }
}
.timeline__grid {
  display: grid;
  grid-template-columns: 230px repeat(var(--m), minmax(0, 1fr));
  column-gap: 8px;
  row-gap: 12px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.timeline__month { padding-bottom: 10px; border-bottom: 1px solid var(--line); text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-name); }
.timeline__name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--petrol); padding-right: 12px; }
.timeline__bar { display: grid; place-items: center; min-height: 48px; padding: 6px 10px; border-radius: 12px; background: var(--mint-soft); font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--petrol); }
.timeline__bar.is-accent { background: #fff; border: 1.5px solid var(--orange); color: var(--orange-ink); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--petrol); color: var(--glow); font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.month { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.month__title { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-name); }
.month ul { display: grid; gap: 8px; margin-top: 10px; }
.month li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.month li:first-child { border-top: 0; padding-top: 0; }
.month__act { font-weight: 600; color: var(--petrol); }
.month__when { font-size: 14px; color: var(--ink-soft); text-align: right; }
.month li.is-accent .month__act { color: var(--orange-ink); }
.notes { display: grid; gap: 4px; margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.notes b { color: var(--petrol); font-weight: 600; }

/* ---------- 3.10 Qué obtienes ---------- */
.exclusive { padding: 26px 28px; border-radius: var(--radius); background: var(--exclusive-bg); border: 1px solid var(--exclusive-line); color: var(--on-dark-strong); }
.exclusive .label { margin-bottom: 14px; color: var(--glow); }
.exclusive .pills span { padding: 10px 18px; border: 0; background: rgb(var(--veil-rgb) / .08); font-size: 15px; }
.gets { display: flex; flex-direction: column; gap: 10px; }
.gets li { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-radius: 18px; background: var(--mint-soft); font-size: 16px; font-weight: 600; color: var(--petrol); }
.gets .ico-circle { width: 40px; height: 40px; }
.gets .ico-circle .ico { width: 19px; height: 19px; }
.gets__sep { width: 1px; height: 28px; background: var(--photo); flex: none; }

/* ---------- Carruseles (testimonios y planes en celular) ---------- */
.carousel {
  position: relative;
  display: flex;
  gap: 14px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: 0 0 min(86%, 420px); scroll-snap-align: center; }
.dots { display: flex; justify-content: center; margin-top: 6px; }
.dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background-color .3s; }
.dots button[aria-current="true"]::before { width: 22px; background: var(--mint-title); }
@media (min-width: 820px) {
  .carousel--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; }
  .carousel--grid + .dots { display: none; }
  /* Si una tarjeta queda sola en la última fila, va centrada */
  .carousel--grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
.tcard { display: flex; flex-direction: column; padding: clamp(24px, 4vw, 30px); border-radius: var(--radius); background: var(--mint-soft); }
.tcard__role { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); }
.trust { display: flex; justify-content: center; margin-top: 28px; }
.trust span { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--mint); font-size: 14px; font-weight: 600; color: var(--petrol); }

/* ---------- 3.14 Premio: la foto ocupa media pantalla ---------- */
.csec--premio { padding: 0; background: var(--night); }
.award { display: grid; align-items: center; gap: 0 56px; }
.award__text { padding: clamp(56px, 9vw, 72px) 0 40px; }
.award__media { margin: 0 calc(var(--gutter) * -1); }
.award__photo { display: block; width: 100%; height: clamp(420px, 110vw, 560px); object-fit: cover; object-position: center 60%; }
.trophy { width: min(300px, 70%); margin: 0 auto 48px; }
.award__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 16px;
}
.award__meta dt { padding-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.award__meta dd { font-weight: 600; color: var(--on-dark); }
@media (min-width: 820px) {
  .award { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .award__text { padding: 72px 0; }
  .award__media { margin: 0; align-self: stretch; }
  .award__photo { height: 100%; min-height: 620px; max-height: 720px; }
}

/* ---------- 3.12 Inversión ---------- */
.plans > * { flex-basis: min(86%, 380px); }
@media (min-width: 960px) {
  .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; align-items: stretch; }
  .plans + .dots { display: none; }
}
.csec--inversion .block { margin-top: clamp(36px, 5vw, 56px); }
.plan {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.05; text-transform: uppercase; color: var(--mint-title); }
.plan__tagline { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.plan__badge { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--mint-soft); font-size: 12px; font-weight: 600; color: var(--petrol); }
.plan__ribbon { padding: 6px 12px; border-radius: 999px; background: var(--ribbon); color: var(--on-ribbon); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.plan__price-label { font-size: 13px; color: var(--ink-soft); }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 9vw, 44px); line-height: 1.1; color: var(--petrol); }
.plan__cur { font-size: 18px; font-weight: 600; }
.plan__price-note { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--mint-name); }
.plan__text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.plan__list { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--line); gap: 10px; }
.plan__list li { align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan__list .ico { width: 18px; height: 18px; padding: 0; margin-top: 1px; background: none; stroke: var(--mint-title); stroke-width: 2.2; }
.plan__extra { padding: 16px 18px; border-radius: 18px; background: var(--mint-soft); }
.plan__extra .label { margin-bottom: 6px; font-size: 11px; }
.plan__extra-text { font-size: 15px; }
.plan__foot { font-size: 13px; color: var(--ink-soft); }
.plan__cta { margin-top: auto; }
.plan__cta .btn { width: 100%; min-height: 52px; }

.plan--featured {
  background: radial-gradient(ellipse 100% 50% at 50% 110%, var(--floor-glow) 0%, rgb(var(--night-rgb) / 0) 70%), var(--night);
  border-color: var(--night);
  color: var(--on-dark);
}
.plan--featured .plan__name { color: var(--glow); }
.plan--featured .plan__tagline, .plan--featured .plan__price-label, .plan--featured .plan__foot { color: var(--on-dark-soft); }
.plan--featured .plan__price { color: var(--on-dark-strong); }
.plan--featured .plan__price-note { color: var(--orange-soft); }
.plan--featured .plan__list { border-top-color: var(--line-dark); }
.plan--featured .plan__list li { color: var(--on-dark); }
.plan--featured .plan__list .ico { stroke: var(--glow); }
.plan--featured .plan__extra { background: rgb(var(--veil-rgb) / .05); border: 1px solid var(--line-dark); }
.plan--featured .plan__extra .label { color: var(--mint); }

/* ---------- 3.13 Pagos ---------- */
.pay__title { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-name); }
.paylogos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (min-width: 600px) { .paylogos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 900px) { .paylogos { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.paylogos li { aspect-ratio: 8 / 5; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.paylogos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.paylogos__text { display: grid; place-items: center; width: 100%; height: 100%; background: #fff; font-size: 13px; font-weight: 700; text-align: center; color: var(--petrol); }

/* ---------- 3.15 Contacto ---------- */
.csec--contacto .hs__bold { font-size: clamp(30px, 7.4vw, 52px); }
.mine__card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: center;
  padding: clamp(20px, 4vw, 28px);
  border-radius: var(--radius-lg);
  background: rgb(var(--veil-rgb) / .04);
  border: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.mine__photo {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--photo);
  flex: none;
}
.mine__photo img { position: absolute; bottom: 0; left: 50%; height: 96%; width: auto; max-width: none; transform: translateX(-50%); }
.mine__info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.mine__card--empty .mine__info { flex-basis: 100%; }
.ccard__k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.mine__name { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 5.6vw, 30px); line-height: 1.15; color: var(--on-dark-strong); }
.mine__name:focus { outline: none; }
.mine__role { font-size: 15px; color: var(--on-dark-soft); }
.mine__text { margin-top: 10px; max-width: 46ch; color: var(--on-dark-soft); }
.mine__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.mine__change { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--glow); text-underline-offset: 3px; }
.mine__qr { display: none; }
@media (max-width: 559px) { .mine__actions .btn { width: 100%; } }
@media (min-width: 600px) { .mine__photo { width: 200px; height: 220px; } }
@media (min-width: 820px) {
  .mine__qr { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; flex: none; }
  .mine__qr img { width: 156px; height: 156px; padding: 12px; border-radius: 18px; background: #fff; image-rendering: pixelated; }
  .mine__qr figcaption { font-size: 13px; font-weight: 600; color: var(--on-dark-soft); }
}

.contact { display: grid; gap: 12px; }
.csec--contacto .contact.block { margin-top: 16px; }
@media (min-width: 720px) { .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ccard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgb(var(--veil-rgb) / .04);
  border: 1px solid var(--line-dark);
  color: var(--on-dark);
  text-decoration: none;
  transition: border-color .2s;
}
a.ccard:hover { border-color: rgb(var(--glow-rgb) / .4); }
.ccard__ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgb(var(--glow-rgb) / .1); color: var(--glow); }
.ccard__ico .ico { width: 20px; height: 20px; }
.social > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.social .ccard__k { font-size: 12px; letter-spacing: .12em; }
.ccard__v { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Equipo comercial y elegir asesor ---------- */
.view--picker { background: radial-gradient(ellipse 90% 40% at 50% 108%, var(--floor-glow) 0%, rgb(var(--night-rgb) / 0) 70%), var(--night); color: var(--on-dark); }
.picker { max-width: var(--maxw); margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) var(--gutter) max(56px, env(safe-area-inset-bottom)); }
.picker__top { margin-bottom: clamp(36px, 7vw, 56px); }
.picker .hs__line { font-size: clamp(19px, 4.6vw, 28px); }

.adv-grid { --cols: 2; --gap: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.adv-grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
@media (min-width: 560px) { .adv-grid { --cols: 3; --gap: 16px; } }
@media (min-width: 900px) { .adv-grid--pick { --cols: 4; } }
[data-team] { --cols: 3; --gap: 10px; }
@media (min-width: 600px) { [data-team] { --cols: 4; --gap: 12px; } }
@media (min-width: 960px) { [data-team] { --cols: 7; } }

.adv-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 20px;
  background: #fff;
  color: var(--petrol);
  text-align: left;
  overflow: hidden;
}
button.adv-card { cursor: pointer; transition: transform .25s var(--ease), border-color .25s; }
button.adv-card:hover { transform: translateY(-2px); }
.adv-card:focus-visible { border-radius: 20px; }
.adv-card__photo { position: relative; display: block; height: clamp(170px, 44vw, 210px); background: var(--photo); overflow: hidden; }
.adv-card__photo img { position: absolute; bottom: 0; left: 50%; height: 92%; width: auto; max-width: none; transform: translateX(-50%); }
.adv-card__strip { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; background: #fff; }
.adv-card__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(13px, 3.4vw, 15px); line-height: 1.25; color: var(--mint-name); }
.adv-card__role { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--petrol); }
.adv-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--glow);
  color: var(--on-glow);
}
.adv-card__check .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.adv-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--night);
  color: var(--glow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.adv-card[aria-pressed="true"], .adv-card.is-mine { border-color: var(--glow); }
.adv-card[aria-pressed="true"] .adv-card__check, .adv-card.is-mine .adv-card__check { display: grid; }
.adv-card.is-mine .adv-card__badge { display: block; }
/* En el equipo comercial: fotos más bajas y solo el nombre */
[data-team] .adv-card { border-radius: var(--radius-sm); }
[data-team] .adv-card__photo { height: 120px; }
[data-team] .adv-card__strip { padding: 10px 12px; }
[data-team] .adv-card__name { font-weight: 600; font-size: 13px; color: var(--petrol); }
[data-team] .adv-card__role { display: none; }
[data-team] .adv-card__check { width: 24px; height: 24px; top: 8px; right: 8px; }
[data-team] .adv-card__check .ico { width: 13px; height: 13px; }

.picker__none {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: rgb(var(--veil-rgb) / .04);
  border: 1px solid var(--line-dark);
}
.picker__none-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.picker__none p { margin-top: 6px; font-size: 16px; color: var(--on-dark-soft); }
.picker__none .btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 559px) {
  .picker__none { padding: 24px; }
  .picker__none .btn { width: 100%; }
}

/* ---------- Navegación entre capítulos ---------- */
.chapter-nav { background: var(--night); padding: clamp(48px, 7vw, 72px) 0 max(56px, env(safe-area-inset-bottom)); color: var(--on-dark); border-top: 1px solid var(--nav-line); }
.chapter-nav__grid { display: grid; gap: 12px; }
@media (min-width: 720px) {
  .chapter-nav__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .chapter-nav__btn--next { grid-column: 2; }
}
.chapter-nav__btn { min-height: 0; }
.chapter-nav__btn .chapter-card__num { width: 32px; height: 32px; font-size: 13px; }
.chapter-nav__end { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* =========================================================
   Movimiento reducido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .stairs--animate .step { animation: none; }
  .mentor__inner { transition: none; }
  .mentor.is-flipped .mentor__inner { transform: none; }
  .mentor__back { transform: none; opacity: 0; }
  .mentor.is-flipped .mentor__back { opacity: 1; }
  .mentor.is-flipped .mentor__front { opacity: 0; }
}

/* Fotos de asesores con su fondo original (oficina): llenan la tarjeta, encuadre en cara y torso */
.adv-card__photo img,
.mine__photo img {
  top: 0;
  left: 0;
  bottom: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: none;
  object-fit: cover;
  object-position: 50% 18%;
}

/* Cuenta fondeada (Qué obtienes) */
.funded { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgb(var(--veil-rgb) / .14); }
.funded__k { font-family: var(--font-display); font-weight: 700; font-size: 16px; text-transform: uppercase; }
.funded__tag { padding: 3px 10px; border-radius: 999px; background: var(--ribbon); color: var(--on-ribbon); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.funded__v { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--glow); }

/* Frase de cierre con el logo (Contacto) */
.closing-brand { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 40px; border-top: 1px solid rgb(var(--glow-rgb) / .12); }
.closing-brand img { width: 120px; height: auto; }
.closing-brand__sep { width: 1px; height: 44px; background: rgb(var(--veil-rgb) / .35); }
.closing-brand p { font-family: var(--font-display); font-size: clamp(17px, 4vw, 22px); line-height: 1.2; color: var(--on-dark); }
.closing-brand p strong { display: block; font-weight: 700; }

/* Etiqueta bajo el nombre del beneficio */
.seminar-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.seminar-card__tag { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }

/* =========================================================
   DINAMISMO · animaciones de entrada y movimiento ambiental
   ========================================================= */
.rv {
  opacity: 0;
  transition: opacity .6s var(--ease) var(--rd, 0ms), translate .6s var(--ease) var(--rd, 0ms),
              scale .6s var(--ease) var(--rd, 0ms), rotate .6s var(--ease) var(--rd, 0ms);
}
.rv-up { translate: 0 24px; }
.rv-left { translate: -20px 0; }
.rv-pop { scale: .88; }
.rv-rise { translate: 0 40px; }
.rv-icon { scale: .3; rotate: -30deg; transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
.rv-grow { scale: .2 1; transform-origin: left center; }
.rv-zoom { scale: 1.12; transition-duration: 1.4s; }
.rv.is-in { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }

/* Logos de los beneficios: flotan suavemente y brillan al pasar el cursor */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.seminar-card__logo img { animation: float 5s ease-in-out infinite; }
.seminar-grid li:nth-child(2) .seminar-card__logo img { animation-delay: -1.2s; }
.seminar-grid li:nth-child(3) .seminar-card__logo img { animation-delay: -2.5s; }
.seminar-grid li:nth-child(4) .seminar-card__logo img { animation-delay: -3.7s; }
.seminar-card { position: relative; }
.seminar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(var(--glow-rgb) / .12) 50%, transparent 65%);
  translate: -100% 0;
  pointer-events: none;
}
.seminar-card:hover::after { translate: 100% 0; transition: translate .9s var(--ease); }
.seminar-card__more { transition: background-color .25s, color .25s, translate .25s; }
.seminar-card:hover .seminar-card__more { background: var(--glow); color: var(--on-glow); translate: 3px 0; }
.modal__logo img { animation: float 5s ease-in-out infinite; }
.modal[open] .check-list li { animation: pop-in .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.modal[open] .check-list li:nth-child(2) { animation-delay: .08s; }
.modal[open] .check-list li:nth-child(3) { animation-delay: .16s; }
.modal[open] .check-list li:nth-child(4) { animation-delay: .24s; }
@keyframes pop-in { from { opacity: 0; scale: .8; translate: -8px 0; } to { opacity: 1; scale: 1; translate: 0 0; } }

/* Portada: el Nivel 5 "respira" y el punto de la etiqueta late */
@keyframes breathe { 0%, 100% { box-shadow: 0 0 40px -12px rgb(var(--mint-rgb) / .35); } 50% { box-shadow: 0 0 80px -6px rgb(var(--mint-rgb) / .7); } }
.stairs:not(.stairs--levels) .step:last-child { animation: breathe 3.6s ease-in-out infinite; }
.stairs--animate:not(.stairs--levels) .step:last-child { animation: rise 700ms var(--ease) both; animation-delay: calc(200ms + var(--i) * 110ms); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(var(--orange-rgb) / .7); } 100% { box-shadow: 0 0 0 9px rgb(var(--orange-rgb) / 0); } }
.home__badge-dot { animation: ping 1.8s ease-out infinite; }
.btn--primary .ico { transition: translate .25s var(--ease); }
.btn--primary:hover .ico { translate: 3px 0; }

/* Íconos: rebotan al pasar el cursor sobre su tarjeta */
@keyframes wobble { 0%, 100% { rotate: 0deg; } 30% { rotate: -12deg; } 60% { rotate: 8deg; } }
.float-card:hover .ico-circle, .gets li:hover .ico-circle, .pillars li:hover .ico-circle,
.ccard:hover .ccard__ico, .chapter-card:hover .chapter-card__num { animation: wobble .6s ease-in-out; }
.gets li, .float-card, .ccard { transition: translate .25s var(--ease), background-color .25s, border-color .25s; }
.gets li:hover { translate: 6px 0; }
.float-card:hover { translate: 0 -4px; }
.pills-row li { transition: translate .25s var(--ease), background-color .25s; }
.pills-row li:hover { translate: 0 -3px; }

/* Botón de WhatsApp: el ícono "suena" cada pocos segundos */
@keyframes ring { 0%, 86%, 100% { rotate: 0deg; } 89% { rotate: -16deg; } 92% { rotate: 14deg; } 95% { rotate: -8deg; } }
.mine__actions .btn .ico, .plan__cta .btn .ico { animation: ring 4s ease-in-out infinite; }

/* Logos de pago y equipo: se elevan al pasar el cursor */
.paylogos li { transition: translate .25s var(--ease), box-shadow .25s; }
.paylogos li:hover { translate: 0 -4px; box-shadow: 0 10px 24px -12px rgb(var(--petrol-rgb) / .45); }
.adv-card__photo img { transition: scale .5s var(--ease); }
.adv-card:hover .adv-card__photo img { scale: 1.05; }

/* Trofeo: acercamiento lento y continuo; logo de Impulso flotando */
@keyframes kenburns { from { scale: 1; } to { scale: 1.06; } }
.award__media { overflow: hidden; }
.award__photo { animation: kenburns 14s ease-in-out infinite alternate; }
.detail__logo { animation: float 4.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; translate: none !important; scale: none !important; rotate: none !important; }
  .seminar-card__logo img, .modal__logo img, .stairs .step, .home__badge-dot, .mine__actions .btn .ico,
  .plan__cta .btn .ico, .award__photo, .detail__logo, .modal[open] .check-list li { animation: none !important; }
}

/* =========================================================
   PORTADA v3 · aprovecha todo el alto y el ancho
   ========================================================= */
.hm {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.4vh, 28px);
  max-width: 1560px;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) max(18px, env(safe-area-inset-bottom));
}
.hm__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hm__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(140px, 1fr) auto auto;
  grid-template-areas: "copy" "stats" "stairs" "perks" "cta";
  gap: clamp(14px, 2.2vh, 24px);
  min-height: 0;
}
.hm__copy { grid-area: copy; display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 18px); }
.hm .hero-title__thin { font-size: clamp(32px, 9vw, 92px); }
.hm .hero-title__bold { font-size: clamp(58px, 17vw, 176px); }
.hm .hero-title__version { font-size: clamp(32px, 9vw, 92px); }
.hm .hero-sub { max-width: 34ch; font-size: clamp(15px, 4vw, 21px); }

.hm__stats { grid-area: stats; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hstat { display: flex; flex-direction: column; gap: 4px; padding: 2px 8px 2px 10px; border-left: 1px solid rgb(var(--glow-rgb) / .22); }
.hstat__v { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 6.6vw, 46px); line-height: 1; color: var(--glow); }
.hstat__l { font-size: clamp(10.5px, 2.7vw, 13.5px); line-height: 1.25; color: var(--on-dark-soft); }

.hm__stairs { grid-area: stairs; display: flex; align-items: flex-end; min-height: 0; padding-top: 26px; }
.hm__stairs .stairs { width: 100%; height: 100%; min-height: 140px; }

.hm__perks {
  grid-area: perks;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--line-dark);
  background: rgb(var(--veil-rgb) / .035);
  color: var(--on-dark);
  text-decoration: none;
  transition: border-color .25s, background-color .25s;
}
.hm__perks:hover { border-color: rgb(var(--glow-rgb) / .45); background: rgb(var(--veil-rgb) / .06); }
.hm__perks-label { display: none; flex: none; max-width: 10em; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.hm__perks-logos { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: center; }
.hm__perks-logos img { width: 100%; height: 30px; object-fit: contain; animation: float 5s ease-in-out infinite; }
.hm__perks-logos img:nth-child(2) { animation-delay: -1.2s; }
.hm__perks-logos img:nth-child(3) { animation-delay: -2.5s; }
.hm__perks-logos img:nth-child(4) { animation-delay: -3.7s; }
.hm__perks-go { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: rgb(var(--glow-rgb) / .1); color: var(--glow); transition: translate .25s var(--ease); }
.hm__perks-go .ico { width: 16px; height: 16px; stroke-width: 2; }
.hm__perks:hover .hm__perks-go { translate: 3px 0; }

.hm__cta { grid-area: cta; display: grid; gap: 10px; }
.hm__cta .btn { width: 100%; }

@media (min-width: 560px) {
  .hm__perks-label { display: block; }
  .hm__perks-logos img { height: 40px; }
}
@media (min-width: 560px) and (max-width: 959px) {
  .hm__cta { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hm { padding-top: 32px; padding-bottom: 28px; }
  .hm__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-rows: 1fr auto auto auto 1fr auto;
    grid-template-areas:
      ".     stairs"
      "copy  stairs"
      "stats stairs"
      "cta   stairs"
      ".     stairs"
      "perks perks";
    column-gap: clamp(40px, 5vw, 96px);
    row-gap: clamp(20px, 3.4vh, 36px);
  }
  .hm .hero-title__thin { font-size: clamp(52px, 5.2vw, 92px); }
  .hm .hero-title__bold { font-size: clamp(100px, 10vw, 176px); }
  .hm .hero-title__version { font-size: clamp(52px, 5.2vw, 92px); }
  .hm__stats { max-width: 640px; }
  .hm__stairs .stairs { min-height: 380px; }
  .hm__stairs .stairs .step__label { display: block; }
  .hm__cta { grid-template-columns: auto auto; justify-content: start; }
  .hm__cta .btn { width: auto; min-height: 56px; padding: 0 30px; font-size: 16px; white-space: nowrap; }
  .hm__perks { padding: 16px 28px; gap: 28px; }
  .hm__perks-logos { gap: 32px; }
  .hm__perks-logos img { height: 54px; }
}
@media (max-height: 640px) and (max-width: 959px) {
  .hm__stats { display: none; }
}

/* Logos de Capital y Macroeconomía en "Seminarios exclusivos" y en el plan Master */
.exclusive__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.exclusive__logos img, .plan__extra-logos img {
  width: 100%;
  height: 64px;
  padding: 10px 14px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--logo-plate);
  border: 1px solid var(--exclusive-line);
}
.plan__extra-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.plan__extra-logos img { height: 52px; padding: 8px 10px; background: var(--night); }
/* 3 logos en una fila (BURS X2) y 1 logo solo, sin dejar huecos */
.exclusive__logos:has(> :nth-child(3)), .plan__extra-logos:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.exclusive__logos:has(> :only-child), .plan__extra-logos:has(> :only-child) { grid-template-columns: minmax(0, 220px); }
.plan__extra-logos:has(> :nth-child(3)) img { padding: 6px; }

@media (prefers-reduced-motion: reduce) {
  .hm__perks-logos img { animation: none !important; }
}

/* Elemento destacado en un plan (p. ej. "Impulso Burs · Exclusivo") */
.plan__list li.plan__star {
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgb(var(--orange-rgb) / .55);
  background: linear-gradient(100deg, rgb(var(--orange-rgb) / .22), rgb(var(--orange-rgb) / .04));
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange-soft);
  animation: star-glow 3s ease-in-out infinite;
}
.plan__star img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.plan__star em {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--on-orange);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.plan--featured .plan__list li.plan__star { color: var(--orange-soft); }
@keyframes star-glow { 0%, 100% { box-shadow: 0 0 0 0 rgb(var(--orange-rgb) / 0); } 50% { box-shadow: 0 0 22px -2px rgb(var(--orange-rgb) / .45); } }
@media (prefers-reduced-motion: reduce) { .plan__list li.plan__star { animation: none; } }

/* ---------- Mentores con tarjeta del diseñador (content.js -> mentores.cardArt) ----------
   La imagen ya trae la forma verde, la persona y el degradado; el nombre va en blanco encima, como en el PDF. */
.mentor-grid--art { grid-auto-rows: auto; }
.mentor-grid--art .mentor--lead { grid-column: auto; grid-row: auto; }
.mentor-grid--art .mentor__btn,
.mentor-grid--art .mentor--lead .mentor__btn { min-height: 0; height: auto; aspect-ratio: 268 / 476; }
.mentor-grid--art .mentor__front { background: none; }
.mentor-grid--art .mentor__photo,
.mentor-grid--art .mentor--lead .mentor__photo { inset: 0; width: 100%; height: 100%; transform: none; object-fit: cover; object-position: center bottom; filter: none; }
.mentor-grid--art .mentor__caption,
.mentor-grid--art .mentor--lead .mentor__caption { padding: 0 12px 14px; background: none; text-shadow: 0 1px 6px rgb(22 55 10 / .55); }
.mentor-grid--art .mentor__name,
.mentor-grid--art .mentor--lead .mentor__name { font-size: clamp(13px, 3.6vw, 16px); color: #fff; }
.mentor-grid--art .mentor__role,
.mentor-grid--art .mentor--lead .mentor__role { font-size: 9.5px; color: #fff; }
.mentor-grid--art .mentor__flip { background: rgb(255 255 255 / .85); }
.mentor-grid--art .mentor-stat { aspect-ratio: auto; }

/* =========================================================
   PORTADA BURS X2 · logo animado (video) + beneficios en columna
   Izquierda: logo BURS Advisory, logo X2 en video, frase y cifras, botón del programa.
   Derecha: los 3 beneficios (rebotan) y el botón "Ver beneficios exclusivos".
   ========================================================= */
.hm--x2 .hm__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  grid-template-areas: "main" "side";
  align-content: center;
  gap: clamp(22px, 3.4vh, 40px);
}
.hm__main { grid-area: main; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(12px, 2vh, 22px); min-width: 0; }
.hm__x2 {
  width: min(100%, 620px, calc((100svh - 330px) * 1.48));
  min-width: min(100%, 260px);
  aspect-ratio: 752 / 508;
  margin-left: -2%;
}
.hm__x2-video { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.is-intro .hm__x2-video { opacity: 0; }
.hm--x2 .hero-sub { max-width: none; font-size: clamp(17px, 4.4vw, 24px); }
.hm--x2 .hero-sub strong, .hm--x2 .hero-sub b { color: var(--mint-title); }
.hm--x2 .hm__stats { width: 100%; max-width: 620px; }
.hm--x2 .hm__cta { display: block; width: 100%; }
.hm--x2 .hm__cta .btn { width: 100%; }

.hm__side { grid-area: side; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hm--x2 .hm__perks-label { display: block; max-width: none; margin: 0; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-name); }
.hm__side > .btn { width: 100%; }

.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.perk {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #FFFFFF 40%, var(--paper));
  box-shadow: 0 14px 30px -22px rgb(var(--petrol-rgb) / .55);
  color: var(--ink);
  text-decoration: none;
  transition: translate .3s var(--ease), border-color .25s, box-shadow .3s;
}
.perk:hover { translate: 0 -4px; border-color: var(--glow); box-shadow: 0 20px 40px -22px rgb(var(--glow-rgb) / .7); }
.perk__logo { flex: 1; display: grid; place-items: center; padding: 14px 10px 6px; min-height: 96px; }
.perk__logo img { width: 100%; height: 64px; object-fit: contain; animation: perk-bounce 3.6s cubic-bezier(.3,0,.3,1) infinite; animation-delay: calc(var(--i, 0) * .45s + 1.2s); transform-origin: 50% 100%; }
.perks li { --i: 0; }
.perk__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 12px; }
.perk__tag { font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--mint-name); }
.perk__go { display: none; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: rgb(var(--glow-rgb) / .12); color: var(--mint-name); transition: translate .25s var(--ease), background-color .25s; }
.perk__go .ico { width: 16px; height: 16px; stroke-width: 2.2; }
.perk:hover .perk__go { translate: 3px 0; background: var(--btn-bg); color: var(--btn-ink); }

/* Rebote continuo del logo (como una pelota: sube, cae y da un rebote pequeño) */
@keyframes perk-bounce {
  0%, 52%, 100% { translate: 0 0; scale: 1 1; }
  12% { translate: 0 -16px; scale: .97 1.04; }
  24% { translate: 0 0; scale: 1.06 .93; }
  32% { translate: 0 -6px; scale: .99 1.01; }
  40% { translate: 0 0; scale: 1.02 .98; }
}
/* Entrada de los beneficios: caen y rebotan */
@keyframes perk-drop {
  0% { opacity: 0; translate: 0 -60px; }
  45% { opacity: 1; translate: 0 10px; }
  65% { translate: 0 -8px; }
  82% { translate: 0 3px; }
  100% { opacity: 1; translate: 0 0; }
}
@keyframes hm-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.hm--x2 .hm__in, .hm--x2 .perks li { opacity: 0; }
.hm--x2.hm--enter .hm__in { animation: hm-rise .7s var(--ease) both; animation-delay: calc(var(--d, 0) * .12s + .25s); }
.hm--x2.hm--enter .perks li { animation: perk-drop .95s cubic-bezier(.3,.6,.4,1) both; animation-delay: calc(var(--i) * .15s + .45s); }

@media (min-width: 560px) {
  .perks { gap: 14px; }
  .perk__logo { min-height: 120px; }
  .perk__logo img { height: 80px; }
  .perk__tag { font-size: 13px; }
}
@media (min-width: 560px) and (max-width: 959px) {
  .hm--x2 .hm__cta .btn, .hm__side > .btn { width: auto; align-self: flex-start; padding: 0 28px; }
}
@media (min-width: 960px) {
  .hm--x2 .hm__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-areas: "main side";
    align-items: center;
    column-gap: clamp(40px, 6vw, 120px);
  }
  .hm__x2 { width: min(100%, 640px, calc((100vh - 400px) * 1.48)); }
  .hm--x2 .hm__cta .btn { width: auto; min-height: 56px; padding: 0 30px; font-size: 16px; }
  .hm__side { gap: clamp(12px, 1.8vh, 18px); max-width: 520px; width: 100%; justify-self: end; }
  .perks { grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 1.6vh, 16px); }
  .perk { flex-direction: row; align-items: center; }
  .perk__logo { flex: 1; min-height: 0; height: clamp(96px, 15vh, 132px); padding: 14px 10px 14px 22px; place-items: center start; }
  .perk__logo img { width: auto; max-width: 100%; height: clamp(62px, 10vh, 92px); }
  .perk__foot { flex: none; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; width: 40%; padding: 0 20px 0 0; text-align: right; }
  .perk__go { display: grid; }
  .hm__side > .btn { min-height: 56px; font-size: 16px; }
}

/* Intro: video del logo a pantalla completa (se reproduce una vez por visita) */
.x2intro { position: fixed; inset: 0; z-index: 50; background: #FFFFFF; cursor: pointer; }
.x2intro__video {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 51;
  translate: -50% -50%;
  display: block;
  width: min(94vw, 1180px, calc(86vh * 1540 / 836));
  aspect-ratio: 1540 / 836;
  height: auto;
  transform-origin: 0 0;
  mix-blend-mode: multiply;
  cursor: pointer;
}
.x2intro__skip {
  position: fixed;
  z-index: 52;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgb(255 255 255 / .9);
  font: 600 13px/1 var(--font-body); color: var(--mint-name);
  cursor: pointer;
}
.x2intro__skip .ico { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .hm--x2 .hm__in, .hm--x2 .perks li { opacity: 1 !important; animation: none !important; }
  .perk__logo img { animation: none !important; }
}

/* Precio anterior tachado (p. ej. Master "Antes: $3,000") */
.plan__price-before { margin-left: 4px; font-weight: 700; color: var(--ink-muted); text-decoration-color: var(--ribbon); text-decoration-thickness: 2px; }
.plan--featured .plan__price-before { color: var(--on-dark-soft); }

/* Horarios: barra de un solo mes con el día arriba y la hora abajo */
.timeline__bar.is-short { padding-left: 4px; padding-right: 4px; font-size: 11.5px; line-height: 1.25; white-space: nowrap; }
.timeline__bar.is-short .timeline__sep { display: block; height: 0; overflow: hidden; }
