/* ====================================================================
   ACCESO (PASO 20) — traslado literal de «Plataforma - Login.dc.html».

   Sólo se carga en /login. Dos columnas de borde a borde: panel
   institucional con fotografía a la izquierda y tarjeta de vidrio oscuro
   con el formulario REAL a la derecha.

   Lo que el diseño trae y el backend NO tiene se retiró conservando la
   composición (no se pintan controles muertos):
     · «Recordarme»  — la sesión no acepta duración variable.
     · «Continuar con Google» y su separador — no hay SSO de Google.
     · «¿Olvidaste tu contraseña?» — no hay autoservicio; en su lugar va la
       indicación real (la restablece administración/sistemas).
   ==================================================================== */

/* el acceso pinta su propio fondo: el institucional claro estorba */
body.s1v-acceso { background: #0a0b0c; }
body.s1v-acceso .s1v-fondo { display: none; }
body.s1v-acceso ::selection { background: var(--s1v-rojo); color: #fff; }

@keyframes s1v-acc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes s1v-acc-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes s1v-acc-zoom { from { transform: scale(1.04); } to { transform: scale(1.13); } }

.acceso {
  position: relative; z-index: 1; min-height: 100vh; display: flex; flex-wrap: nowrap;
  align-items: stretch; background: #0a0b0c; color: #f2f0ee;
}

/* ------------------------------------------- panel institucional (55 %) */
.acceso-panel {
  flex: 55 1 0; position: relative; overflow: hidden; display: flex; flex-direction: column;
  justify-content: space-between; gap: 40px; padding: 46px 52px;
}
.acceso-panel .foto { position: absolute; inset: -6%; overflow: hidden; }
.acceso-panel .foto img {
  width: 100%; height: 100%; object-fit: cover; object-position: 46% 55%;
  filter: grayscale(.42) contrast(1.12) brightness(.52) saturate(.9);
  animation: s1v-acc-zoom 26s ease-out both; transform-origin: 60% 50%;
}
.acceso-panel .foto::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: screen;
  background: radial-gradient(70% 60% at 62% 46%, rgba(208,18,28,.16), transparent 62%);
}
.acceso-panel .velo-1, .acceso-panel .velo-2 { position: absolute; inset: 0; pointer-events: none; }
.acceso-panel .velo-1 { background: linear-gradient(105deg, rgba(10,11,12,.94) 8%, rgba(10,11,12,.72) 46%, rgba(10,11,12,.58) 74%, rgba(10,11,12,.92) 100%); }
.acceso-panel .velo-2 { background: linear-gradient(to top, rgba(10,11,12,.96), transparent 42%); }
.acceso-panel .sello {
  position: absolute; left: -90px; bottom: -120px; width: 420px; height: 420px;
  opacity: .06; pointer-events: none;
}
.acceso-panel .sello img { width: 100%; height: 100%; object-fit: contain; }

.acceso-marca { position: relative; display: flex; align-items: center; gap: 15px; animation: s1v-acc-fade .8s both; }
.acceso-marca img { width: 58px; height: 58px; object-fit: contain; display: block; }
.acceso-marca .textos { display: flex; flex-direction: column; gap: 5px; }
.acceso-marca .nombre {
  font-family: var(--fuente-titulo); font-size: 22px; font-weight: 600;
  letter-spacing: -.02em; line-height: 1; color: #fff;
}
.acceso-marca .giro {
  font-family: var(--fuente-mono); font-size: 9.5px; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(242,240,238,.58);
}

.acceso-lema-bloque {
  position: relative; display: flex; flex-direction: column; gap: 26px; max-width: 760px;
  animation: s1v-acc-rise .9s .1s both;
}
.acceso-kicker {
  font-family: var(--fuente-mono); font-size: 10.5px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--s1v-oro);
}
.acceso-titular { display: flex; flex-direction: column; gap: 14px; }
.acceso-titular h1 {
  margin: 0; font-family: var(--fuente-titulo); font-size: 82px; font-weight: 700;
  letter-spacing: -.04em; line-height: .95; color: #fff;
}
.acceso-titular h1 i { font-style: normal; color: var(--s1v-rojo-vivo); }
.acceso-titular p {
  margin: 0; font-size: 25px; font-weight: 400; line-height: 1.35;
  color: rgba(242,240,238,.8); max-width: 22ch; text-wrap: pretty;
}

