/* Centro de Formación Lumen · estilos
   Marca: amarillo #FFC629, café #2B2210, naranja #F29F05, crema #FFFCF3.
   Movimiento: ease-out fuerte, 150–260 ms en UI, nada se anima con prefers-reduced-motion. */

@font-face { font-family: "Tenor Sans"; src: url("fonts/TenorSans.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --yellow: #FFC629;
  --yellow-soft: #FFE08A;
  --ink: #2B2210;
  --ink-2: #5A4A2A;
  --orange: #F29F05;
  --cream: #FFFCF3;
  --cream-2: #FBF3DC;
  --line: #EADFC2;
  --white: #FFFFFF;
  --error: #B3261E;

  --display: "Tenor Sans", "Times New Roman", serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --r: 18px;
  --r-sm: 12px;
  --gutter: 16px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; color-scheme: light; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; }
button, input, select { font: inherit; color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--yellow); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.site-header:not(.is-scrolled) :focus-visible, .plus :focus-visible, .footer :focus-visible, .menu :focus-visible, .intro :focus-visible, .journey :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 72px; } }

/* Tipografía */
.display { font: 400 clamp(2.4rem, 8.4vw, 4.6rem)/1.04 var(--display); text-transform: uppercase; letter-spacing: .04em; text-wrap: balance; }
.display-md { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
.h2 { font: 400 clamp(1.8rem, 5vw, 2.7rem)/1.12 var(--display); text-transform: uppercase; letter-spacing: .05em; text-wrap: balance; }
.h3 { font: 800 1.2rem/1.3 var(--sans); }
.eyebrow { font: 800 .78rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--ink-2); margin-bottom: 12px; }
.eyebrow-yellow { color: var(--yellow); }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.22rem); line-height: 1.55; max-width: 34em; }
.rule { display: block; width: 72px; height: 4px; background: var(--ink); margin: 22px 0; border-radius: 2px; }
.fine { font-size: .88rem; color: var(--ink-2); margin-top: 20px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 800 1rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out), box-shadow .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: var(--yellow); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.ico { width: 22px; height: 22px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: #1A1408; box-shadow: 0 8px 22px -10px rgba(43, 34, 16, .6); }
  .btn-ghost:hover { background: var(--ink); color: var(--yellow); }
}

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font: 800 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pill-dark { background: var(--ink); color: var(--yellow); }

