/* Acceso: a un lado, el brocatel en movimiento lento; al otro, el formulario. Es lo único que se ve sin entrar,
   así que no enseña ninguna cifra. */

.acceso { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); }
.acceso__escena { position: relative; overflow: hidden; background: #0D0A09; isolation: isolate; }
.acceso__foto { position: absolute; inset: -6%; background: url("../marca/brocatel-macro.webp") center / cover no-repeat; animation: acercar 28s ease-in-out infinite alternate; filter: saturate(.9) contrast(1.05); }
.acceso__escena::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 30%, rgba(13, 10, 9, .15), rgba(13, 10, 9, .82) 70%), linear-gradient(180deg, rgba(13, 10, 9, .1), rgba(13, 10, 9, .7)); z-index: 1; }
@keyframes acercar { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.acceso__luz { position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 30%, rgba(246, 230, 190, .16) 45%, transparent 60%); background-size: 260% 100%; animation: brilla 9s ease-in-out infinite; mix-blend-mode: screen; }
.acceso__texto { position: absolute; z-index: 3; left: clamp(28px, 5vw, 72px); bottom: clamp(28px, 6vw, 80px); right: 28px; color: #F7F8F7; }
.acceso__texto .monograma { width: 52px; height: 52px; background: #E3C98F; margin-bottom: 26px; filter: drop-shadow(0 0 8px rgba(227, 201, 143, .22)); }
.acceso__texto h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.acceso__texto p { margin-top: 14px; color: rgba(247, 248, 247, .72); max-width: 420px; font-size: var(--t-l); }

.acceso__lado { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 64px); position: relative; }
.acceso__arriba { position: absolute; top: 22px; left: clamp(24px, 4vw, 64px); right: 18px; display: flex; align-items: center; justify-content: space-between; }
.acceso__arriba .logotipo { width: 84px; height: 17px; }
.acceso__caja { width: min(400px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; animation: aparece .8s var(--suave) both; }
.acceso__caja h2 { font-size: var(--t-2xl); letter-spacing: -.03em; }
.acceso__caja > p { color: var(--tinta-2); margin-top: -8px; }
.acceso__pista { font-size: var(--t-xs); color: var(--tinta-3); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: center; text-align: center; }
.acceso__pista button { white-space: nowrap; }
.acceso__pista::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ojo); box-shadow: 0 0 6px color-mix(in srgb, var(--ojo) 40%, transparent); flex: none; }
.acceso__pie { position: absolute; bottom: 18px; left: clamp(24px, 4vw, 64px); right: 18px; font-size: 11.5px; color: var(--tinta-4); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acceso__error { color: var(--mal); font-size: var(--t-s); min-height: 1.2em; }
.acceso__ojo { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; color: var(--tinta-3); border-radius: 9px; }
.acceso__ojo:hover { color: var(--tinta); background: var(--panel-a); }
.acceso__envoltorio { position: relative; }
.acceso__envoltorio .entrada { padding-right: 46px; }
/* «Recordar este dispositivo» y «¿La has olvidado?»: si no caben en una línea, el enlace baja entero a la derecha */
.acceso__recordar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: var(--t-s); color: var(--tinta-2); }
.acceso__recordar > button { margin-left: auto; white-space: nowrap; }
.acceso__entrando { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--fondo); animation: aparece-suave .3s linear both; }
.acceso__entrando .monograma { width: 64px; height: 64px; animation: latido 1.2s ease-in-out infinite; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--oro-borde) 60%, transparent)); }

@media (max-width: 900px) {
  .acceso { grid-template-columns: minmax(0, 1fr); grid-template-rows: 38vh auto; }
  .acceso__texto h1 { font-size: 2.2rem; }
  .acceso__texto p { font-size: var(--t-m); }
  .acceso__texto .monograma { width: 40px; height: 40px; margin-bottom: 14px; }
  .acceso__lado { padding: 28px 20px 90px; justify-content: flex-start; }
  .acceso__arriba { position: static; margin-bottom: 26px; }
  .acceso__pie { position: static; margin-top: 30px; }
}
