/* =========================================================
   BASE — reset mínimo y estilos de elementos HTML
   ========================================================= */
/* Tipografía alojada en el propio sitio (más rápida que Google Fonts) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-variation-settings: 'wdth' var(--w-normal);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-arena);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul, figure, fieldset, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
address { font-style: normal; }

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--c-ambar);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--c-grafito);
  color: var(--c-roto);
  border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-4); }

/* Títulos de sección: Archivo ancho */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 750;
  font-variation-settings: 'wdth' var(--w-wide);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.section-lead {
  max-width: var(--measure);
  margin-top: var(--s-5);
  font-size: var(--fs-lead);
  color: var(--c-ink-soft);
  text-wrap: pretty;
}

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