/* ===============================
   TYPOGRAPHY
=============================== */

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-family: 'Work Sans', sans-serif;
  color: #0b1f2a;
}

h1 { font: 700 var(--h1)/3.3rem 'Work Sans', sans-serif; }
h2 { font: 600 var(--h2)/1.3 'Work Sans', sans-serif; }
h3,
.card-title,
.info-title,
.decision-content h3 { font: 600 var(--h3)/1.35 'Work Sans', sans-serif; color: #0b1f2a; }
h4 { font: 600 var(--h4)/1.4 'Work Sans', sans-serif; }
h5 { font: 500 var(--h5)/1.4 'Work Sans', sans-serif; }
h6 { font: 600 1rem/1.4 'Work Sans', sans-serif; }

p,
.card-text,
.info-text,
.decision-content p {
  margin: 0;
  color: #495057;
  line-height: 1.65;
}

small,
.text-muted { font-size: var(--small); }

.text-muted {
  color: #5f6b73 !important;
  line-height: 1.6;
}

em { font-style: italic; }

p strong,
.solucion-description strong {
  color: #0e2a47;
  font-weight: 600;
  text-shadow: 0 0 1px rgba(42, 28, 53, .3);
}

h2 span {
  text-decoration: underline;
  text-decoration-color: #ffe600;
  text-underline-offset: .2em;
}

/* ===============================
   HEADER BASE
=============================== */

.header-base { max-width: 820px; }
.header-centered { margin-inline: auto; text-align: center; }

.section-label {
  display: inline-block;
  margin-bottom: .65rem;
  font: 700 .82rem/1 'Work Sans', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0a3f7a;
}

.header-base h2,
.solucion-title { margin-bottom: .65rem; }

.header-base h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: .7rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a3f7a, #25d366);
}

.header-centered h2::after { margin-inline: auto; }

/* ===============================
   VARIANTE EDITORIAL
=============================== */

.solucion-title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0e2a47;
}

.solucion-description {
  margin: 0;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

/* ======================================
   TYPOGRAPHY — SEGURO EDUCACIÓN
====================================== */

.seguro-educacion-kicker {
  display: inline-block;
  margin-bottom: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0a3f7a;
}

.seguro-educacion-panel-titulo {
  margin-bottom: .6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b1f2a;
}

.seguro-educacion-panel-texto {
  margin-bottom: 1.2rem;
  font-size: .95rem;
  color: #5f6b73;
}

.seguro-educacion-punto h4 {
  margin-bottom: .2rem;
  font-size: .95rem;
  font-weight: 600;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 575px) {
  h1 { line-height: 1.15; }

  .header-base h2,
  .solucion-title { font-size: 1.6rem; }

  .header-base p,
  .solucion-description { font-size: .95rem; }

  .seguro-educacion-panel-titulo { font-size: 1.15rem; }
  .seguro-educacion-panel-texto { font-size: .93rem; }
  .seguro-educacion-kicker { font-size: .76rem; }
}