/* Las @import deben ir antes de cualquier regla; si no, el navegador las ignora */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&display=swap');

/* ==========================================================================
   SOLUCIONES ESTRATÉGICAS - DISEÑO EDITORIAL SOBRIO (ALTA CONSULTORÍA)
   ========================================================================== */
#soluciones {
  background: #ffffff;
  padding: 3.75rem 0;
  border-top: 1px solid #f1f5f9;
}

.solutions-header-wrap {
  max-width: 800px;
  margin-bottom: 2rem;
}

.solutions-header-wrap .section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0f172a;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 0.3rem;
  margin-bottom: 1.5rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: #0f172a;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #cbd5e1;
  line-height: 1;
  margin-bottom: 0.95rem;
  transition: color 0.3s ease;
}

.solution-card:hover .solution-num {
  color: #0f172a;
}

.solution-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.solution-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.solution-meta-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.solution-target {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.solution-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.solution-link:hover {
  gap: 0.65rem;
  color: #1d4ed8;
}

/* Banner sobrio institucional al pie */
.solutions-cta-box {
  margin-top: 2rem;
  background: #090e1a;
  border-radius: 14px;
  padding: 2rem 2.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.solutions-cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.solutions-cta-box p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

/* ==========================================================================
   SECTORES & ORGANIZACIONES (GRILLA DE 3 PERFILES INSTITUCIONALES)
   ========================================================================== */
.sectors-grid-3,
.sectors-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (max-width: 1080px) {
  .sectors-grid-3,
  .sectors-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .sectors-grid-3,
  .sectors-grid-5 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.sector-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #38bdf8;
  margin-top: 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sector-cta-link:hover {
  gap: 0.75rem;
  color: #7dd3fc;
}

/* ==========================================================================
   BANNERS DE ACCIÓN COMERCIAL POR SECCIÓN
   ========================================================================== */
.section-cta-banner {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.05) 0%, rgba(14, 165, 233, 0.06) 100%);
  border: 1px solid rgba(29, 78, 216, 0.15);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-cta-banner p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}

.section-dark-band .section-cta-banner {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.section-dark-band .section-cta-banner p {
  color: #f8fafc;
}

/* ==========================================================================
   REDES SOCIALES Y ENLACES INSTITUCIONALES
   ========================================================================== */
.social-links-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: #1d4ed8;
  border-color: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px);
}

.social-btn-white-theme {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.social-btn-white-theme:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

/* Badges y mejoras del formulario */
.form-nda-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.section-dark-band .form-nda-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

/* PROSPECTIO - Identidad alineada con los documentos institucionales:
   marino #13294B, marfil #F7F4ED, gris #6B7079, azul claro #C9D3E3, titulares en serifa */

:root {
  /* Superficies */
  --bg-body: #ffffff;
  --bg-surface-light: #f7f4ed;   /* marfil de los documentos */
  --bg-surface-card: #ffffff;
  --bg-ivory: #f7f4ed;
  --bg-ivory-soft: #fbf9f5;

  /* Bandas en el marino institucional */
  --bg-navy-deep: #13294b;
  --bg-navy-darker: #0d1d36;
  --bg-navy-card: rgba(255, 255, 255, 0.05);
  --bg-navy-hover: rgba(255, 255, 255, 0.09);

  /* Texto */
  --text-primary: #13294b;
  --text-secondary: #3f4652;
  --text-muted: #6b7079;

  /* Bordes */
  --border-light: rgba(19, 41, 75, 0.12);
  --border-light-hover: rgba(19, 41, 75, 0.35);
  --border-navy: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(201, 211, 227, 0.55);

  /* Acentos: un solo acento sobrio. Los nombres "cyan" se conservan por compatibilidad */
  --color-white: #ffffff;
  --color-navy: #13294b;
  --color-cyan: #3d5a80;        /* azul acero: etiquetas y enlaces */
  --color-cyan-glow: #c9d3e3;   /* azul claro de los documentos, para fondos oscuros */
  --color-amber: #8a6d3b;
  --color-emerald: #3d5a80;
  --color-teal: #3d5a80;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-display: var(--font-serif);
  --font-heading: var(--font-serif);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Canvas de Grafos Fijo en Pantalla */
#ambient-constellation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Header Flotante con Fondo Blanco Translúcido */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 106px;
  gap: 1.5rem;
}

/* Tarjeta / Contenedor del Logo Oficial */
.brand-logo-card {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.18);
  border-color: rgba(2, 132, 199, 0.3);
}

.brand-logo-img {
  height: 66px;
  width: auto;
  max-width: 440px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: #334155;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active-nav {
  color: var(--color-cyan);
}

.nav-links a.nav-highlight {
  color: var(--color-cyan);
  font-weight: 700;
}

/* Botones Versátiles: Adaptados al Fondo Blanco por Defecto */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-white {
  background: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(9, 17, 36, 0.2);
}

.btn-white:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 17, 36, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid rgba(15, 23, 42, 0.22);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: var(--color-navy);
  transform: translateY(-2px);
}

/* HERO SECTION (FONDO BLANCO PREDOMINANTE) */
.hero-editorial {
  position: relative;
  min-height: 82vh;
  padding-top: 120px;
  padding-bottom: 45px;
  display: flex;
  align-items: center;
  background: #ffffff;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-canvas-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 530px;
  margin: 0 auto;
}

#hero-network-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#hero-network-canvas:active {
  cursor: grabbing;
}

.hero-canvas-caption {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.35rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Proof Ribbon (Transición Suave / Gris Pálido) */
.proof-ribbon {
  background: #090e1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.25rem 0;
  position: relative;
  z-index: 10;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.proof-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 1.5rem;
}

@media (max-width: 640px) {
  .proof-item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 1rem;
  }
}

