/* ==========================================================================
   Bridge MX — sistema de diseño compartido
   Reconstrucción 2026 con cambios de la propuesta editorial aplicados.
   ========================================================================== */

:root {
  --navy: #0F1D3A;
  --navy-deep: #08132A;
  --gold: #C9A961;
  --gold-soft: #E0C68A;
  --paper: #F7F4ED;
  --pale: #ECE7DA;
  --ink: #1A2238;
  --graphite: #4A4D55;
  --mute: #8B8E96;
  --divider: #E5E2DA;
  --whatsapp: #25D366;
  --serif: 'Source Serif Pro', 'Cambria', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
em { font-style: italic; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px;
  background: var(--navy); color: #fff; padding: 12px 18px;
  width: auto; height: auto; z-index: 1000; border-radius: 2px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== TOPBAR ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
  padding: 14px 0;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo-mark {
  display: flex; align-items: center; gap: 12px; color: var(--navy);
}
.logo-mark svg { width: 36px; height: 30px; }
.wordmark {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--navy);
}
.wordmark span { color: var(--gold); }
.nav-links {
  display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--graphite);
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff;
  padding: 10px 20px; border-radius: 2px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--navy); transition: background .2s;
}
.nav-cta:hover { background: var(--navy-deep); }
.nav-cta-clientes {
  background: transparent; color: var(--navy);
  border: 1px solid var(--navy);
}
.nav-cta-clientes:hover { background: var(--navy); color: #fff; }

/* ===== HERO (CDMX) ===== */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(105deg, rgba(15,29,58,.92) 0%, rgba(15,29,58,.78) 45%, rgba(15,29,58,.55) 100%),
    url("imagenes/hero-cdmx.jpg");
  background-size: cover; background-position: center right; background-repeat: no-repeat;
  color: #fff; position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 5vw, 72px);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,169,97,.65) 35%, rgba(201,169,97,.85) 60%, transparent 100%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 760px); gap: 48px;
  align-items: center; position: relative; z-index: 1;
}
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px); line-height: 1.05;
  letter-spacing: -0.015em; margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-sub {
  font-size: 18px; line-height: 1.55; max-width: 620px;
  color: rgba(255,255,255,.88); margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.hero-sub em { color: var(--gold-soft); font-style: italic; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 14px; font-weight: 500;
  border-radius: 2px; transition: all .2s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1FB957; border-color: #1FB957; }
.btn-arrow::after { content: "→"; font-size: 16px; transition: transform .2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

.hero-meta {
  margin-top: 36px; display: flex; gap: 48px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  font-size: 12px; color: rgba(255,255,255,.7);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-meta strong {
  display: block; font-family: var(--serif); font-size: 28px; font-weight: 400;
  color: var(--gold); letter-spacing: 0; text-transform: none; margin-bottom: 4px;
}

/* ===== SECCIONES ===== */
section { padding: clamp(48px, 6vw, 80px) 0; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.section-label::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.section-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.15;
  letter-spacing: -0.01em; color: var(--navy);
  max-width: 880px; margin-bottom: 32px;
}
.section-h2 em { font-style: italic; color: var(--gold); }
.section-lede {
  font-size: 19px; line-height: 1.6; color: var(--graphite);
  max-width: 720px; margin-bottom: 44px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 8px; }

/* ===== POR QUÉ BRIDGE ===== */
.manifiesto { background: var(--paper); border-bottom: 1px solid var(--divider); }
.manifiesto-quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(28px, 3.2vw, 44px); line-height: 1.3;
  color: var(--navy); max-width: 920px; margin-bottom: 36px;
}
.manifiesto-quote::before {
  content: "“"; color: var(--gold); font-size: 1.6em;
  line-height: 0.4em; margin-right: 4px; vertical-align: -.15em;
}
.pilares {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  border-top: 1px solid var(--divider); padding-top: 32px;
}
.pilar-num {
  font-family: var(--serif); font-size: 32px; color: var(--gold);
  margin-bottom: 12px;
}
.pilar h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--navy); margin-bottom: 12px;
}
.pilar p { font-size: 14px; line-height: 1.6; color: var(--graphite); }

/* ===== TRAYECTORIA ===== */
.trayectoria { background: var(--navy); color: #fff; }
.trayectoria .section-label { color: var(--gold-soft); }
.trayectoria .section-h2 { color: #fff; }
.trayectoria .section-h2 em { color: var(--gold); }
.trayectoria .section-lede { color: rgba(255,255,255,.78); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.stat-value {
  font-family: var(--serif); font-size: 42px; font-weight: 400;
  color: var(--gold); margin-bottom: 8px; line-height: 1;
}
.stat-value sup { font-size: 12px; vertical-align: top; opacity: .8; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }
.stat-label span { display: block; font-size: 11px; opacity: .6; margin-top: 4px; }
.barras {
  margin-top: 60px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.barras h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  margin-bottom: 28px;
}
.barra {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  align-items: center; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.barra-label { font-size: 14px; color: rgba(255,255,255,.85); }
.barra-pct { font-family: var(--serif); font-size: 18px; color: var(--gold); }
.barras-note { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 20px; line-height: 1.6; }

/* ===== PROBLEMAS QUE RESOLVEMOS ===== */
.problemas { background: #fff; }
.problemas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.problema-col {
  border-top: 2px solid var(--gold); padding-top: 28px;
}
.problema-col h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  color: var(--navy); margin-bottom: 20px;
}
.problema-col ul { display: flex; flex-direction: column; gap: 14px; }
.problema-col li {
  font-size: 14.5px; line-height: 1.55; color: var(--graphite);
  padding-left: 18px; position: relative;
}
.problema-col li::before {
  content: "—"; color: var(--gold); position: absolute; left: 0;
}

/* ===== ÁREAS ===== */
.areas { background: var(--paper); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.area-card {
  background: #fff; padding: 40px 32px;
  border-top: 3px solid var(--gold);
}
.area-num {
  font-family: var(--serif); font-size: 28px; color: var(--gold); margin-bottom: 14px;
}
.area-card h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  color: var(--navy); margin-bottom: 16px; line-height: 1.2;
}
.area-desc { font-size: 14px; color: var(--graphite); margin-bottom: 22px; line-height: 1.6; }
.area-card ul {
  border-top: 1px solid var(--divider); padding-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.area-card li {
  font-size: 13px; color: var(--graphite); padding-left: 16px;
  position: relative; line-height: 1.5;
}
.area-card li::before {
  content: "·"; color: var(--gold); font-weight: bold;
  position: absolute; left: 0; top: -2px;
}

/* ===== METODOLOGÍA ===== */
.metodologia { background: #fff; }
.fases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fase { border-top: 1px solid var(--divider); padding-top: 28px; }
.fase-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.fase h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--navy); margin-bottom: 14px;
}
.fase p { font-size: 14px; color: var(--graphite); line-height: 1.6; }

/* ===== MODALIDADES ===== */
.modalidades { background: var(--paper); border-top: 1px solid var(--divider); }
.modalidades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.modalidad {
  background: #fff; padding: 36px 28px;
}
.modalidad-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.modalidad h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--navy); margin-bottom: 16px;
}
.modalidad p { font-size: 14px; color: var(--graphite); margin-bottom: 22px; line-height: 1.6; }
.modalidad-prods {
  border-top: 1px solid var(--divider); padding-top: 18px;
  font-size: 13px;
}
.modalidad-prods strong {
  display: block; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mute); margin-bottom: 8px;
}
.modalidad-prods ul { display: flex; flex-direction: column; gap: 6px; }
.modalidad-prods li { color: var(--graphite); }

/* ===== MODELO 6D ===== */
.modelo { background: #fff; }
.dimensiones {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px; padding-bottom: 32px;
  border-bottom: 1px solid var(--divider);
}
.dimension-chip {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  padding: 8px 16px; border: 1px solid var(--divider);
  color: var(--navy); border-radius: 2px;
}
.dimensiones-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px;
}
.dim-num { font-family: var(--serif); font-size: 22px; color: var(--gold); margin-bottom: 10px; }
.dim h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.dim p { font-size: 14px; color: var(--graphite); line-height: 1.6; }

/* ===== CASOS DE ÉXITO ===== */
.casos { background: var(--paper); }
.casos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.caso {
  background: #fff; padding: 36px 32px; border-left: 3px solid var(--gold);
}
.caso-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 18px;
}
.caso-meta .pill {
  color: var(--navy); font-weight: 600;
}
.caso h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--navy); margin-bottom: 24px; line-height: 1.3;
}
.caso-block { margin-bottom: 18px; }
.caso-block h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.caso-block p { font-size: 14px; color: var(--graphite); line-height: 1.55; }
.caso-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  border-top: 1px solid var(--divider); padding-top: 18px; margin-top: 22px;
}
.caso-stat { font-size: 12px; color: var(--graphite); }
.caso-stat strong {
  display: block; font-family: var(--serif); font-size: 22px;
  color: var(--navy); font-weight: 500; margin-bottom: 4px;
}
.casos-nota {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--divider);
  font-size: 12px; color: var(--mute); font-style: italic;
}

