/* ══════════════════════════════════════════════════════════════
   EL OTRO BANDO — CSS Reset
   Modern reset optimizado para neo-brutalismo
   ══════════════════════════════════════════════════════════════ */

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

/* Reset de márgenes */
* {
  margin: 0;
  padding: 0;
}

/* Smooth scroll solo si no hay preferencia de reducción de movimiento */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Base del documento */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-on-light);
  background-color: var(--color-bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Tipografía base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
  max-width: 72ch;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Listas */
ul, ol {
  list-style: none;
}

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

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

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

/* Textarea no redimensionable horizontalmente */
textarea {
  resize: vertical;
}

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

/* Accesibilidad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to main content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: var(--weight-bold);
  border: var(--border-base);
}

.skip-link:focus {
  top: 0;
}

/* Selection */
::selection {
  background-color: var(--color-accent);
  color: var(--color-white);
}
