:root {
  --tinta: #1b2430;
  --suave: #55606e;
  --fondo: #f7f8fa;
  --papel: #ffffff;
  --linea: #d8dde4;
  --acento: #0b5cad;
  --acento-oscuro: #08447f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

header,
main,
footer {
  max-width: 54rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

header {
  border-bottom: 1px solid var(--linea);
}

.marca {
  margin: 0 0 0.4rem;
  font-weight: 700;
}

nav a {
  display: inline-block;
  margin: 0 1rem 0.3rem 0;
}

nav a[aria-current="page"] {
  color: var(--tinta);
  font-weight: 600;
  text-decoration: none;
}

main {
  background: var(--papel);
  padding-bottom: 2rem;
}

h1 {
  font-size: 1.8rem;
  line-height: 1.25;
  margin: 1rem 0;
}

h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.5rem;
}

a {
  color: var(--acento);
}

a:hover,
a:focus {
  color: var(--acento-oscuro);
}

.bajada {
  font-size: 1.15rem;
  color: var(--suave);
}

.fuente {
  border-left: 4px solid var(--acento);
  padding: 0.5rem 0.9rem;
  background: var(--fondo);
}

.cta {
  margin: 1.5rem 0;
}

.cta p {
  margin: 0.6rem 0;
}

.boton {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--acento);
  border-radius: 0.4rem;
  background: var(--acento);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.boton:hover,
.boton:focus {
  background: var(--acento-oscuro);
  border-color: var(--acento-oscuro);
  color: #ffffff;
}

.boton.secundario {
  background: var(--papel);
  color: var(--acento);
}

.boton.secundario:hover,
.boton.secundario:focus {
  background: var(--fondo);
  color: var(--acento-oscuro);
}

.ficha dt {
  font-weight: 600;
  margin-top: 0.6rem;
}

.ficha dd {
  margin: 0;
}

.tabla {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

caption {
  caption-side: top;
  text-align: left;
  color: var(--suave);
  padding-bottom: 0.4rem;
}

th,
td {
  border: 1px solid var(--linea);
  padding: 0.4rem 0.6rem;
}

td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

thead th {
  background: var(--fondo);
  text-align: right;
  vertical-align: bottom;
}

thead th:first-child,
tbody th,
tfoot th {
  text-align: left;
}

tbody tr:nth-child(even) {
  background: var(--fondo);
}

tfoot td,
tfoot th {
  font-weight: 700;
}

footer {
  color: var(--suave);
  font-size: 0.9rem;
  border-top: 1px solid var(--linea);
}
