/**
 * CSS Reset Moderno
 * Normalización y estilos base
 */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset de márgenes y padding */
* {
    margin: 0;
    padding: 0;
}

/* HTML y Body */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    text-rendering: optimizeSpeed;
}

/* Imágenes y media */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Formularios */
input,
button,
textarea,
select {
    font: inherit;
}

/* Eliminar estilos de lista */
ul,
ol {
    list-style: none;
}

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

/* Botones */
button {
    cursor: pointer;
    border: none;
    background: none;
}

/* Tablas */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Prevenir overflow de texto */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* Accesibilidad: Reducir movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}