/* 
 * Fuentes locales para Source Sans Pro
 * Este archivo reemplaza la dependencia de Google Fonts
 */

/* Definir la familia de fuentes usando fuentes del sistema */
body, .source-sans-pro {
    font-family: 
        "Source Sans Pro", 
        -apple-system, 
        BlinkMacSystemFont, 
        "Segoe UI", 
        "Roboto", 
        "Oxygen", 
        "Ubuntu", 
        "Cantarell", 
        "Fira Sans", 
        "Droid Sans", 
        "Helvetica Neue", 
        "Arial", 
        sans-serif;
}

/* Pesos de fuente específicos */
.font-light, .text-light {
    font-weight: 300;
}

.font-normal, .text-normal {
    font-weight: 400;
}

.font-medium, .text-medium {
    font-weight: 500;
}

.font-semibold, .text-semibold {
    font-weight: 600;
}

.font-bold, .text-bold {
    font-weight: 700;
}

.font-italic, .text-italic {
    font-style: italic;
}

/* Optimizaciones de renderizado */
* {
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Source Sans 3 - Regular */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSans3-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Source Sans 3 - Light */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSans3-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Source Sans 3 - Medium */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSans3-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Source Sans 3 - SemiBold */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSans3-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Source Sans 3 - Bold */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSans3-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Source Sans 3 - Italic */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSans3-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Source Sans 3 - Light Italic */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSans3-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Source Sans 3 - Bold Italic */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSans3-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
