/* STAR TRADE | R8 | Sistema editorial corporativo | 27-10-2026
 * Un solo punto de control para la tipografia y la lectura de las 15 paginas.
 * Mantiene la arquitectura R7, el logotipo, imagenes y los homenajes aprobados.
 * Sin fuentes externas, scripts, cambios de backend ni efectos de texto invasivos.
 */
:root {
  --r8-ink: #f4f7fc;
  --r8-copy: #e1e9f4;
  --r8-muted: #ccdaea;
  --r8-soft: #a9c2d9;
  --r8-cyan: #69ddfa;
  --r8-body: 18px;
  --r8-reading: 69ch;
  --r8-heading-weight: 580;
}

/* 01 — Lectura. Se evita el blanco puro en parrafos largos y se da aire. */
body:not(.cg-body):not(.hg3-body) {
  font-family: 'Avenir Next', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--r8-body);
  line-height: 1.72;
  color: var(--r8-ink);
  font-weight: 400;
  letter-spacing: .003em;
}
:where(body:not(.cg-body):not(.hg3-body)) p,
:where(body:not(.cg-body):not(.hg3-body)) .muted {
  color: var(--r8-copy);
}
:where(body:not(.cg-body):not(.hg3-body)) :is(h1,h2,h3,h4) {
  color: var(--r8-ink);
  font-family: inherit;
  font-weight: var(--r8-heading-weight);
  letter-spacing: -.034em;
  text-wrap: balance;
}
:where(body:not(.cg-body):not(.hg3-body)) h3 { letter-spacing: -.022em; }
body:not(.cg-body):not(.hg3-body) :is(.section-heading p,.split-feature p,.editorial-grid p,.quote-copy p) {
  max-width: var(--r8-reading);
  color: var(--r8-copy);
  font-size: 1.125rem;
  line-height: 1.76;
}
body:not(.cg-body):not(.hg3-body) .gradient {
  background-image: linear-gradient(105deg,#54dafa 4%,#6aaaff 50%,#c5a0ff 100%);
}
body:not(.cg-body):not(.hg3-body) .green-gradient {
  background-image: linear-gradient(100deg,#abeec5,#55cdb5);
}

/* 02 — Marca, navegacion y CTA legibles sin exceso de peso. */
.header .nav-links > a {
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: .002em;
  color: #eef4fc;
  line-height: 1.4;
}
.header .nav-links > a[aria-current='page'] { color: #79e2fa; }
.header .header-action .btn,
.btn,
.mobile-nav .btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  min-height: 52px;
  padding: 14px 23px;
}
/* El texto blanco se conserva, pero el degradado se oscurece para contraste AA. */
.btn:not(.btn-outline) {
  color: #fff;
  background: linear-gradient(105deg,#086d9c 0%,#2051bc 57%,#632abd 100%);
}
.btn-green:not(.btn-outline) {
  background: linear-gradient(105deg,#0b694e,#0d657c 55%,#204b91);
}
.mobile-nav > a:not(.btn) {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}
.link-arrow { font-size: 1rem; font-weight: 600; }

/* 03 — Titulos protagonistas: escala acotada, contraste y lectura equilibrada. */
body:not(.cg-body):not(.hg3-body) .hero {
  min-height: clamp(640px, 80svh, 790px);
}
body:not(.cg-body):not(.hg3-body) .hero-content {
  max-width: 790px;
  padding-block: 78px 75px;
}
body:not(.cg-body):not(.hg3-body) .hero h1 {
  font-size: clamp(3.2rem, 5.15vw, 5.15rem);
  font-weight: 570;
  letter-spacing: -.043em;
  line-height: 1.12;
  max-width: 810px;
  margin: 22px 0 25px;
  text-wrap: balance;
  overflow-wrap: normal;
}
body:not(.cg-body):not(.hg3-body) .hero-compact {
  min-height: 610px;
}
body:not(.cg-body):not(.hg3-body) .hero-compact h1 {
  font-size: clamp(3rem, 4.7vw, 4.65rem);
  max-width: 760px;
}
body:not(.cg-body):not(.hg3-body) .hero-compact .hero-content {
  padding-block: 80px 66px;
}
body:not(.cg-body):not(.hg3-body) .hero-lead {
  color: #e7eff9;
  font-size: clamp(1.12rem, 1.42vw, 1.3rem);
  line-height: 1.7;
  font-weight: 400;
  max-width: 560px;
  text-wrap: pretty;
}
body:not(.cg-body):not(.hg3-body) .hero-actions {
  margin-top: 30px;
  gap: 14px;
}
body:not(.cg-body):not(.hg3-body) .hero-meta {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .105em;
  color: #d5e5f5;
  margin-top: 48px;
}
body:not(.cg-body):not(.hg3-body) .hero-side-note { font-size: .73rem; }
body:not(.cg-body):not(.hg3-body) .eyebrow {
  color: #a8eaff;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .125em;
  line-height: 1.5;
}
body:not(.cg-body):not(.hg3-body) .micro {
  color: #b9def7;
  font-size: .81rem;
  font-weight: 650;
  letter-spacing: .11em;
  line-height: 1.5;
}
body:not(.cg-body):not(.hg3-body) .breadcrumb {
  font-size: .98rem;
  line-height: 1.65;
  color: #d1dfef;
}
body:not(.cg-body):not(.hg3-body) .ticker { padding-block: 20px; }
body:not(.cg-body):not(.hg3-body) .ticker span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .10em;
  color: #d9ebf9;
}

/* 04 — Titulares interiores y texto editorial con espacio negativo. */
body:not(.cg-body):not(.hg3-body) .section { padding-block: 88px; }
body:not(.cg-body):not(.hg3-body) .section.tight { padding-block: 67px; }
body:not(.cg-body):not(.hg3-body) .section-title {
  font-size: clamp(2.25rem, 3.55vw, 3.45rem);
  max-width: 860px;
  line-height: 1.18;
  font-weight: 580;
}
body:not(.cg-body):not(.hg3-body) .section-heading {
  align-items: center;
  gap: clamp(24px, 4vw, 55px);
  margin-bottom: 38px;
}
body:not(.cg-body):not(.hg3-body) .section-heading p { max-width: 430px; }
body:not(.cg-body):not(.hg3-body) .editorial-grid {
  gap: clamp(36px, 5.4vw, 76px);
}
body:not(.cg-body):not(.hg3-body) .editorial-grid .copy h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.55rem);
  font-weight: 570;
  line-height: 1.18;
}
body:not(.cg-body):not(.hg3-body) .quote-copy h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.45rem);
  line-height: 1.16;
  font-weight: 570;
  max-width: 560px;
}
body:not(.cg-body):not(.hg3-body) .quote-copy p {
  font-size: 1.125rem;
  line-height: 1.76;
  max-width: 470px;
}

