:root {
  color-scheme: light;
  --night: #07152e;
  --black: #080b12;
  --ink: #11294a;
  --muted: #3e5573;
  --line: #cbd8e9;
  --soft: #edf4fd;
  --blue: #1677ff;
  --gold: #ffd600;
  --green: #10b981;
  --violet: #8b5cf6;
  --silver: #cbd5e1;
  font: 16px/1.62 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: #184b98; text-underline-offset: .2em; }
a:hover { color: #0c3476; }
a, summary, select, button { -webkit-tap-highlight-color: #1677ff33; }
:focus-visible { outline: 3px solid #174ca6; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
h1, h2, h3, p, ol, ul, dl { margin-block-start: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -.057em; margin-block-end: .85rem; }
h2 { font-size: clamp(1.5rem, 3.3vw, 2.55rem); line-height: 1.13; letter-spacing: -.035em; margin-block-end: .9rem; }
h3 { font-size: 1.16rem; line-height: 1.25; margin-block-end: .55rem; }
p { margin-block-end: 1rem; overflow-wrap: anywhere; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.skip { position: absolute; top: -200px; left: 10px; z-index: 5; background: #fff; color: #163e76; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 10px; }
.site-header, .footer { color: #dbe6f8; background: var(--black); }
.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem 1rem; min-height: 67px; padding-block: .55rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; line-height: 1.2; }
.brand img { border-radius: 6px; }
.brand small { display: block; font-size: .72rem; color: var(--silver); }
.site-header a, .footer a { color: #e8f1ff; text-decoration: none; }
.site-header nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .89rem; }
.site-header a:hover, .footer a:hover { text-decoration: underline; }
.hero { background: radial-gradient(ellipse at 87% 26%, #183b69 0%, transparent 67%), linear-gradient(125deg, var(--night), var(--black)); color: white; padding: 1.25rem 0 clamp(1.65rem, 4.6vw, 3.8rem); border-bottom: 1px solid #345478; }
.breadcrumb { font-size: .84rem; gap: .3rem .6rem; margin-block-end: clamp(.9rem, 3vw, 1.7rem); color: var(--silver); }
.breadcrumb a { color: #bfdaff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 3.4vw, 2.8rem); align-items: center; }
.hero-grid > div { min-width: 0; }
.kicker { color: #ffeb77; font-weight: 850; font-size: .82rem; letter-spacing: .075em; margin: 0 0 .6rem; }
.hero p:not(.kicker) { color: #dbe7f8; max-width: 62ch; }
.hero .hero-lead { font-size: clamp(1.04rem, 1.8vw, 1.3rem); font-weight: 750; color: #fff; margin-bottom: .55rem; }
.hero figure { margin: 0; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border: 1px solid #5c9ee8; border-radius: 1rem; box-shadow: 0 0 27px #1677ff45; }
.hero :focus-visible, .site-header :focus-visible, .footer :focus-visible, .closing :focus-visible { outline-color: #ffdf51; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .8rem; margin-block: 1.1rem 0; }
.button {
  --edge: var(--blue); --bg: #eaf3ff; --fg: #123866;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; max-width: 100%; padding: .65rem .9rem;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--edge);
  border-radius: .65rem; box-shadow: 0 0 .88rem color-mix(in srgb, var(--edge) 37%, transparent);
  text-align: center; text-decoration: none; font-weight: 800; font-size: .91rem; line-height: 1.28;
  transition: box-shadow .18s ease, transform .18s ease;
}
.button:hover { color: var(--fg); box-shadow: 0 0 1.25rem color-mix(in srgb, var(--edge) 55%, transparent); transform: translateY(-1px); }
.gold { --edge: #d5a600; --bg: #fff2a8; --fg: #4a3600; }
.green { --edge: #05966e; --bg: #def9ef; --fg: #074936; }
.violet { --edge: #8757d4; --bg: #efe8ff; --fg: #43276e; }
.silver { --edge: #869ab6; --bg: #f2f6fd; --fg: #29415f; }
.hero .gold, .closing .gold { --edge: var(--gold); }
.hero .green, .closing .green { --edge: var(--green); }
.hero .violet, .closing .violet { --edge: #aa83ff; }
.closing .silver { --edge: var(--silver); }
.jump { background: #f1f6ff; border-bottom: 1px solid var(--line); }
.jump nav { padding-block: .55rem; }
.jump a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: #1c4785; font-size: .9rem; font-weight: 750; }
.jump a:hover { text-decoration: underline; }
.section { padding-block: clamp(1.65rem, 5vw, 4.1rem); scroll-margin-top: .6rem; }
.section.soft { background: var(--soft); border-block: 1px solid #dce6f5; }
.section p, .section dd { color: var(--muted); }
.lead, .prose, .section > .wrap > p { max-width: 82ch; }
.lead { font-size: 1.075rem; }
.role-list, .profile-grid, .cv-grid, .route, .errors, .headline-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.role-list, .headline-grid, .route, .errors { padding: 0; margin: 1.2rem 0; list-style: none; }
.role-list li, .headline-grid li { padding: .85rem 1rem; border-left: 3px solid #508bda; background: #f1f6fd; border-radius: .5rem; }
.role-list li p, .headline-grid li p, .route li p, .errors li p { margin: .3rem 0 0; }
.headline-grid li { background: #fff; }
.card { --accent: #6192de; min-width: 0; padding: 1rem; background: #fff; border: 1px solid var(--accent); border-top-width: 3px; border-radius: .9rem; box-shadow: 0 0 .85rem color-mix(in srgb, var(--accent) 25%, transparent); }
.tone-1 { --accent: #45aa89; }
.tone-2 { --accent: #9b78df; }
.tone-3 { --accent: #c19629; }
.profile { display: flex; flex-direction: column; }
.profile-code, .example-label { color: #294f86; font-size: .8rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.profile-code { border-left: 3px solid var(--accent); padding-left: .45rem; margin-bottom: .6rem; }
.profile .actions { margin-top: auto; padding-top: .85rem; }
.profile dl, .cv-example dl { margin: 0; }
.profile dl > div, .cv-example dl > div { margin-bottom: .55rem; }
.profile dt, .cv-example dt { font-weight: 790; font-size: .92rem; }
.profile dd, .cv-example dd { margin: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; }
.filters { display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; padding: .7rem .9rem; margin-block: 1rem; border: 1px solid #b5c9e5; background: #f8fbff; border-radius: .65rem; }
.filters label { font-weight: 750; }
.filters select { min-height: 44px; width: min(100%, 260px); padding-inline: .6rem; border: 1px solid #7a96ba; border-radius: .45rem; background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.filters p { margin: 0; font-weight: 750; }
.matrix { width: 100%; table-layout: fixed; border-collapse: collapse; margin-block: 1rem; overflow-wrap: anywhere; font-size: .94rem; }
.matrix caption { font-weight: 800; text-align: left; margin-bottom: .45rem; }
.matrix td, .matrix th { padding: .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix thead { background: #e7f0fe; }
.matrix tbody tr:nth-child(even) { background: #f5f8fd; }
.matrix th:first-child { width: 29%; }
.matrix th:nth-child(2) { width: 27%; }
.route, .errors { counter-reset: job-step; }
.route li, .errors li { min-width: 0; counter-increment: job-step; position: relative; padding: .85rem .85rem .85rem 3rem; border: 1px solid var(--line); border-radius: .7rem; background: #fff; }
.route li::before, .errors li::before {
  content: counter(job-step) / ""; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; position: absolute; left: .6rem; top: .8rem;
  background: #dceafe; color: #164382; border-radius: 50%; font-size: .82rem; font-weight: 850;
}
.route li::after { content: ""; position: absolute; top: 2.8rem; bottom: .65rem; left: 1.48rem; width: 1px; background: #c6d8f1; }
.route li:last-child::after { display: none; }
.simple { padding-left: 1.2rem; }
.simple li + li { margin-top: .4rem; }
.disclosures { display: grid; gap: .45rem; max-width: 900px; }
.disclosures details { background: #fff; border: 1px solid var(--line); border-radius: .55rem; }
.disclosures summary { padding: .65rem .8rem; min-height: 44px; color: var(--ink); font-weight: 760; cursor: pointer; }
.disclosures p { padding: 0 .8rem .8rem; margin: 0; }
.search-card { max-width: 820px; margin-block: 1rem; }
.search-list { margin: 0; padding-left: 1.2rem; }
.search-list li { margin-block: .1rem; }
.search-list code { font-size: .93rem; overflow-wrap: anywhere; }
.section.closing { background: radial-gradient(ellipse at 72% 65%, #18395e, transparent 67%), var(--night); color: #fff; }
.closing p { color: #e3edfb; }
.footer { padding: 1.5rem 0; font-size: .92rem; }
.footer h2 { font-size: 1.1rem; color: #fff; margin-top: 1.15rem; }
.footer p { max-width: 96ch; margin-block: .5rem; }
.footer nav { gap: .65rem 1.2rem; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 560px) {
  .hero .actions, .closing .actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero .actions { margin-top: .85rem; }
  .header-inner { gap: .2rem .7rem; }
  .site-header nav { gap: .1rem .85rem; }
  .matrix td, .matrix th { padding: .48rem .4rem; }
  .jump nav { gap: 0 .85rem; }
}
@media (min-width: 670px) {
  .role-list, .profile-grid, .cv-grid, .route, .errors, .headline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 930px) {
  .hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
  .role-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* Brighter section accents and accessible, interactive course and career cards. */
#perfiles { background: radial-gradient(ellipse at 100% 0%, #dbeaff, transparent 58%), #f3f7ff; }
#ruta { background: radial-gradient(ellipse at 0% 2%, #e9dfff, transparent 64%), #f8f5ff; border-color: #e4d8fa; }
#cv { background: linear-gradient(145deg, #fffaeb, #fff 64%); }
#entrevista { background: linear-gradient(135deg, #eaf9f4, #fff 70%); }
#empleo { background: linear-gradient(135deg, #e9f2ff, #f5faff 65%); }
#faq { background: linear-gradient(145deg, #f0e8fc, #f8f6ff 65%); }
.hero .button, .closing .button { box-shadow: 0 0 1rem color-mix(in srgb, var(--edge) 55%, transparent); }
.hero .button:hover, .closing .button:hover { box-shadow: 0 0 1.4rem color-mix(in srgb, var(--edge) 78%, transparent); }
.card { box-shadow: 0 0 1rem color-mix(in srgb, var(--accent) 38%, transparent); transition: box-shadow .22s ease, transform .22s ease; }
.card:focus-within { box-shadow: 0 0 1.3rem color-mix(in srgb, var(--accent) 57%, transparent); }
@media (hover: hover) {
  .profile:hover { transform: translateY(-3px); box-shadow: 0 0 1.35rem color-mix(in srgb, var(--accent) 55%, transparent); }
}
.editorial-intro { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 1.2rem; margin-bottom: 1.25rem; }
.editorial-intro .lead { margin: 0; }
.editorial-image {
  --edge: #dbad32;
  margin: 0; overflow: hidden; border: 2px solid var(--edge); border-radius: 1rem;
  box-shadow: 0 0 1.3rem color-mix(in srgb, var(--edge) 40%, transparent);
}
#entrevista .editorial-image { --edge: #30a689; }
.editorial-image img { width: 100%; height: auto; display: block; }
.route-tracker {
  margin-block: 1.25rem; padding: .9rem 1rem;
  background: #fff; border: 1px solid #9269dc; border-radius: .9rem; box-shadow: 0 0 1.1rem #8b5cf64d;
}
.route-summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem 1rem; flex-wrap: wrap; }
.route-summary p { margin: 0; }
.route-summary p:first-child { color: var(--ink); font-size: 1.08rem; }
.route-summary .button:not(:disabled) { cursor: pointer; }
.route-summary .button:disabled { box-shadow: none; opacity: .65; }
.route-tracker progress { display: block; width: 100%; height: 1rem; margin-top: .65rem; accent-color: #7250bf; }
.route li { border-color: #c8b6e8; transition: border-color .18s ease, box-shadow .18s ease; }
.route li.is-done { border-color: #32a187; box-shadow: 0 0 .85rem #10b98138; }
.route li.is-done::before { background: #c8f4e5; color: #084b3a; }
.step-toggle { display: inline-flex; align-items: center; gap: .48rem; min-height: 44px; cursor: pointer; color: #463478; font-weight: 740; }
.step-toggle input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: #7250bf; }
.disclosures details { border-color: #cbbbe9; transition: border-color .18s ease, box-shadow .18s ease; }
.disclosures details[open] { border-color: #8b65cf; box-shadow: 0 0 .85rem #8b5cf640; }
#entrevista .disclosures details { border-color: #add4c8; }
#entrevista .disclosures details[open] { border-color: #36a386; box-shadow: 0 0 .85rem #10b98140; }
@media (min-width: 800px) {
  .editorial-intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .route li, .disclosures details { transition: none; }
  .profile:hover { transform: none; }
}

.resource-heading { margin: 1.25rem 0 .2rem; }
.resource-heading + .actions { margin-top: .65rem; }
.footer a.button { color: var(--fg); }
.footer a.button:hover { text-decoration: none; }
