/* =========================================================================
   PLEAMAR · PREMIUM PAGES · v1.0 · 2026-05-28
   CSS compartido entre páginas /soluciones/ con tratamiento premium.
   Cubre: hero composite · phases · pricing premium · stack · biblioteca ·
   founder · no-fit.
   Storytelling y dashboard son específicos de /soluciones/contables/
   y viven inline ahí (no entran en este archivo compartido).
   ========================================================================= */

:root {
  --bg-primary:    #020204;
  --bg-secondary:  #0E0E10;
  --bg-tertiary:   #15151A;
  --bg-elevated:   #1B1B20;
  --bg-card:       #14141A;
  --bg-deep:       #0A0A0E;

  --ink-primary:   #F5F2EC;
  --ink-secondary: #A8A39C;
  --ink-tertiary:  #8A8680;
  --ink-muted:     #56524C;

  --border:        #2A2A2A;
  --border-subtle: #1F1F23;
  --border-strong: #3D3D3D;

  --lila:          #A78BFA;
  --lila-hover:    #C4B5FD;
  --lila-soft:     rgba(167, 139, 250, 0.10);
  --lila-glow:     rgba(167, 139, 250, 0.22);
  --lila-border:   rgba(167, 139, 250, 0.30);

  --lima:          #C5F73F;
  --lima-soft:     rgba(197, 247, 63, 0.10);
  --lima-border:   rgba(197, 247, 63, 0.30);

  --error:         #FF6B6B;
  --error-soft:    rgba(255, 107, 107, 0.10);
  --warning:       #FCD34D;
  --warning-soft:  rgba(252, 211, 77, 0.10);

  --wa-bg:         #0A1014;
  --wa-bubble-in:  #1F2C33;
  --wa-bubble-out: #005C4B;

  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-soft:     0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.25);
  --shadow-card:     0 2px 8px rgba(0,0,0,0.4), 0 16px 48px rgba(0,0,0,0.35);
  --shadow-elevated: 0 4px 14px rgba(0,0,0,0.5), 0 32px 80px rgba(0,0,0,0.45);

  --t-fast:  150ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-base:  280ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow:  500ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================== RESET ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--ink-primary);
  line-height: 1.5;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
  position: relative;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--lila-soft); color: var(--lila-hover); }

/* Grain — solo sobre dark, sin blend mode agresivo */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.6;
}

/* Lift content above grain */
.mockup-bar, .intro, .story, .library, .mockup-close { position: relative; z-index: 2; }

/* ============================== LAYOUT ============================= */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ============================== MOCKUP BAR ========================= */
.mockup-bar {
  position: sticky; top: 0; z-index: 80;
  background: rgba(2,2,4,0.78);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
}
.mockup-bar-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.mockup-bar-left { display: flex; align-items: center; gap: 14px; }
.mockup-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; letter-spacing: -0.01em;
}
.mockup-brand-orb {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--lila), rgba(167,139,250,0.4));
}
.mockup-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px;
  background: var(--lila-soft);
  border: 1px solid var(--lila-border);
  border-radius: 999px;
  color: var(--lila);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}
.mockup-tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lila);
  animation: pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 8px var(--lila-glow);
}
.mockup-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}

/* ============================== INTRO HERO ========================= */
.intro {
  padding: 120px 0 88px;
  overflow: hidden;
}
.intro-inner { position: relative; }
.intro-inner::before {
  content: '';
  position: absolute;
  top: -160px; left: -40px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.intro > .container { position: relative; z-index: 1; }

.intro-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--lila);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 12px;
}
.intro-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--lila);
}
.intro-title {
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 18ch;
}
.intro-title em {
  font-style: normal;
  color: var(--lila);
  font-weight: 500;
}
.intro-lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--ink-secondary);
  max-width: 62ch;
  line-height: 1.6;
}
.intro-lead strong { color: var(--ink-primary); font-weight: 500; }
.intro-disclaimer {
  margin-top: 24px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  line-height: 1.55;
  max-width: 60ch;
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.scroll-cue {
  margin-top: 88px;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-cue-bar {
  width: 64px; height: 1px;
  background: linear-gradient(to right, var(--ink-tertiary), transparent);
}

/* ============================== STORY ============================== */
.story {
  padding: 0 0 120px;
}

.story-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 64px;
  align-items: start;
}

/* Timeline — full viewport height with progressive fill */
.timeline {
  position: sticky;
  top: 92px;
  height: calc(100vh - 92px - 32px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}
.timeline-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.timeline-rail {
  flex: 1;
  position: relative;
  min-height: 0;
}
.timeline-rail-track {
  position: absolute;
  left: 5px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-rail-fill {
  position: absolute;
  left: 5px; top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--lila) 0%, var(--lila-hover) 100%);
  box-shadow: 0 0 8px var(--lila-glow);
  transition: height 120ms linear;
  pointer-events: none;
}
.timeline-list {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}
.timeline-item {
  position: relative;
  padding: 0 0 0 26px;
  cursor: pointer;
  transition: color var(--t-fast);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 11px; height: 11px;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: all var(--t-base);
  z-index: 1;
}
.timeline-item:hover::before { border-color: var(--lila); }
.timeline-item.is-passed::before {
  background: var(--lila);
  border-color: var(--lila);
}
.timeline-item.is-active::before {
  background: var(--lila);
  border-color: var(--lila);
  box-shadow: 0 0 0 4px var(--lila-soft), 0 0 14px var(--lila-glow);
  transform: scale(1.08);
}
.timeline-day {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
  transition: color var(--t-fast);
}
.timeline-item.is-passed .timeline-day,
.timeline-item.is-active .timeline-day { color: var(--lila); }
.timeline-label {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.35;
  transition: color var(--t-fast);
}
.timeline-item.is-active .timeline-label { color: var(--ink-primary); }

/* ============================== SCENE (new layout) =================
   Single-column dentro de la columna main del story-grid.
   Narrativa compacta arriba, mockup full-width abajo.
   ================================================================== */
.scene {
  padding: 88px 0 96px;
  border-top: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1), transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scene:first-child { border-top: 0; padding-top: 24px; }
.scene.in-view { opacity: 1; transform: translateY(0); }

.scene-header {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}
.scene-display {
  font-family: 'Geist Mono', monospace;
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--lila);
  line-height: 0.9;
  letter-spacing: -0.04em;
  opacity: 0.7;
}
.scene-display sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-tertiary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 1;
}
.scene-meta { max-width: 60ch; }
.scene-time {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.scene-time::before {
  content: ''; width: 24px; height: 1px; background: var(--ink-tertiary);
}
.scene-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.scene-desc {
  color: var(--ink-secondary);
  font-size: 1.0625rem;
  line-height: 1.62;
  max-width: 56ch;
}
.scene-desc strong { color: var(--ink-primary); font-weight: 500; }
.scene-desc em { font-style: italic; color: var(--lila); font-weight: 400; }

.scene-impact-row {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: baseline; gap: 18px;
}
.scene-impact-value {
  font-family: 'Geist Mono', monospace;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  color: var(--lima);
  letter-spacing: -0.02em;
  line-height: 1;
}
.scene-impact-label {
  font-size: 13px;
  color: var(--ink-tertiary);
  line-height: 1.5;
  max-width: 38ch;
}

.scene-visual {
  position: relative;
}

/* Scene roles — micro-badges Auto / Tu intervención */
.scene-roles {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
}
.scene-role {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  max-width: 30ch;
  line-height: 1.45;
}
.scene-role-ic {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}
.scene-role-ic--auto {
  background: var(--lila-soft);
  color: var(--lila);
  border: 1px solid var(--lila-border);
}
.scene-role-ic--human {
  background: var(--lima-soft);
  color: var(--lima);
  border: 1px solid var(--lima-border);
}
.scene-role-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}
.scene-role-val { color: var(--ink-secondary); }

/* Scene climax — Día 30 */
.scene--climax {
  position: relative;
  padding-top: 120px;
}
.scene--climax > * { position: relative; z-index: 1; }
.scene--climax .scene-display {
  font-size: clamp(4rem, 6vw, 5.75rem);
  color: var(--lila);
  opacity: 0.92;
}
.scene--climax .scene-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
.scene--climax-cue {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lila);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.scene--climax-cue::before,
.scene--climax-cue::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--lila), transparent);
  max-width: 80px;
}

/* ============================== MOCKUP — SHARED ==================== */
.mock-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mock-header-row {
  display: flex; justify-content: space-between; align-items: center;
}
.mock-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  background: var(--lima-soft);
  border: 1px solid var(--lima-border);
  border-radius: 999px;
  color: var(--lima);
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.mock-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lima);
  box-shadow: 0 0 6px rgba(197,247,63,0.5);
  animation: pulse 1.8s ease-in-out infinite;
}

