/* InariMex · secciones después del hero
   Idea: el hero es la noche que amanece; estas secciones son "de día" sobre la nieve (el mismo tono del suelo del hero)
   y el cierre regresa a la noche antes del lanzamiento. Profundidad con tonos y bordes, sin sombras. */

:root {
  --sand: #ECE3D4;         /* panel donde se apoyan las demos */
  --sheet: #FDFBF7;        /* papel del CV y superficies elevadas */
  --orange-ink: #A54F0D;   /* naranja para texto chico sobre claro (contraste AA) */
  --night: #12234A;
  --line: rgba(28, 53, 97, .16);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}

.wrap { width: min(var(--page), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.sec { position: relative; padding: clamp(88px, 11vw, 152px) 0; }
.sec h2 { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.03; letter-spacing: -0.03em; }
.sec h3 { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.06; letter-spacing: -0.025em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-soft); max-width: 34em; }
.kicker { font-weight: 600; font-size: 15px; color: var(--orange-ink); margin-bottom: 18px; }
.note { margin-top: 18px; font-size: 14.5px; color: var(--ink-muted); }

/* Bloques de producto: el texto angosto y la demo amplia, para usar el ancho de la pantalla */
.feature { display: grid; grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(96px, 11vw, 152px); }
.feature-copy h2 { font-size: clamp(40px, 4.6vw, 74px); line-height: .98; letter-spacing: -0.035em; }
.perks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 99px; font-size: 15px; font-weight: 600; background: var(--sky-100); color: var(--navy); }
.perks li:nth-child(2) { background: var(--orange-100); color: var(--orange-ink); }
.perks li:nth-child(3) { background: var(--navy); color: var(--paper-2); }
.perks li:nth-child(4) { background: var(--sky-200); }
.feature-copy h2, .feature-copy h3 { margin-bottom: 22px; max-width: 16ch; }
.demo { position: relative; }

/* ---------- Marco de aplicación: las demos se ven como el sistema real ---------- */
.app { background: var(--sheet); color: var(--navy); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 18px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.app-mark { width: 22px; height: 22px; flex: none; }
.app-crumb { color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-crumb i { font-style: normal; margin: 0 6px; color: var(--sky-300); }
.app-crumb b { color: var(--navy); font-weight: 600; }
.app-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sky-600); white-space: nowrap; }
.app-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-500); transition: background-color .2s ease; }
.app-status.is-saving { color: var(--ink-muted); }
.app-status.is-saving::before { background: var(--orange); animation: pulse .5s ease-in-out infinite alternate; }
.app-live { color: var(--orange-ink); }
.app-live::before { background: var(--orange); box-shadow: 0 0 0 3px var(--orange-100); }

/* ---------- Demo · CV: el editor completo, como se verá en la plataforma ---------- */
.cand-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.cand-head h2 { font-size: clamp(44px, 5.6vw, 92px); line-height: .95; letter-spacing: -0.04em; }
.cand-side .perks { margin-top: 20px; }
.app-user { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: var(--sky-600); color: var(--paper-2); }
.cvx { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.08fr); min-height: 640px; }

/* navegación */
.cvx-nav { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; background: var(--paper-2); border-right: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.nv { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; }
.nv svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nv em { margin-left: auto; font-style: normal; font-size: 11.5px; padding: 2px 7px; border-radius: 99px; background: var(--orange); color: var(--navy); }
.nv.is-on { background: var(--navy); color: var(--paper-2); }
.nv-card { margin-top: auto; padding: 14px; border-radius: 14px; background: var(--orange-100); font-size: 13px; color: var(--ink-soft); display: grid; gap: 8px; }
.nv-card p { font-weight: 600; } .nv-card b { font: 600 20px/1 var(--font-display); color: var(--navy); margin-right: 4px; }
.nv-card small { font-size: 12px; font-weight: 500; }
.cv-meter-bar { height: 6px; border-radius: 6px; background: var(--orange-200); overflow: hidden; }
.cv-meter-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--orange); transform-origin: 0 50%; transform: scaleX(.8); transition: transform .6s var(--ease-out); }

/* editor */
.cvx-edit { padding: 22px 24px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cv-steps { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; border-radius: 12px; background: var(--sky-100); font-size: 12.5px; font-weight: 600; color: var(--ink-muted); overflow-x: auto; scrollbar-width: none; }
.cv-steps li { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 10px; border-radius: 9px; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.cv-steps li span { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1.5px solid var(--sky-300); color: var(--sky-600); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.cv-steps .is-done { color: var(--navy); }
.cv-steps .is-done span { background: var(--sky-600); border-color: var(--sky-600); color: var(--sheet); }
.cv-steps .is-now { background: var(--sheet); color: var(--navy); }
.cv-steps .is-now span { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.ed-wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--ink-muted); font-weight: 500; border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 7px; }
.field input { font: 600 16px var(--font-text); color: var(--navy); background: var(--paper-2); border: 1.5px solid rgba(28, 53, 97, .18); border-radius: 10px; padding: 11px 13px; width: 100%; transition: border-color .15s ease, background-color .15s ease; }
.field input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--sky-600); background: var(--sheet); }
.field-static b { font-size: 15px; color: var(--navy); padding: 11px 13px; border-radius: 10px; background: var(--sky-100); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label, .cv-plantillas label { position: relative; cursor: pointer; }
.chips input, .cv-plantillas input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--navy); background: var(--sky-100); transition: background-color .15s ease, color .15s ease; }
.chips input:checked + span { background: var(--navy); color: var(--paper-2); }
.chips input:focus-visible + span, .cv-plantillas input:focus-visible + .thumb { outline: 2px solid var(--orange); outline-offset: 2px; }
.ed-block { display: grid; gap: 8px; }
.ed-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.ed-h small { font-weight: 500; }
.xp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--sheet); }
.xp b { display: block; font-size: 14.5px; } .xp small { font-size: 12.5px; color: var(--ink-muted); }
.xp-grip { width: 12px; height: 9px; border-top: 2px solid var(--sky-300); border-bottom: 2px solid var(--sky-300); }
.xp-edit { font-size: 12.5px; font-weight: 600; color: var(--sky-600); }
.xp-add { padding: 10px; border-radius: 12px; border: 1.5px dashed var(--sky-300); text-align: center; font-size: 13.5px; font-weight: 600; color: var(--sky-600); }
.cv-plantillas { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cv-plantillas legend { font-size: 13px; font-weight: 500; color: var(--ink-muted); margin-bottom: 7px; padding: 0; }
.cv-plantillas em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 600; text-align: center; color: var(--ink-soft); }
.cv-plantillas input:checked ~ em { color: var(--navy); }
.thumb { position: relative; display: block; aspect-ratio: 3 / 2.3; border-radius: 10px; background: var(--sheet); border: 1.5px solid rgba(28, 53, 97, .14); overflow: hidden; transition: border-color .15s ease, transform .2s var(--ease-out); }
.thumb i { position: absolute; display: block; height: 6%; border-radius: 2px; background: var(--sky-200); }
.thumb-clasico::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 32%; background: var(--sky-100); }
.thumb-clasico i:nth-child(1) { left: 40%; top: 14%; width: 44%; height: 10%; background: var(--navy); }
.thumb-clasico i:nth-child(2) { left: 40%; top: 32%; width: 50%; } .thumb-clasico i:nth-child(3) { left: 40%; top: 46%; width: 40%; }
.thumb-clasico i:nth-child(4) { left: 8%; top: 14%; width: 16%; height: 22%; border-radius: 50%; background: var(--sky-500); }
.thumb-moderno::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 32%; background: var(--navy); }
.thumb-moderno i:nth-child(1) { left: 40%; top: 14%; width: 44%; height: 10%; background: var(--navy); }
.thumb-moderno i:nth-child(2) { left: 40%; top: 28%; width: 18%; height: 3%; background: var(--orange); } .thumb-moderno i:nth-child(3) { left: 40%; top: 42%; width: 48%; }
.thumb-moderno i:nth-child(4) { left: 8%; top: 14%; width: 16%; height: 22%; border-radius: 50%; background: var(--orange); }
.thumb-compacto i:nth-child(1) { left: 28%; top: 14%; width: 44%; height: 10%; background: var(--navy); }
.thumb-compacto i:nth-child(2) { left: 14%; top: 32%; width: 72%; height: 2%; background: var(--navy); } .thumb-compacto i:nth-child(3) { left: 14%; top: 44%; width: 72%; } .thumb-compacto i:nth-child(4) { left: 14%; top: 58%; width: 54%; }
.cv-plantillas input:checked + .thumb { border-color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .cv-plantillas label:hover .thumb { transform: translateY(-2px); } }