/* 05 — Tarjetas: titulo, descripcion y enlaces siempre faciles de leer. */
body:not(.cg-body):not(.hg3-body) .service-card h3 {
  font-size: clamp(1.35rem, 1.6vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
}
body:not(.cg-body):not(.hg3-body) .service-card p,
body:not(.cg-body):not(.hg3-body) .feature-card p,
body:not(.cg-body):not(.hg3-body) .application-body p,
body:not(.cg-body):not(.hg3-body) .proof-card p,
body:not(.cg-body):not(.hg3-body) .step p,
body:not(.cg-body):not(.hg3-body) .faq p {
  font-size: 1.06rem;
  line-height: 1.7;
  color: #dce8f5;
}
body:not(.cg-body):not(.hg3-body) .service-card-content {
  padding: 26px;
  gap: 14px;
}
body:not(.cg-body):not(.hg3-body) .card-bottom {
  font-size: .86rem;
  font-weight: 650;
  letter-spacing: .06em;
  color: #a8def7;
}
body:not(.cg-body):not(.hg3-body) .feature-card { padding: 28px; }
body:not(.cg-body):not(.hg3-body) .feature-card h3 {
  font-size: 1.27rem;
  line-height: 1.32;
  font-weight: 590;
}
body:not(.cg-body):not(.hg3-body) .feature-card .num {
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .08em;
}
body:not(.cg-body):not(.hg3-body) .application h3 {
  font-size: 1.27rem;
  line-height: 1.32;
  font-weight: 600;
}
body:not(.cg-body):not(.hg3-body) .application-body { padding: 23px; }
body:not(.cg-body):not(.hg3-body) .gallery-item figcaption {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: #e3edf9;
}
body:not(.cg-body):not(.hg3-body) .step h3 {
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 600;
}
body:not(.cg-body):not(.hg3-body) .step .number { font-weight: 550; }
body:not(.cg-body):not(.hg3-body) .proof-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
}
body:not(.cg-body):not(.hg3-body) .benefit-band strong {
  font-size: 1.01rem;
  font-weight: 600;
  line-height: 1.42;
}
body:not(.cg-body):not(.hg3-body) .benefit-band small {
  font-size: .9rem;
  line-height: 1.5;
  color: #c9dbea;
}
body:not(.cg-body):not(.hg3-body) .info-strip h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.35;
}
body:not(.cg-body):not(.hg3-body) .info-strip p,
body:not(.cg-body):not(.hg3-body) .callout,
body:not(.cg-body):not(.hg3-body) .faq summary {
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--r8-copy);
}
body:not(.cg-body):not(.hg3-body) .faq summary { font-weight: 600; }
body:not(.cg-body):not(.hg3-body) .tag-list li {
  font-size: .88rem;
  line-height: 1.45;
  letter-spacing: .01em;
}
body:not(.cg-body):not(.hg3-body) .visual-disclaimer,
body:not(.cg-body):not(.hg3-body) .mini-notice {
  font-size: .9rem;
  line-height: 1.6;
  color: #bbcde0;
}

