/*
 * NIOPOS — identidad de marca (fuentes + tokens). Fuente de verdad: docs/brand-identity-guide.md
 *
 * Fuentes servidas desde niopos.com (nunca CDN): Poppins (estática, 400–800) e Inter (variable wght,
 * Fontsource 5.3.0); subconjuntos latin + latin-ext, licencia SIL OFL 1.1 (OFL.txt en cada carpeta).
 * Se carga en todos los layouts (sistema y web pública) ANTES de argon.css.
 */

/* ---------- Poppins: títulos, hero, navegación de la web ----------
   Mismos archivos que ya usa la app (argon/fonts/poppins-google, OFL): comparten caché. */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(/argon/fonts/poppins-google/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(/argon/fonts/poppins-google/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url(/argon/fonts/poppins-google/poppins-500-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url(/argon/fonts/poppins-google/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url(/argon/fonts/poppins-google/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url(/argon/fonts/poppins-google/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url(/argon/fonts/poppins-google/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: swap;
    font-weight: 800;
    src: url(/argon/fonts/poppins-google/poppins-800-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Inter: cuerpo, UI, etiquetas, formularios ---------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(/argon/fonts/inter/inter-latin-ext-wght-normal.woff2) format('woff2-variations'),
         url(/argon/fonts/inter/inter-latin-ext-wght-normal.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;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(/argon/fonts/inter/inter-latin-wght-normal.woff2) format('woff2-variations'),
         url(/argon/fonts/inter/inter-latin-wght-normal.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;
}
@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-display: swap;
    font-weight: 100 900;
    src: url(/argon/fonts/inter/inter-latin-ext-wght-italic.woff2) format('woff2-variations'),
         url(/argon/fonts/inter/inter-latin-ext-wght-italic.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;
}
@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-display: swap;
    font-weight: 100 900;
    src: url(/argon/fonts/inter/inter-latin-wght-italic.woff2) format('woff2-variations'),
         url(/argon/fonts/inter/inter-latin-wght-italic.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;
}

/* ---------- Tokens ---------- */
:root {
    /* Tipografía */
    --np-font-heading: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --np-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Escala web pública (sistema usa la escala compacta de Argon, ver guía) */
    --np-fs-hero: 72px;
    --np-fs-h1: 56px;
    --np-fs-h2: 42px;
    --np-fs-h3: 28px;
    --np-fs-nav: 20px;
    --np-fs-body-lg: 18px;
    --np-fs-body: 16px;
    --np-fs-body-sm: 14px;
    --np-fs-caption: 12px;
    --np-lh-body-lg: 1.7;
    --np-lh-body: 1.65;
    --np-lh-caption: 1.5;

    /* Color de marca */
    --np-navy: #000A22;          /* default / dark: color de marca y acento de UI */
    --np-navy-surface: #060F2C;  /* superficies sobre navy (web) */
    --np-navy-deep: #00040F;     /* fondo más profundo (web) */
    --np-ink: #172B4D;           /* texto de títulos y enlaces en el sistema */
    --np-red: #A33B32;           /* rojo de marca en la web pública (CTA) */
    --np-red-hover: #B8463C;
    --np-red-system: #8E3831;    /* danger / fondo login / cabecera del sistema */
    --np-coral: #E0685D;         /* acento sobre fondo oscuro (sidebar, eyebrows) */
    --np-red-soft: #F0A49C;      /* rojo suave sobre navy */
    --np-success: #256E4F;       /* crear / nuevo / guardar */
    --np-warning: #B79540;
    --np-text: #000000;          /* texto base del sistema */
    --np-muted: #5F6570;         /* texto secundario */
    --np-on-dark: #EAEDF5;       /* texto sobre navy */
    --np-border: #E9ECEF;

    /* Radios */
    --np-radius-sm: .25rem;      /* 4px: tags y elementos muy pequeños */
    --np-radius-md: .375rem;     /* 6px: botones e inputs */
    --np-radius-lg: .5rem;       /* 8px: cards */
    --np-radius-xl: 1rem;        /* 16px: contenedores grandes, modales de la web */
    --np-radius-pill: 999px;     /* tags y botones seleccionados */
}
