/* ============================================================
   TOKENS — DESIGN SYSTEM (idénticos al HOME validado + extensiones AEGIS)
   ============================================================ */
:root {
  --navy:          #0D1B2A;
  --navy-light:    #152236;
  --navy-dark:     #080F18;
  --aegis-black:   #0A0E17;
  --aegis-surface: #111827;
  --aegis-border:  rgba(184,151,90,0.22);
  --aegis-text:    rgba(248,247,244,0.80);
  --aegis-text-dm: rgba(248,247,244,0.55);
  --gold:          #B8975A;
  --gold-dm:       #C4A466;
  --bg:            #F8F7F4;
  --bg-alt:        #F2F0EB;
  --white:         #FFFFFF;
  --gray-dark:     #2C3E50;
  --gray-mid:      #6B7B8D;
  --gray-light:    #B0BEC5;
  --gray-lightest: #ECEFF1;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 1rem; line-height: 1.6; color: var(--gray-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 100%; margin: 0 auto; padding: 0 20px; }
.section   { padding: 48px 0; }
.grid-2    { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* Fondos de sección */
.sec-white     { background: var(--white); }
.sec-alt       { background: var(--bg-alt); }
.sec-navy      { background: var(--navy); }
.sec-aegis     { background: var(--aegis-black); }
.sec-aegis-surf{ background: var(--aegis-surface); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: 2rem;   font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.2;  letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.25; }

.label {
  display: block; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.label-dm   { color: var(--gold-dm); }
.text-white { color: var(--bg); }
.text-center{ text-align: center; }

/* ============================================================
   MODO OSCURO .sec-navy — Reglas sistemáticas (igual que HOME)
   ============================================================ */
.sec-navy h1, .sec-navy h2, .sec-navy h3, .sec-navy h4 { color: var(--bg); }
.sec-navy p, .sec-navy li { color: rgba(248,247,244,0.80); }

/* ============================================================
   HEADER — Idéntico al HOME validado
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  height: 56px; background: var(--white);
  box-shadow: 0 1px 0 rgba(13,27,42,0.08), 0 2px 8px rgba(13,27,42,0.06);
}
.header-inner {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; max-width: 100%; padding: 0 20px;
}
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
.logo-text   { font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }
.logo-shield { color: var(--navy); }
.logo-quant  { color: var(--gold); }

.nav-desktop { display: none; }
.nav-cta     { display: none !important; }
.nav-link {
  font-size: 0.8125rem; font-weight: 500; color: var(--gray-mid);
  letter-spacing: 0.04em; padding: 4px 0;
  border-bottom: 2px solid transparent;
  border-top: none; border-left: none; border-right: none;
  background: none; font-family: inherit; cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  text-decoration: none; display: inline-block;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

.burger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.22s ease; transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  display: none; position: fixed; top: 56px; left: 0; right: 0;
  background: var(--white); box-shadow: 0 8px 24px rgba(13,27,42,0.12);
  z-index: 899; padding: 8px 0 24px;
}
.mob-menu.open { display: block; }
.mob-link {
  display: block; padding: 14px 20px;
  font-size: 1rem; font-weight: 500; color: var(--gray-dark);
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.mob-link:hover { background: var(--bg-alt); }
.mob-link.active {
  color: var(--navy); border-left-color: var(--gold);
  font-weight: 600; background: var(--bg-alt);
}
.mob-link-cta { display: block; margin: 12px 20px 0; }

/* ============================================================
   BUTTONS — Idénticos al HOME validado
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 0.9375rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 14px 28px; border-radius: 3px;
  cursor: pointer; border: none;
  transition: background 0.18s ease, transform 0.12s ease, opacity 0.18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

/* btn-primary: inversión navy → bg en hover (igual que HOME validado) */
.btn-primary {
  background: var(--navy); color: var(--bg);
  border: 1.5px solid transparent;
}
.btn-primary:hover {
  background: var(--bg); color: var(--navy);
  border-color: var(--navy);
}

/* btn-gold: dorado → bg/aegis-black en hover */
.btn-gold {
  background: var(--gold); color: var(--aegis-black);
  font-weight: 700; border: 1.5px solid transparent;
}
.btn-gold:hover {
  background: var(--bg); color: var(--aegis-black);
  border-color: var(--gold);
}

/* btn-ghost-gold: borde dorado → dorado relleno en hover */
.btn-ghost-gold {
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-ghost-gold:hover { background: var(--gold); color: var(--aegis-black); }

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HERO — AEGIS
   Fondo aegis-black · h1 gigante con clamp · dorado como acento
   ============================================================ */
.aegis-hero {
  padding: 80px 0 72px;
  background: var(--aegis-black);
  text-align: center;
}
.aegis-hero-label {
  display: block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dm); margin-bottom: 24px;
}
/* clamp: mínimo 3.5rem · fluido por viewport · máximo 7rem */
.aegis-h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: var(--bg); margin-bottom: 28px;
}
.aegis-hero-sub {
  font-size: 1rem; color: var(--aegis-text); line-height: 1.75;
  max-width: 720px; margin: 0 auto;
}

/* ============================================================
   S1 — LA RELACIÓN (fondo beige)
   ============================================================ */
.relacion-col h3 {
  font-size: 1rem; font-weight: 700; color: var(--gold);
  margin-bottom: 14px; letter-spacing: 0.02em;
}
.relacion-col p {
  font-size: 0.9375rem; color: var(--gray-dark);
  line-height: 1.8; margin-bottom: 12px;
}
.relacion-col p:last-child { margin-bottom: 0; }

/* ============================================================
   S2 — EL NOMBRE (fondo aegis-black)
   ============================================================ */
.egida-narrative p {
  font-size: 0.9375rem; color: var(--aegis-text);
  line-height: 1.9; margin-bottom: 18px;
}
.egida-narrative p:last-child { margin-bottom: 0; }
.egida-bridge {
  margin-top: 40px; padding: 28px 32px;
  border: 1px solid var(--aegis-border); border-radius: 3px;
  background: rgba(184,151,90,0.04);
}
.egida-bridge p {
  font-size: 0.9375rem; color: var(--aegis-text);
  line-height: 1.8; margin-bottom: 14px;
}
.egida-bridge p:last-child { margin-bottom: 0; }
.egida-quote {
  margin-top: 32px; padding: 24px 32px;
  background: rgba(184,151,90,0.08);
  border: 1px solid rgba(184,151,90,0.3);
  border-radius: 3px; text-align: center;
  font-size: 1.125rem; font-weight: 700;
  font-style: italic; color: var(--gold-dm); line-height: 1.5;
}

/* ============================================================
   S3 — LO QUE SIGNIFICA PERTENECER (fondo white)
   Acordeón de transformaciones
   ============================================================ */
.pertenecer-intro p {
  font-size: 0.9375rem; color: var(--gray-dark);
  line-height: 1.85; margin-bottom: 0;
}
.transf-acc { display: flex; flex-direction: column; gap: 0; margin: 28px 0; }
.transf-item { border-bottom: 1px solid var(--gray-lightest); }
.transf-item:first-child { border-top: 1px solid var(--gray-lightest); }
.transf-head {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 16px 0; background: none; border: none;
  font-family: inherit; font-size: 0.9375rem; font-weight: 600;
  color: var(--navy); cursor: pointer; text-align: left;
  transition: color 0.15s ease;
}
.transf-head:hover { color: var(--gold); }
.transf-icon {
  font-size: 1.1rem; color: var(--gold); flex-shrink: 0;
  transition: transform 0.2s ease; line-height: 1; font-weight: 400;
}
.transf-head.open .transf-icon { transform: rotate(45deg); }
.transf-body { display: none; padding: 0 0 16px; }
.transf-body.open { display: block; }
.transf-body-inner {
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-alt); border-radius: 3px;
}
.transf-from {
  font-size: 0.875rem; color: var(--gray-mid);
  line-height: 1.55; font-style: italic;
}
.transf-arrow {
  color: var(--gold); font-size: 1.1rem; font-weight: 700;
  flex-shrink: 0;
}
.transf-to {
  font-size: 0.875rem; color: var(--navy);
  line-height: 1.55; font-weight: 600;
}
.manto-cierre {
  margin-top: 28px; padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: rgba(13,27,42,0.04); border-radius: 0 3px 3px 0;
}
.manto-cierre p {
  font-size: 0.9375rem; color: var(--gray-dark);
  line-height: 1.8; margin-bottom: 12px; font-style: italic;
}
.manto-cierre p:last-child { margin-bottom: 0; }

/* ============================================================
   S4 — EL ESCUDO COMPLETO (fondo aegis-surface)
   Tarjeta nuclear + grid 12 dimensiones
   ============================================================ */
.nuclear-card {
  position: relative;
  background: linear-gradient(135deg, rgba(184,151,90,0.10) 0%, rgba(184,151,90,0.05) 100%);
  border: 1px solid rgba(184,151,90,0.45);
  border-radius: 4px; padding: 30px 34px 32px;
  margin: 0 auto 44px;
  box-shadow: 0 1px 0 rgba(184,151,90,0.06) inset, 0 4px 16px rgba(0,0,0,0.25);
}
.nuclear-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,151,90,0.55), transparent);
}
.nuclear-badge {
  display: inline-block; font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 2px;
  background: var(--gold); color: var(--aegis-black); margin-bottom: 16px;
}
.nuclear-card h3 {
  font-size: 1.375rem; font-weight: 700; color: var(--gold-dm);
  line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 14px;
}
.nuclear-essential {
  font-size: 0.9375rem; line-height: 1.75;
  color: rgba(248,247,244,0.92); margin-bottom: 18px; font-weight: 500;
}
.nuclear-expanded {
  font-size: 0.875rem; line-height: 1.8;
  color: rgba(248,247,244,0.72);
  padding-top: 18px; border-top: 1px solid rgba(184,151,90,0.25);
}
.grid-introlabel {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.grid-introlabel .gline {
  flex-shrink: 0; width: 36px; height: 1px;
  background: rgba(184,151,90,0.45);
}
.grid-introlabel .glabel {
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dm);
}
.grid-introlabel .gsub {
  font-size: 0.8125rem; color: rgba(248,247,244,0.55); letter-spacing: 0.01em;
}
.dim-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.dim-card {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(184,151,90,0.18);
  border-radius: 3px; padding: 20px 20px 18px;
  transition: border-color 0.22s ease, background 0.22s ease,
              box-shadow 0.22s ease, transform 0.22s ease;
}
.dim-card:hover {
  border-color: rgba(184,151,90,0.42);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 4px 14px rgba(0,0,0,0.20);
  transform: translateY(-1px);
}
.dim-card h3 {
  font-size: 0.9375rem; font-weight: 700; color: var(--bg);
  line-height: 1.35; letter-spacing: -0.005em; margin: 0 0 11px;
}
.dim-essential {
  font-size: 0.8125rem; line-height: 1.65;
  color: rgba(248,247,244,0.72); margin: 0;
}
.escudo-cierre {
  margin-top: 40px; padding: 24px 28px;
  border-left: 2px solid var(--gold);
  background: rgba(184,151,90,0.04);
  border-radius: 0 3px 3px 0;
}
.escudo-cierre p {
  font-size: 0.9375rem; line-height: 1.85;
  color: rgba(248,247,244,0.80);
}
.escudo-cierre strong { color: var(--gold-dm); font-weight: 600; }

