/* ==========================================================================
   BASE: fuentes locales, variables, reinicio, tipografía, botones y utilidades
   Orden de carga: base > cabecera-portada > componentes > proceso-preguntas > pie-modal > adaptable
   Convención de nombres: español, minúsculas con guiones. Bloque-elemento (.pie-marca),
   variantes con doble guion (.boton--contorno) y estados como clases (.abierto, .activo).
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fuentes/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fuentes/inter-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;
}
:root {
  --fondo: #ffffff;
  --arena: #F4F7FB;
  --tinta: #0A1629;
  --texto-suave: #4A5E78;
  --linea: #E1E8F1;
  --azul: #005ed8;
  --azul-oscuro: #1B4390;
  --azul-claro: #E8F0FB;
  --verde: #149e06;
  --sombra: rgba(10, 22, 41, 0.08);
  --sombra-hover: rgba(10, 22, 41, 0.14);
  --radio: 24px;
  --transicion: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font: 16px/1.6 'Inter', system-ui, sans-serif;
  background: var(--fondo);
  color: var(--tinta);
  -webkit-font-smoothing: antialiased;
}
body.sin-scroll {
  overflow: hidden;
}
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -.02em;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 90px 0;
}
ul {
  padding: 0;
}
:target {
  scroll-margin-top: 100px;
}
:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
  border-radius: 8px;
}
.sobretitulo {
  color: var(--azul);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.bajada {
  color: #222;
  font-size: 1rem;
  max-width: 58ch;
  margin-top: 16px;
  font-weight: 400;
  line-height: 1.2;
}
.icono {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
/* Botones Modernos */
.boton {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--azul), #004bb0);
  color: #fff;
  padding: 12px 20px;
  border-radius: 99px;
  border: 0;
  font: 600 1rem 'Inter';
  cursor: pointer;
  transition: all var(--transicion);
  box-shadow: 0 4px 14px rgba(0, 94, 216, 0.25);
}
.boton:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 94, 216, 0.35);
  filter: brightness(1.1);
}
.boton--contorno {
  background: #fff;
  color: var(--tinta);
  border: 1.5px solid var(--linea);
  box-shadow: 0 2px 8px var(--sombra);
}
.boton--contorno:hover {
  border-color: var(--azul);
  color: var(--azul);
}
.boton:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
  box-shadow: none;
}
[hidden] {
  display: none !important; /* único !important del proyecto: el atributo hidden debe ganar siempre */
}
/* Variantes de botón */
.boton--completo { width: 100%; }
.boton--separado { margin-top: 12px; }
/* Utilidades de texto y accesibilidad */
.centrado { text-align: center; }
.solo-lectores {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.enlace-saltar {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--azul);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top .2s;
}
.enlace-saltar:focus { top: 0; }
.bajada--separada { margin-bottom: 28px; }
.bajada--separada { margin-bottom: 28px; }
/* Respaldo / Logos */
.logos-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 16px 0 28px;
  align-items: center;
}
.logos-flex img {
  height: 38px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
  object-fit: contain;
  pointer-events: auto; /* el reset global (img { pointer-events:none }) bloqueaba el hover */
  cursor: pointer;
}
.logos-flex img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px) scale(1.06);
}