/*
  Base — reset y estilos globales de elementos.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--brand-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand-deep);
}

a:hover {
  color: var(--brand-primary);
}

::selection {
  color: var(--white);
  background: var(--brand-primary);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

/* Oculta el marcador nativo de <summary>; el ícono "+" de .faq-item lo reemplaza */
summary::-webkit-details-marker {
  display: none;
}

/* Utilidad para texto accesible solo para lectores de pantalla (p. ej. <caption>) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
