/* ==========================================================================
   Training2Work · sistema de diseño
   Tokens según BRIEF_WEB_T2W.md §3. No añadir colores fuera de esta lista.
   ========================================================================== */

:root {
  --navy: #00294F;
  --navy-2: #06396A;
  --teal: #11B5B7;
  --teal-text: #0B7F7F;
  --yellow: #F9B20F;
  --yellow-hover: #E0A108;
  --bg: #F4F7FA;
  --surface: #FFFFFF;
  --ink: #0E1F33;
  --muted: #4A5B70;
  --border: #DCE4EC;
  --teal-soft: #E3F6F6;
  --yellow-soft: #FEF3D0;
  --yellow-text: #7A5700;
  --on-navy: #FFFFFF;
  --on-navy-muted: #B9C9DB;
  --footer: #00294F;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --section-y: 96px;
  --r-btn: 14px;
  --r-card: 22px;
  --r-block: 28px;
  --shadow-shot: 0 24px 64px rgba(0, 41, 79, .12);
  --header-h: 76px;
  color-scheme: light;
}
html.dark {
  --bg: #0A1A2B;
  --surface: #10273F;
  --ink: #FFFFFF;
  --muted: #B9C9DB;
  --border: rgba(255, 255, 255, .12);
  --teal-text: #5ED6D7;
  --teal-soft: rgba(17, 181, 183, .16);
  --yellow-soft: rgba(249, 178, 15, .16);
  --yellow-text: #F9B20F;
  --footer: #06121F;
  --shadow-shot: 0 24px 64px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: inherit; }