/* vista previa */
.cvx-prev { padding: 18px 24px 26px; background: var(--sky-100); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pv-bar { display: flex; align-items: center; gap: 8px; }
.pv-zoom { margin-right: auto; font-size: 12.5px; font-weight: 600; color: var(--sky-600); }
.pv-btn { min-height: 38px; padding: 0 14px; border-radius: 10px; font: 600 13.5px var(--font-text); cursor: pointer; transition: background-color .15s ease, transform .12s var(--ease-out); }
.pv-btn:active { transform: scale(.97); }
.pv-share { border: 1.5px solid var(--navy); background: transparent; color: var(--navy); }
.pv-share:hover { background: rgba(28, 53, 97, .06); }
.pv-pdf { border: 0; background: var(--orange); color: var(--navy); }
.pv-pdf:hover { background: var(--orange-soft); }
.pv-toast { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 3; padding: 9px 14px; border-radius: 10px; background: var(--navy); color: var(--paper-2); font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .3s var(--ease-out); pointer-events: none; }
.pv-toast.is-on { opacity: 1; transform: none; }

/* La hoja: A4 de verdad, con tipografía a escala del ancho */
.cv-paper { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / 1.414; background: #FFFEFB; border-radius: 4px; overflow: hidden; container-type: inline-size;
  outline: 1px solid rgba(28, 53, 97, .1); }
.cv-sheet { position: absolute; inset: 0; display: grid; grid-template-columns: 33% 1fr; font-size: 2.15cqw; line-height: 1.4; color: var(--navy); transition: opacity .18s ease; }
.cv-aside { display: flex; flex-direction: column; gap: 1.6em; padding: 2.2em 1.6em; background: #EEF3FA; }
.cv-main { display: flex; flex-direction: column; gap: 1.35em; padding: 2.2em 2em; min-width: 0; }
.cv-avail { margin-top: auto; padding-top: 1em; border-top: 1px solid var(--line); }
.cv-photo { width: 5.4em; height: 5.4em; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.15em; background: var(--sky-600); color: var(--paper-2); }
.cv-name { font: 600 2.6em/1 var(--font-display); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.cv-role { margin-top: .35em; font-size: 1.15em; font-weight: 600; color: var(--orange-ink); }
.cv-h { font-size: .82em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-600); margin-bottom: .7em; }
.cv-blk > p:not(.cv-h) { color: var(--ink-soft); }
.cv-contact p { overflow-wrap: anywhere; }
.cv-sum { color: var(--ink-soft); }
.cv-job + .cv-job { margin-top: 1em; }
.cv-job > p:first-child { display: flex; justify-content: space-between; gap: 1em; align-items: baseline; }
.cv-job b { font-size: 1.05em; }
.cv-job time { flex: none; font-size: .85em; color: var(--ink-muted); }
.cv-job small { display: block; font-size: .9em; color: var(--sky-600); font-weight: 600; margin: .1em 0 .3em; }
.cv-job > p:last-child:not(:first-child) { color: var(--ink-soft); }
.cv-tags { display: flex; flex-wrap: wrap; gap: .4em; }
.cv-tags span { padding: .3em .7em; border-radius: 99px; background: var(--sheet); font-weight: 500; font-size: .9em; }
.cv-sheet .is-swap { animation: swap .32s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
/* Moderno: columna azul y la foto naranja */
.cv-paper[data-plantilla="moderno"] .cv-aside { background: var(--navy); color: var(--paper-2); }
.cv-paper[data-plantilla="moderno"] .cv-aside .cv-h { color: var(--orange-300); }
.cv-paper[data-plantilla="moderno"] .cv-aside .cv-blk > p:not(.cv-h) { color: var(--sky-200); }
.cv-paper[data-plantilla="moderno"] .cv-aside .cv-tags span { background: rgba(255, 255, 255, .1); color: var(--paper-2); }
.cv-paper[data-plantilla="moderno"] .cv-photo { background: var(--orange); color: var(--navy); }
.cv-paper[data-plantilla="moderno"] .cv-top { padding-bottom: 1.2em; border-bottom: .25em solid var(--orange); }
.cv-paper[data-plantilla="moderno"] .cv-role { color: var(--sky-600); }
/* Compacto: una columna, encabezado centrado y los datos abajo en tres columnas */
.cv-paper[data-plantilla="compacto"] .cv-sheet { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
.cv-paper[data-plantilla="compacto"] .cv-sheet { font-size: 2cqw; }
.cv-paper[data-plantilla="compacto"] .cv-main { padding: 2.4em 2.6em .8em; gap: 1.1em; }
.cv-paper[data-plantilla="compacto"] .cv-top { text-align: center; padding-bottom: 1em; border-bottom: .12em solid var(--navy); }
.cv-paper[data-plantilla="compacto"] .cv-aside { order: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; padding: 1.2em 2.6em 1.6em; background: transparent; border-top: 1px solid var(--line); }
.cv-paper[data-plantilla="compacto"] .cv-photo { display: none; }
.cv-paper[data-plantilla="compacto"] .cv-tags span { background: #EEF3FA; }

/* Carga breve al cambiar de diseño */
.cv-skeleton { position: absolute; inset: 0; padding: 12% 9%; display: flex; flex-direction: column; gap: 6%; opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.cv-skeleton i { display: block; height: 7%; border-radius: 4px; background: rgba(79, 120, 176, .12); animation: pulse 1s ease-in-out infinite alternate; }
.cv-skeleton i:nth-child(1) { width: 62%; height: 9%; } .cv-skeleton i:nth-child(2) { width: 40%; height: 4%; } .cv-skeleton i:nth-child(3) { width: 88%; height: 14%; } .cv-skeleton i:nth-child(4) { width: 76%; height: 14%; } .cv-skeleton i:nth-child(5) { width: 54%; height: 5%; }
@keyframes pulse { from { opacity: .55; } to { opacity: 1; } }
.cv-paper.is-loading .cv-sheet { opacity: 0; }
.cv-paper.is-loading .cv-skeleton { opacity: 1; }

/* ---------- Demo · aviso de vacante (sin canal: es un aviso de InariMex) ---------- */
.phone { position: relative; width: min(330px, 100%); height: 600px; padding: 10px; border-radius: 46px; background: var(--navy-900); }
.ph-screen { position: absolute; inset: 10px; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; background: var(--paper-2); color: var(--navy);
  opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .28s ease, transform .4s var(--ease-out), visibility 0s .4s; }
.demo-aviso[data-step="1"] .ph-lock, .demo-aviso[data-step="2"] .ph-vac, .demo-aviso[data-step="3"] .ph-done { opacity: 1; visibility: visible; transform: none; transition: opacity .28s ease, transform .4s var(--ease-out), visibility 0s; }
.ph-status { position: absolute; z-index: 3; left: 10px; right: 10px; top: 10px; height: 44px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; font: 600 14px var(--font-text); color: var(--navy); pointer-events: none; transition: color .3s ease; }
.ph-status i { width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid currentColor; position: relative; }
.ph-status i::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; border-radius: 1px; background: currentColor; }
.demo-aviso[data-step="1"] .ph-status { color: var(--paper-2); }
/* 1 · pantalla de bloqueo con los volcanes de fondo */
.ph-lock { background: var(--navy) url(../img/paisaje/cierre-noche.webp) 62% 100% / auto 62% no-repeat; color: var(--paper-2); align-items: center; padding: 70px 14px 24px; }
.ph-date { font-size: 14px; font-weight: 500; color: var(--sky-200); }
.ph-clock { font: 600 68px/1 var(--font-display); letter-spacing: -0.03em; margin-top: 4px; }
.notif { margin-top: 30px; width: 100%; display: grid; gap: 3px; text-align: left; padding: 12px 14px 14px; border: 0; border-radius: 20px; background: var(--paper-2); color: var(--navy); font: inherit; cursor: pointer;
  opacity: 0; transform: translateY(-14px) scale(.97); transition: transform .2s var(--ease-out), background-color .15s ease; }
.demo-aviso.is-in .notif { animation: notif-in .6s .3s var(--ease-out) forwards; }
@keyframes notif-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } 60% { opacity: 1; transform: translateY(2px) scale(1.01); } to { opacity: 1; transform: none; } }
.notif:hover { background: var(--sheet); }
.notif:active { transform: scale(.97); }
.notif-head { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 3px; }
.notif-head b { font-weight: 600; }
.notif-head small { margin-left: auto; font-size: 12px; color: var(--ink-muted); }
.notif-icon { width: 24px; height: 24px; border-radius: 7px; background: var(--sky-100); display: grid; place-items: center; }
.notif-icon .app-mark { width: 17px; height: 17px; }
.notif-title { font-size: 15px; font-weight: 600; }
.notif-text { font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.ph-hint { margin-top: auto; font-size: 13px; font-weight: 500; color: var(--sky-200); }
.demo-aviso.is-in .ph-hint { animation: pulse 1.2s 1.2s ease-in-out infinite alternate; }
/* 2 y 3 · la vacante y el seguimiento */
.ph-top { display: flex; align-items: center; gap: 10px; padding: 54px 18px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ph-back { width: 9px; height: 9px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); margin: 0 4px 0 2px; }
.vd { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 18px; min-height: 0; }
.vd-head { display: flex; align-items: center; gap: 12px; }
.vd-logo { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--orange); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.vd-title { font: 600 19px/1.15 var(--font-display); letter-spacing: -0.015em; }
.vd-co { font-size: 13.5px; color: var(--ink-muted); margin-top: 3px; }
.vd-match { padding: 14px; border-radius: 14px; background: var(--sky-100); font-size: 14px; }
.vd-match p { margin-bottom: 8px; color: var(--navy); }
.vd-match ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: var(--ink-soft); }
.vd-match li { display: flex; align-items: center; gap: 9px; }
.m-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.m-1 { background: var(--orange); }
.m-2 { background: var(--sky-500); }
.m-3 { background: var(--navy); }
.vd-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vd-facts div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.vd-facts dt { font-size: 12px; color: var(--ink-muted); }
.vd-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.vd-btn { margin-top: auto; min-height: 50px; border: 0; border-radius: 14px; background: var(--orange); color: var(--navy); font: 600 15.5px var(--font-text); cursor: pointer; transition: background-color .15s ease, transform .12s var(--ease-out); }
.vd-btn:hover { background: var(--orange-soft); }
.vd-btn:active { transform: scale(.97); }
.track { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.track li { position: relative; display: grid; gap: 2px; padding: 0 0 22px 32px; font-size: 14.5px; }
.track li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--sky-300); background: var(--paper-2); box-sizing: border-box; }
.track li::after { content: ""; position: absolute; left: 7px; top: 20px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--sky-200); }
.track li:last-child::after { display: none; }
.track small { font-size: 13px; color: var(--ink-muted); }
.track .is-done::before { background: var(--sky-600); border-color: var(--sky-600); }
.track .is-done::after { background: var(--sky-600); }
.track .is-now::before { border-color: var(--orange); background: var(--orange-100); box-shadow: 0 0 0 4px rgba(243, 132, 46, .18); }
.demo-aviso[data-step="3"] .track li { animation: msg-in .4s var(--ease-out) backwards; }
.demo-aviso[data-step="3"] .track li:nth-child(2) { animation-delay: .15s; }
.demo-aviso[data-step="3"] .track li:nth-child(3) { animation-delay: .3s; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.demo-reset:not(.is-on) { visibility: hidden; }
.demo-reset { border: 0; background: transparent; font: 600 14px var(--font-text); color: var(--sky-600); cursor: pointer; min-height: 44px; padding: 0 16px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Empresas: panel de la vacante ---------- */
.sec-emp { background: var(--navy); color: var(--paper-2); }
.sec-emp .lead { color: #D3DBEA; }
.sec-emp .kicker { color: var(--orange); }
.sec-emp .note { color: var(--sky-300); }
.vacx { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.vacx-side { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; background: var(--paper-2); border-right: 1px solid var(--line); }
.vs-h { padding: 0 10px 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.vs-item { position: relative; display: grid; gap: 2px; padding: 11px 40px 11px 12px; border-radius: 12px; }
.vs-item b { font-size: 14.5px; } .vs-item small { font-size: 12px; color: var(--ink-muted); }
.vs-item em { position: absolute; right: 12px; top: 50%; translate: 0 -50%; font-style: normal; font-size: 12px; font-weight: 700; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-600); }
.vs-item.is-on { background: var(--navy); color: var(--paper-2); }
.vs-item.is-on small { color: var(--sky-200); } .vs-item.is-on em { background: var(--orange); color: var(--navy); }
.vs-off { opacity: .55; }
.vs-new { margin-top: 6px; padding: 11px; border-radius: 12px; border: 1.5px dashed var(--sky-300); text-align: center; font-size: 13.5px; font-weight: 600; color: var(--sky-600); }
.vs-card { margin-top: auto; display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--orange-100); }
.vs-card b { font-size: 14px; } .vs-card small { font-size: 12.5px; color: var(--ink-soft); }
.app-user-co { border-radius: 9px; background: var(--orange); color: var(--navy); }
.vac-panel { padding: clamp(18px, 2.2vw, 28px); min-width: 0; }
.match { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.match b { font-variant-numeric: tabular-nums; min-width: 2.6em; }
.mt-bar { flex: 1; max-width: 90px; height: 6px; border-radius: 6px; background: var(--sky-100); overflow: hidden; }
.mt-bar i { display: block; height: 100%; border-radius: inherit; background: var(--sky-600); transform-origin: 0 50%; transform: scaleX(var(--m)); }
.vac-row[data-ok="1"] .mt-bar i { background: var(--orange); }
.emp-head h2 { max-width: 15ch; }
.vac-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.vac-title { font: 600 24px/1.15 var(--font-display); letter-spacing: -0.015em; }
.vac-meta { font-size: 14px; color: var(--ink-muted); margin-top: 4px; }
.vac-days { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
.vac-days b { color: var(--navy); }
.vac-bar { width: 120px; height: 5px; border-radius: 5px; background: var(--sky-200); overflow: hidden; }
.vac-bar i { display: block; height: 100%; background: var(--sky-600); border-radius: inherit; }
.vac-stats { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vac-stats div { padding: 12px 14px; border-radius: 12px; background: var(--sky-100); }
.vac-stats div:nth-child(2) { background: var(--orange-100); }
.vac-stats div:nth-child(3) { background: var(--navy); color: var(--paper-2); }
.vac-stats dt { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.vac-stats div:nth-child(3) dt { color: var(--sky-200); }
.vac-stats dd { margin: 4px 0 0; font: 600 28px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.vac-stats div:nth-child(2) dd { color: var(--orange-ink); }
.vac-stats dd.bump { animation: stat-bump .45s var(--ease-out); }
@keyframes stat-bump { 0% { transform: none; } 35% { transform: translateY(-4px) scale(1.08); } 100% { transform: none; } }
.vac-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 18px 0 10px; padding: 13px 16px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.vac-q small { display: block; font-size: 12.5px; color: var(--ink-muted); font-weight: 500; margin-bottom: 3px; }
.pill-exp { flex: none; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: var(--sky-100); color: var(--navy); }
.vac-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vac-count { font-size: 14.5px; color: var(--ink-soft); }
.vac-count b { font: 600 18px var(--font-display); color: var(--navy); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; font-weight: 600; min-height: 44px; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 40px; height: 24px; border-radius: 24px; background: var(--sky-200); position: relative; transition: background-color .2s ease; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sheet); transition: transform .22s var(--ease-out); }
.switch input:checked + .switch-ui { background: var(--orange); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--orange); outline-offset: 2px; }
.vac-table { display: grid; }
.vac-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 104px 172px; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line);
  transition: opacity .2s ease, padding .25s var(--ease-out), max-height .25s var(--ease-out), border-color .2s ease; max-height: 80px; overflow: hidden; }
.vac-th { padding: 8px 0; font-size: 12.5px; font-weight: 600; color: var(--ink-muted); }
.vac-row.is-out { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-color: transparent; }
.vac-tabs { display: flex; align-items: flex-end; gap: 24px; margin-top: 4px; border-bottom: 1px solid var(--line); }
.vac-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 2px; border: 0; background: transparent; font: 600 14.5px var(--font-text); color: var(--ink-muted); cursor: pointer; transition: color .15s ease; }
.vac-tabs button b { font-size: 12.5px; font-weight: 600; min-width: 22px; padding: 2px 7px; border-radius: 6px; background: var(--sky-100); color: var(--sky-600); font-variant-numeric: tabular-nums; }
.vac-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform .25s var(--ease-out); }
.vac-tabs button[aria-selected="true"] { color: var(--navy); }
.vac-tabs button[aria-selected="true"]::after { transform: none; }
.vac-tabs button[aria-selected="true"] b { background: var(--navy); color: var(--paper-2); }
.vac-tabs button:hover { color: var(--navy); }
.vac-sort { margin-left: auto; padding-bottom: 14px; font-size: 13px; color: var(--ink-muted); }
.vac-tabs b.bump { animation: stat-bump .45s var(--ease-out); }
.vac-th { border-top: 0; }
.who-c { display: flex; align-items: center; gap: 12px; min-width: 0; }
.av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.av-1 { background: var(--sky-200); }
.av-2 { background: var(--orange-200); }
.av-3 { background: var(--navy-700); color: var(--paper-2); }
.av-4 { background: var(--sky-100); }
.av-5 { background: var(--orange); }
.who-s { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.who-s b { font-size: 15px; }
.who-s small { font-size: 13.5px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dist { font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.is-new .who-s b::after { content: "Nueva"; margin-left: 8px; font-size: 11.5px; font-weight: 600; padding: 3px 7px; border-radius: 99px; background: var(--orange); color: var(--navy); vertical-align: 2px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
.tag-ok { background: var(--sky-100); color: var(--navy); }
.tag-no { background: transparent; color: var(--ink-muted); border: 1px dashed rgba(28, 53, 97, .3); }
.row-btn { width: 100%; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font: 600 13.5px var(--font-text); cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .12s var(--ease-out); }
.row-btn:hover { background: var(--navy); color: var(--paper-2); }
.row-btn:active { transform: scale(.97); }
.row-btn.is-set { border-color: transparent; background: var(--orange-100); color: var(--orange-ink); cursor: default; transform: none; }

/* Panel de vacante, versión limpia: sin barra lateral ni etiquetas; los que no cumplen quedan en segundo plano */
.demo-vac .vac-panel { padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.8vw, 38px) clamp(14px, 1.6vw, 20px); }
.demo-vac .vac-head { align-items: flex-end; padding-bottom: 6px; }
.demo-vac .vac-title { font-size: clamp(22px, 2vw, 28px); }
.demo-vac .vac-days { flex-direction: row; gap: 4px; font-size: 13.5px; color: var(--ink-muted); }
.demo-vac .vac-tabs { margin-top: 18px; }
.demo-vac .vac-row { grid-template-columns: minmax(0, 1fr) 190px 150px; gap: 20px; padding: 14px 0; max-height: 90px; }
.demo-vac .vac-th { padding: 12px 0 6px; }
.demo-vac .who-c { gap: 14px; }
.demo-vac .who-s small { font-size: 13px; }
.vlink { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--sky-600); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(68, 105, 158, .35); text-underline-offset: 3px; }
.vlink::before { content: ""; display: inline-block; margin-right: 5px; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; vertical-align: 0; }
/* Entrevista: tarjetas con el video del candidato */
.vac-int { display: none; padding: 18px 0 8px; }
.vac-panel[data-f="int"] .vac-table { display: none; }
.vac-panel[data-f="int"] .vac-int { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.vi-empty { grid-column: 1 / -1; padding: 28px 0; text-align: center; font-size: 14.5px; color: var(--ink-muted); }
.vi-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); animation: up .5s var(--ease-out) both; }
.vi-thumb { position: relative; width: 96px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; padding: 0; border: 0; cursor: pointer; background: var(--navy-900); }
.vi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vi-thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(251, 248, 242, .92); }
.vi-thumb::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-left: 10px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vi-thumb small { position: absolute; z-index: 1; right: 6px; bottom: 6px; padding: 1px 5px; border-radius: 5px; background: rgba(14, 28, 56, .72); color: #fff; font-size: 11px; font-weight: 600; }
.vi-when { font: 600 18px/1.1 var(--font-display); color: var(--navy); }
.vi-who { margin-top: 4px; font-size: 14.5px; font-weight: 600; } .vi-where { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.vi-card .vlink { margin-top: 8px; font-size: 13px; }
/* reproductor del video de presentación, dentro del panel */
.demo-vac { position: relative; }
.vplayer { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: rgba(14, 28, 56, .55); border-radius: inherit; }
.vplayer[hidden] { display: none; }
.vp-card { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 300px); width: min(100%, 640px); border-radius: 14px; overflow: hidden; background: var(--sheet); animation: up .35s var(--ease-out) both; }
.vp-media { position: relative; aspect-ratio: 4 / 5; background: var(--navy-900); }
.vp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border: 0; border-radius: 50%; background: rgba(251, 248, 242, .92); cursor: pointer; transition: opacity .2s ease; }
.vp-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 18px solid var(--navy); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vplayer.is-playing .vp-play { opacity: 0; pointer-events: none; }
.vp-bar { position: absolute; left: 14px; right: 14px; bottom: 36px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.vp-bar i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--vp, 0)); }
.vp-t { position: absolute; left: 14px; bottom: 12px; font-size: 12.5px; color: #fff; font-variant-numeric: tabular-nums; } .vp-t b { font-weight: 600; }
.vp-info { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.vp-q { font-size: 13.5px; color: var(--ink-muted); line-height: 1.45; } .vp-q b { display: block; margin-top: 4px; font-size: 16px; color: var(--navy); }
.vp-name b { display: block; font: 600 20px/1.1 var(--font-display); } .vp-name small { font-size: 13px; color: var(--ink-muted); }
.vp-acts { margin-top: auto; display: grid; gap: 8px; }
.vp-close { padding: 8px; border: 0; background: none; font: 600 13.5px var(--font-text); color: var(--ink-muted); cursor: pointer; }
@media (max-width: 640px) { .vp-card { grid-template-columns: minmax(0, 1fr); } .vp-media { aspect-ratio: 16 / 11; } .vi-card { grid-template-columns: 80px 1fr; } .vi-thumb { width: 80px; } }
.demo-vac .vac-row.is-no .who-c, .demo-vac .vac-row.is-no .match { opacity: .5; }
.no-ok { font-size: 13px; color: var(--ink-muted); }
.act { display: flex; justify-content: flex-end; }
.demo-vac .row-btn { width: auto; min-width: 116px; min-height: 36px; border-width: 1px; border-color: rgba(28, 53, 97, .3); font-size: 13px; }
.demo-vac .mt-bar { max-width: 110px; height: 4px; }
.demo-vac .av { width: 34px; height: 34px; font-size: 12px; }
.demo-vac .av-5 { background: var(--orange-200); }
.demo-vac .is-new .who-s b::after { padding: 0; background: none; color: var(--orange-ink); font-size: 12px; }

/* Headhunting: el proceso a la izquierda y la terna a la derecha; el zorro sentado sobre la terna */
.hunt { position: relative; margin-top: clamp(110px, 12vw, 170px); padding-top: clamp(56px, 6vw, 80px); border-top: 1px solid rgba(251, 248, 242, .14);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.hunt-copy h3 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.02; max-width: 16ch; margin-bottom: 20px; }
.hunt-copy .btn { margin-top: 30px; }
.hunt-steps { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: hs; display: grid; gap: 0; }
.hunt-steps li { position: relative; counter-increment: hs; display: grid; gap: 3px; padding: 0 0 20px 48px; }
.hunt-steps li::before { content: counter(hs); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13.5px; font-weight: 600; background: var(--navy-700); color: var(--paper-2); }
.hunt-steps li:last-child::before { background: var(--orange); color: var(--navy); }
.hunt-steps li::after { content: ""; position: absolute; left: 14.5px; top: 32px; bottom: 4px; width: 1px; background: rgba(207, 221, 240, .22); }
.hunt-steps li:last-child::after { display: none; }
.hunt-steps b { font-size: 16.5px; } .hunt-steps span { font-size: 15px; line-height: 1.5; color: var(--sky-200); }
.terna { position: relative; }
.terna-body { padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 0; }
.terna-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.consult { flex: none; display: flex; align-items: center; gap: 10px; }
.consult b { display: block; font-size: 13.5px; } .consult small { font-size: 12px; color: var(--ink-muted); }
.c-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--navy); color: var(--paper-2); }
.tc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.tc:first-of-type { border-top: 0; }
.tc-main p:first-child { display: flex; align-items: center; gap: 8px; }
.tc-main b { font-size: 15.5px; }
.tc-main small { display: block; font-size: 13px; color: var(--ink-muted); margin-top: 2px; }
.tc-note { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }
.tc-rank { font-size: 12px; font-weight: 600; color: var(--orange-ink); }
.tc-side { display: grid; justify-items: end; gap: 8px; }
.tc-fit { display: flex; align-items: baseline; gap: 6px; } .tc-fit b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; } .tc-fit small { font-size: 12px; color: var(--ink-muted); }
.tc-btn { width: auto; min-height: 36px; font-size: 13px; border-width: 1px; border-color: rgba(28, 53, 97, .3); }
.terna-head { padding-bottom: 18px; margin-bottom: 0; }
.hunt-fox { position: absolute; z-index: 2; right: 28px; top: calc(clamp(56px, 6vw, 80px) - 118px); width: 120px; }
.hunt-fox svg { width: 100%; height: auto; overflow: visible; }
.hunt-copy { position: relative; z-index: 1; }


