/* ==========================================================================
   INFITE OS — Design System
   Fintech serio: negro/azul, alto contraste, sin gradientes de moda,
   sin animaciones gratuitas. La solidez viene del contenido, no del efecto.
   ========================================================================== */

:root {
  --bg: #06080f;
  --bg-panel: #0d1220;
  --bg-panel-2: #121a2c;
  --border: rgba(120, 150, 220, 0.14);
  --border-strong: rgba(140, 170, 255, 0.24);
  --text: #f2f4f7;
  --text-muted: #9aa4b2;
  --text-dim: #5c6672;
  --blue: #2f6fed;
  --blue-bright: #4f7dff;
  --blue-dim: #1c3f8c;
  --cyan: #29c0f0;
  --radius: 6px;
  --maxw: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(140, 170, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: grid-pan 100s linear infinite;
}
@keyframes grid-pan {
  from { background-position: 0 0; }
  to   { background-position: 480px 480px; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1, h2 { font-family: var(--font-display); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.35; }

p { margin: 0 0 16px; color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 1px;
  transform: rotate(45deg);
  display: inline-block;
}

/* ---------- Header ---------- */

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
}
header.site::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue) 35%, var(--cyan) 65%, transparent);
  opacity: 0.55;
  pointer-events: none;
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.brand img { height: 20px; width: auto; }

nav.main { display: flex; align-items: center; gap: 34px; }
nav.main a {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color .15s ease;
}
nav.main a:hover, nav.main a.active { color: var(--text); }
nav.main .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .15s ease, border-color .15s ease, background .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(47, 111, 237, 0.65);
}
.btn-primary:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 14px 32px -8px rgba(47, 111, 237, 0.8); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(47, 111, 237, 0.08); }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--border);
}
.hero .cols {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 0.85rem; color: var(--text-dim); }

.stat-panel {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-panel), var(--bg));
  border-radius: 10px;
  padding: 30px;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.stat-row:last-child { border-bottom: none; }
.stat-row .num { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.stat-row .label { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Sections ---------- */

section { padding: 84px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
.section-head { max-width: 640px; margin-bottom: 52px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 10px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.75;
}
.card .icon {
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  background: rgba(47,111,237,0.12);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
  font-weight: 800;
  transition: transform .3s cubic-bezier(.2,.8,.3,1.3), background .3s ease, border-color .3s ease;
}
.card .icon svg { width: 21px; height: 21px; }

.module-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  background: rgba(47,111,237,0.12);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--cyan);
  transition: transform .3s cubic-bezier(.2,.8,.3,1.3), background .3s ease, border-color .3s ease;
}
.module-icon svg { width: 21px; height: 21px; }

.card:hover .icon, .module:hover .module-icon {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(47,111,237,0.24);
  border-color: var(--cyan);
}

/* Módulos (pricing) */
.module {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 12px;
  padding: 34px;
  position: relative;
}
.module.featured {
  border-color: var(--blue);
  background: linear-gradient(165deg, rgba(47,111,237,0.30), var(--bg-panel) 58%);
  box-shadow: 0 24px 48px -24px rgba(47,111,237,0.45);
}
.module .tag {
  position: absolute; top: -12px; left: 30px;
  background: var(--blue); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 4px; text-transform: uppercase;
}
.module .price { font-size: 2.1rem; font-weight: 800; margin: 14px 0 4px; }
.module .price span { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.module .price-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--cyan);
  margin: 14px 0 4px;
}
.module .price-tag::before {
  content: ''; width: 6px; height: 6px; background: var(--cyan);
  border-radius: 1px; transform: rotate(45deg); flex-shrink: 0;
}
.module-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  border-top: 1px solid var(--border); padding-top: 18px; width: 100%;
  transition: color .15s ease, gap .15s ease;
}
.module-cta:hover { color: var(--cyan); gap: 10px; }
.module ul { list-style: none; padding: 0; margin: 22px 0 0; }
.module li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.92rem;
}
.module li:first-child { border-top: none; }
.module li::before { content: '—'; color: var(--cyan); flex-shrink: 0; }

/* Método / loop */
.loop-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.loop-steps .step {
  padding: 28px 22px;
  border-right: 1px solid var(--border);
  background: var(--bg-panel);
}
.loop-steps .step:last-child { border-right: none; }
.loop-steps .step .n {
  font-size: 0.78rem; font-weight: 700; color: var(--cyan);
  letter-spacing: .08em; margin-bottom: 10px; display: block;
}

/* Casos */
.case {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.case::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.75;
}
.case .meta {
  display: flex; gap: 16px; align-items: center; margin-bottom: 18px;
  font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em;
}
.case .meta .sector { color: var(--cyan); font-weight: 700; }

