/* Estilos base del área privada (identidad de Aptc.MOVERSE). Tipografías alojadas aquí mismo. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/playfair-display-latin-600-normal.woff2') format('woff2'); }

:root {
  --fondo: #FBF6EC;
  --blanco: #FFFFFF;
  --texto: #2D2A20;
  --texto-fuerte: #241F16;
  --texto-suave: #4A4232;
  --texto-tenue: #6A5D43;
  --borde: #E6D8B8;
  --borde-fuerte: #D9C9A6;
  --linea: #E9DBBC;
  --azul: #3C49B2;
  --azul-suave: #5B64A5;
  --azul-tinte: #E6E9F7;
  --azul-oscuro: #2F3566;
  --naranja: #D9602A;
  --naranja-hover: #C9551F;
  --naranja-sombra: #A8461B;
  --melocoton: #F8E3D5;
  --melocoton-texto: #8A3E17;
  --gris: #EFE8DA;
  --gris-texto: #5F5440;
  --error: #9B2C1F;
  --radio: 12px;
  --titulos: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 17px/1.5 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

h1, h2 { color: var(--texto-fuerte); margin: 0; }
h1 { font-family: var(--titulos); font-weight: 600; font-size: 1.85rem; line-height: 1.12; }
h1:focus { outline: none; }
p { margin: 0; }
a { color: #B4501F; }
a:hover { color: var(--melocoton-texto); }
button { font: inherit; }

.icono { flex-shrink: 0; }
.girado { transform: rotate(180deg); }

:focus-visible { outline: 3px solid var(--azul-suave); outline-offset: 2px; }

.tarjeta {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 1.25rem;
}

.boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 0 1.5rem;
  color: #fff;
  background: var(--naranja);
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 3px 0 0 var(--naranja-sombra), 0 6px 12px -8px rgba(168, 70, 27, .55);
  cursor: pointer;
}
.boton:hover { background: var(--naranja-hover); }
.boton:disabled { opacity: .7; cursor: progress; }

.estado { color: var(--texto-suave); min-height: 1.5em; }

table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
th, td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--borde); }
th { color: var(--azul); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
main.tarjeta { max-width: 34rem; margin: 1.5rem auto; }