/* ===== BRIDGE FINANCE (sección home) ===== */
.finance {
  background: linear-gradient(180deg, var(--paper) 0%, #fff 100%);
  border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider);
}
.finance-header {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px;
  align-items: end; margin-bottom: 44px; padding-bottom: 40px;
  border-bottom: 1px solid var(--divider);
}
.finance-mark { width: 72px; height: 60px; color: var(--navy); }
.finance-titles .endorse {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.finance-titles h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4vw, 56px); color: var(--navy); line-height: 1.05;
}
.finance-titles h2 em { color: var(--gold); font-style: italic; }
.finance-titles .vehicle {
  font-size: 12px; color: var(--mute);
  margin-top: 14px; font-weight: 500; letter-spacing: 0.05em;
}
.finance-lede {
  font-size: 18px; line-height: 1.6; color: var(--graphite);
  max-width: 800px; margin-bottom: 40px;
}
.finance-lede em { font-family: var(--serif); font-style: italic; color: var(--navy); font-size: 1.05em; }

/* Cascade narrativo */
.finance-cascade {
  margin: 16px 0 56px; padding: 32px 36px;
  background: #fff; border-left: 3px solid var(--gold); max-width: 820px;
}
.finance-cascade p {
  font-family: var(--serif); font-size: 19px; line-height: 1.55;
  color: var(--navy); margin-bottom: 10px;
}
.finance-cascade p:last-child {
  margin-bottom: 0; padding-top: 12px;
  border-top: 1px solid var(--divider);
  font-style: italic; color: var(--graphite);
}
.finance-cascade strong { color: var(--gold); font-weight: 600; }

