/* =========================================================
   talento-caribe.css
   La esencia de Talento Caribe, tomada de su logo y de su
   propia plataforma:
     marino #0d2b5e · sol #f7ae1f · ola #1fb5e3 · mar #1c6fd1 · palma #0e9a7b
   - Tema oscuro: el mar de noche.
   - Tema claro: arena de playa con textos en marino.
   - Los bloques .keep-dark (cifras, cómo funciona, súmate y pie)
     se ven siempre como el mar de noche, en los dos temas.
   - Letra: Archivo ancha y gruesa, como "TALENTO" en el logo.
   ========================================================= */

:root {
  --marino: #0d2b5e;
  --sol: #f7ae1f;
  --ola: #1fb5e3;
  --mar: #1c6fd1;
  --palma: #0e9a7b;
  --olas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M0 7 Q30 1 60 7 T120 7 V16 H0Z' fill='%231fb5e3'/%3E%3Cpath d='M0 12 Q30 6 60 12 T120 12 V16 H0Z' fill='%231c6fd1'/%3E%3C/svg%3E");
  --fuente: "Archivo", "Arial Black", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sombra-tarjeta: 6px 6px 0 var(--sombra-dura);
  --sombra-boton: 4px 4px 0 var(--sombra-dura);
}

/* ---------- Tema oscuro: el mar de noche ---------- */
:root, :root[data-theme="dark"], .keep-dark {
  --theme-color: #0a1730;
  --fondo: #0a1730;
  --fondo-2: #0c1d3c;
  --superficie: #0f2040;
  --superficie-2: #152a50;
  --linea: #213a66;
  --linea-fuerte: #31508a;
  --texto: #f2f6fc;
  --texto-2: #c9d6ea;
  --muted: #8ea3c6;
  --strong: #ffffff;
  --sol-texto: #f7ae1f;
  --sol-titulo: #f7ae1f;
  --ola-texto: #63ccef;
  --palma-texto: #3fd0aa;
  --sombra-dura: #040b18;
  --nav-bg: rgba(10, 23, 48, .94);
  --switch-bg: #ffffff;
  --switch-ink: #0a1633;
  --focus: #f7ae1f;
  --selection: rgba(247, 174, 31, .35);
}
:root, :root[data-theme="dark"] { color-scheme: dark; }