.proof-item h4 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.proof-item p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* SECCIONES BASE */
.section {
  padding: 3.75rem 0;
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2.25rem;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========================================================
   BANDAS EN EL AZUL PROFUNDO CORPORATIVO (RITMO VISUAL)
   ========================================================= */
.section-dark-band {
  background: var(--bg-navy-deep) !important;
  color: #f8fafc !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-dark-band .section-tag {
  color: var(--color-cyan-glow) !important;
}

.section-dark-band .section-title,
.section-dark-band h2,
.section-dark-band h3,
.section-dark-band h4 {
  color: #ffffff !important;
}

.section-dark-band .section-desc,
.section-dark-band p {
  color: #94a3b8 !important;
}

/* Tarjetas en las Bandas Azules */
.section-dark-band .sector-box {
  background: var(--bg-navy-card);
  border: 1px solid var(--border-navy);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.section-dark-band .sector-box:hover {
  background: var(--bg-navy-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.section-dark-band .sector-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section-dark-band .sector-box:hover::before {
  opacity: 1;
}

.section-dark-band .sector-badge {
  color: var(--color-cyan-glow);
}

.section-dark-band .sector-title {
  color: #ffffff;
}

.section-dark-band .sector-text,
.section-dark-band .sector-outcomes li {
  color: #cbd5e1;
}

.section-dark-band .sector-outcomes li::before {
  color: var(--color-cyan-glow);
}

.section-dark-band .sector-footer-note {
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Botones dentro de las bandas oscuras */
.section-dark-band .btn-white {
  background: #ffffff;
  color: var(--color-navy);
}

.section-dark-band .btn-white:hover {
  background: #f1f5f9;
  color: var(--color-navy);
}

.section-dark-band .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.section-dark-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* Ecosistemas (Layout de Sectores) */
.sectors-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
}

.sector-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.sector-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.sector-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.sector-outcomes {
  list-style: none;
  margin-bottom: 1.25rem;
}

.sector-outcomes li {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.sector-outcomes li::before {
  content: '—';
  font-weight: 700;
}

.sector-footer-note {
  font-size: 0.82rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-top: auto;
}

/* LA DIMENSIÓN VISUAL (FONDO BLANCO CON CONSOLAS EJECUTIVAS) */
.art-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

.art-feature.reverse {
  direction: rtl;
}

.art-feature.reverse > * {
  direction: ltr;
}

.art-canvas-container {
  background: #080d19;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(9, 17, 36, 0.15);
}

.art-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.art-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.art-content p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.art-content .art-principle {
  background: #f1f5f9;
  border-left: 2px solid var(--color-cyan);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.6;
}

.art-benefit-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.art-benefit-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.55;
}

.art-benefit-list li strong {
  color: var(--text-primary);
  font-weight: 700;
}

.benefit-icon {
  color: var(--color-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.visual-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.25rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
}

.visual-value-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 1.6rem 1.35rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.visual-value-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-cyan);
  box-shadow: 0 16px 35px rgba(2, 132, 199, 0.12);
}

.visual-value-card .value-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 0.85rem;
}

.visual-value-card h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.visual-value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* METODOLOGÍA (FONDO SUAVE / GRIS EDITORIAL) */
.methodology-block {
  background: var(--bg-surface-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 3.75rem 0;
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(2, 132, 199, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* PERSPECTIVAS & ARTÍCULOS (EN BANDA AZUL PROFUNDO) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.article-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 2rem;
  transition: all 0.25s ease;
}

.article-card:hover {
  border-color: #ffffff;
}

.article-card:hover .article-title {
  color: var(--color-cyan-glow);
}

.article-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.article-excerpt {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.article-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-cyan-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* CONTACTO (FONDO BLANCO CON CAJA AZUL MARINO DE ALTA DIRECCIÓN) */
.contact-section {
  background: #ffffff;
  padding: 3.5rem 0;
  position: relative;
  z-index: 1;
}

.contact-card-wrap {
  background: var(--bg-navy-deep);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  box-shadow: 0 24px 60px rgba(9, 17, 36, 0.18);
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.contact-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
}

.contact-detail-item strong {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-cyan-glow);
  margin-bottom: 0.2rem;
}

.contact-detail-item span {
  font-size: 0.95rem;
  color: #e2e8f0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-cyan-glow);
}

.form-select option {
  background: #090e1a;
  color: #fff;
}

/* FOOTER (AZUL MARINO PROFUNDO DE CIERRE) */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.25rem 0 1.75rem 0;
  background: #050811;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-bottom: 2rem;
}

.footer-brand-col {
  max-width: 440px;
}

.footer-logo-card {
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.footer-logo-img {
  height: 64px;
  width: auto;
  max-width: 440px;
  display: block;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* Botón Hamburguesa Móvil (Oscuro para contraste en Header Blanco) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--color-navy);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  gap: 5px;
  transition: all 0.25s ease;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer (Azul Marino Ejecutivo) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: #090e1a;
  z-index: 2000;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-inner {
  padding: 2.2rem 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-logo {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active-nav {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 0.85rem;
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-cta .btn-white {
  background: #ffffff;
  color: var(--color-navy);
}

.mobile-drawer-tagline {
  font-size: 0.68rem;
  color: #94a3b8;
  letter-spacing: 1.5px;
  text-align: center;
  font-weight: 600;
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   ESTILOS CONÓCENOS (SOCIOS BLANCOS + ÁMBITOS AZUL MARINO)
   ========================================================= */
.founders-section {
  padding-top: 120px;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.founder-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.12);
}

.founder-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #0d1117;
  border: 1px solid rgba(15, 23, 42, 0.1);
  margin-bottom: 1.2rem;
}

.founder-photo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.founder-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.founder-role-badge {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 0.4rem;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.founder-credentials {
  font-size: 0.82rem;
  color: var(--color-teal);
  font-weight: 600;
  line-height: 1.45;
  margin-top: 0.35rem;
  margin-bottom: 0.95rem;
}

.founder-quote-box {
  background: var(--bg-surface-light);
  border-left: 2px solid var(--color-cyan);
  padding: 1.15rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin-top: auto;
}

.founder-sentence {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  color: #1e293b;
  line-height: 1.6;
}

.founder-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-cyan);
  text-decoration: none;
  margin-top: 1.1rem;
  transition: all 0.2s ease;
  padding: 4px 0;
}

.founder-contact-link:hover {
  color: #0369a1;
  transform: translateX(4px);
}

/* Ámbitos de Colaboración (Banda Azul Marino) */
.nodes-section {
  padding: 3.75rem 0;
  position: relative;
  z-index: 1;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.node-box {
  background: var(--bg-navy-card);
  border: 1px solid var(--border-navy);
  border-radius: 18px;
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.node-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.node-city {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.node-scope {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-cyan-glow);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.node-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.node-deliverables {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.node-deliverable-item {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.node-deliverable-item span {
  color: var(--color-cyan-glow);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  line-height: 1.35;
}

/* Badges Interactivos en Canvases */
.canvas-interact-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 14px;
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.74rem;
  color: #e2e8f0;
  font-weight: 500;
  pointer-events: none;
  letter-spacing: 0.2px;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.canvas-interact-badge .badge-dot {
  color: var(--color-cyan-glow);
  font-size: 0.65rem;
  animation: badgePulse 2.4s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Metadatos Editoriales */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.article-badge-tag {
  color: var(--color-cyan-glow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.68rem;
}

.meta-sep {
  color: #64748b;
}

/* Tarjeta Glassmorphic de Confirmación In-Place de Contacto */
.form-success-card {
  background: #090e1a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  animation: fadeInSuccess 0.4s ease forwards;
}

@keyframes fadeInSuccess {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.form-success-icon {
  font-weight: 900;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.form-success-desc {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.form-success-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem auto;
  max-width: 420px;
}

.form-success-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.form-success-meta strong {
  color: #ffffff;
}

/* Botón Flotante Discreto para Alternar Constelaciones (Blanco en Desktop) */
.constellation-toggle-pill {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #334155;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.constellation-toggle-pill:hover {
  color: #091124;
  border-color: var(--color-cyan);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.18);
}

.constellation-toggle-pill .dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  transition: all 0.25s ease;
}

.constellation-toggle-pill.is-off {
  color: #94a3b8;
  border-color: rgba(15, 23, 42, 0.08);
}

.constellation-toggle-pill.is-off .dot-indicator {
  background: #94a3b8;
  box-shadow: none;
}

/* Control Integrado en Menú Móvil */
.mobile-drawer-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  margin: 1.25rem 0 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-toggle-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: #cbd5e1;
  font-weight: 500;
}

.drawer-toggle-dot {
  color: #10b981;
  font-size: 0.75rem;
  transition: color 0.25s ease;
}

.mobile-drawer-toggle-row.is-off .drawer-toggle-dot {
  color: #64748b;
}

.drawer-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.drawer-toggle-btn.is-off {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-text-content { align-items: center; }
  .hero-actions { justify-content: center; }
  .art-feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .art-feature.reverse { direction: ltr; }
  .visual-value-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-card-wrap { grid-template-columns: 1fr; padding: 3rem 2rem; }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .founders-section { padding-top: 100px; padding-bottom: 2.5rem; }
  .founders-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 480px; margin: 0 auto; }
  .nodes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .constellation-toggle-pill {
    display: none !important;
  }
  .section { padding: 3rem 0; }
  .header-inner { height: 86px; }
  .brand-logo-img { height: 50px; }
}

@media (max-width: 640px) {
  .hero-heading { font-size: 2.2rem; }
  .founders-section { padding-top: 96px; padding-bottom: 3rem; }
  .founder-card { padding: 1.75rem 1.35rem; }
  .founder-sentence { font-size: 0.98rem; }
  .contact-card-wrap { padding: 1.75rem 1.25rem; }
}


/* ==========================================================================
   v3 · ALINEACIÓN DE MARCA CON LOS DOCUMENTOS INSTITUCIONALES (oct 2026)
   Marfil + marino + serifa editorial. Esta capa va al final para prevalecer
   sobre valores fijos heredados (cian, ámbar, #090e1a...).
   ========================================================================== */

/* Tipografía editorial */
h1, h2, h3,
.hero-heading, .section-title, .solution-title, .sector-title,
.art-content h3, .contact-info h2, .founder-name, .solutions-cta-box h3,
.form-success-title {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-heading {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.12;
  color: var(--color-navy);
}

.section-title { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.18; }

.solution-num, .proof-item h4 {
  font-family: var(--font-serif);
  font-weight: 400;
}

.proof-item h4 { font-size: 1.5rem; letter-spacing: 0; }

.section-tag, .hero-eyebrow, .sector-badge, .founder-role-badge, .solution-target {
  letter-spacing: 0.22em;
  font-weight: 600;
}

.hero-eyebrow span { display: none; }

/* Superficies oscuras -> marino institucional */
.proof-ribbon,
.solutions-cta-box,
.form-success-card,
.mobile-drawer,
.form-select option { background: var(--bg-navy-deep); }

.site-footer { background: var(--bg-navy-darker); }
.art-canvas-container { background: var(--bg-navy-darker); border-color: rgba(19, 41, 75, 0.2); }

/* Acentos heredados en cian/azul eléctrico */
.solution-link:hover { color: var(--color-cyan); }
.sector-cta-link { color: var(--color-cyan-glow); }
.sector-cta-link:hover { color: #ffffff; }
.social-btn:hover { background: #ffffff; border-color: #ffffff; color: var(--color-navy); }
.brand-logo-card:hover { box-shadow: none; border-color: transparent; transform: none; }
.founder-card:hover { border-color: var(--border-light-hover); box-shadow: 0 18px 40px rgba(19, 41, 75, 0.08); }

.section-cta-banner {
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
}

.methodology-block .section-cta-banner { background: #ffffff; }

.form-success-badge {
  background: rgba(201, 211, 227, 0.12);
  border-color: rgba(201, 211, 227, 0.4);
  color: var(--color-cyan-glow);
}

.art-content .art-principle { background: var(--bg-ivory); border-left-color: var(--color-navy); color: var(--text-secondary); }

/* Metodología sobre blanco suave para alternar con Publicaciones (marfil) */
.methodology-block { background: #ffffff; }
.methodology-block .section-cta-banner { background: var(--bg-ivory); }

/* Evitar que elementos internos ensanchen columnas CSS Grid en móvil */
.hero-grid > *,
.art-feature > *,
.contact-card-wrap > *,
.pub-featured > *,
.study-hero-grid > *,
.solutions-grid > *,
.sectors-grid-3 > * {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   HEADER: logo transparente y corrección del desborde en móvil
   -------------------------------------------------------------------------- */
.brand-logo-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.brand-logo-img { height: 54px; max-width: 340px; }

.header-inner { height: 88px; }

.nav-links { gap: 1.9rem; }
.nav-links a { color: var(--text-secondary); font-weight: 500; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active-nav, .nav-links a.nav-highlight { color: var(--color-navy); }
.nav-links a.active-nav { box-shadow: inset 0 -2px 0 var(--color-navy); padding-bottom: 4px; }

.header-cta-desktop .btn-pill { white-space: nowrap; }

.hero-editorial { min-height: min(82vh, 820px); padding-top: 110px; }
.founders-section { padding-top: 130px; }

@media (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.86rem; }
}

@media (max-width: 992px) {
  .header-cta-desktop { display: none; }
  .header-inner { height: 76px; }
  .brand-logo-img { height: 44px; max-width: 240px; }
}

@media (max-width: 768px) {
  .hero-canvas-wrap { max-width: min(100%, 340px); }
  .hero-canvas-caption {
    left: 0;
    right: 0;
    transform: none;
    white-space: normal;
    text-align: center;
    width: 100%;
    padding: 0 0.5rem;
  }
  .hero-eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .brand-logo-img { height: 34px; max-width: 190px; }
  .container { padding: 0 1.15rem; }
  .hero-canvas-wrap { max-width: min(100%, 290px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn-pill { width: 100%; }
}

/* Drawer móvil */
.mobile-drawer-logo { background: transparent; padding: 0; }
.mobile-drawer-logo img { filter: brightness(0) invert(1); }
.mobile-drawer-footer { margin-top: auto; padding-top: 1.5rem; }
.mobile-drawer-footer .btn-white { background: #ffffff; color: var(--color-navy); }
.mobile-nav-link.active-nav { color: #ffffff !important; }

/* --------------------------------------------------------------------------
   FOOTER: estilos para la estructura real del HTML
   -------------------------------------------------------------------------- */
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.1rem;
}

.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 0.6rem; }
.footer-nav-list a { color: #aab4c4; text-decoration: none; font-size: 0.88rem; transition: color 0.2s ease; }
.footer-nav-list a:hover { color: #ffffff; }

.footer-tagline { font-size: 0.88rem; color: #aab4c4; line-height: 1.65; max-width: 340px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 1rem; display: block; filter: brightness(0) invert(1); }

.footer-bottom { display: block; padding-top: 1.5rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: #8592a6; }
.footer-bottom-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* --------------------------------------------------------------------------
   ACCESIBILIDAD
   -------------------------------------------------------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-dark-band a:focus-visible, .contact-card-wrap :focus-visible, .site-footer a:focus-visible {
  outline-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.form-note { font-size: 0.78rem; color: #aab4c4; line-height: 1.5; margin-top: 0.25rem; }

/* ==========================================================================
   PUBLICACIONES
   ========================================================================== */
.publications-section {
  background: var(--bg-ivory);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.publications-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.publications-head .section-head { margin-bottom: 0; }

.link-arrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}

.link-arrow:hover { color: var(--color-cyan); }

/* Publicación destacada */
.pub-featured {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 3rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2.5rem;
}

.pub-cover {
  display: block;
  aspect-ratio: 612 / 792;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 41, 75, 0.08), 0 18px 40px rgba(19, 41, 75, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: var(--bg-ivory);
}

.pub-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.pub-cover:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 1px 2px rgba(19, 41, 75, 0.08), 0 26px 50px rgba(19, 41, 75, 0.22); }

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.pub-meta .pub-type { color: var(--color-navy); }

.pub-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  color: var(--color-navy);
  margin-bottom: 0.6rem;
}

.pub-title a { color: inherit; text-decoration: none; }
.pub-title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.pub-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--color-cyan);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.pub-summary { font-size: 0.98rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 1.5rem; }

.pub-figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.6rem;
}

.pub-figure { padding: 1rem 1rem 1rem 0; }
.pub-figure + .pub-figure { padding-left: 1rem; border-left: 1px solid var(--border-light); }
.pub-figure strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.7rem; color: var(--color-navy); line-height: 1.1; margin-bottom: 0.3rem; }
.pub-figure span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; display: block; }

.pub-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

.btn-pill.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* Rejilla de publicaciones (biblioteca) */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.pub-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pub-card:hover { border-color: var(--border-light-hover); box-shadow: 0 16px 36px rgba(19, 41, 75, 0.08); transform: translateY(-3px); }

.pub-card-cover {
  background: var(--bg-ivory);
  padding: 2rem 2.5rem 0;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pub-card-cover img { width: 100%; display: block; box-shadow: 0 10px 30px rgba(19, 41, 75, 0.18); }

.pub-card-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.pub-card .pub-title { font-size: 1.3rem; }
.pub-card .pub-summary { font-size: 0.9rem; margin-bottom: 1.2rem; flex-grow: 1; }

.pub-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

.pub-filter {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pub-filter:hover { border-color: var(--color-navy); color: var(--color-navy); }
.pub-filter.is-active { background: var(--color-navy); border-color: var(--color-navy); color: #ffffff; }

.pub-empty { color: var(--text-muted); font-size: 0.95rem; padding: 2rem 0; }

/* Cabecera de páginas internas */
.page-hero {
  padding: 140px 0 3rem;
  background: var(--bg-ivory);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.page-hero .section-desc { max-width: 720px; }

.breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-navy); text-decoration: underline; }

/* ==========================================================================
   PÁGINA DE ESTUDIO
   ========================================================================== */
.study-hero {
  padding: 135px 0 3.5rem;
  background: var(--bg-ivory);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.study-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: 4rem;
  align-items: center;
}

.study-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.study-body { background: #ffffff; position: relative; z-index: 1; }

.study-section { padding: 3.5rem 0; border-bottom: 1px solid var(--border-light); }
.study-section:last-child { border-bottom: none; }

.study-narrow { max-width: 780px; }

.study-kicker {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.study-h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 1.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--color-navy);
}

.study-lead { font-size: 1.12rem; line-height: 1.75; color: var(--text-secondary); }
.study-p { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1rem; }

.study-figures-band {
  background: var(--bg-navy-deep);
  color: #ffffff;
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.study-figures-band .pub-figures { border-color: rgba(255, 255, 255, 0.14); margin: 0; }
.study-figures-band .pub-figure + .pub-figure { border-color: rgba(255, 255, 255, 0.14); }
.study-figures-band .pub-figure strong { color: #ffffff; font-size: 2.3rem; }
.study-figures-band .pub-figure span { color: var(--color-cyan-glow); font-size: 0.86rem; }

/* Hallazgos */
.findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 1.75rem; }
.finding { border-top: 2px solid var(--color-navy); padding-top: 1.1rem; }
.finding-num { font-family: var(--font-serif); color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.4rem; }
.finding h3 { font-size: 1.22rem; color: var(--color-navy); line-height: 1.3; margin-bottom: 0.6rem; }
.finding p { font-size: 0.93rem; line-height: 1.7; color: var(--text-secondary); }

/* Cadena de variables */
.var-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
}

.var-stage-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.var-stage { display: flex; flex-direction: column; }
.var-stage-boxes { display: flex; flex-direction: column; gap: 0.75rem; flex-grow: 1; justify-content: center; }

.var-box {
  border-radius: 4px;
  padding: 0.95rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
}

.var-box small { display: block; font-weight: 400; font-size: 0.78rem; margin-top: 0.3rem; opacity: 0.85; }
.var-box.is-pressure { background: var(--bg-ivory); color: var(--color-navy); border: 1px solid var(--border-light); }
.var-box.is-core { background: var(--color-navy); color: #ffffff; }
.var-box.is-capacity { background: #3d5a80; color: #ffffff; }
.var-box.is-result { background: #0d1d36; color: #ffffff; }

.var-stage + .var-stage .var-stage-boxes::before {
  content: '→';
  position: absolute;
  margin-left: -1.05rem;
  color: var(--text-muted);
  align-self: flex-start;
}

.var-note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-serif);
}

/* Tabla de variables */
.study-table { width: 100%; border-collapse: collapse; margin-top: 1.75rem; font-size: 0.94rem; }
.study-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; padding: 0 1rem 0.7rem 0; border-bottom: 1px solid var(--color-navy); }
.study-table td { padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--border-light); vertical-align: top; color: var(--text-secondary); line-height: 1.55; }
.study-table td:first-child { font-weight: 600; color: var(--color-navy); width: 32%; }

/* Matriz de escenarios */
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }

.scenario {
  background: var(--bg-ivory);
  border-radius: 4px;
  padding: 1.6rem 1.6rem 1.7rem;
}

.scenario h3 { font-size: 1.3rem; color: var(--color-navy); margin-bottom: 0.6rem; line-height: 1.25; }
.scenario p { font-size: 0.93rem; line-height: 1.65; color: var(--text-secondary); }
.scenario-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; display: block; }

.scenario.is-bet { background: var(--color-navy); }
.scenario.is-bet h3 { color: #ffffff; }
.scenario.is-bet p { color: #dfe5ee; }
.scenario.is-bet .scenario-tag { color: var(--color-cyan-glow); }

/* Líneas de acción ordenadas */
.action-list { list-style: none; counter-reset: act; margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.action-list li { counter-increment: act; display: grid; grid-template-columns: 2.4rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--border-light); }
.action-list li::before { content: counter(act, decimal-leading-zero); font-family: var(--font-serif); color: var(--text-muted); font-size: 1.05rem; }
.action-list strong { display: block; color: var(--color-navy); font-size: 1rem; margin-bottom: 0.25rem; }
.action-list span { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }

.callout {
  border-left: 2px solid var(--color-navy);
  background: var(--bg-ivory);
  padding: 1.25rem 1.5rem;
  margin-top: 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--color-navy);
}

/* Métodos */
.method-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.method-tag { border: 1px solid var(--border-light); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.84rem; color: var(--text-secondary); background: #ffffff; }
.method-tag strong { color: var(--color-navy); font-weight: 600; }

/* CTA final del estudio */
.study-cta {
  background: var(--bg-navy-deep);
  color: #ffffff;
  border-radius: 6px;
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.study-cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #ffffff; line-height: 1.2; margin-bottom: 0.75rem; }
.study-cta p { color: #c9d3e3; font-size: 1rem; line-height: 1.7; }
.study-cta .btn-white { background: #ffffff; color: var(--color-navy); }
.study-cta .btn-outline { color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.study-cta-actions { display: flex; flex-direction: column; gap: 0.8rem; }

.study-refs { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.study-refs li { margin-bottom: 0.5rem; list-style: none; }

/* Responsive de publicaciones y estudio */
@media (max-width: 960px) {
  .pub-featured { grid-template-columns: 1fr; gap: 2rem; padding: 1.75rem; }
  .pub-featured .pub-cover { max-width: 260px; }
  .study-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .study-hero-grid .pub-cover { max-width: 260px; order: -1; }
  .findings { grid-template-columns: 1fr; }
  .var-chain { grid-template-columns: 1fr 1fr; }
  .var-stage + .var-stage .var-stage-boxes::before { display: none; }
  .action-list { grid-template-columns: 1fr; }
  .study-cta { grid-template-columns: 1fr; padding: 2rem; }
}

@media (max-width: 640px) {
  .pub-figures { grid-template-columns: 1fr 1fr; }
  .pub-figure:nth-child(3) { padding-left: 0; border-left: none; }
  .pub-figure:nth-child(n+3) { border-top: 1px solid var(--border-light); }
  .study-figures-band .pub-figure:nth-child(n+3) { border-top-color: rgba(255, 255, 255, 0.14); }
  .scenario-grid { grid-template-columns: 1fr; }
  .var-chain { grid-template-columns: 1fr; }
  .study-table td:first-child { width: 40%; }
  .publications-section { padding: 3.25rem 0; }
}

/* ==========================================================================
   BARRA DE MODO DE LECTURA (LEER ESTUDIO COMPLETO / LEER RESUMEN / DESCARGAR)
   Y MAQUETACIÓN DEL TEXTO ÍNTEGRO CON ÍNDICE LATERAL
   ========================================================================== */
.study-mode-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 88px;
  z-index: 40;
  box-shadow: 0 4px 20px rgba(19, 41, 75, 0.05);
}

.study-mode-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.study-mode-tabs {
  display: inline-flex;
  align-items: center;
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.25rem;
}

.study-mode-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.study-mode-tab:hover {
  color: var(--color-navy);
}

.study-mode-tab.is-active {
  background: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(19, 41, 75, 0.18);
}

.study-mode-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.study-verbatim-badge {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-weight: 500;
}

.study-view {
  display: none;
}

.study-view.is-active {
  display: block;
}

/* Maquetación de lectura íntegra con índice lateral */
.study-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 3.5rem;
  padding: 3.25rem 0 4rem;
  align-items: start;
}

.study-toc {
  position: sticky;
  top: 160px;
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1.35rem 1.25rem;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
}

.study-toc-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-light);
}

.study-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.study-toc-list a {
  display: block;
  font-size: 0.83rem;
  line-height: 1.4;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.18s ease;
}

.study-toc-list a:hover {
  color: var(--color-navy);
  font-weight: 600;
}

.study-article {
  max-width: 820px;
}

.study-article-sec {
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 165px;
}

.study-article-sec:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.study-article h3.study-subh {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--color-navy);
  margin: 1.85rem 0 0.75rem;
  line-height: 1.3;
}

.study-bullet-list {
  list-style: none;
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.study-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.study-bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-navy);
  font-weight: 700;
}

.study-postulado-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.study-postulado-list li {
  background: var(--bg-ivory);
  border-left: 3px solid var(--color-navy);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.study-postulado-list li strong {
  color: var(--color-navy);
}

.study-table-caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-top: 2rem;
  margin-bottom: 0.35rem;
}

.study-table-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.study-table-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.65rem;
  margin-bottom: 1.5rem;
}

.study-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 0.5rem;
}

.study-keywords {
  font-size: 0.92rem;
  color: var(--text-muted);
  background: var(--bg-ivory);
  padding: 0.75rem 1.1rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.study-keywords strong {
  color: var(--color-navy);
}

@media (max-width: 992px) {
  .study-mode-bar { top: 76px; }
  .study-layout { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 3rem; }
  .study-toc { position: static; max-height: none; }
}

@media print {
  .site-header, .mobile-drawer, #ambient-constellation-canvas, .study-cta, .site-footer, .study-mode-bar, .study-toc { display: none !important; }
  .study-view { display: block !important; }
  .study-hero, .page-hero { padding-top: 1rem; }
}

/* ==========================================================================
   v4 · METODOLOGÍA PROSPECTIO · CAJA DE HERRAMIENTAS (SIN PASO A PASO)
   ========================================================================== */
.method-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: end;
}
.method-intro .section-head { margin-bottom: 0; }
.method-statement {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--color-navy);
}
.method-toolkit {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.method-tool {
  background: var(--bg-ivory-soft);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  
}

.method-tool-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--color-navy);
  margin: 0 0 0.45rem;
}
.method-tool-purpose {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
  flex-grow: 1;
}
.method-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.method-chips span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-cyan);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  white-space: nowrap;
}
.methodology-block .section-cta-banner { margin-top: 2rem; }
.method-cta-note { font-size: 0.88rem; color: var(--text-muted); }

@media (max-width: 1200px) {
  .method-toolkit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .method-intro { grid-template-columns: 1fr; gap: 1.25rem; }
  .method-toolkit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .method-toolkit { grid-template-columns: 1fr; }
  .method-statement { font-size: 1.08rem; padding-left: 1rem; }
}

/* ==========================================================================
   v4 · GOBERNANZA ANTICIPATORIA
   ========================================================================== */
.gov-section { background: var(--bg-ivory); border-top: 1px solid var(--border-light); }
.gov-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: end;
}
.gov-head .section-head { margin-bottom: 0; }
.gov-definition {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}


@media (max-width: 860px) {
  .gov-head { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 640px) {
  .gov-definition { font-size: 1.04rem; }
}

/* Menú con 6 enlaces: compactar antes de que choque con el botón */
@media (max-width: 1280px) {
  .nav-links { gap: 1.3rem; }
  .nav-links a { font-size: 0.88rem; }
  .brand-logo-img { max-width: 290px; height: 48px; }
}
@media (max-width: 1100px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.84rem; }
  .brand-logo-img { max-width: 240px; height: 42px; }
}

/* v4.1 · Gobernanza anticipatoria en versión breve (contexto) */
.gov-section { padding: 3.5rem 0; }
.gov-text { min-width: 0; }
.gov-context { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); margin: 1rem 0 1.25rem; }
.gov-link { display: inline-block; }

/* v4.2 · Menú de 6 enlaces: en portátiles pequeños el botón se ocultaba fuera de pantalla */
@media (max-width: 1080px) {
  .header-cta-desktop { display: none; }
}

/* ==========================================================================
   v5 · METODOLOGÍA: PANEL ÚNICO CON DIAGRAMA RADIAL
   ========================================================================== */
.method-toolkit, .method-tool { display: none; }

.method-panel {
  margin-top: 2.75rem;
  background: var(--bg-navy-deep);
  background-image:
    radial-gradient(circle at 22% 38%, rgba(201, 211, 227, 0.10), transparent 55%),
    radial-gradient(circle at 90% 110%, rgba(61, 90, 128, 0.45), transparent 50%);
  border-radius: 22px;
  padding: 2.75rem 3rem 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(19, 41, 75, 0.18);
}

.method-visual svg { display: block; width: 100%; max-width: 440px; margin: 0 auto; overflow: visible; }

.mv-ring { fill: none; stroke: rgba(201, 211, 227, 0.14); stroke-width: 1; }
.mv-ring-outer { stroke-dasharray: 2 6; }
.mv-orbit { stroke: rgba(201, 211, 227, 0.28); stroke-dasharray: 4 7; animation: mvSpin 60s linear infinite; transform-origin: 200px 200px; }
.mv-web { fill: rgba(201, 211, 227, 0.05); stroke: rgba(201, 211, 227, 0.30); stroke-width: 1; }
.mv-spoke { stroke: rgba(201, 211, 227, 0.30); stroke-width: 1; transition: stroke 0.25s ease, stroke-width 0.25s ease; }
.mv-core { fill: #ffffff; filter: drop-shadow(0 0 22px rgba(201, 211, 227, 0.45)); }
.mv-core-text { font-family: var(--font-serif); font-size: 15px; fill: var(--color-navy); }

.mv-node circle { fill: var(--bg-navy-deep); stroke: var(--color-cyan-glow); stroke-width: 1.2; transition: fill 0.25s ease, stroke-width 0.25s ease; }
.mv-node text { font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; fill: #ffffff; transition: fill 0.25s ease; pointer-events: none; }
.mv-node { cursor: default; }
.mv-node.is-active circle { fill: var(--color-cyan-glow); stroke-width: 2; }
.mv-node.is-active text { fill: var(--color-navy); }
.mv-spoke.is-active { stroke: var(--color-cyan-glow); stroke-width: 1.6; }

@keyframes mvSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mv-orbit { animation: none; } }

.method-list { list-style: none; margin: 0; padding: 0; }

.method-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0.9rem;
  margin: 0 -0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  transition: background 0.25s ease;
  outline: none;
}
.method-item:last-child { border-bottom: none; }
.method-item.is-active, .method-item:focus-visible { background: rgba(255, 255, 255, 0.06); }

.method-item-dot {
  width: 10px; height: 10px; margin-top: 0.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--color-cyan-glow);
  transition: background 0.25s ease;
}
.method-item.is-active .method-item-dot { background: var(--color-cyan-glow); }

.method-item-name {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 0.2rem;
}
.method-item-purpose { font-size: 0.93rem; color: var(--color-cyan-glow); margin: 0 0 0.35rem; line-height: 1.5; }
.method-item-tools {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.method-panel-foot {
  grid-column: 1 / -1;
  margin: 0 -3rem;
  padding: 1.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.method-panel-foot p { margin: 0; font-size: 1rem; color: var(--color-cyan-glow); line-height: 1.5; }
.method-panel-foot strong { color: #ffffff; font-weight: 600; }
.method-panel-foot .btn-pill { background: #ffffff; color: var(--color-navy); border-color: #ffffff; white-space: nowrap; }

@media (max-width: 980px) {
  .method-panel { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.25rem 1.75rem 0; }
  .method-visual svg { max-width: 360px; }
  .method-panel-foot { margin: 0 -1.75rem; padding: 1.35rem 1.75rem; }
}
@media (max-width: 560px) {
  .method-panel { padding: 1.75rem 1.25rem 0; border-radius: 18px; }
  .method-visual svg { max-width: 290px; }
  .method-item { padding: 0.9rem 0.6rem; margin: 0 -0.6rem; }
  .method-panel-foot { margin: 0 -1.25rem; padding: 1.25rem; }
  .method-panel-foot .btn-pill { width: 100%; text-align: center; }
}

@media (max-width: 560px) { .mv-node text { font-size: 13.5px; } .mv-core-text { font-size: 17px; } }

/* ==========================================================================
   v6 · GOBERNANZA ANTICIPATORIA · ENFOQUE EJECUTIVO
   ========================================================================== */
.gov-section { padding: 4.5rem 0; background: var(--bg-ivory); }

.gov-exec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.gov-exec > * { min-width: 0; }

.gov-exec-head .section-head, .gov-exec-head .section-tag { margin-bottom: 1.1rem; }
.gov-exec-head .section-title { margin: 0 0 1.1rem; max-width: 19ch; }

.gov-exec-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.gov-exec-actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }

.gov-outcomes {
  list-style: none;
  margin: 0;
  padding: 0.5rem 2.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(19, 41, 75, 0.08);
}

.gov-outcome {
  position: relative;
  padding: 1.6rem 0 1.6rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.gov-outcome:last-child { border-bottom: none; }
.gov-outcome::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.85rem;
  bottom: 1.85rem;
  width: 3px;
  border-radius: 3px;
  background: var(--color-navy);
}

.gov-outcome h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-navy);
  margin: 0 0 0.35rem;
}
.gov-outcome p { margin: 0; font-size: 0.97rem; line-height: 1.6; color: var(--text-secondary); }

@media (max-width: 960px) {
  .gov-exec { grid-template-columns: 1fr; gap: 2.25rem; }
  .gov-exec-head .section-title { max-width: none; }
}
@media (max-width: 560px) {
  .gov-section { padding: 3.25rem 0; }
  .gov-outcomes { padding: 0.25rem 1.25rem; border-radius: 16px; }
  .gov-outcome { padding: 1.3rem 0 1.3rem 1.1rem; }
  .gov-outcome h3 { font-size: 1.2rem; }
  .gov-exec-actions { gap: 1.1rem; }
  .gov-exec-actions .btn-pill { width: 100%; text-align: center; }
}

/* v7 · Sectores compactos */
.sectors-compact { padding: 3.75rem 0; }
.sectors-compact .section-head { margin-bottom: 0; }
.sectors-compact .sectors-grid-3 { margin-top: 1.75rem; gap: 1.25rem; }
.sectors-compact .sector-box {
  padding: 1.6rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.sectors-compact .sector-title { font-size: 1.3rem; margin: 0 0 0.35rem; }
.sectors-compact .sector-text { font-size: 0.92rem; line-height: 1.5; margin: 0 0 1rem; }
.sectors-compact .sector-outcomes { margin: 0; }
.sectors-compact .sector-outcomes li { font-size: 0.9rem; line-height: 1.45; margin-bottom: 0.45rem; }
  .sectors-compact .sector-cta-link { margin-top: 0; }
@media (max-width: 720px) {
  .sectors-compact { padding: 3rem 0; }
}

/* v8 · Compactación ejecutiva debajo de Sectores (Gobernanza + Metodología) */
.gov-section { padding: 3.75rem 0; }
.methodology-block { padding: 3.75rem 0; }
.method-panel {
  margin-top: 2rem;
  padding: 2rem 2.5rem 0;
  gap: 2.25rem;
}
.method-visual svg { max-width: 360px; }
.method-item { padding: 0.85rem 0.9rem; }
.method-item-purpose { margin: 0; }
.method-panel-foot { margin: 0 -2.5rem; padding: 1.25rem 2.5rem; }
@media (max-width: 980px) {
  .method-panel { padding: 1.75rem 1.5rem 0; gap: 1.25rem; }
  .method-panel-foot { margin: 0 -1.5rem; padding: 1.15rem 1.5rem; }
}
@media (max-width: 560px) {
  .methodology-block { padding: 3rem 0; }
  .method-panel { padding: 1.5rem 1.15rem 0; }
  .method-panel-foot { margin: 0 -1.15rem; padding: 1.1rem 1.15rem; }
}

/* v9.2 · Franja editorial azul marino de Publicaciones bajo Portafolio Estratégico */
.pub-editorial-band {
  background: var(--bg-navy-deep);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(201, 211, 227, 0.09), transparent 52%),
    radial-gradient(circle at 88% 90%, rgba(61, 90, 128, 0.35), transparent 50%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.75rem 0 3rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}
.pub-shelf-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.pub-shelf-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan-glow);
}
.pub-shelf-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}
.pub-shelf-all span {
  transition: transform 0.2s ease;
}
.pub-shelf-all:hover {
  color: var(--color-cyan-glow);
}
.pub-shelf-all:hover span {
  transform: translateX(3px);
}
.pub-shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
}
.pub-shelf-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s ease;
}
.pub-shelf-item:first-child {
  padding-left: 0;
  border-left: none;
}
.pub-shelf-item:hover {
  border-left-color: rgba(255, 255, 255, 0.55);
}
.pub-shelf-meta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201, 211, 227, 0.72);
  margin-bottom: 0.45rem;
}
.pub-shelf-title {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 0.55rem;
  transition: color 0.2s ease;
}
.pub-shelf-item:hover .pub-shelf-title {
  color: var(--color-cyan-glow);
}
.pub-shelf-hook {
  font-size: 0.9rem;
  line-height: 1.58;
  color: rgba(226, 232, 240, 0.82);
  margin: 0 0 0.95rem;
  flex-grow: 1;
}
.pub-shelf-read {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-cyan-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}
.pub-shelf-read span {
  transition: transform 0.2s ease;
}
.pub-shelf-item:hover .pub-shelf-read {
  color: #ffffff;
}
.pub-shelf-item:hover .pub-shelf-read span {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .pub-editorial-band {
    padding: 2.25rem 0 2.5rem;
  }
  .pub-shelf-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pub-shelf-item {
    padding-left: 0;
    border-left: none;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .pub-shelf-item:first-child {
    padding-top: 0;
    border-top: none;
  }
}




