/* OLEA V13 · Sistema editorial de titulares y texto de lectura
   Última capa de estilo, cargada después de v10.css.
   Se mantiene el diseño y la paleta existentes. */

/* Evitar justificaciones forzadas. Titulares con líneas compensadas. */
main h1,
main h2,
main h3 {
  text-wrap: balance;
  hyphens: none;
  word-spacing: normal;
  overflow-wrap: normal;
}
main h1 em,
main h2 em {
  text-wrap: balance;
  hyphens: none;
}

/* Anchos cómodos para leer, sin agrandar huecos entre palabras. */
.v7-photo-band-copy p,
.why-copy > p,
.method-left > p,
.section-heading > p,
.seo-intro-wrap p,
.seo-reading p,
.v4-headline > p,
.detail-intro p,
.v6-hero p:not(.v6-overline),
.split-heading > p,
.v5-topline > p {
  text-align: left;
  text-wrap: pretty;
  hyphens: none;
  word-spacing: normal;
}

/* Las dos frases son unidades editoriales, no palabras sueltas flotando. */
.v13-title-line {
  display: block;
  text-wrap: balance;
}

/* Portada: texto + dos imágenes. Tipografía medida para el ancho real de la columna. */
.v7-photo-band-copy h2 {
  font-size: clamp(29px, 2.25vw, 39px);
  line-height: 1.16;
  letter-spacing: -0.038em;
  max-width: 19ch;
  margin: 14px 0 20px;
}
.v7-photo-band-copy h2 em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.038em;
}
.v7-photo-band-copy p {
  max-width: 43ch;
  line-height: 1.76;
}
@media (min-width: 1181px) {
  .v7-photo-band-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(18px, 1.65vw, 26px);
  }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .v7-photo-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .v7-photo-band-copy {
    grid-column: 1 / -1;
    max-width: 760px;
    padding: 0 0 14px;
  }
  .v7-photo-band-copy h2 { max-width: none; font-size: clamp(33px, 3.3vw, 43px); }
  .v7-photo-band-copy p { max-width: 62ch; }
  .v7-photo-band figure img { height: 320px; }
}

/* Quiénes somos: frase normal + frase en cursiva en bloques equilibrados. */
.why-copy {
  padding-left: clamp(28px, 4.15vw, 70px);
  padding-right: clamp(14px, 2vw, 32px);
}
.why-copy h2 {
  font-size: clamp(36px, 2.9vw, 49px);
  line-height: 1.14;
  letter-spacing: -0.042em;
  max-width: 19ch;
  margin-top: 18px;
}
.why-copy h2 .v13-title-line + .v13-title-line {
  margin-top: .13em;
}
.why-copy h2 em {
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.045em;
}
.why-copy > p {
  max-width: 55ch;
  line-height: 1.82;
  margin-top: 21px;
}

/* Títulos del resto de secciones. No se cambia contenido, solo ritmo tipográfico. */
.section-heading h2,
.method h2,
.audience h2,
.cta-section h2,
.split-heading h2,
.v4-method h2,
.digital-head h2,
.v4-report h2,
.v5-topline h2,
.v6-section-heading h2 {
  line-height: 1.16;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.seo-intro-wrap h2,
.seo-new-hero h1,
.seo-reading h2,
.detail-intro h2,
.detail-process h2,
.compact-cta h2,
.v6-split h2 {
  text-wrap: balance;
  line-height: 1.17;
}
.seo-new-hero h1,
.detail-hero h1,
.v4-headline h1,
.v6-hero h1,
.v7-login-text h1 {
  text-wrap: balance;
  letter-spacing: -0.04em;
}

@media (max-width: 820px) {
  .why-copy { padding: 56px 14px 62px; }
  .why-copy h2 { font-size: clamp(37px, 5.6vw, 47px); max-width: 21ch; }
  .v7-photo-band-copy h2 { max-width: 24ch; }
}
@media (max-width: 760px) {
  .v7-photo-band-grid { grid-template-columns: 1fr; }
  .v7-photo-band-copy { grid-column: auto; padding: 0; }
  .v7-photo-band-copy h2 {
    max-width: 22ch;
    font-size: clamp(30px, 7.4vw, 38px);
  }
  .v7-photo-band figure img { height: 280px; }
  .why-copy { padding: 50px 2px 48px; }
  .why-copy h2 { font-size: clamp(34px, 8.6vw, 42px); max-width: 20ch; }
  .seo-reading h2,.seo-intro-wrap h2 { font-size: clamp(27px, 7vw, 36px); }
}
@media (max-width: 390px) {
  .why-copy h2 { font-size: 33px; }
  .v7-photo-band-copy h2 { font-size: 30px; }
}