/* WhatsApp */
.wa {
  background: var(--wa-bg);
  border: 1px solid #1A2128;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: 'Geist', system-ui, sans-serif;
  display: flex; flex-direction: column;
}
.wa-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #182229;
  border-bottom: 1px solid #1A2128;
  flex-shrink: 0;
}
.wa-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lila) 0%, #7C5FE8 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: white;
  flex-shrink: 0;
}
.wa-name { font-size: 13px; color: #E9EDEF; font-weight: 500; }
.wa-status { font-size: 11px; color: #8696A0; margin-top: 1px; }
.wa-body {
  padding: 18px 14px;
  background: var(--wa-bg);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(167,139,250,0.04) 0%, transparent 50%);
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.wa-bubble {
  max-width: 82%;
  padding: 8px 11px 6px;
  border-radius: 7px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #E9EDEF;
}
.wa-bubble--in { background: var(--wa-bubble-in); align-self: flex-start; border-top-left-radius: 0; }
.wa-bubble--out { background: var(--wa-bubble-out); align-self: flex-end; border-top-right-radius: 0; }
.wa-bubble-meta {
  font-size: 10.5px;
  color: #8696A0;
  margin-top: 4px;
  display: flex; justify-content: flex-end; gap: 4px; align-items: center;
}
.wa-check { width: 14px; height: 9px; display: inline-block; }
.wa-check svg { width: 14px; height: 9px; }
.wa-check--read svg { color: #53BDEB; }

/* =========================================================================
   ESCENA 1 · COBRANZA (Día 1) — layout horizontal con ancho generoso
   ========================================================================= */
.mock-cobranza {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.mock-cobranza-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.mock-cobranza-panel::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), transparent 40%);
  pointer-events: none;
}
.mock-cobranza-headline {
  margin-top: 18px;
  display: flex; align-items: baseline; gap: 14px;
}
.mock-cobranza-big {
  font-family: 'Geist Mono', monospace;
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.025em;
  line-height: 1;
}
.mock-cobranza-sub { font-size: 13px; color: var(--ink-tertiary); }
.mock-cobranza-bar {
  margin-top: 20px;
  height: 6px;
  background: var(--bg-deep);
  border-radius: 999px;
  overflow: hidden;
}
.mock-cobranza-bar-fill {
  width: 99.5%;
  height: 100%;
  background: linear-gradient(90deg, var(--lima), #9CD126);
  border-radius: inherit;
  box-shadow: 0 0 8px rgba(197,247,63,0.4);
}
.mock-cobranza-legend {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.mock-cobranza-leg {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-secondary);
}
.mock-cobranza-leg-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-cobranza-leg-dot--green { background: var(--lima); }
.mock-cobranza-leg-dot--amber { background: var(--warning); }
.mock-cobranza-leg-dot--red   { background: var(--error); }
.mock-cobranza-leg-num {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  color: var(--ink-primary);
  margin-left: 2px;
}
.mock-cobranza-list {
  margin-top: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.mock-cli-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}
.mock-cli-status { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mock-cli-status--ok    { background: var(--lima); }
.mock-cli-status--sent  { background: var(--warning); }
.mock-cli-status--mora  { background: var(--error); animation: pulse 2s infinite; }
.mock-cli-name { font-size: 13.5px; color: var(--ink-primary); letter-spacing: -0.005em; }
.mock-cli-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--ink-tertiary); letter-spacing: 0.04em;
}
.mock-cli-amount {
  font-family: 'Geist Mono', monospace;
  font-size: 13.5px; font-weight: 500; color: var(--ink-primary);
}

/* WA panel (right) — altura matching */
.mock-cobranza .wa {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  min-height: 100%;
}
.mock-link-mp {
  background: rgba(0,158,127,0.12);
  border: 1px solid rgba(0,158,127,0.30);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
  font-size: 12px;
  color: #6FE4B6;
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.mock-link-mp svg { width: 13px; height: 13px; }

/* =========================================================================
   ESCENA 2 · SEMÁFORO (Día 5) — panel grande arriba, WA debajo
   ========================================================================= */
.mock-semaforo {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
  align-items: start;
}
.mock-semaforo-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.mock-semaforo-headline {
  margin-top: 14px;
  display: flex; align-items: baseline; gap: 12px;
}
.mock-semaforo-big {
  font-family: 'Geist Mono', monospace;
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.025em;
  line-height: 1;
}
.mock-semaforo-sub { font-size: 13px; color: var(--ink-tertiary); }
/* Stacked bar — distribución de cartera */
.mock-semaforo-stack {
  margin-top: 22px;
  padding: 22px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.mock-semaforo-stack-eyebrow {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mock-semaforo-stack-bar {
  height: 14px;
  background: var(--bg-primary);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  border: 1px solid var(--border-subtle);
}
.mock-semaforo-seg {
  height: 100%;
  position: relative;
}
.mock-semaforo-seg--ok {
  background: linear-gradient(180deg, rgba(197,247,63,0.95), rgba(197,247,63,0.75));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.mock-semaforo-seg--amber {
  background: linear-gradient(180deg, rgba(252,211,77,0.95), rgba(252,211,77,0.75));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.mock-semaforo-seg--red {
  background: linear-gradient(180deg, rgba(255,107,107,0.95), rgba(255,107,107,0.75));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 12px rgba(255,107,107,0.4);
}
.mock-semaforo-stack-labels {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mock-semaforo-leg {
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}
.mock-semaforo-leg-head {
  display: flex; align-items: center; gap: 8px;
}
.mock-semaforo-leg-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.mock-semaforo-leg-dot--ok { background: var(--lima); }
.mock-semaforo-leg-dot--amber { background: var(--warning); }
.mock-semaforo-leg-dot--red { background: var(--error); box-shadow: 0 0 6px rgba(255,107,107,0.6); }
.mock-semaforo-leg-num {
  font-family: 'Geist Mono', monospace;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink-primary);
  margin-left: auto;
}
.mock-semaforo-leg-label {
  font-size: 11.5px;
  color: var(--ink-secondary);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.mock-semaforo-stat {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--ink-tertiary);
}
.mock-semaforo-stat strong {
  font-family: 'Geist Mono', monospace;
  color: var(--ink-primary);
  font-weight: 500;
  font-size: 13px;
}
.mock-semaforo .wa {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* =========================================================================
   ESCENA 3 · ONBOARDING (Día 8) — 3 col: wizard | notif | drive
   ========================================================================= */
.mock-onboarding {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.mock-wizard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.mock-wizard-frame {
  border-radius: 24px;
  background: linear-gradient(180deg, var(--bg-deep), #08080C);
  padding: 20px 18px;
  border: 1px solid var(--border-subtle);
}
.mock-wizard-header {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  margin-bottom: 14px;
}
.mock-wizard-progress {
  height: 4px;
  background: var(--bg-primary);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mock-wizard-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lila), var(--lila-hover));
  box-shadow: 0 0 8px var(--lila-glow);
}
.mock-wizard-progress-meta {
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono',monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.mock-wizard-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-primary);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.mock-wizard-sub {
  font-size: 12px;
  color: var(--ink-tertiary);
  margin-bottom: 18px;
}
.mock-wizard-checklist { display: flex; flex-direction: column; gap: 6px; }
.mock-wizard-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink-secondary);
}
.mock-wizard-item.is-done { border-color: var(--lima-border); color: var(--ink-primary); }
.mock-wizard-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  position: relative;
}
.mock-wizard-item.is-done .mock-wizard-check {
  background: var(--lima);
  border-color: var(--lima);
}
.mock-wizard-item.is-done .mock-wizard-check::after {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 6px; height: 9px;
  border: solid var(--bg-primary);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}

.mock-notif {
  background: var(--bg-card);
  border: 1px solid var(--lila-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mock-notif::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--lila-soft), transparent 50%);
  pointer-events: none;
}
.mock-notif-header {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lila);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
}
.mock-notif-ic {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lila-soft);
  border: 1px solid var(--lila-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--lila);
}
.mock-notif-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-primary);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
  position: relative;
}
.mock-notif-meta {
  font-size: 13px;
  color: var(--ink-secondary);
  margin-bottom: 18px;
  position: relative;
}
.mock-notif-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}
.mock-notif-stat-label {
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Geist Mono', monospace;
  margin-bottom: 4px;
}
.mock-notif-stat-val {
  font-family: 'Geist Mono', monospace;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-primary);
}
.mock-notif-stat-val--good { color: var(--lima); }

.mock-folder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.mock-folder-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 8px;
}
.mock-folder-title svg { width: 14px; height: 14px; color: var(--lila); }
.mock-folder-list { display: flex; flex-direction: column; gap: 3px; }
.mock-folder-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font-size: 12.5px;
  color: var(--ink-secondary);
}
.mock-folder-item-ic { width: 14px; height: 14px; color: var(--ink-tertiary); flex-shrink: 0; }

/* =========================================================================
   ESCENA 4 · INTIMACIÓN DGI (Día 12) — alerta amplia + WA derecha
   ========================================================================= */
.mock-dgi {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.mock-dgi-alert {
  background:
    linear-gradient(180deg, rgba(255,107,107,0.06), transparent 60%),
    var(--bg-card);
  border: 1px solid rgba(255,107,107,0.35);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  box-shadow: 0 0 0 1px rgba(255,107,107,0.06), var(--shadow-card);
  position: relative;
}
.mock-dgi-alert-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
}
.mock-dgi-pulse {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px;
  background: rgba(255,107,107,0.10);
  border: 1px solid rgba(255,107,107,0.40);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--error);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.mock-dgi-pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--error);
  animation: pulse 1.4s infinite;
  box-shadow: 0 0 8px rgba(255,107,107,0.6);
}
.mock-dgi-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.022em;
  margin-bottom: 6px;
  line-height: 1.18;
}
.mock-dgi-cliente {
  font-size: 14px;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}
.mock-dgi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}
.mock-dgi-field-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mock-dgi-field-val {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  color: var(--ink-primary);
  font-weight: 500;
}
.mock-dgi-field-val--err { color: var(--error); }
.mock-dgi-field-val--warn { color: var(--warning); }
.mock-dgi-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.mock-dgi-btn {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.mock-dgi-btn--primary { background: var(--lila); color: var(--bg-primary); }
.mock-dgi-btn--ghost {
  background: transparent;
  color: var(--ink-secondary);
  border: 1px solid var(--border);
}
.mock-dgi .wa {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* =========================================================================
   ESCENA 5 · RECEPCIÓN DOCS (Día 25) — stream izq + drive der
   ========================================================================= */
.mock-recepcion {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
}
.mock-stream {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.mock-stream-list {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.mock-doc {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}
.mock-doc-thumb {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1F1F25, #14141A);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-tertiary);
}
.mock-doc-thumb svg { width: 16px; height: 16px; }
.mock-doc-info { min-width: 0; }
.mock-doc-name {
  font-size: 13px; color: var(--ink-primary);
  margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-doc-cli {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
}
.mock-doc-chip {
  padding: 3px 10px;
  background: var(--lila-soft);
  border: 1px solid var(--lila-border);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--lila);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.mock-doc-chip--ok {
  background: var(--lima-soft);
  border-color: var(--lima-border);
  color: var(--lima);
}

.mock-drive {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.mock-drive-cli {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.mock-drive-path {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-secondary);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.mock-drive-path .lila { color: var(--lila); }
.mock-drive-tree { display: flex; flex-direction: column; gap: 4px; }
.mock-drive-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-secondary);
}
.mock-drive-row--indent-1 { padding-left: 18px; }
.mock-drive-row-ic { width: 14px; height: 14px; color: var(--ink-tertiary); flex-shrink: 0; }
.mock-drive-row-ic--folder { color: var(--lila); }
.mock-drive-row-count {
  margin-left: auto;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
}

/* =========================================================================
   ESCENA 6 · REPORTE (Día 30) — PDF amplio full-width
   ========================================================================= */
.mock-report {
  background: linear-gradient(180deg, #FAF7F0, #F0EBE0);
  color: #14141A;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-elevated);
  position: relative;
  /* Isolate from grain */
  isolation: isolate;
}
.mock-report::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(167,139,250,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.mock-report-content { position: relative; z-index: 1; }
.mock-report-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(20,20,26,0.12);
}
.mock-report-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #56524C;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mock-report-cli {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.024em;
  color: #14141A;
}
.mock-report-period {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: #56524C;
  text-align: right;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.mock-report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.mock-kpi {
  padding: 20px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(20,20,26,0.08);
  border-radius: var(--radius-md);
}
.mock-kpi-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: #56524C;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mock-kpi-val {
  font-family: 'Geist Mono', monospace;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.024em;
  color: #14141A;
  line-height: 1;
}
.mock-kpi-trend {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px;
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
}
.mock-kpi-trend--up { color: #2E8B57; }
.mock-kpi-trend--down { color: #A8443D; }

.mock-bars-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #56524C;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mock-bars-list { display: flex; flex-direction: column; gap: 10px; }
.mock-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  gap: 14px;
  align-items: center;
  font-size: 12.5px;
  color: #14141A;
}
.mock-bar-name { font-weight: 500; }
.mock-bar-track {
  height: 5px;
  background: rgba(20,20,26,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.mock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #14141A, #56524C);
  border-radius: inherit;
}
.mock-bar-val {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: #56524C;
  text-align: right;
}

.mock-alerts {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(20,20,26,0.12);
}
.mock-alerts-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #56524C;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mock-alert {
  display: flex; gap: 10px;
  padding: 12px 14px;
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.mock-alert-ic {
  width: 16px; height: 16px; flex-shrink: 0;
  color: #6F4FE0;
  margin-top: 2px;
}
.mock-alert-txt {
  font-size: 13px;
  color: #14141A;
  line-height: 1.5;
}
.mock-alert-txt strong { font-weight: 500; }

/* =========================================================================
   BIBLIOTECA
   ========================================================================= */
.library {
  padding: 120px 0 100px;
  border-top: 1px solid var(--border-subtle);
}
.library-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 240px;
  background: radial-gradient(ellipse, var(--lila-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.library > .container { position: relative; z-index: 1; }
.library-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.library-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--lila);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 12px;
}
.library-eyebrow::before,
.library-eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--lila); }
.library-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.library-lead {
  font-size: 1.0625rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}

.library-cap { margin-bottom: 36px; }
.library-cap:last-child { margin-bottom: 0; }
.library-cap-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.library-cap-headline { flex: 1; min-width: 0; }
.library-cap-title { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.016em; }
.library-cap-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.45;
  max-width: 60ch;
}
.library-cap-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 4px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.library-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.library-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--lila-soft), transparent 40%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.library-card:hover {
  border-color: var(--lila-border);
  transform: translateY(-2px);
}
.library-card:hover::before { opacity: 1; }
.library-card.featured {
  border-color: var(--lila-border);
  background: linear-gradient(180deg, var(--lila-soft), var(--bg-card));
}
.library-card-num {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  position: relative;
}
.library-card-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-primary);
  margin-bottom: 6px;
  letter-spacing: -0.012em;
  line-height: 1.3;
  position: relative;
}
.library-card-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
  position: relative;
}
.library-card-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}
.library-card.featured .library-card-tag {
  background: var(--lila-soft);
  border-color: var(--lila-border);
  color: var(--lila);
}