/* 06 — Cotizaciones: formularios legibles y etiquetas sin cuerpo diminuto. */
body:not(.cg-body):not(.hg3-body) .quote-section { padding-block: 88px; }
body:not(.cg-body):not(.hg3-body) .quote-layout { gap: clamp(30px, 4.1vw, 64px); }
body:not(.cg-body):not(.hg3-body) .quote-form { padding: 34px; }
body:not(.cg-body):not(.hg3-body) .quote-form h3 {
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.3;
}
body:not(.cg-body):not(.hg3-body) .quote-form .form-intro {
  font-size: 1.01rem;
  line-height: 1.65;
  color: #dce8f7;
}
body:not(.cg-body):not(.hg3-body) .field label {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
  color: #eef5ff;
}
body:not(.cg-body):not(.hg3-body) :is(.field input:not([type=checkbox]),.field select,.field textarea) {
  font-size: 1.06rem;
  line-height: 1.5;
  font-weight: 400;
  min-height: 54px;
  padding: 15px 16px;
}
body:not(.cg-body):not(.hg3-body) :is(.field input::placeholder,.field textarea::placeholder) {
  color: #c7d6e5;
  opacity: 1;
}
body:not(.cg-body):not(.hg3-body) .field small,
body:not(.cg-body):not(.hg3-body) .form-note {
  font-size: .9rem;
  line-height: 1.65;
  color: #c5d5e6;
}
body:not(.cg-body):not(.hg3-body) .file-drop span,
body:not(.cg-body):not(.hg3-body) .form-agreement,
body:not(.cg-body):not(.hg3-body) .form-status,
body:not(.cg-body):not(.hg3-body) .assurance div {
  font-size: .98rem;
  line-height: 1.65;
  color: #e0eaf5;
}
body:not(.cg-body):not(.hg3-body) .assurance { gap: 17px; }
body:not(.cg-body):not(.hg3-body) .form-agreement input { min-width: 20px; min-height: 20px; }

