/*
 * Escala tipografica comun de ARMAZON.
 * Referencia visual: ampliaciones-panel-sip.html, captura aprobada 2026-10-08.
 * Esta hoja se carga al final para mantener la misma lectura en todas las lineas de negocio.
 */

html body {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: .002em;
}

body main h1,
body main h1.rz-display,
body main h1.rz-title,
body main .commercial-hero h1,
body main .office-hero h1,
body main .office-detail-hero h1 {
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(1.48rem, 2.05vw, 2.35rem) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: -.014em !important;
  text-wrap: balance;
}

body main h2,
body main .section-heading h2,
body main .office-heading h2,
body main .office-faq h2,
body main .office-close h2,
body main .feature-copy h2,
body main .closing-commercial h2,
body main .price-band h2 {
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(1.24rem, 1.7vw, 1.9rem) !important;
  font-weight: 400 !important;
  line-height: 1.24 !important;
  letter-spacing: -.012em !important;
  text-wrap: balance;
}

body main h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.05rem, 1.16vw, 1.25rem) !important;
  font-weight: 400;
  line-height: 1.3;
}

body main p,
body main li,
body main dd,
body main summary,
body main .hero-lead,
body main .rz-lead,
body main .office-note {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(.94rem, .92vw, 1rem) !important;
  line-height: 1.62 !important;
}

body main .kicker,
body main .rz-kicker,
body main .hero-eyebrow,
body main .office-kicker {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(.94rem, .92vw, 1rem) !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  letter-spacing: .12em !important;
}

body .nav-desktop a,
body .nav-drop-toggle,
body .rz-nav-link,
body .rz-nav-toggle {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
  font-size: .78rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

body .btn,
body .rz-btn,
body .office-btn,
body button:not(.menu-button) {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
  font-size: .84rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

body main table,
body main input,
body main select,
body main textarea {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
}

body main figcaption,
body main .caption,
body main small {
  font-size: .78rem !important;
  line-height: 1.45 !important;
}

/*
 * Las páginas antiguas y las comerciales cargan selectores con distinta
 * especificidad. Este bloque garantiza la misma jerarquía después de que
 * site.js unifica la navegación y añade la clase commercial-site.
 */
body.commercial-site[class] main h1 {
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(1.48rem, 2.05vw, 2.35rem) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: -.014em !important;
}

body.commercial-site[class] main h2 {
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(1.24rem, 1.7vw, 1.9rem) !important;
  font-weight: 400 !important;
  line-height: 1.24 !important;
  letter-spacing: -.012em !important;
}

body.commercial-site[class] main h3 {
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(1.05rem, 1.16vw, 1.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

body.commercial-site[class] main p,
body.commercial-site[class] main li,
body.commercial-site[class] main dd,
body.commercial-site[class] main summary {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(.94rem, .92vw, 1rem) !important;
  line-height: 1.62 !important;
}

body.commercial-site[class] main .kicker,
body.commercial-site[class] main .rz-kicker,
body.commercial-site[class] main .hero-eyebrow,
body.commercial-site[class] main .office-kicker {
  font-size: clamp(.94rem, .92vw, 1rem) !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  letter-spacing: .12em !important;
}

body.commercial-site[class] .nav-desktop a,
body.commercial-site[class] .nav-drop-toggle,
body.commercial-site[class] .rz-nav-link,
body.commercial-site[class] .rz-nav-toggle {
  font-size: .78rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

body.commercial-site[class] .btn,
body.commercial-site[class] .rz-btn,
body.commercial-site[class] .office-btn,
body.commercial-site[class] button:not(.menu-button) {
  font-size: .84rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

@media (max-width: 760px) {
  html body {
    font-size: 15.8px;
  }

  body main h1,
  body main h1.rz-display,
  body main h1.rz-title,
  body main .commercial-hero h1,
  body main .office-hero h1,
  body main .office-detail-hero h1 {
    font-size: clamp(1.28rem, 5.4vw, 1.62rem) !important;
    line-height: 1.18 !important;
  }

  body main h2,
  body main .section-heading h2,
  body main .office-heading h2,
  body main .office-faq h2,
  body main .office-close h2,
  body main .feature-copy h2,
  body main .closing-commercial h2,
  body main .price-band h2 {
    font-size: clamp(1.12rem, 4.8vw, 1.44rem) !important;
    line-height: 1.22 !important;
  }

  body main h3 {
    font-size: 1.05rem !important;
  }

  body main p,
  body main li,
  body main dd,
  body main summary,
  body main .hero-lead,
  body main .rz-lead,
  body main .office-note {
    font-size: .92rem !important;
    line-height: 1.56 !important;
  }

  body main .kicker,
  body main .rz-kicker,
  body main .hero-eyebrow,
  body main .office-kicker {
    font-size: .82rem !important;
    line-height: 1.45 !important;
  }

  body.commercial-site[class] main h1 {
    font-size: clamp(1.28rem, 5.4vw, 1.62rem) !important;
    line-height: 1.18 !important;
  }

  body.commercial-site[class] main h2 {
    font-size: clamp(1.12rem, 4.8vw, 1.44rem) !important;
    line-height: 1.22 !important;
  }

  body.commercial-site[class] main h3 {
    font-size: 1.05rem !important;
  }

  body.commercial-site[class] main p,
  body.commercial-site[class] main li,
  body.commercial-site[class] main dd,
  body.commercial-site[class] main summary {
    font-size: .92rem !important;
    line-height: 1.56 !important;
  }

  body.commercial-site[class] main .kicker,
  body.commercial-site[class] main .rz-kicker,
  body.commercial-site[class] main .hero-eyebrow,
  body.commercial-site[class] main .office-kicker {
    font-size: .82rem !important;
    line-height: 1.45 !important;
  }
}