/* CTA close */
.mockup-close {
  padding: 80px 0 120px;
  text-align: center;
}
.mockup-close-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--lila);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.mockup-close-title {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 26ch;
  margin: 0 auto 28px;
}
.mockup-close-lead {
  color: var(--ink-secondary);
  max-width: 56ch;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 1.6;
}
.mockup-close-actions {
  display: inline-flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.mock-btn {
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--t-fast);
  letter-spacing: -0.005em;
}
.mock-btn--primary { background: var(--lila); color: var(--bg-primary); }
.mock-btn--primary:hover { background: var(--lila-hover); transform: translateY(-1px); }
.mock-btn--ghost {
  background: transparent;
  color: var(--ink-secondary);
  border: 1px solid var(--border-strong);
}
.mock-btn--ghost:hover { border-color: var(--lila); color: var(--lila); }

/* ============================== DASHBOARD CIERRE · v2 ================ */
.dashboard-section {
  padding: 60px 0 100px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}
.dashboard-intro {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.dashboard-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--lila);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.dashboard-eyebrow::before,
.dashboard-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: var(--lila);
}
.dashboard-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.dashboard-lead {
  font-size: 1.0625rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto;
}

/* Frame container */
.dashboard-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
}

/* Sidebar */
.dash-sidebar {
  background: var(--bg-deep);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  min-height: 720px;
}
.dash-sidebar-brand {
  padding: 0 18px 22px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.dash-sidebar-orb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--lila), rgba(167,139,250,0.4));
  flex-shrink: 0;
}
.dash-sidebar-name {
  display: flex; flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.dash-sidebar-name strong {
  font-size: 13px;
  color: var(--ink-primary);
  font-weight: 500;
  letter-spacing: -0.005em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dash-sidebar-name span {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-tertiary);
  letter-spacing: 0.06em;
}

.dash-nav {
  padding: 16px 10px;
  flex: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.dash-nav-section {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 10px 8px;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--ink-secondary);
  transition: all var(--t-fast);
  position: relative;
  cursor: pointer;
}
.dash-nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.dash-nav-item:hover { color: var(--ink-primary); background: rgba(255,255,255,0.02); }
.dash-nav-item.is-active {
  background: var(--lila-soft);
  color: var(--lila);
  font-weight: 500;
}
.dash-nav-item.is-active::before {
  content: '';
  position: absolute;
  left: -10px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--lila);
  border-radius: 0 2px 2px 0;
}
.dash-nav-item-count {
  margin-left: auto;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
}
.dash-nav-item-count--alert {
  background: var(--error-soft);
  border-color: rgba(255,107,107,0.3);
  color: var(--error);
}
.dash-nav-item-count--lima {
  background: var(--lima-soft);
  border-color: var(--lima-border);
  color: var(--lima);
}

.dash-user {
  margin: 0 14px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 10px;
}
.dash-user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lila), #7C5FE8);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  flex-shrink: 0;
}
.dash-user-info { min-width: 0; flex: 1; }
.dash-user-name { font-size: 12.5px; color: var(--ink-primary); font-weight: 500; letter-spacing: -0.005em; }
.dash-user-role { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--ink-tertiary); letter-spacing: 0.04em; margin-top: 1px; }

/* Main */
.dash-main { display: flex; flex-direction: column; min-width: 0; }

/* Topbar v2 */
.dash-topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}
.dash-search {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-tertiary);
  max-width: 360px;
  transition: border-color var(--t-fast);
}
.dash-search:hover { border-color: var(--border-strong); }
.dash-search svg { width: 14px; height: 14px; color: var(--ink-muted); }
.dash-search-text { flex: 1; }
.dash-kbd {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  padding: 2px 7px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--ink-tertiary);
  letter-spacing: 0.06em;
}
.dash-topbar-right { display: flex; align-items: center; gap: 10px; }
.dash-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-secondary);
  letter-spacing: 0.04em;
}
.dash-chip svg { width: 12px; height: 12px; }
.dash-iconbtn {
  width: 32px; height: 32px;
  border-radius: var(--radius-xs);
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: all var(--t-fast);
}
.dash-iconbtn:hover { border-color: var(--lila-border); color: var(--lila); }
.dash-iconbtn svg { width: 14px; height: 14px; }
.dash-iconbtn-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--error);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-card);
}

/* Hero greeting + KPIs */
.dash-hero {
  padding: 22px 24px 26px;
  border-bottom: 1px solid var(--border-subtle);
}
.dash-greeting-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px;
}
.dash-greeting-h {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink-primary);
}
.dash-greeting-sub {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.06em;
}
.dash-greeting-sub .pulse-mini {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lima);
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s infinite;
  box-shadow: 0 0 6px var(--lima);
  vertical-align: middle;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash-kpi {
  padding: 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.dash-kpi-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.dash-kpi-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash-kpi-trend {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 500;
}
.dash-kpi-trend--up { background: var(--lima-soft); color: var(--lima); border: 1px solid var(--lima-border); }
.dash-kpi-trend--down { background: var(--error-soft); color: var(--error); border: 1px solid rgba(255,107,107,0.3); }
.dash-kpi-trend--neutral { background: rgba(167,139,250,0.08); color: var(--lila); border: 1px solid var(--lila-border); }
.dash-kpi-val {
  font-family: 'Geist Mono', monospace;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.dash-kpi-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 8px;
}
.dash-kpi-sub {
  font-size: 11px;
  color: var(--ink-tertiary);
  line-height: 1.4;
}
.dash-spark {
  width: 80px; height: 26px;
  opacity: 0.85;
}
.dash-spark--up { color: var(--lima); }
.dash-spark--down { color: var(--error); }
.dash-spark--lila { color: var(--lila); }

/* Generic dashboard card (used in rows below KPIs) */
.dash-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}
.dash-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.dash-card-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dash-card-title strong {
  color: var(--ink-primary);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.012em;
  text-transform: none;
}
.dash-card-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  padding: 2px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--ink-secondary);
  letter-spacing: 0.06em;
}

/* Row layouts */
.dash-row {
  display: grid;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.dash-row--2-1 { grid-template-columns: 2fr 1fr; }
.dash-row--1-1-1 { grid-template-columns: 1fr 1fr 1fr; }
.dash-row--3-2 { grid-template-columns: 3fr 2fr; }
.dash-row:last-child { border-bottom: 0; }

/* Alertas priorizadas */
.dash-alerts-list { display: flex; flex-direction: column; gap: 8px; }
.dash-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.dash-alert:hover { border-color: var(--lila-border); transform: translateX(2px); }
.dash-alert--urgent { border-color: rgba(255,107,107,0.30); background: linear-gradient(180deg, rgba(255,107,107,0.04), var(--bg-card)); }
.dash-alert-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-alert-icon svg { width: 14px; height: 14px; }
.dash-alert-icon--red { background: var(--error-soft); border: 1px solid rgba(255,107,107,0.3); color: var(--error); }
.dash-alert-icon--amber { background: var(--warning-soft); border: 1px solid rgba(252,211,77,0.3); color: var(--warning); }
.dash-alert-icon--ok { background: var(--lima-soft); border: 1px solid var(--lima-border); color: var(--lima); }
.dash-alert-icon--lila { background: var(--lila-soft); border: 1px solid var(--lila-border); color: var(--lila); }
.dash-alert-body { min-width: 0; }
.dash-alert-title {
  font-size: 13.5px;
  color: var(--ink-primary);
  font-weight: 500;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}
.dash-alert-meta {
  font-size: 11.5px;
  color: var(--ink-tertiary);
  line-height: 1.4;
}
.dash-alert-meta-tag {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  padding: 1px 6px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  margin-right: 6px;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
}
.dash-alert-cta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lila);
  padding: 6px 10px;
  border: 1px solid var(--lila-border);
  border-radius: var(--radius-xs);
  background: var(--lila-soft);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Cartera live */
.dash-cartera-big {
  font-family: 'Geist Mono', monospace;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.dash-cartera-sub {
  font-size: 11.5px;
  color: var(--ink-tertiary);
  margin-bottom: 14px;
}
.dash-cartera-bar {
  height: 10px;
  background: var(--bg-card);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}
.dash-cartera-seg { height: 100%; }
.dash-cartera-seg--ok { background: var(--lima); }
.dash-cartera-seg--amber { background: var(--warning); }
.dash-cartera-seg--red { background: var(--error); box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2); }
.dash-cartera-legend {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px;
}
.dash-cartera-leg {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--ink-secondary);
}
.dash-cartera-leg-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-cartera-leg-num {
  font-family: 'Geist Mono', monospace;
  color: var(--ink-primary);
  font-weight: 500;
  font-size: 12.5px;
}

/* Cumplimiento DGI/BPS panel */
.dash-cumpl {
  display: flex; flex-direction: column; gap: 14px;
}
.dash-cumpl-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}
.dash-cumpl-key {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dash-cumpl-bar {
  height: 6px;
  background: var(--bg-card);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.dash-cumpl-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lima), #9CD126);
}
.dash-cumpl-val {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-primary);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.dash-cumpl-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.dash-cumpl-stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.dash-cumpl-stat-val {
  font-family: 'Geist Mono', monospace;
  font-size: 1rem;
  color: var(--ink-primary);
  font-weight: 500;
  letter-spacing: -0.012em;
}
.dash-cumpl-stat-val--lima { color: var(--lima); }

