/* reset.css */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* `clip` en vez de `hidden`: recorta igual el desbordamiento horizontal
       pero NO crea un contenedor de scroll, así `position: sticky` sigue
       funcionando (lo necesita el botón flotante de WhatsApp). */
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    /* Color de texto por defecto del diseño (no negro): todo hereda de aquí,
       y cada sección de color sobreescribe en su contenedor. */
    color: var(--color-primario);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: clip;
    /* Referencia para el carril absoluto del botón de WhatsApp, que debe
       abarcar todo el documento y no sólo el viewport. */
    position: relative;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}
