/* ==========================================================================
   RESET UNIVERSAL Y NORMALIZACIÓN
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth; /* Para navegación fluida interna */
}

body {
    font-family: var(--font-family-base);
    /* [REFACTOR] Nombres de variables corregidos para que coincidan con variables.css */
    color: var(--text-global);
    background-color: var(--bg-global);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

input, button, textarea, select {
    font: inherit;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* Evitar desbordamientos de texto */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}