/* reset.css - Reinicio de estilos CSS moderno */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Altura aproximada de la barra de navegación fija */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body), sans-serif;
  color: var(--gray-900);
  background-color: var(--white);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografía básica */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading), serif;
  font-weight: 700;
  color: var(--gray-900);
}

p {
  margin-bottom: 0;
}

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

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

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

/* Elementos de formulario */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