/* Header: transparente sobre la intro, sólido al hacer scroll */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--cream); transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.site-header.is-scrolled { background: var(--cream); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .lockup-mark { filter: none; }
body.menu-open .site-header { background: transparent; color: var(--cream); box-shadow: none; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup-mark { width: 30px; height: auto; }
.lockup-text { display: flex; flex-direction: column; line-height: 1; }
.lockup-name { font: 400 1.35rem/1 var(--display); letter-spacing: .28em; }
.lockup-sub { font: 700 .72rem/1 var(--sans); margin-top: 5px; letter-spacing: .02em; }
.lockup-light { color: var(--cream); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.btn-yellow { background: var(--yellow); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-yellow:hover { background: #FFD34F; } }

.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 6px 0 14px; margin-right: -6px; background: none; border: 0; cursor: pointer; color: inherit; font: 800 .82rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; border-radius: 999px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .26s var(--ease-out), background-color .15s; content: ""; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.menu-btn[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menú a pantalla completa */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--cream); overflow-y: auto; padding: calc(var(--header-h) + 16px) 0 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease-in-out); }
.menu[hidden] { display: block; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-grid { display: grid; gap: 40px; }
.menu-list { list-style: none; display: grid; gap: 0; }
.menu-list li { opacity: 0; transform: translateY(18px); transition: opacity .3s var(--ease-out), transform .45s var(--ease-out); }
.menu.is-open .menu-list li { opacity: 1; transform: none; transition-delay: calc(140ms + var(--i, 0) * 45ms); }
.menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; font: 400 clamp(1.9rem, 7vw, 3.6rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid rgba(255, 252, 243, .12); transition: color .2s var(--ease-out); }
.menu-num { font: 700 .8rem/1 var(--sans); letter-spacing: .1em; color: var(--orange); min-width: 2em; }
.menu-aside-title { font: 800 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.menu-aside ul { list-style: none; display: grid; gap: 2px; }
.menu-aside a { display: inline-block; padding: 8px 0; font-weight: 700; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .menu-list a:hover { color: var(--yellow); } }
@media (min-width: 960px) { .menu { padding-top: calc(var(--header-h) + 48px); } .menu-grid { grid-template-columns: 1.6fr .8fr; gap: 80px; align-items: end; } }
body.menu-open { overflow: hidden; }

/* Intro a pantalla completa */
.intro { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; background: var(--ink); }
.intro-media { position: absolute; inset: 0; }
.intro-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease-out), transform 7s linear; }
.intro-media img.is-active { opacity: 1; transform: scale(1); }
.intro-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 6, .55) 0%, rgba(20, 15, 6, .15) 30%, rgba(20, 15, 6, .55) 62%, rgba(20, 15, 6, .9) 100%); }
.intro-inner { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 88px; }
.pill-yellow { background: var(--yellow); color: var(--ink); }
.intro-pill { margin-bottom: 22px; }
.intro-title { font: 400 clamp(2.2rem, 8.6vw, 6.6rem)/.98 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.intro-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.intro-title .w { display: inline-block; }
.intro-title .accent { color: var(--yellow); }
.js .intro-title .w { transform: translateY(105%); opacity: 0; transition: transform .9s var(--ease-out), opacity .6s var(--ease-out); transition-delay: calc(200ms + var(--i, 0) * 90ms); }
.js .intro.is-ready .intro-title .w { transform: none; opacity: 1; }
.intro-lead { margin-top: 22px; font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 30em; font-weight: 600; }
.js .intro-lead, .js .intro-pill, .js .intro-skip { opacity: 0; transition: opacity .8s var(--ease-out) .9s; }
.js .intro.is-ready .intro-lead, .js .intro.is-ready .intro-pill, .js .intro.is-ready .intro-skip { opacity: 1; }
.intro-skip { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; min-height: 44px; font: 800 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-underline-offset: 5px; }
.intro-scroll { display: none; position: absolute; right: var(--gutter); bottom: 28px; writing-mode: vertical-rl; font: 800 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; padding-bottom: 54px; }
.intro-scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 44px; background: currentColor; transform-origin: top; animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 959px) { .intro-inner { padding-bottom: 104px; } }
@media (min-width: 960px) { .intro-inner { padding-bottom: 110px; } .intro-scroll { display: block; right: 40px; bottom: 112px; } }

/* Selector "Soy... y busco..." */
.explore { background: var(--yellow); padding: 40px 0; }
.explore-form { display: grid; gap: 24px; align-items: end; }
.explore-sentence { font: 400 clamp(1.5rem, 5vw, 2.6rem)/1.5 var(--display); text-transform: uppercase; letter-spacing: .03em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.explore-select { position: relative; display: inline-flex; max-width: 100%; }
.explore-select select { appearance: none; max-width: 100%; background: transparent; border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; padding: 0 34px 4px 0; font: inherit; text-transform: inherit; letter-spacing: inherit; color: var(--ink); cursor: pointer; text-overflow: ellipsis; }
.explore-select::after { content: ""; position: absolute; right: 6px; top: 40%; width: 11px; height: 11px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: translateY(-50%) rotate(45deg); pointer-events: none; }
.explore-select select:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.explore-go { justify-self: start; }
@media (max-width: 719px) {
  .explore-sentence { font-size: 1.45rem; }
  .explore-select { flex: 1 1 100%; }
  .explore-select select { width: 100%; white-space: normal; }
  .explore-go { width: 100%; }
}
@media (min-width: 960px) { .explore { padding: 56px 0; } .explore-form { grid-template-columns: 1fr auto; gap: 40px; } }

/* Datos clave */
.facts { background: var(--ink); color: var(--cream); }
.facts-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-top: 6px; padding-bottom: 6px; }
.facts-list li { display: flex; flex-direction: column; gap: 4px; padding: 16px 8px; }
.fact-k { font: 800 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); }
.fact-v { font-weight: 700; font-size: 1rem; }
@media (min-width: 720px) { .facts-list { grid-template-columns: repeat(4, 1fr); } .facts-list li { padding: 22px 8px; } .fact-v { font-size: 1.1rem; } }

