/* ==========================================================================
   Remotos Academy · La Ruta — identidad "mapa de transporte / Línea Remota"
   Una línea amarilla gruesa recorre la página: estaciones, rótulos, roundels.
   ========================================================================== */

:root {
  --yellow: #FFE400;
  --blue: #0012FD;
  --blue-deep: #0816D4;
  --ink: #11111A;
  --ink-2: #1C1C28;
  --paper: #F6FAFF;
  --white: #FFFFFF;
  --muted: #5B5B66;
  --gray: #E1E1E1;
  --cyan: #00C2FF;
  --coral: #FF5A4E;

  --f-head: "Poppins", system-ui, sans-serif;
  --f-ui: "Montserrat", system-ui, sans-serif;

  --line-w: 14px;
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.6 var(--f-ui);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.05; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.porque :focus-visible, .intro :focus-visible, .experiencia :focus-visible, .final :focus-visible, .site-footer :focus-visible, .ticker :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--yellow); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.ic { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 700 .95rem/1.2 var(--f-ui); text-decoration: none; text-align: center;
  background: var(--bg); color: var(--fg); border: 3px solid var(--bg);
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  will-change: transform;
}
.btn:hover { box-shadow: 0 6px 0 0 rgba(17,17,26,.9); transform: translateY(-3px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-lg { min-height: 58px; padding: 16px 28px; font-size: 1.02rem; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .86rem; }
.btn-ink { --bg: var(--ink); --fg: var(--yellow); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn-yellow:hover { box-shadow: 0 6px 0 0 var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--yellow); }
.btn-line-light { color: var(--white); border-color: var(--white); }
.btn-line-light:hover { background: var(--white); color: var(--blue); box-shadow: 0 6px 0 0 var(--ink); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }

/* ---------- Mapa lateral de progreso (decorativo) ---------- */
.linemap { display: none; }
@media (min-width: 1100px) {
  .linemap {
    display: block; position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
    z-index: 40; height: 300px; width: 16px; pointer-events: none;
    mix-blend-mode: normal;
  }
  .linemap-track { position: absolute; left: 5px; top: 0; bottom: 0; width: 6px; border-radius: 6px; background: rgba(17,17,26,.18); overflow: hidden; }
  .linemap-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0); }
  .linemap ol { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; }
  .linemap li { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 4px solid var(--ink); transition: background .3s, transform .3s var(--ease); }
  .linemap li.on { background: var(--yellow); }
  .linemap li.now { transform: scale(1.35); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--yellow);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(246,250,255,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(17,17,26,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { width: 168px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 22px; }
.site-nav ul a {
  font: 700 .9rem/1 var(--f-ui); text-decoration: none; padding: 8px 0; position: relative;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav ul a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; gap: 5px; place-content: center; width: 48px; height: 48px;
    background: var(--ink); border: 0; border-radius: 50%; cursor: pointer; z-index: 2;
  }
  .nav-toggle span { display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--yellow); transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .brand img { width: 144px; }

  /* Sin JS el menú queda visible (en flujo). Con JS se vuelve panel desplegable. */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 12px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 14px; }

  .js .site-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--ink); padding: 24px var(--gutter) 32px;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease), visibility 0s .45s;
  }
  .js .site-nav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease); }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: flex; align-items: center; gap: 14px; color: var(--white); font: 800 1.5rem/1 var(--f-head); padding: 14px 0; border-bottom: 2px solid rgba(255,255,255,.12); }
  .js .site-nav ul a::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--yellow); flex: none; }
  .js .site-nav ul a::after { display: none; }
  .js .site-nav .btn { --bg: var(--yellow); --fg: var(--ink); min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--yellow); overflow: hidden;
  padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}
