/* Fotografía en movimiento y acceso integrado con los colores de la marca. */
body { min-height:100vh; min-height:100dvh; padding:0; background:#244B67; }
.ingreso-pagina { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(400px,1fr); width:100%; min-height:100vh; min-height:100dvh; position:relative; isolation:isolate; }
.ingreso__escena { position:absolute; inset:0; z-index:-1; overflow:hidden; }
.ingreso__fondo { display:block; width:100%; height:100%; object-fit:cover; object-position:center; transform:scale(1.035); transform-origin:42% 52%; animation:ingreso-fondo-vivo 26s ease-in-out infinite alternate; }
.ingreso__escena::before { content:""; position:absolute; inset:-12%; z-index:1; pointer-events:none; background:radial-gradient(ellipse at 60% 22%,rgba(92,210,219,.22),transparent 42%),radial-gradient(ellipse at 18% 60%,rgba(239,194,92,.12),transparent 38%); animation:ingreso-luz-ambiente 12s ease-in-out infinite alternate; }
.ingreso__escena::after { content:""; position:absolute; inset:0; z-index:2; pointer-events:none; background:linear-gradient(90deg,rgba(12,35,55,.16),transparent 52%,rgba(21,57,78,.16)),linear-gradient(180deg,rgba(10,28,46,.38),rgba(10,28,46,.02) 42%,rgba(10,28,46,.76)); }
.ingreso__presentacion { display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:24px; padding:44px clamp(32px,4vw,72px) 60px; overflow:hidden; }
.ingreso__firma { display:flex; flex-direction:column; align-items:flex-start; gap:12px; background:transparent; animation:dc-tech-entrar 600ms cubic-bezier(.2,.7,.2,1) both; }
.ingreso__firma .dc-tech-logo { width:236px; height:68px; }
.ingreso__firma > span:last-child { padding-left:4px; color:#D7E5F4; font-size:10px; font-weight:500; letter-spacing:.19em; }
.ingreso__marca { margin-top:auto; text-align:left; animation:dc-tech-entrar 600ms 90ms cubic-bezier(.2,.7,.2,1) both; }
.ingreso__marca h1 { margin:0; color:#F1F6FC; font-size:clamp(40px,4.5vw,68px); font-weight:600; line-height:1.05; letter-spacing:-.06em; text-shadow:0 4px 28px rgba(8,27,43,.22); }
.ingreso__marca h1 span { color:#E8BD55; }
.ingreso__marca p { margin:14px 0 0; color:#E5EFF9; font-size:15px; line-height:1.5; }
.ingreso__linea-marca { width:88px; height:3px; border-radius:3px; background:linear-gradient(90deg,#D9AC36 0 64%,#3BA18B 64%); animation:dc-tech-entrar 600ms 160ms ease both; }
.ingreso__contenedor { position:relative; display:grid; align-content:center; padding:64px clamp(28px,4vw,64px); background:radial-gradient(ellipse at 10% 0%,rgba(107,222,224,.18),transparent 60%),linear-gradient(155deg,rgba(47,104,127,.85),rgba(37,76,104,.90) 54%,rgba(28,54,83,.94)); border-left:1px solid rgba(203,235,245,.24); box-shadow:-18px 0 60px rgba(11,34,55,.08); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); }
.ingreso__contenedor::before { content:""; position:absolute; top:0; left:-1px; bottom:0; width:1px; background:linear-gradient(180deg,transparent,rgba(145,231,231,.6) 32%,rgba(218,231,241,.16) 72%,transparent); pointer-events:none; }
.ingreso__tarjeta { width:100%; max-width:calc(var(--ancho-tarjeta-angosta) + 32px); margin:auto; animation:dc-tech-entrar 650ms 120ms cubic-bezier(.2,.7,.2,1) both; }
.ingreso__identidad { margin-bottom:32px; }
.ingreso__empresa { display:inline-flex; align-items:center; gap:9px; margin-bottom:14px; color:#D5E8F3; font-size:11px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; }
.ingreso__empresa::before { content:""; width:6px; height:6px; border-radius:50%; background:#E8BD55; box-shadow:0 0 12px rgba(232,189,85,.35); }
.ingreso__identidad h2 { margin:0; color:#F5FAFE; font-size:36px; font-weight:500; letter-spacing:-.045em; line-height:1.2; }
.ingreso__campo { margin-bottom:20px; }
.ingreso__campo label { display:block; margin-bottom:8px; color:#EDF5FC; font-size:13px; font-weight:500; }
.ingreso__hueco { position:relative; display:flex; align-items:center; }
.ingreso__hueco > svg { position:absolute; left:16px; width:18px; height:18px; color:#C2DEEE; pointer-events:none; }
.ingreso-pagina input[type="text"],.ingreso-pagina input[type="password"] { width:100%; min-height:54px; padding:12px 48px 12px 46px; border:1px solid #84AABD; border-radius:10px; color:#F5FAFE; background:linear-gradient(135deg,rgba(215,239,250,.12),rgba(196,222,241,.05)); box-shadow:inset 0 1px 0 rgba(233,246,255,.04); font:14px var(--font-sans); transition:border-color 200ms ease,box-shadow 200ms ease,background 200ms ease; }
.ingreso-pagina input:hover { border-color:#B2CFDF; }
.ingreso-pagina input:focus-visible { outline:2px solid #A4E4ED; outline-offset:3px; border-color:#A4E4ED; background:rgba(215,239,250,.15); box-shadow:0 0 0 5px rgba(164,228,237,.06); }
.ingreso-pagina input:-webkit-autofill { -webkit-text-fill-color:#F5FAFE; caret-color:#F5FAFE; box-shadow:0 0 0 1000px #37617B inset; }
.ingreso__ojo { position:absolute; right:4px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:8px; color:#D5E8F3; background:transparent; cursor:pointer; }
.ingreso__ojo[hidden],.ingreso__ojo svg[hidden] { display:none; }
.ingreso__ojo svg { width:19px; height:19px; }
.ingreso__ojo:hover { background:rgba(187,211,239,.08); }
.ingreso__fila { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0 8px; margin:-6px 0 20px; font-size:12px; }
.ingreso__recordarme { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#D5E8F3; cursor:pointer; }
.ingreso__recordarme input { width:16px; height:16px; margin:0; accent-color:#E4B749; }
.ingreso__ayuda-enlace { display:inline-flex; align-items:center; min-height:44px; color:#E2F1FA; text-underline-offset:4px; }
.ingreso__ayuda-enlace:hover { color:#FFFFFF; text-decoration:underline; }
.ingreso__entrar { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:54px; padding:0 20px; border:1px solid #E5BC58; border-radius:10px; color:#19394E; background:linear-gradient(110deg,#E9BF59,#DDB044); box-shadow:0 6px 22px rgba(8,23,41,.19),inset 0 1px 0 rgba(255,245,211,.4); font:600 14px var(--font-sans); cursor:pointer; transition:background 200ms ease,box-shadow 200ms ease,transform 200ms ease; }
.ingreso__entrar svg { width:19px; height:19px; transition:transform 200ms ease; }
.ingreso__entrar:hover { background:linear-gradient(110deg,#F0CA6D,#E6BC53); box-shadow:0 8px 26px rgba(8,23,41,.24); }
.ingreso__entrar:hover svg { transform:translateX(4px); }
.ingreso__entrar:active { transform:translateY(1px); }
.ingreso__entrar:disabled { opacity:.7; cursor:wait; }
.ingreso__cierre { margin:26px 0 0; padding-top:18px; border-top:1px solid rgba(203,235,245,.24); color:#CCE0EE; font-size:12px; line-height:1.5; }
.ingreso__error { margin:8px 0 12px; padding:10px 12px; border:1px solid #D7928C; border-radius:8px; color:#FAE5E3; background:#713E43; font-size:13px; }
.ingreso__pie { position:absolute; bottom:24px; right:0; width:40%; text-align:center; color:#C8DCEB; font-size:11px; }
:where(.ingreso__ojo,.ingreso__entrar,.ingreso__ayuda-enlace,.ingreso__recordarme input):focus-visible { outline:2px solid #A4E4ED; outline-offset:3px; }
@keyframes ingreso-fondo-vivo { from { transform:scale(1.035) translate3d(0,0,0); } to { transform:scale(1.105) translate3d(-.65%,.35%,0); } }
@keyframes ingreso-luz-ambiente { from { opacity:.35; transform:translate3d(-1%,0,0); } to { opacity:.85; transform:translate3d(1%,1%,0); } }
@media (max-width:900px) {
  .ingreso-pagina { grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr; }
  .ingreso__presentacion { padding:28px 24px; gap:20px; align-items:center; text-align:center; }
  .ingreso__firma { align-items:center; gap:8px; }
  .ingreso__firma .dc-tech-logo { width:180px; height:50px; }
  .ingreso__firma > span:last-child { font-size:9px; }
  .ingreso__marca { margin:0; text-align:center; }
  .ingreso__marca h1 { font-size:34px; }
  .ingreso__marca p { margin-top:8px; font-size:12px; }
  .ingreso__linea-marca { display:none; }
  .ingreso__fondo { object-position:42% center; animation-duration:32s; }
  .ingreso__contenedor { padding:32px 28px 68px; border-left:0; border-top:1px solid rgba(203,235,245,.24); background:radial-gradient(ellipse at 100% 0%,rgba(99,214,218,.12),transparent 70%),linear-gradient(155deg,rgba(44,95,119,.92),rgba(30,57,85,.96)); }
  .ingreso__contenedor::before { display:none; }
  .ingreso__pie { width:100%; bottom:20px; }
  .ingreso__identidad { margin-bottom:24px; }
  .ingreso__identidad h2 { font-size:28px; }
}
@media (max-width:390px) { .ingreso__contenedor { padding:28px 24px 68px; } .ingreso__fila { gap:0 8px; } }
@media (prefers-reduced-motion:reduce) {
  .ingreso__firma,.ingreso__marca,.ingreso__linea-marca,.ingreso__tarjeta,.ingreso__fondo,.ingreso__escena::before { animation:none; }
  .ingreso__fondo { transform:none; }
  .ingreso-pagina * { transition:none!important; }
  .ingreso__entrar:hover svg,.ingreso__entrar:active { transform:none; }
}
