/* Capturas del software dentro de los marcos de la página + demo interactiva (solo escritorio). */
.preview-shot, .dashboard-shot, .chat-shot { background: var(--surface); line-height: 0; }
.preview-shot img, .dashboard-shot img, .chat-shot img { display: block; width: 100%; height: auto; }
.chat-mockup-card .chat-shot { flex: 1; }

/* ─── Guía interactiva paso a paso: no existe en móvil ni en pantallas táctiles ─── */
.demo-section { display: none; }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .demo-section { display: block; background: var(--surface); }
  .c4d { max-width: clamp(760px, calc((100vh - 370px) * 1.6), 1120px); margin: var(--space-7) auto 0; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-float); text-align: left; }
  .c4d:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
  .c4d-bar { display: flex; align-items: center; padding: .75rem 1.25rem; background: var(--ink-panel); }
  .c4d-dots { display: flex; gap: 6px; } .c4d-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; } .c4d-dots i:nth-child(2) { background: #f59e0b; } .c4d-dots i:nth-child(3) { background: #22c55e; }
  .c4t-chapters { display: flex; flex-wrap: wrap; gap: .4rem; padding: .9rem 1.25rem; background: var(--surface); box-shadow: inset 0 -1px 0 var(--surface-2); }
  .c4t-chip { padding: .45rem .85rem; border: 0; border-radius: 999px; background: var(--tint); color: var(--primary-ink); font: 600 .8125rem 'Inter', sans-serif; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
  .c4t-chip:hover { background: var(--tint-2); } .c4t-chip:active { transform: scale(.97); }
  .c4t-chip[aria-current="step"] { background: var(--primary); color: #fff; }
  .c4t-stage { position: relative; aspect-ratio: 1440 / 900; background: #f8f9fb; overflow: hidden; }
  .c4t-img { display: block; width: 100%; height: 100%; }
  .c4t-mask { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .c4t-rings span { position: absolute; border: 3px solid var(--primary); border-radius: 10px; pointer-events: none; transition: left var(--dur) var(--ease-out), top var(--dur) var(--ease-out), width var(--dur) var(--ease-out), height var(--dur) var(--ease-out); }
  .c4t-hot { position: absolute; padding: 0; border: 3px solid #f59e0b; border-radius: 10px; background: rgba(245, 158, 11, .12); cursor: pointer; animation: c4t-pulse 1.6s var(--ease-in-out) infinite; }
  .c4t-hot[hidden] { display: none; }
  .c4t-hot:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
  .c4t-tip { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; padding: .45rem .8rem; border-radius: 999px; background: var(--ink-panel); color: #fff; font: 700 .8125rem 'Inter', sans-serif; box-shadow: var(--shadow-float); }
  .c4t-hot.tip-up .c4t-tip { top: auto; bottom: calc(100% + 10px); }
  @keyframes c4t-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .45); } 50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); } }
  .c4t-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem var(--space-6); align-items: end; padding: var(--space-5) var(--space-6) var(--space-6); background: var(--surface); }
  .c4t-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-4); }
  .c4t-count { flex: none; font-size: .8125rem; font-weight: 700; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
  .c4t-progress { flex: 1; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
  .c4t-progress i { display: block; height: 100%; border-radius: inherit; background: var(--primary); transition: width var(--dur) var(--ease-out); }
  .c4t-title { margin: 0 0 .35rem; font: 800 1.375rem/1.25 'Nunito', sans-serif; color: var(--text); }
  .c4t-desc { margin: 0; max-width: 72ch; color: var(--text-dim); line-height: 1.6; }
  .c4t-hint { margin: .5rem 0 0; font-size: .8125rem; font-weight: 600; color: #b45309; }
  .c4t-hint:empty { display: none; }
  .c4t-nav { display: flex; gap: .5rem; }
  .c4t-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 999px; font: 700 .9375rem 'Inter', sans-serif; cursor: pointer; text-decoration: none; transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
  .c4t-btn:active { transform: scale(.97); }
  .c4t-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
  .c4t-prev { background: var(--tint); color: var(--primary-ink); } .c4t-prev:disabled { opacity: .45; cursor: default; }
  .c4t-next { background: var(--primary); color: #fff; } .c4t-next:hover { background: var(--primary-ink); }
  .c4t-finish { background: var(--ink-panel); color: #fff; } .c4t-finish[hidden] { display: none; }
  .c4d-note { margin: var(--space-4) 0 0; text-align: center; font-size: .875rem; color: var(--text-muted); }
  .c4d-cta { display: flex; justify-content: center; margin-top: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) { .c4t-hot { animation: none; } .c4t-rings span, .c4t-progress i, .c4t-chip, .c4t-btn { transition: none; } }
