/*
 * Compara Carreras — estilos del sitio.
 *
 * Portado del prototipo aprobado (sep. 2026). Orden del archivo:
 *   1. Variables de diseño (colores, espaciados, radios)
 *   2. Base y utilidades
 *   3. Botones, iconos y enlaces
 *   4. Encabezado y menú móvil
 *   5. Comparador (casillas, "vs", buscador)
 *   6. Portada (fuentes, áreas, qué incluye, app, blog, preguntas)
 *   7. Página de comparación
 *   8. Ficha de carrera y listados
 *   8b. Universidades (lista con filtros, página y listado)
 *   9. Blog y páginas
 *  10. Comparación pendiente y 404
 *  11. Pie de página y aviso flotante
 *  12. Tablet (≤1180px)
 *  13. Celular (≤760px)
 *  14. Movimiento reducido
 *
 * Colores de marca (rescatados del sitio anterior, ver data/brand/README.md):
 *   marino #2B2E4A = color principal y SEGUNDA carrera (--c2)
 *   naranja #FF5530 = acento y PRIMERA carrera (--c1)
 * No uses colores sueltos: agrega una variable en :root si necesitas uno nuevo.
 * Movimiento: las animaciones son sutiles y se apagan con prefers-reduced-motion (sección 14).
 */

/* ========== 1. Variables de diseño ========== */
:root {
  --ink: #2B2E4A; --ink-2: #3A3D5C; --ink-3: #4B4F6B; --muted: #6B7280;
  --bg: #F7F7FA; --surface: #FFFFFF; --subtle: #EEEFF4; --line: #E5E7EB; --line-strong: #C9CBD8;
  --c1: #FF5530; --c1-tint: #FFEDE8; --c1-text: #B8321F;      /* primera carrera (naranja) */
  --c2: #2B2E4A; --c2-tint: #E9EAF1; --c2-text: #2B2E4A;      /* segunda carrera (marino) */
  --accent: var(--c1); --accent-hover: #E9421F;
  --pad: 120px; --radius-l: 28px; --radius-m: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ========== 2. Base y utilidades ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 18px; line-height: 1.5; }
