/* ===== Tipografía base ===== */
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
.display { font-size: var(--fs-display); font-weight: 800; line-height: 1.05; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.eyebrow--light { color: var(--color-accent); }

.lead {
  font-size: 1.125rem;
  color: var(--color-gray-700);
  line-height: 1.7;
}

/* ===== Utilidades layout ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  padding-block: var(--section-py);
  position: relative;
}
.section--alt { background: var(--color-gray-50); }
.section--dark { background: var(--color-charcoal); color: var(--color-white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-white); }
.section--dark .lead { color: rgba(255,255,255,0.85); }
.section--primary { background: var(--color-primary); color: var(--color-white); }
.section--primary h1, .section--primary h2, .section--primary h3 { color: var(--color-white); }
.section--primary .eyebrow { color: var(--color-accent); }

.text-center { text-align: center; }
.section__header { margin-bottom: var(--space-12); }
.section__header--center { text-align: center; max-width: 720px; margin-inline: auto; }

.grid { display: grid; gap: var(--space-6); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Subrayado decorativo bajo títulos */
.title-underline {
  position: relative;
  padding-bottom: var(--space-3);
  display: inline-block;
}
.title-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}
.title-underline--center::after { left: 50%; transform: translateX(-50%); }
.title-underline--accent::after { background: var(--color-accent); }

/* Visualmente oculto pero accesible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