/* Secciones */
.section { padding: 64px 0; }
.section-cream { background: var(--cream-2); }
.section-head { margin-bottom: 32px; }
.section-head .h2 { max-width: 18em; }
.section-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.08rem; max-width: 36em; }
.section-head-light .section-lead { color: #E9DFC6; }
@media (min-width: 960px) { .section { padding: 96px 0; } .section-head { margin-bottom: 48px; } }

/* Carreras */
.careers { display: grid; gap: 22px; }
@media (min-width: 860px) { .careers { grid-template-columns: 1fr 1fr; gap: 28px; } }
.career { --c: #1E6B3C; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(43, 34, 16, .5); }
.career-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.career-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.career-body { display: flex; flex-direction: column; flex: 1; padding: 0 22px 24px; }
.career-name { align-self: flex-start; margin: -26px 0 14px -4px; position: relative; background: var(--c); color: var(--white); font: 800 clamp(1.35rem, 4.4vw, 1.7rem)/1.15 var(--sans); text-transform: uppercase; letter-spacing: .01em; padding: 12px 18px; border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.career-tag { display: block; font-size: .72rem; letter-spacing: .14em; font-weight: 700; opacity: .92; margin-top: 3px; }
.career-focus { font-weight: 700; margin-bottom: 14px; }
.career-learn { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.career-learn li { position: relative; padding-left: 20px; font-size: .96rem; color: var(--ink-2); }
.career-learn li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.career-learn strong { color: var(--ink); }
.career-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--c); color: var(--c); font-weight: 800; text-decoration: none; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out); }
.career-cta span { transition: transform .2s var(--ease-out); }
.career-cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .career:hover .career-media img { transform: scale(1.03); }
  .career-cta:hover { background: var(--c); color: var(--white); }
  .career-cta:hover span { transform: translateX(3px); }
}

/* Plus */
.plus { background: var(--ink); color: var(--cream); padding: 64px 0; position: relative; overflow: hidden; }
.plus .h2 { color: var(--yellow); }
.plus-grid { display: grid; gap: 14px; }
.plus-card { background: rgba(255, 252, 243, .06); border: 1px solid rgba(255, 198, 41, .22); border-radius: var(--r); padding: 22px; }
.plus-card h3 { font: 800 1.15rem/1.3 var(--sans); color: var(--yellow); margin: 8px 0 8px; }
.plus-card p { color: #E9DFC6; font-size: .98rem; }
.plus-card-main { background: var(--yellow); border-color: var(--yellow); }
.plus-card-main h3 { color: var(--ink); font-size: 1.35rem; }
.plus-card-main p { color: var(--ink); }
.plus-num { font: 400 1rem/1 var(--display); letter-spacing: .2em; color: var(--orange); }
.plus-card-main .plus-num { color: var(--ink-2); }
@media (min-width: 720px) { .plus-grid { grid-template-columns: 1fr 1fr; gap: 18px; } .plus-card { padding: 28px; } }
@media (min-width: 960px) { .plus { padding: 96px 0; } }

/* Horarios */
.split { display: grid; gap: 8px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } .split .section-head { margin: 0; } }
.schedule { display: grid; gap: 8px; }
.schedule-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 8px; }
.schedule-row > span { display: flex; flex-direction: column; justify-content: center; min-height: 68px; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 800; font-size: .95rem; }
.schedule-row small { font-weight: 600; font-size: .78rem; color: var(--ink-2); margin-top: 2px; }
.schedule-head > span { min-height: 0; padding: 4px 12px; text-align: center; align-items: center; }
.schedule [role="rowheader"] { background: var(--cream-2); }
.slot { background: var(--yellow); align-items: center; text-align: center; font-size: .85rem !important; }
.slot::before { content: ""; width: 18px; height: 18px; margin-bottom: 4px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23FFC629' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Costos */
.prices { display: grid; gap: 18px; }
@media (min-width: 860px) { .prices { grid-template-columns: 1fr 1fr; gap: 24px; } }
.price { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 24px; }
.price-yellow { background: var(--yellow); border-color: var(--yellow); }
.price-k { font: 800 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.price-v { font: 800 clamp(3rem, 12vw, 4.2rem)/1 var(--sans); letter-spacing: -.02em; margin-top: 14px; font-variant-numeric: tabular-nums; }
.price-unit { font-size: 1rem; letter-spacing: 0; font-weight: 700; }
.price-note { margin-top: 10px; font-weight: 600; color: var(--ink-2); }
.price-yellow .price-note { color: var(--ink); }
.pill-beca { margin-top: auto; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 700; padding: 10px 16px 10px 10px; border-radius: 16px; line-height: 1.35; }
.price-yellow .pill-beca { margin-top: 24px; }
.pill-badge { flex: none; background: var(--yellow); color: var(--ink); font-weight: 800; border-radius: 999px; padding: 4px 10px; }
.price-opts { margin-top: 18px; display: grid; gap: 10px; }
.price-opts > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 0; border-top: 1px dashed var(--line); }
.price-opts dt { font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .1em; display: flex; flex-direction: column; }
.price-opts dt small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-2); font-size: .85rem; margin-top: 2px; }
.price-opts dd { margin: 0; font: 800 1.5rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.price-opts .price-best { background: var(--ink); color: var(--cream); border: 0; border-radius: var(--r-sm); padding: 14px 16px; }
.price-best dt small { color: var(--yellow); }
.price-best dd { color: var(--yellow); }

.more { margin-top: 20px; background: var(--white); border-radius: var(--r-sm); border: 1px solid var(--line); }
.more summary, .faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 800; padding: 16px 18px; min-height: 56px; }
.more summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.more summary::after, .faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform .22s var(--ease-out); }
details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.more ul { list-style: disc; padding: 0 18px 0 38px; display: grid; gap: 6px; color: var(--ink-2); }
.more p { padding: 12px 18px 18px; font-weight: 700; }