a { color: var(--ink); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.dot { width: 12px; height: 12px; border-radius: 999px; flex-shrink: 0; display: inline-block; }
.dot.a { background: var(--c1); }
.dot.b { background: var(--c2); }
.h2 { font-size: 52px; line-height: 1.04; font-weight: 770; letter-spacing: -.035em; }
.no-data { color: var(--muted); font-weight: 500; }
.empty-state { font-size: 18px; color: var(--ink-3); padding: 24px 0; }

/* ========== 3. Botones, iconos y enlaces ========== */
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: inline-block; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }
.badge-ico { width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-ico-lg { width: 56px; height: 56px; border-radius: 16px; }
.soft-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--subtle); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 34px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s; }
.btn:hover { background: #1F2238; }
.btn.accent { background: var(--accent); }
.btn.accent:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--line-strong); color: var(--ink); cursor: not-allowed; }
.btn.play { background: var(--accent); color: #fff; }
.btn.play:hover { background: var(--accent-hover); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-ghost:hover { background: #fff; }
.link { font-weight: 650; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
.link-ico { display: inline-flex; align-items: center; gap: 8px; }

/* ========== 4. Encabezado y menú móvil ========== */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 19px; line-height: .95; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.logo-mark { width: 40px; height: 44px; }
.nav { display: flex; gap: 36px; font-size: 17px; font-weight: 600; }
.nav a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.nav .i { color: var(--ink-3); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--c1); }
.header-cta { height: 48px; padding: 0 22px; font-size: 16px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; align-items: center; justify-content: center; cursor: pointer; }
.drawer { display: none; }

/* ========== 5. Comparador ========== */
.hero { padding-top: 88px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; }
.hero-compact { padding-top: 32px; padding-bottom: 72px; gap: 36px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 920px; }
.hero h1 { font-size: 76px; line-height: .98; font-weight: 780; letter-spacing: -.045em; }
.hero-compact h1 { font-size: 60px; line-height: 1.02; }
.hero-copy p { font-size: 21px; color: var(--ink-3); max-width: 660px; }
.comparator { display: flex; flex-direction: column; gap: 32px; }
.versus { display: grid; grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); align-items: start; }
.slot-wrap { position: relative; display: flex; flex-direction: column; gap: 10px; }
.slot-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.slot-wrap[data-slot="a"] .slot-label { color: var(--c1); }
.slot-wrap[data-slot="b"] .slot-label { color: var(--c2); }
.slot-label .dot { width: 10px; height: 10px; }
/* La casilla es un campo de búsqueda: escribes y eliges. */
.slot { position: relative; display: flex; align-items: center; gap: 12px; height: 76px; padding: 0 18px 0 20px; background: #fff; border: 2px solid var(--line-strong); border-radius: 20px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease); }
.slot > .i { color: var(--muted); flex-shrink: 0; transition: color .18s; }
.slot input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 23px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.slot input::placeholder { color: var(--muted); font-weight: 500; }
.slot-wrap[data-slot="a"] .slot:focus-within { border-color: var(--c1); box-shadow: 0 0 0 4px var(--c1-tint); }
.slot-wrap[data-slot="b"] .slot:focus-within { border-color: var(--c2); box-shadow: 0 0 0 4px var(--c2-tint); }
.slot-wrap[data-slot="a"] .slot:focus-within > .i { color: var(--c1); }
.slot-wrap[data-slot="b"] .slot:focus-within > .i { color: var(--c2); }
.slot-wrap.filled .slot { border-color: var(--ink); }
.slot-wrap.filled[data-slot="a"] .slot { border-color: var(--c1); background: var(--c1-tint); }
.slot-wrap.filled[data-slot="b"] .slot { border-color: var(--c2); background: var(--c2-tint); }
.slot-wrap.filled .slot > .i:first-child { display: none; }
.slot .badge-ico { display: none; width: 40px; height: 40px; border-radius: 12px; }
.slot-wrap.filled .badge-ico { display: inline-flex; animation: pop .35s var(--ease) both; }
.slot-clear { display: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.slot-clear:hover { background: rgba(43, 46, 74, .08); color: var(--ink); }
.slot-wrap.filled .slot-clear { display: inline-flex; }
.slot-area { min-height: 22px; font-size: 15px; color: var(--ink-3); padding-left: 4px; }
.hinge-wrap { display: flex; justify-content: center; padding-top: 43px; }
.hinge { width: 56px; height: 56px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 0 5px var(--surface); transition: transform .45s var(--ease), background .18s; }
.hinge span { font-size: 16px; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.hinge:hover { background: var(--c1); transform: rotate(180deg) scale(1.06); }
.hinge.spin { transform: rotate(180deg); }
.hinge.spin:hover { transform: rotate(360deg) scale(1.06); }
.hero-action { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-action .btn { height: 64px; font-size: 19px; padding: 0 40px; }
.hero-action .btn .i { transition: transform .2s var(--ease); }
.hero-action .btn:not([aria-disabled="true"]):hover .i { transform: translateX(4px); }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink-3); }
.hero-note b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-note .i { color: var(--ink); }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.suggest > span { font-size: 15px; color: var(--muted); margin-right: 4px; }
.suggest a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 650; text-decoration: none; transition: border-color .15s, transform .15s var(--ease), box-shadow .15s; }
.suggest a:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(43, 46, 74, .1); }

/* Resultados: se abren bajo la casilla activa */
.picker { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 8px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 20px 48px rgba(43, 46, 74, .16); animation: drop .2s var(--ease) both; }
.picker[hidden] { display: none; }
.options { max-height: 340px; overflow: auto; display: flex; flex-direction: column; }
.option { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 12px; cursor: pointer; font-size: 17px; }
.option b { font-weight: 650; flex: 1; }
.option b small { display: block; text-align: left; font-weight: 500; }
.option small { font-size: 14px; color: var(--muted); text-align: right; }
.option[aria-selected="true"], .option:hover { background: var(--subtle); }
.option[aria-selected="true"] .soft-ico, .option:hover .soft-ico { background: #fff; }
.slot-wrap[data-slot="a"] .option[aria-selected="true"] { background: var(--c1-tint); }
.slot-wrap[data-slot="b"] .option[aria-selected="true"] { background: var(--c2-tint); }
.option mark { background: transparent; color: var(--c1-text); font-weight: 800; }
.empty-msg { padding: 10px 12px; font-size: 16px; color: var(--ink-3); display: flex; gap: 10px; align-items: flex-start; }
.picker-hint { padding: 8px 12px 4px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* Formulario simple (sin JavaScript y columna lateral) */
.compare-form { display: flex; flex-direction: column; gap: 14px; }
.compare-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 650; }
.compare-form select { height: 52px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--bg); font-size: 17px; font-weight: 600; width: 100%; }
.compare-form select.a { border-left: 6px solid var(--c1); }
.compare-form select.b { border-left: 6px solid var(--c2); }
.compare-form .btn { height: 52px; font-size: 17px; }
.compare-fallback { max-width: 520px; padding: 24px; border: 2px solid var(--ink); border-radius: 24px; background: #fff; }

/*
 * Mejora progresiva: <html class="js"> (Theme::print_js_flag) indica que el
 * navegador puede correr el comparador. Si no, se muestra el formulario simple.
 */
.js .compare-fallback { display: none; }
html:not(.js) .comparator .versus, html:not(.js) .comparator .hero-action { display: none; }

/* ========== 6. Portada ========== */
.sources { padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 48px; flex-wrap: wrap; font-size: 16px; color: var(--ink-3); }
.sources b { font-size: 20px; font-weight: 780; color: var(--ink); }
.sources-lead { display: flex; align-items: center; gap: 10px; }

.section { padding-top: 112px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head .h2 { max-width: 640px; }

/* Pestañas de áreas. Con JavaScript se ve un área a la vez; sin él, todas con su título. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 650; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .15s var(--ease); }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .i { color: currentColor; }
.areas { display: flex; flex-direction: column; gap: 56px; }
.area h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 750; margin-bottom: 20px; }
.js .chips + .areas .area:not(.on) { display: none; }
.js .chips + .areas .area h3 { display: none; }
.js .chips + .areas .area.on { animation: rise .35s var(--ease) both; }
.pair-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pair a { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; row-gap: 4px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s; }
.pair a > .i { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); transition: transform .18s var(--ease); }
.pair a:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(43, 46, 74, .12); border-color: var(--line-strong); }
.pair a:hover > .i { transform: translateX(3px); color: var(--ink); }
.pair span { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650; }
.pair .dot { width: 8px; height: 8px; }
.pair-columns .pair-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.what { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 96px; align-items: center; padding-top: 24px; padding-bottom: 120px; }
.what dl { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.what dl > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
.what dl .badge-ico { grid-row: 1 / span 2; }
.what dt { font-size: 20px; font-weight: 720; }
.what dd { font-size: 18px; color: var(--ink-3); margin-top: 4px; }
.sample { background: #fff; border: 2px solid var(--ink); border-radius: 32px; overflow: hidden; }
.sample-head { display: grid; grid-template-columns: 1fr 1fr; }
.sample-head div { padding: 22px 26px; font-size: 22px; font-weight: 760; letter-spacing: -.02em; border-bottom: 2px solid var(--ink); }
.sample-head div:first-child { background: var(--c1-tint); border-right: 2px solid var(--ink); }
.sample-head div:last-child { background: var(--c2-tint); }
.sample-rows { padding: 6px 26px 18px; }
.sample-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.sample-row:last-child { border-bottom: 0; }
.sample-row > span { font-size: 14px; font-weight: 650; color: var(--muted); }
.sample-row div { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; font-size: 20px; font-weight: 650; margin-top: 6px; }
.sample-head div:first-child { color: var(--c1-text); }
.sample-head div:last-child { color: var(--c2-text); }
.sample-foot { padding: 16px 26px; border-top: 2px solid var(--ink); background: var(--bg); display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: var(--ink-3); }

.app-band { margin: 0 48px; border-radius: 40px; background: var(--ink); color: #fff; padding: 96px 72px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.app-band h2 { font-size: 56px; line-height: 1.02; font-weight: 780; letter-spacing: -.035em; }
.app-band p { font-size: 20px; color: rgba(255, 255, 255, .78); max-width: 560px; margin-top: 24px; }
.app-band .app-note { font-size: 16px; color: rgba(255, 255, 255, .6); margin-top: 20px; }
.app-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.app-band .link { color: #fff; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.qr-box { width: 240px; height: 240px; border-radius: 28px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 32px; }
.qr-box img { width: 100%; height: auto; }
.qr span { font-size: 16px; color: rgba(255, 255, 255, .78); }
.qr-light .qr-box { border: 2px solid var(--ink); }
.qr-light span { color: var(--ink-3); }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post { display: flex; flex-direction: column; gap: 18px; }
.post-tile { height: 220px; border-radius: 24px; border: 2px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 24px; font-size: 34px; font-weight: 780; letter-spacing: -.03em; line-height: 1; text-decoration: none; overflow: hidden; }
.post-tile.tone-red { background: var(--c1-tint); }
.post-tile.tone-green { background: var(--c2-tint); }
.post-tile.tone-yellow { background: var(--subtle); }
.post-tile:has(img) { padding: 0; }
.post-tile img { width: 100%; height: 100%; object-fit: cover; }
.post h2, .post h3 { font-size: 24px; line-height: 1.25; font-weight: 720; letter-spacing: -.015em; }
.post h2 a, .post h3 a { text-decoration: none; }
.post h2 a:hover, .post h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post p { font-size: 16px; color: var(--muted); }

.home-text { padding-top: 24px; padding-bottom: 24px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 96px; align-items: start; padding-top: 72px; padding-bottom: 120px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 22px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { font-size: 18px; line-height: 1.6; color: var(--ink-3); max-width: 640px; margin-top: 10px; }

/* ========== 7. Página de comparación ========== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-3); padding-top: 32px; }
.crumbs a { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.comp-top { display: flex; flex-direction: column; gap: 18px; max-width: 1040px; margin-top: 28px; }
.comp-top h1 { font-size: 60px; line-height: 1.02; font-weight: 780; letter-spacing: -.04em; }
.meta { display: flex; gap: 28px; flex-wrap: wrap; font-size: 16px; color: var(--ink-3); }
.meta span { display: inline-flex; align-items: center; gap: 8px; }
.comp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.matchup { display: grid; grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr); align-items: center; margin-top: 36px; }
.panel .slot-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel { min-height: 180px; padding: 28px 32px; border: 2px solid var(--ink); border-radius: var(--radius-l); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.panel { background: #fff; }
.panel.a { border-color: var(--c1); }
.panel.b { border-color: var(--c2); }
.panel.a .slot-label { color: var(--c1); }
.panel.b .slot-label { color: var(--c2); }
.panel strong { font-size: 44px; font-weight: 770; letter-spacing: -.03em; line-height: 1.05; }
.panel strong a { text-decoration: none; }
.panel strong a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.vs-badge { width: 96px; height: 96px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 780; letter-spacing: -.03em; margin: 0 auto; }
.comp-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: start; padding-top: 80px; padding-bottom: 120px; }
.comp-main { display: flex; flex-direction: column; gap: 96px; min-width: 0; }
.comp-main section { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 110px; }
.comp-main h2 { font-size: 40px; line-height: 1.08; font-weight: 770; letter-spacing: -.03em; }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose p { font-size: 20px; line-height: 1.65; color: var(--ink-2); max-width: 72ch; }
.table-box { border: 2px solid var(--ink); border-radius: var(--radius-l); overflow: hidden; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 19px; }
.data-table th, .data-table td { padding: 20px 28px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table thead th { border-bottom: 2px solid var(--ink); font-size: 20px; font-weight: 760; }
.data-table thead th:first-child { font-size: 16px; font-weight: 650; color: var(--ink-3); background: var(--bg); width: 30%; }
.data-table thead th.a { background: var(--c1-tint); color: var(--c1-text); }
.data-table thead th.b { background: var(--c2-tint); color: var(--c2-text); }
.data-table thead th .dot { display: inline-block; margin-right: 8px; width: 10px; height: 10px; vertical-align: 1px; }
.data-table td, .data-table thead th.a, .data-table thead th.b { border-left: 2px solid var(--ink); }
.data-table tbody th { font-weight: 600; color: var(--ink-3); }
.data-table tbody th span { display: flex; align-items: center; gap: 10px; }
.data-table td { font-weight: 650; }
/* "Mayor": la cifra más alta de la fila. Solo compara las dos cifras; no dice cuál carrera es mejor. */
.larger { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 9px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.a .larger, .larger.a { color: var(--c1-text); }
.b .larger, .larger.b { color: var(--c2-text); }
.in .larger { animation: badge-in .5s var(--ease) .2s both; }
.data-table td .big { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.fact-detail { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.source { font-size: 16px; color: var(--ink-3); display: flex; flex-direction: column; gap: 6px; }
.source p { display: flex; align-items: center; gap: 8px; }
.source-title { font-weight: 650; color: var(--ink); }
.source ul { display: flex; flex-direction: column; gap: 4px; padding-left: 24px; list-style: disc; }
.source-note { color: var(--muted); font-size: 15px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.col { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 18px; padding: 6px 22px 10px; }
.col.a { border-top-color: var(--c1); }
.col.b { border-top-color: var(--c2); }
.col h3, .col-title { padding: 14px 0 10px; display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 740; letter-spacing: -.01em; }
.col li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.col .no-data { padding: 16px 0; }
.common { flex-shrink: 0; font-size: 12px; font-weight: 650; color: var(--muted); padding: 2px 8px; border-radius: 999px; background: var(--subtle); }
.related.two .col { border-top-color: var(--ink); }
.fit { padding: 32px; border: 2px solid var(--ink); border-radius: var(--radius-l); display: flex; flex-direction: column; gap: 18px; }
.fit.a { background: var(--c1-tint); border-color: var(--c1); }
.fit.b { background: var(--c2-tint); border-color: var(--c2); }
.fit h2, .fit h3 { font-size: 24px; line-height: 1.2; font-weight: 750; letter-spacing: -.01em; }
.fit ul { display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.fit li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.fit li .i { margin-top: 2px; }
.test-band { padding: 40px; border-radius: var(--radius-l); background: var(--c2-tint); border: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.test-band h2 { font-size: 28px; line-height: 1.15; font-weight: 770; letter-spacing: -.02em; }
.comp-main .test-band { flex-direction: row; align-items: center; gap: 32px; } /* Gana a ".comp-main section" (columna). */
.comp-main .test-band h2 { font-size: 28px; }
.test-band p { font-size: 18px; margin-top: 8px; max-width: 480px; }
.test-band .btn { flex-shrink: 0; }
.aside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 20px; }
.admin-bar .aside { top: 144px; }
.card { padding: 28px; border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.card h2 { font-size: 19px; font-weight: 750; }
.card.toc { background: #fff; border: 1px solid var(--line); }
.toc ol { display: flex; flex-direction: column; gap: 2px; }
.toc a { min-height: 44px; padding: 6px 10px; border-radius: 12px; text-decoration: none; font-size: 17px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); }
.toc a:hover { background: var(--bg); color: var(--ink); }
.toc a.on { font-weight: 700; color: var(--ink); background: var(--bg); }
.card.other { background: #fff; border: 2px solid var(--ink); }
.card.dark { background: var(--ink); color: #fff; }
.card.dark p { font-size: 16px; color: rgba(255, 255, 255, .78); }
.card.dark .btn { height: 52px; font-size: 17px; padding: 0 20px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; text-decoration: none; font-weight: 600; font-size: 19px; }
.related a .i { color: var(--muted); }
.related a:hover { text-decoration: underline; text-underline-offset: 4px; }
.related li { border-bottom: 1px solid var(--line); }
.sticky-bar { display: none; }
/* Barra fija superior: aparece al bajar más allá de los paneles A vs B (site.js → initCompSticky). */
.comp-sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 41; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(43, 46, 74, .08); transform: translateY(-100%); transition: transform .3s var(--ease); }
.admin-bar .comp-sticky { top: 32px; }
.comp-sticky.show { transform: none; }
.comp-sticky .wrap { height: 64px; display: flex; align-items: center; gap: 24px; }
.comp-sticky .pair-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comp-sticky .pair-name .dot { width: 10px; height: 10px; }
.comp-sticky .pair-name em { font-style: normal; color: var(--muted); font-weight: 500; }
.comp-sticky nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; overflow: hidden; min-width: 0; }
.comp-sticky nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.comp-sticky .pair-name { flex-shrink: 0; }
.comp-sticky nav a.on, .comp-sticky nav a:hover { color: var(--c1); }
.comp-sticky .actions { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.comp-sticky .btn-ghost, .comp-sticky .btn { height: 40px; font-size: 14px; padding: 0 16px; }
.comp-sticky .btn-ghost { border-width: 1.5px; border-color: var(--line-strong); }

/* ========== 8. Ficha de carrera y listados ========== */
.career-top, .listing-top { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 900px; margin-top: 28px; }
.career-top h1, .listing-top h1 { font-size: 60px; line-height: 1.02; font-weight: 780; letter-spacing: -.04em; }
.lead, .listing-top p { font-size: 21px; color: var(--ink-3); max-width: 720px; }
.area-tag { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 650; text-decoration: none; }
.area-tag .badge-ico { width: 40px; height: 40px; border-radius: 12px; }
.area-tag:hover { text-decoration: underline; text-underline-offset: 4px; }
.career-text { margin-top: 40px; }
.career-section { margin-top: 72px; display: flex; flex-direction: column; gap: 24px; }
.two.career-section { display: grid; } /* .career-section es flex; aquí manda la cuadrícula de dos columnas. */
.hero-compact + .section { padding-top: 48px; }
.career-section > h2 { font-size: 40px; line-height: 1.08; font-weight: 770; letter-spacing: -.03em; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-m); padding: 22px; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 4px; }
.fact .soft-ico { grid-row: 1 / span 2; }
.fact dt { font-size: 15px; font-weight: 650; color: var(--ink-3); }
.fact dd { font-size: 21px; font-weight: 720; letter-spacing: -.01em; }
.career .hero-compact { margin-top: 64px; padding-top: 72px; border-top: 1px solid var(--line); }
.listing { padding-bottom: 120px; }
.listing-group { margin-top: 64px; display: flex; flex-direction: column; gap: 20px; }
.listing-group > h2 { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 760; letter-spacing: -.02em; }
.listing-group > h2 a { text-decoration: none; }
.listing-group > h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.career-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 2px solid var(--ink); }
.career-grid li { border-bottom: 1px solid var(--line); }
.career-grid a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 14px 0; text-decoration: none; font-size: 18px; font-weight: 620; }
.career-grid a .i { color: var(--muted); }
.career-grid a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.area-links { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-cta { margin-top: 56px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagination .page-numbers { min-width: 48px; height: 48px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }
.pagination .page-numbers.dots { border: 0; min-width: 24px; }

/* ========== 8b. Universidades ========== */
.sec-intro { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.section-sub { font-size: 19px; color: var(--ink-3); }
.fact-link { display: flex; align-items: center; gap: 2px; margin-top: 6px; font-size: 14px; font-weight: 650; color: var(--c1-text); text-decoration: none; }
.fact-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.data-table .fact-link { margin-top: 4px; }
.uni-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.uni-region { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 650; }
.uni-region select { border: 0; background: transparent; outline: 0; font-size: 15px; font-weight: 650; max-width: 220px; cursor: pointer; }
.uni-count { margin-left: auto; font-size: 15px; font-weight: 650; color: var(--ink-3); }
.uni-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.uni { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; column-gap: 16px; padding: 14px 18px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .15s, transform .15s var(--ease); }
.uni:hover { border-color: var(--ink); transform: translateY(-1px); }
.uni[hidden] { display: none; }
.uni.featured { border: 2px solid var(--c1); background: var(--c1-tint); }
.uni-badge { width: 56px; height: 56px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; text-decoration: none; flex-shrink: 0; }
.uni-badge.big { width: 96px; height: 96px; border-radius: 24px; border: 2px solid var(--ink); }
.uni-badge .uni-logo { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.uni-mono { font-size: 15px; font-weight: 780; letter-spacing: -.02em; color: var(--ink); }
.uni-badge.big .uni-mono { font-size: 26px; }
.uni-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.uni-name { font-size: 18px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; line-height: 1.25; }
.uni-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.uni-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 650; color: var(--ink-3); padding: 3px 9px; border-radius: 999px; background: var(--subtle); white-space: nowrap; }
.tag .i-sm { width: 13px; height: 13px; }
.tag-publica { background: var(--c2-tint); color: var(--c2-text); }
.tag-privada { background: #FFF4E5; color: #8A4B00; }
.tag.soft { background: transparent; border: 1px solid var(--line); }
.uni-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sponsored { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c1-text); }
.btn-ghost.small { height: 40px; padding: 0 14px; font-size: 14px; }
.uni-more { margin-top: 12px; }
.uni-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 650; cursor: pointer; }
.uni-more summary::-webkit-details-marker { display: none; }
.uni-more summary:hover { border-color: var(--ink); }
.uni-more[open] summary { display: none; }
.uni-empty { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--ink-3); padding: 12px 0; }
.uni-empty[hidden] { display: none; }
.uni-top { display: grid; grid-template-columns: 96px 1fr; column-gap: 28px; align-items: start; margin-top: 28px; }
.uni-top-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 900px; }
.uni-top h1 { font-size: 52px; line-height: 1.04; font-weight: 780; letter-spacing: -.04em; }
.uni-area { display: flex; flex-direction: column; gap: 12px; }
.uni-area + .uni-area { margin-top: 20px; }
.uni-area h3 { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 750; letter-spacing: -.015em; }
.uni-area h3 .badge-ico { width: 40px; height: 40px; border-radius: 12px; }
.uni-careers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 2px solid var(--ink); }
.uni-careers li { border-bottom: 1px solid var(--line); padding: 12px 0; display: flex; flex-direction: column; gap: 2px; }
.uni-careers a { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; font-size: 18px; font-weight: 620; }
.uni-careers a .i { color: var(--muted); }
.uni-careers a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.uni-careers small { font-size: 14px; color: var(--muted); }
.grid-count { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 6px; white-space: nowrap; }

/* ========== 9. Blog y páginas ========== */
.article { padding-bottom: 72px; }
.article-top { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin: 28px auto 0; }
.article-top h1 { font-size: 52px; line-height: 1.05; font-weight: 780; letter-spacing: -.035em; }
.article-cover { max-width: 1040px; margin: 40px auto 0; }
.article-cover img { width: 100%; border-radius: var(--radius-l); border: 2px solid var(--ink); }
.article .entry-content { max-width: 720px; margin: 48px auto 0; }
.article-cta { max-width: 1040px; margin: 0 auto; }
.posts-listing { margin-top: 48px; }
.notice-page { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding-top: 64px; padding-bottom: 96px; max-width: 900px; }
.notice-page h1 { font-size: 52px; line-height: 1.05; font-weight: 780; letter-spacing: -.035em; }
.notice-page p { font-size: 20px; color: var(--ink-3); }

/* Página del test vocacional */
.test-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.step { position: relative; padding: 32px; border: 2px solid var(--ink); border-radius: var(--radius-l); background: #fff; display: flex; flex-direction: column; gap: 14px; }
.step-num { position: absolute; top: 24px; right: 28px; font-size: 44px; font-weight: 780; color: var(--line-strong); line-height: 1; }
.step h3 { font-size: 22px; font-weight: 740; }
.step p { color: var(--ink-3); }

/* ========== 10. Comparación pendiente ========== */
.pending { padding-bottom: 120px; }
.pending .matchup { margin-top: 28px; }
.pending-box { margin-top: 48px; padding: 48px; border: 2px solid var(--ink); border-radius: var(--radius-l); background: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 900px; }
.pending-box h1 { font-size: 44px; line-height: 1.05; font-weight: 780; letter-spacing: -.035em; }
.pending-box > p { font-size: 19px; color: var(--ink-3); max-width: 640px; }
.pending-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pending-actions .btn-ghost { height: 60px; padding: 0 26px; }
.pending-status { font-size: 17px; font-weight: 650; min-height: 1.5em; }
.pending-status.ok { color: var(--c2-text); }
.pending-status.error { color: var(--c1-text); }
.pending-more { margin-top: 72px; }

/* ========== 11. Pie de página y aviso flotante ========== */
.site-footer { background: var(--subtle); padding-top: 80px; padding-bottom: 48px; margin-top: 96px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.foot-grid nav b { font-weight: 750; }
.foot-grid nav a { text-decoration: none; }
.foot-grid nav a:hover { text-decoration: underline; }
.foot-tagline { margin-top: 14px; color: var(--ink-3); }
.foot-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--ink-3); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 999px; font-size: 16px; font-weight: 650; display: flex; align-items: center; gap: 10px; z-index: 80; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Aviso de cookies (solo con GTM configurado; ver Analytics) */
.cookie-notice { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 70; max-width: 560px; margin-left: auto; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 48px rgba(43, 46, 74, .18); display: flex; flex-direction: column; gap: 14px; animation: rise .4s var(--ease) both; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn, .cookie-actions .btn-ghost { height: 44px; font-size: 15px; padding: 0 18px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ========== 12. Tablet ========== */
@media (max-width: 1180px) {
  :root { --pad: 48px; }
  .hero h1 { font-size: 62px; }
  .hero-compact h1, .comp-top h1, .career-top h1, .listing-top h1 { font-size: 50px; }
  .pair-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uni-list { grid-template-columns: 1fr; }
  .what { grid-template-columns: 1fr; gap: 56px; }
  .app-band { margin: 0 24px; padding: 72px 48px; grid-template-columns: 1fr; }
  .app-band .qr { display: none; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts:not(.posts-listing) .post:nth-child(3) { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .comp-body { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside .toc { display: none; }
  .panel strong { font-size: 36px; }
  .nav { gap: 24px; }
  .facts, .career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
}

/* ========== 13. Celular ========== */
@media (max-width: 760px) {
  :root { --pad: 20px; --radius-l: 22px; }
  body { font-size: 17px; }
  .site-header .wrap { height: 64px; }
  .logo { font-size: 16px; gap: 6px; }
  .logo-mark { width: 34px; height: 38px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: flex; }
  .drawer { display: block; position: fixed; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 2px solid var(--ink); padding: 8px 20px 24px; z-index: 39; }
  .admin-bar .drawer { top: 110px; }
  .drawer[hidden] { display: none; }
  .drawer a { display: flex; align-items: center; gap: 14px; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 700; text-decoration: none; }
  .drawer .btn { margin-top: 20px; width: 100%; border: 0; }

  .h2 { font-size: 32px; }
  .hero { padding-top: 36px; padding-bottom: 44px; gap: 28px; }
  .hero-compact { padding-top: 16px; }
  .hero h1 { font-size: 42px; line-height: 1.02; }
  .hero-compact h1 { font-size: 36px; }
  .hero-copy { gap: 14px; }
  .hero-copy p { font-size: 17px; }
  .comparator { gap: 22px; }
  .versus { grid-template-columns: 1fr; row-gap: 14px; }
  .slot { height: 62px; padding: 0 12px 0 16px; border-radius: 16px; }
  .slot input { font-size: 18px; }
  .slot .badge-ico { width: 34px; height: 34px; border-radius: 10px; }
  .hinge-wrap { padding: 0; }
  .hinge { width: 44px; height: 44px; }
  .hinge span { font-size: 13px; }
  .hero-action { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-action .btn { height: 58px; font-size: 18px; }
  .hero-note { font-size: 14px; }
  .suggest > span { width: 100%; }
  .suggest a { font-size: 14px; padding: 0 13px; }
  .picker { border-radius: 16px; }
  .options { max-height: 300px; }
  .picker-hint { display: none; }

  .sources { gap: 14px 24px; font-size: 14px; padding-top: 18px; padding-bottom: 18px; }
  .sources-lead { width: 100%; }
  .sources b { font-size: 17px; }
  .section { padding-top: 56px; padding-bottom: 48px; gap: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; min-height: 42px; font-size: 14px; }
  .section-sub { font-size: 16px; }
  .uni-filters { gap: 10px; }
  .uni-count { margin-left: 0; width: 100%; }
  .uni { grid-template-columns: 44px 1fr; padding: 12px; column-gap: 12px; }
  .uni-badge { width: 44px; height: 44px; border-radius: 12px; }
  .uni-mono { font-size: 12px; }
  .uni-name { font-size: 16px; }
  .uni-side { grid-column: 2; flex-direction: row; align-items: center; margin-top: 8px; }
  .uni-top { grid-template-columns: 1fr; row-gap: 16px; }
  .uni-badge.big { width: 72px; height: 72px; border-radius: 18px; }
  .uni-top h1 { font-size: 36px; }
  .uni-careers { grid-template-columns: 1fr; }
  .areas { gap: 36px; }
  .pair-list, .pair-columns .pair-list { grid-template-columns: 1fr; gap: 10px; }
  .pair a { padding: 14px 16px; }
  .pair span { font-size: 15px; }
  .comp-sticky { display: none; }
  .what { padding-bottom: 56px; gap: 28px; }
  .what dl { margin-top: 20px; gap: 18px; }
  .what dl > div { grid-template-columns: 40px 1fr; column-gap: 14px; }
  .what .badge-ico { width: 40px; height: 40px; border-radius: 12px; }
  .what dt { font-size: 18px; }
  .what dd { font-size: 16px; }
  .sample { border-radius: 22px; }
  .sample-head div { font-size: 16px; padding: 14px 16px; }
  .sample-rows { padding: 4px 16px 10px; }
  .sample-row div { font-size: 16px; gap: 16px; }
  .sample-foot { padding: 14px 16px; font-size: 15px; }
  .app-band { margin: 0 12px; border-radius: 28px; padding: 44px 24px; }
  .app-band h2 { font-size: 32px; }
  .app-band p { font-size: 17px; }
  .app-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .app-actions .btn { height: 58px; font-size: 17px; }
  .app-actions .link { justify-content: center; min-height: 44px; }
  .app-band .app-note { text-align: center; }
  .posts { grid-template-columns: 1fr; gap: 28px; }
  .posts:not(.posts-listing) .post:nth-child(3) { display: flex; }
  .post-tile { height: 150px; font-size: 26px; padding: 18px; border-radius: 20px; }
  .post h2, .post h3 { font-size: 20px; }
  .faq-grid { padding-top: 32px; padding-bottom: 64px; gap: 20px; }
  .faq summary { font-size: 18px; gap: 16px; }
  .faq details p { font-size: 16px; }
  .site-footer { padding-top: 48px; padding-bottom: 36px; margin-top: 56px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-grid > div { grid-column: 1 / -1; }
  .foot-grid nav { font-size: 16px; }
  .foot-bottom { margin-top: 36px; font-size: 14px; }

  .crumbs { font-size: 14px; padding-top: 20px; }
  .crumbs li:nth-last-child(-n+2) { display: none; }
  .comp-top { margin-top: 16px; gap: 12px; }
  .comp-top h1, .career-top h1, .listing-top h1, .article-top h1, .notice-page h1 { font-size: 34px; line-height: 1.05; }
  .lead, .listing-top p { font-size: 17px; }
  .meta { flex-direction: column; gap: 4px; font-size: 14px; }
  .comp-actions .btn-ghost { flex: 1; justify-content: center; padding: 0 12px; font-size: 15px; white-space: nowrap; }
  .matchup { grid-template-columns: 1fr; grid-template-rows: auto 0 auto; row-gap: 6px; margin-top: 22px; }
  .panel { min-height: 0; padding: 18px 20px; border-radius: 22px; gap: 6px; }
  .panel .slot-label { font-size: 13px; }
  .panel .badge-ico { width: 36px; height: 36px; border-radius: 11px; }
  .panel strong { font-size: 26px; }
  .matchup .vs-badge { width: 52px; height: 52px; font-size: 18px; border: 3px solid var(--bg); position: relative; z-index: 2; align-self: center; }
  .matchup > div:nth-child(2) { height: 0; display: flex; align-items: center; }
  .comp-body { padding-top: 44px; padding-bottom: 40px; gap: 48px; }
  .comp-main { gap: 56px; }
  .comp-main h2, .career-section > h2 { font-size: 28px; }
  .prose p { font-size: 17px; }
  .table-box { border-radius: 22px; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody { display: block; }
  .data-table tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table th, .data-table td { padding: 0; border: 0 !important; font-size: 16px; }
  .data-table tbody th { grid-column: 1 / -1; font-size: 13px; margin-bottom: 6px; }
  .data-table td { display: flex; flex-direction: column; gap: 2px; }
  .data-table td::before { content: attr(data-label); font-size: 12px; font-weight: 650; }
  .data-table td.a::before { color: var(--c1-text); }
  .data-table td.b::before { color: var(--c2-text); }
  .source { font-size: 14px; }
  .two { grid-template-columns: 1fr; gap: 16px; }
  .col { padding: 4px 16px 8px; }
  .col h3, .col-title { font-size: 18px; }
  .col li { font-size: 16px; padding: 11px 0; }
  .data-table td .big { font-size: 20px; }
  .fit { padding: 22px; gap: 12px; }
  .fit h2, .fit h3 { font-size: 19px; }
  .fit ul { font-size: 16px; gap: 8px; }
  .test-band, .comp-main .test-band { flex-direction: column; align-items: stretch; padding: 26px 22px; gap: 18px; }
  .test-band h2, .comp-main .test-band h2 { font-size: 22px; }
  .test-band p { font-size: 16px; }
  .test-band .btn { height: 54px; font-size: 17px; }
  .aside { grid-template-columns: minmax(0, 1fr); }
  .related a { font-size: 17px; padding: 14px 0; }
  body.on-comp { padding-bottom: 76px; }
  body.on-comp .sticky-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); align-items: center; gap: 12px; box-shadow: 0 -8px 24px rgba(26, 26, 26, .06); }
  .sticky-bar span { flex: 1; font-size: 15px; font-weight: 650; line-height: 1.3; min-width: 0; }
  .sticky-bar .btn { height: 48px; font-size: 16px; padding: 0 20px; }

  .career-section { margin-top: 48px; }
  .facts, .career-grid { grid-template-columns: 1fr; }
  .fact dd { font-size: 18px; }
  .listing-group > h2 { font-size: 22px; }
  .career .hero-compact { margin-top: 40px; padding-top: 40px; }
  .article-cover { margin-top: 24px; }
  .article .entry-content { margin-top: 28px; }
  .pending-box { padding: 26px 22px; margin-top: 32px; }
  .pending-box h1 { font-size: 28px; }
  .pending-box > p { font-size: 16px; }
  .pending-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .pending-actions .btn, .pending-actions .btn-ghost { justify-content: center; height: 56px; padding: 0 18px; font-size: 17px; white-space: nowrap; }
  .pending-more { margin-top: 48px; }
  .notice-page { min-height: 50vh; }
  .notice-page p { font-size: 17px; }
  .step { padding: 24px; }
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-actions .btn, .cookie-actions .btn-ghost { flex: 1; justify-content: center; }
}

@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes badge-in { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: none; opacity: 1; } }

/* Revelado suave al entrar en pantalla (site.js → initReveal). Sin JavaScript todo se ve. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal-group.in > * { opacity: 1; transform: none; }
.js .reveal-group.in > :nth-child(2) { transition-delay: .06s; }
.js .reveal-group.in > :nth-child(3) { transition-delay: .12s; }
.js .reveal-group.in > :nth-child(4) { transition-delay: .18s; }
.js .reveal-group.in > :nth-child(5) { transition-delay: .24s; }
.js .reveal-group.in > :nth-child(6) { transition-delay: .3s; }

/* ========== 14. Movimiento reducido ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
  .comp-sticky { transform: none; }
}
