/* Wave Program · School — hoja clara, compartida por la escuela y las internas de cada curso */
:root {
  --paper: #05161f;
  --card: rgba(255, 255, 255, 0.045);
  --ink: #eaf6ff;
  --ink-2: rgba(234, 246, 255, 0.64);
  --ink-3: rgba(234, 246, 255, 0.44);
  --line: rgba(255, 255, 255, 0.13);
  --accent: #38e1ff;
  --cian: #38e1ff;
  --navy: #072a3a;
  --sea: #0a8fab;
  --ed-gap: clamp(24px, 4vw, 64px);
  --ed-off: calc(0.41 * (100% - var(--ed-gap)) + var(--ed-gap));
  --r: 14px;           /* el radio del botón Menú, unificado en toda la escuela */
  --r-sm: 10px;
  --r-lg: 16px;
  --font-display: 'Syncopate', sans-serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* tramo claro: se invierte el papel y con él toda la escala de tinta */
body.light {
  --paper: #f4f8fa;
  --card: rgba(8, 22, 31, 0.035);
  --ink: #08161f;
  --ink-2: rgba(8, 22, 31, 0.64);
  --ink-3: rgba(8, 22, 31, 0.44);
  --line: rgba(8, 22, 31, 0.13);
  --accent: #0a8fab;
}
body.light .back { background: rgba(255,255,255,0.62); border-color: rgba(8,22,31,0.16); box-shadow: 0 12px 34px rgba(8,40,55,0.12), inset 0 1px 0 rgba(255,255,255,0.7); }
body.light .btn-2 { background: rgba(8,22,31,0.04); border-color: rgba(8,22,31,0.2); }
body.light .chip { background: rgba(8,22,31,0.035); }
body.light .chip.on, body.light .director, body.light .course:hover .more { color: #fff; }
body.light .course .more { border-color: rgba(8,22,31,0.26); }
body.light .fact, body.light .gtee { background: rgba(8,22,31,0.025); }
body.light .tbl-h > div:first-child { background: rgba(8,22,31,0.04); }
body.light .tbl-h > div:last-child { color: #05505f; }
body.light .mq { background: transparent; }
body.light a:hover { color: #076e83; }
body.light .course .ph { background: #dfe6ea; }
body.light .tag { background: rgba(255,255,255,0.9); border-color: rgba(8,22,31,0.12); color: #08161f; }
body {
  background: var(--paper); color: var(--ink); font-family: var(--font-body);
  transition: background-color 0.9s ease, color 0.9s ease;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-top: clamp(78px, 8vw, 96px);
}
a { color: var(--accent); }
a:hover { color: #9df3ff; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- volver, flotante y de cristal ---------- */
.back {
  position: fixed; top: 22px; left: 24px; z-index: 40;
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 12px 18px 12px 15px;
  border-radius: var(--r); text-decoration: none; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(5, 22, 31, 0.5);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 12px 34px rgba(2, 10, 16, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-family: var(--font-display); font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.back:hover { color: var(--ink); }
.back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 620px) { .back { top: 16px; left: 16px; padding: 11px 15px 11px 12px; } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 13px 24px; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 800; letter-spacing: 0.03em; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-1 { background: linear-gradient(180deg, #6ef2ff, #2bd4ef); color: #052430; box-shadow: 0 12px 28px rgba(43, 212, 239, 0.34); }
.btn-1:hover { color: #052430; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(43, 212, 239, 0.44); }
.btn-2 { background: rgba(255, 255, 255, 0.06); color: var(--ink); border-color: rgba(255, 255, 255, 0.22); }
.btn-2:hover { color: var(--ink); border-color: rgba(56, 225, 255, 0.6); transform: translateY(-2px); }
.btn-3 { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn-3:hover { background: rgba(255, 255, 255, 0.24); color: #fff; transform: translateY(-2px); }

/* ---------- tipografía ---------- */
.eyebrow { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }
h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 5.6vw, 74px); line-height: 1.03; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(25px, 3.9vw, 50px); line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 15px; line-height: 1.25; letter-spacing: 0.02em; }
.lede { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 620px; text-wrap: pretty; }
.p { font-size: 15.5px; line-height: 1.68; color: var(--ink-2); text-wrap: pretty; }
.sec { padding: clamp(80px, 12vw, 168px) 0; }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: var(--ed-gap); row-gap: 14px; align-items: start;
}
.sec-head > * { grid-column: 2; }
.sec-head > .eyebrow { grid-column: 1; grid-row: 1; padding-top: 7px; }
.sec-head > .p { max-width: 56ch; }
@media (max-width: 780px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > *, .sec-head > .eyebrow { grid-column: 1; grid-row: auto; padding-top: 0; }
}

/* ---------- hero fotográfico ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden;
  margin-top: calc(-1 * clamp(78px, 8vw, 96px)); }
.hero > .wrap { position: relative; z-index: 2; padding-bottom: clamp(52px, 8vh, 104px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 52%; }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,14,20,0.6) 0%, rgba(3,14,20,0.16) 34%, rgba(3,14,20,0.72) 74%, rgba(3,14,20,0.95) 100%); }
.hero-head {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: var(--ed-gap); row-gap: 18px; align-items: end;
}
.hero-head > * { grid-column: 2; color: #eaf6ff; }
.hero-head > .eyebrow { grid-column: 1; grid-row: 1; padding-bottom: 12px; color: #7af0ff; }
.hero-head h1 { font-size: clamp(36px, 6.2vw, 84px); max-width: 13ch; letter-spacing: -0.025em; text-shadow: 0 6px 40px rgba(2,12,18,0.6); }
.hero-scroll { position: absolute; left: 50%; bottom: 20px; z-index: 2; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 8.5px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(234,246,255,0.5); animation: hsBob 2.6s ease-in-out infinite; }
@keyframes hsBob { 0%,100% { transform: translate(-50%,0); opacity: .5; } 50% { transform: translate(-50%,7px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }
@media (max-width: 780px) {
  .hero-head { grid-template-columns: 1fr; }
  .hero-head > *, .hero-head > .eyebrow { grid-column: 1; grid-row: auto; padding-bottom: 0; }
}
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: clamp(22px, 3vw, 32px); }
.hero-note { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: rgba(234,246,255,0.82); max-width: 30ch; }
@media (max-width: 780px) {
  .hero-head { grid-template-columns: 1fr; }
  .hero-head > *, .hero-head > .eyebrow { grid-column: 1; grid-row: auto; padding-top: 0; }
}
.hero-show { display: grid; grid-template-columns: minmax(190px, 248px) minmax(0, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.hero-vid { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #08303f; }
.hero-vid video { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.hero-vid .vlab {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: var(--r-sm); background: rgba(6, 24, 33, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.hero-vid .vlab i { width: 7px; height: 7px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 10px var(--cian); }
.hero-cards { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.hero-cards .mini { display: flex; flex-direction: column; justify-content: center; padding: 20px 20px 19px; }
.hero-cards .mini:last-child { grid-column: 1 / -1; }
.mini .ic {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); margin-bottom: 13px;
  background: rgba(56, 225, 255, 0.14); border: 1px solid rgba(10, 143, 171, 0.28);
}
.mini .ic svg { width: 19px; height: 19px; stroke: var(--accent); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mini .lg { margin-top: 12px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-3); }
.mini { background: var(--card); border: 1px solid rgba(10, 143, 171, 0.16); border-radius: var(--r-lg); padding: 22px 24px; }
.mini .t { font-size: 16px; font-weight: 800; line-height: 1.35; }
.mini .d { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- respaldo ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(44px, 6vw, 76px) 0; }
.brands .k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.brands-head {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: var(--ed-gap); row-gap: 12px; align-items: start;
}
.brands-head > * { grid-column: 2; }
.brands-head > .eyebrow { grid-column: 1; grid-row: 1; padding-top: 6px; }
.brands h2 { font-size: clamp(22px, 3.2vw, 40px); max-width: 20ch; }
@media (max-width: 780px) { .brands-head { grid-template-columns: 1fr; } .brands-head > *, .brands-head > .eyebrow { grid-column: 1; grid-row: auto; padding-top: 0; } }
.brands .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; margin-top: 16px; }
/* cinta de logos: recorre de izquierda a derecha, sin costura */
.mq { margin-top: 22px; overflow: hidden; background: #fff; border-radius: var(--r-lg); padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-track { display: flex; align-items: center; gap: 58px; width: max-content; animation: mqRight 42s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mqRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.mq img { flex: none; height: 34px; width: auto; object-fit: contain; opacity: 0.9; transition: opacity 0.25s, transform 0.25s; }
.mq img:hover { opacity: 1; transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }
.brands .wm { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: rgba(8, 22, 31, 0.5); transition: color 0.2s; }
.brands .wm:hover { color: var(--ink); }

/* ---------- cursos ---------- */
.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(52px, 6vw, 84px); }
.course { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.course:hover { color: var(--ink); }
.course .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a2732; border-radius: var(--r-lg); }
.course .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2, .85, .2, 1); }
.course:hover .ph img { transform: scale(1.04); }
.course .tag {
  position: absolute; left: 14px; top: 14px; padding: 7px 13px; border-radius: var(--r-sm);
  background: rgba(5, 22, 31, 0.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18); color: var(--ink);
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.course .bd { display: flex; flex-direction: column; flex: 1; padding: 20px 0 0; }
.course h3 { font-size: clamp(17px, 2.1vw, 22px); letter-spacing: -0.01em; }
.course .rol { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-3); margin-top: 7px; }
.course ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.course li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.course li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--cian); }
.course .foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: auto; padding-top: 26px; }
.course .pr { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1; }
.course .pr small { display: block; margin-top: 7px; font-family: var(--font-body); font-size: 11px; font-weight: 700; line-height: 1.45; letter-spacing: 0.06em; color: var(--ink-3); }
.course .more {
  flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 11px 18px; border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.26); background: transparent;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.03em; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.course .more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.course:hover .more { background: var(--accent); border-color: var(--accent); color: #052430; }

/* ---------- pasos ---------- */
.steps { display: flex; flex-direction: column; margin-top: clamp(48px, 6vw, 76px); }
.step {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: var(--ed-gap); align-items: start;
  padding: clamp(26px, 3.4vw, 40px) 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { grid-column: 1; grid-row: 1 / span 2; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-3); }
.step .t { grid-column: 2; grid-row: 1; font-family: var(--font-display); font-size: clamp(19px, 2.7vw, 32px); font-weight: 700; text-transform: uppercase; line-height: 1.16; letter-spacing: -0.005em; }
.step .d { grid-column: 2; grid-row: 2; font-size: 15px; line-height: 1.62; margin-top: 12px; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 780px) {
  .step { grid-template-columns: 1fr; row-gap: 8px; }
  .step .n { grid-column: 1; grid-row: 1; }
  .step .t, .step .d { grid-column: 1; grid-row: auto; }
  .step .d { margin-top: 6px; }
}

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.sec-head + .chips, .chips + .chips { margin-left: var(--ed-off); }
@media (max-width: 780px) { .sec-head + .chips, .chips + .chips { margin-left: 0; } }
.chip { flex: none; white-space: nowrap; padding: 9px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #052430; }

/* ---------- resultados ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(48px, 6vw, 76px); }
@media (max-width: 1040px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(190px, 22vw, 250px);
  background: var(--card); border: 1px solid rgba(10, 143, 171, 0.16); border-radius: var(--r-lg); padding: 24px 20px 22px;
}
.stat .num { font-family: var(--font-display); font-size: clamp(23px, 2.5vw, 32px); font-weight: 700; line-height: 1.05; color: var(--ink); }
.stat .lbl { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.note { margin-top: 20px; padding: 16px 20px; border-radius: var(--r); border: 1px dashed rgba(10, 143, 171, 0.42); background: var(--card); font-size: 14px; color: var(--ink-2); }

/* ---------- testimonios ---------- */
.tsts { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 18px; margin-top: clamp(48px, 6vw, 76px); }
.tst { display: flex; flex-direction: column; }
.tst-fig { position: relative; overflow: hidden; background: #08303f; aspect-ratio: 9 / 16; max-height: min(54vh, 430px); }
.tst-fig video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tst-play {
  position: absolute; inset: 0; display: grid; place-items: center; border: none; cursor: pointer;
  background: linear-gradient(180deg, rgba(6,24,33,0) 40%, rgba(6,24,33,0.4));
  opacity: 0; transition: opacity 0.25s ease;
}
.tst-play span {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,0.94); box-shadow: 0 12px 30px rgba(6,24,33,0.4);
  transform: scale(0.86); transition: transform 0.25s cubic-bezier(.2,.85,.2,1);
}
.tst-play svg { width: 20px; height: 20px; margin-left: 3px; fill: #052430; }
.tst-fig:hover .tst-play, .tst-play:focus-visible { opacity: 1; }
.tst-fig:hover .tst-play span { transform: scale(1); }
.tst-play.gone { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .tst-play { opacity: 1; } .tst-play span { transform: scale(1); } }
.tst-name { margin-top: 14px; font-family: var(--font-display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.3; }
.tst-org { margin-top: 5px; font-size: 12px; font-weight: 700; color: var(--accent); }

/* ---------- temario ---------- */
.weeks { display: flex; flex-direction: column; margin-top: 34px; }
.week { position: relative; padding: 20px 0 20px 32px; border-left: 2px solid var(--line); }
.week:last-child { border-left-color: transparent; }
.week::before { content: ""; position: absolute; left: -7px; top: 26px; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.week.sail::before { background: var(--cian); box-shadow: 0 0 0 4px rgba(56, 225, 255, 0.2); }
.week .wk { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.week.sail .wk { color: var(--sea); }
.week .wd b { color: var(--ink); }
.week .wd { font-size: 15px; line-height: 1.62; margin-top: 8px; color: var(--ink-2); }
.week .wtools { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.week .wtools .chip { padding: 6px 12px; font-size: 11.5px; }

/* ---------- interna del curso ---------- */
.chero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; padding: clamp(36px, 5vw, 64px) 0 0; }
.chero .shot { border-radius: var(--r-lg); overflow: hidden; }
.chero .shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fact { background: rgba(255, 255, 255, 0.04); padding: 16px 18px; }
.fact .k { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.fact .v { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-top: 7px; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.buy .pr { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; line-height: 1; }
.buy .pr small { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--ink-3); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.col { background: var(--card); border: 1px solid rgba(10, 143, 171, 0.16); border-radius: var(--r-lg); padding: 24px; }
.col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.col li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.col li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 2px; background: var(--cian); }

/* ---------- par editorial de fotos ---------- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: clamp(70px, 10vw, 130px) 0 0; }
.pair figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #0a2732; }
.pair img { width: 100%; height: clamp(230px, 40vh, 420px); object-fit: cover; }
.pair figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px;
  background: linear-gradient(180deg, rgba(5,22,31,0) 0%, rgba(5,22,31,0.82) 100%);
  font-family: var(--font-display); font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(234,246,255,0.9);
}
@media (max-width: 620px) { .pair { grid-template-columns: 1fr; } }

/* ---------- cierre ---------- */
.final { background: rgba(56, 225, 255, 0.06); border: 1px solid rgba(56, 225, 255, 0.2); color: var(--ink); border-radius: var(--r-lg); padding: clamp(38px, 6vw, 68px) clamp(26px, 5vw, 60px); margin: clamp(46px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); }
.final .p { margin-top: 16px; max-width: 560px; }
.final .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 42px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer .c { font-size: 12.5px; color: var(--ink-3); }
footer .lk { display: flex; flex-wrap: wrap; gap: 20px; }
footer .lk a { font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
footer .lk a:hover { color: var(--accent); }

@media (max-width: 940px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .chero { grid-template-columns: 1fr; }
  .chero .shot img { aspect-ratio: auto; height: clamp(200px, 34vh, 320px); object-fit: cover; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .steps { grid-template-columns: 1fr; }
  .courses { grid-template-columns: 1fr; }
  .hero-show { grid-template-columns: 1fr; }
  .hero-vid { max-width: 264px; }
  .hero-vid video { aspect-ratio: 9 / 16; height: auto; }
  .hero-cards { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .top .mark { display: none; }
}


/* ═══════ landing larga de programa ═══════ */
/* la celda la dimensiona el texto; la imagen se estira a ella */
.phero { position: relative; display: grid; border-radius: var(--r-lg); overflow: hidden; background: #0b3d54; margin-top: 22px;
  min-height: clamp(360px, 56vh, 540px); }
.phero > img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(95deg, rgba(4,26,37,0.78) 0%, rgba(4,26,37,0.4) 48%, rgba(4,26,37,0.05) 78%),
              linear-gradient(180deg, rgba(4,26,37,0.36) 0%, rgba(4,26,37,0.1) 24%, rgba(4,26,37,0.6) 46%, rgba(4,26,37,0.9) 100%); }
.phero-txt { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; padding: clamp(24px, 4vw, 46px); }
.phero-txt .eyebrow { color: #7af0ff; }
.phero-txt h1 { color: #fff; margin-top: 13px; max-width: 19ch; font-size: clamp(26px, 4.2vw, 52px); text-shadow: 0 4px 30px rgba(3,20,29,0.5); }
.phero-txt .lede { color: rgba(255,255,255,0.86); margin-top: 18px; max-width: 640px; font-size: clamp(15px, 1.5vw, 18px); }
.phero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.phero-note { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.82); }

.quote { margin-top: 24px; padding-left: 22px; border-left: 3px solid var(--cian);
  font-family: var(--font-display); font-size: clamp(16px, 2vw, 22px); font-weight: 700; line-height: 1.4; }

.tbl { margin-top: 34px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tbl-h, .tbl-r { display: grid; grid-template-columns: 1fr 1fr; }
.tbl-h > div { padding: 15px 20px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.tbl-h > div:first-child { color: var(--ink-3); background: rgba(255, 255, 255, 0.05); }
.tbl-h > div:last-child { color: #9df3ff; background: rgba(56,225,255,0.14); }
.tbl-r { border-top: 1px solid var(--line); }
.tbl-r > div { padding: 15px 20px; font-size: 14.5px; line-height: 1.5; }
.tbl-r > div:first-child { color: var(--ink-3); }
.tbl-r > div:last-child { color: var(--ink); font-weight: 700; background: rgba(56,225,255,0.05); border-left: 1px solid var(--line); }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; }
.tgrp { background: var(--card); border: 1px solid rgba(10,143,171,0.16); border-radius: var(--r-lg); padding: 22px; }
.tgrp h3 { color: var(--accent); }
.tgrp .sub { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.tgrp ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.tgrp li { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.tgrp li b { display: block; color: var(--ink); }
.director { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 20px; border-radius: var(--r);
  background: var(--accent); color: #052430; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.director i { width: 8px; height: 8px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 10px var(--cian); }

details.acc { border-bottom: 1px solid var(--line); }
details.acc > summary { display: flex; align-items: baseline; gap: 16px; padding: 20px 40px 20px 0; cursor: pointer; list-style: none; position: relative; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: '+'; position: absolute; right: 6px; top: 18px; font-family: var(--font-display); font-size: 20px; color: var(--accent); }
details.acc[open] > summary::after { content: '−'; }
details.acc > summary .no { flex: none; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); white-space: nowrap; min-width: 74px; padding-top: 3px; }
details.acc > summary .ti { font-family: var(--font-body); font-size: clamp(15px, 1.6vw, 17.5px); font-weight: 800; line-height: 1.4; }
.acc-bd { padding: 0 40px 26px 78px; }
.acc-bd .lead { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.acc-bd .who { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--accent); }
.acc-bd ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.acc-bd li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.acc-bd li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--cian); }
.acc-bd .deliver { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(56,225,255,0.1); font-size: 13.5px; font-weight: 700; }
@media (max-width: 620px) {
  .acc-bd { padding-left: 0; }
  details.acc > summary { flex-direction: column; gap: 6px; }
  /* de dos columnas estrechas a pares apilados con etiqueta */
  .tbl-h { display: none; }
  .tbl-r { grid-template-columns: 1fr; }
  .tbl-r > div { padding: 13px 18px; }
  .tbl-r > div:first-child::before { content: 'Hoy'; display: block; margin-bottom: 5px;
    font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
  .tbl-r > div:last-child { border-left: none; border-top: 1px solid var(--line); }
  .tbl-r > div:last-child::before { content: 'Después'; display: block; margin-bottom: 5px;
    font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #9df3ff; }
}

.teacher { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; margin-top: 34px; }
.teacher .pic { border-radius: var(--r-lg); overflow: hidden; background: #0b3d54; }
.teacher .pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.teacher .nm { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; text-transform: uppercase; }
.teacher .rl { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }
@media (max-width: 620px) { .teacher { grid-template-columns: 1fr; } .teacher .pic { max-width: 200px; } }

.plist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.plist li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.plist li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 3px; background: var(--cian); }
.plist li b { color: var(--ink); }

.pricebox { background: var(--card); border: 1px solid rgba(10,143,171,0.28); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); margin-top: 34px; }
.pricebox .big { font-family: var(--font-display); font-size: clamp(26px, 3.8vw, 42px); font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.005em; }
.pricebox .was { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.pricebox .fine { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.gtees { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 26px; }
.gtee { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.gtee .g { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--accent); }
.gtee p { margin-top: 9px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

details.faq { border-bottom: 1px solid var(--line); }
details.faq > summary { display: block; padding: 18px 40px 18px 0; cursor: pointer; list-style: none; position: relative;
  font-size: 16px; font-weight: 800; line-height: 1.4; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-family: var(--font-display); font-size: 20px; color: var(--accent); }
details.faq[open] > summary::after { content: '−'; }
details.faq p { padding: 0 40px 22px 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

/* separadores de semana del temario */
.wsep { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 28px 0 12px; border-bottom: 1px solid var(--line); }
.wsep:first-child { padding-top: 0; }
.wsep span { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.wsep b { font-size: 15px; font-weight: 700; color: var(--ink); }
.wsep-final { margin-top: 20px; padding: 26px 28px; border-radius: var(--r); background: rgba(56, 225, 255, 0.07); border: 1px solid rgba(56, 225, 255, 0.2); }
.wsep-final .ti { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cian); }
.wsep-final p { margin: 12px 0 0; font-size: 15px; line-height: 1.62; color: rgba(234,246,255,0.78); max-width: 70ch; text-wrap: pretty; }
.pricebox .dep { margin-top: 10px; font-size: 14.5px; font-weight: 800; color: var(--accent); }

/* teléfono estrecho */
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .pricebox { padding: 22px 18px; }
  .gtee { padding: 16px; }
  .wsep-final { padding: 20px 18px; }
  .acc-bd { padding-right: 0; }
  details.faq > summary { padding-right: 32px; }
  details.faq p { padding-right: 0; }
  .final { padding: 32px 22px; }
  .phero-txt { padding: 20px 18px 22px; }
}

/* ---------- entrada y salida de los textos ---------- */
.rv { opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity .85s cubic-bezier(.2,.85,.2,1), transform .95s cubic-bezier(.2,.85,.2,1), filter .85s ease; }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv.out { opacity: 0; transform: translateY(-22px); filter: blur(7px); }
@media (prefers-reduced-motion: reduce) { .rv, .rv.out { opacity: 1 !important; transform: none !important; filter: none !important; } }

/* ---------- desenfoque de cierre: el pie se aleja ---------- */
#tailblur {
  position: fixed; left: 0; right: 0; bottom: 0; height: 24vh; z-index: 30; pointer-events: none;
  opacity: 0; transition: opacity .55s ease;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}
#tailblur.on { opacity: 1; }
