/* Páginas «Pase de Lista» de ENPODI Talents (RH y colaborador). Diseño de la referencia del usuario
   (2026-11-26), con capturas REALES del sistema (datos de ejemplo) y solo funciones que existen. */
:root {
  --morado: #5A16E2; --morado-2: #7C3AED; --violeta: #8B5CF6; --lila: #C4B5FD; --lila-2: #A78BFA;
  --rosa: #FF5C8A;
  --tinta: #150D33; --texto: #4F4A68; --suave: #6E6888;
  --claro: #F8F6FF; --lavanda: #F2EEFE; --borde: #E7E1FB;
  --noche: #100A26;
  --ancho: 1200px;
  --curva: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--tinta); background: var(--noche);
  -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; } /* height:auto: el atributo height del HTML no debe estirar la captura */
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--lila-2); outline-offset: 3px; border-radius: 6px; }
.contenedor { width: min(var(--ancho), 100% - 48px); margin-inline: auto; }
svg.ic { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.saltar { position: absolute; left: -9999px; top: 8px; z-index: 50; background: #fff; color: var(--tinta); padding: 8px 14px; border-radius: 8px; }
.saltar:focus { left: 12px; }

/* ── Cabecera ── */
.cabecera { position: absolute; inset: 0 0 auto; z-index: 20; padding: 22px 0; }
.cabecera .contenedor { display: flex; align-items: center; gap: 28px; }
.marca { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; } /* el logo nunca se encoge bajo el botón */
.marca .emblema { width: 42px; height: 42px; } /* solo en el pie: la cabecera lleva nada más el nombre «ENPODI Talents» */
.marca .nombre { display: flex; flex-direction: column; gap: 4px; }
.marca .nombre img { height: 17px; width: auto; }
.talents { font-weight: 800; font-size: 18px; line-height: 1; letter-spacing: -.01em;
  background: linear-gradient(90deg, #FF5C8A, #C084FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marca .divisor { width: 1px; height: 38px; background: rgba(255, 255, 255, .3); margin-inline: 8px; }
.marca .producto { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.menu { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .86); }
.menu a { transition: color .2s ease; }
.menu a:hover { color: #fff; }
.acciones { display: flex; gap: 12px; margin-left: auto; } /* a la derecha también cuando el menú se oculta */
@media (min-width: 1101px) { .acciones { margin-left: 0; } } /* con menú visible, el menú ya empuja a la derecha */

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; border-radius: 999px;
  padding: 11px 20px; white-space: nowrap; transition: transform .16s var(--curva), box-shadow .2s ease, background-color .2s ease; }
.btn:active { transform: scale(.97); }
.btn .ic { font-size: 18px; }
.btn-borde { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-borde:hover { background: rgba(255, 255, 255, .08); }
.btn-morado { background: linear-gradient(135deg, #6D28D9, #8B5CF6); color: #fff; box-shadow: 0 10px 28px -8px rgba(124, 58, 237, .7); }
.btn-morado:hover { box-shadow: 0 14px 34px -8px rgba(124, 58, 237, .9); }
.btn-grande { border-radius: 12px; padding: 15px 24px; font-size: 16px; }
.btn-blanco { background: #fff; color: #4C1D95; box-shadow: 0 12px 30px -10px rgba(10, 0, 40, .5); }
.btn-blanco:hover { background: #F4F0FF; }

/* ── Héroe ── */
.heroe { position: relative; color: #fff; overflow: hidden; padding-top: 150px;
  background: #160A3A url("img/fondo-oficina.webp") 72% 100% / cover no-repeat; }
.heroe::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22, 9, 58, .97) 0%, rgba(30, 12, 82, .9) 34%, rgba(44, 18, 112, .42) 64%, rgba(20, 8, 52, .18) 100%),
              linear-gradient(0deg, rgba(14, 6, 36, .5), transparent 32%); }
.heroe .contenedor { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: end; min-height: 560px; }
.heroe-texto { align-self: center; padding-bottom: 84px; }
.ceja { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #D8CCFF; }
.ceja::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8B5CF6, #C4B5FD); }
.heroe h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; margin-top: 22px; text-wrap: balance; }
.degradado { background: linear-gradient(90deg, #A78BFA 0%, #C084FC 45%, #F0ABFC 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.entrada { font-size: 18px; line-height: 1.55; margin-top: 22px; max-width: 520px; }
.heroe .entrada { color: rgba(255, 255, 255, .86); }
.botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.palomas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.palomas li { display: flex; align-items: center; gap: 8px; }
.palomas .ic { color: #A78BFA; font-size: 18px; stroke-width: 2.4; }
.nota-real { font-size: 12px; color: rgba(255, 255, 255, .62); text-align: center; margin-top: 14px; }

/* Laptop (RH): marco hecho en CSS; la pantalla es una captura real. */
.escena-laptop { perspective: 1800px; align-self: end; padding-bottom: 26px; }
.laptop { transform: rotateY(-9deg) rotateX(3deg); transform-origin: 50% 100%; filter: drop-shadow(0 40px 50px rgba(5, 0, 25, .55)); }
.laptop .pantalla { position: relative; background: #0C0A14; border-radius: 20px 20px 8px 8px; padding: 12px 12px 16px; border: 1px solid #393150; }
.laptop .pantalla::before { content: ""; position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2A2638; }
.laptop .pantalla img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 6px; }
.laptop .base { position: relative; height: 18px; margin: 0 -7%; border-radius: 2px 2px 18px 18px / 2px 2px 14px 14px;
  background: linear-gradient(180deg, #EDECF3 0%, #B9B6C6 60%, #8D8A9C 100%); }
.laptop .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 7px; margin-left: -8%; background: #A9A6B6; border-radius: 0 0 8px 8px; }

/* Celulares: marco en CSS con barra de estado; dentro, la captura real de la app. */
.tel { position: relative; width: 220px; border-radius: 36px; background: #0B0912; padding: 8px; border: 1px solid #2B2540;
  box-shadow: 0 30px 60px -20px rgba(20, 5, 60, .6); }
.tel .pantalla { position: relative; border-radius: 28px; overflow: hidden; background: #12161F; padding-top: 24px; }
.tel .pantalla::before { content: ""; position: absolute; top: 6px; left: 50%; width: 30%; height: 14px; transform: translateX(-50%); border-radius: 10px; background: #050408; }
.tel .pantalla img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
/* Héroe del colaborador (2026-11-26, maqueta del usuario): foto de oficina, la colaboradora recortada al centro y,
   a su derecha, un celular con la captura REAL «Listo, Ana» (la maqueta traía una pantalla inventada). */
.heroe-col { background-image: url("img/fondo-colaborador.webp"); background-position: 60% 50%; }
.heroe-col::before { background:
  linear-gradient(90deg, rgba(22, 9, 58, .96) 0%, rgba(30, 12, 82, .86) 36%, rgba(48, 20, 118, .5) 64%, rgba(26, 10, 66, .42) 100%),
  linear-gradient(0deg, rgba(14, 6, 36, .55), transparent 35%); }
.heroe-col .contenedor { min-height: 600px; grid-template-columns: 1.05fr 1fr; }
.heroe-col h1 { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.08; }
.escena-persona { position: relative; align-self: stretch; min-height: 600px; }
.escena-persona::before { content: ""; position: absolute; left: 8%; right: 18%; bottom: 0; height: 78%; border-radius: 50% 50% 0 0;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .45), transparent); filter: blur(10px); }
.escena-persona .persona { position: absolute; bottom: 0; left: -24px; height: 100%; max-height: 640px; width: auto; max-width: none;
  filter: drop-shadow(0 20px 40px rgba(8, 2, 30, .55)); }
/* Celular 3D (render de three.js con fondo transparente y su sombra) a la derecha de ella; puede salirse del
   contenedor (el héroe recorta) para no taparle las manos. Flota muy suave, salvo con movimiento reducido. */
.escena-persona .tel3d { position: absolute; right: -78px; top: 50%; width: 262px; z-index: 2; transform: translateY(-50%);
  filter: drop-shadow(0 0 26px rgba(196, 181, 253, .28)); /* halo lila: lo despega del fondo morado */
  animation: flotar 7s ease-in-out infinite; }
@keyframes flotar { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 10px)); } }
.escena-persona .nota-real { position: absolute; right: -56px; bottom: 12px; width: 320px; margin: 0; text-align: right; }
.degradado-rosa { background: linear-gradient(90deg, #C084FC 0%, #E879F9 50%, #FF5C8A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heroe .insignias { margin-top: 30px; }
.heroe .insignia { background: #05030D; border: 1px solid rgba(255, 255, 255, .32); padding: 10px 20px 10px 14px; transition: background-color .2s ease, transform .16s var(--curva); }
.heroe .insignia:hover { background: #17112B; }
.heroe .insignia:active { transform: scale(.97); }
.heroe .insignia b { font-size: 16px; }
.menu a[aria-current="page"] { color: #fff; font-weight: 700; }

/* ── Secciones ── */
.seccion { padding: 96px 0; }
.clara { background: linear-gradient(180deg, #fff, var(--claro)); }
.lavanda { background: var(--lavanda); }
.titulo-centro { text-align: center; }
.ceja-oscura { color: var(--morado-2); }
.ceja-centro::after { content: ""; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #C4B5FD, #8B5CF6); }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.022em; text-wrap: balance; }
.titulo-centro h2 { margin-top: 14px; }
.titulo-centro .entrada { margin-inline: auto; color: var(--texto); font-size: 17px; margin-top: 12px; }

.beneficios { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.beneficio { text-align: center; padding: 4px 28px; }
.beneficio + .beneficio { border-left: 1px solid var(--borde); }
.beneficio .ic { display: block; font-size: 44px; color: var(--morado-2); stroke-width: 1.6; margin: 0 auto; }
.beneficio h3 { font-size: 19px; font-weight: 800; margin-top: 18px; letter-spacing: -.01em; }
.beneficio p { color: var(--texto); font-size: 15px; margin-top: 8px; }

/* Banda morada (Vista de RH / Cómo funciona) */
.banda { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(900px 500px at 85% 15%, rgba(139, 92, 246, .45), transparent 60%),
              linear-gradient(120deg, #1A0846 0%, #2E1173 45%, #4A1DB0 100%); }
.banda .contenedor { display: grid; grid-template-columns: .85fr 1.25fr; gap: 56px; align-items: center; }
.banda h2 { margin-top: 16px; }
.banda .entrada { color: rgba(255, 255, 255, .82); font-size: 17px; margin-top: 16px; max-width: 460px; }
.lista-palomas { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.lista-palomas li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.punto { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
  background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.punto .ic { font-size: 13px; color: #fff; stroke-width: 3; }
.ventana { background: #fff; border-radius: 18px; padding: 8px; border: 1px solid rgba(255, 255, 255, .65); box-shadow: 0 40px 90px -30px rgba(5, 0, 30, .8); }
.ventana .barra { display: flex; gap: 6px; padding: 4px 6px 10px; }
.ventana .barra span { width: 9px; height: 9px; border-radius: 50%; background: #E4DEF7; }
.ventana img { width: 100%; border-radius: 10px; }
.banda .nota-real { text-align: left; }

/* Pasos con celulares (colaborador) */
.pasos { list-style: none; counter-reset: paso; margin-top: 28px; display: grid; gap: 20px; }
.pasos li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.pasos li::before { counter-increment: paso; content: counter(paso); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.pasos b { display: block; font-size: 17px; }
.pasos span { display: block; color: rgba(255, 255, 255, .8); font-size: 15px; margin-top: 2px; }
.pasos-tels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.paso-tel .tel { width: 100%; max-width: 210px; margin: 0 auto; }
.paso-tel p { text-align: center; font-weight: 700; margin-top: 16px; font-size: 15px; }
.paso-tel p em { font-style: normal; color: var(--lila); margin-right: 6px; }

/* Mosaico de funciones */
.mosaico { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; margin-top: 44px; }
.pieza { background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 24px 12px 20px; text-align: center;
  transition: transform .25s var(--curva), box-shadow .25s ease; }
.pieza:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(76, 29, 149, .35); }
.pieza .ic { display: block; font-size: 36px; color: var(--morado-2); stroke-width: 1.6; margin: 0 auto; }
.pieza h3 { font-size: 15px; font-weight: 700; margin-top: 14px; line-height: 1.25; }
.pieza p { font-size: 13px; color: var(--suave); margin-top: 6px; line-height: 1.4; }
.ademas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 28px; }
.ademas .k { font-size: 13px; font-weight: 700; color: var(--suave); margin-right: 4px; }
.chip { font-size: 13.5px; font-weight: 600; color: #4C1D95; background: #fff; border: 1px solid var(--borde); border-radius: 999px; padding: 7px 14px; }

/* Sección dividida (registro de jornada / privacidad + app) */
.dividida { background: linear-gradient(180deg, var(--lavanda), #EBE5FD); padding: 88px 0 0; overflow-x: clip; } /* el celular girado no debe dar scroll lateral */
.dividida .rejilla { display: grid; grid-template-columns: 1fr 1px 1fr .95fr; gap: 44px; align-items: center; }
.linea-v { width: 1px; align-self: stretch; background: #D9CFF7; }
.declaracion { font-size: clamp(21px, 2vw, 26px); font-style: italic; font-weight: 500; line-height: 1.38; margin-top: 18px; text-wrap: pretty; }
.firma { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.sello { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #4C1D95, #7C3AED); }
.sello .ic { font-size: 24px; }
.firma b { display: block; font-size: 15px; }
.firma b + span { display: block; font-size: 14px; color: var(--texto); } /* solo el renglón de abajo (no el ícono del sello) */
.equipo h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.equipo > p { color: var(--texto); font-size: 16px; margin-top: 12px; }
.insignias { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.insignia { display: flex; align-items: center; gap: 10px; background: var(--tinta); color: #fff; border-radius: 12px; padding: 9px 16px 9px 12px; }
.insignia .ic { font-size: 22px; }
.insignia small { display: block; font-size: 11px; opacity: .75; line-height: 1.15; }
.insignia b { display: block; font-size: 14.5px; line-height: 1.2; }
.instalar { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.instalar li { background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; color: var(--texto); }
.instalar li b { color: var(--tinta); display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 2px; }
.instalar li b .ic { color: var(--morado-2); font-size: 18px; }
.enlace { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--morado-2); margin-top: 20px; }
.enlace .ic { transition: transform .2s var(--curva); }
.enlace:hover .ic { transform: translateX(3px); }
.telefonos { position: relative; height: 460px; }
.telefonos .tel { position: absolute; width: 196px; }
.telefonos .frente { left: 4%; bottom: 0; z-index: 2; transform: rotate(-4deg); }
.telefonos .atras { right: 2%; top: 0; transform: rotate(6deg); }

/* Llamado final (sobre el pie) */
.llamado { position: relative; z-index: 3; margin-top: 80px; margin-bottom: -72px; }
.llamado .caja { border-radius: 28px; padding: 42px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(196, 181, 253, .45), transparent 60%),
              linear-gradient(110deg, #3B0F99 0%, #5B21B6 40%, #7C3AED 75%, #9F7AEA 100%);
  box-shadow: 0 30px 70px -30px rgba(59, 15, 153, .8); }
.llamado h2 { font-size: clamp(26px, 2.6vw, 34px); }
.llamado p { color: rgba(255, 255, 255, .86); font-size: 17px; margin-top: 8px; max-width: 580px; }
.llamado .botones { margin-top: 0; flex: none; align-items: center; }
.llamado .liga { color: #fff; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

/* ── Pie ── */
.pie { position: relative; z-index: 1; background: var(--noche); color: rgba(255, 255, 255, .72); padding: 140px 0 34px; }
.pie .contenedor { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 36px; }
.pie .lema { font-size: 14px; margin-top: 14px; max-width: 280px; }
.pie h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.pie ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.pie a { transition: color .2s ease; }
.pie a:hover { color: #fff; }
.redes { display: flex; gap: 10px; }
.redes a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; color: #fff; }
.redes a:hover { background: rgba(255, 255, 255, .08); }
.redes .ic { font-size: 17px; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; margin-top: 10px; font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── Transición RH → colaborador (transicion.js) ──
   Celular a tamaño real de la app (390 px de pantalla) escalado con --s; el deslizador va EXACTO encima del de la
   captura col-inicio.png (riel en x 16, y 250 + 28 de barra de estado; 358 × 60) con los colores de bitacora-system.css. */
.paso { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: rgba(12, 5, 34, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.paso-cel { /* no «paso-tel»: ese nombre ya es de los 3 celulares de «Cómo funciona» en colaborador.html */ --s: .8; width: 408px; padding: 8px; border-radius: 54px; background: #0B0912; border: 1px solid #2B2540; /* 390 + 16 + 2 */
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); transform: scale(var(--s));
  margin: calc((var(--s) - 1) * 445px) calc((var(--s) - 1) * 204px); } /* márgenes negativos: ocupa lo que se ve (408 × 890) */
.paso-pantalla { position: relative; width: 390px; border-radius: 46px; overflow: hidden; background: #12161F; padding-top: 28px; }
.paso-pantalla::before { content: ""; position: absolute; top: 7px; left: 50%; width: 96px; height: 20px; margin-left: -48px; border-radius: 12px; background: #050408; }
.paso-pantalla img { width: 390px; height: 844px; max-width: none; }
.paso-riel { position: absolute; left: 16px; top: 278px; width: 358px; height: 60px; padding: 4px; display: flex; align-items: center; overflow: hidden;
  background: #1B2130; border: 1px solid #2A3242; border-radius: 7px; font-family: Archivo, "Plus Jakarta Sans", system-ui, sans-serif; }
.paso-relleno { position: absolute; left: 0; top: 0; bottom: 0; width: 56px; background: #5A16E2; opacity: .22; }
.paso-txt { position: absolute; left: 60px; right: 14px; text-align: center; font-weight: 600; font-size: 13.5px; line-height: 1.2; color: #9BA6B4; }
.paso-carro { position: relative; z-index: 2; width: 52px; height: 52px; border-radius: 5px; background: #5A16E2; color: #fff; display: grid; place-items: center;
  transition: background-color .2s ease; }
.paso-carro svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.paso-carro.completado { background: #0E7A54; }
.paso-dedo { position: absolute; left: 24px; top: 286px; width: 46px; height: 46px; border-radius: 50%; z-index: 3; opacity: 0; pointer-events: none;
  background: rgba(255, 255, 255, .28); border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.paso-leyenda { color: rgba(255, 255, 255, .88); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.paso-capa { position: fixed; inset: 0; z-index: 101; background: #3B0F99; clip-path: circle(0 at 50% 50%); }
/* Colaborador → RH: laptop que se abre con la captura real de Registros (rh-registros.png). */
.panel { width: min(860px, 88vw); perspective: 1800px; }
.panel-tapa { position: relative; background: #0C0A14; border-radius: 18px 18px 6px 6px; padding: 1.4% 1.4% 1.8%; border: 1px solid #393150;
  transform-origin: 50% 100%; transform: rotateX(-86deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); }
.panel-pantalla { position: relative; overflow: hidden; border-radius: 6px; background: #05040A; }
.panel-pantalla img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; opacity: 0; }
.panel-brillo { position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 46%, transparent 62%); }
.panel-base { position: relative; height: 16px; margin: 0 -7%; border-radius: 2px 2px 16px 16px / 2px 2px 12px 12px;
  background: linear-gradient(180deg, #EDECF3 0%, #B9B6C6 60%, #8D8A9C 100%); }
.panel-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 6px; margin-left: -8%; background: #A9A6B6; border-radius: 0 0 8px 8px; }
/* Llegada a rh.html: la cortina se retira hacia la izquierda (al revés que la del colaborador). */
.llega-rh body::after { content: ""; position: fixed; inset: 0; z-index: 200; background: #3B0F99; pointer-events: none; clip-path: inset(0 0 0 0);
  animation: destapar-izq .7s .06s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes destapar-izq { to { clip-path: inset(0 100% 0 0); } }
/* Llegada a colaborador.html: la cortina morada se retira hacia la derecha (el mismo sentido del deslizador). */
.llega-paso body::after { content: ""; position: fixed; inset: 0; z-index: 200; background: #3B0F99; pointer-events: none; clip-path: inset(0 0 0 0);
  animation: destapar .7s .06s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes destapar { to { clip-path: inset(0 0 0 100%); } }

/* ── Celular y tableta ── */
@media (max-width: 1100px) {
  .menu { display: none; }
  .mosaico { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 901px) and (max-width: 1180px) { /* tableta horizontal: el celular cabe sin taparle las manos */
  .escena-persona .persona { max-height: 540px; left: -40px; }
  .escena-persona .tel3d { right: -30px; width: 200px; }
  .escena-persona .nota-real { right: -8px; width: 260px; font-size: 11px; }
}
@media (max-width: 900px) {
  .heroe { padding-top: 118px; }
  .heroe .contenedor, .banda .contenedor { grid-template-columns: 1fr; min-height: 0; }
  .heroe-texto { padding-bottom: 24px; }
  .escena-laptop { padding: 8px 4% 36px; }
  .heroe-col .contenedor { min-height: 0; grid-template-columns: 1fr; }
  .br-pc { display: none; } /* los cortes fijos del título solo en computadora */
  .escena-persona { min-height: 0; height: 520px; }
  .escena-persona .persona { left: 50%; transform: translateX(-72%); }
  .escena-persona .tel3d { right: 0; width: 210px; }
  .escena-persona .nota-real { display: none; } /* el pie ya dice que son pantallas reales */
  .beneficios { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .beneficio:nth-child(3) { border-left: 0; }
  .dividida .rejilla { grid-template-columns: 1fr; gap: 40px; }
  .linea-v { display: none; }
  .telefonos { max-width: 420px; width: 100%; margin-inline: auto; }
  .llamado .caja { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .pie .contenedor { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .contenedor { width: calc(100% - 32px); }
  .cabecera { padding: 16px 0; }
  .marca .divisor, .marca .producto { display: none; }
  .acciones .btn-borde:not(:only-child) { display: none; } /* si es el único botón, se queda */
  .acciones .btn { padding: 10px 16px; font-size: 14px; }
  .heroe h1 { font-size: 38px; }
  .entrada { font-size: 16.5px; }
  .botones .btn-grande { width: 100%; }
  .seccion { padding: 72px 0; }
  .beneficios { grid-template-columns: 1fr; }
  .beneficio + .beneficio { border-left: 0; border-top: 1px solid var(--borde); padding-top: 32px; }
  .mosaico { grid-template-columns: 1fr 1fr; }
  .mosaico .pieza:last-child:nth-child(odd) { grid-column: span 2; } /* 7 piezas: la última no queda sola a media fila */
  .dividida { padding-top: 56px; }
  .escena-persona { height: 420px; }
  .escena-persona .persona { transform: translateX(-80%); }
  .escena-persona .tel3d { width: 158px; right: -6px; }
  .heroe .insignias { gap: 10px; }
  .heroe .insignia { padding: 8px 12px 8px 10px; }
  .heroe .insignia b { font-size: 14px; }
  .heroe .insignia .ic { font-size: 19px; }
  .pasos-tels { gap: 10px; }
  .paso-tel p { font-size: 13px; }
  .telefonos { height: 400px; }
  .telefonos .tel { width: 168px; }
  .pie .contenedor { grid-template-columns: 1fr; }
}
@media (max-width: 360px) { /* celulares muy angostos: logo y botón caben en un renglón */
  .cabecera .contenedor { gap: 10px; }
  .acciones .btn { padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pieza, .enlace .ic { transition: none; }
  .escena-persona .tel3d { animation: none; }
  .llega-paso body::after, .llega-rh body::after { display: none; }
}