/* Diagnóstico CTA band */
.band {
  background: var(--bg-panel-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(47,111,237,0.20) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: band-drift 18s ease-in-out infinite alternate;
}
@keyframes band-drift {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(calc(-50% + 26px), calc(-50% - 16px)) scale(1.08); }
}
.band .wrap { position: relative; z-index: 1; }
.band h2 { max-width: 640px; margin: 0 auto 18px; }
.band .lead { margin: 0 auto 32px; }

/* Resplandor reutilizable para romper el negro plano en otras secciones */
.section-glow { position: relative; overflow: hidden; }
.section-glow::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  width: 1000px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(47,111,237,0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: glow-drift 24s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift {
  from { transform: translateX(-50%) translateY(0) scale(1); }
  to   { transform: translateX(calc(-50% - 30px)) translateY(20px) scale(1.05); }
}
.section-glow .wrap { position: relative; z-index: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }

.contact-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.contact-item:first-child { border-top: none; }
.contact-item .k { color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-item .v { font-weight: 600; }

/* Footer */
footer.site {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
footer.site .bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
footer.site nav { display: flex; gap: 26px; }
footer.site nav a { font-size: 0.88rem; color: var(--text-muted); }
footer.site .copy { font-size: 0.82rem; color: var(--text-dim); }

/* Utilities */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; }

@media (max-width: 860px) {
  .hero .cols, .grid-2, .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .loop-steps { grid-template-columns: repeat(2, 1fr); }
  .loop-steps .step { border-bottom: 1px solid var(--border); }

  header.site .bar { position: relative; }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }

  .hero::before { width: 420px; height: 420px; top: -160px; right: -140px; }
  .hero::after { width: 360px; height: 360px; bottom: -160px; left: -140px; }
  .hero-blob-3 { width: 340px; height: 340px; bottom: -140px; left: 30%; }
  .band::before { width: 640px; height: 420px; }
  .section-glow::before { width: 700px; height: 520px; top: -100px; }
  .module.featured { box-shadow: 0 18px 36px -18px rgba(47,111,237,0.5); }

  nav.main {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  nav.main.open { max-height: 480px; }
  nav.main a {
    padding: 16px 28px;
    border-top: 1px solid var(--border);
    color: var(--text);
  }
  nav.main .nav-cta {
    display: flex;
    margin: 14px 28px 20px;
    width: auto;
  }
}

/* ==========================================================================
   Movimiento — sutil, con propósito, nunca decorativo porque sí.
   ========================================================================== */

/* Resplandor de fondo, muy contenido, deriva lento */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -160px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(47,111,237,0.34) 0%, rgba(47,111,237,0.10) 45%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -260px;
  left: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(41,192,240,0.22) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate-reverse;
  z-index: 0;
}
.hero-blob-3 {
  content: '';
  position: absolute;
  bottom: -220px;
  left: 38%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(47,111,237,0.16) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: drift 24s ease-in-out infinite alternate;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 24px) scale(1.06); }
}

/* Revelado al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: .32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: .40s; }

/* Micro-interacciones */
.card, .module, .case {
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.card:hover, .module:hover, .case:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 44px -26px rgba(47,111,237,0.45);
}
.card:active, .module:active, .case:active { transform: translateY(-2px) scale(0.99); }
.module.featured:hover { border-color: var(--blue); }
.btn { transition: opacity .15s ease, border-color .15s ease, background .15s ease, transform .15s ease; }
.btn:active { transform: scale(0.97); }

/* Subrayado animado del menú */
nav.main a { position: relative; }
nav.main a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: right .25s ease;
}
nav.main a:hover::after, nav.main a.active::after { right: 0; }

/* FAQ: interacción al pasar el cursor */
.faq details { transition: background .25s ease; }
.faq details:hover { background: rgba(120,150,220,0.035); }
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--cyan); }
.faq summary:hover::after { transform: scale(1.2); }

.loop-steps .step { transition: background .25s ease; }
.loop-steps .step:hover { background: var(--bg-panel-2); }

/* Mockups de producto (prueba visual, no ilustración de stock) */
.mockup {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 12px;
  padding: 22px;
}
.mockup-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em;
}
.mockup-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