/* Momentos del cliente */
.finance-section-h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2;
  color: var(--navy); margin: 44px 0 12px;
}
.finance-section-h3 em { color: var(--gold); font-style: italic; }
.finance-section-lede {
  font-size: 16px; color: var(--graphite);
  max-width: 720px; margin-bottom: 36px; line-height: 1.6;
}
.momentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.momento {
  background: #fff; border: 1px solid var(--divider);
  padding: 32px 28px; display: flex; flex-direction: column;
}
.momento-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.momento h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--navy); margin-bottom: 18px; line-height: 1.2;
}
.momento .producto {
  padding: 14px 0; border-top: 1px solid var(--divider);
  font-size: 13px; line-height: 1.5; color: var(--graphite);
}
.momento .producto:first-of-type { border-top: 1px solid var(--navy); }
.momento .producto strong {
  display: block; color: var(--navy); font-weight: 600;
  font-size: 13.5px; margin-bottom: 3px;
}
.producto-tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; color: var(--mute); margin-right: 8px;
}

/* Perfiles */
.perfiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.perfil { padding: 24px 20px; background: #fff; border: 1px solid var(--divider); }
.perfil-num {
  font-size: 11px; letter-spacing: 0.22em; font-weight: 700;
  color: var(--gold); margin-bottom: 10px;
}
.perfil h4 {
  font-family: var(--serif); font-size: 16px; font-weight: 500;
  color: var(--navy); margin-bottom: 10px; line-height: 1.25;
}
.perfil p { font-size: 12.5px; line-height: 1.55; color: var(--graphite); }

/* CTA "Treinta minutos" */
.finance-final-cta {
  margin-top: 48px; padding: 32px 40px;
  background: var(--navy); color: #fff;
  display: grid; grid-template-columns: 1.6fr auto; gap: 36px; align-items: center;
}
.finance-final-cta .quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35;
}
.finance-final-cta .quote strong { color: var(--gold); font-style: normal; font-weight: 400; }
.finance-final-cta .sub {
  margin-top: 12px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.78);
}
.finance-closing {
  margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--divider); text-align: center;
}
.finance-closing .tag {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 8px;
}
.finance-closing h3 {
  font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px);
  color: var(--navy); font-weight: 400; line-height: 1.2;
}
.finance-closing h3 em { color: var(--gold); font-style: italic; }