/* Próximos vencimientos */
.dash-venc { list-style: none; display: flex; flex-direction: column; }
.dash-venc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.dash-venc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-venc-day {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--ink-secondary);
  letter-spacing: 0.04em;
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
}
.dash-venc-day--soon { background: rgba(252,211,77,0.10); border-color: rgba(252,211,77,0.3); color: var(--warning); }
.dash-venc-day--urgent { background: rgba(255,107,107,0.10); border-color: rgba(255,107,107,0.3); color: var(--error); }
.dash-venc-info { min-width: 0; }
.dash-venc-name {
  font-size: 13px;
  color: var(--ink-primary);
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.dash-venc-sub {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
}
.dash-venc-action {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--lila);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Activity feed v2 */
.dash-feed-list { display: flex; flex-direction: column; gap: 2px; position: relative; }
.dash-feed-list::before {
  content: '';
  position: absolute;
  left: 19px; top: 14px; bottom: 14px;
  width: 1px;
  background: var(--border);
}
.dash-feed-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  position: relative;
}
.dash-feed-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 1;
  flex-shrink: 0;
  position: relative;
  margin-left: 3px;
}
.dash-feed-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 3px solid var(--bg-deep);
}
.dash-feed-icon svg { width: 14px; height: 14px; position: relative; z-index: 2; }
.dash-feed-icon--ok { background: var(--lima-soft); color: var(--lima); border: 1px solid var(--lima-border); }
.dash-feed-icon--lila { background: var(--lila-soft); color: var(--lila); border: 1px solid var(--lila-border); }
.dash-feed-icon--red { background: var(--error-soft); color: var(--error); border: 1px solid rgba(255,107,107,0.3); }
.dash-feed-icon--neutral { background: var(--bg-card); color: var(--ink-secondary); border: 1px solid var(--border); }
.dash-feed-body { min-width: 0; }
.dash-feed-text {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.4;
}
.dash-feed-text strong { color: var(--ink-primary); font-weight: 500; }
.dash-feed-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.dash-feed-time {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
}

/* Mini calendar */
.dash-cal {
  display: flex; flex-direction: column;
}
.dash-cal-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.dash-cal-month {
  font-size: 13px;
  color: var(--ink-primary);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.dash-cal-nav {
  display: flex; gap: 4px;
}
.dash-cal-navbtn {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  display: inline-flex; align-items: center; justify-content: center;
}
.dash-cal-navbtn svg { width: 10px; height: 10px; }
.dash-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.dash-cal-dow {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 4px 0;
}
.dash-cal-day {
  aspect-ratio: 1;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-secondary);
  background: var(--bg-card);
  border: 1px solid transparent;
  position: relative;
}
.dash-cal-day--out { color: var(--ink-muted); background: transparent; }
.dash-cal-day--today {
  background: var(--lila-soft);
  border-color: var(--lila);
  color: var(--lila);
  font-weight: 600;
  box-shadow: 0 0 8px var(--lila-glow);
}
.dash-cal-day--event {
  border-color: var(--lima);
  color: var(--lima);
}
.dash-cal-day--urgent {
  border-color: var(--error);
  color: var(--error);
}
.dash-cal-day-dot {
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
}
.dash-cal-legend {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px;
  color: var(--ink-secondary);
}
.dash-cal-leg-item { display: inline-flex; align-items: center; gap: 8px; }
.dash-cal-leg-box {
  width: 10px; height: 10px;
  border-radius: 3px;
  border: 1px solid;
}
.dash-cal-leg-box--event { border-color: var(--lima); }
.dash-cal-leg-box--urgent { border-color: var(--error); }
.dash-cal-leg-box--today { background: var(--lila-soft); border-color: var(--lila); }

/* ============================== STACK PREMIUM ========================= */
.stack-wrap { display: flex; flex-direction: column; gap: 22px; margin-top: 12px; }

/* Diagrama de arquitectura */
.stack-arch {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.stack-arch-head {
  text-align: center;
  margin-bottom: 28px;
}
.stack-arch-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lila);
  display: inline-flex; align-items: center; gap: 12px;
}
.stack-arch-eyebrow::before,
.stack-arch-eyebrow::after { content:''; width: 22px; height: 1px; background: var(--lila); }
.stack-arch-title {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink-primary);
  margin-top: 10px;
}
.stack-arch-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}
.stack-arch-col {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  display: flex; flex-direction: column;
}
.stack-arch-col--core {
  background: linear-gradient(180deg, rgba(167,139,250,0.10), var(--bg-deep));
  border-color: var(--lila-border);
  position: relative;
}
.stack-arch-col--core::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lila), transparent);
}
.stack-arch-col-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.stack-arch-col--core .stack-arch-col-label { color: var(--lila); }
.stack-arch-col-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-tertiary);
}
.stack-arch-col--core .stack-arch-col-dot {
  background: var(--lila);
  box-shadow: 0 0 8px var(--lila-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.stack-arch-col-items { display: flex; flex-direction: column; gap: 8px; }
.stack-arch-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--ink-secondary);
}
.stack-arch-item-ic {
  width: 14px; height: 14px;
  color: var(--lila);
  flex-shrink: 0;
}
.stack-arch-col--core .stack-arch-item {
  background: rgba(167,139,250,0.05);
  border-color: rgba(167,139,250,0.18);
  color: var(--ink-primary);
}
.stack-arch-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-tertiary);
  padding-top: 28px;
}
.stack-arch-arrow svg { width: 18px; height: 18px; }

/* Grid de tools */
.stack-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stack-tool {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.stack-tool::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--lila-soft), transparent 40%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.stack-tool:hover {
  border-color: var(--lila-border);
  transform: translateY(-2px);
}
.stack-tool:hover::before { opacity: 1; }
.stack-tool-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 18px;
  position: relative;
}
.stack-tool-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--lila-soft);
  border: 1px solid var(--lila-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--lila);
}
.stack-tool-icon svg { width: 20px; height: 20px; }
.stack-tool-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--ink-tertiary);
}
.stack-tool-name {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-primary);
  margin-bottom: 4px;
  letter-spacing: -0.012em;
  position: relative;
}
.stack-tool-provider {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  position: relative;
}
.stack-tool-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
  position: relative;
}

/* Card de datos */
.stack-data {
  background:
    radial-gradient(ellipse at top right, rgba(167,139,250,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--lila-border);
  border-radius: 18px;
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.stack-data-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(167,139,250,0.18);
  position: relative;
}
.stack-data-shield {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(167,139,250,0.14);
  border: 1px solid var(--lila-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--lila);
}
.stack-data-shield svg { width: 26px; height: 26px; }
.stack-data-title {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink-primary);
  margin-bottom: 4px;
}
.stack-data-sub {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}
.stack-data-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}
.stack-data-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: rgba(0,0,0,0.20);
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
}
.stack-data-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lima);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-primary);
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 8px rgba(197,247,63,0.30);
}
.stack-data-check svg { width: 11px; height: 11px; stroke-width: 3; }
.stack-data-row-text {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
}
.stack-data-row-text strong { color: var(--ink-primary); font-weight: 500; }
.stack-data-stat {
  margin-top: 26px;
  display: flex; align-items: center; gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(167,139,250,0.18);
  position: relative;
}
.stack-data-stat-num {
  font-family: 'Geist Mono', monospace;
  font-size: 2.5rem;
  color: var(--lima);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.024em;
}
.stack-data-stat-label {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
  max-width: 42ch;
}
.stack-data-stat-label strong { color: var(--ink-primary); font-weight: 500; }

.stack-footer-link {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-tertiary);
}
.stack-footer-link a { color: var(--lila); border-bottom: 1px solid var(--lila-border); padding-bottom: 1px; }

/* ============================== LIBRARY PREMIUM ============================== */
/* Override de library-card para agregar icono + jerarquía premium */
.library-card { padding: 22px; position: relative; }
.library-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px;
  position: relative;
}
.library-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--lila-soft);
  border: 1px solid var(--lila-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--lila);
  flex-shrink: 0;
  transition: all var(--t-base);
}
.library-card-icon svg { width: 17px; height: 17px; }
.library-card:hover .library-card-icon {
  background: rgba(167,139,250,0.18);
  transform: scale(1.05);
}
.library-card.featured .library-card-icon {
  background: rgba(167,139,250,0.18);
  border-color: var(--lila);
}
.library-card-num {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  margin: 0;
  padding-top: 12px;
  position: relative;
}
.library-card-title {
  margin-bottom: 8px;
}
.library-card-desc { margin-bottom: 14px; }
.library-card-tag {
  margin-top: 0;
  display: inline-flex; align-items: center;
}

/* ============================== FOUNDER PREMIUM ============================== */
.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  padding: 40px 44px;
  background:
    radial-gradient(ellipse at top right, rgba(167,139,250,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.founder-card-orb-wrap {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-deep);
  border: 2px solid var(--lila-border);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 32px rgba(167,139,250,0.12);
}
.founder-card-orb-wrap::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.22);
  pointer-events: none;
}
.founder-card-orb-wrap::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.08);
  pointer-events: none;
}
.founder-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-card-body { position: relative; min-width: 0; }
.founder-card-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lila);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.founder-card-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--lila); }
.founder-card-title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.022em;
  line-height: 1.22;
  margin-bottom: 16px;
}
.founder-card-text {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 62ch;
}
.founder-card-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin: 0 0 24px;
  padding: 0;
}
.founder-card-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.45;
}
.founder-card-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lima-soft);
  border: 1px solid var(--lima-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--lima);
  flex-shrink: 0;
  margin-top: 1px;
}
.founder-card-check svg { width: 9px; height: 9px; stroke-width: 3; }
.founder-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--lila);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--lila-border);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.founder-card-link:hover { color: var(--lila-hover); border-color: var(--lila-hover); }
.founder-card-link svg { width: 12px; height: 12px; }

/* ============================== PRICING PACKAGES PREMIUM ============================== */
.pricing-packages-head {
  text-align: center;
  margin: 48px auto 36px;
  max-width: 680px;
}
.pricing-packages-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lila);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.pricing-packages-eyebrow::before,
.pricing-packages-eyebrow::after {
  content: ''; width: 22px; height: 1px; background: var(--lila);
}
.pricing-packages-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.022em;
  line-height: 1.22;
  margin-bottom: 12px;
}
.pricing-packages-sub {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto;
}

.pricing-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.pricing-pkg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
  display: flex; flex-direction: column;
}
.pricing-pkg::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--lila-soft), transparent 30%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.pricing-pkg:hover { border-color: var(--lila-border); transform: translateY(-2px); }
.pricing-pkg:hover::before { opacity: 1; }
.pricing-pkg--featured {
  border-color: var(--lila);
  background:
    radial-gradient(ellipse at top, rgba(167,139,250,0.10), transparent 50%),
    var(--bg-card);
  box-shadow: 0 0 0 1px rgba(167,139,250,0.15), 0 24px 48px rgba(0,0,0,0.45);
}
.pricing-pkg--featured::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lila), transparent);
}
.pricing-pkg-badge {
  position: absolute;
  top: 18px; right: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 9px;
  background: var(--lila);
  border: 1px solid var(--lila);
  border-radius: 999px;
  color: var(--bg-primary);
  font-weight: 600;
  z-index: 2;
}
.pricing-pkg-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--lila-soft);
  border: 1px solid var(--lila-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--lila);
  margin-bottom: 22px;
  position: relative;
}
.pricing-pkg-icon svg { width: 22px; height: 22px; }
.pricing-pkg--featured .pricing-pkg-icon {
  background: rgba(167,139,250,0.18);
  border-color: var(--lila);
}
.pricing-pkg-tier {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  position: relative;
}
.pricing-pkg--featured .pricing-pkg-tier { color: var(--lila); }
.pricing-pkg-name {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.022em;
  margin-bottom: 16px;
  position: relative;
}
.pricing-pkg-price-block { margin-bottom: 16px; position: relative; }
.pricing-pkg-price {
  font-family: 'Geist Mono', monospace;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.024em;
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-pkg-price-sub {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
}
.pricing-pkg-audience {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.pricing-pkg-features-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
}
.pricing-pkg-features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 0; margin: 0;
  position: relative;
  flex: 1;
}
.pricing-pkg-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
}
.pricing-pkg-feature-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--lima-soft);
  border: 1px solid var(--lima-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--lima);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-pkg-feature-check svg { width: 8px; height: 8px; stroke-width: 3; }

