/* Landing de registro al Bootcamp AdTech Essentials (/registro-bootcamp).
   Usa el encabezado, el banner, el pie, la letra Poppins, los colores y el botón
   .btn--primary del sitio (assets/styles.css). Aquí solo va lo propio de la página,
   todo dentro de .rbc (y .rbc-barra, el botón fijo en celular, que vive fuera de main). */

/* Colores: los del sitio más tonos de apoyo que styles.css no tiene. */
.rbc, .rbc-barra {
  --rbc-turquesa: var(--color-primario, #5ffedd);
  --rbc-morado: var(--color-acento-1, #ac64fd);
  --rbc-tinta: var(--color-fondo-oscuro, #121212);
  --rbc-blanco: var(--color-fondo-blanco, #fff);
  --rbc-turquesa-texto: #121212;   /* antes verde oscuro (no es color de marca): ahora tinta */
  --rbc-morado-texto: #7a34d4;
  --rbc-texto-suave: #5b5b66;
  --rbc-papel: #f5f6fa;
  --rbc-menta: #e9fcf4;
  --rbc-lila: #f1eafd;
  --rbc-borde: #dcdde3;
}

/* Base de la página */
.rbc { position: relative; display: block; line-height: 1.5; }
.rbc ul, .rbc ol { list-style: none; }
.rbc img { display: block; max-width: 100%; height: auto; }
.rbc a { color: inherit; }
.rbc button, .rbc input, .rbc select, .rbc textarea { font: inherit; color: inherit; }
/* styles.css da ancho, relleno y borde a todos los input: aquí no aplica a radios y casillas. */
.rbc input[type="radio"], .rbc input[type="checkbox"] { width: auto; padding: 0; border: 0; border-radius: 0; }
.rbc :focus-visible { outline: 3px solid var(--rbc-morado); outline-offset: 3px; }
.rbc-lienzo { width: min(1160px, 100%); margin-inline: auto; padding-inline: 24px; }

.rbc { --rbc-negro-2: #0a0a0c; --rbc-linea: rgb(255 255 255 / 14%); }
.rbc .c-turquesa { color: var(--rbc-turquesa); }
.rbc .c-morado { color: var(--rbc-morado); }

.rbc-h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.rbc-lead { max-width: 620px; margin-top: 14px; color: var(--rbc-texto-suave); font-size: 17px; line-height: 1.6; }

/* Palabras resaltadas: degradado turquesa → morado, el mismo del home. */
main.rbc :is(.c-turquesa, .c-morado) { background: linear-gradient(90deg, var(--rbc-turquesa), var(--rbc-morado)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ==========================================================================
   HERO — fondo oscuro con la foto de HackADton
   ========================================================================== */
.rbc-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px); background: var(--rbc-tinta); color: var(--rbc-blanco); }
.rbc-hero__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; opacity: .55; }
.rbc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 60% at 85% 30%, rgb(172 100 253 / 22%), transparent 70%),
  linear-gradient(90deg, rgb(18 18 18 / 96%) 0%, rgb(18 18 18 / 86%) 42%, rgb(18 18 18 / 50%) 100%),
  linear-gradient(0deg, var(--rbc-tinta) 0%, transparent 30%); }
.rbc-hero__fila { width: min(1320px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(32px, 5vw, 80px); align-items: center; }

.rbc-generacion { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px 7px 12px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; background: rgb(255 255 255 / 6%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; }
.rbc-generacion__punto { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--rbc-turquesa); }
.rbc-generacion__punto::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--rbc-turquesa); animation: rbc-latido 1.8s ease-out infinite; }
@keyframes rbc-latido { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }

.rbc-hero h1 { margin-bottom: 22px; font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
.rbc-hero__intro { max-width: 520px; margin-bottom: 26px; color: rgb(255 255 255 / 82%); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; }

/* Mentores en miniatura */
.rbc-mentores-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.rbc-mentores-mini__fotos { display: flex; flex: none; }
.rbc-mentores-mini__fotos img { width: 40px; height: 40px; margin-left: -10px; border: 2px solid var(--rbc-tinta); border-radius: 50%; object-fit: cover; }
.rbc-mentores-mini__fotos img:first-child { margin-left: 0; }
.rbc-mentores-mini p { color: rgb(255 255 255 / 80%); font-size: 14px; line-height: 1.45; }
.rbc-mentores-mini strong { color: var(--rbc-blanco); }

/* Cuenta regresiva */
.rbc-cuenta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; margin-bottom: 28px; }
.rbc-cuenta__fecha strong { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; }
.rbc-cuenta__etiqueta { display: block; margin-bottom: 6px; color: rgb(255 255 255 / 62%); font-size: 13px; }
.rbc-cuenta__numeros { display: flex; gap: 8px; }
.rbc-cuenta__numeros div { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 6px 6px; border: 1px solid var(--rbc-linea); border-radius: 12px; background: rgb(255 255 255 / 6%); }
.rbc-cuenta__numeros b { font-size: 26px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rbc-cuenta__numeros span { color: rgb(255 255 255 / 62%); font-size: 11px; }
.rbc-cuenta__seg { border-color: rgb(95 254 221 / 45%) !important; }
.rbc-cuenta__seg b { color: var(--rbc-turquesa); }
.rbc-cuenta.is-iniciado .rbc-cuenta__reloj { display: none; }

.rbc-ventajas li { position: relative; margin-bottom: 10px; padding-left: 22px; color: rgb(255 255 255 / 88%); font-size: 15px; line-height: 1.5; }
.rbc-ventajas li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--rbc-turquesa); }
.rbc-ventajas li:nth-child(2)::before { background: var(--rbc-morado); }
.rbc-ventajas strong { color: var(--rbc-blanco); }