.finance-disclaimer {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--divider);
  font-size: 11px; color: var(--mute); line-height: 1.7; max-width: 920px;
}

/* ===== CRITERIO BRIDGE (insights cards) ===== */
.criterio { background: #fff; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.article-card {
  border: 1px solid var(--divider); padding: 0;
  display: flex; flex-direction: column;
  transition: border-color .2s;
}
.article-card:hover { border-color: var(--gold); }
.article-cover {
  position: relative;
  background-color: var(--navy);
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  height: 180px;
  display: flex; align-items: flex-end;
  padding: 16px 20px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  overflow: hidden;
}
.article-cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,29,58,0) 40%, rgba(15,29,58,.78) 100%);
  pointer-events: none;
}
.article-cover .tag { position: relative; z-index: 1; }
.article-cover.derecho-digital { background-image: url('/imagenes/insights/derecho-digital.svg'); }
.article-cover.ma-sellside { background-image: url('/imagenes/insights/ma-due-diligence.svg'); }
.article-cover.ia-abogados { background-image: url('/imagenes/insights/ia-abogados.svg'); }
.article-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.article-meta {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 12px;
}
.article-card h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  color: var(--navy); margin-bottom: 12px; line-height: 1.3; flex: 1;
}
.article-card p { font-size: 14px; color: var(--graphite); margin-bottom: 18px; line-height: 1.55; }
.article-card a.read {
  font-size: 13px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.05em;
}
.article-card a.read::after { content: " →"; }

.criterio-cta { text-align: center; margin-top: 48px; }

/* ===== CLIENTES Y ALIADOS (página /clientes/) ===== */
.industrias-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.industria {
  padding: 28px 24px; border-top: 2px solid var(--gold);
}
.industria h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  color: var(--navy); margin-bottom: 10px;
}
.industria p { font-size: 13px; color: var(--graphite); line-height: 1.55; }

.logos-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  margin-top: 32px;
}
.logo-card {
  border: 1px solid var(--divider); padding: 24px 16px;
  text-align: center; background: #fff;
  display: flex; align-items: center; justify-content: center;
  min-height: 120px;
  transition: border-color .2s;
}
.logo-card:hover { border-color: var(--gold); }
.logo-card img {
  max-height: 64px; max-width: 100%;
  width: auto; object-fit: contain;
  filter: grayscale(60%) opacity(.85);
  transition: filter .25s;
}
.logo-card:hover img { filter: grayscale(0%) opacity(1); }
.logo-card .name {
  font-family: var(--serif); font-size: 16px; color: var(--navy); font-weight: 500;
}
.logo-card .name span {
  display: block; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mute); margin-top: 4px;
  font-family: var(--sans); font-weight: 400;
}
.logos-mas {
  text-align: center; margin-top: 24px;
  font-size: 13px; color: var(--mute); font-style: italic;
}
.capacidades-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cap-card {
  padding: 28px 24px; background: var(--paper); border-left: 3px solid var(--gold);
}
.cap-card h3 {
  font-family: var(--serif); font-size: 17px; font-weight: 500;
  color: var(--navy); margin-bottom: 10px; line-height: 1.25;
}
.cap-card p { font-size: 13px; color: var(--graphite); line-height: 1.55; }

/* ===== EQUIPO ===== */
.equipo-hero { background: #fff; padding: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); }
.equipo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.equipo-img {
  background: var(--paper); padding: 28px;
  border-left: 3px solid var(--gold);
}
.equipo-img img { width: 100%; }
.equipo-img .caption {
  font-size: 12px; color: var(--mute); margin-top: 14px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.equipo-text h2 {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 38px);
  color: var(--navy); margin-bottom: 22px; line-height: 1.2;
}
.equipo-text p { font-size: 15px; color: var(--graphite); margin-bottom: 14px; line-height: 1.65; }
.equipo-stats {
  display: flex; gap: 32px; margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.equipo-stat { font-size: 12px; color: var(--graphite); letter-spacing: 0.1em; text-transform: uppercase; }
.equipo-stat strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold); font-weight: 400; }