/* ---------- Tema claro: arena de playa y marino ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --theme-color: #f7f4ec;
  --fondo: #f7f4ec;
  --fondo-2: #efe9dc;
  --superficie: #ffffff;
  --superficie-2: #eef2f7;
  --linea: #d8dfe9;
  --linea-fuerte: #a7b5ca;
  --texto: #0d2b5e;
  --texto-2: #2a3f63;
  --muted: #586884;
  --strong: #0d2b5e;
  --sol-texto: #8a5300;
  --sol-titulo: #b86e00;
  --ola-texto: #0a6f91;
  --palma-texto: #0b7d62;
  --sombra-dura: #0d2b5e;
  --nav-bg: rgba(247, 244, 236, .96);
  --switch-bg: #0d2b5e;
  --switch-ink: #ffffff;
  --focus: #1c64c4;
  --selection: rgba(28, 111, 209, .22);
}
.keep-dark { color-scheme: dark; color: var(--texto); }

body { background: var(--fondo); color: var(--texto); font-family: var(--fuente); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.6; }
strong { font-weight: 750; color: var(--strong); }
.sol-text { color: var(--sol-titulo); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Intro: amanecer sobre el mar (igual en los dos temas) ---------- */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 600; overflow: hidden; background: #06101f; transition: opacity .8s ease, transform .9s cubic-bezier(.7, 0, .25, 1); }
.intro-on body { overflow: hidden; }
.intro.is-leaving { opacity: 0; transform: translateY(-6%); pointer-events: none; }
.intro__sky { position: absolute; inset: 0; background: linear-gradient(#06101f 0%, #0d2b5e 52%, #3b4f7a 62%, #f7ae1f 66%); opacity: 0; animation: i-fade 1.2s ease .1s forwards; }
.intro__stars { position: absolute; inset: 0 0 40% 0; background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 32% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 58% 28%, #fff, transparent), radial-gradient(1px 1px at 78% 16%, #fff, transparent), radial-gradient(1.5px 1.5px at 90% 34%, #fff, transparent), radial-gradient(1px 1px at 44% 40%, #fff, transparent), radial-gradient(1px 1px at 6% 44%, #fff, transparent); animation: i-twinkle 1.6s ease-in-out infinite alternate; }
.intro__sun { position: absolute; left: 50%; top: 66%; width: min(46vmin, 360px); aspect-ratio: 1; margin-left: calc(min(46vmin, 360px) / -2); border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffe08a, #f7ae1f 55%, #f08a1a); box-shadow: 0 0 120px 40px rgba(247, 174, 31, .45); transform: translateY(30%); animation: i-sun 1.6s var(--ease) .35s both; }
.intro__horizon { position: absolute; left: 0; right: 0; top: 66%; height: 2px; background: linear-gradient(90deg, transparent, #ffd36b, transparent); transform: scaleX(0); animation: i-horizon 1s var(--ease) .2s forwards; }
.intro__sea { position: absolute; left: 0; right: 0; top: 66%; bottom: 0; background: linear-gradient(#1fb5e3 0, #1c6fd1 40%, #0d2b5e); }
.intro__sea svg { position: absolute; left: 0; top: -36px; width: 200%; height: 90px; }
.iw { animation: i-drift 3s linear infinite; }
.iw--1 { fill: #1fb5e3; }
.iw--2 { fill: #1c6fd1; animation-duration: 2.2s; }
.intro__brand { position: absolute; inset: 0 0 44% 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; }
.intro__emblem { width: min(44vmin, 320px); aspect-ratio: 900 / 500; background: url("../img/talento-caribe/logo-talento-caribe-claro.png") top center / 100% auto no-repeat; clip-path: circle(0% at 58% 62%); animation: i-emblem 1s var(--ease) 1s forwards; }
.intro__talento { display: flex; overflow: hidden; font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 8vmin, 4.6rem); line-height: 1; letter-spacing: -.01em; color: #fff; text-shadow: 0 4px 0 rgba(4, 11, 24, .5); }
.intro__talento span { display: inline-block; transform: translateY(110%); animation: i-letter .7s var(--ease) forwards; }
.intro__talento span:nth-child(1) { animation-delay: 1.35s; } .intro__talento span:nth-child(2) { animation-delay: 1.4s; } .intro__talento span:nth-child(3) { animation-delay: 1.45s; } .intro__talento span:nth-child(4) { animation-delay: 1.5s; } .intro__talento span:nth-child(5) { animation-delay: 1.55s; } .intro__talento span:nth-child(6) { animation-delay: 1.6s; } .intro__talento span:nth-child(7) { animation-delay: 1.65s; }
.intro__caribe { font-weight: 800; font-stretch: 112%; font-size: clamp(1.2rem, 4vmin, 2.2rem); color: var(--ola); letter-spacing: .44em; padding-left: .44em; opacity: 0; animation: i-caribe 1s var(--ease) 1.75s forwards; }
.intro__bar { width: 160px; height: 4px; margin-top: 18px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.intro__bar span { display: block; height: 100%; background: var(--sol); transform: scaleX(0); transform-origin: left; animation: i-load 2.5s ease-in-out .2s forwards; }
@keyframes i-fade { to { opacity: 1; } }
@keyframes i-twinkle { from { opacity: .2; } to { opacity: .8; } }
@keyframes i-horizon { to { transform: scaleX(1); } }
@keyframes i-sun { from { transform: translateY(30%); } to { transform: translateY(-58%); } }
@keyframes i-drift { to { transform: translateX(-300px); } }
@keyframes i-emblem { to { clip-path: circle(100% at 58% 62%); } }
@keyframes i-letter { to { transform: translateY(0); } }
@keyframes i-caribe { from { opacity: 0; letter-spacing: 1.2em; padding-left: 1.2em; } to { opacity: 1; letter-spacing: .44em; padding-left: .44em; } }
@keyframes i-load { to { transform: scaleX(1); } }

/* ---------- Navegación (con las olas debajo) ---------- */
.tcnav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter); background: var(--nav-bg); transition: transform .5s var(--ease); --prefs-line: var(--linea-fuerte); --prefs-accent: var(--sol); --prefs-ink: var(--texto); --prefs-font: var(--fuente); }
.tcnav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: var(--olas) 0 0 / 90px 100% repeat-x; pointer-events: none; }
.tcnav.is-hidden { transform: translateY(calc(-100% - 10px)); }
.tcnav__back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 650; color: var(--texto-2); border: 2px solid var(--linea-fuerte); transition: border-color .2s, color .2s; }
.tcnav__back:hover { color: var(--texto); border-color: var(--sol); }
.tcnav__brand img { height: 46px; width: auto; }
.tcnav__links { display: flex; gap: 2px; margin-left: auto; }
.tcnav__links a { position: relative; padding: 8px 10px; text-decoration: none; font-weight: 600; white-space: nowrap; color: var(--texto-2); }
.tcnav__links a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--sol); transform: scaleX(0); transition: transform .3s var(--ease); }
.tcnav__links a:hover { color: var(--texto); }
.tcnav__links a:hover::after { transform: scaleX(1); }
.tcnav__links .tcnav__join { color: var(--sol-texto); }
.tcnav__switch { padding: 9px 14px; border-radius: 10px; text-decoration: none; font-weight: 750; white-space: nowrap; background: var(--switch-bg); color: var(--switch-ink); box-shadow: var(--sombra-boton); transition: transform .2s; }
.tcnav__switch:hover { transform: translate(-1px, -1px); }
@media (max-width: 1140px) { .tcnav__links { display: none; } .prefs { margin-left: auto; } }
@media (max-width: 520px) { .tcnav__back-text { display: none; } .tcnav__brand img { height: 38px; } .tcnav { gap: 8px; } .tcnav__switch { padding: 8px 10px; font-size: .85rem; } }
@media (max-width: 380px) { .tcnav__switch { display: none; } }

/* ---------- Botones ---------- */
.tbtn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 800; font-stretch: 108%; text-decoration: none; border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.tbtn:hover { transform: translate(-2px, -2px); }
.tbtn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--sombra-dura); }
.tbtn--sol { background: var(--sol); color: var(--marino); border-color: var(--sombra-dura); box-shadow: var(--sombra-boton); }
.tbtn--sol:hover { box-shadow: 6px 6px 0 var(--sombra-dura); }
.tbtn--line { color: var(--texto); border-color: var(--linea-fuerte); }
.tbtn--line:hover { border-color: var(--ola); color: var(--ola-texto); }
.tbtn--sm { padding: 10px 16px; font-size: .92rem; border-radius: 12px; }
.tbtn--marino-line { background: #fff; color: var(--marino); border-color: var(--marino); box-shadow: 4px 4px 0 rgba(13, 43, 94, .25); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(120px, 16vh, 170px) 0 0; background: radial-gradient(70vmax 50vmax at 80% 0%, rgba(28, 111, 209, .3), transparent 60%), radial-gradient(40vmax 30vmax at 75% 60%, rgba(247, 174, 31, .14), transparent 60%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding-bottom: clamp(60px, 8vw, 100px); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { order: -1; max-width: 360px; margin-inline: auto; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; font-weight: 700; font-size: .9rem; }
.pill--live { background: rgba(14, 154, 123, .14); color: var(--palma-texto); border: 2px solid rgba(63, 208, 170, .4); }
.pill__dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #23c09a; --ping: #23c09a; }
.hero__title { margin: 20px 0; font-weight: 900; font-stretch: 118%; font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5.4rem); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.hero__lead { max-width: 52ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--texto-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__art { text-align: center; }
.emblem { position: relative; aspect-ratio: 1; border-radius: 32px; background: radial-gradient(circle at 50% 60%, #13315f, #0d2448); border: 2px solid var(--linea-fuerte); box-shadow: 10px 10px 0 var(--sombra-dura); padding: 8%; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s var(--ease); }
.emblem svg { width: 100%; height: 100%; overflow: visible; }
.emblem__ring { fill: none; stroke: #31508a; stroke-width: 1.5; stroke-dasharray: 4 6; }
.emblem__glow { animation: e-glow 4s ease-in-out infinite; transform-origin: 120px 150px; }
.emblem__sun { animation: e-sun 5s ease-in-out infinite; }
.emblem__palm { transform-origin: 150px 64px; animation: e-palm 5s ease-in-out infinite; }
.emblem__rays .ray { animation: e-ray 2.4s ease-in-out infinite; }
.emblem__rays .ray:nth-child(2) { animation-delay: .3s; }
.emblem__rays .ray:nth-child(3) { animation-delay: .6s; }
.emblem__wave--1 { animation: e-wave 4s linear infinite; }
.emblem__wave--2 { animation: e-wave 3s linear infinite reverse; }
.hero__caption { margin-top: 22px; color: var(--muted); font-size: .9rem; }
@keyframes e-glow { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes e-sun { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-4px); } }
@keyframes e-palm { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }
@keyframes e-ray { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes e-wave { to { transform: translateX(120px); } }

.sea { position: relative; height: clamp(70px, 9vw, 120px); overflow: hidden; }
.sea svg { position: absolute; left: 0; bottom: 0; width: 125%; height: 100%; }
.sw { animation: sea 9s linear infinite; }
.sw--1 { fill: rgba(31, 181, 227, .5); }
.sw--2 { fill: rgba(28, 111, 209, .7); animation-duration: 7s; animation-direction: reverse; }
.sw--3 { fill: var(--marino); animation-duration: 11s; }
@keyframes sea { to { transform: translateX(-360px); } }

/* ---------- Cifras ---------- */
.numbers { background: var(--marino); padding: 10px 0 clamp(50px, 7vw, 80px); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 820px) { .numbers__grid { grid-template-columns: 1fr 1fr; } }
.cifra { display: grid; gap: 6px; padding: 22px; border-radius: 20px; background: var(--fondo); border: 2px solid var(--linea-fuerte); box-shadow: var(--sombra-tarjeta); }
.cifra strong { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; font-stretch: 125%; line-height: 1; color: var(--ola); font-variant-numeric: tabular-nums; }
.cifra span { color: var(--texto-2); font-weight: 600; }
.cifra--sol { background: var(--sol); border-color: var(--sombra-dura); }
.cifra--sol strong, .cifra--sol span { color: var(--marino); }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-weight: 800; font-stretch: 115%; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sol-texto); }
.title { font-weight: 900; font-stretch: 115%; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.8rem); line-height: 1.02; letter-spacing: -.025em; max-width: 20ch; text-wrap: balance; }
.lead { margin-top: 18px; max-width: 58ch; color: var(--texto-2); font-size: 1.12rem; }

/* Por qué nace */
.why__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }
.why__p { margin-top: 18px; max-width: 58ch; color: var(--texto-2); font-size: 1.1rem; }
.why__quote { margin: 30px 0 0; padding: 20px 24px; border-left: 6px solid var(--sol); border-radius: 0 16px 16px 0; background: var(--superficie); font-weight: 750; font-stretch: 105%; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.35; }
.barriers { display: grid; gap: 14px; }
.barriers__label { font-weight: 700; color: var(--muted); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.barrier { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--superficie); border: 2px solid var(--linea); }
.barrier__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--superficie-2); color: var(--muted); font-weight: 900; }
.barrier__text { position: relative; font-weight: 650; color: var(--texto-2); }
.barrier__text::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; border-radius: 3px; background: var(--sol); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) calc(var(--d, 0s) + .6s); }
.barrier.is-in .barrier__text::after { transform: scaleX(1); }
.barrier.is-in .barrier__text { color: var(--muted); transition: color .5s calc(var(--d, 0s) + .7s); }
.answer { display: flex; align-items: center; gap: 16px; margin-top: 6px; padding: 18px 20px; border-radius: 18px; background: #fff; color: var(--marino); border: 2px solid var(--sombra-dura); box-shadow: var(--sombra-tarjeta); }
.answer img { width: 64px; height: auto; flex: none; }
.answer strong { color: var(--marino); }

/* Para quién */
.who { background: linear-gradient(var(--fondo), var(--fondo-2)); }
.who__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; perspective: 900px; }
@media (max-width: 1000px) { .who__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who__grid { grid-template-columns: 1fr; } }
.card { --c: var(--ola); position: relative; display: grid; align-content: start; gap: 12px; padding: 24px 22px 26px; border-radius: 22px; background: var(--superficie); border: 2px solid var(--linea-fuerte); box-shadow: var(--sombra-tarjeta); overflow: hidden; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.card[data-reveal] { transition: opacity .8s var(--ease) var(--d, 0s), transform .5s var(--ease); }
.card[data-reveal]:not(.is-in) { transform: translateY(26px); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); }
.card--sol { --c: var(--sol); } .card--palma { --c: var(--palma); } .card--mar { --c: var(--mar); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-weight: 800; font-stretch: 108%; font-size: 1.2rem; line-height: 1.2; }
.card p { color: var(--texto-2); font-size: .98rem; }
.who__note { margin-top: 26px; color: var(--muted); font-size: .95rem; }

