/* === RESET BASE UNIVERSAL === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* === QUITAR ESTILOS POR DEFECTO DE HTML === */
html,
body {
    height: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

/* Evita problemas con imágenes y contenedores */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Elimina bordes y herencias raras en formularios */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    background-color: transparent;
    border: none;
    outline: none;
    appearance: none;
}

/* Asegura que los botones sean clicables */
button {
    cursor: pointer;
}

/* Quitar subrayado en enlaces y heredar color */
a {
    text-decoration: none;
    color: inherit;
}

/* Listas sin estilos por defecto */
ul,
ol {
    list-style: none;
}

/* Mejora accesibilidad del focus */
:focus-visible {
    outline: 2px solid var(--green-100);
    outline-offset: 2px;
}

/* Mejor estructura para tipografía escalable */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-weight: inherit;
}

/* Body en modo flex opcional si usas layouts globales */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
