/* =========================================================
   MIVI — Fuentes autoalojadas

   Los archivos se sirven desde /assets/fonts y no desde Google Fonts porque la
   CSP de esta aplicación declara `font-src 'self'`: una URL de fonts.gstatic.com
   sería bloqueada por el navegador. Abrir la CSP para las fuentes obligaría a
   abrirla también para el CSS que las declara, y ese es justo el agujero que la
   política estricta existe para cerrar.

   Son las dos VARIABLES, no una estática por peso: un solo archivo cubre todo el
   rango de grosores que usa el panel (500, 600, 700 y 800) en 25 KB, contra los
   cuatro archivos y ~100 KB que costarían las estáticas.

   Subconjuntos: latin y latin-ext. El primero ya trae las tildes y la ñ del
   español; latin-ext cubre nombres de local con caracteres de otros idiomas
   latinos y solo se descarga si la página los usa, gracias a unicode-range.

   Descargados de Google Fonts el 2026-08-06 (Sora v17, Inter v20). Ambas son
   SIL Open Font License 1.1, que permite el autoalojamiento.
   ========================================================= */

/* ---- Sora (display: títulos, marca, cifras) ---- */

/* latin-ext */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Inter (cuerpo: texto corrido, formularios, tablas) ---- */

/* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