/* Final: la noche antes de abrir */
.sec-final { padding-bottom: clamp(72px, 8vw, 112px); background: var(--night); color: var(--paper-2); overflow: hidden; isolation: isolate; }
.night-stars { position: absolute; inset: 0 0 40% 0; z-index: -1; pointer-events: none; }
.sec-final .lead { color: #D3DBEA; }
.final-copy h2 { max-width: 16ch; margin-bottom: 20px; }

/* Cuenta regresiva: centrada, grande, frente a los volcanes de noche */
.sec-cuenta { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--paper-2); padding-top: clamp(40px, 8vw, 120px); }
.sec-cuenta .night-stars { inset: 0 0 30% 0; }
.cuenta { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cuenta-pre { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--mist); margin-bottom: clamp(14px, 2vw, 24px); }
.std { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(26px, 3.4vw, 44px); }
.std-tag { display: flex; align-items: center; gap: 16px; font-size: clamp(13px, 1.1vw, 15px); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--orange-200); }
.std-tag::before, .std-tag::after { content: ""; width: clamp(28px, 5vw, 72px); height: 1px; background: rgba(252, 211, 176, .45); }
.std-date { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); margin-top: 6px; }
.std-date b { font: 600 clamp(110px, 15vw, 220px)/.86 var(--font-display); letter-spacing: -0.06em; color: var(--orange); font-variant-numeric: tabular-nums; }
.std-date span { display: flex; flex-direction: column; align-items: flex-start; padding-left: clamp(12px, 1.6vw, 22px); border-left: 2px solid rgba(207, 221, 240, .25); }
.std-date i { font: 600 clamp(30px, 3.8vw, 58px)/1 var(--font-display); font-style: normal; letter-spacing: -0.02em; color: var(--paper-2); text-transform: uppercase; }
.std-date i + i { color: var(--sky-200); margin-top: 4px; }
.cuenta-frase { font: 600 clamp(30px, 3.8vw, 58px)/1.04 var(--font-display); letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.cuenta-frase span { display: block; color: var(--orange); }
.sec-cuenta .cuenta-pre { display: inline-flex; align-items: center; gap: 10px; color: var(--sky-200); font-size: clamp(16px, 1.4vw, 19px); }
.cuenta-fecha { margin-top: 16px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.5; color: #D3DBEA; max-width: 40em; text-wrap: balance; }
.cuenta-btn { margin-top: 32px; }
.cuenta-paisaje { position: relative; z-index: 0; display: block; width: 100%; height: clamp(220px, 24vw, 380px); object-fit: cover; object-position: 50% 12%; margin-top: clamp(-90px, -4vw, -30px); pointer-events: none; }

.reg { margin-top: clamp(72px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: end; }
.reg-side { display: flex; flex-direction: column; gap: 40px; align-self: stretch; justify-content: space-between; }
.reg-note { font-size: 14.5px; line-height: 1.55; color: var(--mist); max-width: 26em; margin-top: 18px; }
/* beneficios para los primeros en registrarse: tiene que llamar la atención */
.lperks { max-width: 460px; padding: clamp(22px, 2.4vw, 30px); border-radius: 16px; border: 1px solid rgba(252, 211, 176, .38); background: rgba(251, 248, 242, .05); }
.lperks-tag { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--orange); color: var(--navy); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lperks-title { margin-top: 14px; font: 600 clamp(21px, 1.9vw, 26px)/1.15 var(--font-display); letter-spacing: -0.015em; color: var(--paper-2); }
.reg-perks { list-style: none; margin: 18px 0 0; padding: 0; }
.reg-perks li { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(207, 221, 240, .16); }
.pk-n { font: 600 40px/1 var(--font-display); letter-spacing: -0.04em; color: var(--orange); white-space: nowrap; }
.pk-n i { font-style: normal; font-size: .42em; letter-spacing: 0; color: var(--orange-200); margin: 0 .2em; vertical-align: .5em; }
.reg-perks li:nth-child(2) .pk-n { font-size: 30px; }
.pk-t small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--sky-200); }
.pk-t b { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; color: var(--paper-2); }
.lperks .reg-note { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(207, 221, 240, .16); font-size: 13.5px; }
.reg-fox { width: clamp(150px, 15vw, 210px); align-self: flex-end; margin-right: 8%; transform-origin: 50% 100%; }
.reg-fox svg { width: 100%; height: auto; overflow: visible; transform: scaleX(-1); }
.reg-card { position: relative; z-index: 1; background: var(--paper-2); color: var(--navy); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); }
.reg-tabs { display: inline-flex; padding: 4px; border-radius: var(--r-md); background: rgba(28, 53, 97, .08); margin-bottom: 28px; }
.reg-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 7px; background: transparent; color: var(--navy); font: 600 15.5px var(--font-text); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.reg-tabs button[aria-selected="true"] { background: var(--navy); color: var(--paper-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.in { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.in-wide { grid-column: 1 / -1; }
.in input, .in select {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 8px; border: 1.5px solid rgba(28, 53, 97, .24);
  background: var(--sheet); color: var(--navy); font: 500 16px var(--font-text); transition: border-color .15s ease;
}
.in select { appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231C3561' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; }
.in input::placeholder { color: #667089; }
.in input:focus, .in select:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--navy-2); }
.in [aria-invalid="true"] { border-color: #B23B0A; background-color: #FDF5F1; }
.in .is-ok { border-color: var(--navy-2); }
/* Línea de ayuda de cada campo: aparece solo cuando hay algo que corregir */
.hint { display: block; min-height: 0; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: #B23B0A; }
.hint:empty { display: none; }
.in input, .in select { transition: border-color .15s ease, background-color .15s ease; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 10px 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 600; text-underline-offset: 2px; }
.aviso-corto { margin-top: 4px; padding-left: 32px; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.aviso-corto a { color: inherit; text-underline-offset: 2px; }
.form-error { min-height: 0; margin-top: 14px; font-size: 14.5px; font-weight: 600; color: #B23B0A; }
.form-error:empty { margin: 0; }
.btn-submit { margin-top: 24px; min-width: 220px; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.reg-done { padding: 12px 0 6px; }
.reg-done:focus { outline: none; }
.done-title { font: 600 clamp(26px, 2.6vw, 34px)/1.1 var(--font-display); letter-spacing: -0.02em; margin-bottom: 12px; }
.done-text { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 32em; }

/* Pie */
.site-footer { background: #2A4774; color: #DCE3EE; padding: 8px 0 48px; margin-top: -1px; }
.foot { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; padding-top: 32px; }
.foot::before { content: ""; position: absolute; top: 0; left: 48px; right: 48px; border-top: 1px solid rgba(251, 248, 242, .18); }
.foot-logo { height: 24px; width: auto; }
.foot-line { font-size: 14.5px; max-width: 40em; }
.foot-nav { display: flex; gap: 24px; }
.foot-nav a { color: var(--paper-2); font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 12px 0; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-copy { grid-column: 1 / -1; font-size: 13.5px; }

/* Zorro de la esquina: se hace a un lado cuando ya está el del registro */

@media (max-width: 1360px) {
  .vacx { grid-template-columns: minmax(0, 1fr); }
  .vacx-side { display: none; }
  .cvx { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .cvx-nav { display: none; }
}
@media (max-width: 1100px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .cand-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cvx { grid-template-columns: minmax(0, 1fr); }
  .cvx-prev { border-top: 1px solid var(--line); }
  .feature-copy h2, .feature-copy h3 { max-width: 18ch; }
  .reg { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .reg-side { flex-direction: row; align-items: flex-end; gap: 24px; }
  .reg-side .lperks { flex: 1; max-width: 520px; }
  .reg-fox { width: 120px; margin: 0 0 -10px; flex: none; }
  .reg-note { padding-bottom: 24px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 24px; }
  .hunt { grid-template-columns: minmax(0, 1fr); }
  .hunt-fox { top: auto; bottom: calc(100% - 300px); display: none; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .foot::before { left: 24px; right: 24px; }
}
@media (max-width: 760px) {
  .vac-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; max-height: 140px; }
  .vac-row > :nth-child(2) { display: none; }
  .demo-vac .vac-row { grid-template-columns: minmax(0, 1fr) auto; max-height: 140px; }
  .demo-vac .act { justify-content: flex-start; }
  .demo-vac .vac-head { flex-direction: column; align-items: flex-start; }
  .vac-th { display: none; }
}
@media (max-width: 640px) {
  .cvx { grid-template-columns: minmax(0, 1fr); }
  .cvx-edit, .cvx-prev { padding: 16px; }
  .pv-zoom { display: none; } .pv-share { margin-left: auto; }
  .ed-grid { grid-template-columns: 1fr; }
  .cand-head { grid-template-columns: minmax(0, 1fr); }
  .app-bar { padding: 0 14px; }
  .vac-stats dd { font-size: 22px; }
  .vac-stats div { padding: 10px 12px; }
  .phone { height: 560px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .vac-head { flex-direction: column; gap: 12px; }
  .vac-days { align-items: flex-start; }
  .vac-q { flex-direction: column; align-items: flex-start; }
  .vac-tools { flex-wrap: wrap; }
  .tag { padding: 5px 8px; }
  .cuenta-btn { width: 100%; }
  .cuenta-paisaje { margin-top: 8px; height: 240px; object-fit: cover; object-position: 62% 100%; }
  .reg-fox { width: 92px; }
  .reg-note { font-size: 15px; }
  .reg-tabs { display: flex; }
  .reg-tabs button { flex: 1; padding: 0 10px; }
  .btn-submit { width: 100%; }
  .tc { grid-template-columns: auto minmax(0, 1fr); } .tc-side { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; align-items: center; }
  .terna-head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hunt-trail svg { opacity: 1; transform: none; }
  .notif { opacity: 1; transform: none; }
}

/* ---------- Principios de animación y UX ---------- */

/* Squash & stretch + follow through: la perilla del interruptor se estira mientras la presionas */
.switch-ui::after { transform-origin: 0 50%; transition: transform .22s var(--ease-out); }
.switch:active .switch-ui::after { transform: scaleX(1.22); transition-duration: .12s; }
.switch input:checked + .switch-ui::after { transform-origin: 100% 50%; }
.switch:active input:checked + .switch-ui::after { transform: translateX(16px) scaleX(1.22); }

/* Staging: al escribir tu nombre, el CV marca dónde cambió */
.cv-name { border-radius: 3px; transition: background-color .5s ease; }
.cv-name.is-hl { background-color: rgba(243, 132, 46, .22); transition-duration: .08s; }

/* Feedback exagerado: el campo con error tiembla una vez */
.in [aria-invalid="true"].shake, .consent input.shake { animation: shake .28s var(--ease-out); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }

/* Confeti del registro (sale de la tarjeta) */
.reg-card { overflow: visible; }
.reg-confetti { position: absolute; left: 50%; top: 0; width: 0; height: 0; pointer-events: none; }
.reg-confetti i { position: absolute; width: 8px; height: 5px; border-radius: 1px; }

/* Acción secundaria: el zorro del registro ladea la cabeza mientras escribes */
.reg-fox .fox-head { transition: transform .55s var(--ease-in-out); }
.hunt-fox .fox-head { transition: transform .6s var(--ease-out); }

/* Ley de Fitts + frecuencia de uso: en celular, el pre-registro abajo, donde llega el pulgar */
.cta-bar { display: none; }
@media (max-width: 760px) {
  .cta-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 35, 74, .96); border-top: 1px solid rgba(251, 248, 242, .12);
    transform: translateY(100%); transition: transform .24s var(--ease-out);
  }
  .cta-bar .btn { width: 100%; min-height: 52px; }
  .cta-bar.is-on { transform: none; }
  .site-footer { padding-bottom: 96px; }
}

/* Zona de toque más grande para cerrar al zorro de la esquina (el botón se ve chico, el área es de 44px) */
.guide-close { position: relative; }
.guide-close::before { content: ""; position: absolute; inset: -9px; }

@media (prefers-reduced-motion: reduce) {
  .switch:active .switch-ui::after { transform: none; }
  .switch:active input:checked + .switch-ui::after { transform: translateX(16px); }
 .in .shake, .consent input.shake { animation: none; }
  .night-stars .tw { animation: none; }
  .cta-bar { transition: none; }
}

@media (max-width: 380px) { .reg-tabs button { font-size: 14px; padding: 0 6px; white-space: nowrap; } }

/* =========================================================================
   Estructura con movimiento (las animaciones las hace assets/js/motion.js con GSAP)
   ========================================================================= */

/* Títulos que se revelan por líneas (SplitText) */
.split .sl, .sstep h3 .sl { overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }

/* ---------- Fondos claros con textura: curvas de nivel (tools/topo.py) y grano, para que no se vean lisos ---------- */
.sec-story, .sec-cand, .sec-pasos { position: relative; isolation: isolate; }
.sec-story::before, .sec-cand::before, .sec-pasos::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* un solo patrón para toda la página: --ty (secciones.js) lo alinea con el borde de arriba del documento */
  background: url(../img/topo.svg?v=b0281ccf) 0 var(--ty, 0px) / 1600px auto; opacity: .55; }
/* solo se desvanece donde la sección colinda con una sin curvas */
.sec-story::before { -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%); mask-image: linear-gradient(180deg, transparent, #000 10%); }
.sec-cand::before { -webkit-mask-image: linear-gradient(0deg, transparent, #000 12%); mask-image: linear-gradient(0deg, transparent, #000 12%); }
.sec-pasos::before { -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.sec-story::after, .sec-cand::after, .sec-pasos::after, .sec-aviso::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(../img/grano.webp) 0 0 / 256px; opacity: .18; mix-blend-mode: multiply; }
.sec-aviso { position: relative; isolation: isolate; }

/* ---------- Historia por pasos ---------- */
.vac-row.is-pending { display: none; }
/* durante la entrada GSAP mueve la opacidad: sin transición CSS que la frene */
.demo-vac:not(.rows-done) .vac-row { transition: none; }
.js .sstep { opacity: .22; transition: opacity .45s ease; }
.js .sstep.is-active { opacity: 1; }
.sec-story { padding: 0; background: var(--paper); }
.story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); }
.sstep { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.sstep:first-child { min-height: 80vh; }
.sstep-n { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--orange-ink); }
.sstep-n::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.sstep[data-s="3"] .sstep-n, .sstep[data-s="4"] .sstep-n { color: var(--sky-600); }
.sstep h3 { font-size: clamp(36px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.035em; max-width: 13ch; }
.sstep > p:last-child, .sstep > p:not(.sstep-n) { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-soft); max-width: 26em; }
.sectores { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sectores li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; font-weight: 600; font-size: 15.5px; }
.sectores .sec-1 { background: var(--sky-200); }
.sectores .sec-2 { background: var(--orange); }
.sectores .sec-3 { background: var(--navy); color: var(--paper-2); }
.sectores .sec-mas { border: 1.5px dashed var(--sky-300); color: var(--sky-600); }

.story-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.stage-box { position: relative; aspect-ratio: 600 / 520; width: min(100%, 72vh * 600 / 520); margin: 0 auto; border-radius: 28px; background: var(--sky-100); overflow: hidden; isolation: isolate; transition: background-color .6s ease; }
/* La escena se dibuja a 600 x 520 y se escala completa al ancho de la caja (--k lo pone motion.js) */
.stage-inner { position: absolute; left: 0; top: 0; width: 600px; height: 520px; transform-origin: 0 0; transform: scale(var(--k, 1)); }
.story-progress { display: flex; gap: 8px; }
.story-progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--sky-200); overflow: hidden; position: relative; }
.story-progress i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.story-stage[data-step="1"] .story-progress i:nth-child(-n+1)::after,
.story-stage[data-step="2"] .story-progress i:nth-child(-n+2)::after,
.story-stage[data-step="3"] .story-progress i:nth-child(-n+3)::after,
.story-stage[data-step="4"] .story-progress i::after { transform: none; }

/* La escena: noche (como el hero) con curvas de nivel muy tenues; las ventanas viven en coordenadas de 600 x 520 */
.stage-box { background: var(--navy-900); }
.stage-box::before { content: ""; position: absolute; inset: 0; background: url(../img/topo.svg?v=b0281ccf) 30% 40% / 900px auto; opacity: .1; pointer-events: none; }
.story-stage[data-step="2"] .stage-box { background: #17233F; }
.story-stage:is([data-step="3"], [data-step="4"]) .stage-box { background: var(--navy); }
.stage-sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #EEF2FA; opacity: .55; }
.stage-sky i:nth-child(3n) { width: 3px; height: 3px; opacity: .8; }

/* Hoy: ventanas sueltas */
.win { position: absolute; z-index: 2; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: var(--sheet); color: var(--navy);
  transition: transform .9s var(--ease-in-out), opacity .5s ease, filter .5s ease; }
.win-bar { flex: none; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 12.5px; }
.win-bar b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { flex: 1; padding: 12px 14px; min-height: 0; }
.win-cv { left: 34px; top: 40px; width: 200px; height: 260px; }
.file-ic { flex: none; font-size: 9px; font-weight: 700; letter-spacing: .04em; padding: 3px 5px; border-radius: 4px; background: var(--orange); color: var(--navy); }
.cvm-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cvm-ph { width: 30px; height: 30px; border-radius: 50%; background: var(--sky-300); }
.cvm-lines { flex: 1; display: grid; gap: 5px; }
.cvm-lines i { height: 8px; border-radius: 3px; background: var(--navy); width: 80%; } .cvm-lines i + i { height: 5px; width: 55%; background: var(--sky-300); }
.cvm-l { display: block; height: 5px; border-radius: 3px; background: var(--sky-200); margin-top: 9px; }
.cvm-l.w9 { width: 92%; } .cvm-l.w8 { width: 80%; } .cvm-l.w7 { width: 70%; } .cvm-l.w6 { width: 60%; } .cvm-l.w5 { width: 50%; } .cvm-l.or { background: var(--orange-200); height: 7px; }
.win-foot { margin-top: 16px; font-size: 10.5px; color: var(--ink-muted); }
.win-board { left: 300px; top: 36px; width: 268px; height: 262px; }
.wb-search { font-size: 12px; color: var(--ink-muted); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 4px; }
.wb-search::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border: 1.5px solid currentColor; border-radius: 50%; vertical-align: -1px; }
.wb-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.wb-row:first-of-type { border-top: 0; }
.wb-row b { display: block; font-size: 12.5px; } .wb-row small { font-size: 10.5px; color: var(--ink-muted); }
.wb-row em { flex: none; font-style: normal; font-size: 10.5px; font-weight: 600; padding: 3px 7px; border-radius: 99px; background: var(--sky-100); color: var(--sky-600); }
.wb-row em.wb-off { background: var(--orange-100); color: var(--orange-ink); }
.win-chat { left: 166px; top: 336px; width: 270px; height: 140px; overflow: visible; background: transparent; }
.win-chat .win-bar { border-radius: 14px 14px 0 0; }
.win-chat .win-body { background: #F3ECE2; border-radius: 0 0 14px 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.wc-av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; background: var(--sky-300); }
.wc-bubble { padding: 8px 11px; border-radius: 12px 12px 4px 12px; background: var(--orange-200); font-size: 12.5px; font-weight: 500; }
.wc-meta { font-size: 10.5px; color: var(--ink-muted); }
.wc-wait { position: absolute; left: -26px; bottom: -14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: var(--orange); color: var(--navy); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.wc-clock { position: relative; width: 13px; height: 13px; border-radius: 50%; border: 2px solid currentColor; }
.wc-clock::before { content: ""; position: absolute; left: 50%; top: 1px; width: 1.5px; height: 4.5px; margin-left: -.75px; background: currentColor; transform-origin: 50% 100%; animation: clock 2.4s linear infinite; }
@keyframes clock { to { rotate: 360deg; } }
@keyframes bob { from { translate: 0 5px; } to { translate: 0 -5px; } }
/* conexiones rotas: líneas punteadas exactas entre los bordes, con un corte en medio */
.links { position: absolute; inset: 0; width: 600px; height: 520px; z-index: 1; overflow: visible; transition: opacity .5s ease; }
.lk { fill: none; stroke: var(--sky-500); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.cuts path { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; }
.ports circle { fill: var(--navy-900); stroke: var(--sky-500); stroke-width: 2; }

/* paso 2: lo que no llega */
.story-stage[data-step="2"] .win-cv, .story-stage[data-step="2"] .win-board { opacity: .3; filter: blur(1px) saturate(.4); }
.story-stage[data-step="2"] .win-chat { transform: translate(-36px, -150px) scale(1.25); }
.story-stage[data-step="2"] .links { opacity: .25; }
.story-stage[data-step="2"] .wc-wait { animation: wait 1.2s ease-in-out infinite alternate; }
@keyframes wait { to { transform: scale(1.06); } }
/* pasos 3 y 4: todo se junta en InariMex */
.story-stage:is([data-step="3"], [data-step="4"]) .win { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.35); }
.win-cv { --tx: 160px; --ty: 90px; } .win-board { --tx: -110px; --ty: 110px; } .win-chat { --tx: 30px; --ty: -150px; }
.story-stage:is([data-step="3"], [data-step="4"]) .links { opacity: 0; }

.unified { position: absolute; z-index: 3; left: 80px; top: 92px; width: 440px; border-radius: 14px; background: var(--sheet); color: var(--navy); overflow: hidden;
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .5s ease .35s, transform .8s var(--ease-out) .35s; }
.story-stage[data-step="3"] .unified { opacity: 1; transform: none; }
.story-stage[data-step="4"] .unified { opacity: 0; transform: translateY(-20px) scale(.97); transition-delay: 0s; }
.un-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.un-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; } .un-brand b { font-weight: 600; letter-spacing: -.01em; }
.un-head .app-mark { width: 22px; height: 22px; }
.un-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--navy); color: var(--paper-2); }
.un-who { padding: 18px 20px 4px; }
.un-who b { display: block; font: 600 22px/1.1 var(--font-display); letter-spacing: -.015em; } .un-who small { font-size: 13.5px; color: var(--ink-muted); }
.un-body { padding: 8px 20px 10px; }
.un-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s var(--ease-out); }
.un-row:first-child { border-top: 0; }
.story-stage[data-step="3"] .un-row { opacity: 1; transform: none; }
.story-stage[data-step="3"] .un-1 { transition-delay: .6s; } .story-stage[data-step="3"] .un-2 { transition-delay: .72s; } .story-stage[data-step="3"] .un-3 { transition-delay: .84s; }
.un-ic { display: grid; place-items: center; color: var(--sky-600); }
.un-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.un-row b { display: block; font-size: 15.5px; font-weight: 600; } .un-row small { display: block; font-size: 13px; color: var(--ink-muted); margin-top: 1px; }
.un-row em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.un-row em.st-ok { color: #2F7A4F; } .un-row em.st-new { color: var(--orange-ink); }
/* paso 4: los sectores, con foto, y el espacio para los que vienen */
.sectors { position: absolute; z-index: 3; left: 44px; right: 44px; top: 44px; bottom: 44px; display: flex; flex-direction: column; opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .8s var(--ease-out); pointer-events: none; }
.story-stage[data-step="4"] .sectors { opacity: 1; transform: none; transition-delay: .25s; }
.sx-h { font: 600 22px/1.1 var(--font-display); letter-spacing: -.015em; color: var(--paper-2); margin-bottom: 16px; }
.sx-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.sx { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy-900); }
.sx img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(rgba(14, 28, 56, 0), rgba(14, 28, 56, .82)); }
.sx-mas { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px; background: transparent; border: 1.5px dashed rgba(207, 221, 240, .4); color: var(--paper-2); }
.sx-mas b { font: 600 18px/1.1 var(--font-display); } .sx-mas small { font-size: 13.5px; color: var(--sky-200); line-height: 1.4; }
.story-stage[data-step="4"] .sx { animation: up .6s var(--ease-out) both; }
.story-stage[data-step="4"] .sx-2 { animation-delay: .1s; } .story-stage[data-step="4"] .sx-3 { animation-delay: .2s; } .story-stage[data-step="4"] .sx-mas { animation-delay: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Aviso: pasos a la izquierda, el celular con todo alrededor ---------- */
.sec-aviso { background: var(--sky-100); overflow: hidden; }
.aviso-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.aviso-copy h2 { font-size: clamp(34px, 3.7vw, 56px); line-height: 1.02; max-width: 14ch; margin-bottom: clamp(26px, 3vw, 40px); }
.aviso-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aviso-tabs button { position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; text-align: left; padding: 16px 18px 18px; border: 0; border-radius: 16px; overflow: hidden;
  background: transparent; color: var(--navy); font: inherit; cursor: pointer; transition: background-color .25s ease; }
.aviso-tabs button[aria-selected="true"] { background: var(--sheet); }
.at-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 16px/1 var(--font-display); background: var(--sky-200); transition: background-color .25s ease, color .25s ease; }
.aviso-tabs button[aria-selected="true"] .at-n { background: var(--orange); }
.aviso-tabs b { display: block; font-size: 17px; }
.aviso-tabs small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--ink-muted); }
.at-bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 3px; border-radius: 3px; background: var(--sky-100); opacity: 0; }
.aviso-tabs button[aria-selected="true"] .at-bar { opacity: 1; }
.at-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--orange); transform: scaleX(var(--at, 0)); transform-origin: 0 50%; }

.demo-aviso { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: clamp(36px, 4vw, 64px) 20px 12px; isolation: isolate; }
.aviso-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.ab { position: absolute; border-radius: 40px; }
.ab-1 { left: 8%; right: 8%; top: 4%; bottom: 10%; background: var(--sky-200); }
.ab-2 { left: 24%; right: 24%; top: 14%; bottom: 0; background: var(--sky-300); border-radius: 200px 200px 40px 40px; }
.ab-3 { left: calc(50% + 120px); top: 2%; width: 120px; height: 120px; border-radius: 30px; background: var(--orange-200); rotate: 14deg; }
.aviso-trail { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aviso-trail svg { position: absolute; width: 28px; height: 29px; fill: var(--sheet); rotate: -30deg; opacity: .8; }
.aviso-trail svg:nth-child(1) { left: 6%; top: 84%; } .aviso-trail svg:nth-child(2) { left: 12%; top: 72%; }
.aviso-trail svg:nth-child(3) { left: 14%; top: 58%; } .aviso-trail svg:nth-child(4) { left: 82%; top: 42%; }
.aviso-trail svg:nth-child(5) { left: 86%; top: 28%; } .aviso-trail svg:nth-child(6) { left: 92%; top: 16%; }
.float { position: absolute; z-index: 2; pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--sheet); color: var(--navy); border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.float small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
.float b { display: block; }
.fl-a { right: calc(50% + 184px); top: 16%; }
.fl-b { right: calc(50% + 184px); top: 50%; flex-direction: column; align-items: flex-start; gap: 6px; }
.fb-k { font: 600 22px/1 var(--font-display); color: var(--sky-600); }
.fb-route { position: relative; width: 120px; height: 6px; border-radius: 6px; background: var(--sky-100); }
.fb-route i { position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 3px solid var(--sky-600); background: var(--sheet); }
.fb-route i:first-child { left: -2px; } .fb-route i:last-child { right: -2px; border-color: var(--orange); }
.fl-c { left: calc(50% + 184px); top: 26%; }
.fc-stack { display: flex; }
.fc-stack i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; border: 2px solid var(--sheet); margin-left: -8px; }
.fc-stack i:first-child { margin-left: 0; background: var(--orange); }
.fc-stack i:nth-child(2) { background: var(--sky-300); } .fc-stack i:nth-child(3) { background: var(--navy); color: var(--paper-2); }
.float-wrap { position: absolute; z-index: 2; pointer-events: none; }
.fl-d { left: calc(50% + 184px); top: 60%; }
.fl-d .float { position: relative; opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.demo-aviso[data-step="3"] .fl-d .float { opacity: 1; transform: none; }
.fd-day { display: grid; place-items: center; width: 46px; height: 50px; border-radius: 12px; background: var(--navy); color: var(--paper-2); line-height: 1; }
.fd-day small { color: var(--sky-200); font-size: 11px; } .fd-day b { font: 600 20px/1 var(--font-display); }
.fl-a { transition: transform .4s var(--ease-out); }
.demo-aviso[data-step="2"] .fl-a, .demo-aviso[data-step="2"] .fl-b { border-color: var(--orange); }

/* ---------- Cómo funciona: recorrido de lado ---------- */
.sec-pasos { position: relative; background: var(--paper); overflow: hidden; }
.pasos-pin { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 9vh, 110px) 0 0; }
.pasos-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vh, 48px); }
.pasos-head h2 { font-size: clamp(36px, 4.3vw, 64px); }
.pasos-hint { font-size: 15px; font-weight: 600; color: var(--sky-600); }
.pasos-switch { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--sky-100); border: 1px solid var(--line); }
.pasos-switch button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 7px; background: transparent; color: var(--navy); font: 600 15px var(--font-text); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.pasos-switch button[aria-selected="true"] { background: var(--navy); color: var(--paper-2); }
.pasos-track[data-track="cand"] .for-emp, .pasos-track[data-track="emp"] .for-cand { display: none; }
.pasos-track.is-swap .pp h3, .pasos-track.is-swap .pp p { animation: swap .4s var(--ease-out); }
.pasos-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; will-change: transform; }
.pp { position: relative; width: clamp(300px, 34vw, 520px); min-height: clamp(340px, 50vh, 460px); padding: clamp(24px, 2.6vw, 40px); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pp-1 { background: var(--sky-200); }
.pp-2 { background: #44699E; color: #fff; }
.pp-3 { background: var(--navy); color: var(--paper-2); }
.pp-4 { background: var(--orange); color: var(--navy); }
.pp-n { font: 600 clamp(64px, 7vw, 110px)/.8 var(--font-display); letter-spacing: -0.05em; opacity: .9; }
.pp-1 .pp-n { color: #44699E; } .pp-2 .pp-n { color: var(--orange-200); } .pp-3 .pp-n { color: var(--orange); } .pp-4 .pp-n { color: var(--paper-2); }
.pp h3 { font-size: clamp(26px, 2.4vw, 36px); margin-top: 8px; }
.pp p { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.45; font-weight: 500; max-width: 24em; }
.pp-1 p { color: var(--navy-900); } .pp-4 p { color: var(--navy-900); }
.pp-vis { margin-top: auto; display: flex; gap: 10px; align-items: flex-end; }
.ppc { display: flex; flex-direction: column; gap: 7px; padding: 14px; border-radius: 14px; background: var(--sheet); width: 46%; }
.ppc i { display: block; height: 7px; border-radius: 4px; background: var(--sky-200); }
.ppc i:first-child { width: 60%; height: 11px; background: var(--navy); } .ppc i:nth-child(2) { width: 85%; } .ppc i:nth-child(3) { width: 50%; background: var(--orange-200); }
.ppc-vac { } .ppc-vac b { font-size: 13px; } .ppc-vac i:first-of-type { width: 80%; height: 7px; background: var(--sky-200); }
.ppc-cv { }
.ppm { display: flex; flex-wrap: wrap; gap: 8px; }
.ppm em { font-style: normal; font-size: 14.5px; font-weight: 600; padding: 10px 14px; border-radius: 99px; background: var(--paper-2); color: var(--navy); }
.ppm em:nth-child(2) { background: var(--navy); color: var(--paper-2); } .ppm em:nth-child(3) { background: var(--orange); }
.ppcal { display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--paper-2); color: var(--navy); }
.ppcal small { grid-column: 1; font-size: 13px; color: var(--ink-muted); } .ppcal b { grid-column: 1; font: 600 34px/1 var(--font-display); }
.ppcal em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-weight: 600; padding: 8px 12px; border-radius: 99px; background: var(--orange); }
.ppok { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 99px; background: var(--navy); color: var(--paper-2); font: 600 22px/1 var(--font-display); }
.ppok::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.pasos-ground { position: relative; height: clamp(110px, 16vh, 150px); margin-top: 12px; }
.pasos-paws { position: absolute; left: 0; right: 0; bottom: 18px; height: 40px; }
.pasos-paws svg { position: absolute; bottom: 0; width: 22px; height: 23px; }
.walker { position: absolute; left: var(--gutter); bottom: 6px; width: clamp(70px, 7vw, 100px); transform-origin: 50% 100%; }
.walker svg { width: 100%; height: auto; overflow: visible; }
.pasos-on .guide { opacity: 0; pointer-events: none; transition: opacity .2s ease; }

@media (max-width: 1100px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-stage { order: -1; top: 0; height: auto; padding: 14px 0 10px; gap: 10px; z-index: 2; background: var(--paper); }
  .stage-box { width: min(100%, 40vh * 600 / 520, 560px); }
  .story-progress { width: min(100%, 40vh * 600 / 520, 560px); margin: 0 auto; }
  .sstep { min-height: 72vh; justify-content: flex-end; padding-bottom: 14vh; }
  .sstep:first-child { min-height: 52vh; }
  .aviso-grid { grid-template-columns: minmax(0, 1fr); }
  .pasos-track { flex-direction: column; width: auto; padding: 0 var(--gutter); }
  .pp { width: auto; min-height: 0; }
  .pasos-ground { display: none; }
  .pasos-hint { display: none; }
}
@media (max-width: 1360px) and (min-width: 1101px) {
  .fl-a, .fl-b { right: calc(50% + 150px); } .fl-c, .fl-d { left: calc(50% + 150px); }
}
@media (max-width: 640px) {
  .demo-aviso { padding-top: 76px; }
  .fl-b, .fl-c { display: none; }
  .fl-a { left: 0; right: auto; top: 10px; } .fl-d { left: auto; right: 0; top: 0; }
  .float { font-size: 13px; padding: 10px 12px; }
  .fl-b .fb-route { width: 80px; }
  .sstep h3 { font-size: clamp(32px, 9vw, 42px); }
}
@media (prefers-reduced-motion: reduce) {
  .win, .unified, .un-row, .sectors, .fl-d .float, .story-progress i::after { transition: none; }
  .sx { animation: none !important; }
  .lk, .wc-clock::before, .wc-wait { animation: none !important; }
}
.sec-emp .perks li:nth-child(3) { background: var(--paper-2); color: var(--navy); }

/* ---------- Video de presentación (1 minuto) ---------- */
.vid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; margin-top: clamp(80px, 9vw, 130px); }
.vid-copy h3 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.02; max-width: 14ch; margin-bottom: 18px; }
.rec-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; padding: clamp(18px, 2vw, 26px); }
.rec-q { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); }
.rec-q small { font-size: 12.5px; font-weight: 600; color: var(--sky-600); }
.rec-q p { font-size: 18px; font-weight: 600; line-height: 1.35; }
.rec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.rec-tags em { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--sky-100); color: var(--sky-600); }
.rec-screen { position: relative; grid-row: span 2; aspect-ratio: 3 / 4; border-radius: 12px; background: var(--navy-900); color: var(--paper-2); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 18px 18px 30px; }
.rec-poster, .rec-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.rec-video { opacity: 0; transition: opacity .4s ease; }
.rec-screen.has-video .rec-video { opacity: 1; }
.rec-screen::before { content: ""; position: absolute; inset: 55% 0 0; z-index: 1; background: linear-gradient(rgba(14, 28, 56, 0), rgba(14, 28, 56, .78)); }
.rec-wave, .rec-time, .rec-bar { z-index: 2; }
.rec-screen::after { z-index: 2; }
.rec-wave { position: relative; display: flex; align-items: center; gap: 4px; height: 34px; }
.rec-wave i { width: 4px; height: 6px; border-radius: 3px; background: var(--sky-300); transition: height .15s ease; }
.rec-screen[data-state="rec"] .rec-wave i { background: var(--orange); animation: wave .9s ease-in-out infinite alternate; }
.rec-wave i:nth-child(3n) { animation-delay: -.3s !important; } .rec-wave i:nth-child(3n+1) { animation-delay: -.6s !important; } .rec-wave i:nth-child(4n) { animation-duration: .7s !important; }
@keyframes wave { from { height: 6px; } to { height: 32px; } }
.rec-time { position: relative; font-size: 15px; color: var(--sky-200); font-variant-numeric: tabular-nums; } .rec-time b { color: var(--paper-2); font-weight: 600; }
.rec-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 4px; border-radius: 4px; background: rgba(207, 221, 240, .2); overflow: hidden; }
.rec-bar i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); transition: transform .12s linear; }
.rec-screen[data-state="rec"]::after { content: "REC"; position: absolute; top: 14px; left: 14px; padding: 4px 8px; border-radius: 6px; background: #C2410C; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.rec-actions { display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.rec-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--navy); color: var(--paper-2); font: 600 15px var(--font-text); cursor: pointer; transition: background-color .15s ease, transform .12s var(--ease-out); }
.rec-btn:active { transform: scale(.97); }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); transition: border-radius .2s ease; }
.rec-btn[aria-pressed="true"] { background: #C2410C; }
.rec-btn[aria-pressed="true"] .rec-dot { border-radius: 2px; background: var(--paper-2); }
.rec-hint { font-size: 13.5px; color: var(--ink-muted); }
/* chip de video en la tabla de la empresa */
.vchip { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 7px 2px 5px; border-radius: 6px; background: var(--navy); color: var(--paper-2); font-size: 11px; font-weight: 600; vertical-align: 2px; font-variant-numeric: tabular-nums; }
.vchip i { width: 0; height: 0; border-left: 6px solid var(--orange); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.who-s .vchip { display: inline-flex; align-self: flex-start; margin: 3px 0 1px; }
@media (max-width: 1100px) { .vid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .rec-body { grid-template-columns: minmax(0, 1fr); } .rec-screen { grid-row: auto; aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .rec-screen[data-state="rec"] .rec-wave i { animation: none; height: 20px; } }

.hunt-foto { margin: 28px 0 6px; }
.hunt-foto img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 60% 40%; border-radius: 10px; }
@media (max-width: 860px) {
}
.vp-agendar:not(.is-set) { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.vp-agendar:not(.is-set):hover { background: #E5751F; border-color: #E5751F; color: var(--navy); }

/* Candidatos / Empresas sobre cada opción (lo pidió Luis para que se entienda a quién va dirigido) */
.reg-tabs button, .pasos-switch button { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-height: 54px; line-height: 1.15; }
.reg-tabs small, .pasos-switch small { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.reg-tabs button[aria-selected="true"] small, .pasos-switch button[aria-selected="true"] small { color: var(--orange-200); opacity: 1; }
@media (max-width: 640px) { .reg-tabs button { align-items: center; } }
@media (max-width: 640px) {
  .reg-side { flex-direction: column; align-items: stretch; }
  .reg-perks li { grid-template-columns: 74px 1fr; gap: 12px; }
  .pk-n { font-size: 34px; } .reg-perks li:nth-child(2) .pk-n { font-size: 25px; }
}
.lperks .reg-note { max-width: none; }
@media (max-width: 640px) { .reg-side { margin-bottom: 20px; } }

/* ---------- Empresas: el zorro avisa que empieza la sección ---------- */
.hey { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.emp-fox { flex: none; width: clamp(104px, 9vw, 132px); }
.emp-fox svg { width: 100%; height: auto; overflow: visible; }
.hey-bubble { position: relative; padding: 14px 18px; border-radius: 16px 16px 16px 4px; background: var(--paper-2); color: var(--navy); font-size: 15px; line-height: 1.4; margin-bottom: 46px; max-width: 280px;
  transition: opacity .35s ease, transform .5s var(--ease-out); transform-origin: 0 100%; }
.hey-bubble b { display: block; font: 600 22px/1.1 var(--font-display); color: var(--orange-ink); margin-bottom: 4px; }
/* el globo aparece cuando el zorro aterriza */
.fox-travels .hey:not(.is-here) .hey-bubble { opacity: 0; transform: translateY(10px) scale(.94); }
.fox-travels .hey.is-here .hey-bubble { transition-delay: .25s; }

/* ---------- Membresía: buscar en toda la base de talentos ---------- */
.memb { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(96px, 11vw, 150px); }
.memb-tag { display: inline-block; padding: 6px 12px; border-radius: 99px; background: rgba(252, 211, 176, .14); color: var(--orange-200); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.memb-copy h3 { margin-top: 16px; font-size: clamp(32px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.035em; max-width: 13ch; }
.memb-copy .lead { margin-top: 16px; }
.memb-plans { margin: 24px 0 0; display: grid; gap: 8px; max-width: 440px; }
.memb-plans div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(207, 221, 240, .18); }
.memb-plans dt { font-size: 15px; color: var(--sky-200); } .memb-plans dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--paper-2); white-space: nowrap; }
.memb-plans .is-pro { border-color: rgba(243, 132, 46, .6); background: rgba(243, 132, 46, .1); }
.memb-plans .is-pro dt { color: var(--paper-2); font-weight: 600; } .memb-plans .is-pro dd { color: var(--orange-200); }
.memb-cta { margin-top: 22px; }
.ms-body { padding: clamp(18px, 2.2vw, 28px); }
.ms-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--navy); background: var(--paper-2); }
.ms-ic { width: 16px; height: 16px; margin-right: 2px; border: 2px solid var(--navy); border-radius: 50%; position: relative; }
.ms-ic::after { content: ""; position: absolute; right: -6px; bottom: -5px; width: 7px; height: 2px; background: var(--navy); transform: rotate(45deg); }
.ms-kw { min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(28, 53, 97, .25); background: transparent; color: var(--ink-muted); font: 600 13.5px var(--font-text); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.ms-kw[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper-2); }
.ms-kw[aria-pressed="false"]::before { content: "+ "; }
.ms-count { margin-top: 14px; font-size: 13.5px; color: var(--ink-muted); }
.ms-count b { color: var(--navy); }
.ms-list { margin-top: 6px; }
.ms-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.ms-row.is-out { opacity: .5; }
.ms-who b { display: block; font-size: 15px; } .ms-who small { display: block; font-size: 12.5px; color: var(--ink-muted); }
.ms-hits { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 300px; }
.ms-hits span { padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; background: var(--sky-100); color: var(--navy); }
.ms-hits span.miss { background: transparent; border: 1px dashed rgba(184, 84, 20, .55); color: var(--orange-ink); text-decoration: line-through; }
.ms-hits span.miss::before { content: "✕ "; text-decoration: none; display: inline-block; margin-right: 2px; }
.ms-score { font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ms-cv { min-height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(28, 53, 97, .3); background: transparent; color: var(--navy); font: 600 13px var(--font-text); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .ms-cv:hover { background: var(--navy); color: var(--paper-2); } .ms-kw:hover { border-color: var(--navy); } }
@media (max-width: 1000px) { .memb { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .ms-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av who score" ". hits hits"; row-gap: 8px; }
  .ms-row > .av { grid-area: av; } .ms-who { grid-area: who; } .ms-score { grid-area: score; align-self: start; }
  .ms-hits { grid-area: hits; justify-content: flex-start; max-width: none; }
  .ms-cv { display: none; }
  .hey-fox { width: 56px; }
}

/* ---------- Pre-registro reorganizado: texto y beneficios a la izquierda, formulario a la derecha, alineados arriba ---------- */
.sec-final .reg { margin-top: 0; align-items: start; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 88px); }
.sec-final .reg-side { display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(28px, 3vw, 40px); }
.sec-final .final-copy h2 { margin-bottom: 16px; }
.sec-final .lperks { max-width: 520px; }
.sec-final .reg-card { margin-top: clamp(90px, 9vw, 130px); }
.sec-final .reg-fox { position: absolute; z-index: 2; right: clamp(24px, 4vw, 56px); bottom: calc(100% - 14px); width: clamp(96px, 8vw, 124px); margin: 0; }
@media (max-width: 1100px) {
  .sec-final .reg { grid-template-columns: minmax(0, 1fr); }
  .sec-final .reg-card { margin-top: 110px; }
}
@media (max-width: 640px) {
  .sec-final .reg-card { margin-top: 96px; }
  .sec-final .reg-fox { width: 86px; }
}

/* Pre-registro: campo trampa para bots (fuera de la vista y del lector de pantalla) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Turnstile: no ocupa espacio salvo que pida un clic */
.ts-box:empty { display: none; }
.ts-box { margin-top: 12px; }
.reg-note a { color: inherit; text-underline-offset: 2px; }