/* 07 — Pie de pagina: jerarquia clara y suficiente contraste. */
.footer-main { gap: clamp(25px, 3.2vw, 46px); }
.footer h4 {
  color: #eaf2fc;
  font-size: .92rem;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: .09em;
}
.footer-list { gap: 13px; }
.footer-list a,
.footer-brand p {
  color: #d3e1f0;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}
.footer-bottom,
.footer-bottom a {
  color: #c6d6e5;
  font-size: .87rem;
  line-height: 1.6;
  font-weight: 400;
}

/* 08 — Paginas legales: texto mas descansado y ancho de columna medido. */
body:not(.cg-body):not(.hg3-body) .legal { max-width: 880px; }
body:not(.cg-body):not(.hg3-body) .legal h1 {
  font-size: clamp(2.6rem, 4vw, 3.65rem);
  line-height: 1.17;
  font-weight: 560;
}
body:not(.cg-body):not(.hg3-body) .legal h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}
body:not(.cg-body):not(.hg3-body) .legal p,
body:not(.cg-body):not(.hg3-body) .legal li {
  font-size: 1.125rem;
  line-height: 1.78;
  color: #e0e9f4;
}

/* 09 — Homenajes: conservar composicion y rostros; mejorar solo lectura. */
.st-founder__copy h2 { font-family: Georgia,'Times New Roman',serif; font-weight: 400; }
.st-founder__description {
  font-size: 1.07rem;
  line-height: 1.7;
  color: #e3effa;
}
.st-founder__eyebrow { font-size: .79rem; font-weight: 650; letter-spacing: .12em; }
.st-founder__cta { font-size: .99rem; font-weight: 600; }
.hm-teaser-copy p { font-size: 1.06rem; line-height: 1.72; }
.cg .cg-value p { font-size: max(1rem, 1.05vw); line-height: 1.62; }
.cg .cg-fishing figcaption { font-size: .9rem; line-height: 1.5; }
.cg .cg-back { font-size: .99rem; }
.hg3 .hg3-hero-text,
.hg3 .hg3-farewell-message p { font-size: max(1rem, 1.15vw); line-height: 1.67; }
.hg3 .hg3-album-note { font-size: max(.94rem, 1.07vw); line-height: 1.55; }
.hg3 .hg3-aside { font-size: max(.94rem, 1vw); line-height: 1.6; }
.hg3-footer a,.hg3-footer span { font-size: .88rem; }