.acceso-pilares { display: flex; flex-wrap: nowrap; gap: 12px; margin-top: 6px; }
.acceso-pilares > div {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px;
  padding: 18px 16px 19px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.02));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 34px rgba(0,0,0,.42);
  transition: transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
}
.acceso-pilares > div:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 28px 48px rgba(0,0,0,.55);
}
.acceso-pilares svg { width: 24px; height: 24px; stroke: var(--s1v-oro); stroke-width: 1.5; }
.acceso-pilares b { font-family: var(--fuente-titulo); font-size: 14.5px; font-weight: 600; color: #fff; }
.acceso-pilares span { font-size: 12px; line-height: 1.4; color: rgba(242,240,238,.58); }

.acceso-pie { position: relative; display: flex; flex-direction: column; gap: 12px; animation: s1v-acc-fade 1s .5s both; }
.acceso-pie .linea { display: flex; align-items: center; gap: 20px; }
.acceso-pie .linea i { display: block; height: 1px; background: rgba(255,255,255,.22); }
.acceso-pie .linea i.corta { flex: 0 1 120px; }
.acceso-pie .linea i.larga { flex: 1 1 60px; }
.acceso-pie img { height: 48px; width: auto; object-fit: contain; display: block; filter: brightness(2.1) saturate(1.05); }
.acceso-pie small {
  font-family: var(--fuente-mono); font-size: 9.5px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(242,240,238,.5); padding-left: 140px;
}

/* --------------------------------------------- columna del formulario (45 %) */
.acceso-forma {
  flex: 45 1 0; position: relative; display: flex; flex-direction: column;
  justify-content: space-between; gap: 22px; padding: 34px 54px; background: #0a0b0c;
}
.acceso-forma .fondo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.acceso-forma .fondo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(26px) grayscale(.6) brightness(.42) saturate(.7); transform: scale(1.18); opacity: .85;
}
.acceso-forma .fondo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,12,.72), rgba(10,11,12,.9) 55%, rgba(10,11,12,.97)),
              radial-gradient(120% 80% at 50% 4%, rgba(163,104,6,.14), transparent 62%),
              radial-gradient(60% 45% at 50% 52%, rgba(208,18,28,.1), transparent 70%);
}
.acceso-cinta { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.acceso-cinta span {
  font-family: var(--fuente-mono); font-size: 9.5px; line-height: 1.7; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(242,240,238,.45); text-align: right;
}
.acceso-cinta i { width: 52px; height: 1px; background: rgba(255,255,255,.25); }

.acceso-tarjeta {
  position: relative; width: 100%; max-width: 520px; box-sizing: border-box; margin: 0 auto;
  border: 1px solid rgba(255,255,255,.1); border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 2px 0 rgba(255,255,255,.05),
              0 60px 110px rgba(0,0,0,.66), 0 0 0 1px rgba(0,0,0,.35);
  padding: 38px 40px 34px; display: flex; flex-direction: column; gap: 22px;
  animation: s1v-acc-rise .8s .15s both;
}
.acceso-emblema { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.acceso-emblema > img { width: 88px; height: 88px; object-fit: contain; display: block; filter: drop-shadow(0 12px 26px rgba(0,0,0,.6)); }
.acceso-emblema .textos { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.acceso-emblema .wordmark {
  font-family: var(--fuente-titulo); font-size: 27px; font-weight: 700; letter-spacing: .03em;
  line-height: 1; color: rgba(242,240,238,.62);
}
.acceso-emblema .wordmark i { font-style: normal; color: var(--s1v-rojo-vivo); }
.acceso-emblema .lema {
  font-family: var(--fuente-mono); font-size: 9.5px; letter-spacing: .34em;
  text-transform: uppercase; color: rgba(242,240,238,.5);
}
.acceso-saludo { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.acceso-saludo h2 {
  margin: 0; font-family: var(--fuente-titulo); font-size: 31px; font-weight: 700;
  letter-spacing: -.025em; line-height: 1.1; color: #fff;
}
.acceso-saludo p { margin: 0; font-size: 14.5px; color: rgba(242,240,238,.65); }

.acceso-tarjeta form { display: flex; flex-direction: column; gap: 14px; }
.acceso-campo { display: flex; flex-direction: column; gap: 7px; }
.acceso-campo > label {
  display: block; font-family: var(--fuente-mono); font-size: 9.5px; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(242,240,238,.5); margin: 0;
}
.acceso-campo .caja { position: relative; display: flex; }
.acceso-campo .caja > .ic {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  display: flex; pointer-events: none; color: rgba(242,240,238,.5);
}
.acceso-campo .caja > .ic svg { width: 19px; height: 19px; }
/* el campo del acceso NO hereda el campo claro de la plataforma */
.acceso-tarjeta input[type=email],
.acceso-tarjeta input[type=password],
.acceso-tarjeta input[type=text] {
  width: 100%; min-height: 54px; height: 54px; box-sizing: border-box; padding: 0 46px;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045); color: #f2f0ee;
  font-family: var(--fuente); font-size: 15px; font-weight: 500;
  transition: border-color var(--motion-fast) var(--ease-standard),
              box-shadow var(--motion-fast) var(--ease-standard),
              background var(--motion-fast) var(--ease-standard);
}
.acceso-tarjeta input::placeholder { color: rgba(242,240,238,.38); }
.acceso-tarjeta input:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.acceso-tarjeta input:focus, .acceso-tarjeta input:focus-visible {
  border-color: var(--s1v-oro); box-shadow: 0 0 0 3px rgba(217,178,106,.16); outline: none;
}
.acceso-tarjeta input:-webkit-autofill {
  -webkit-text-fill-color: #f2f0ee; -webkit-box-shadow: 0 0 0 1000px #17181b inset;
}
.acceso-ojo {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: transparent; color: rgba(242,240,238,.55); cursor: pointer;
}
.acceso-ojo:hover { background: rgba(255,255,255,.07); color: #fff; }
.acceso-ojo:focus-visible { outline: 2px solid var(--s1v-oro); outline-offset: -2px; }
.acceso-ojo svg { width: 19px; height: 19px; }

.acceso-fila { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: -4px; }
.acceso-recordar {
  display: flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; padding: 6px 2px;
  font-family: var(--fuente); font-size: 13.5px; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: rgba(242,240,238,.82);
}
.acceso-recordar input { width: 18px; height: 18px; accent-color: var(--s1v-rojo); cursor: pointer; margin: 0; }
.acceso-enlace {
  border: 0; background: transparent; padding: 6px 2px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--s1v-oro);
}
.acceso-enlace:hover { color: #fff; }
.acceso-enlace:focus-visible { outline: 2px solid var(--s1v-oro); outline-offset: 2px; border-radius: 6px; }
.acceso-nota {
  margin: -6px 0 0; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  font-size: 12.5px; line-height: 1.5; color: rgba(242,240,238,.72);
}

.acceso-enviar {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 0 52px; border: 0; border-radius: 14px;
  background: linear-gradient(100deg, #ad0b14, #d0121c); color: #fff;
  font-family: var(--fuente-titulo); font-size: 16.5px; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; box-shadow: 0 16px 34px rgba(173,11,20,.35);
  transition: filter var(--motion-fast) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);
}
.acceso-enviar:hover { filter: brightness(1.1); }
.acceso-enviar:focus-visible { outline: 2px solid var(--s1v-oro); outline-offset: 3px; }
.acceso-enviar .flecha {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
}
.acceso-enviar .flecha svg { width: 17px; height: 17px; }
.acceso-enviar[data-ocupado] { background: #7d1016; box-shadow: none; cursor: wait; }
.acceso-enviar[data-ocupado] .flecha { display: none; }
.acceso-enviar .girando {
  width: 18px; height: 18px; border-radius: 999px; border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; animation: s1v-spinmark .7s linear infinite; display: none;
}
.acceso-enviar[data-ocupado] .girando { display: block; }

.acceso-aviso { min-height: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.acceso-aviso .mal { font-size: 12.5px; font-weight: 500; color: #e2626a; text-align: center; }

.acceso-candado { display: flex; align-items: flex-start; justify-content: center; gap: 9px; padding-top: 2px; }
.acceso-candado svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; color: rgba(242,240,238,.5); }
.acceso-candado span { font-size: 12.5px; line-height: 1.5; color: rgba(242,240,238,.58); text-wrap: pretty; }

.acceso-migas {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 14px; font-family: var(--fuente-mono); font-size: 9.5px; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(242,240,238,.38);
}
.acceso-migas i { font-style: normal; color: rgba(255,255,255,.16); }

/* ------------------------------------------------------------ adaptación */
@media (max-width: 1240px) {
  .acceso-titular h1 { font-size: 62px; }
  .acceso-titular p { font-size: 21px; }
  .acceso-panel, .acceso-forma { padding: 34px 36px; }
  .acceso-pilares { flex-wrap: wrap; }
  .acceso-pilares > div { flex: 1 1 140px; }
}
@media (max-width: 1000px) {
  .acceso { flex-direction: column; }
  .acceso-panel { flex: none; min-height: 300px; gap: 24px; }
  .acceso-panel .acceso-pilares, .acceso-panel .acceso-pie { display: none; }
  .acceso-titular h1 { font-size: 48px; }
  .acceso-titular p { font-size: 18px; }
  .acceso-forma { flex: none; padding: 28px 22px 34px; }
  .acceso-cinta { display: none; }
}
@media (max-width: 560px) {
  .acceso-panel { min-height: 220px; padding: 24px 20px; }
  .acceso-titular h1 { font-size: 38px; }
  .acceso-marca img { width: 46px; height: 46px; }
  .acceso-tarjeta { padding: 28px 22px 26px; border-radius: 20px; }
  .acceso-emblema > img { width: 68px; height: 68px; }
  .acceso-saludo h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .acceso-panel .foto img, .acceso-marca, .acceso-lema-bloque, .acceso-pie, .acceso-tarjeta { animation: none; }
  .acceso-pilares > div:hover { transform: none; }
}