.equipo-pract {
  background: var(--paper); border-top: 1px solid var(--divider);
}
.equipo-pract-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.equipo-pract h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px); color: var(--navy); margin-bottom: 24px; line-height: 1.2;
}
.equipo-pract h3 em { color: var(--gold); font-style: italic; }
.equipo-pract ul { display: flex; flex-direction: column; gap: 12px; }
.equipo-pract li {
  font-size: 14px; color: var(--graphite); padding-left: 18px;
  position: relative; line-height: 1.55;
}
.equipo-pract li::before { content: "—"; color: var(--gold); position: absolute; left: 0; }

/* ===== INSIGHTS (listado) ===== */
.insights-hero { background: var(--paper); border-bottom: 1px solid var(--divider); }
.insights-filtros {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 24px 0 32px; border-bottom: 1px solid var(--divider); margin-bottom: 44px;
}
.insights-filtros .label { font-size: 12px; color: var(--mute); margin-right: 8px; align-self: center; letter-spacing: 0.1em; text-transform: uppercase; }
.insights-filtros button {
  font-size: 13px; padding: 8px 16px; background: #fff;
  border: 1px solid var(--divider); cursor: pointer; color: var(--graphite);
  font-family: inherit; transition: all .2s;
}
.insights-filtros button:hover, .insights-filtros button.active {
  border-color: var(--navy); background: var(--navy); color: #fff;
}
.newsletter {
  background: var(--navy); color: #fff; padding: 44px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center;
  margin-top: 80px;
}
.newsletter h2 {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400; line-height: 1.2; margin-bottom: 8px;
}
.newsletter h2 em { color: var(--gold); font-style: italic; }
.newsletter p { font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.55; }
.newsletter form { display: flex; gap: 12px; }
.newsletter input {
  padding: 12px 16px; font-size: 14px; border: none;
  background: rgba(255,255,255,.1); color: #fff;
  font-family: inherit; min-width: 240px;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button {
  padding: 12px 24px; background: var(--gold); color: var(--navy);
  border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600;
}
.newsletter .nota {
  grid-column: 1 / -1; font-size: 11px; color: rgba(255,255,255,.55); margin-top: 12px;
}

/* ===== ARTÍCULOS individuales — formato editorial (igual a producción) ===== */
/* Hero del artículo: fondo navy con ilustración temática (override por slug) */
.article-header {
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(15,29,58,.92) 0%, rgba(15,29,58,.82) 70%, rgba(15,29,58,.95) 100%),
    url("/imagenes/hero-cdmx.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 4px solid var(--gold);
}
/* Variantes por tema — ilustración SVG como fondo del hero del artículo */
.article-header.derecho-digital {
  background-image:
    linear-gradient(180deg, rgba(15,29,58,.86) 0%, rgba(15,29,58,.76) 60%, rgba(15,29,58,.95) 100%),
    url("/imagenes/insights/derecho-digital.svg");
  background-size: cover;
  background-position: center;
}
.article-header.ma-sellside {
  background-image:
    linear-gradient(180deg, rgba(15,29,58,.86) 0%, rgba(15,29,58,.76) 60%, rgba(15,29,58,.95) 100%),
    url("/imagenes/insights/ma-due-diligence.svg");
  background-size: cover;
  background-position: center;
}
.article-header.ia-abogados {
  background-image:
    linear-gradient(180deg, rgba(15,29,58,.86) 0%, rgba(15,29,58,.76) 60%, rgba(15,29,58,.95) 100%),
    url("/imagenes/insights/ia-abogados.svg");
  background-size: cover;
  background-position: center;
}
.article-header .breadcrumbs {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 36px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.article-header .breadcrumbs a { color: rgba(255,255,255,.8); border-bottom: 1px dotted rgba(255,255,255,.3); }
.article-header .breadcrumbs a:hover { color: var(--gold-soft); border-color: var(--gold); }
.article-header .breadcrumbs .sep { color: rgba(255,255,255,.35); }
.article-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.article-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.8vw, 60px); line-height: 1.1;
  letter-spacing: -0.015em; color: #fff;
  max-width: 980px; margin-bottom: 28px;
  text-shadow: 0 2px 18px rgba(0,0,0,.32);
}
.article-title em { color: var(--gold); font-style: italic; }
.article-deck {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 2vw, 24px); line-height: 1.5;
  color: rgba(255,255,255,.85);
  max-width: 760px; margin-bottom: 32px;
}
.article-meta {
  display: grid; grid-template-columns: repeat(4, auto); gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.article-meta-item strong {
  display: block; font-family: var(--serif); font-style: normal; font-weight: 500;
  font-size: 17px; letter-spacing: 0;
  color: var(--gold); text-transform: none;
  margin-bottom: 4px;
}
/* Contenido editorial con TOC */
.article-body { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 5vw, 72px); background: #fff; }
.article-body .container { max-width: 1100px; }
.article-layout {
  display: grid; grid-template-columns: 220px minmax(0, 720px);
  gap: 64px; align-items: start;
}
.article-toc {
  position: sticky; top: 96px;
  padding: 24px 0;
  border-top: 2px solid var(--gold);
  font-size: 13px;
}
.article-toc-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.article-toc ol { list-style: none; padding: 0; counter-reset: toc; }
.article-toc li { counter-increment: toc; padding: 8px 0; border-bottom: 1px solid var(--divider); }
.article-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11px; color: var(--gold); margin-right: 10px; font-weight: 600;
}
.article-toc a { color: var(--graphite); transition: color .2s; line-height: 1.4; }
.article-toc a:hover { color: var(--navy); }