/* ============================================================
   S5 — DENTRO DE AEGIS (fondo beige)
   Tabs tres pilares
   ============================================================ */
.tabs-nav {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 24px;
}
.tab-btn {
  font-family: inherit; font-size: 0.8125rem; font-weight: 500;
  padding: 10px 18px; border-radius: 3px;
  border: 1px solid var(--gray-lightest);
  background: var(--white); color: var(--gray-mid);
  cursor: pointer; transition: all 0.15s ease; white-space: nowrap;
}
.tab-btn:hover { border-color: rgba(184,151,90,0.4); color: var(--navy); }
.tab-btn.active { background: var(--navy); color: var(--bg); border-color: var(--navy); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel-inner {
  padding: 28px; background: var(--white);
  border: 1px solid rgba(184,151,90,0.2); border-radius: 3px;
}
.tab-panel-inner h3 { color: var(--navy); margin-bottom: 14px; }
.tab-panel-inner p {
  font-size: 0.9375rem; color: var(--gray-dark);
  line-height: 1.8; margin-bottom: 12px;
}
.tab-panel-inner p:last-child { margin-bottom: 0; }
.pilares-cierre {
  margin-top: 24px; padding: 22px 26px;
  background: var(--navy); border-radius: 3px;
}
.pilares-cierre p {
  font-size: 0.9375rem; color: rgba(248,247,244,0.80);
  line-height: 1.8; margin-bottom: 8px;
}
.pilares-cierre p:last-child {
  margin-bottom: 0; font-weight: 700; color: var(--gold-dm);
}

/* ============================================================
   S6 — EL VALOR QUE CRECE (fondo aegis-black)
   ============================================================ */
.valor-body p {
  font-size: 0.9375rem; color: var(--aegis-text);
  line-height: 1.9; margin-bottom: 0;
}
.valor-egida {
  margin-top: 48px; padding: 36px 42px;
  background: rgba(184,151,90,0.04);
  border: 1px solid rgba(184,151,90,0.14);
  border-left: 2px solid rgba(184,151,90,0.55);
  border-radius: 0 3px 3px 0;
}
.valor-egida p {
  font-size: 0.9375rem; font-style: italic;
  color: rgba(248,247,244,0.80); line-height: 1.9; margin-bottom: 20px;
}
.valor-egida p:last-child { margin-bottom: 0; }

/* ============================================================
   S7 — EL ACCESO (fondo beige · CTA final)
   ============================================================ */
.acceso-body p {
  font-size: 0.9375rem; color: var(--gray-dark);
  line-height: 1.8; margin-bottom: 14px;
}
.acceso-body p:last-child { margin-bottom: 0; }
.acceso-box {
  margin-top: 40px; background: var(--aegis-surface);
  border: 1px solid var(--aegis-border); border-radius: 3px;
  padding: 36px; text-align: center;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.acceso-box h3 { color: var(--bg); margin-bottom: 12px; font-size: 1.0625rem; }
.acceso-box p {
  color: var(--aegis-text-dm); font-size: 0.875rem;
  line-height: 1.75; margin-bottom: 24px;
}

/* ============================================================
   ANIMACIONES — Idénticas al HOME validado
   ============================================================ */
.anim {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ============================================================
   FOOTER — Idéntico al HOME validado
   ============================================================ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(184,151,90,0.18);
  padding: 44px 0 40px;
}
.footer-top { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.footer-tagline {
  font-size: 0.8125rem; color: rgba(248,247,244,0.45);
  font-style: italic; margin-top: 6px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.footer-links a {
  font-size: 0.8125rem; color: rgba(248,247,244,0.50);
  transition: color 0.15s ease; text-decoration: none;
}
.footer-links a:hover { color: var(--gold-dm); }
.footer-sep {
  border: none; border-top: 1px solid rgba(248,247,244,0.22);
  margin: 20px 0 16px;
}
.footer-disclaimer {
  font-size: 0.75rem; color: rgba(248,247,244,0.35);
  line-height: 1.65; max-width: 1400px; margin-bottom: 14px;
}
.footer-copy { font-size: 0.75rem; color: rgba(248,247,244,0.25); }

/* ============================================================
   label-dm — escalado por breakpoint (igual que HOME)
   ============================================================ */
@media (min-width: 1024px) { .label-dm { font-size: 0.6875rem; } }
@media (min-width: 1440px) { .label-dm { font-size: 0.75rem; }   }
@media (min-width: 1920px) { .label-dm { font-size: 0.8125rem; } }

/* ============================================================
   RESPONSIVE — TABLET ≥768px
   ============================================================ */
@media (min-width: 768px) {
  .container   { padding: 0 40px; }
  .section     { padding: 72px 0; }
  .aegis-hero  { padding: 96px 0 88px; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.2rem; }
  .grid-2      { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-header { height: 58px; }
  .header-inner{ padding: 0 40px; }
  .mob-menu    { top: 58px; }
  .footer-top  { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  /* Transformaciones: fila horizontal en tablet */
  .transf-body-inner { flex-direction: row; align-items: flex-start; gap: 16px; }
  .transf-from { flex: 1; padding-right: 12px; border-right: 1px solid var(--gray-lightest); }
  .transf-arrow{ padding-top: 2px; }
  .transf-to   { flex: 1; padding-left: 4px; }
  /* Grid dimensiones: 3 columnas en tablet */
  .dim-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ============================================================
   RESPONSIVE — DESKTOP ≥1024px
   ============================================================ */
@media (min-width: 1024px) {
  .container   { max-width: 1200px; padding: 0 64px; }
  .section     { padding: 96px 0; }
  .aegis-hero  { padding: 112px 0 104px; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
  body { font-size: 1.0625rem; }
  .label       { font-size: 0.75rem; }
  .nav-link    { font-size: 0.875rem; }
  .nav-desktop { display: flex; align-items: center; gap: 28px; }
  .nav-cta     { display: inline-flex !important; }
  .burger      { display: none; }
  .site-header { height: 60px; }
  .header-inner{ padding: 0 64px; }
  /* Grid dimensiones: 4 columnas en desktop */
  .dim-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* ============================================================
   RESPONSIVE — LAPTOP ≥1280px  (rango 1280–1439px)
   ============================================================ */
@media (min-width: 1280px) and (max-width: 1439px) {
  .container   { max-width: 1280px; padding: 0 72px; }
  .section     { padding: 108px 0; }
  .aegis-hero  { padding: 128px 0 112px; }
  .header-inner{ padding: 0 72px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
  body { font-size: 1.09375rem; }
  .nav-link    { font-size: 0.9rem; }
  .aegis-hero-sub { font-size: 1.0625rem; }
  .dim-grid { gap: 20px; }
}

/* ============================================================
   RESPONSIVE — LARGE ≥1440px
   ============================================================ */
@media (min-width: 1440px) {
  .container   { max-width: 1400px; padding: 0 80px; }
  .section     { padding: 120px 0; }
  .aegis-hero  { padding: 136px 0 120px; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.5rem; }
  body { font-size: 1.125rem; }
  .label       { font-size: 0.8rem; }
  .nav-link    { font-size: 0.9375rem; }
  .site-header { height: 62px; }
  .aegis-hero-sub { font-size: 1.125rem; max-width: 800px; }
  .dim-grid { gap: 22px; }
}

/* ============================================================
   RESPONSIVE — FULL HD ≥1920px
   ============================================================ */
@media (min-width: 1920px) {
  .container   { max-width: 1600px; padding: 0 100px; }
  .section     { padding: 140px 0; }
  .aegis-hero  { padding: 156px 0 136px; }
  .header-inner{ padding: 0 100px; }
  h1 { font-size: 4rem; }
  h2 { font-size: 2.85rem; }
  h3 { font-size: 1.75rem; }
  body { font-size: 1.1875rem; }
  .label       { font-size: 0.875rem; }
  .nav-link    { font-size: 1rem; }
  .site-header { height: 64px; }
  .mob-menu    { top: 64px; }
  .aegis-hero-sub { font-size: 1.25rem; max-width: 900px; }
  .dim-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .dim-card h3 { font-size: 1.0625rem; }
  .dim-essential { font-size: 0.9rem; }
  .nuclear-card h3 { font-size: 1.625rem; }
  .nuclear-essential { font-size: 1.0625rem; }
  .nuclear-expanded { font-size: 1rem; }
  .relacion-col p { font-size: 1.0625rem; }
  .egida-narrative p { font-size: 1.0625rem; }
  .transf-head { font-size: 1.0625rem; }
  .tab-panel-inner p { font-size: 1.0625rem; }
  .valor-body p { font-size: 1.0625rem; }
  .valor-egida p { font-size: 1.0625rem; }
  .acceso-body p { font-size: 1.0625rem; }
  .escudo-cierre p { font-size: 1.0625rem; }
}


/* ============================================================
   SQ v1.7 — HARDENING GLOBAL Y CABECERA ESTABLE
   Objetivo: HTML autocontenido, navegación local y cabecera sin
   desplazamiento sistémico entre páginas.
   ============================================================ */
:root {
  --sq-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body,
button,
input,
select,
textarea {
  font-family: var(--sq-font-sans);
}
.site-header .header-inner {
  width: 100%;
  margin-inline: auto;
}
.site-header .logo,
.site-header .logo-text,
.site-header .nav-desktop,
.site-header .nav-link,
.site-header .nav-cta,
.site-header .btn-back,
.site-header .burger {
  font-family: var(--sq-font-sans) !important;
}
.site-header .logo,
.site-header .nav-desktop,
.site-header .nav-cta,
.site-header .btn-back,
.site-header .burger,
.site-header .btn-primary {
  flex-shrink: 0;
}
.site-header .logo-text {
  line-height: 1;
  white-space: nowrap;
}
.site-header .nav-link,
.site-header .nav-link.active,
.site-header .mob-link,
.site-header .mob-link.active {
  font-weight: 500 !important;
}
.site-header .nav-link {
  text-rendering: geometricPrecision;
  transition-property: color, border-color !important;
}
.site-header .btn:active,
.site-header .nav-cta:active,
.site-header .btn-back:active,
.site-header .btn-primary:active {
  transform: none !important;
}
@media (min-width: 1024px) {
  .site-header .header-inner {
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    column-gap: 24px;
  }
  .site-header .logo {
    grid-column: 1;
    justify-self: start;
  }
  .site-header .nav-desktop {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-header .nav-cta,
  .site-header .btn-back,
  .site-header .header-inner > .btn-primary:last-child {
    grid-column: 3;
    justify-self: end;
  }
}
.form-status {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.form-status.show { display: block; }
.form-status.err {
  color: var(--red, #C0392B);
  background: var(--red-light, rgba(192,57,43,0.08));
  border: 1px solid rgba(192,57,43,0.22);
}
.form-status.ok {
  color: var(--navy, #0D1B2A);
  background: var(--gold-light, rgba(184,151,90,0.08));
  border: 1px solid rgba(184,151,90,0.25);
}
