/* ============================================================
   RESET.CSS — CSS Reset minimalista para Laboratorio BIOBLAS
   ============================================================ */

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

/* Reset de margenes y padding */
* {
  margin: 0;
  padding: 0;
}

/* Smooth scroll en todo el documento */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Evitar overflow horizontal */
html,
body {
  overflow-x: hidden;
}

/* Body base */
body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Imagenes y media responsivos */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Inputs y botones heredan tipografia */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Reset de listas */
ul,
ol {
  list-style: none;
}

/* Reset de enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/* Reset de botones */
button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* Evitar text overflow en parrafos */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Evitar animaciones para prefers-reduced-motion */
@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;
  }
}

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

/* Fieldset reset */
fieldset {
  border: none;
}

/* Textarea sin resize horizontal */
textarea {
  resize: vertical;
}

/* Hidden attribute */
[hidden] {
  display: none !important;
}