.pricing-packages-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
  max-width: 64ch;
  margin: 0 auto 32px;
}
.pricing-packages-note strong { color: var(--ink-primary); font-weight: 500; }

/* ============================== HERO COMPOSITE ============================== */
.sub-hero--storytelling { padding-bottom: 36px; }
.sub-hero--storytelling .sub-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.sub-hero--storytelling .sub-hero-inner { max-width: none; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 0.82;
  width: 100%;
  min-height: 380px;
}
.hero-mock {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 4px 10px rgba(0,0,0,0.3);
  overflow: hidden;
}
.hero-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%);
  pointer-events: none;
}
.hero-mock--dashboard {
  top: 0; left: 0;
  width: 78%;
  padding: 16px 18px;
  z-index: 1;
}
.hero-mock-bar {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-mock-bar-dots { display: flex; gap: 4px; }
.hero-mock-bar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
.hero-mock-bar-title {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 6px;
}
.hero-mock-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 7px;
  background: var(--lima-soft);
  border: 1px solid var(--lima-border);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  color: var(--lima);
  letter-spacing: 0.08em;
}
.hero-mock-live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lima); animation: pulse 1.8s infinite; }
.hero-mock-kpis {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 12px;
}
.hero-mock-kpi {
  padding: 10px 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.hero-mock-kpi-label {
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  color: var(--ink-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-mock-kpi-val {
  font-family: 'Geist Mono', monospace;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-primary);
  line-height: 1;
}
.hero-mock-kpi-trend {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  color: var(--lima);
  margin-top: 4px;
}
.hero-mock-bar-mini {
  margin-top: 10px;
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
}
.hero-mock-bar-mini-seg { height: 100%; }
.hero-mock-bar-mini-seg--ok { background: var(--lima); flex: 83; }
.hero-mock-bar-mini-seg--amber { background: var(--warning); flex: 11; }
.hero-mock-bar-mini-seg--red { background: var(--error); flex: 6; }
.hero-mock-rows {
  margin-top: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-mock-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px;
  align-items: center;
  padding: 7px 9px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 11px;
}
.hero-mock-row-dot { width: 5px; height: 5px; border-radius: 50%; }
.hero-mock-row-dot--ok { background: var(--lima); }
.hero-mock-row-dot--red { background: var(--error); animation: pulse 2s infinite; }
.hero-mock-row-name { color: var(--ink-primary); font-size: 11px; }
.hero-mock-row-meta { font-family: 'Geist Mono', monospace; font-size: 9.5px; color: var(--ink-tertiary); }

.hero-mock--wa {
  bottom: 0; right: 0;
  width: 46%;
  background: var(--wa-bg);
  border-color: #1A2128;
  padding: 12px 12px 10px;
  z-index: 2;
  border-radius: 12px;
}
.hero-mock-wa-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px; border-bottom: 1px solid #1A2128;
  margin-bottom: 10px;
}
.hero-mock-wa-av {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lila), #7C5FE8);
  color: white;
  font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.hero-mock-wa-name { font-size: 11px; color: #E9EDEF; font-weight: 500; }
.hero-mock-wa-status { font-size: 9px; color: #8696A0; margin-top: 1px; }
.hero-mock-wa-bubble {
  background: var(--wa-bubble-out);
  border-radius: 7px;
  border-top-right-radius: 0;
  padding: 8px 10px 6px;
  margin-left: auto;
  margin-bottom: 6px;
  max-width: 92%;
  font-size: 11px;
  line-height: 1.4;
  color: #E9EDEF;
}
.hero-mock-wa-bubble strong { font-weight: 500; }
.hero-mock-wa-meta {
  font-size: 9px;
  color: #8696A0;
  text-align: right;
  margin-top: 2px;
}

.hero-mock--report {
  top: 38%; right: -2%;
  width: 38%;
  background: linear-gradient(180deg, #FAF7F0, #F0EBE0);
  color: #14141A;
  padding: 14px;
  z-index: 3;
  border-color: rgba(20,20,26,0.10);
  border-radius: 10px;
}
.hero-mock-report-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 8.5px;
  color: #56524C;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-mock-report-cli {
  font-size: 13px;
  font-weight: 500;
  color: #14141A;
  margin-bottom: 10px;
}
.hero-mock-report-kpis {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(20,20,26,0.12);
}
.hero-mock-report-kpi-label {
  font-family: 'Geist Mono', monospace;
  font-size: 8px;
  color: #56524C;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.hero-mock-report-kpi-val {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: #14141A;
}
.hero-mock-report-trend {
  font-family: 'Geist Mono', monospace;
  font-size: 8.5px;
  color: #2E8B57;
  margin-top: 2px;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 20%; left: 20%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(167,139,250,0.18), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

/* ============================== PRICING OVERVIEW PREMIUM ============================== */
.pricing-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.pricing-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 20px;
  position: relative;
  transition: all var(--t-base);
}
.pricing-overview-card:hover { border-color: var(--lila-border); }
.pricing-overview-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--lila-soft);
  border: 1px solid var(--lila-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--lila);
  margin-bottom: 16px;
}
.pricing-overview-icon svg { width: 17px; height: 17px; }
.pricing-overview-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-overview-value {
  font-family: 'Geist Mono', monospace;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.022em;
  line-height: 1;
  margin-bottom: 10px;
}
.pricing-overview-desc {
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ============================== PHASES (Cómo trabajamos) PREMIUM ============================== */
.phases {
  position: relative;
  margin-top: 12px;
}
.phases-line {
  position: absolute;
  top: 36px;
  left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent);
  z-index: 0;
}
.phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.phase { display: flex; flex-direction: column; }
.phase-num-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  height: 72px;
}
.phase-num {
  font-family: 'Geist Mono', monospace;
  font-size: 3rem;
  font-weight: 500;
  color: var(--lila);
  letter-spacing: -0.04em;
  line-height: 0.9;
  opacity: 0.92;
}
.phase-dot {
  width: 14px; height: 14px;
  background: var(--lila);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 1px var(--lila), 0 0 12px var(--lila-glow);
  margin-left: auto;
  position: relative;
}
.phase-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--lila-border);
  animation: pulse 2.4s ease-in-out infinite;
}
.phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  flex: 1;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.phase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--lila-soft), transparent 40%);
  opacity: 0;
  transition: opacity var(--t-base);
  border-radius: inherit;
  pointer-events: none;
}
.phase-card:hover {
  border-color: var(--lila-border);
  transform: translateY(-3px);
}
.phase-card:hover::before { opacity: 1; }
.phase-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--lila-soft);
  border: 1px solid var(--lila-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--lila);
  margin-bottom: 14px;
  position: relative;
}
.phase-icon svg { width: 18px; height: 18px; }
.phase-week {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
}
.phase-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.014em;
  margin-bottom: 8px;
  position: relative;
}
.phase-desc {
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  position: relative;
}

/* ============================== NO FIT REFRESH ============================== */
.no-fit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 32px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.no-fit-card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(252, 211, 77, 0.10);
  border: 1px solid rgba(252, 211, 77, 0.32);
  display: flex; align-items: center; justify-content: center;
  color: var(--warning);
  flex-shrink: 0;
}
.no-fit-card-icon svg { width: 22px; height: 22px; }
.no-fit-card-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--warning);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.no-fit-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.018em;
  margin-bottom: 16px;
}
.no-fit-card-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.no-fit-card-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}
.no-fit-card-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.no-fit-card-list li::before {
  content: '–';
  color: var(--warning);
  font-family: 'Geist Mono', monospace;
  margin-top: 1px;
  flex-shrink: 0;
}
.no-fit-card-list strong { color: var(--ink-primary); font-weight: 500; }

/* ============================== RESPONSIVE ========================= */
@media (max-width: 1100px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .timeline { display: none; }
  .mock-cobranza, .mock-semaforo, .mock-dgi, .mock-recepcion {
    grid-template-columns: 1fr;
  }
  .mock-onboarding { grid-template-columns: 280px 1fr; }
  .mock-report-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container, .container--narrow { padding: 0 20px; }
  .intro { padding: 80px 0 60px; }
  .scene { padding: 60px 0 72px; }
  .scene-header { grid-template-columns: 1fr; gap: 16px; }
  .scene-display { font-size: 3rem; }
  .mockup-bar-inner { padding: 12px 20px; }
  .mockup-meta { display: none; }
  .mock-onboarding { grid-template-columns: 1fr; }
  .mock-wizard { max-width: 320px; }
  .mock-dgi-grid { grid-template-columns: 1fr 1fr; }
  .mock-report { padding: 28px 24px; }
  .mock-bar-row { grid-template-columns: 90px 1fr 60px; }
  .dash-row { padding: 16px 18px; }
  .dash-hero { padding: 18px 20px 22px; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-row--2-1 { grid-template-columns: 1fr; }
  .dash-row--1-1-1 { grid-template-columns: 1fr; }
  .dash-row--3-2 { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .stack-tools { grid-template-columns: repeat(2, 1fr); }
  .stack-arch-grid { grid-template-columns: 1fr; gap: 18px; }
  .stack-arch-arrow { padding: 0; justify-content: center; }
  .stack-arch-arrow svg { transform: rotate(90deg); }
}
@media (max-width: 900px) {
  .dashboard-frame { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-topbar { padding: 12px 18px; flex-wrap: wrap; }
  .dash-search { max-width: none; flex: 1; }
  .stack-tools { grid-template-columns: 1fr; }
  .stack-data-rows { grid-template-columns: 1fr; }
  .stack-arch { padding: 22px 18px; }
  .stack-data { padding: 26px 22px; }
  .founder-card { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
  .founder-card-list { grid-template-columns: 1fr; }
  .pricing-packages { grid-template-columns: 1fr; }
  .pricing-pkg { padding: 24px 22px; }
  .pricing-overview { grid-template-columns: 1fr; }
  .phases-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .phases-line { display: none; }
  .sub-hero--storytelling .sub-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: 1 / 0.6; min-height: 320px; max-width: 520px; }
  .no-fit-card { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
}
@media (max-width: 720px) {
  /* Hero composite (.hero-visual con 3 mocks absolute) tiene aspect-ratio + min-height
     que fuerza width > viewport en mobile y rompe el layout horizontal de toda la página.
     Solución conservadora: ocultar en mobile. El hero queda con título + lead + CTA limpios.
     Sprint 2: rediseñar composite con coordenadas responsive para mantenerlo en mobile. */
  .hero-visual { display: none; }
}
@media (max-width: 640px) {
  .phases-grid { grid-template-columns: 1fr; }
}

/* ─── Hero Bridge · anti-objeción post-hero (extraído de contables inline) ─── */
.hero-bridge {
  padding: 28px 0 12px;
}
.hero-bridge-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(167,139,250,0.06);
  border: 1px solid rgba(167,139,250,0.18);
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  max-width: 100%;
}
.hero-bridge-text strong {
  color: var(--ink-primary);
  font-weight: 500;
}
.hero-bridge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--lila);
  flex-shrink: 0;
}
.hero-bridge-icon svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .hero-bridge { padding: 20px 0 8px; }
  .hero-bridge-text {
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 13.5px;
    align-items: flex-start;
  }
}

