/* ===== CSS RESET (agresivo) ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Medios */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Formularios */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Enlaces y listas */
a {
    color: inherit;
    text-decoration: none;
}

ol,
ul {
    list-style: none;
}

/* Tipografía */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* Tablas */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Quitar estilos por defecto “molestos” */
fieldset {
    border: 0;
    min-width: 0;
}

textarea {
    resize: vertical;
}

/* Evita que los elementos con display inline tengan gaps raros en algunas tipografías */
svg {
    vertical-align: middle;
}

/*utilidades*/
.flex {
    display: flex;
}

.grid {
    display: grid;
}