.hero::after { /* rieles del fondo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(17,17,26,.05) 0 2px, transparent 2px 64px);
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 70%, transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 {
  font-weight: 900; font-size: clamp(2.7rem, 7.4vw, 6.4rem); line-height: .95; letter-spacing: -.035em;
  margin-bottom: 26px;
}
.hero h1 .h-line { display: block; }
.hero h1 .hl {
  color: var(--blue);
  background: linear-gradient(var(--ink), var(--ink)) no-repeat left 92% / 100% .09em;
  padding-bottom: .06em;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); font-weight: 600; max-width: 56ch; margin-bottom: 14px; }
.hero-entities { font-size: .95rem; color: #2A2A33; max-width: 60ch; margin-bottom: 30px; border-left: 6px solid var(--ink); padding-left: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-center { justify-content: center; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; }
.porthole {
  position: absolute; inset: 9%; border-radius: 50%; overflow: hidden;
  border: 22px solid var(--blue); background: var(--blue-deep);
  box-shadow: 0 0 0 6px var(--ink);
}
.porthole img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hr-line { stroke: var(--ink); stroke-width: 16; stroke-linecap: round; }
.hr-stop { fill: var(--paper); stroke: var(--ink); stroke-width: 6; }
.hr-goal { fill: var(--yellow); stroke-width: 7; }
.hr-train { fill: var(--blue); stroke: var(--paper); stroke-width: 4; }
.tag-chip {
  position: absolute; background: var(--ink); color: var(--yellow);
  font: 700 .78rem/1 var(--f-ui); letter-spacing: .04em; padding: 10px 14px; border-radius: 999px;
  white-space: nowrap; box-shadow: 4px 4px 0 var(--blue);
}
.tag-chip.c1 { top: 4%; left: -2%; }
.tag-chip.c2 { top: 52%; right: -4%; }
.tag-chip.c3 { bottom: 2%; left: 14%; }
.hero-foot { position: relative; z-index: 1; margin-top: 24px; }
.scroll-cue { display: inline-block; width: 28px; height: 46px; border: 3px solid var(--ink); border-radius: 20px; position: relative; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: var(--ink); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 380px; order: -1; margin-bottom: 4px; }
  .tag-chip { font-size: .7rem; padding: 8px 11px; }
  .tag-chip.c2 { right: 0; }
  .hero-foot { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--yellow); overflow: hidden; border-block: 6px solid var(--blue); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li {
  display: flex; align-items: center; gap: 22px; padding: 16px 22px 16px 0;
  font: 800 1.05rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
.ticker li::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones comunes ---------- */
section { position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 800 .8rem/1 var(--f-ui) !important; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 4px solid currentColor; }

/* ---------- Presentación (azul): aquí nace la línea ---------- */
.intro { background: var(--blue); color: var(--white); padding: clamp(72px, 11vw, 150px) 0; overflow: hidden; }
.birth { position: absolute; left: clamp(10px, 4vw, 60px); top: 0; height: 100%; width: 40px; overflow: visible; }
.birth-line { stroke: var(--yellow); stroke-width: 14; vector-effect: non-scaling-stroke; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); padding-left: clamp(28px, 6vw, 80px); }
.intro h2 { font-weight: 900; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1; }
.definition { font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.7; margin-bottom: 36px; }
.definition mark { background: var(--yellow); color: var(--ink); padding: 0 .25em; border-radius: 4px; font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }
.stats li { border-top: 6px solid var(--yellow); padding-top: 14px; }
.stats b { display: block; font: 900 clamp(2.6rem, 5vw, 3.8rem)/1 var(--f-head); color: var(--yellow); }
.stats span { font: 700 .82rem/1.3 var(--f-ui); text-transform: uppercase; letter-spacing: .06em; }
.bridge { font-size: 1.02rem; opacity: .92; padding: 20px 22px; border-radius: var(--radius); background: var(--blue-deep); border-left: 6px solid var(--yellow); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Ruta: 4 estaciones ---------- */
.ruta { background: var(--paper); padding: clamp(72px, 10vw, 130px) 0; }
.metro { position: relative; height: 40px; margin: 0 0 32px; display: none; }
.metro-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.metro-base { stroke: var(--gray); stroke-width: 14; vector-effect: non-scaling-stroke; }
.metro-line { stroke: var(--yellow); stroke-width: 14; vector-effect: non-scaling-stroke; }
.metro-dot {
  position: absolute; top: 50%; left: calc(12.5% + var(--i) * 25%); width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: var(--paper); border: 7px solid var(--ink); transition: background .3s, transform .3s var(--ease);
}
.metro-dot.on { background: var(--yellow); transform: scale(1.15); }
.metro-train { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--paper), 0 0 0 9px var(--blue); }