.article-prose p {
  font-family: var(--serif); font-size: 18px; line-height: 1.75;
  color: var(--ink); margin-bottom: 22px;
}
.article-prose p:first-of-type::first-letter {
  font-family: var(--serif); font-size: 64px; font-weight: 500;
  float: left; line-height: 0.85; padding: 6px 12px 0 0; color: var(--gold);
}
.article-prose h2 {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500; color: var(--navy); line-height: 1.2;
  margin: 32px 0 14px; padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.article-prose h3 {
  font-family: var(--serif); font-size: clamp(20px, 2vw, 24px);
  font-weight: 500; color: var(--navy); line-height: 1.25;
  margin: 36px 0 14px;
}
.article-prose ul, .article-prose ol {
  padding-left: 24px; margin-bottom: 24px;
}
.article-prose li {
  font-family: var(--serif); font-size: 17px; line-height: 1.7;
  color: var(--ink); margin-bottom: 10px;
}
.article-prose blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 28px;
  margin: 36px 0 36px;
}
.article-prose strong { font-weight: 600; color: var(--navy); }
.article-prose em { font-style: italic; }

/* Sección del autor — ancho completo, propia (fuera del prose) */
.article-author-section {
  background: var(--paper); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider);
  padding: clamp(40px, 5vw, 64px) 0;
}
.article-author-section .container { max-width: 1100px; }
.article-author {
  display: grid; grid-template-columns: 96px minmax(0, 280px) minmax(0, 1fr); gap: 36px;
  align-items: start;
  padding: 0;
  background: transparent; border: none;
}
.article-author .avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  letter-spacing: 0.05em;
  border: 2px solid var(--gold);
}
.article-author .author-id {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}
.article-author .eyebrow-author {
  font-size: 10px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.article-author h4 {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 500;
  color: var(--navy); margin-bottom: 8px; line-height: 1.2;
}
.article-author .role {
  font-size: 13px; color: var(--graphite); font-style: italic; line-height: 1.5;
}
.article-author .bio {
  font-family: var(--serif); font-size: 16px; line-height: 1.65; color: var(--ink);
}
.article-author .bio p { margin-bottom: 12px; }
.article-author .bio p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .article-author { grid-template-columns: 1fr; gap: 20px; }
  .article-author .author-id { border-left: none; padding-left: 0; border-top: 2px solid var(--gold); padding-top: 16px; }
  .article-author .avatar { margin: 0 auto; }
}

/* Share dentro del HERO del artículo — horizontal, pequeño, fondo navy */
.article-share {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  width: max-content;
}
.article-share .label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,.6); font-weight: 700;
  padding-right: 4px;
}
.article-share a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--gold-soft);
  font-size: 0;
  transition: all .2s;
  border: 1px solid transparent;
}
.article-share a:hover {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
}
.article-share a::before {
  font-family: var(--sans); font-weight: 700;
  font-size: 12px; letter-spacing: 0; text-transform: none;
}
.article-share a[href*="linkedin"]::before { content: "in"; }
.article-share a[href*="twitter"]::before { content: "𝕏"; font-size: 13px; }