/* Documentos */
.two-col { display: grid; gap: 32px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } }
.two-col .h2 { margin-bottom: 22px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; font-weight: 700; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232B2210' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.card { background: var(--white); border-radius: var(--r); padding: 26px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(43, 34, 16, .5); }
.steps { margin-top: 16px; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: .9rem; display: grid; place-items: center; }

/* Documentos con imagen */
.docs { display: grid; gap: 32px; }
.docs .h2 { margin-bottom: 22px; }
.docs-copy { min-width: 0; }
.checks-note { font-weight: 600; color: var(--ink-2); }
.docs-pill { margin-top: 24px; }
.docs-figure { margin: 0; max-width: 520px; justify-self: center; width: 100%; }
.docs-figure img { width: 100%; border-radius: var(--r); }
.docs-figure figcaption { margin-top: 10px; font-size: .85rem; color: var(--ink-2); text-align: center; }
.docs-req .steps { grid-template-columns: 1fr; }
@media (min-width: 720px) { .docs-req .steps { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 960px) { .docs { grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: center; } .docs-req { grid-column: 1 / -1; } }

/* Equipo */
.team { display: grid; gap: 14px; }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .team { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.person { background: var(--white); border-radius: var(--r); padding: 22px; }
.person-initial { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); font: 400 1.4rem/1 var(--display); margin-bottom: 14px; }
.person h3 { font-size: 1.15rem; font-weight: 800; }
.person-role { font: 800 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 4px 0 10px; }
.person p:last-child { color: var(--ink-2); font-size: .96rem; }

/* Curso */
.course { display: grid; gap: 24px; align-items: center; background: var(--yellow); border-radius: calc(var(--r) + 6px); padding: 28px 22px; }
.course .h2 { margin-bottom: 14px; }
.course p { max-width: 38em; }
@media (min-width: 860px) { .course { grid-template-columns: 1fr auto; padding: 44px 48px; gap: 40px; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r-sm); border: 1px solid var(--line); }
.faq details p { padding: 0 18px 18px; color: var(--ink-2); }

/* Formulario */
.apply { background: var(--yellow); padding: 64px 0; }
.apply-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .apply { padding: 96px 0; } .apply-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 26px; font-weight: 700; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list a { text-underline-offset: 3px; }
.form { background: var(--cream); border-radius: calc(var(--r) + 4px); padding: 24px 20px; box-shadow: 0 24px 50px -30px rgba(43, 34, 16, .6); display: grid; gap: 16px; }
@media (min-width: 720px) { .form { padding: 32px; } }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 800; font-size: .95rem; padding: 0; }
.hint { font-weight: 600; color: var(--ink-2); }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #D8CBA6; border-radius: var(--r-sm); background: var(--white); font-size: 1rem; transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out); appearance: none; }
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232B2210' stroke-width='2.5' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow-soft); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .86rem; font-weight: 700; min-height: 0; }
.field-error:empty { display: none; }
.field-row { display: flex; flex-wrap: wrap; gap: 8px; }
.field-row legend { width: 100%; margin-bottom: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid #D8CBA6; background: var(--white); font-weight: 700; font-size: .95rem; transition: background-color .15s var(--ease-out), border-color .15s var(--ease-out), color .15s var(--ease-out); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.form-fine { font-size: .82rem; color: var(--ink-2); text-align: center; }
.form-done { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-sm); padding: 16px 18px; }
.form-done .h3 { margin-bottom: 4px; }
.form-done:focus { outline: none; }

/* Camino + visita */
.journey { display: grid; }
@media (min-width: 860px) { .journey { grid-template-columns: 1fr 1fr; } }
.journey-card { position: relative; display: flex; align-items: flex-end; min-height: 380px; color: var(--cream); text-decoration: none; overflow: hidden; background: var(--ink); isolation: isolate; }
.journey-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease-out); }
.journey-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 15, 6, .15), rgba(20, 15, 6, .88)); transition: background-color .3s; }
.journey-body { display: grid; gap: 10px; padding: 32px var(--gutter); max-width: 34em; }
.journey-title { font: 400 clamp(1.9rem, 5vw, 2.8rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.journey-text { font-size: 1.02rem; color: #F1E8D2; }
.journey-link { display: inline-flex; gap: 8px; margin-top: 8px; font: 800 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.journey-link span { transition: transform .25s var(--ease-out); }
@media (min-width: 860px) { .journey-card { min-height: 520px; } .journey-body { padding: 48px; } }
@media (hover: hover) and (pointer: fine) { .journey-card:hover img { transform: scale(1.04); } .journey-card:hover .journey-link span { transform: translateX(4px); } }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: 44px 0 110px; }
@media (min-width: 960px) { .footer { padding-bottom: 44px; } }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 700; }
.social a { display: inline-block; padding: 10px 0; text-underline-offset: 3px; }
.avales { margin-top: 30px; background: var(--white); border-radius: var(--r-sm); padding: 18px 16px; display: grid; gap: 18px; justify-items: center; }
.avales-logos { display: grid; gap: 14px; width: 100%; }
.avales-logos img { width: 100%; }
.avales-rps { width: 120px; }
.avales-sisae { width: 100%; max-width: 380px; }
@media (min-width: 1040px) {
  .avales { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0; padding: 18px 24px; }
  .avales-logos { gap: 8px; padding-right: 24px; }
  .avales-rps, .avales-sisae { padding-left: 24px; border-left: 1px solid var(--line); }
  .avales-rps { width: 150px; box-sizing: content-box; padding-right: 24px; }
  .avales-sisae { width: 300px; }
}
.footer-fine { margin-top: 22px; font-size: .82rem; color: #CFC3A4; }

/* WhatsApp flotante (solo móvil y tablet) */
.wa-float { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; background: #1E6B3C; color: var(--white); font-weight: 800; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
  transform: translateY(0); transition: transform .26s var(--ease-out), opacity .2s var(--ease-out); }
.wa-float.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.wa-float:active { transform: scale(.98); }
@media (min-width: 960px) {
  .wa-float { left: auto; right: 24px; bottom: 24px; width: 60px; height: 60px; min-height: 0; padding: 0; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float .ico { width: 28px; height: 28px; }
}

/* Revelado al hacer scroll: solo si hay JS y el usuario acepta movimiento */
.js .reveal { opacity: .45; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Resalta la carrera elegida en el selector */
.career.is-flash { animation: flash 1.4s var(--ease-out); }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 4px var(--c), 0 18px 40px -30px rgba(43, 34, 16, .5); } 100% { box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(43, 34, 16, .5); } }