.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.stage details { height: 100%; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 22px; transition: background .35s, color .35s, transform .35s var(--ease), box-shadow .35s; }
.stage summary { list-style: none; cursor: pointer; display: grid; gap: 14px; }
.stage summary::-webkit-details-marker { display: none; }
.stage-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 7px solid var(--blue); font: 900 1.1rem/1 var(--f-head); background: var(--paper);
}
.stage-title { font: 800 1.35rem/1.15 var(--f-head); }
.stage-body { margin-top: 14px; }
.stage-body p { color: var(--muted); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 700 .76rem/1 var(--f-ui); padding: 8px 11px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); }
.stage.active details { background: var(--ink); color: var(--white); transform: translateY(-8px); box-shadow: 0 10px 0 var(--yellow); }
.stage.active .stage-num { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.stage.active .stage-body p { color: #C9C9D6; }
.stage.active .chips li { background: transparent; border-color: var(--yellow); color: var(--yellow); }
.disclaimer { margin-top: 36px; font-size: .9rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.disclaimer::before { content: "i"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 800 .8rem/1 var(--f-head); }

@media (min-width: 1024px) {
  .metro { display: block; }
  .ruta-pin { min-height: 100vh; display: flex; align-items: center; }
}
@media (max-width: 1023px) {
  .stages { grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 38px; }
  .stages::before { content: ""; position: absolute; left: 11px; top: 20px; bottom: 20px; width: 10px; border-radius: 10px; background: var(--yellow); box-shadow: 0 0 0 3px var(--ink); }
  .stage { position: relative; padding-bottom: 18px; }
  .stage::before { content: ""; position: absolute; left: -36px; top: 30px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 6px solid var(--ink); z-index: 1; }
  .stage.active::before { background: var(--yellow); }
  .stage.active details { transform: none; box-shadow: 6px 6px 0 var(--yellow); }
}

/* ---------- Por qué: tablero de salidas ---------- */
.porque { background: var(--ink); color: var(--white); padding: clamp(72px, 10vw, 130px) 0; }
.porque .section-head p:not(.eyebrow) { color: #C9C9D6; }
.porque .eyebrow { color: var(--yellow); }
.board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  grid-column: span 2; position: relative; background: var(--ink-2); border-radius: 16px; padding: 26px 24px 28px;
  border: 2px solid #2C2C3A; overflow: hidden; transition: border-color .3s, transform .3s var(--ease);
}
.tile:nth-child(4) { grid-column: span 3; }
.tile-star { grid-column: span 3; background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.tile::before { /* línea de la bisagra del tablero */
  content: ""; position: absolute; left: 0; right: 0; top: 62px; height: 2px; background: rgba(0,0,0,.45);
}
.tile-n { display: inline-block; font: 800 .75rem/1 var(--f-ui); letter-spacing: .14em; color: var(--yellow); background: #000; padding: 6px 9px; border-radius: 6px; margin-bottom: 30px; }
.tile-star .tile-n { background: var(--ink); }
.tile h3 { font: 800 1.35rem/1.15 var(--f-head); margin-bottom: 12px; color: var(--yellow); text-transform: uppercase; letter-spacing: 0; }
.tile-star h3 { color: var(--ink); font-size: 1.6rem; }
.tile p { color: #C9C9D6; font-size: .96rem; }
.tile-star p { color: var(--ink); font-weight: 600; }
.tile:hover { border-color: var(--yellow); translate: 0 -4px; }
.flap .ch { display: inline-block; }
@media (max-width: 960px) {
  .board { grid-template-columns: 1fr 1fr; }
  .tile, .tile:nth-child(4) { grid-column: span 1; }
  .tile-star { grid-column: span 2; }
}
@media (max-width: 600px) {
  .board { grid-template-columns: 1fr; }
  .tile, .tile:nth-child(4), .tile-star { grid-column: auto; }
}

/* ---------- Programas: red de líneas ---------- */
.programas { position: relative; background: var(--paper); padding: clamp(72px, 10vw, 130px) 0; overflow: hidden; }
.hr-stop.lit { fill: var(--yellow); }
.faq .ans { overflow: hidden; }
.network { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.network path { stroke-linecap: round; stroke-linejoin: round; fill: none; }
.network .n-case { stroke: var(--ink); stroke-width: 20; }
.network .n-cable { stroke: var(--blue); stroke-width: 11; }
.network .n-pulse { stroke: var(--yellow); stroke-width: 5; display: none; }
.js-motion .network .n-pulse { display: inline; }
.network .n-plug { fill: var(--paper); stroke: var(--ink); stroke-width: 5; }
.programas .wrap { position: relative; z-index: 1; }
.program {
  position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.program:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--ink); }
.prog-media { margin: 0; background: var(--blue); }
.prog-media img { width: 100%; height: 100%; object-fit: cover; }
.program h3 { font: 800 1.5rem/1.12 var(--f-head); margin-bottom: 10px; }
.program .for { font-weight: 700; color: var(--blue); margin-bottom: 12px; font-size: .95rem; }
.program p { color: #33333D; }
.tag {
  display: inline-block; margin-bottom: 14px; padding: 8px 12px; border-radius: 6px;
  background: var(--ink); color: var(--yellow); font: 800 .74rem/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pills li { font: 800 .8rem/1 var(--f-ui); padding: 9px 13px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--ink); }

.program-cert { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--yellow); }
.program-cert .prog-media { aspect-ratio: 4/3; border-right: 3px solid var(--ink); }
.program-cert .prog-copy { padding: clamp(24px, 4vw, 44px); }
.program-cert h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.program-cert p { color: var(--ink); }
.program-cert .for { color: var(--blue-deep); }

.branch-note {
  margin: clamp(64px, 9vw, 120px) auto clamp(40px, 6vw, 72px); max-width: 760px; text-align: center;
  background: var(--white); border: 3px dashed var(--ink); border-radius: 16px; padding: 16px 20px; font-size: .95rem;
}
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.program-spec { padding: 0 0 26px; border-top: 14px solid var(--line); }
.program-spec .prog-media { aspect-ratio: 16/10; margin-bottom: 22px; border-bottom: 3px solid var(--ink); }
.program-spec h3, .program-spec p, .program-spec .roles { padding: 0 24px; }
.roles { margin-top: 16px; font-size: .9rem; }
.roles strong { display: block; font: 800 .74rem/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.roles ul { display: flex; flex-wrap: wrap; gap: 6px; }
.roles li { padding: 6px 10px; border-radius: 8px; background: var(--paper); border: 1.5px solid var(--gray); font-weight: 600; font-size: .82rem; }

.program-bridge { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: 1.1fr .9fr; background: var(--ink); color: var(--white); }
.program-bridge .prog-copy { padding: clamp(24px, 4vw, 44px); order: -1; }
.program-bridge h3 { font-size: clamp(2rem, 4vw, 3rem); color: var(--yellow); }
.program-bridge .for { color: #9EA6FF; }
.program-bridge p { color: #D8D8E2; }
.program-bridge .tag { background: var(--yellow); color: var(--ink); }
.program-bridge .prog-media { aspect-ratio: 4/3; border-left: 3px solid var(--ink); }
.program-bridge:hover { box-shadow: 8px 8px 0 var(--yellow); }

@media (max-width: 960px) {
  .specs { grid-template-columns: 1fr; gap: 28px; max-width: 560px; margin: 0 auto; }
  .program-cert, .program-bridge { grid-template-columns: 1fr; }
  .program-cert .prog-media { border-right: 0; border-bottom: 3px solid var(--ink); aspect-ratio: 16/10; }
  .program-bridge .prog-copy { order: 0; }
  .program-bridge .prog-media { border-left: 0; aspect-ratio: 16/10; }
}

/* ---------- Experiencia: boleto ---------- */
.experiencia { background: var(--blue); color: var(--white); padding: clamp(72px, 10vw, 130px) 0; overflow: hidden; }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.experiencia h2 { font-weight: 900; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; margin-bottom: 36px; }
.tickets { position: relative; height: 170px; }
.ticket {
  position: absolute; display: flex; align-items: center; gap: 16px; width: min(300px, 80%);
  background: var(--yellow); color: var(--ink); padding: 20px 24px; border-radius: 14px;
  -webkit-mask: radial-gradient(circle 12px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket i { font: 900 2rem/1 var(--f-head); font-style: normal; padding-right: 16px; border-right: 3px dashed var(--ink); }
.ticket b { font: 800 1.2rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.ticket.t1 { top: 0; left: 0; transform: rotate(-4deg); }
.ticket.t2 { top: 50px; left: 12%; transform: rotate(2deg); background: var(--white); }
.ticket.t3 { top: 100px; left: 24%; transform: rotate(-1deg); }
.exp-body { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.topics { display: grid; gap: 4px; margin-bottom: 26px; }
.topics li { display: flex; align-items: center; gap: 16px; padding: 10px 0; font-weight: 700; font-size: 1rem; border-bottom: 2px dashed var(--gray); }
.topics li:last-child { border-bottom: 0; }
.topics img { width: 56px; height: 56px; border-radius: 14px; flex: none; background: var(--blue); }
.exp-body .btn { width: 100%; }
@media (max-width: 860px) {
  .exp-grid { grid-template-columns: 1fr; }
  .tickets { height: 150px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); padding: clamp(72px, 10vw, 130px) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq h2 { font-weight: 900; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.faq-mark { display: grid; place-items: center; margin-top: 28px; width: 150px; height: 150px; border-radius: 50%; border: 20px solid var(--blue); font: 900 4.4rem/1 var(--f-head); background: var(--yellow); }
.faq-list { counter-reset: q; }
.faq-list details { counter-increment: q; border-bottom: 3px solid var(--ink); }
.faq-list details:first-child { border-top: 3px solid var(--ink); }
.faq-list summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 22px 0; font: 800 1.12rem/1.3 var(--f-head);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: counter(q, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 5px solid var(--ink); font: 800 .82rem/1 var(--f-ui); transition: background .3s, border-color .3s;
}
.faq-list summary::after {
  content: ""; width: 26px; height: 26px; flex: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 4px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 4px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq-list details[open] summary::before { background: var(--yellow); border-color: var(--blue); }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list summary:hover { color: var(--blue); }
.ans { overflow: hidden; }
.ans p { padding: 0 0 24px 60px; color: #33333D; max-width: 68ch; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .faq-mark { margin: 0; width: 88px; height: 88px; border-width: 12px; font-size: 2.6rem; flex: none; }
  .faq-list summary { font-size: 1.02rem; gap: 12px; }
  .faq-list summary::before { width: 38px; height: 38px; }
  .ans p { padding-left: 0; }
}

/* ---------- CTA final ---------- */
.final { background: var(--blue); color: var(--white); padding: clamp(96px, 14vw, 180px) 0; overflow: hidden; text-align: center; }
.ring { position: absolute; left: 50%; top: 50%; width: min(1000px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); }
.ring-base { stroke: rgba(255,255,255,.1); stroke-width: 28; }
.ring-line { stroke: var(--yellow); stroke-width: 28; stroke-linecap: round; }
.final-inner { position: relative; z-index: 1; max-width: 900px; }
.final h2 { font-weight: 900; font-size: clamp(2.3rem, 6vw, 5rem); line-height: 1; margin-bottom: 40px; }
@media (max-width: 600px) { .final .cta-row .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9C9D6; padding: 72px 0 56px; border-top: 14px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-about img { width: 170px; margin-bottom: 18px; background: var(--white); padding: 10px 14px; border-radius: 12px; box-sizing: content-box; }
.footer-about p { font-size: .9rem; max-width: 42ch; }
.site-footer h2 { font: 800 .8rem/1 var(--f-ui); color: var(--yellow); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { margin-bottom: 4px; }
.site-footer nav a { display: inline-block; padding: 6px 0; text-decoration: none; font-size: .9rem; }
.site-footer nav a:hover { color: var(--yellow); text-decoration: underline; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Estados iniciales animados (solo con .js-motion — sin JS todo es visible)
   ========================================================================== */
.js-motion .reveal { opacity: 0; transform: translateY(40px); }
.js-motion .hero .lead, .js-motion .hero-entities, .js-motion .hero .cta-row { opacity: 0; }
.js-motion .hr-train { opacity: 0; }

/* Ajustes menores */
.nav-login { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.exp-head { margin-bottom: 8px; }
/* Imagen ausente: el marco conserva color y trama de la línea */
.img-missing { background: repeating-linear-gradient(135deg, var(--ink) 0 18px, var(--ink-2) 18px 36px); }
.img-missing img { visibility: hidden; }
.flap .fl { display: inline-block; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
  .btn:hover, .program:hover, .tile:hover { transform: none; }
}

/* ==========================================================================
   Subpáginas (programas y Remotos Work)
   ========================================================================== */
.program h3 a, .rel-card h3 a { color: inherit; text-decoration: none; }
.program h3 a:hover, .program h3 a:focus-visible,
.rel-card h3 a:hover, .rel-card h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

.page-hero {
  position: relative; background: var(--yellow); overflow: hidden;
  border-bottom: 14px solid var(--line, var(--ink));
  padding: clamp(24px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero h1 { font-weight: 900; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -.03em; margin: 14px 0 20px; }
.page-hero .for { color: var(--blue-deep); }
.page-hero-copy > p:not(.tag):not(.for) { max-width: 60ch; margin-bottom: 20px; }
.page-hero .pills, .page-hero .roles { margin-bottom: 28px; }
.page-media { margin: 0; background: var(--blue); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.page-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .branch-note { margin: 36px auto 0; }
.page-hero .disclaimer { margin-top: 24px; }

.crumbs ol { list-style: none; padding: 0; margin: 0 0 8px; font-size: .88rem; font-weight: 600; }
.crumbs li { display: inline; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--ink); }
.crumbs a { color: var(--ink); text-underline-offset: 3px; }
.crumbs [aria-current] { color: #2A2A33; }

.related { padding: clamp(64px, 9vw, 120px) 0; }
.related h2 { font-weight: 900; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.02em; max-width: 22ch; margin: 0; }
.rel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.car-nav { display: flex; gap: 10px; flex: none; }
.car-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: var(--yellow); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease), background .2s;
}
.car-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.car-btn:hover:not(:disabled) { transform: translateY(-2px); }
.car-btn:disabled { background: var(--white); opacity: .45; cursor: default; }
.rel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 78vw); gap: 20px; list-style: none; padding: 4px 4px 16px; margin: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rel-track::-webkit-scrollbar { display: none; }
.rel-track > li { scroll-snap-align: start; }
.rel-card {
  display: flex; flex-direction: column; background: var(--white); border: 3px solid var(--ink);
  border-top: 14px solid var(--line, var(--ink)); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 0 var(--ink); }
.rel-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--blue); border-bottom: 3px solid var(--ink); }
.rel-card > div { padding: 20px 20px 24px; }
.rel-card .tag { width: fit-content; }
.rel-card h3 { font: 800 1.3rem/1.15 var(--f-head); margin: 12px 0 8px; }
.rel-card .for { color: var(--muted); font-size: .95rem; }

@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-media { max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .rel-card:hover { transform: none; }
}

/* ---------- Componentes de páginas únicas ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pend {
  display: inline-block; vertical-align: middle; margin: 0 2px; padding: 2px 8px; border: 2px dashed currentColor; border-radius: 6px;
  font: 800 .68rem/1.3 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.pend::before { content: "["; }
.pend::after { content: "]"; }
.lead { font: 700 clamp(1.1rem, 1.8vw, 1.3rem)/1.4 var(--f-head); }

.meta-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 36px 0 0;
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden;
}
.meta-strip div { padding: 18px 22px; border-right: 2px solid var(--gray); }
.meta-strip div:last-child { border-right: 0; }
.meta-strip dt { font: 800 .72rem/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.meta-strip dd { margin: 0; font: 800 1.08rem/1.25 var(--f-head); }

.sp { padding: clamp(64px, 9vw, 120px) 0; }
.sp.alt { background: var(--white); border-block: 3px solid var(--ink); }
.sp-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.sp-head h2 { font-weight: 900; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; }
.sp-head p { color: var(--muted); margin: 0; }

.learn { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.learn li { display: flex; gap: 14px; align-items: center; padding: 20px; border: 3px solid var(--ink); border-radius: 16px; background: var(--paper); font: 700 1.05rem/1.3 var(--f-head); }
.learn svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.syllabus { display: grid; gap: 12px; max-width: 900px; }
.syllabus details { background: var(--white); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; }
.syllabus summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font: 700 1.05rem/1.3 var(--f-head); }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary::after {
  content: "+"; margin-left: auto; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--yellow); font: 800 1.2rem/1 var(--f-ui); transition: transform .3s var(--ease);
}
.syllabus details[open] summary::after { transform: rotate(45deg); }
.syllabus summary:hover .syl-t { text-decoration: underline; text-underline-offset: 4px; }
.syl-n { flex: none; min-width: 96px; font: 800 .74rem/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; border-radius: 8px; background: var(--yellow); border: 2px solid var(--ink); text-align: center; }
.syllabus .ans { padding: 0 22px 20px 134px; color: var(--muted); }
.syllabus .ans p { margin: 0; }

.vline { position: relative; max-width: 900px; }
.vl-track { position: absolute; left: 28px; top: 28px; bottom: 28px; width: var(--line-w); margin-left: calc(var(--line-w) / -2); background: var(--gray); border-radius: 99px; overflow: hidden; }
.vl-fill { position: absolute; inset: 0; background: var(--line, var(--yellow)); transform-origin: top; }
.vline ol { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(28px, 4vw, 44px); position: relative; }
.station { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.st-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 4px solid var(--ink); font: 900 1rem/1 var(--f-head); position: relative; z-index: 1; }
.station h3 { font: 800 clamp(1.25rem, 2.2vw, 1.55rem)/1.15 var(--f-head); margin: 12px 0 8px; }
.station p { color: var(--muted); margin: 0 0 14px; max-width: 60ch; }
.vline.hist .st-dot { font-size: .82rem; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.value { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: 0 8px 0 0 var(--ink); }
.value-n { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 12px; background: var(--ink); color: var(--yellow); font: 900 .95rem/1 var(--f-head); margin-bottom: 16px; }
.value h3 { font: 800 1.2rem/1.2 var(--f-head); margin: 0 0 8px; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

.cert-band, .project-band { background: var(--ink); color: var(--white); padding: clamp(64px, 9vw, 112px) 0; }
.cert-band h2, .project-band h2 { font-weight: 900; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.02em; margin: 8px 0 16px; }
.cert-band p, .project-band p { color: #D5D5DE; max-width: 52ch; }
.cert-band .eyebrow, .project-band .eyebrow, .cert-band .pend, .project-band .pend { color: var(--yellow); }
.cert-grid, .project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cert-card {
  position: relative; display: grid; gap: 14px; padding: 32px; border-radius: var(--radius); background: var(--paper); color: var(--ink);
  border: 3px solid var(--yellow); box-shadow: 12px 12px 0 0 var(--yellow); transform: rotate(-2deg); max-width: 440px; width: 100%; justify-self: center;
}
.cert-card p { color: var(--ink); margin: 0; }
.cc-top { font: 800 .74rem/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.cc-name { font: 900 1.7rem/1.1 var(--f-head); }
.cc-line { display: block; height: var(--line-w); border-radius: 99px; background: var(--yellow); border: 2px solid var(--ink); }
.cc-foot { font-weight: 700; font-size: .9rem; }
.project-steps { list-style: none; counter-reset: ps; padding: 0; margin: 0; display: grid; gap: 12px; }
.project-steps li { counter-increment: ps; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border: 2px solid #3A3A48; border-radius: 14px; background: var(--ink-2); font-weight: 700; }
.project-steps li::before { content: counter(ps, decimal-leading-zero); flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 900 .9rem/1 var(--f-head); }

.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.people li { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; text-align: center; }
.avatar { width: 88px; height: 88px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); overflow: hidden; }
.avatar svg { width: 100%; height: 100%; }
.people h3 { font: 800 1.1rem/1.2 var(--f-head); margin: 0 0 6px; }
.people p { color: var(--muted); margin: 0; font-size: .92rem; }

.inc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.inc li { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 3px solid var(--ink); border-left: var(--line-w) solid var(--blue); }
.inc h3 { font: 800 1.2rem/1.2 var(--f-head); margin: 0 0 8px; }
.inc p { margin: 0; color: var(--muted); }

.stats-big { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.stats-big li { background: var(--white); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px; min-width: 130px; }
.stats-big b { display: block; font: 900 2.2rem/1 var(--f-head); }
.stats-big span { font-weight: 700; font-size: .85rem; }

.manifest { max-width: 980px; }
.big-quote { font: 900 clamp(1.7rem, 4.2vw, 3.2rem)/1.12 var(--f-head); letter-spacing: -.02em; margin: 0; }
.big-quote::before { content: ""; display: block; width: 120px; height: var(--line-w); border-radius: 99px; background: var(--yellow); border: 2px solid var(--ink); margin-bottom: 28px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv article { padding: 28px; border: 3px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.mv h3 { font: 900 1.6rem/1.1 var(--f-head); margin: 0 0 10px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.channels { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.channel { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; padding: 18px; background: var(--white); border: 3px solid var(--ink); border-radius: 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.channel:hover { transform: translateY(-3px); box-shadow: 0 6px 0 0 var(--ink); }
.ch-ic { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink); }
.ch-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.channel h3 { font: 800 1.15rem/1.2 var(--f-head); margin: 0; }
.channel h3 a { color: inherit; text-underline-offset: 4px; }
.channel p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.contact-form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 0 var(--ink); }
.contact-form h2 { font: 900 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--f-head); margin: 0; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 500 1rem/1.4 var(--f-ui); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; background: var(--white); }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 700; min-height: 1.6em; color: var(--blue-deep); }

/* Barra fija de acceso rápido (patrón de Platzi) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); color: var(--white);
  border-top: 6px solid var(--yellow); padding: 12px 0; transform: translateY(110%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.sticky-cta.on { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sticky-inner p { margin: 0; font-size: .92rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-inner p span { color: #BDBDC8; }
.sticky-inner .btn { flex: none; background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

@media (max-width: 860px) {
  .cert-grid, .project-grid, .contact-grid, .mv { grid-template-columns: 1fr; }
  .meta-strip div { border-right: 0; border-bottom: 2px solid var(--gray); }
  .syllabus .ans { padding-left: 22px; }
  .syl-n { min-width: 0; }
  .sticky-inner p { display: none; }
  .sticky-inner .btn { width: 100%; justify-content: center; }
  .rel-head { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .value:hover, .channel:hover, .car-btn:hover:not(:disabled) { transform: none; }
  .sticky-cta, .sticky-cta.on, .syllabus summary::after { transition: none; }
}

@media (min-width: 1100px) { .values:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); } }
.contact-grid h2 { margin-bottom: 16px; }

/* Escala general -10% en pantallas grandes */
@media (min-width: 861px) { html { zoom: .9; } }