/* CTA al final del artículo (igual a producción) */
.article-cta {
  background: var(--navy); color: #fff;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 4px solid var(--gold);
}
.article-cta .container { max-width: 920px; text-align: center; }
.article-cta .tag {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.article-cta h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2;
  margin-bottom: 18px;
}
.article-cta h2 em { color: var(--gold); font-style: italic; }
.article-cta p {
  font-size: 16px; color: rgba(255,255,255,.78); line-height: 1.6;
  max-width: 640px; margin: 0 auto 32px;
}

/* Related (insights relacionados) */
.related { background: var(--paper); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--divider); }
.related-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.related h3 {
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400; color: var(--navy); margin-bottom: 36px;
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ===== CONTACTO ===== */
.contacto { background: var(--paper); border-top: 1px solid var(--divider); }
.contacto-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.contacto h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1.15;
  color: var(--navy); margin-bottom: 24px;
}
.contacto h2 em { color: var(--gold); font-style: italic; }
.contacto-sub { font-size: 17px; color: var(--graphite); margin-bottom: 36px; line-height: 1.6; max-width: 520px; }
.contacto-info { display: flex; flex-direction: column; gap: 16px; }
.contacto-info-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--divider);
}
.contacto-info-row .lbl {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute); font-weight: 600;
}
.contacto-info-row .val { font-size: 14px; color: var(--navy); }
.contacto-info-row .val a { color: var(--navy); border-bottom: 1px dotted var(--gold); }
.contacto-info-row .val a:hover { color: var(--gold); }

.contacto-cta-box {
  background: #fff; padding: 40px 36px; border-left: 3px solid var(--gold);
}
.contacto-cta-box h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  color: var(--navy); margin-bottom: 14px; line-height: 1.25;
}
.contacto-cta-box h3 em { color: var(--gold); font-style: italic; }
.contacto-cta-box p { font-size: 14px; color: var(--graphite); margin-bottom: 24px; line-height: 1.6; }
.contacto-cta-box .btns { display: flex; flex-direction: column; gap: 12px; }
.contacto-cta-box .btn { justify-content: center; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-deep); color: rgba(255,255,255,.7);
  padding: 80px 0 40px;
}
footer .container { max-width: 1200px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-mark { color: #fff; margin-bottom: 18px; }
.footer-brand .logo-mark .wordmark { color: #fff; }
.footer-brand .logo-mark .wordmark span { color: var(--gold); }
.footer-brand p {
  font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6);
  max-width: 360px;
}
.footer-brand p em { color: var(--gold-soft); font-style: italic; }
footer h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 18px;
}
footer ul { display: flex; flex-direction: column; gap: 10px; }
footer li a {
  font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s;
}
footer li a:hover { color: var(--gold-soft); }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between; gap: 24px;
  font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: 0.05em;
}
.footer-bottom em { color: var(--gold-soft); font-style: italic; }
.footer-disclaimer {
  margin-top: 24px; font-size: 11px; line-height: 1.65;
  color: rgba(255,255,255,.4); max-width: 900px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .article-toc { position: static; }
  .article-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: 1fr; }
  .fases { grid-template-columns: repeat(2, 1fr); }
  .modalidades-grid { grid-template-columns: 1fr; }
  .dimensiones-grid { grid-template-columns: repeat(2, 1fr); }
  .casos-grid { grid-template-columns: 1fr; }
  .momentos { grid-template-columns: 1fr; }
  .perfiles { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .industrias-grid { grid-template-columns: repeat(2, 1fr); }
  .capacidades-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .problemas-grid { grid-template-columns: 1fr; }
  .equipo-grid { grid-template-columns: 1fr; }
  .equipo-pract-grid { grid-template-columns: 1fr; }
  .finance-final-cta { grid-template-columns: 1fr; padding: 32px 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .newsletter input { width: 100%; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .topbar-inner { flex-wrap: wrap; gap: 16px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; font-size: 13px; gap: 12px; flex-wrap: wrap; }
  .hero { padding: 64px 0 80px; }
  .hero-meta { flex-direction: column; gap: 20px; }
  .hero-ctas .btn { width: 100%; justify-co