/* ─── Calculadora ROI · Entry Point ─── */
.calc-cta {
  padding: 56px 0;
}
.calc-cta-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background:
    radial-gradient(circle at top right, rgba(167,139,250,0.10), transparent 60%),
    var(--bg-secondary, #0E0E10);
  border: 1px solid rgba(167,139,250,0.30);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.calc-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(167,139,250,0.18), transparent 50%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.calc-cta-card:hover {
  border-color: var(--lila);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(167,139,250,0.10);
}
.calc-cta-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.30);
  border-radius: 14px;
  color: var(--lila);
  flex-shrink: 0;
}
.calc-cta-icon svg { width: 26px; height: 26px; }
.calc-cta-body { min-width: 0; }
.calc-cta-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lila);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.calc-cta-title {
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--ink-primary);
  margin-bottom: 4px;
}
.calc-cta-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.45;
}
.calc-cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--lila);
  color: var(--bg-primary);
  border-radius: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: background 0.2s;
}
.calc-cta-arrow svg { width: 14px; height: 14px; }
.calc-cta-card:hover .calc-cta-arrow { background: var(--lila-hover); }

@media (max-width: 720px) {
  .calc-cta { padding: 40px 0; }
  .calc-cta-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
    text-align: left;
  }
  .calc-cta-arrow { justify-self: start; }
}

/* ═══════════════════════════════════════════════════════════════════
   STORYTELLING INMOBILIARIAS · 3 bloques narrativos
   ═══════════════════════════════════════════════════════════════════ */

.inmo-story {
  padding: 100px 0 60px;
  border-top: 1px solid var(--border-subtle);
}
.inmo-story .section-head { margin-bottom: 56px; }

.inmo-story-block {
  padding: 64px 0;
}
.inmo-story-block--alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.inmo-story-head {
  text-align: center;
  margin-bottom: 48px;
}
.inmo-story-num {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: var(--lila);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.22);
  border-radius: 999px;
}
.inmo-story-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.inmo-story-title em {
  font-style: normal;
  color: var(--lila);
}
.inmo-story-desc {
  font-size: 16.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
  max-width: 62ch;
  margin: 0 auto;
}
.inmo-story-takeaway {
  margin-top: 40px;
  padding: 22px 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--lila);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}
.inmo-story-takeaway strong { color: var(--ink-primary); font-weight: 500; }
.inmo-story-takeaway em { color: var(--lila); font-style: normal; }
.inmo-story-takeaway .source {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-tertiary);
  display: block;
  margin-top: 6px;
}

/* ─── Bloque 1 · Lead Race (timeline comparativa) ─── */
.lead-race {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  margin: 0 auto;
}
.lead-race-col {
  padding: 28px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.lead-race-col--before {
  border-color: rgba(248, 113, 113, 0.18);
}
.lead-race-col--after {
  border-color: rgba(197, 247, 63, 0.22);
  box-shadow: 0 0 32px rgba(197, 247, 63, 0.06);
}
.lead-race-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-secondary);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.lead-race-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.lead-race-dot--before { background: #F87171; }
.lead-race-dot--after { background: var(--lima); }
.lead-race-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  position: relative;
}
.lead-race-timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--border-subtle), transparent);
}
.lead-race-event {
  padding: 0 0 22px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-race-event::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
}
.lead-race-event--off::before { background: var(--bg-tertiary); border-color: var(--ink-tertiary); }
.lead-race-event--alert::before { background: rgba(248, 113, 113, 0.20); border-color: #F87171; }
.lead-race-event--on::before { background: rgba(167, 139, 250, 0.20); border-color: var(--lila); }
.lead-race-event--win::before { background: var(--lima); border-color: var(--lima); }
.lead-race-time {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
}
.lead-race-event--alert .lead-race-time { color: #F87171; }
.lead-race-event--on .lead-race-time { color: var(--lila); }
.lead-race-event--win .lead-race-time { color: var(--lima); }
.lead-race-text {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
}
.lead-race-text strong { color: var(--ink-primary); font-weight: 500; }
.lead-race-divider {
  align-self: center;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-tertiary);
  letter-spacing: 0.16em;
  padding: 8px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}
.lead-race-outcome {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-subtle);
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
}
.lead-race-outcome--bad { color: #F87171; }
.lead-race-outcome--good { color: var(--lima); }

/* ─── Bloque 2 · Dashboard mock ─── */
.inmo-dash {
  max-width: 1180px;
  margin: 0 auto;
}
.inmo-dash-frame {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.32);
}
.inmo-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.inmo-dash-top-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.inmo-dash-top-orb {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--lila), rgba(167,139,250,0.4));
}
.inmo-dash-top-title {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: 0.04em;
}
.inmo-dash-top-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--lima);
  letter-spacing: 0.12em;
  padding: 4px 10px;
  background: rgba(197, 247, 63, 0.08);
  border: 1px solid rgba(197, 247, 63, 0.22);
  border-radius: 999px;
}
.inmo-dash-top-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lima);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.inmo-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.inmo-dash-kpi {
  padding: 18px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.inmo-dash-kpi--featured {
  background: rgba(167, 139, 250, 0.08);
  border-color: var(--lila-border);
}
.inmo-dash-kpi-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.inmo-dash-kpi-val {
  font-family: 'Geist Mono', monospace;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.028em;
  line-height: 1;
  margin-bottom: 8px;
}
.inmo-dash-kpi--featured .inmo-dash-kpi-val { color: var(--lila); }
.inmo-dash-kpi-trend {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.inmo-dash-kpi-trend--up { color: var(--lima); }

.inmo-dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.inmo-dash-row:last-child { margin-bottom: 0; }
.inmo-dash-card {
  padding: 20px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.inmo-dash-card-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Bars (canales) */
.inmo-bars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.inmo-bars li {
  display: grid;
  grid-template-columns: 120px 1fr 36px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.inmo-bar-label {
  color: var(--ink-secondary);
}
.inmo-bar-track {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 999px;
  overflow: hidden;
}
.inmo-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lila), rgba(167,139,250,0.5));
  border-radius: 999px;
}
.inmo-bar-val {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-primary);
  text-align: right;
  font-weight: 500;
}

/* Team list */
.inmo-team {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inmo-team li {
  display: grid;
  grid-template-columns: 28px auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}
.inmo-team-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.inmo-team-name { color: var(--ink-primary); font-weight: 500; }
.inmo-team-stat {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-tertiary);
  text-align: right;
}
.inmo-team-stat strong { color: var(--lima); font-weight: 500; }

/* Funnel */
.inmo-funnel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inmo-funnel-step {
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(167,139,250,0.18), rgba(167,139,250,0.04));
  border: 1px solid rgba(167,139,250,0.20);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: width 0.6s ease;
}
.inmo-funnel-step span {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-primary);
  min-width: 32px;
}
.inmo-funnel-step--final {
  background: linear-gradient(90deg, rgba(197,247,63,0.28), rgba(197,247,63,0.08));
  border-color: rgba(197,247,63,0.32);
}
.inmo-funnel-step--final span { color: var(--lima); }

/* Heatmap */
.inmo-heatmap-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}
.inmo-heatmap-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  color: var(--ink-tertiary);
  background: var(--bg-tertiary);
}
.inmo-heatmap-cell--head {
  background: transparent;
  color: var(--ink-tertiary);
  font-weight: 500;
}
.inmo-heatmap-cell--l1 { background: rgba(167,139,250,0.10); color: var(--ink-secondary); }
.inmo-heatmap-cell--l2 { background: rgba(167,139,250,0.22); color: var(--ink-secondary); }
.inmo-heatmap-cell--l3 { background: rgba(167,139,250,0.40); color: var(--ink-primary); }
.inmo-heatmap-cell--l4 { background: rgba(167,139,250,0.65); color: var(--ink-primary); font-weight: 500; }
.inmo-heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
}
.inmo-heatmap-leg {
  width: 14px; height: 14px;
  border-radius: 3px;
}
.inmo-heatmap-leg--l1 { background: rgba(167,139,250,0.10); }
.inmo-heatmap-leg--l2 { background: rgba(167,139,250,0.22); }
.inmo-heatmap-leg--l3 { background: rgba(167,139,250,0.40); }
.inmo-heatmap-leg--l4 { background: rgba(167,139,250,0.65); }

/* CTA real → demo Costa Sur */
.inmo-dash-cta {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 28px;
  background:
    radial-gradient(circle at top right, rgba(197,247,63,0.08), transparent 60%),
    var(--bg-tertiary);
  border: 1px solid rgba(197, 247, 63, 0.30);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.inmo-dash-cta:hover {
  border-color: var(--lima);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(197,247,63,0.10);
}
.inmo-dash-cta-icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(197,247,63,0.10);
  border: 1px solid rgba(197,247,63,0.30);
  border-radius: 14px;
  color: var(--lima);
}
.inmo-dash-cta-icon svg { width: 26px; height: 26px; }
.inmo-dash-cta-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lima);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.inmo-dash-cta-title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink-primary);
  margin-bottom: 6px;
}
.inmo-dash-cta-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.5;
}
.inmo-dash-cta-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: var(--lima);
  color: var(--bg-primary);
  border-radius: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.inmo-dash-cta-arrow svg { width: 14px; height: 14px; }

/* ─── Bloque 3 · Reporte al propietario ─── */
.owner-report {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.owner-report-wa {
  padding: 22px 18px;
  background: #0B141A;
  border: 1px solid #1F2C33;
  border-radius: 16px;
  position: sticky;
  top: 24px;
}
.owner-report-wa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #1F2C33;
}
.owner-report-wa-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lila);
  color: #fff;
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 14px;
}
.owner-report-wa-name {
  font-size: 14px;
  color: #E9EDEF;
  font-weight: 500;
}
.owner-report-wa-status {
  font-size: 11.5px;
  color: #8696A0;
}
.owner-report-wa-bubble {
  background: #005C4B;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #E9EDEF;
  margin-bottom: 8px;
  line-height: 1.4;
}
.owner-report-wa-bubble strong { font-weight: 500; }
.owner-report-wa-bubble--pdf { padding: 8px; }
.owner-report-wa-pdf {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(0,0,0,0.18);
  border-radius: 6px;
  margin-bottom: 4px;
}
.owner-report-wa-pdf svg { color: #E9EDEF; flex-shrink: 0; width: 22px; height: 22px; }
.owner-report-wa-pdf-name {
  font-size: 12.5px;
  color: #E9EDEF;
  margin: 0 0 2px;
}
.owner-report-wa-pdf-size {
  font-size: 11px;
  color: #8696A0;
  margin: 0;
}
.owner-report-wa-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: #8696A0;
  text-align: right;
  margin-top: 4px;
}

