/* ═══════════════════════════════════════════════════════════════════════════
   EL MURO — Corralones Stabile.
   🔴 Tokens copiados a mano de `src/index.css`. Si se corrigen allá, se corrigen acá.
   💎 LA ÚNICA DE FONDO CLARO, y es a propósito: la identidad de Stabile es hueso + tinta +
      el rojo de la marca. Ponerle el carbón de las demos de autos la volvería otra cosa.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --rojo: #ff3131;
  --bordo: #882d2d;
  --hueso: #f4f1ec;
  --tinta: #111111;
  --linea: #e6e1dc;
  --apagado: #6b625c;

  --sans: "Archivo", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--hueso);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 🔴 `dvh` y ⛔ `vh`: la barra del navegador del celular entra y sale. */
.pantalla {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.caja {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.logo {
  display: block;
  width: auto;
  max-width: 160px;
  height: auto;
  margin: 0 auto 30px;
}

.titulo {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--tinta);
}

.texto {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--apagado);
}

.texto:last-of-type { margin-bottom: 40px; }

/* Blanco sobre el rojo de la marca. `min-height: 48px` para que el pulgar lo acierte. */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 6px;
  background: var(--rojo);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.boton:hover { background: var(--bordo); }
.boton:active { transform: translateY(1px); }

.boton:focus-visible {
  outline: 3px solid var(--bordo);
  outline-offset: 3px;
}

/* 🔴 Sobre fondo claro el apagado alcanza el contraste; acá ⛔ hace falta bajar la opacidad,
   que es lo que en las otras cuatro compensaba el fondo oscuro. */
.firma {
  margin: 36px 0 0;
  font-size: 13px;
  color: var(--apagado);
}

/* Subrayado SIEMPRE: en un teléfono ⛔ hay hover. El padding negativo lleva el área de toque
   a 44px sin mover el texto. */
.firma-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  display: inline-block;
  padding: 12px 6px;
  margin: -12px -6px;
}

.firma-link:hover { color: var(--tinta); }

.firma-link:focus-visible {
  outline: 2px solid var(--rojo);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-height: 560px) {
  .logo { max-width: 130px; margin-bottom: 18px; }
  .titulo { font-size: 27px; margin-bottom: 14px; }
  .firma { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .boton { transition: none; }
  .boton:active { transform: none; }
}
