/* =========================================================
   ARCHIVO BLACK — TITULOS CORPORATIVOS
   Uso:
   - Headers principales
   - Hero banners
   - Secciones premium
   - Branding institucional
========================================================= */

@font-face {
  font-family: 'Archivo Black';
  src: url('/recursos/fuentes-public/ArchivoBlack-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* =========================================================
   ROBOTO — TIPOGRAFIA BASE GLOBAL
   Uso:
   - Texto general
   - Interfaces
   - Formularios
   - Paneles
   - Dashboards
========================================================= */

@font-face {
  font-family: 'Roboto';
  src: url('/recursos/fuentes-public/Roboto-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* =========================================================
   VARIABLES TIPOGRÁFICAS GLOBALES
========================================================= */

:root {

  /* =========================
     Familias tipográficas
  ========================= */

  --font-primary: 'Roboto', sans-serif;
  --font-display: 'Archivo Black', sans-serif;

  /* =========================
     Pesos tipográficos
  ========================= */

  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-bold: 700;
  --font-black: 900;

  /* =========================
     Escalas tipográficas
  ========================= */

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.6rem;
  --text-5xl: 3.2rem;

  /* =========================
     Altura de línea
  ========================= */

  --line-tight: 1.2;
  --line-normal: 1.6;
  --line-relaxed: 1.9;

  /* =========================
     Tracking
  ========================= */

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
}

/* =========================================================
   NORMALIZACIÓN GLOBAL
========================================================= */

html,
body {
  font-family: var(--font-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}