/* PDF mock */
.owner-report-pdf {
  background: #F8F5EE;
  color: #18181B;
  border-radius: 12px;
  padding: 32px 32px 28px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
  font-family: 'Geist', system-ui, sans-serif;
}
.owner-report-pdf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #D8D2C2;
}
.owner-report-pdf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
}
.owner-report-pdf-orb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--lila), rgba(167,139,250,0.4));
}
.owner-report-pdf-month {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: #6B6358;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.owner-report-pdf-property {
  margin-bottom: 26px;
}
.owner-report-pdf-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #6B6358;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.owner-report-pdf-name {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 4px;
  color: #0A0A0A;
}
.owner-report-pdf-meta {
  font-size: 13px;
  color: #6B6358;
}
.owner-report-pdf-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.owner-report-pdf-kpi {
  padding: 16px 16px;
  background: #FFFFFF;
  border: 1px solid #E8E2D2;
  border-radius: 8px;
}
.owner-report-pdf-kpi-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: #6B6358;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.owner-report-pdf-kpi-val {
  font-family: 'Geist Mono', monospace;
  font-size: 1.8rem;
  font-weight: 500;
  color: #0A0A0A;
  letter-spacing: -0.024em;
  line-height: 1;
  margin-bottom: 6px;
}
.owner-report-pdf-kpi-trend {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #5A8A0A;
  letter-spacing: 0.04em;
}
.owner-report-pdf-section {
  padding-top: 18px;
  margin-bottom: 22px;
  border-top: 1px solid #E8E2D2;
}
.owner-report-pdf-section-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #6B6358;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.owner-report-bars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.owner-report-bars li {
  display: grid;
  grid-template-columns: 130px 1fr 28px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #0A0A0A;
}
.owner-report-bar {
  height: 6px;
  background: #E8E2D2;
  border-radius: 999px;
  overflow: hidden;
}
.owner-report-bar-fill {
  height: 100%;
  background: var(--lila);
  border-radius: 999px;
}
.owner-report-bars li > span:last-child {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  text-align: right;
  font-weight: 500;
}
.owner-report-compare-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
}
.owner-report-compare-row--ref { color: #6B6358; }
.owner-report-compare-val {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
}
.owner-report-compare-note {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(90, 138, 10, 0.10);
  border-left: 3px solid #5A8A0A;
  border-radius: 4px;
  font-size: 12.5px;
  color: #3A5A07;
}
.owner-report-pdf-footer {
  padding-top: 18px;
  border-top: 1px solid #E8E2D2;
  font-size: 13px;
  color: #6B6358;
}
.owner-report-pdf-signature {
  margin-top: 8px;
  font-weight: 500;
  color: #0A0A0A;
}

/* ─── Demo Promises · 4 cards a la demo Costa Sur ─── */
.demo-promises {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.demo-promise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.demo-promise-card:hover {
  border-color: var(--lila-border);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.24);
}
.demo-promise-card--featured {
  background:
    radial-gradient(circle at top right, rgba(197,247,63,0.10), transparent 60%),
    var(--bg-tertiary);
  border-color: rgba(197, 247, 63, 0.30);
}
.demo-promise-card--featured:hover {
  border-color: var(--lima);
  box-shadow: 0 16px 40px rgba(197,247,63,0.10);
}
.demo-promise-badge {
  position: absolute;
  top: -10px;
  right: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  background: var(--lima);
  color: var(--bg-primary);
  border-radius: 999px;
  letter-spacing: 0.10em;
  font-weight: 600;
  text-transform: uppercase;
}
.demo-promise-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.22);
  border-radius: 12px;
  color: var(--lila);
  margin-bottom: 4px;
}
.demo-promise-icon svg { width: 22px; height: 22px; }
.demo-promise-card--featured .demo-promise-icon {
  background: rgba(197,247,63,0.10);
  border-color: rgba(197,247,63,0.28);
  color: var(--lima);
}
.demo-promise-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
.demo-promise-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink-primary);
  margin: 0 0 4px;
}
.demo-promise-desc {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.demo-promise-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--lila);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  transition: gap 0.2s;
}
.demo-promise-card--featured .demo-promise-cta { color: var(--lima); }
.demo-promise-card:hover .demo-promise-cta { gap: 10px; }
.demo-promise-cta svg { width: 14px; height: 14px; }
.demo-promise-note {
  margin-top: 32px;
  padding: 18px 22px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--lila);
  border-radius: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Biblioteca categorizada · 4 capítulos × N módulos ─── */