.chat-line { display: flex; margin-bottom: 12px; }
.chat-line.in { justify-content: flex-start; }
.chat-line.out { justify-content: flex-end; }
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.chat-line.in .bubble { background: var(--bg-panel-2); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 3px; }
.chat-line.out .bubble { background: var(--blue-dim); color: #dce6ff; border-bottom-right-radius: 3px; }

.lead-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.lead-card:last-child { border-bottom: none; }
.lead-card .who { font-weight: 600; font-size: 0.92rem; }
.lead-card .what { font-size: 0.82rem; color: var(--text-dim); }
.lead-card .tag {
  font-size: 0.72rem; font-weight: 700; padding: 4px 9px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .04em;
}
.tag-hot { background: rgba(47,111,237,0.18); color: #8fb2ff; }
.tag-new { background: rgba(41,192,240,0.15); color: var(--cyan); }

/* ---------- Panel "en vivo" del hero — ventanas apiladas ---------- */

.chrome-dots { display: flex; gap: 5px; margin-right: 6px; }
.chrome-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.chrome-dots i:nth-child(1) { background: #ff5f57; }
.chrome-dots i:nth-child(2) { background: #febc2e; }
.chrome-dots i:nth-child(3) { background: #28c840; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(41,192,240,0.55);
  animation: pulse 2.2s ease-out infinite;
  display: inline-block;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(41,192,240,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(41,192,240,0); }
  100% { box-shadow: 0 0 0 0 rgba(41,192,240,0); }
}

.hero-visual-wrap { position: relative; }
.hero-visual { position: relative; height: 348px; }

.hwin {
  position: absolute;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg));
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 55px -26px rgba(0,0,0,0.65);
}
.hwin-head {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--border);
  font-size: 0.68rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .05em;
  white-space: nowrap;
}
.hwin-label-cyan { color: var(--cyan); display: inline-flex; align-items: center; gap: 7px; }
.hwin-body { padding: 15px 16px; }

.hwin-capture {
  width: 56%; left: 0; top: 116px; z-index: 1;
  transform: perspective(1400px) rotateY(6deg) rotate(-2deg);
}
.hwin-voice {
  width: 60%; left: 21%; top: 0; z-index: 3;
  transform: perspective(1400px) rotateY(-2deg);
  border-color: rgba(79,125,255,0.42);
  box-shadow: 0 34px 65px -20px rgba(47,111,237,0.55);
}
.hwin-operate {
  width: 52%; right: 0; top: 116px; z-index: 1;
  transform: perspective(1400px) rotateY(-8deg) rotate(2deg);
}

.hwin-capture .lead-card { padding: 9px 0; }
.hwin-capture .lead-card .who { font-size: 0.85rem; }
.hwin-capture .lead-card .what { font-size: 0.7rem; white-space: nowrap; }
.hwin-voice .bubble { font-size: 0.8rem; padding: 8px 12px; }
.op-caption { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; }

.live-panel-foot.standalone {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg));
  margin-top: 22px;
}

@media (max-width: 640px) {
  .hero-visual { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .hwin { position: static; width: 100% !important; transform: none !important; }
  .hwin-voice { order: -1; }
}

.bubble.typing::after {
  content: '';
  display: inline-block;
  width: 2px; height: 12px;
  background: currentColor;
  margin-left: 2px;
  vertical-align: -2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.lead-card.will-enter { opacity: 0; transform: translateX(10px); transition: opacity .4s ease, transform .4s ease; }
.lead-card.entered { opacity: 1; transform: translateX(0); }

.op-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 0.9rem; }
.op-track {
  width: 100%; height: 6px; border-radius: 3px;
  background: var(--bg-panel-2); border: 1px solid var(--border);
  overflow: hidden; margin-bottom: 18px;
}
.op-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 2.4s cubic-bezier(.4,0,.2,1);
}
.op-status { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-muted); }
.op-check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--text-dim);
  transition: all .3s ease;
}
.op-status.done .op-check { background: var(--cyan); border-color: var(--cyan); color: #05070a; }
.op-status.done .op-check::after { content: '✓'; }
.op-doc {
  border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px;
  background: var(--bg-panel-2); margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem;
}

.live-panel-foot {
  display: flex; border-top: 1px solid var(--border);
}
.live-panel-foot div {
  flex: 1; text-align: center; padding: 16px 8px;
  border-right: 1px solid var(--border);
}
.live-panel-foot div:last-child { border-right: none; }
.live-panel-foot b { display: block; font-size: 1.05rem; font-weight: 800; }
.live-panel-foot span { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 860px) and (min-width: 641px) { .hero-visual { height: 340px; } }

/* ---------- Marquee de sectores ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 52px;
  width: max-content;
  animation: scroll-left 26s linear infinite;
}
.marquee-track span {
  font-weight: 600; font-size: 0.95rem; color: var(--text-dim); white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
}
.marquee-track span::before {
  content: ''; width: 5px; height: 5px; background: var(--cyan);
  transform: rotate(45deg); display: inline-block;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--cyan);
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; max-width: 640px; }

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .hero::before, .hero::after, .hero-blob-3 { animation: none; }
  .band::before, .section-glow::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .module:hover, .case:hover { transform: none; }
  .card:hover .icon, .module:hover .module-icon { transform: none; }
  .live-dot { animation: none; }
  .scene { transition: none; }
  .lead-card.will-enter { opacity: 1; transform: none; transition: none; }
  .op-fill { transition: none; }
}
