/* =========================================================================
   Sistema común a toda la a7: un solo juego de tamaños de texto, márgenes y
   espaciados. Se carga último en todas las páginas.
   ========================================================================= */
:root {
  --t-h1: clamp(40px, 3.8vw, 54.72px);   /* título de hero */
  --t-h2: clamp(30px, 2.7vw, 38.88px);   /* título de sección */
  --t-h3: 20px;                          /* título de tarjeta o ítem */
  --t-list: clamp(22px, 2vw, 28px);      /* ítems grandes de listas interactivas */
  --t-lead-hero: 20px;
  --t-lead: 18px;
  --t-body: 16px;
  --sp-section: 100px;                   /* aire arriba y abajo de cada sección */
  --sp-kicker: 20px;                     /* etiqueta → título */
  --sp-head: 48px;                       /* encabezado de sección → contenido */
}

/* títulos */
h1, .hero h1, .p-hero h1, .sh7 h1, .lh h1, .ah h1 { font-size: var(--t-h1) !important; line-height: 1.06 !important; letter-spacing: -.02em !important; }
h2, .section h2, .mx h2, .dx h2, .ss7 h2, .sr7 h2, .cine h2, .ix__txt h3, .as__txt, .ah--band .as__txt, .mx .as__txt, .cta-band h2 { font-size: var(--t-h2) !important; line-height: 1.14 !important; letter-spacing: -.015em !important; }
h3 { font-size: var(--t-h3) !important; line-height: 1.3 !important; }
.ac8 h3 { font-size: 24px !important; }
.mx__name, .orow__t, .sr7__it b { font-size: var(--t-list) !important; }

/* textos */
.hero .lead, .p-hero .lead, .sh7__lead, .ah__lead { font-size: var(--t-lead-hero) !important; line-height: 1.55 !important; }
.section .lead, .sec-head .lead, .s7__head p, .dx__head p, .ar__txt > p, .cta-band p { font-size: var(--t-lead) !important; line-height: 1.6 !important; }

/* etiqueta → título: siempre el mismo espacio */
.kicker { display: inline-flex !important; margin: 0 !important; }
.kicker + h1, .kicker + h2, .kicker + h3, .kicker + p, .kicker + div, .kicker + .as__txt { margin-top: var(--sp-kicker) !important; }
.dx__head .kicker + h2 { margin-top: var(--sp-kicker) !important; }

/* secciones: mismo aire arriba y abajo */
:root body .section, :root body .mx, :root body .dx, :root body .ss7, :root body .sr7, :root body .cine, :root body .s7 { padding-top: var(--sp-section) !important; padding-bottom: var(--sp-section) !important; }
:root body .ac7 { padding-top: var(--sp-section) !important; padding-bottom: calc(var(--sp-section) + 64px) !important; }   /* la tarjeta del caso sobresale 64px */
:root body .p-hero, :root body .page-hero, :root body .sh7 { padding-top: 148px !important; padding-bottom: 64px !important; }

/* encabezado de sección → contenido */
.mx__grid, .mx .mx__grid, .sb7__g, .ss7__steps, .dx__frame, .bento, .g7s, .cine__stage, .cine--a7 .cine__stage, .sr7__l { margin-top: var(--sp-head) !important; }
h2 + .faq, h2.reveal + .faq { margin-top: 0 !important; }
.section h2 + .faq { margin-top: 0 !important; }
:root body #operaciones, :root body .logoband + .section { padding-top: var(--sp-section) !important; padding-bottom: var(--sp-section) !important; }

/* sin aviso de maqueta */
.mock-note { display: none !important; }

/* Escala según el ancho de la ventana: en notebooks (13"-14") todo se ve ~15% más chico,
   en monitores grandes queda igual y en celular no cambia. */
@media (min-width: 1100px) and (max-width: 1349px) { html { zoom: .82; } }
@media (min-width: 1350px) and (max-width: 1549px) { html { zoom: .86; } }
@media (min-width: 1550px) and (max-width: 1749px) { html { zoom: .92; } }

/* La bajada de un título va siempre debajo del título, nunca al costado (en todo el sitio) */
.t3d__h, .dx__head { display: block !important; }
.t3d__h p, .dx__head p { margin-top: 16px !important; max-width: 64ch; }