/* ==========================================================================
   TARJETA DEL FORMULARIO
   ========================================================================== */
/* Halo turquesa → morado alrededor de la tarjeta, como los pilares del home. */
.rbc-tarjeta { position: relative; padding: 32px 28px 28px; border-radius: 22px; background: var(--rbc-blanco); color: var(--rbc-tinta); box-shadow: -22px -16px 60px rgb(95 254 221 / 30%), 22px 20px 60px rgb(172 100 253 / 38%), 0 30px 60px rgb(0 0 0 / 35%); }
.rbc-form__titulo { font-size: 23px; font-weight: 700; line-height: 1.25; }
.rbc-form__sub { margin-bottom: 20px; color: var(--rbc-texto-suave); font-size: 14px; }
.rbc-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.rbc-opcional { color: var(--rbc-texto-suave); font-weight: 400; }
fieldset.rbc-camino, fieldset.rbc-campo { min-width: 0; border: 0; }

.rbc-camino { margin-bottom: 18px; }
.rbc-camino legend { margin-bottom: 10px; }
.rbc-camino__opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rbc-opcion { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 14px 14px 42px; border: 1.5px solid var(--rbc-borde); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.rbc-opcion::before { content: ""; position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; border: 1.5px solid #a9aab5; border-radius: 50%; background: var(--rbc-blanco); transition: border-color .2s, box-shadow .2s; }
.rbc-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.rbc-opcion strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.rbc-opcion small { color: var(--rbc-texto-suave); font-size: 12px; line-height: 1.4; }
.rbc-opcion__nota { order: -1; margin-bottom: 2px; font-size: 12px; font-weight: 700; }
.rbc-opcion__nota--turquesa { color: var(--rbc-turquesa-texto); }
.rbc-opcion__nota--morado { color: var(--rbc-morado-texto); }
.rbc-opcion:has(input:checked) { border-color: var(--rbc-tinta); background: var(--rbc-papel); }
.rbc-opcion:has(input:checked)::before { border-color: var(--rbc-tinta); box-shadow: inset 0 0 0 4px var(--rbc-blanco), inset 0 0 0 10px var(--rbc-tinta); }
.rbc-opcion:has(input[value="si"]:checked)::before { box-shadow: inset 0 0 0 4px var(--rbc-blanco), inset 0 0 0 10px var(--rbc-turquesa-texto); border-color: var(--rbc-turquesa-texto); }
.rbc-opcion:has(input:focus-visible) { outline: 3px solid var(--rbc-morado); outline-offset: 2px; }

.rbc-elige { padding: 20px 12px; border-radius: 14px; background: var(--rbc-papel); color: var(--rbc-texto-suave); font-size: 14px; text-align: center; }

.rbc-campos[hidden], .rbc-elige[hidden] { display: none; }
.rbc-campos:not([hidden]) { animation: rbc-entra .35s ease-out; }
@keyframes rbc-entra { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rbc-campo { margin-bottom: 14px; }
.rbc-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rbc-input { display: block; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--rbc-borde); border-radius: 12px; background: var(--rbc-blanco); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.rbc-input:focus { border-color: var(--rbc-tinta); outline: none; box-shadow: 0 0 0 4px rgb(95 254 221 / 40%); }
.rbc-input[aria-invalid="true"] { border-color: #c62828; box-shadow: 0 0 0 4px rgb(198 40 40 / 12%); }
textarea.rbc-input { resize: vertical; min-height: 92px; }
.rbc-subtitulo { margin: 4px 0 12px; padding-top: 16px; border-top: 1px solid var(--rbc-borde); font-size: 15px; font-weight: 700; }

.rbc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rbc-chip { cursor: pointer; }
.rbc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rbc-chip span { display: inline-block; min-height: 40px; padding: 9px 18px; border: 1px solid var(--rbc-borde); border-radius: 999px; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.rbc-chip input:checked + span { border-color: var(--rbc-tinta); background: var(--rbc-tinta); color: var(--rbc-blanco); }
.rbc-chip input:focus-visible + span { outline: 3px solid var(--rbc-morado); outline-offset: 2px; }

.rbc-aviso { display: flex; gap: 10px; margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.rbc-aviso svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rbc-aviso--menta { background: var(--rbc-menta); }
.rbc-aviso--menta svg { stroke: var(--rbc-turquesa-texto); }
.rbc-aviso--lila { background: var(--rbc-lila); }
.rbc-aviso--lila svg { stroke: var(--rbc-morado-texto); }

.rbc-acepto { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--rbc-texto-suave); font-size: 12px; line-height: 1.5; cursor: pointer; }
.rbc-acepto input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--rbc-tinta); }
.rbc-acepto a { color: var(--rbc-tinta); }
.rbc-estado { margin-bottom: 8px; color: #c62828; font-size: 13px; }
.rbc-estado:empty { display: none; }
.rbc-enviar { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 12px 26px; border: 0; border-radius: 16px; background: var(--rbc-tinta); color: var(--rbc-blanco); font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.rbc-enviar:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgb(18 18 18 / 25%); }
.rbc-enviar:focus-visible { outline: 3px solid var(--rbc-morado); outline-offset: 3px; }
.rbc-enviar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 22%) 50%, transparent 70%); transform: translateX(-100%); }
.rbc-enviar[disabled] { opacity: .6; cursor: wait; transform: none; }

.rbc-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Confirmación */
.rbc-gracias { padding: 24px 8px 12px; text-align: center; }
.rbc-gracias:focus { outline: none; }
.rbc-gracias:not([hidden]) { animation: rbc-entra .45s ease-out; }
.rbc-gracias__icono { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; }
.rbc-gracias__icono svg { width: 28px; height: 28px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: rbc-palomita .5s .25s ease-out forwards; }
@keyframes rbc-palomita { to { stroke-dashoffset: 0; } }
.rbc-gracias__icono--turquesa { background: var(--rbc-turquesa); box-shadow: 0 0 0 10px rgb(95 254 221 / 20%); }
.rbc-gracias__icono--turquesa svg { stroke: var(--rbc-tinta); }
.rbc-gracias__icono--lila { background: var(--rbc-lila); box-shadow: 0 0 0 10px rgb(172 100 253 / 12%); }
.rbc-gracias__icono--lila svg { stroke: var(--rbc-morado-texto); }
.rbc-gracias h2 { margin-bottom: 10px; font-size: 24px; font-weight: 700; }
.rbc-gracias p { max-width: 340px; margin: 0 auto 16px; color: var(--rbc-texto-suave); font-size: 15px; }
.rbc-gracias a { font-weight: 600; }

/* ==========================================================================
   CINTA — empresas de los mentores, en movimiento
   ========================================================================== */
.rbc-cinta { overflow: hidden; padding-block: 22px; border-block: 1px solid var(--rbc-linea); background: var(--rbc-negro-2); color: rgb(255 255 255 / 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rbc-cinta__pista { display: flex; width: max-content; animation: rbc-cinta 45s linear infinite; }
.rbc-cinta:hover .rbc-cinta__pista { animation-play-state: paused; }
.rbc-cinta ul { display: flex; flex: none; }
.rbc-cinta li { display: flex; align-items: center; font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; white-space: nowrap; }
.rbc-cinta li::after { content: ""; width: 6px; height: 6px; margin-inline: clamp(22px, 3vw, 40px); border-radius: 50%; background: var(--rbc-morado); }
.rbc-cinta li:nth-child(even)::after { background: var(--rbc-turquesa); }
@keyframes rbc-cinta { to { transform: translateX(-50%); } }

/* ==========================================================================
   DOS CAMINOS
   ========================================================================== */
.rbc-caminos { padding-block: clamp(64px, 9vw, 112px); background: var(--rbc-papel); }
.rbc-caminos__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.rbc-camino-card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: 28px; background: var(--rbc-tinta); color: var(--rbc-blanco); box-shadow: 0 0 40px rgb(95 254 221 / 20%); transition: transform .3s, box-shadow .3s; }
.rbc-camino-card:nth-child(2) { box-shadow: 0 0 40px rgb(172 100 253 / 24%); }
.rbc-camino-card h3 { margin-bottom: 22px; font-size: clamp(19px, 1.8vw, 22px); font-weight: 700; line-height: 1.3; }
.rbc-camino-card__nota { display: block; margin-top: 4px; color: var(--rbc-turquesa); font-size: 14px; font-weight: 600; }
.rbc-camino-card__nota--morado { color: var(--rbc-morado); }
.rbc-pasos { flex: 1; counter-reset: paso; }
.rbc-pasos li { position: relative; margin-bottom: 14px; padding-left: 40px; color: rgb(255 255 255 / 85%); font-size: 15px; line-height: 1.55; counter-increment: paso; }
.rbc-pasos li::before { content: counter(paso, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--rbc-morado); font-weight: 700; }
.rbc-pasos--turquesa li::before { color: var(--rbc-turquesa); }
.rbc-camino-card__ir { align-self: flex-start; margin-top: 10px; padding-bottom: 2px; border-bottom: 2px solid var(--rbc-turquesa); color: var(--rbc-turquesa); font-weight: 700; text-decoration: none; }
.rbc-camino-card__ir--morado { border-color: var(--rbc-morado); color: var(--rbc-morado); }
.rbc-camino-card__ir span { display: inline-block; transition: transform .2s; }

/* ==========================================================================
   HISTORIAS DE EGRESADOS — antes y hoy
   ========================================================================== */
.rbc-historias { padding-block: clamp(64px, 9vw, 112px); }
.rbc-historias .rbc-h2 { max-width: 760px; }
.rbc-historias__lista { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rbc-historia { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rbc-borde); border-radius: 24px; background: var(--rbc-blanco); transition: transform .3s, box-shadow .3s; }
.rbc-historia img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; }
.rbc-historia__texto { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.rbc-historia blockquote { flex: 1; margin-bottom: 14px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.rbc-historia__quien { margin-bottom: 14px; color: var(--rbc-texto-suave); font-size: 14px; }
.rbc-historia__quien b { color: var(--rbc-tinta); }
.rbc-trayecto { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--rbc-borde); }
.rbc-trayecto div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-size: 13px; line-height: 1.4; }
.rbc-trayecto dt { color: var(--rbc-texto-suave); font-weight: 600; }
.rbc-trayecto div:last-child dt { color: var(--rbc-turquesa-texto); }
.rbc-trayecto div:last-child dd { font-weight: 700; }

/* ==========================================================================
   MÓDULOS
   ========================================================================== */
.rbc-modulos { padding-block: clamp(64px, 9vw, 112px); background: var(--rbc-tinta); color: var(--rbc-blanco); }
.rbc-modulos__cabecera { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.rbc-modulos__cabecera .rbc-h2 { max-width: 640px; }
.rbc-boton-contorno { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 1.5px solid var(--rbc-turquesa); border-radius: 16px; color: var(--rbc-turquesa); font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.rbc-boton-contorno:hover { background: var(--rbc-turquesa); color: var(--rbc-tinta); }
.rbc-temas { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rbc-linea); counter-reset: modulo; }
.rbc-temas li { position: relative; padding: 24px 24px 28px 0; border-bottom: 1px solid var(--rbc-linea); font-size: clamp(16px, 1.4vw, 18px); font-weight: 600; line-height: 1.4; counter-increment: modulo; transition: color .2s; }
.rbc-temas li::before { content: counter(modulo, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--rbc-turquesa); font-size: 14px; }
.rbc-temas li:nth-child(even)::before { color: var(--rbc-morado); }

/* ==========================================================================
   CERTIFICACIÓN IAB
   ========================================================================== */
.rbc-iab { padding-block: clamp(64px, 9vw, 112px); }
.rbc-iab__fila { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.rbc-iab__logos { width: 220px; margin-bottom: 28px; }
.rbc-iab .rbc-h2 { margin-bottom: 18px; }
.rbc-iab p { max-width: 520px; margin-bottom: 14px; color: var(--rbc-texto-suave); font-size: 16px; line-height: 1.65; }
.rbc-iab__certificado { width: 100%; filter: drop-shadow(0 24px 30px rgb(18 18 18 / 12%)); }

/* ==========================================================================
   PREGUNTAS FRECUENTES
   ========================================================================== */
.rbc-preguntas { padding-block: clamp(64px, 9vw, 112px); background: var(--rbc-papel); }
.rbc-preguntas__fila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.rbc-faq { border-top: 1px solid var(--rbc-borde); }
.rbc-faq details { border-bottom: 1px solid var(--rbc-borde); }
.rbc-faq summary { position: relative; padding: 22px 48px 22px 0; font-size: 17px; font-weight: 600; list-style: none; cursor: pointer; }
.rbc-faq summary::-webkit-details-marker { display: none; }
.rbc-faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--rbc-tinta); border-bottom: 2px solid var(--rbc-tinta); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.rbc-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.rbc-faq details p { max-width: 680px; padding-bottom: 22px; color: var(--rbc-texto-suave); font-size: 15px; line-height: 1.65; }

/* ==========================================================================
   CIERRE
   ========================================================================== */
.rbc-cierre { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 140px); background: var(--rbc-tinta); color: var(--rbc-blanco); text-align: center; }
.rbc-cierre::before { content: ""; position: absolute; inset: -20%; background:
  radial-gradient(30% 40% at 30% 50%, rgb(95 254 221 / 22%), transparent 70%),
  radial-gradient(30% 40% at 70% 50%, rgb(172 100 253 / 26%), transparent 70%); animation: rbc-respira 10s ease-in-out infinite alternate; }
@keyframes rbc-respira { to { transform: translateX(4%) scale(1.06); } }
.rbc-cierre__caja { position: relative; }
.rbc-cierre__fecha { margin-bottom: 18px; color: rgb(255 255 255 / 70%); font-size: 15px; font-weight: 600; }
.rbc-cierre h2 { max-width: 900px; margin: 0 auto 20px; font-size: clamp(2.2rem, 5.6vw, 4.5rem); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
.rbc-cierre p:not(.rbc-cierre__fecha) { margin-bottom: 34px; color: rgb(255 255 255 / 80%); font-size: clamp(16px, 1.6vw, 19px); }
.rbc-cierre__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding-inline: 40px; border-radius: 18px; font-size: 17px; box-shadow: 0 0 0 0 rgb(95 254 221 / 50%); animation: rbc-llamado 2.4s ease-out infinite; }
@keyframes rbc-llamado { 70% { box-shadow: 0 0 0 18px rgb(95 254 221 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(95 254 221 / 0%); } }

/* ==========================================================================
   BOTÓN FIJO EN CELULAR
   ========================================================================== */
.rbc-barra { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid var(--rbc-linea); border-radius: 18px; background: rgb(18 18 18 / 92%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--rbc-blanco); box-shadow: 0 12px 30px rgb(0 0 0 / 30%); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.rbc-barra[hidden] { display: none; }
.rbc-barra.is-visible { transform: none; }
.rbc-barra__texto { display: flex; flex-direction: column; min-width: 0; font-size: 12px; line-height: 1.35; color: rgb(255 255 255 / 70%); }
.rbc-barra__texto b { overflow: hidden; color: var(--rbc-blanco); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.rbc-barra__cta { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding-inline: 18px; border-radius: 14px; font-size: 15px; }
/* Con la barra visible, WhatsApp sube para no quedar encima. */
/* styles.css fija WhatsApp (abajo a la izquierda) y el botón de subir (abajo a la
   derecha) con !important: con la barra visible, los dos suben por encima de ella. */
body.rbc-con-barra .whatsapp-fab { bottom: calc(env(safe-area-inset-bottom, 0px) + 96px) !important; transition: bottom .35s; }
body.rbc-con-barra .scroll-top-btn { bottom: calc(env(safe-area-inset-bottom, 0px) + 96px) !important; }

/* ==========================================================================
   APARICIÓN AL HACER SCROLL (solo si hay JS y el usuario no pidió menos movimiento)
   ========================================================================== */
.rbc-js .rbc-aparece { opacity: 0; transform: translateY(26px); transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.rbc-js .rbc-aparece.is-visible { opacity: 1; transform: none; }

/* Efectos de hover solo con mouse */
@media (hover: hover) {
  .rbc-opcion:hover { border-color: #8d8e99; }
  .rbc-camino-card:hover { transform: translateY(-6px); box-shadow: 0 0 60px rgb(95 254 221 / 32%); }
  .rbc-camino-card:nth-child(2):hover { box-shadow: 0 0 60px rgb(172 100 253 / 38%); }
  .rbc-camino-card__ir:hover span { transform: translateX(5px); }
  .rbc-historia:hover { transform: translateY(-6px); box-shadow: 0 24px 40px rgb(18 18 18 / 12%); }
  .rbc-temas li:hover { color: var(--rbc-turquesa); }
  .rbc-enviar:hover::after { transform: translateX(100%); transition: transform .7s; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1199.98px) {
  .rbc-historias__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbc-historia { flex-direction: row; }
  .rbc-historia img { width: 42%; aspect-ratio: auto; height: auto; min-height: 100%; }
}
@media (max-width: 991.98px) {
  .rbc-hero__fila { grid-template-columns: 1fr; }
  .rbc-hero__foto { object-position: 60% center; opacity: .4; }
  .rbc-hero::after { background: linear-gradient(180deg, rgb(18 18 18 / 75%) 0%, rgb(18 18 18 / 88%) 50%, var(--rbc-tinta) 100%); }
  .rbc-tarjeta { max-width: 600px; }
  .rbc-temas { grid-template-columns: repeat(2, 1fr); }
  .rbc-iab__fila, .rbc-preguntas__fila { grid-template-columns: 1fr; }
  .rbc-iab__certificado { max-width: 520px; }
  /* Historias: carrusel con desliz en tablet y celular */
  .rbc-historias__lista { display: flex; gap: 16px; margin-inline: -24px; padding: 4px 24px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; }
  .rbc-historias__lista::-webkit-scrollbar { display: none; }
  .rbc-historia { flex: 0 0 min(78%, 340px); flex-direction: column; scroll-snap-align: start; }
  .rbc-historia img { width: 100%; aspect-ratio: 1; min-height: 0; }
}
@media (max-width: 640px) {
  .rbc-lienzo { padding-inline: 16px; }
  .rbc-historias__lista { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .rbc-camino__opciones, .rbc-dos, .rbc-caminos__fila { grid-template-columns: 1fr; }
  .rbc-tarjeta { padding: 26px 18px 22px; border-radius: 20px; }
  .rbc-cuenta { gap: 14px; }
  .rbc-cuenta__numeros div { min-width: 0; flex: 1; }
  .rbc-cuenta__reloj { flex: 1 1 100%; }
  .rbc-cuenta__numeros b { font-size: 24px; }
  .rbc-mentores-mini { align-items: flex-start; }
  .rbc-mentores-mini__fotos img { width: 34px; height: 34px; }
  .rbc-temas { grid-template-columns: 1fr; }
  .rbc-temas li { display: flex; gap: 16px; align-items: baseline; padding-block: 18px; }
  .rbc-temas li::before { margin: 0; }
  .rbc-cierre__cta { width: 100%; }
}
@media (max-width: 359.98px) {
  .rbc-hero h1 { font-size: 2.1rem; }
  .rbc-cuenta__numeros b { font-size: 20px; }
  .rbc-barra__texto b { font-size: 13px; }
}
@media (min-width: 992px) {
  .rbc-barra { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .rbc *, .rbc *::before, .rbc *::after, .rbc-barra { animation: none !important; transition: none !important; }
  .rbc-js .rbc-aparece { opacity: 1; transform: none; }
  .rbc-cinta__pista { flex-wrap: wrap; width: auto; animation: none; }
  .rbc-cinta ul[aria-hidden] { display: none; }
  .rbc-cinta ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}