/* Ruta de lanzamiento: 4 cursos en orden */
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.route::before { content: ""; position: absolute; left: 30px; right: 30px; top: 22px; height: 14px; background: var(--olas) 0 0 / 80px 100% repeat-x; opacity: .55; border-radius: 6px; }
@media (max-width: 980px) { .route { grid-template-columns: 1fr 1fr; } .route::before { display: none; } }
@media (max-width: 560px) { .route { grid-template-columns: 1fr; } }
.route__step { position: relative; display: grid; align-content: start; gap: 10px; padding: 0 0 4px; }
.route__n { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--superficie-2); border: 3px solid var(--linea-fuerte); font-weight: 900; font-stretch: 125%; font-size: 1.5rem; color: var(--texto-2); }
.route__tag { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; background: var(--superficie-2); color: var(--muted); }
.route__step h3 { font-weight: 850; font-stretch: 108%; font-size: 1.25rem; line-height: 1.2; }
.route__step p { color: var(--texto-2); font-size: .97rem; }
.route__step--pilot .route__n { background: var(--sol); border-color: var(--sombra-dura); color: var(--marino); box-shadow: 4px 4px 0 var(--sombra-dura), 0 0 40px rgba(247, 174, 31, .45); }
.route__step--pilot .route__tag { background: var(--sol); color: var(--marino); }
.route__step--pilot h3 { color: var(--sol-titulo); }
.route__step .tbtn { justify-self: start; margin-top: 6px; }
.pilot__sun { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--marino); --ping: var(--marino); }
.route__goal { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 22px; border-radius: 18px; border: 2px dashed rgba(247, 174, 31, .6); background: rgba(247, 174, 31, .08); }
.route__goal-sun { width: 34px; height: 34px; flex: none; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd66b, var(--sol)); box-shadow: 0 0 24px rgba(247, 174, 31, .55); animation: e-glow 4s ease-in-out infinite; }
.route__goal p { color: var(--texto-2); font-size: 1.05rem; }
.route__goal b { color: var(--sol-texto); }
.later__title { margin-top: clamp(56px, 8vw, 84px); font-weight: 850; font-stretch: 110%; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.later__lead { margin-top: 6px; color: var(--muted); }

/* Cursos que vienen después */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 2px solid var(--linea-fuerte); background: transparent; font-weight: 750; transition: background .2s, color .2s, border-color .2s; }
.filter span { padding: 1px 8px; border-radius: 99px; background: var(--superficie-2); font-size: .8rem; }
.filter:hover { border-color: var(--ola); }
.filter.is-on { background: var(--ola); border-color: var(--sombra-dura); color: var(--marino); box-shadow: var(--sombra-boton); }
.filter.is-on span { background: rgba(13, 43, 94, .2); }
.course-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .course-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .course-list { grid-template-columns: 1fr; } }
.course { display: grid; gap: 10px; padding: 18px 20px; border-radius: 18px; background: var(--superficie); border: 2px solid var(--linea); transition: transform .4s var(--ease), border-color .25s; }
.course:hover { transform: translateY(-4px); border-color: var(--ola); }
.course[data-area="hardware"]:hover { border-color: var(--sol); }
.course.is-out { display: none; }
.course.is-pop { animation: pop .5s var(--ease) both; }
.course__area { justify-self: start; padding: 3px 10px; border-radius: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: rgba(31, 181, 227, .16); color: var(--ola-texto); }
.course[data-area="hardware"] .course__area { background: rgba(247, 174, 31, .18); color: var(--sol-texto); }
.course h3 { font-weight: 800; font-stretch: 105%; font-size: 1.1rem; line-height: 1.25; }
.course__meta { display: flex; gap: 8px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.course__meta span + span::before { content: "·"; margin-right: 8px; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* Cómo funciona (siempre de noche) */
.how { background: var(--marino); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 46px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px 20px; border-radius: 20px; background: var(--fondo); border: 2px solid var(--linea-fuerte); box-shadow: var(--sombra-tarjeta); }
.step__n { display: block; margin-bottom: 12px; font-weight: 900; font-stretch: 125%; font-size: 1.8rem; line-height: 1; color: var(--sol); }
.step h3 { font-weight: 800; font-stretch: 106%; font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--texto-2); font-size: .95rem; }
.tide { position: relative; height: 28px; margin: 26px 0 0; background: var(--olas) 0 0 / 120px 100% repeat-x; border-radius: 8px; }
/* El sol navega de lado a lado moviendo solo transform (sin recalcular la página) */
.tide__track { position: absolute; top: -12px; left: 0; width: calc(100% - 26px); height: 26px; animation: sail 7s ease-in-out infinite alternate; }
.tide__sun { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sol); box-shadow: 0 0 20px 6px rgba(247, 174, 31, .5); }
@keyframes sail { from { transform: translateX(0); } to { transform: translateX(100%); } }
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .offers { grid-template-columns: 1fr; } }
.offer { padding: 20px; border-radius: 18px; border: 2px dashed rgba(255, 255, 255, .22); }
.offer h3 { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; color: var(--ola); }
.offer p { color: var(--texto-2); font-size: .95rem; }

