* {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
/* Listas y links */
ul,
ol {
  list-style: none;
}
a {
  display: block;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
p a {
  display: inline;
}
/* Medios */
img,
video,
iframe,
picture,
figure {
  max-width: 100%;
  display: block;
  height: auto;
}
/* Formularios */
form,
input,
select,
textarea,
button,
label {
  display: block;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
/* Accesibilidad base */
:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 2px;
}
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Skip link visible al enfocar */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #0d6efd;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  z-index: 10000;
}
.skip-link:focus {
  left: 0.8rem;
  top: 0.8rem;
}
/* Utilidad: bloqueo de scroll cuando está abierto el off-canvas */
.no-scroll {
  overflow: hidden;
}
