/* ============================================
   Paleta institucional (Cambio de Cromática 2021-2027)
   ============================================ */
:root {
  --wine:        #691B32; /* primario oscuro */
  --magenta:     #A12242; /* primario acento */
  --gold:        #D0B788; /* primario dorado */
  --paper:       #FAF7F2; /* fondo claro */
  --ink:         #2A1420; /* texto sobre fondo claro */
  --ink-soft:    #6B5560; /* texto secundario */
  --white:       #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
}

.brand-mark { height: 56px; width: auto; }
.brand-mark--state { height: 48px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--wine);
  color: var(--white);
  padding: 72px 0 64px;
}

.hero-kicker {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 15ch;
}

.hero-lede {
  font-size: 1.1rem;
  color: #EFD9DE;
  max-width: 56ch;
  margin: 0;
}

/* ---------- Reports list ---------- */
.reports {
  padding: 64px 0 80px;
}

.reports h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--wine);
  margin: 0 0 32px;
}

.report-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.report-card {
  border-top: 1px solid #E4D9CC;
  padding: 28px 0;
  position: relative;
  padding-left: 22px;
}

.report-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  width: 8px;
  height: 8px;
  background: var(--magenta);
  border-radius: 50%;
}

.report-list li:last-child { border-bottom: 1px solid #E4D9CC; }

.report-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 8px;
}

.report-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 8px;
  line-height: 1.3;
}

.report-card h3 a { text-decoration: none; }
.report-card h3 a:hover { color: var(--magenta); }

.report-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.report-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--wine);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.report-link:hover { border-color: var(--magenta); color: var(--magenta); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wine);
  color: #E7C9CF;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-mark { height: 34px; width: auto; }

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { padding: 56px 0 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Accesibilidad ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