.lib-chapters {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.lib-chapter {
  padding: 32px 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
}
.lib-chapter-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}
.lib-chapter-num {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.30);
  border-radius: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--lila);
  flex-shrink: 0;
}
.lib-chapter-title {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin: 0 0 6px;
}
.lib-chapter-sub {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
}
.lib-chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.lib-card {
  padding: 20px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s;
}
.lib-card:hover {
  border-color: var(--lila-border);
  background: var(--bg-tertiary);
}
.lib-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.lib-card-icon {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.22);
  border-radius: 8px;
  color: var(--lila);
}
.lib-card-icon svg { width: 16px; height: 16px; }
.lib-card-num {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.10em;
  margin: 0;
}
.lib-card-title {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink-primary);
  margin: 0 0 2px;
}
.lib-card-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.lib-card-tag {
  margin-top: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--lila);
  letter-spacing: 0.08em;
  padding: 4px 9px;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.18);
  border-radius: 999px;
  align-self: flex-start;
  text-transform: uppercase;
}
.lib-cap-note {
  margin-top: 36px;
  padding: 18px 22px;
  background: var(--bg-tertiary);
  border: 1px dashed var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
  text-align: center;
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

/* Note debajo del dashboard mock (reemplaza CTA Costa Sur que prometía Vista del Dueño) */
.inmo-dash-note {
  margin-top: 24px;
  padding: 16px 22px;
  background: var(--bg-tertiary);
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-tertiary);
  line-height: 1.6;
  text-align: center;
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE · Sprint 2 Inmobiliarias bloques nuevos
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* ─── Storytelling general ─── */
  .inmo-story { padding: 64px 0 32px; }
  .inmo-story .section-head { margin-bottom: 36px; }
  .inmo-story-block { padding: 40px 0; }
  .inmo-story-head { margin-bottom: 32px; }
  .inmo-story-num { font-size: 12px; padding: 5px 12px; }
  .inmo-story-title { font-size: 1.5rem; line-height: 1.2; }
  .inmo-story-desc { font-size: 15px; }
  .inmo-story-takeaway {
    margin-top: 28px;
    padding: 16px 18px;
    font-size: 13.5px;
    border-radius: 8px;
  }

  /* ─── Bloque 1 · Lead Race · 3 cols → stack vertical ─── */
  .lead-race {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .lead-race-col { padding: 22px 20px; }
  .lead-race-divider {
    align-self: stretch;
    text-align: center;
    padding: 6px 12px;
    margin: 0 auto;
    max-width: 80px;
  }
  .lead-race-label { font-size: 11.5px; }
  .lead-race-text { font-size: 13.5px; }
  .lead-race-time { font-size: 12px; }

  /* ─── Bloque 2 · Dashboard mock ─── */
  .inmo-dash-frame { padding: 18px 16px; border-radius: 14px; }
  .inmo-dash-top { padding-bottom: 14px; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
  .inmo-dash-top-title { font-size: 12px; }
  .inmo-dash-top-live { font-size: 10px; padding: 3px 8px; }

  .inmo-dash-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .inmo-dash-kpi { padding: 14px 14px; }
  .inmo-dash-kpi-val { font-size: 1.6rem; }
  .inmo-dash-kpi-label { font-size: 10px; margin-bottom: 6px; }
  .inmo-dash-kpi-trend { font-size: 10.5px; }

  .inmo-dash-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .inmo-dash-card { padding: 16px 16px; }
  .inmo-dash-card-title { font-size: 10.5px; margin-bottom: 12px; }

  /* Bars en mobile · achicar label y val */
  .inmo-bars li {
    grid-template-columns: 90px 1fr 32px;
    gap: 8px;
    font-size: 12px;
  }
  .inmo-bar-track { height: 6px; }
  .inmo-bar-val { font-size: 11.5px; }

  /* Team en mobile · stat completo a la derecha */
  .inmo-team li {
    grid-template-columns: 24px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 10px;
  }
  .inmo-team-av { width: 24px; height: 24px; font-size: 10.5px; grid-row: span 2; }
  .inmo-team-name { font-size: 13px; }
  .inmo-team-stat {
    grid-column: 2;
    text-align: left;
    font-size: 11px;
  }

  /* Funnel */
  .inmo-funnel-step {
    padding: 8px 12px;
    font-size: 11.5px;
    gap: 8px;
  }
  .inmo-funnel-step span { font-size: 12px; min-width: 28px; }

  /* Heatmap */
  .inmo-heatmap-cell { font-size: 9px; }

  .inmo-dash-note {
    margin-top: 18px;
    padding: 14px 18px;
    font-size: 11.5px;
    border-radius: 8px;
  }

  /* ─── Bloque 3 · Owner Report · grid 2 cols → 1 col ─── */
  .owner-report {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .owner-report-wa {
    position: static;
    padding: 18px 16px;
    border-radius: 14px;
  }
  .owner-report-wa-bubble { font-size: 13px; }
  .owner-report-pdf {
    padding: 22px 20px 20px;
    border-radius: 10px;
  }
  .owner-report-pdf-head { padding-bottom: 14px; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
  .owner-report-pdf-brand { font-size: 13.5px; }
  .owner-report-pdf-name { font-size: 1.15rem; }
  .owner-report-pdf-meta { font-size: 12px; }
  .owner-report-pdf-kpis {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .owner-report-pdf-kpi { padding: 14px 16px; }
  .owner-report-pdf-kpi-val { font-size: 1.6rem; }
  .owner-report-pdf-section { padding-top: 14px; margin-bottom: 18px; }
  .owner-report-bars li {
    grid-template-columns: 110px 1fr 28px;
    gap: 10px;
    font-size: 12.5px;
  }
  .owner-report-compare-row { font-size: 12.5px; }

  /* ─── Demo Promises · 2 cols → 1 col ─── */
  .demo-promises {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .demo-promise-card { padding: 24px 22px; }
  .demo-promise-title { font-size: 1.08rem; }
  .demo-promise-desc { font-size: 13.5px; }
  .demo-promise-note {
    margin-top: 22px;
    padding: 14px 18px;
    font-size: 11.5px;
  }

  /* ─── Biblioteca categorizada · 3 cols por capítulo → 1 col ─── */
  .lib-chapters { gap: 28px; }
  .lib-chapter { padding: 24px 20px; border-radius: 14px; }
  .lib-chapter-head {
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
  }
  .lib-chapter-num { width: 38px; height: 38px; font-size: 1rem; }
  .lib-chapter-title { font-size: 1.15rem; }
  .lib-chapter-sub { font-size: 13.5px; }
  .lib-chapter-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lib-card { padding: 18px 18px; }
  .lib-card-title { font-size: 0.96rem; }
  .lib-card-desc { font-size: 12.5px; }
  .lib-cap-note {
    margin-top: 24px;
    padding: 16px 18px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  /* En viewports muy chicos: KPIs dashboard a 1 col */
  .inmo-dash-kpis { grid-template-columns: 1fr; }
  .inmo-story-title { font-size: 1.35rem; }
  .lead-race-divider { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   STORYTELLING CLÍNICAS · 3 bloques nativos (no reciclados de inmo)
   ═══════════════════════════════════════════════════════════════════ */

.cli-story {
  padding: 100px 0 60px;
  border-top: 1px solid var(--border-subtle);
}
.cli-story .section-head { margin-bottom: 56px; }
.cli-story-block { padding: 64px 0; }
.cli-story-block--alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cli-story-head { text-align: center; margin-bottom: 48px; }
.cli-story-num {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: var(--lila);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.22);
  border-radius: 999px;
}
.cli-story-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.cli-story-title em { font-style: normal; color: var(--lila); }
.cli-story-desc {
  font-size: 16.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
  max-width: 64ch;
  margin: 0 auto;
}
.cli-takeaway {
  margin-top: 40px;
  padding: 22px 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--lila);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}
.cli-takeaway strong { color: var(--ink-primary); font-weight: 500; }
.cli-takeaway em { color: var(--lila); font-style: normal; }

/* ─── Bloque 1 · El día de tu recepción · gantt horizontal ─── */
.cli-day {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 auto;
}
.cli-day-col {
  padding: 26px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.cli-day-col--before { border-color: rgba(248,113,113,0.16); }
.cli-day-col--after { border-color: rgba(197,247,63,0.22); box-shadow: 0 0 28px rgba(197,247,63,0.05); }
.cli-day-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-secondary);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.cli-day-dot { width: 8px; height: 8px; border-radius: 50%; }
.cli-day-dot--bad { background: #F87171; }
.cli-day-dot--good { background: var(--lima); }
.cli-day-status {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.10em;
}
.cli-day-status--bad { color: #F87171; background: rgba(248,113,113,0.10); border: 1px solid rgba(248,113,113,0.22); }
.cli-day-status--good { color: var(--lima); background: rgba(197,247,63,0.08); border: 1px solid rgba(197,247,63,0.22); }
.cli-day-tasks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.cli-day-task {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
}
.cli-day-time {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.cli-day-bar {
  grid-column: 2;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 999px;
  overflow: hidden;
}
.cli-day-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(248,113,113,0.55), rgba(248,113,113,0.30));
  border-radius: 999px;
}
.cli-day-bar--good > span {
  background: linear-gradient(90deg, rgba(167,139,250,0.55), rgba(167,139,250,0.25));
}
.cli-day-text {
  grid-column: 2;
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.45;
}
.cli-day-end {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 13px;
  line-height: 1.55;
}
.cli-day-end--bad { color: #F87171; }
.cli-day-end--good { color: var(--lima); }

/* ─── Bloque 2 · Urgencia · flujo paso a paso ─── */
.cli-urgency { max-width: 720px; margin: 0 auto; }
.cli-urgency-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  margin-bottom: 32px;
}
.cli-urgency-step {
  padding: 24px 26px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  position: relative;
}
.cli-urgency-step--patient { border-color: rgba(255,255,255,0.12); }
.cli-urgency-step--ai { border-color: var(--lila-border); background: linear-gradient(180deg, rgba(167,139,250,0.06), var(--bg-tertiary)); }
.cli-urgency-step--guard { border-color: rgba(248,113,113,0.32); background: linear-gradient(180deg, rgba(248,113,113,0.08), var(--bg-tertiary)); }
.cli-urgency-step--resolved { border-color: rgba(197,247,63,0.32); background: linear-gradient(180deg, rgba(197,247,63,0.08), var(--bg-tertiary)); }
.cli-urgency-icon {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink-secondary);
}
.cli-urgency-step--ai .cli-urgency-icon { color: var(--lila); border-color: var(--lila-border); }
.cli-urgency-step--guard .cli-urgency-icon { color: #F87171; border-color: rgba(248,113,113,0.32); }
.cli-urgency-step--resolved .cli-urgency-icon { color: var(--lima); border-color: rgba(197,247,63,0.32); }
.cli-urgency-icon svg { width: 16px; height: 16px; }
.cli-urgency-time {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  letter-spacing: 0.10em;
  margin: 8px 0 4px;
}
.cli-urgency-title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink-primary);
  margin: 0 0 12px;
}
.cli-urgency-msg {
  padding: 12px 14px;
  background: #005C4B;
  color: #E9EDEF;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 480px;
}
.cli-urgency-detect {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-secondary);
}
.cli-urgency-detect li::before {
  content: '✓';
  color: var(--lila);
  margin-right: 8px;
  font-weight: 600;
}
.cli-urgency-detect em { color: #F87171; font-style: normal; font-weight: 500; }
.cli-urgency-action {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: rgba(167,139,250,0.12);
  border-left: 3px solid var(--lila);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-primary);
}
.cli-urgency-alert {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid rgba(248,113,113,0.22);
  border-radius: 10px;
  font-size: 13px;
}
.cli-urgency-alert-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cli-urgency-alert-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  padding: 3px 8px;
  background: #F87171;
  color: #fff;
  border-radius: 999px;
  letter-spacing: 0.10em;
  font-weight: 600;
}
.cli-urgency-alert-time {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
}
.cli-urgency-alert p { margin: 4px 0; }
.cli-urgency-alert-quote {
  color: var(--ink-secondary);
  font-style: italic;
  padding: 6px 0;
}
.cli-urgency-alert-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 8px;
  margin-top: 8px;
}
.cli-urgency-resolved {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin: 0;
}
.cli-urgency-resolved strong { color: var(--lima); font-weight: 500; }
.cli-urgency-arrow {
  display: flex;
  justify-content: center;
  padding: 14px 0;
  color: var(--ink-tertiary);
}
.cli-urgency-arrow svg { width: 20px; height: 20px; }

.cli-urgency-compare {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}
.cli-urgency-compare-row {
  display: grid;
  grid-template-columns: 130px 200px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 8px 0;
  font-size: 13px;
}
.cli-urgency-compare-row + .cli-urgency-compare-row {
  border-top: 1px solid var(--border-subtle);
}
.cli-urgency-compare-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.cli-urgency-compare-row--bad .cli-urgency-compare-label { color: #F87171; }
.cli-urgency-compare-row--good .cli-urgency-compare-label { color: var(--lima); }
.cli-urgency-compare-val {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-primary);
}
.cli-urgency-compare-note {
  color: var(--ink-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* ─── Bloque 3 · Juana · cadena emocional WhatsApp en el tiempo ─── */
.cli-journey {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cli-journey-event {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 14px 0;
}
.cli-journey-month {
  flex-shrink: 0;
  width: 90px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--lila);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding-top: 14px;
  text-align: right;
}
.cli-journey-card {
  flex: 1;
  padding: 14px 18px;
  background: rgba(167,139,250,0.06);
  border: 1px solid var(--lila-border);
  border-radius: 12px;
}
.cli-journey-card--repeat { border-color: var(--lima); background: rgba(197,247,63,0.06); }
.cli-journey-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.cli-journey-tag--consult { color: var(--lila); }
.cli-journey-tag--visit { color: var(--lima); }
.cli-journey-card--repeat .cli-journey-tag--consult { color: var(--lima); }
.cli-journey-text {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
}
.cli-journey-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}
.cli-journey-bubble--clinic {
  align-self: flex-start;
  background: #1F2C33;
  color: #E9EDEF;
  border-bottom-left-radius: 4px;
}
.cli-journey-bubble--patient {
  align-self: flex-end;
  background: #005C4B;
  color: #E9EDEF;
  border-bottom-right-radius: 4px;
}
.cli-journey-bubble p { margin: 0; }
.cli-journey-bubble-time {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: #8696A0;
  margin-bottom: 6px !important;
  letter-spacing: 0.04em;
}
.cli-journey-gap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-tertiary);
  letter-spacing: 0.06em;
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
  margin: 8px 0;
}

/* ─── Mobile · 3 bloques clínicas ─── */
@media (max-width: 720px) {
  .cli-story { padding: 64px 0 32px; }
  .cli-story-block { padding: 40px 0; }
  .cli-story-head { margin-bottom: 32px; }
  .cli-story-num { font-size: 12px; padding: 5px 12px; }
  .cli-story-title { font-size: 1.5rem; line-height: 1.2; }
  .cli-story-desc { font-size: 15px; }
  .cli-takeaway { padding: 16px 18px; font-size: 13.5px; }

  /* Bloque 1: 2 cols → stack vertical */
  .cli-day { grid-template-columns: 1fr; gap: 18px; }
  .cli-day-col { padding: 22px 20px; }
  .cli-day-task { gap: 4px 10px; grid-template-columns: 46px 1fr; }
  .cli-day-time { font-size: 11px; }
  .cli-day-text { font-size: 12.5px; }

  /* Bloque 2: pasos del flujo */
  .cli-urgency-step { padding: 22px 20px; }
  .cli-urgency-icon { left: 18px; }
  .cli-urgency-msg { font-size: 13px; }
  .cli-urgency-compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cli-urgency-compare-val { font-size: 13px; }

  /* Bloque 3: journey */
  .cli-journey-event { flex-direction: column; gap: 8px; }
  .cli-journey-month {
    width: auto;
    padding-top: 0;
    text-align: left;
  }
  .cli-journey-bubble { max-width: 90%; font-size: 13.5px; }
}

/* Disclaimer del storytelling clínicas (ejemplo dental aplica a todas las clínicas) */
.story-disclaimer {
  margin-top: 18px;
  padding: 14px 22px;
  background: var(--bg-tertiary);
  border: 1px dashed var(--lila-border);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}
.story-disclaimer strong { color: var(--ink-primary); font-weight: 500; }
@media (max-width: 720px) {
  .story-disclaimer { padding: 12px 16px; font-size: 12.5px; }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO COMPOSITE CLÍNICAS · chat protagonista + 2 overlays
   (sustituye .hero-visual + .hero-mock-* en clínicas)
   ═══════════════════════════════════════════════════════════════════ */
.cli-hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 380px;
}

/* Chat protagonista grande */
.cli-hero-chat {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  background: #0B141A;
  border: 1px solid #1F2C33;
  border-radius: 18px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
}
.cli-hero-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #1F2C33;
  flex-shrink: 0;
}
.cli-hero-chat-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--lila);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.cli-hero-chat-av svg { width: 18px; height: 18px; }
.cli-hero-chat-name { font-size: 12.5px; color: #E9EDEF; font-weight: 500; }
.cli-hero-chat-status { font-size: 10.5px; color: #8696A0; }

.cli-hero-chat-msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.cli-hero-msg {
  max-width: 85%;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #E9EDEF;
  position: relative;
}
.cli-hero-msg p { margin: 0; }
.cli-hero-msg--patient {
  align-self: flex-start;
  background: #1F2C33;
  border-bottom-left-radius: 3px;
}
.cli-hero-msg--clinic {
  align-self: flex-end;
  background: #005C4B;
  border-bottom-right-radius: 3px;
}
.cli-hero-msg-time {
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  color: #8696A0;
  margin-top: 2px;
  text-align: right;
}

/* Overlay 1: alerta urgencia */
.cli-hero-alert {
  position: absolute;
  top: 12%; right: 0;
  width: 38%;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(248,113,113,0.18), var(--bg-tertiary));
  border: 1px solid rgba(248,113,113,0.42);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(248,113,113,0.12), 0 12px 28px rgba(0,0,0,0.34);
  backdrop-filter: blur(8px);
}
.cli-hero-alert-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cli-hero-alert-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  padding: 2px 7px;
  background: #F87171;
  color: #fff;
  border-radius: 999px;
  letter-spacing: 0.10em;
  font-weight: 600;
}
.cli-hero-alert-time {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  color: var(--ink-tertiary);
}
.cli-hero-alert-msg {
  font-size: 11px;
  color: var(--ink-secondary);
  font-style: italic;
  margin: 0 0 6px;
  line-height: 1.35;
}
.cli-hero-alert-action {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: #F87171;
  margin: 0;
  padding-top: 6px;
  border-top: 1px dashed rgba(248,113,113,0.32);
}

/* Overlay 2: recordatorio empático */
.cli-hero-reminder {
  position: absolute;
  bottom: 0; right: 8%;
  width: 56%;
  padding: 12px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--lila-border);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(167,139,250,0.10), 0 12px 28px rgba(0,0,0,0.34);
}
.cli-hero-reminder-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  color: var(--lila);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.cli-hero-reminder-msg {
  font-size: 11px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .cli-hero-visual { display: none; }
}
