/* Reset mínimo moderno */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis toma el control del scroll suave */
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* En celular, 100vh ignora la barra del navegador (que en Safari iOS tapa
   ~180px). svh = el alto disponible CON la barra visible, el peor caso, así el
   contenido entra completo en cualquier teléfono. @supports deja vh de respaldo. */
@supports (min-height: 100svh) {
  body { min-height: 100svh; }
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, p {
  overflow-wrap: break-word;
}
