/* =========================================================================
   GLOBAL.CSS - Reseteo y Reglas Base Nativas
   ========================================================================= */

/* Reset de Modelo de Caja */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Configuraciones base del Documento */
html {
    scroll-behavior: smooth; /* Desplazamiento suave nativo al ancla */
    font-size: 16px;
}

/* Body / Fondo y Letra */
body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sistema de Encabezados (Tipografía Serif Corporativa) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

/* Títulos Específicos */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: var(--space-lg); }
h3 { font-size: 1.5rem; }

/* Elementos Comunes */
p {
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul, ol {
    list-style: none;
}

img, picture, svg {
    max-width: 100%;
    height: auto;
    display: block;
}
