/*
 * Semilla — Reset mínimo.
 *
 * Inspirado en reset moderno (Andy Bell / Elad Shechter), adaptado
 * para no romper el editor de Gutenberg.
 *
 * @package Semilla
 * @since   0.1.0
 */

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

/* Eliminar márgenes por defecto */
body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol,
dl,
dd,
figure,
figcaption,
blockquote,
pre {
  margin: 0;
}

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

/* Suavizado de fuentes */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Heredar fuente en inputs y botones */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Eliminar decoración de lista por defecto */
ul,
ol {
  padding: 0;
  list-style: none;
}

/* Evitar overflow en elementos media */
embed,
iframe,
object {
  max-width: 100%;
}

/* Anclas con salto suave (respeta prefers-reduced-motion) */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
