/* Fuentes locales (subconjunto latino): disponibles sin conexión.
   Poppins → títulos (Bold 700), subtítulos (SemiBold 600) y textos destacados (Regular 400).
   Outfit (variable) → párrafos (Regular 400), etiquetas y botones (SemiBold 600), énfasis (Bold 700). */
@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/poppins-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/outfit-latin-wght-normal.woff2') format('woff2');
}

/* Pantalla de carga (splash con el logo): se pinta antes de que Tailwind y el JS terminen. Colores de paleta.js. */
body { margin: 0; background: rgb(var(--fondo, 246 247 253)); }
#app:empty {
  min-height: 100vh; display: flex; flex-direction: column; gap: 32px; align-items: center; justify-content: center;
  background: rgb(var(--marca-700, 38 61 191));
}
#app:empty::before {
  content: ''; width: min(220px, 60vw); aspect-ratio: 780 / 480;
  background: url('../assets/img/logo-white.png') center / contain no-repeat;
}
#app:empty::after {
  content: ''; width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid rgb(255 255 255 / .3);
  border-top-color: #fff;
  animation: cargando .8s linear infinite;
}
@keyframes cargando { to { transform: rotate(360deg); } }