h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--surface { background: var(--surface); }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.section--tight { padding: 56px 0; }
.stack > * + * { margin-top: var(--stack, 24px); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mt-48 { margin-top: 48px; }
.mt-32 { margin-top: 32px; }
.mt-24 { margin-top: 24px; }

/* Marca de agua del símbolo sobre marino */
.watermark { position: absolute; width: 760px; max-width: none; opacity: .06; pointer-events: none; user-select: none; }
.watermark--right { right: -140px; top: -40px; }
.watermark--left { left: -180px; bottom: -80px; }
.section--navy > .container { position: relative; }

/* ---------- Tipografía de sección ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); }
.section--navy .eyebrow, .hero .eyebrow { color: var(--teal); }
.section-header { max-width: 760px; }
.section-header > * + * { margin-top: 16px; }
.section-header p { color: var(--muted); font-size: 18px; }
.section--navy .section-header p { color: var(--on-navy-muted); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.lead { font-size: 20px; line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.xsmall { font-size: 13px; }
.hl { display: inline-block; background: var(--yellow); color: var(--navy); padding: 0 .22em; border-radius: 12px; line-height: 1.18; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }

/* [PENDIENTE] visible para revisión */
.pending { display: inline; background: var(--yellow-soft); color: var(--yellow-text); border: 1px dashed currentColor; border-radius: 6px; padding: 0 6px; font-size: .9em; font-weight: 500; }
.section--navy .pending, .hero .pending, .card--navy .pending { background: rgba(249, 178, 15, .16); color: var(--yellow); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: var(--r-btn);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--sm { min-height: 48px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-hover); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
html.dark .btn--navy { background: #fff; color: var(--navy); }
html.dark .btn--navy:hover { background: #E3EAF2; }
.btn--teal { background: var(--teal-text); color: #fff; }
.btn--teal:hover { background: #086363; color: #fff; }
html.dark .btn--teal { background: var(--teal); color: var(--navy); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: var(--teal); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal-text); padding: 0 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.chip--navy { background: var(--navy); color: #fff; }
html.dark .chip--navy { background: #fff; color: var(--navy); }
.chip--teal { background: var(--teal-soft); color: var(--teal-text); }
.chip--yellow { background: var(--yellow); color: var(--navy); }
.chip--yellow-soft { background: var(--yellow-soft); color: var(--yellow-text); }
.chip--outline { border-color: var(--border); color: var(--ink); background: transparent; }
.chip--on-navy { border-color: rgba(255, 255, 255, .22); color: #fff; }
a.chip { min-height: 36px; transition: border-color .15s, background-color .15s; }
a.chip--outline:hover { border-color: var(--teal-text); }
a.chip--navy:hover { background: var(--navy-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Tarjetas ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.section--surface .card { background: var(--bg); }
.card--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.section--surface .card--navy { background: var(--navy); }
html.dark .card--navy { border-color: rgba(255, 255, 255, .12); }
.card--navy p, .card--navy li { color: var(--on-navy-muted); }
.card--navy h3, .card--navy strong { color: #fff; }
.card--teal { background: var(--teal-soft); border-color: transparent; }
.card--yellow { background: var(--yellow-soft); border-color: transparent; }
.card--line { background: transparent; border-color: rgba(255, 255, 255, .18); }
.card--line p { color: var(--on-navy-muted); }
.card p { color: var(--muted); }
.card--navy p { color: var(--on-navy-muted); }
.card .card-foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.card .card-foot .btn { flex: 1 1 auto; }
.card-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); }
.card--navy .card-kicker, .card--line .card-kicker { color: var(--teal); }

/* Listas con check */
.checks { display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--ink); line-height: 1.5; }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 999px; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7F7F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.card--navy .checks li, .section--navy .checks li, .hero .checks li { color: #fff; }
.card--navy .checks li::before, .section--navy .checks li::before, .hero .checks li::before { background-color: rgba(17, 181, 183, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311B5B7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
html.dark .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ED6D7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checks--inline { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* Lista de datos (dt/dd) */
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--border); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Icono en círculo */
.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-text); flex: 0 0 auto; }
.icon-badge svg { width: 24px; height: 24px; }
.card--line .icon-badge, .card--navy .icon-badge { background: rgba(17, 181, 183, .16); color: var(--teal); }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }

/* Cifras */
.stat { display: flex; flex-direction: column; gap: 6px; padding: 28px 0 0; border-top: 2px solid var(--ink); }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-size: 15px; }

/* Capturas de producto */
.shot { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-shot); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--border); }
.shot__bar span { width: 10px; height: 10px; border-radius: 999px; background: var(--border); }
.shot__bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 3px 10px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shot img { width: 100%; }
.caption { font-size: 13px; color: var(--muted); margin-top: 14px; }

.placeholder { border: 2px dashed var(--border); border-radius: 16px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 14px; background: transparent; aspect-ratio: 16 / 10; }
.placeholder--round { border-radius: 999px; aspect-ratio: 1; width: 96px; padding: 8px; font-size: 11px; line-height: 1.2; }

/* Vídeo portada */
.video-cover { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--navy); overflow: hidden; display: grid; place-items: center; color: #fff; text-decoration: none; border: 1px solid var(--border); }
.video-cover .watermark { width: 120%; right: auto; left: -10%; top: -10%; opacity: .07; }
.video-cover__play { position: relative; width: 76px; height: 76px; border-radius: 999px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; transition: transform .18s; }
.video-cover:hover .video-cover__play { transform: scale(1.06); }
.video-cover__label { position: absolute; left: 24px; bottom: 20px; right: 24px; font-size: 14px; color: var(--on-navy-muted); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.brand .logo-dark { display: none; }
html.dark .brand .logo-light { display: none; }
html.dark .brand .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 10px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--yellow); border-radius: 0; text-decoration: none; }
.nav__item { position: relative; }
.nav__sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 8px; box-shadow: 0 18px 48px rgba(0, 41, 79, .14); display: none; }
.nav__item.is-open .nav__sub { display: block; }
.nav__sub a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav__sub a span { font-weight: 400; font-size: 13px; color: var(--muted); }
.nav__sub a:hover { background: var(--bg); }
.nav__chev { width: 16px; height: 16px; transition: transform .18s; }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav .btn { margin-left: 12px; white-space: nowrap; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border); background: transparent; color: var(--ink); cursor: pointer; place-items: center; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 104px; position: relative; }
.hero__copy > * + * { margin-top: 28px; }
.hero__copy .lead { color: var(--on-navy-muted); max-width: 580px; }
.hero__media { position: relative; }
.hero__media .shot { transform: rotate(-2deg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .12); }
.hero__media .caption { color: var(--on-navy-muted); text-align: center; margin-top: 22px; }
.hero--compact .hero__inner { padding-top: 72px; padding-bottom: 80px; }
.hero .checks--inline li { font-size: 15px; color: var(--on-navy-muted); }
.breadcrumb { font-size: 14px; color: var(--on-navy-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--on-navy-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; overflow: hidden; }
.hero-facts > div { padding: 22px 24px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.hero-facts > div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .16); }
.hero-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.hero-facts dt { font-size: 13px; color: var(--on-navy-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hero-facts dd { margin: 6px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-stats .card--line { padding: 24px; }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 28px; padding-bottom: 28px; }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.trust__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.trust__names { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--muted); }
.stars { color: var(--yellow); letter-spacing: 1px; }

/* ---------- Tres caminos ---------- */
.paths .card h3 { font-size: 24px; }
.paths .card { padding: 32px; }

/* ---------- Programas / roles ---------- */
.program-card .chips { margin-bottom: 4px; }
.roles { margin-top: 56px; padding: 40px; border: 1px solid var(--border); border-radius: var(--r-block); background: var(--bg); }
.roles__row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--border); }
.roles__row:first-of-type { margin-top: 24px; }
.roles__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }

/* ---------- Paso a paso ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.step__n { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.step::after { content: ""; position: absolute; top: 34px; right: -19px; width: 14px; height: 2px; background: var(--border); }
.steps > .step:last-child::after { display: none; }
.media-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.media-row .shot { box-shadow: none; aspect-ratio: 16 / 10; }
.media-row .shot img { height: 100%; object-fit: cover; object-position: left top; }

/* ---------- Mentores ---------- */
.mentor { align-items: flex-start; }
.mentor__role { color: var(--teal-text); font-weight: 600; font-size: 15px; }
.quote { font-family: var(--font-head); font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.card--navy .quote { color: #fff; }
.quote-by { font-size: 14px; color: var(--on-navy-muted); }

/* ---------- Comunidad ---------- */
.avatars { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatars__row { display: flex; }
.avatars__row span { width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--navy); margin-left: -10px; background: var(--teal); }
.avatars__row span:first-child { margin-left: 0; }
.avatars__row span:nth-child(2) { background: #5ED6D7; }
.avatars__row span:nth-child(3) { background: var(--yellow); }
.avatars__row span:nth-child(4) { background: #B9C9DB; }
.avatars__row span:nth-child(5) { background: #0B7F7F; }

/* ---------- Resultados ---------- */
.case { padding: 40px; }
.case__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.case__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.case__cols > div { padding: 22px 24px 22px 0; }
.case__cols > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .16); }
.case__cols dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.case__cols dd { margin: 8px 0 0; color: #fff; font-size: 16px; }
.review { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.review .stars { font-size: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 28px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 760px; }

/* ---------- CTA final ---------- */
.cta-block { background: var(--yellow); color: var(--navy); border-radius: var(--r-block); padding: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; }
.cta-block p { color: var(--navy); font-size: 18px; margin-top: 14px; max-width: 620px; }
.cta-block .btn--navy { background: var(--navy); color: #fff; }
.cta-block .btn--outline { border-color: rgba(0, 41, 79, .35); color: var(--navy); }
.cta-block .btn--outline:hover { border-color: var(--navy); }
.cta-block .btn-row { flex-direction: column; }

/* ---------- Temario / timeline ---------- */
.day { display: grid; gap: 0; }
.day li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); font-size: 15px; }
.day li:first-child { border-top: 0; }
.day time { font-family: var(--font-head); font-weight: 600; color: var(--teal-text); }
.module h3 { font-size: 19px; }
.module p { font-size: 15px; }
.numbered { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--teal-text); }
.yesno .card h3 { display: flex; gap: 10px; align-items: center; }
.list-x li::before { background: rgba(122, 87, 0, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5700' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 11px no-repeat !important; }
.process { counter-reset: p; }
.process .card { position: relative; }
.process .card .numbered { font-size: 40px; line-height: 1; }

/* ---------- Formularios ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-block); padding: 40px; display: grid; gap: 18px; }
.section--surface .form { background: var(--bg); }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 16px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; font-weight: 500; font-size: 15px; cursor: pointer; min-height: 44px; background: var(--surface); }
.radios input { width: 18px; height: 18px; min-height: 0; accent-color: var(--teal-text); }
.radios label:has(input:checked) { border-color: var(--teal-text); background: var(--teal-soft); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-text); }
.rgpd { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 18px 20px; border-radius: 14px; font-size: 15px; }
.notice--ok { background: var(--teal-soft); color: var(--ink); border: 1px solid var(--teal-text); }
.notice--err { background: var(--yellow-soft); color: var(--ink); border: 1px solid var(--yellow-text); }
.contact-list { display: grid; gap: 16px; }
.contact-list a { font-weight: 600; }
.map-embed { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Contenido WP (legales) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { padding-left: 1.4em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--footer); color: var(--on-navy-muted); padding: 72px 0 32px; font-size: 15px; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 40px; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer__col h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { display: inline-block; padding: 2px 0; word-break: break-word; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.theme-toggle { display: inline-flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px; gap: 2px; }
.theme-toggle button { border: 0; background: transparent; color: var(--on-navy-muted); border-radius: 999px; padding: 6px 14px; min-height: 36px; cursor: pointer; font-size: 13px; font-weight: 600; }
.theme-toggle button[aria-pressed="true"] { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Banner de cookies ---------- */
.cookie { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: 0 24px 64px rgba(0, 41, 79, .22); display: grid; gap: 16px; }
.cookie[hidden] { display: none; }
.cookie p { font-size: 14px; color: var(--muted); }
.cookie .btn-row .btn { flex: 1 1 140px; }

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .video-cover__play, .nav__chev { transition: none; }
  .btn:hover { transform: none; }
}

/* ==========================================================================
   Responsive · cortes 1200 / 900 / 600
   ========================================================================== */
@media (max-width: 1200px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step::after { display: none; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .nav__link { padding: 0 9px; font-size: 14.5px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 32px; overflow-y: auto; display: none; border-top: 1px solid var(--border); }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; min-height: 56px; font-size: 17px; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0 4px; }
  .nav__link:hover, .nav__link[aria-current="page"] { box-shadow: none; color: var(--teal-text); }
  .nav__sub { position: static; display: none; box-shadow: none; border: 0; padding: 4px 0 8px 8px; min-width: 0; }
  .nav .btn { margin: 24px 0 0; width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 900px) {
  :root { --section-y: 72px; }
  .hero__inner, .split, .form-wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__inner { padding-top: 64px; padding-bottom: 72px; }
  .grid-3, .grid-4, .media-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paths.grid-3 { grid-template-columns: minmax(0, 1fr); }
  .cta-block { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .cta-block .btn-row { flex-direction: row; }
  .roles__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .roles__label { padding-top: 0; }
  .case__cols { grid-template-columns: minmax(0, 1fr); }
  .case__cols > div, .case__cols > div + div { padding: 18px 0; border-left: 0; }
  .case__cols > div + div { border-top: 1px solid rgba(255, 255, 255, .16); }
}
@media (max-width: 600px) {
  :root { --section-y: 56px; --gutter: 20px; --header-h: 68px; }
  body { font-size: 16px; }
  .brand img { height: 36px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .media-row { grid-template-columns: minmax(0, 1fr); }
  .card, .case, .form { padding: 24px; }
  .roles { padding: 24px; }
  .cta-block { padding: 32px 24px; border-radius: 22px; }
  .cta-block .btn-row { flex-direction: column; }
  .btn-row .btn, .card .card-foot .btn { width: 100%; }
  .lead { font-size: 18px; }
  .section-header p { font-size: 17px; }
  .hero-facts, .hero-stats { grid-template-columns: minmax(0, 1fr); }
  .hero-facts > div { border-right: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .16) !important; }
  .hero-facts > div:last-child { border-bottom: 0 !important; }
  .hero__media .shot { transform: none; }
  .form .row-2 { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .stat__num { font-size: 40px; }
  .quote { font-size: 19px; }
  .faq summary { font-size: 16px; }
  .review { grid-template-columns: minmax(0, 1fr); }
  .chip { white-space: normal; }
  .watermark { width: 480px; }
}

/* ---------- Ajustes de especificidad tras revisión visual ---------- */
.section-header .eyebrow { color: var(--teal-text); font-size: 13px; }
.section--navy .section-header .eyebrow, .hero .section-header .eyebrow { color: var(--teal); }
.section--navy .card p, .card.card--line p, .card.card--navy p { color: var(--on-navy-muted); }
.section--navy .card h3 { color: #fff; }
.card--teal p, .card--yellow p { color: var(--ink); }
.section--surface + .section--surface, .section--bg + .section--bg { padding-top: 0; }
.mentor ~ .card--navy .quote, .grid-4 > .card--navy .quote { font-size: 19px; }
@media (min-width: 1201px) { .footer__top { grid-template-columns: minmax(0, 1.7fr) repeat(5, minmax(0, 1fr)); } }
.footer__brand img { width: 240px; height: auto; }
.footer__col a[href^="mailto:"] { font-size: 14px; word-break: break-all; }
.nowrap { white-space: nowrap; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.stat__num .pending, .hero-stats .pending { font-size: .45em; vertical-align: middle; }

/* ==========================================================================
   Bloques del contenido v1 (CONTENIDO_WEB_T2W.md)
   ========================================================================== */

/* Hero con selector de público */
.hero__top { padding-top: 56px; position: relative; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero--switch .hero__inner { padding-top: 40px; padding-bottom: 96px; }
.hero--switch .hero__inner[hidden] { display: none; }
.hero__h { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
.hero__line { font-size: 15px; color: var(--on-navy-muted); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.seg [role=tab] { border: 0; background: transparent; color: var(--on-navy-muted); font-weight: 600; font-size: 15px; padding: 10px 18px; min-height: 44px; border-radius: 10px; cursor: pointer; transition: background-color .15s, color .15s; }
.seg [role=tab]:hover { color: #fff; }
.seg [role=tab][aria-selected=true] { background: var(--yellow); color: var(--navy); }

/* Ficha de candidato (variante empresa) */
.candidate { background: #fff; color: #0E1F33; border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); display: grid; gap: 18px; }
.candidate__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.candidate .chip--teal { background: #E3F6F6; color: #0B7F7F; }
.candidate__who { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #DCE4EC; }
.candidate__who strong { font-family: var(--font-head); font-size: 18px; }
.candidate__who p { font-size: 14px; color: #4A5B70; margin-top: 2px; }
.candidate__avatar { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: 0 0 auto; }
.candidate__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.candidate__rows div { border: 1px solid #DCE4EC; border-radius: 12px; padding: 12px 14px; }
.candidate__rows dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0B7F7F; }
.candidate__rows dd { margin: 4px 0 0; font-size: 14px; }
.candidate .pending { background: #FEF3D0; color: #7A5700; }

/* El problema */
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.problem-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); }
.problem-list li:last-child { border-bottom: 1px solid var(--border); }
.problem-list .numbered { font-size: 28px; line-height: 1.1; }
.problem-list h3 { font-size: 20px; }
.problem-list p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Pestañas de rol */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--border); }
.tabs [role=tab] { border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 16px; padding: 14px 0; min-height: 48px; margin-bottom: -1px; border-bottom: 2px solid transparent; cursor: pointer; }
.tabs [role=tab]:hover { color: var(--ink); }
.tabs [role=tab][aria-selected=true] { color: var(--ink); border-bottom-color: var(--yellow); }
.role-panel { padding-top: 28px; }
.role-panel__desc { font-size: 18px; color: var(--muted); max-width: 760px; }
.role-panel .day li { grid-template-columns: 52px 1fr; font-size: 14px; padding: 10px 0; }
.roles { margin-top: 48px; }
.roles .roles__row:first-of-type { margin-top: 16px; }

/* Job Tracker */
.jt { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.jt__list { display: grid; gap: 8px; }
.jt__tab { text-align: left; border: 1px solid var(--border); border-left: 3px solid transparent; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 16px 18px; cursor: pointer; display: grid; gap: 4px; transition: border-color .15s, background-color .15s; }
.jt__tab strong { font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.jt__tab span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.jt__tab:hover { border-color: var(--teal-text); }
.jt__tab[aria-selected=true] { border-left-color: var(--yellow); border-color: var(--teal-text); border-left-color: var(--yellow); background: var(--teal-soft); }
.jt__more { margin-top: 12px; }
.jt__panels [hidden] { display: none; }

/* Calculadora */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--r-block); padding: 48px; }
.calc .eyebrow { color: var(--teal); }
.calc__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; margin: 12px 0; font-weight: 700; letter-spacing: -.015em; }
.calc__copy p { color: var(--on-navy-muted); }
.calc__tool { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 28px; display: grid; gap: 18px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.calc__label output { font-family: var(--font-head); font-size: 28px; color: var(--yellow); }
.calc input[type=range] { width: 100%; height: 44px; accent-color: var(--yellow); background: transparent; cursor: pointer; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__out > div { display: grid; gap: 6px; padding-top: 16px; border-top: 2px solid rgba(255, 255, 255, .3); }
.calc__out span:last-child { color: var(--on-navy-muted); font-size: 14px; }
.calc .xsmall { color: var(--on-navy-muted); }

/* Comunidad */
.community-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.community-stats > div { display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, .3); }
.community-stats .stat__num { font-size: 56px; color: #fff; }
.community-stats span:last-child { color: var(--on-navy-muted); font-size: 15px; }
.section--navy ul.chips { list-style: none; padding: 0; }

@media (max-width: 900px) {
  .jt, .calc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .calc { padding: 32px 24px; }
  .hero__top { padding-top: 40px; }
  .hero--switch .hero__inner { padding-top: 32px; padding-bottom: 64px; }
}
@media (max-width: 600px) {
  .seg { display: grid; width: 100%; }
  .seg [role=tab] { text-align: left; }
  .candidate__rows { grid-template-columns: 1fr; }
  .problem-list li { grid-template-columns: 1fr; gap: 6px; }
  .tabs { gap: 4px 20px; overflow-x: auto; flex-wrap: nowrap; }
  .tabs [role=tab] { white-space: nowrap; }
  .community-stats .stat__num { font-size: 44px; }
}