/* 10 — Pantallas medianas. No reducir el cuerpo para forzar grillas. */
@media (max-width: 1140px) {
  .header .nav-links > a { font-size: .99rem; }
  .header .header-action .btn { font-size: .95rem; padding-inline: 18px; }
  body:not(.cg-body):not(.hg3-body) .hero h1 { font-size: clamp(3rem, 5.2vw, 4.35rem); }
  body:not(.cg-body):not(.hg3-body) .section { padding-block: 78px; }
}
@media (max-width: 1040px) {
  body:not(.cg-body):not(.hg3-body) .hero { min-height: 690px; padding-top: 84px; }
  body:not(.cg-body):not(.hg3-body) .hero-compact { min-height: 650px; }
  body:not(.cg-body):not(.hg3-body) .section-heading { align-items: flex-start; }
  .mobile-nav > a:not(.btn) { font-size: 1.15rem; }
}
@media (max-width: 850px) {
  body:not(.cg-body):not(.hg3-body) .hero { min-height: 700px; }
  body:not(.cg-body):not(.hg3-body) .hero-content { padding-block: 185px 70px; }
  body:not(.cg-body):not(.hg3-body) .hero h1 { font-size: clamp(2.75rem, 7.5vw, 4.5rem); }
  body:not(.cg-body):not(.hg3-body) .hero-compact .hero-content { padding-block: 165px 66px; }
  body:not(.cg-body):not(.hg3-body) .hero-compact h1 { font-size: clamp(2.8rem, 7vw, 4.15rem); }
  body:not(.cg-body):not(.hg3-body) .section-title { font-size: clamp(2.1rem, 4.6vw, 3rem); }
  body:not(.cg-body):not(.hg3-body) .editorial-grid .copy h2 { font-size: clamp(2.2rem, 4.5vw, 3rem); }
  body:not(.cg-body):not(.hg3-body) .section-heading { gap: 16px; }
  body:not(.cg-body):not(.hg3-body) .quote-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --r8-body: 17px; }
  body:not(.cg-body):not(.hg3-body) { line-height: 1.72; }
  body:not(.cg-body):not(.hg3-body) .hero { min-height: 640px; padding-top: 78px; }
  body:not(.cg-body):not(.hg3-body) .hero-content { padding-block: 145px 55px; }
  body:not(.cg-body):not(.hg3-body) .hero-compact .hero-content { padding-block: 145px 56px; }
  body:not(.cg-body):not(.hg3-body) .hero h1,
  body:not(.cg-body):not(.hg3-body) .hero-compact h1 {
    font-size: clamp(2.28rem, 9.1vw, 3.1rem);
    font-weight: 580;
    line-height: 1.16;
    letter-spacing: -.038em;
    overflow-wrap: anywhere;
  }
  body:not(.cg-body):not(.hg3-body) .hero-lead { font-size: 1.06rem; line-height: 1.66; }
  body:not(.cg-body):not(.hg3-body) .hero-meta { font-size: .72rem; margin-top: 27px; }
  body:not(.cg-body):not(.hg3-body) .section { padding-block: 60px; }
  body:not(.cg-body):not(.hg3-body) .section.tight { padding-block: 48px; }
  body:not(.cg-body):not(.hg3-body) .section-title { font-size: clamp(1.95rem, 7.8vw, 2.35rem); }
  body:not(.cg-body):not(.hg3-body) .section-heading p,
  body:not(.cg-body):not(.hg3-body) .editorial-grid p { font-size: 1rem; }
  body:not(.cg-body):not(.hg3-body) .editorial-grid .copy h2 { font-size: 2.15rem; }
  body:not(.cg-body):not(.hg3-body) .quote-section { padding-block: 65px; }
  body:not(.cg-body):not(.hg3-body) .quote-copy h2 { font-size: 2.15rem; }
  body:not(.cg-body):not(.hg3-body) .quote-form { padding: 24px 19px; }
  body:not(.cg-body):not(.hg3-body) .service-card-content { padding: 24px; }
  body:not(.cg-body):not(.hg3-body) .service-card p,
  body:not(.cg-body):not(.hg3-body) .feature-card p,
  body:not(.cg-body):not(.hg3-body) .step p,
  body:not(.cg-body):not(.hg3-body) .application-body p { font-size: 1.04rem; }
  body:not(.cg-body):not(.hg3-body) .field label,
  body:not(.cg-body):not(.hg3-body) .field input,
  body:not(.cg-body):not(.hg3-body) .field select,
  body:not(.cg-body):not(.hg3-body) .field textarea { font-size: 1rem; }
  body:not(.cg-body):not(.hg3-body) .benefit-band strong { font-size: .95rem; }
  body:not(.cg-body):not(.hg3-body) .benefit-band small { font-size: .86rem; }
  body:not(.cg-body):not(.hg3-body) .footer-main { gap: 30px 22px; }
  .footer-list a,.footer-brand p { font-size: .98rem; }
  .st-founder__description { font-size: 1rem; line-height: 1.62; }
  .st-founder__eyebrow { font-size: .73rem; letter-spacing: .08em; }
  .st-founder__cta { font-size: .91rem; }
  .hm-teaser-copy p { font-size: 1rem; }
  .hg3 .hg3-hero-text,.hg3 .hg3-farewell-message p { font-size: 1rem; }
}
@media (max-width: 359px) {
  body:not(.cg-body):not(.hg3-body) .hero h1,
  body:not(.cg-body):not(.hg3-body) .hero-compact h1 { font-size: 2.18rem; }
  body:not(.cg-body):not(.hg3-body) .hero-content { padding-top: 145px; }
  .st-founder__description { font-size: .95rem; }
  body:not(.cg-body):not(.hg3-body) .ticker span { font-size: .71rem; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.cg-body):not(.hg3-body) .hero-visual img { animation: none; }
}
