/* Reset moderno y personalizado */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Mejorar consistencia de fuentes y línea base */
html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    color: var(--gray-900);
    background-color: var(--white);
}

/* Elementos de bloque */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
    display: block;
}

/* Mejorar renderizado de imágenes */
img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

/* Formularios */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

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

/* Enlaces */
a {
    text-decoration: none;
    color: inherit;
    background-color: transparent;
}

/* Listas */
ul, ol {
    list-style: none;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}