/* ==========================================================================
   RESET Y ESTILOS BASE
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.5;
}

/* Utilidad para bloquear scroll */
body.loading {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Imágenes responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

/* Botones */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Inputs */
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Tablas */
table {
    border-collapse: collapse;
    width: 100%;
}

/* Utilidades de texto */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* Utilidades de display */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.block {
    display: block;
}

/* Utilidades de posición */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}