/* Hacia dónde va */
.future { overflow: hidden; background: radial-gradient(60vmax 40vmax at 80% 50%, rgba(28, 111, 209, .2), transparent 60%), var(--fondo); }
.future__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .future__grid { grid-template-columns: 1fr; } }
.future .title { max-width: none; font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem); }
.stages { display: grid; margin-top: 30px; }
.stage { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 0 0 22px; }
.stage::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--linea-fuerte) 0 6px, transparent 6px 11px); }
.stage:last-child::before { display: none; }
.stage__dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 3px solid var(--linea-fuerte); background: var(--fondo); margin-top: 2px; }
.stage strong { display: block; font-weight: 800; font-stretch: 106%; font-size: 1.1rem; color: var(--texto-2); }
.stage small { color: var(--muted); font-size: .88rem; }
.stage.is-now .stage__dot { background: var(--sol); border-color: var(--sol); box-shadow: 0 0 0 6px rgba(247, 174, 31, .2); }
.stage.is-now strong { color: var(--strong); }
.stage.is-now small { color: var(--palma-texto); font-weight: 700; }
.stage:last-child strong { color: var(--ola-texto); }

.radar { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; display: grid; place-items: center; }
.radar__ring { position: absolute; border-radius: 50%; border: 2px dashed var(--linea-fuerte); }
.radar__ring em { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 99px; background: var(--fondo); font-style: normal; font-weight: 750; font-size: .82rem; white-space: nowrap; color: var(--texto-2); }
.radar__ring--2 { inset: 30%; border-color: rgba(31, 181, 227, .5); }
.radar__ring--3 { inset: 16%; }
.radar__ring--4 { inset: 2%; border-color: rgba(31, 181, 227, .45); border-style: solid; background: radial-gradient(circle, transparent 60%, rgba(31, 181, 227, .06)); animation: spin 60s linear infinite; }
.radar__ring--4 em { color: var(--ola-texto); animation: spin-label 60s linear infinite; }
/* Ondas desde Barranquilla: crecen con transform (no con tamaño) para ir fluidas */
.radar__pulse { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--sol); transform: scale(.18); opacity: 0; animation: pulse 4.5s var(--ease) infinite; }
.radar__pulse--b { animation-delay: 1.5s; }
.radar__pulse--c { animation-delay: 3s; }
.radar__core { position: relative; z-index: 2; display: grid; place-items: center; width: 30%; aspect-ratio: 1; padding: 4px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd66b, var(--sol)); color: var(--marino); text-align: center; box-shadow: 0 0 60px 10px rgba(247, 174, 31, .35), 5px 5px 0 var(--sombra-dura); line-height: 1.1; }
.radar__core b { font-weight: 900; font-size: clamp(.68rem, 1.4vw, .9rem); }
.radar__core small { display: block; font-weight: 700; font-size: .75rem; }
@keyframes pulse { 0% { transform: scale(.18); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-label { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(-360deg); } }

.countries { margin-top: clamp(60px, 8vw, 100px); overflow: hidden; border-block: 2px solid var(--linea); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.countries__track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.countries span { padding: 8px 16px; border-radius: 12px; font-weight: 800; font-stretch: 110%; white-space: nowrap; background: var(--superficie); border: 2px solid var(--linea-fuerte); color: var(--texto-2); }
.countries span:nth-child(20n + 12) { background: var(--sol); color: var(--marino); border-color: var(--sombra-dura); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Súmate (siempre de noche, con olas arriba) ---------- */
.join { overflow: hidden; background: linear-gradient(#0a1730, var(--marino) 55%, var(--marino)); color: #f2f6fc; padding-top: clamp(100px, 13vw, 160px); }
.join::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: var(--olas) 0 0 / 200px 100% repeat-x; transform: scaleY(-1); }
.join__glow { position: absolute; left: 50%; top: -22vmax; width: 60vmax; height: 60vmax; margin-left: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(247, 174, 31, .32), rgba(247, 174, 31, 0) 62%); animation: rise-glow 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes rise-glow { from { transform: translateY(0) scale(1); } to { transform: translateY(4vmax) scale(1.08); } }
.join .wrap { position: relative; }
.join__head { max-width: 780px; }
.join__title { font-weight: 900; font-stretch: 118%; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.join__ask { margin: clamp(40px, 6vw, 60px) 0 16px; font-weight: 800; font-stretch: 108%; font-size: 1.2rem; }
.join__ask span { margin-left: 6px; font-weight: 600; font-size: .95rem; color: var(--muted); }

.ways { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .ways { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .ways { grid-template-columns: 1fr; } }
.way { position: relative; display: grid; align-content: start; gap: 8px; padding: 20px 18px 22px; border-radius: 20px; border: 2px solid var(--linea-fuerte); background: var(--superficie); color: var(--texto); text-align: left; box-shadow: var(--sombra-tarjeta); }
.way[data-reveal] { transition: opacity .8s var(--ease) var(--d, 0s), transform .3s var(--ease), background .25s, border-color .25s, box-shadow .3s var(--ease); }
.way.is-in:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--sombra-dura); border-color: var(--sol); }
.way:active { transform: translate(2px, 2px) !important; box-shadow: 2px 2px 0 var(--sombra-dura); }
.way__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(247, 174, 31, .14); color: var(--sol); transition: background .25s, color .25s, transform .4s var(--ease); }
.way__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.way__title { font-weight: 850; font-stretch: 108%; font-size: 1.12rem; line-height: 1.2; }
.way__text { color: var(--texto-2); font-size: .93rem; line-height: 1.45; }
.way__check { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--linea-fuerte); color: transparent; font-weight: 900; font-size: .85rem; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.way--student .way__icon { background: rgba(31, 181, 227, .14); color: var(--ola); }
.way[aria-pressed="true"] { background: var(--sol); border-color: var(--sombra-dura); color: var(--marino); }
.way[aria-pressed="true"] .way__text { color: #3a3108; }
.way[aria-pressed="true"] .way__icon { background: var(--marino); color: var(--sol); transform: rotate(-8deg) scale(1.05); }
.way[aria-pressed="true"] .way__check { background: var(--marino); border-color: var(--marino); color: var(--sol); transform: scale(1.1); }
.way.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: translate(-2px, -6px) scale(1.03); } }

.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; margin-top: clamp(40px, 6vw, 64px); }
@media (max-width: 900px) { .join__grid { grid-template-columns: 1fr; } }
.join__why h3, .join-form h3 { font-weight: 850; font-stretch: 110%; font-size: 1.4rem; line-height: 1.2; }
.reasons { display: grid; gap: 14px; margin-top: 18px; }
.reasons li { position: relative; padding-left: 34px; color: var(--texto-2); }
.reasons li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd66b, var(--sol)); box-shadow: 0 0 14px rgba(247, 174, 31, .5); }
.reasons b { color: var(--strong); }
.allies { margin-top: 34px; }
.allies__label { font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sol); }
.allies__wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.allies__wall span { position: relative; display: grid; place-items: center; height: 64px; padding: 0 6px; border-radius: 14px; border: 2px dashed rgba(255, 255, 255, .22); color: var(--muted); font-weight: 700; font-size: .85rem; text-align: center; overflow: hidden; }
.allies__wall span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(247, 174, 31, .22) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4.8s ease-in-out infinite; }
.allies__wall span:nth-child(2)::after { animation-delay: .4s; } .allies__wall span:nth-child(3)::after { animation-delay: .8s; } .allies__wall span:nth-child(4)::after { animation-delay: 1.2s; } .allies__wall span:nth-child(5)::after { animation-delay: 1.6s; } .allies__wall span:nth-child(6)::after { animation-delay: 2s; }
@keyframes shine { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.allies__note { margin-top: 10px; color: var(--muted); font-size: .9rem; font-style: italic; }

.join-form { padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: #fff; color: var(--marino); border: 3px solid var(--sombra-dura); box-shadow: 10px 10px 0 var(--sombra-dura); }
.join-form__body { display: grid; gap: 14px; }
.join-form__picked { min-height: 1.6em; color: #4a5b78; font-weight: 600; }
.join-form__picked .pick { display: inline-block; margin: 2px 6px 2px 0; padding: 4px 10px; border-radius: 99px; background: var(--sol); color: var(--marino); font-weight: 800; font-size: .85rem; animation: pop .35s var(--ease) both; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 750; font-size: .92rem; }
.field em { font-style: normal; font-weight: 500; color: #6a7a96; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid #c9d3e3; background: #f7f9fc; color: var(--marino); font: inherit; font-size: 1rem; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: #8391ab; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mar); box-shadow: 0 0 0 4px rgba(28, 111, 209, .18); }
.field input.is-invalid { border-color: #b42318; }
.join-form__error { color: #b42318; font-weight: 700; font-size: .92rem; }
.join-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.join-form__actions .tbtn { flex: 1 1 170px; justify-content: center; cursor: pointer; }
.join-form .tbtn--sol { border-color: var(--marino); box-shadow: 4px 4px 0 var(--marino); }
.join-form .tbtn[disabled] { opacity: .7; cursor: progress; transform: none; }
.tbtn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.join-form__note { color: #6a7a96; font-size: .85rem; }
.join-form__done { display: grid; justify-items: center; gap: 12px; padding: 30px 10px; text-align: center; outline: none; animation: pop .5s var(--ease) both; }
.join-form__done p { color: #3a4b6b; max-width: 34ch; }
.join-form__sun { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd66b, var(--sol)); box-shadow: 0 0 40px rgba(247, 174, 31, .6), 4px 4px 0 var(--marino); animation: e-glow 3s ease-in-out infinite; }

.join__share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: clamp(40px, 6vw, 60px); padding-top: 28px; border-top: 2px dashed rgba(255, 255, 255, .18); }
.join__share p { flex: 1 1 320px; color: var(--texto-2); }
.join__share .tbtn { cursor: pointer; }
.join__peek { font-weight: 700; color: var(--ola); text-decoration: none; }
.join__peek:hover { text-decoration: underline; }

/* Pie: marino con olas encima */
.tcfooter { position: relative; background: var(--marino); color: #b7c6de; padding: 46px 0 40px; }
.tcfooter::before { content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; background: var(--olas) 0 0 / 220px 100% repeat-x; }
.tcfooter__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 26px; }
.tcfooter__brand { display: flex; align-items: center; gap: 18px; }
.tcfooter__brand img { width: 90px; height: auto; }
.tcfooter__brand strong { color: var(--sol); }
.tcfooter__nav { display: grid; gap: 8px; }
.tcfooter__nav a { text-decoration: none; font-weight: 700; color: #e6eef9; }
.tcfooter__nav a:hover { color: var(--sol); }
