:root {
  --blue: #031795; --blue-2: #347FF6; --white: #fff; --bg: #F2F5FA; --text: #202536; --muted: #64748B; --tint: #DCE7FF;
  --blue-d: #020f63; --line: #E3E8F1; --red: #d93a4a; --accent: var(--blue-2);
  --t3d: #347FF6; --tlaser: #031795; --telec: #0B8FCE;
  --wrap: 1240px; --gut: max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --h: "Manrope", "Segoe UI", system-ui, sans-serif; --b: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-family: var(--b); color: var(--text); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-2); }
b, strong { color: var(--text); font-weight: 600; }
code { font-family: Consolas, Menlo, monospace; background: var(--bg); color: var(--blue); padding: 1px 6px; border-radius: 5px; font-size: .9em; border: 1px solid var(--line); }
svg.i { width: 1.15em; height: 1.15em; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { font-family: var(--h); }

/* Barra superior */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); }
.brand svg { width: 34px; height: 34px; }
.brand span { font-family: var(--h); font-weight: 700; font-size: 18px; line-height: 1.1; letter-spacing: -.01em; }
.brand small { display: block; font-family: var(--b); font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.menu { display: flex; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.menu a { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 9px 13px; border-radius: 8px; display: flex; align-items: center; gap: 7px; transition: color .2s, background .2s; position: relative; }
.menu a:hover { color: var(--blue-2); background: var(--bg); }
.menu a.on { color: var(--blue); font-weight: 600; }
.menu a.on::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-2); }
.menu a .dot { width: 8px; height: 8px; border-radius: 50%; }
.me { display: flex; align-items: center; gap: 8px; border: 1px solid var(--blue); cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 8px; background: var(--blue); color: #fff; transition: background .2s, color .2s; }
.me:hover { background: var(--blue-d); }
.me.empty { background: #fff; color: var(--blue); }
.me.empty:hover { background: var(--bg); }
@media (max-width: 1080px) { .menu { order: 3; width: 100%; margin: 0; overflow-x: auto; flex-wrap: nowrap; } .me { margin-left: auto; } }

/* Página y secciones a todo el ancho */
main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.view { display: none; padding-bottom: 80px; }
.view.on { display: block; }
.sec { margin-inline: calc(50% - 50vw); padding: 72px var(--gut); }
.sec.tint { background: var(--bg); }
.sec.deep { background: radial-gradient(1000px 420px at 85% 0%, rgba(52,127,246,.35), transparent 60%), var(--blue); color: #fff; }
.sec.deep h2, .sec.deep h3, .sec.deep b { color: #fff; }
.sec.deep p { color: var(--tint); }
.sec > :last-child { margin-bottom: 0; }

/* Encabezado de página (banda azul) y títulos de sección */
.head { margin-bottom: 36px; max-width: 760px; }
.head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 14px; color: var(--blue); }
.head p { font-size: 18px; color: var(--muted); margin: 0; line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--b); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.band { margin-inline: calc(50% - 50vw); padding: 72px var(--gut) 64px; margin-bottom: 48px; max-width: none; position: relative; overflow: hidden;
  background: radial-gradient(900px 400px at 90% -10%, rgba(52,127,246,.45), transparent 60%), linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 100%); }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.band > * { position: relative; z-index: 1; max-width: 760px; }
.band h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 300; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 18px; color: #fff; }
.band p { font-size: 18px; color: var(--tint); line-height: 1.6; margin: 0; }
.band .eyebrow { color: #9cc1ff; }

/* Paneles y tarjetas */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px 36px; margin-bottom: 24px; transition: box-shadow .25s var(--ease), border-color .25s; }
.sec.tint .panel { border-color: transparent; }
.panel > h2, .h2 { margin: 0 0 8px; color: var(--blue); font-size: 28px; font-weight: 500; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.kicker { margin: 0 0 8px; color: var(--blue-2); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
h3 { margin: 0 0 8px; color: var(--blue); font-size: 20px; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.6; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .panel { padding: 24px 20px; } .sec, .band { padding-top: 52px; padding-bottom: 52px; } }
.note { padding: 14px 18px; border-radius: 10px; background: var(--bg); border-left: 3px solid var(--blue-2); font-size: 15.5px; line-height: 1.55; }
.note.yellow { background: #EEF4FF; border-color: var(--blue); }
.note.red { background: #FFF1F2; border-color: var(--red); }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--blue); border-radius: 8px; padding: 11px 20px; font: inherit; font-size: 15px; font-weight: 600;
  color: #fff; background: var(--blue); cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn.alt, .btn.pink { background: var(--blue-2); border-color: var(--blue-2); }
.btn.alt:hover, .btn.pink:hover { background: #1f6be6; border-color: #1f6be6; }
.btn.ghost { background: #fff; color: var(--blue); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--blue-2); color: var(--blue-2); }
.btn.white { background: #fff; color: var(--blue); border-color: #fff; }
.btn.white:hover { background: var(--tint); border-color: var(--tint); }
.btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.line:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn.big { font-size: 16px; padding: 14px 24px; }
.btn svg.i { transition: transform .2s; }
.btn:hover svg.i:last-child { transform: translateX(2px); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Portada */
.hero { margin-inline: calc(50% - 50vw); padding: 88px var(--gut) 0; position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, rgba(3,23,149,.97) 0%, rgba(3,23,149,.9) 45%, rgba(3,23,149,.55) 100%), url("assets/hero.jpg") center / cover, var(--blue); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 500px at 80% 30%, rgba(52,127,246,.45), transparent 65%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; } .hero-art { display: none; } }
.hero h1 { font-size: clamp(42px, 6vw, 64px); font-weight: 300; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 22px; color: #fff; }
.hero h1 strong { color: #fff; font-weight: 700; }
.hero .sub { font-size: 19px; color: var(--tint); line-height: 1.6; margin: 0 0 32px; max-width: 560px; }
.hero .eyebrow { color: #9cc1ff; }
.hero-art { width: 100%; max-height: 420px; }
.hero-art .pulse { animation: pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hero-art .flow { stroke-dasharray: 4 10; animation: flow 6s linear infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -140; } }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid rgba(255,255,255,.18); }
.stats div { padding: 26px 24px 30px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.stats b { display: block; font-family: var(--h); font-size: 36px; font-weight: 300; color: #fff; letter-spacing: -.02em; }
.stats span { font-size: 14px; color: #a9c4f5; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats div:nth-child(3) { border-left: 0; padding-left: 0; } }

/* Mi equipo destacado */
.mine { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.mine::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, var(--blue-2)); }
.mine .ic { width: 72px; height: 72px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--c, var(--blue)); flex: none; }
.mine .ic svg { width: 34px; height: 34px; }
.mine .txt { flex: 1; min-width: 240px; }
.mine .txt h2 { margin: 0 0 4px; color: var(--blue); font-size: 26px; font-weight: 500; letter-spacing: -.01em; }

/* Tarjetas de tecnología */
.tech { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.tech::before { content: ""; height: 3px; background: var(--c); }
.tech:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 40px -18px rgba(3,23,149,.35), 0 0 0 1px rgba(52,127,246,.25); }
.tech .top-c { padding: 28px 28px 8px; display: flex; flex-direction: column; gap: 18px; }
.tech .top-c > svg { width: 52px; height: 52px; padding: 12px; border-radius: 12px; background: var(--tint); color: var(--c); transition: background .25s, color .25s; }
.tech:hover .top-c > svg { background: var(--c); color: #fff; }
.tech .top-c h3 { color: var(--blue); font-size: 24px; font-weight: 600; margin: 0; }
.tech .top-c small { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.tech .body { padding: 12px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.tech .body p { font-size: 15.5px; color: var(--muted); }
.tech .body p b { color: var(--text); }
.tech .go { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; color: var(--blue-2); display: flex; align-items: center; gap: 8px; font-size: 15px; }
.tech .flag { position: absolute; top: 18px; right: 18px; background: var(--blue); color: #fff; font-weight: 600; font-size: 11px; padding: 5px 10px; border-radius: 6px; letter-spacing: .1em; }
.tech.dim { opacity: .5; }

/* Reglas y etapas */
.rule { padding: 4px 0; }
.rule .ic { width: 52px; height: 52px; margin-bottom: 20px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #9cc1ff; display: grid; place-items: center; }
.rule .ic svg { width: 26px; height: 26px; }
.rule h3 { font-size: 19px; font-weight: 600; }
.rule p { font-size: 15.5px; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; position: relative; }
@media (max-width: 960px) { .stages { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.stages li { counter-increment: s; padding: 0 20px 0 0; position: relative; }
.stages li::before { content: "0" counter(s); display: block; font-family: var(--h); font-size: 14px; font-weight: 600; color: var(--blue-2); padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.stages li::after { content: ""; position: absolute; left: 0; top: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 4px var(--tint); }
.stages b { display: block; color: var(--blue); font-family: var(--h); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.stages span { font-size: 15px; color: var(--muted); line-height: 1.5; display: block; }

/* Desafíos */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); cursor: pointer; font: inherit; font-weight: 500; font-size: 14px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--text); transition: all .2s; }
.chip:hover { border-color: var(--blue-2); color: var(--blue-2); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.ch { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 22px; cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.ch:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 18px 40px -18px rgba(3,23,149,.35), 0 0 0 1px rgba(52,127,246,.25); }
.ch .num { font-family: var(--h); font-weight: 600; color: var(--blue-2); font-size: 12.5px; letter-spacing: .14em; }
.ch h3 { font-size: 21px; margin: 10px 0 6px; }
.ch .zona { font-size: 13.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-bottom: 14px; }
.ch .q { font-size: 15.5px; color: var(--text); line-height: 1.55; margin: 0 0 18px; }
.ch .more { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; color: var(--blue-2); font-size: 14.5px; }
.ch.featured { border-color: var(--blue-2); box-shadow: 0 0 0 1px var(--blue-2); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--tint); color: var(--blue); }

/* Diálogo */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 40px); box-shadow: 0 30px 80px -20px rgba(2,15,99,.5); }
dialog[open] { animation: dlg .25s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(10px) scale(.99); } }
dialog::backdrop { background: rgba(2, 15, 99, .55); backdrop-filter: blur(3px); }
.dlg-head { background: radial-gradient(600px 200px at 100% 0%, rgba(52,127,246,.5), transparent 70%), var(--blue); color: #fff; padding: 28px 32px; position: sticky; top: 0; z-index: 1; }
.dlg-head h2 { margin: 4px 0 0; font-size: 30px; font-weight: 400; letter-spacing: -.02em; color: #fff; }
.dlg-head .kicker { color: #9cc1ff; margin: 0; }
.dlg-x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; background: transparent; color: #fff; font-size: 20px; cursor: pointer; transition: background .2s; }
.dlg-x:hover { background: rgba(255,255,255,.12); }
.dlg-body { padding: 28px 32px 32px; }
.dlg-body h3 { margin-top: 22px; }
.idea { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
button.idea:hover { border-color: var(--blue-2); box-shadow: 0 8px 24px -14px rgba(3,23,149,.4); }
.idea .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--c); display: grid; place-items: center; flex: none; }
.idea .ic svg { width: 22px; height: 22px; }
.idea b { display: block; color: var(--blue); margin-bottom: 2px; }
.idea p { margin: 0; font-size: 15px; color: var(--muted); }

/* Página de tecnología */
.tech-head { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.tech-head .ic { width: 84px; height: 84px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; display: grid; place-items: center; box-shadow: 0 0 40px rgba(52,127,246,.5); }
.tech-head .ic svg { width: 42px; height: 42px; }
.tech-head h1 { margin: 0 0 6px !important; }
.warn-other { margin-bottom: 24px; }
.player { display: grid; grid-template-columns: 1fr 330px; gap: 28px; }
@media (max-width: 960px) { .player { grid-template-columns: 1fr; } }
.screen { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 100%); border-radius: 10px; overflow: hidden; }
.screen::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.screen iframe, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.screen .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--tint); padding: 30px; gap: 10px; }
.screen .ph svg { width: 60px; height: 60px; color: #9cc1ff; stroke-width: 1.25; filter: drop-shadow(0 0 18px rgba(52,127,246,.9)); }
.screen .ph b { color: #fff; font-family: var(--h); font-weight: 500; font-size: 22px; }
.screen .ph p { font-size: 15px; max-width: 460px; margin: 0; color: var(--tint); }
.chapters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.chapters li { display: flex; gap: 12px; align-items: baseline; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; transition: background .2s, color .2s; }
.chapters li.link { cursor: pointer; }
.chapters li.link:hover { background: var(--bg); color: var(--blue-2); }
.chapters .t { font-family: Consolas, Menlo, monospace; font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--tint); border-radius: 5px; padding: 2px 7px; flex: none; }
.chapters .n { font-family: var(--h); font-weight: 600; color: var(--blue-2); flex: none; width: 22px; font-size: 13px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: none; font: inherit; font-weight: 500; font-size: 15px; padding: 12px 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tabs button:hover { color: var(--blue-2); }
.tabs button.on { color: var(--blue); font-weight: 600; border-color: var(--blue-2); }
.tab { display: none; }
.tab.on { display: block; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; }
.steps li { counter-increment: s; position: relative; padding: 14px 12px 14px 58px; font-size: 16px; line-height: 1.5; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 8px; top: 14px; font-family: var(--h); font-weight: 600; font-size: 14px; color: var(--blue-2); width: 34px; height: 26px; border-radius: 6px; background: var(--tint); display: grid; place-items: center; }
.steps li b { color: var(--blue); }
.steps li small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.t th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
table.t td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
table.t td:first-child { font-weight: 600; color: var(--blue); width: 34%; }
.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.list li svg { margin-top: 3px; color: var(--blue-2); }
.list.bad li svg { color: var(--red); }
.soft { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.soft b { font-family: var(--h); font-size: 17px; color: var(--blue); }
.soft span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.soft a { font-weight: 600; font-size: 14.5px; margin-top: auto; text-decoration: none; }
.fix { padding: 18px 20px; border-radius: 10px; border: 1px solid var(--line); }
.fix b { display: flex; gap: 8px; align-items: center; color: var(--blue); margin-bottom: 6px; }
.fix b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.fix p { margin: 0; font-size: 15px; color: var(--muted); }
.check { display: flex; flex-direction: column; gap: 8px; }
.check label { display: flex; gap: 14px; align-items: center; font-size: 16px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; transition: background .2s, border-color .2s; }
.check label:hover { border-color: var(--blue-2); }
.check input { width: 20px; height: 20px; accent-color: var(--blue-2); flex: none; }
.check label:has(input:checked) { background: var(--bg); color: var(--muted); text-decoration: line-through; }

/* Página de tecnología pensada para estudiantes */
.prog-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 15px; }
.prog-badge b { color: #fff; }
.ruta { position: sticky; top: 69px; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: -24px 0 28px; padding: 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px -18px rgba(3,23,149,.35); }
.ruta button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; cursor: pointer; font: inherit; text-align: left; color: var(--text); transition: background .2s; }
.ruta button:hover { background: var(--bg); }
.ruta .rn { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--h); font-weight: 700; font-size: 14px; background: var(--tint); color: var(--blue); transition: background .2s, color .2s; }
.ruta button.ok .rn { background: var(--blue-2); color: #fff; }
.ruta .rt { font-weight: 600; font-size: 14px; line-height: 1.2; }
.ruta .rt small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 1080px) { .ruta { top: 110px; } }
@media (max-width: 960px) { .ruta { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; } }
.tsec { scroll-margin-top: 160px; }
.sh { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.sh .big { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; font-family: var(--h); font-size: 24px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 8px 22px -8px rgba(52,127,246,.8); }
.sh h2 { margin: 2px 0 6px; color: var(--blue); font-size: 28px; font-weight: 500; letter-spacing: -.01em; }
.sh p { margin: 0; font-size: 16.5px; }
.prog { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
@media (max-width: 960px) { .prog { grid-template-columns: 1fr; } }
.prog-card { border-radius: 12px; padding: 26px; color: var(--tint); display: flex; flex-direction: column; align-items: flex-start;
  background: radial-gradient(400px 200px at 100% 0%, rgba(52,127,246,.5), transparent 70%), var(--blue); }
.prog-card .pc-ic { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); margin-bottom: 18px; }
.prog-card .pc-ic svg { width: 28px; height: 28px; color: #fff; }
.prog-card > b { color: #fff; font-family: var(--h); font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.prog-card p { color: var(--tint); font-size: 15px; }
.pc-only { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,.1); margin: 4px 0 16px; }
.pc-only b { color: #fff; }
.pc-only svg { margin-top: 2px; color: #9cc1ff; }
.screen-parts { gap: 12px; }
.part { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.part > span { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--tint); color: var(--blue); font-family: var(--h); font-weight: 700; display: grid; place-items: center; }
.part b { color: var(--blue); display: block; margin-bottom: 2px; }
.part p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.stepper { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
@media (max-width: 960px) { .stepper { grid-template-columns: 1fr; } .st-list { display: none; } }
.st-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.st-list button { width: 100%; display: flex; gap: 12px; align-items: center; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; font: inherit; font-size: 14.5px; text-align: left; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.st-list button:hover { background: var(--bg); color: var(--text); }
.st-list .sn { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; border: 1px solid var(--line); background: #fff; }
.st-list button.done { color: var(--text); }
.st-list button.done .sn { background: var(--tint); border-color: var(--tint); color: var(--blue); }
.st-list button.now { background: var(--bg); color: var(--blue); font-weight: 600; }
.st-list button.now .sn { background: var(--blue); border-color: var(--blue); color: #fff; }
.st-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px 32px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); min-height: 380px; display: flex; flex-direction: column; }
.st-top { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 14px; color: var(--blue-2); margin-bottom: 20px; }
.st-top span { white-space: nowrap; }
.st-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue-2), var(--blue)); transition: width .35s var(--ease); }
#st-body { flex: 1; animation: fade .3s var(--ease); }
.st-num { font-family: var(--h); font-size: 60px; font-weight: 200; line-height: 1; color: var(--tint); margin-bottom: 4px; -webkit-text-stroke: 1px var(--blue-2); }
.st-title { font-size: 28px; font-weight: 600; color: var(--blue); margin: 8px 0 12px; }
.st-text { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 640px; }
.st-tip { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--tint); font-size: 16px; line-height: 1.5; max-width: 640px; }
.st-tip svg { color: var(--blue-2); margin-top: 2px; width: 20px; height: 20px; }
.st-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.btn:disabled { opacity: .4; cursor: default; }
.done-msg { display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #E9F9EF; color: #11643a; font-weight: 600; font-size: 15.5px; }
.done-msg.on { display: flex; animation: fade .3s var(--ease); }
.linkbtn { border: 0; background: none; font: inherit; color: var(--blue-2); text-decoration: underline; cursor: pointer; padding: 0; margin-left: 6px; font-weight: 500; }
.ck-head { display: flex; justify-content: space-between; align-items: baseline; }
.ck-head span { font-weight: 600; color: var(--blue-2); font-size: 14px; }
.safety { padding: 22px 24px; border-radius: 12px; background: #FFF7F7; border: 1px solid #FBE1E3; }
.safety h3 { color: #a12232; display: flex; align-items: center; gap: 8px; }
.safety .list li svg { color: var(--red); }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-2); box-shadow: 0 8px 24px -16px rgba(3,23,149,.4); }
.faq summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--blue); font-size: 16.5px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 300; color: var(--blue-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary svg { color: var(--blue-2); width: 20px; height: 20px; }
.faq details p { margin: 0; padding: 0 18px 18px 50px; color: var(--text); font-size: 16px; }
.glos { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .glos { grid-template-columns: 1fr; } }
.glos div { padding: 14px 16px; border-radius: 10px; background: var(--bg); }
.glos dt { font-family: var(--h); font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.glos dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Circuitos */
.circ { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.circ:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(3,23,149,.35); }
.circ .art { height: 170px; background: radial-gradient(circle at 50% 60%, #fff 0%, var(--bg) 70%); display: grid; place-items: center; padding: 16px; position: relative; border-bottom: 1px solid var(--line); }
.circ .art img { max-height: 136px; max-width: 80%; }
.circ .art .n { position: absolute; top: 14px; left: 14px; font-family: var(--h); font-size: 13px; font-weight: 600; color: var(--blue-2); letter-spacing: .1em; }
.circ .art .n::before { content: "0"; }
.circ .in { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.circ h3 { font-size: 19px; margin: 0 0 4px; }
.circ .model { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.circ p { font-size: 15px; }
.circ .use { font-size: 14px; background: var(--bg); border-left: 3px solid var(--blue-2); border-radius: 0 8px 8px 0; padding: 10px 12px; margin-bottom: 10px; line-height: 1.5; }
.circ .learn { font-size: 14px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.circ .btns { margin-top: auto; gap: 8px; }
.circ .btn { font-size: 14px; padding: 9px 14px; }
.circ.howto { background: var(--blue); border-color: var(--blue); color: #fff; }
.circ.howto h3 { color: #fff; }
.circ.howto .steps li { border-color: rgba(255,255,255,.15); color: var(--tint); }
.circ.howto .steps li b { color: #fff; }
.circ.howto .steps li::before { background: rgba(255,255,255,.12); color: #9cc1ff; }

/* Equipos */
.team { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s; }
.team:hover { box-shadow: 0 18px 40px -22px rgba(3,23,149,.35); }
.team .bar { padding: 20px 22px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); position: relative; }
.team .bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); }
.team .bar > svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--tint); color: var(--c); }
.team .bar h3 { margin: 0; font-size: 19px; }
.team .bar small { display: block; font-size: 13px; color: var(--muted); }
.team .bar .mesa { margin-left: auto; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-weight: 600; font-size: 11px; letter-spacing: .1em; color: var(--muted); text-align: center; line-height: 1.2; }
.team .bar .mesa br + * , .team .bar .mesa { white-space: nowrap; }
.team .in { padding: 16px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.team ul { margin: 0 0 14px; padding: 0; list-style: none; }
.team li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.team li span { color: var(--muted); font-size: 13px; text-align: right; }
.team .prof { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.team .btn { margin-top: auto; justify-content: center; }
.team.mine-t { border-color: var(--blue-2); box-shadow: 0 0 0 1px var(--blue-2); }
.tbox { width: 100%; min-height: 320px; font: 14.5px/1.6 Consolas, Menlo, monospace; padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); resize: vertical; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.tbox:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(52,127,246,.18); }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; color: var(--blue); font-size: 14px; }
.field input, .field select { font: inherit; font-weight: 400; color: var(--text); padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.sum { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 24px; }
.sum span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-size: 13.5px; font-weight: 500; color: var(--blue); }

/* Selector de equipo */
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.pick button { border: 1px solid var(--line); cursor: pointer; font: inherit; text-align: left; border-radius: 10px; padding: 16px; background: #fff; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pick button::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); }
.pick button:hover { border-color: var(--blue-2); box-shadow: 0 8px 22px -14px rgba(3,23,149,.45); }
.pick b { display: block; font-family: var(--h); font-size: 17px; color: var(--blue); }
.pick small { color: var(--muted); font-size: 13px; }

/* Pie */
footer { background: var(--blue-d); color: #a9c4f5; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 48px 20px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-in img { height: 44px; opacity: .9; }
.foot-in p { margin: 0; font-size: 14px; color: #a9c4f5; }
.foot-in p b { color: #fff; font-family: var(--h); font-weight: 600; font-size: 16px; display: block; }
.foot-in nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.foot-in nav a { color: #a9c4f5; text-decoration: none; font-size: 14px; transition: color .2s; }
.foot-in nav a:hover { color: #fff; }

/* Aparición progresiva */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* Kit y circuitos de electrónica */
.kit-grid { align-items: start; }
.kit-grid h3 { margin-top: 0; }
table.kit-t td { padding: 10px 10px; font-size: 14.5px; }
table.kit-t td:first-child { width: 40%; }
table.kit-t td.qty { white-space: nowrap; color: var(--muted); }
.wire-c { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.wire-c i { width: 16px; height: 6px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.nivel { margin-top: 22px; }
.nivel-t { background: var(--bg); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.nivel-t span { font-family: var(--h); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--telec); }
.nivel-t h3 { font-size: 22px; margin: 6px 0 8px; color: var(--blue); }
.nivel-t p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.5; }
.circ .art.dia { height: 210px; padding: 10px; background: #f9f9f9; cursor: zoom-in; }
.circ .art.dia img { max-height: 100%; max-width: 100%; }
.circ .art.dia .n { background: #fff; padding: 2px 7px; border-radius: 6px; z-index: 1; }
.dia-big { display: block; margin: 16px 0 6px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #f9f9f9; cursor: zoom-in; }
.dia-big img { display: block; width: 100%; height: auto; }
.dia-cap { font-size: 14px; margin: 6px 0 14px; line-height: 1.5; }
table.cables td { font-size: 14.5px; padding: 9px 12px; }
table.cables td:first-child { width: 40%; }
.code-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.code-h h3 { margin: 0; }
.code-h .btn { font-size: 14px; padding: 8px 14px; }
pre.code { margin: 12px 0 8px; padding: 18px 20px; max-height: 420px; overflow: auto; background: #101735; color: #e5ebff; border-radius: 10px; font: 13.5px/1.55 Consolas, Menlo, monospace; tab-size: 2; }
@media (max-width: 640px) { .dlg-body { padding: 20px 16px 24px; } }

@media print {
  .top, footer, .no-print, .band { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  .team { break-inside: avoid; }
}