/* Reinicio y tipografía base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--negro);
  color: var(--blanco);
  font-family: var(--texto);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; font-size: inherit; }

.envoltura {
  width: 100%;
  max-width: var(--ancho-max);
  margin-inline: auto;
  padding-inline: var(--margen);
}

/* ---- Papeles tipográficos ---- */
.display {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

/* Rótulo entre paréntesis, la marca de la casa: (01), (About Us), © 2025 */
.rotulo {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pizarra);
}

.cuerpo {
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.45;
  color: var(--blanco-d9);
}

.acento { color: var(--hielo); }

/* ---- Botón ---- */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding-inline: 18px;
  border-radius: 999px;
  background: var(--hielo);
  color: var(--negro);
  font-weight: 600;
  font-family: var(--texto);
  font-size: 13px;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.boton:hover { background: var(--blanco); }

.boton--linea {
  background: transparent;
  color: var(--blanco);
  border: 1px solid var(--blanco-29);
}
.boton--linea:hover { background: var(--blanco); color: var(--negro); }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--hielo);
  outline-offset: 3px;
}

.solo-lectores {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
