:root{
  --bg: #2b2a28;
  --bg-alt: #242322;
  --surface: #343230;
  --surface-2: #3d3b38;
  --border: #4a4744;
  --text: #f2efe9;
  --text-dim: #a8a39b;
  --green: #17b88a;
  --green-dim: rgba(23,184,138,0.14);
  --ink: #171614;
  --ink-text: #f2efe9;
  --ink-dim: #a9a49a;
  --on-green: #10231c;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text);
  font-family:'IBM Plex Sans', sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2{ font-family:'Fraunces', serif; font-weight:500; letter-spacing:-0.01em; font-style:normal; }
h3,h4{ font-family:'Space Grotesk', sans-serif; font-weight:600; letter-spacing:-0.005em; }
.mono{ font-family:'IBM Plex Mono', monospace; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1140px; margin:0 auto; padding:0 24px; }
img{ max-width:100%; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

.node-canvas{ position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0.55; }

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(43,42,40,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
nav{ display:flex; align-items:center; justify-content:space-between; padding:18px 24px; max-width:1140px; margin:0 auto; gap:16px; }
.logo{ display:flex; align-items:center; gap:10px; font-family:'Space Grotesk', sans-serif; font-size:17px; font-weight:600; letter-spacing:0.06em; }
.logo img{ height:26px; width:auto; display:block; }
.logo .in{ color:var(--green); }
.logo .rest{ color:var(--text); }
.nav-links{ display:flex; gap:28px; font-size:14.5px; color:var(--text-dim); }
.nav-links a:hover{ color:var(--text); }
.nav-links a.active{ color:var(--green); }
.nav-cta{
  background:var(--green); color:var(--on-green); font-weight:600; font-size:14px;
  padding:10px 18px; border-radius:6px; font-family:'IBM Plex Mono',monospace;
  transition:transform .15s ease, box-shadow .15s ease; white-space:nowrap;
}
.nav-cta:hover{ transform:translateY(-1px); box-shadow:0 6px 18px rgba(23,184,138,0.25); }
.nav-mobile-hide{ display:flex; }
.nav-toggle{ display:none; background:none; border:1px solid var(--border); border-radius:6px; padding:8px 10px; color:var(--text); font-size:18px; }
@media (max-width:760px){
  .nav-mobile-hide{ display:none; flex-direction:column; width:100%; padding:16px 24px; gap:16px; background:var(--bg-alt); border-top:1px solid var(--border); }
  .nav-mobile-hide.open{ display:flex; }
  .nav-toggle{ display:block; }
  nav{ flex-wrap:wrap; }
}

/* ---------- BUTTONS ---------- */
.btn-primary{
  background:var(--green); color:var(--on-green); font-weight:600; font-size:15px;
  padding:14px 24px; border-radius:8px; display:inline-flex; align-items:center; gap:8px;
  transition:transform .15s ease, box-shadow .15s ease; border:none; cursor:pointer;
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(23,184,138,0.25); }
.btn-secondary{
  border:1px solid var(--border); color:var(--text); font-weight:500; font-size:15px;
  padding:14px 24px; border-radius:8px; display:inline-flex; align-items:center; gap:8px;
  transition:border-color .15s ease, background .15s ease;
}
.btn-secondary:hover{ border-color:var(--green); background:var(--green-dim); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono', monospace; font-size:12.5px; letter-spacing:0.08em;
  color:var(--green); background:var(--green-dim); border:1px solid rgba(23,184,138,0.3);
  padding:6px 12px; border-radius:100px; margin-bottom:24px;
}
.dot-sm{ width:6px; height:6px; border-radius:50%; background:var(--green); }

/* ---------- PAGE HERO (páginas internas) ---------- */
.page-hero{ position:relative; padding:72px 24px 56px; border-bottom:1px solid var(--border); }
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero h1{ font-size:clamp(30px,4.4vw,44px); margin-bottom:16px; }
.page-hero p{ color:var(--text-dim); font-size:16.5px; max-width:600px; }
.breadcrumb{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--text-dim); margin-bottom:20px; }
.breadcrumb a:hover{ color:var(--green); }

/* ---------- HOME HERO ---------- */
.hero{ position:relative; padding:110px 24px 90px; overflow:hidden; }
.hero::before{
  content:''; position:absolute; inset:0; opacity:0.5; pointer-events:none; z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.hero-grid{
  max-width:1140px; margin:0 auto; position:relative; z-index:1;
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
}
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }
.hero h1{ font-size:clamp(40px,7vw,74px); line-height:1.02; margin-bottom:24px; letter-spacing:-0.02em; }
.hero h1 .hl{ color:var(--green); font-style:italic; }
.hero p.lead{ font-size:18px; color:var(--text-dim); max-width:520px; margin-bottom:32px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:40px; }

.trust-bar{ display:flex; gap:28px; flex-wrap:wrap; font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-dim); }
.trust-bar span{ display:flex; align-items:center; gap:8px; }
.trust-bar .sq{ width:6px; height:6px; background:var(--green); }

/* Chat mock */
.chat-mock-wrap{ position:relative; }
.chat-mock-wrap::before{
  content:''; position:absolute; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, rgba(23,184,138,0.22) 0%, rgba(23,184,138,0) 70%);
  top:-60px; right:-60px; z-index:0; filter:blur(4px);
}
.chat-mock{
  position:relative; z-index:1;
  background:var(--surface); border:1px solid var(--border); border-radius:20px;
  padding:22px; box-shadow:0 32px 60px -20px rgba(0,0,0,0.45);
}
.chat-head{ display:flex; align-items:center; gap:10px; padding-bottom:14px; border-bottom:1px solid var(--border); margin-bottom:16px; }
.chat-avatar{ width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,var(--green),var(--ink)); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:var(--ink-text); }
.chat-name{ font-size:14px; font-weight:600; }
.chat-status{ font-size:12px; color:var(--green); font-family:'IBM Plex Mono',monospace; }
.chat-body{ display:flex; flex-direction:column; gap:10px; min-height:220px; }
.bubble{ max-width:80%; padding:10px 14px; border-radius:14px; font-size:14px; opacity:0; transform:translateY(6px); animation:rise .4s ease forwards; }
.bubble.in{ background:var(--surface-2); align-self:flex-start; border-bottom-left-radius:4px; }
.bubble.out{ background:var(--green-dim); border:1px solid rgba(23,184,138,0.3); align-self:flex-end; border-bottom-right-radius:4px; }
@keyframes rise{ to{ opacity:1; transform:translateY(0); } }
.typing{ display:inline-flex; gap:4px; align-self:flex-start; padding:10px 14px; background:var(--surface-2); border-radius:14px; border-bottom-left-radius:4px; opacity:0; animation:rise .4s ease forwards; }
.typing span{ width:6px; height:6px; border-radius:50%; background:var(--text-dim); animation:tdot 1.2s ease-in-out infinite; }
.typing span:nth-child(2){ animation-delay:.15s; }
.typing span:nth-child(3){ animation-delay:.3s; }
@keyframes tdot{ 0%,60%,100%{ transform:translateY(0); opacity:.4;} 30%{ transform:translateY(-4px); opacity:1;} }

/* ---------- SECTIONS shared ---------- */
section{ padding:88px 24px; position:relative; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head p{ color:var(--text-dim); font-size:16px; }
.section-head h2{ font-size:clamp(30px,4.2vw,46px); margin-bottom:14px; }
.section-tight{ padding-top:0; }
.divider{ height:1px; background:linear-gradient(90deg, transparent, var(--border), transparent); }
.between{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; }

/* ---------- SISTEMA (lista editorial, no cards) ---------- */
.system-list{ border-top:1px solid var(--border); }
.system-row{
  display:grid; grid-template-columns:120px 1fr 40px; gap:24px; align-items:center;
  padding:44px 0; border-bottom:1px solid var(--border);
  transition:padding-left .25s ease;
}
.system-row:hover{ padding-left:12px; }
.system-row .sys-num{ font-family:'Fraunces',serif; font-size:52px; color:var(--green); line-height:1; opacity:0.9; }
.system-row h3{ font-size:22px; margin-bottom:8px; }
.system-row p{ color:var(--text-dim); font-size:15px; max-width:520px; }
.system-row .sys-arrow{ font-family:'IBM Plex Mono',monospace; color:var(--text-dim); font-size:20px; text-align:right; transition:transform .25s ease, color .25s ease; }
.system-row:hover .sys-arrow{ transform:translateX(6px); color:var(--green); }
@media (max-width:640px){ .system-row{ grid-template-columns:60px 1fr; } .sys-arrow{ display:none; } .system-row .sys-num{ font-size:36px; } }

.icon-ring{ width:44px; height:44px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:18px; }
.service-detail{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; align-items:center; padding:56px 0; border-bottom:1px solid var(--border); }
.service-detail:last-child{ border-bottom:none; }
.service-detail.reverse{ grid-template-columns:1.1fr 0.9fr; }
@media (max-width:800px){ .service-detail, .service-detail.reverse{ grid-template-columns:1fr; } }
.service-detail .num{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--green); margin-bottom:12px; display:block; }
.service-detail h3{ font-size:26px; margin-bottom:14px; }
.service-detail p{ color:var(--text-dim); font-size:15.5px; margin-bottom:20px; }
.service-detail ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.service-detail li{ font-size:14.5px; display:flex; gap:10px; }
.service-detail li::before{ content:'—'; color:var(--green); flex-shrink:0; }
.service-visual{ background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:28px; min-height:200px; display:flex; align-items:center; justify-content:center; }
.service-visual .icon-big{ font-size:64px; }

/* ---------- COMO FUNCIONA (flow) ---------- */
.flow{ position:relative; }
.flow-line{ position:absolute; top:38px; left:0; right:0; height:1px; background:repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); z-index:0; }
@media (max-width:800px){ .flow-line{ display:none; } }
.flow-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; position:relative; z-index:1; }
@media (max-width:800px){ .flow-steps{ grid-template-columns:1fr; } }
.flow-step{ background:var(--bg); }
.flow-num{ width:44px; height:44px; border-radius:50%; background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--green); margin-bottom:20px; }
.flow-step h3{ font-size:17px; margin-bottom:10px; }
.flow-step p{ color:var(--text-dim); font-size:14.5px; }

/* ---------- CASOS ---------- */
.case-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.case-grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .case-grid{ grid-template-columns:1fr; } }
@media (min-width:901px) and (max-width:1100px){ .case-grid-4{ grid-template-columns:repeat(2,1fr); } }
.case-card{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:28px; display:flex; flex-direction:column; gap:14px; transition:transform .2s ease, box-shadow .2s ease; }
.case-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -18px rgba(0,0,0,0.32); }
.case-tag{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--text-dim); letter-spacing:0.08em; }
.case-card h3{ font-size:18px; }
.case-card p{ color:var(--text-dim); font-size:14px; flex-grow:1; }
.case-stack{ display:flex; gap:6px; flex-wrap:wrap; }
.chip{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--text-dim); border:1px solid var(--border); padding:3px 9px; border-radius:100px; }

/* Caso detallado (página casos) */
.case-detail{ background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:36px; margin-bottom:24px; }
.case-detail-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:24px; }
@media (max-width:800px){ .case-detail-grid{ grid-template-columns:1fr; } }
.case-detail-grid h4{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--green); letter-spacing:0.06em; margin-bottom:10px; }
.case-detail-grid p{ color:var(--text-dim); font-size:14.5px; }

/* ---------- PRECIOS ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:900px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-card{ background:var(--bg-alt); border:1px solid var(--border); border-radius:14px; padding:32px; display:flex; flex-direction:column; position:relative; }
.price-card.featured{ border-color:var(--green); box-shadow:0 0 0 1px var(--green), 0 20px 40px -20px rgba(23,184,138,0.25); }
.price-badge{ position:absolute; top:-12px; left:32px; background:var(--green); color:var(--on-green); font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600; padding:4px 10px; border-radius:100px; }
.price-card h3{ font-size:16px; color:var(--text-dim); font-weight:500; margin-bottom:8px; font-family:'IBM Plex Sans'; }
.price-value{ font-family:'IBM Plex Mono',monospace; font-size:32px; margin-bottom:4px; }
.price-value span{ font-size:14px; color:var(--text-dim); }
.price-desc{ color:var(--text-dim); font-size:13.5px; margin-bottom:24px; }
.price-list{ list-style:none; display:flex; flex-direction:column; gap:12px; margin-bottom:28px; flex-grow:1; }
.price-list li{ font-size:14px; display:flex; gap:10px; align-items:flex-start; color:var(--text); }
.price-list li::before{ content:'—'; color:var(--green); flex-shrink:0; }
.price-cta{ text-align:center; padding:12px; border-radius:8px; border:1px solid var(--border); font-weight:500; font-size:14px; }
.price-card.featured .price-cta{ background:var(--green); color:var(--on-green); border-color:var(--green); font-weight:600; }

/* ---------- CTA WHATSAPP ---------- */
.cta-wa{ background:var(--green); color:var(--on-green); border-radius:20px; padding:64px 40px; text-align:center; position:relative; overflow:hidden; }
.cta-wa h2{ color:var(--on-green); font-size:clamp(24px,3.4vw,34px); margin-bottom:14px; }
.cta-wa p{ color:rgba(16,35,28,0.75); max-width:480px; margin:0 auto 32px; }
.cta-wa .eyebrow{ background:rgba(16,35,28,0.12); border-color:rgba(16,35,28,0.3); color:var(--on-green); }
.cta-wa .btn-primary{ background:var(--on-green); color:var(--green); }

/* ---------- CONTACTO ---------- */
.contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:800px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:32px; text-align:center; }
.contact-card .service-icon{ margin:0 auto 20px; }
.contact-card h3{ font-size:16px; margin-bottom:8px; }
.contact-card p{ color:var(--text-dim); font-size:14px; margin-bottom:20px; }

/* ---------- LEGAL PAGES ---------- */
.legal{ max-width:760px; margin:0 auto; padding:56px 24px 96px; }
.legal h2{ font-size:22px; margin:36px 0 12px; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ color:var(--text-dim); font-size:15px; margin-bottom:12px; }
.legal ul{ padding-left:20px; margin-bottom:16px; }
.legal .placeholder{ color:var(--green); }
.legal-notice{ background:var(--green-dim); border:1px solid rgba(23,184,138,0.3); border-radius:10px; padding:16px 20px; font-size:13.5px; color:var(--text-dim); margin-bottom:32px; }

/* ---------- FOOTER ---------- */
footer{ border-top:1px solid var(--border); padding:40px 24px 24px; }
.footer-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; align-items:center; }
.footer-links{ display:flex; gap:24px; font-size:13.5px; color:var(--text-dim); flex-wrap:wrap; }
.footer-links a:hover{ color:var(--green); }
.footer-note{ font-size:12.5px; color:var(--text-dim); font-family:'IBM Plex Mono',monospace; }
.footer-legal{ max-width:1140px; margin:24px auto 0; padding-top:20px; border-top:1px solid var(--border); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12px; color:var(--text-dim); }
.footer-legal a:hover{ color:var(--green); }

.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.show{ opacity:1; transform:translateY(0); }

/* ---------- PIPELINE TÉCNICO ---------- */
.pipeline-wrap{ position:relative; }
.pipeline-wrap::before{
  content:''; position:absolute; inset:-20px; opacity:0.4; pointer-events:none; z-index:0;
  background-image:radial-gradient(rgba(23,184,138,0.18) 1px, transparent 1px);
  background-size:22px 22px;
}
.pipeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:16px; overflow:hidden; position:relative; z-index:1; }
@media (max-width:760px){ .pipeline{ grid-template-columns:1fr; } }
.pipe-step{ background:var(--surface); padding:26px 22px; }
.pipe-tag{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--green); letter-spacing:0.08em; margin-bottom:10px; display:block; }
.pipe-step h4{ font-size:15.5px; margin-bottom:8px; }
.pipe-step p{ font-size:13px; color:var(--text-dim); line-height:1.55; }

/* ---------- TICKER DE ESTADO (footer) ---------- */
.status-strip{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--text-dim); display:flex; align-items:center; gap:8px; justify-content:center; padding:14px 24px; border-top:1px solid var(--border); }
.status-strip .dot-live{ width:6px; height:6px; border-radius:50%; background:var(--green); position:relative; }
.status-strip .dot-live::after{ content:''; position:absolute; inset:-3px; border-radius:50%; border:1px solid var(--green); animation:pulse-ring 2s ease-out infinite; }

/* ---------- BOTÓN FLOTANTE WHATSAPP ---------- */
.wa-float{
  position:fixed; bottom:22px; right:22px; z-index:999;
  width:56px; height:56px; border-radius:50%; background:var(--green); color:var(--on-green);
  display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px -10px rgba(0,0,0,0.5);
  transition:transform .2s ease; font-size:26px;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float .wa-ping{ position:absolute; inset:-4px; border-radius:50%; border:1.5px solid var(--green); animation:pulse-ring 2.2s ease-out infinite; }

/* ---------- STACK TECNOLÓGICO ---------- */
.stack-bar{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.stack-chip{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-dim);
  border:1px solid var(--border); border-radius:100px; padding:8px 16px; letter-spacing:0.03em;
  transition:border-color .2s ease, color .2s ease;
}
.stack-chip:hover{ border-color:var(--green); color:var(--green); }

/* ---------- ANTES / DESPUÉS ---------- */
.compare-split{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:760px){ .compare-split{ grid-template-columns:1fr; } }
.split-card{ border-radius:18px; padding:32px; }
.split-card.before{ background:var(--surface); border:1px solid var(--border); }
.split-card.after{ background:var(--green); color:var(--on-green); }
.split-label{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:18px; opacity:0.75; }
.split-card h3{ font-size:19px; margin-bottom:16px; }
.split-list{ list-style:none; display:flex; flex-direction:column; gap:12px; }
.split-card.before .split-list li{ color:var(--text-dim); font-size:14.5px; display:flex; gap:10px; }
.split-card.before .split-list li::before{ content:'✕'; color:#b56a5a; flex-shrink:0; }
.split-card.after .split-list li{ font-size:14.5px; display:flex; gap:10px; font-weight:500; }
.split-card.after .split-list li::before{ content:'✓'; flex-shrink:0; font-weight:700; }

/* ---------- CITAS DESTACADAS ---------- */
.quote-block{ text-align:center; max-width:640px; margin:0 auto; }
.quote-block .qmark{ font-family:'Fraunces',serif; font-size:64px; color:var(--green); line-height:1; opacity:0.6; }
.quote-block p{ font-family:'Fraunces',serif; font-size:clamp(19px,2.6vw,26px); line-height:1.45; margin:8px 0 18px; }
.quote-block .qsource{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--text-dim); letter-spacing:0.06em; text-transform:uppercase; }

/* ---------- FAQ ---------- */
.faq{ max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
.faq-item{ background:var(--surface); }
.faq-item summary{
  padding:20px 22px; cursor:pointer; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15.5px;
  display:flex; justify-content:space-between; align-items:center; list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-family:'IBM Plex Mono',monospace; font-size:20px; color:var(--green); flex-shrink:0; margin-left:12px; transition:transform .2s ease; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item .faq-a{ padding:0 22px 20px; color:var(--text-dim); font-size:14.5px; line-height:1.6; }

/* ---------- CONTADOR ---------- */
.count-num{ display:inline-block; }

/* ---------- COMPARATIVA ---------- */
.compare{ border:1px solid var(--border); border-radius:18px; overflow:hidden; background:var(--surface); }
.compare-row{ display:grid; grid-template-columns:1.2fr 1fr 1fr; border-bottom:1px solid var(--border); }
.compare-row:last-child{ border-bottom:none; }
.compare-row.head{ background:var(--bg-alt); }
.compare-cell{ padding:16px 18px; font-size:13.5px; display:flex; align-items:center; gap:8px; }
.compare-row.head .compare-cell{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.06em; color:var(--text-dim); text-transform:uppercase; }
.compare-cell.label{ color:var(--text-dim); }
.compare-cell.us{ color:var(--text); font-weight:500; }
.compare-cell.us::before{ content:'✓'; color:var(--green); font-weight:700; }
.compare-cell.them{ color:var(--text-dim); }
.compare-cell.them::before{ content:'–'; color:var(--text-dim); }
@media (max-width:640px){
  .compare-row{ grid-template-columns:1fr; }
  .compare-cell{ border-bottom:1px dashed var(--border); }
  .compare-cell:last-child{ border-bottom:none; }
}

/* ---------- CHAT INTERACTIVO EN VIVO ---------- */
.try-chat{
  background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:22px;
  box-shadow:0 24px 48px -20px rgba(0,0,0,0.28); max-width:560px; margin:0 auto;
}
.try-chat-log{ display:flex; flex-direction:column; gap:10px; min-height:180px; max-height:320px; overflow-y:auto; padding:4px 2px 10px; }
.try-chat-form{ display:flex; gap:8px; border-top:1px solid var(--border); padding-top:14px; margin-top:6px; }
.try-chat-form input{
  flex:1; border:1px solid var(--border); background:var(--bg); border-radius:100px; padding:11px 16px;
  font-family:'IBM Plex Sans',sans-serif; font-size:14px; color:var(--text); outline:none;
}
.try-chat-form input:focus{ border-color:var(--green); }
.try-chat-form button{
  background:var(--green); color:var(--on-green); border:none; border-radius:100px; width:42px; height:42px;
  flex-shrink:0; cursor:pointer; font-size:16px; display:flex; align-items:center; justify-content:center;
  transition:transform .15s ease;
}
.try-chat-form button:hover{ transform:scale(1.06); }
.try-chat-hints{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.try-chat-hints button{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--text-dim); background:var(--surface-2);
  border:1px solid var(--border); border-radius:100px; padding:6px 12px; cursor:pointer; transition:border-color .15s ease, color .15s ease;
}
.try-chat-hints button:hover{ border-color:var(--green); color:var(--green); }

/* ---------- AVATAR PRESENTADOR (ARIA en vivo) ---------- */
.avatar-stage{
  background:var(--ink); border-radius:24px; padding:56px 32px 40px; text-align:center;
  position:relative; overflow:hidden;
}
.avatar-stage::before{
  content:''; position:absolute; inset:0; opacity:0.15; pointer-events:none;
  background:radial-gradient(circle at 50% 20%, rgba(23,184,138,0.5), transparent 60%);
}
.avatar-big-wrap{ position:relative; width:150px; height:150px; margin:0 auto 24px; }
.avatar-big-wrap img{ width:100%; height:100%; border-radius:50%; position:relative; z-index:2; }
.avatar-big-wrap .ring{ position:absolute; inset:0; border-radius:50%; border:1.5px solid rgba(23,184,138,0.5); }
.avatar-big-wrap .ring1{ animation:pulse-ring 2.6s ease-out infinite; }
.avatar-big-wrap .ring2{ animation:pulse-ring 2.6s ease-out infinite 0.9s; }
.avatar-big-wrap .ring3{ animation:pulse-ring 2.6s ease-out infinite 1.8s; }

.equalizer{ display:flex; align-items:flex-end; justify-content:center; gap:5px; height:28px; margin-bottom:22px; }
.equalizer span{ width:4px; border-radius:3px; background:var(--green); height:6px; transition:height .15s ease; opacity:0.9; }
.equalizer.speaking span{ animation:eq 0.9s ease-in-out infinite; }
.equalizer span:nth-child(1){ animation-delay:0s; }
.equalizer span:nth-child(2){ animation-delay:.1s; }
.equalizer span:nth-child(3){ animation-delay:.2s; }
.equalizer span:nth-child(4){ animation-delay:.3s; }
.equalizer span:nth-child(5){ animation-delay:.15s; }
.equalizer span:nth-child(6){ animation-delay:.25s; }
.equalizer span:nth-child(7){ animation-delay:.05s; }
@keyframes eq{ 0%,100%{ height:6px; } 50%{ height:26px; } }

.caption-name{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.1em; color:var(--green); margin-bottom:12px; }
.caption-track{ min-height:64px; display:flex; align-items:center; justify-content:center; max-width:520px; margin:0 auto; }
.caption-text{ font-family:'Fraunces',serif; font-size:clamp(18px,2.6vw,24px); color:var(--ink-text); line-height:1.4; opacity:0; transition:opacity .4s ease; }
.caption-text.show{ opacity:1; }

.presenter-controls{ margin-top:26px; display:flex; align-items:center; justify-content:center; gap:16px; }
.presenter-play{
  background:var(--green); color:var(--on-green); border:none; border-radius:100px; padding:12px 26px;
  font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:500; cursor:pointer;
  display:inline-flex; align-items:center; gap:8px; transition:transform .15s ease;
}
.presenter-play:hover{ transform:translateY(-2px); }
.presenter-dots{ display:flex; gap:6px; }
.presenter-dots span{ width:5px; height:5px; border-radius:50%; background:rgba(247,244,238,0.25); transition:background .2s ease; }
.presenter-dots span.active{ background:var(--green); }

/* ---------- AVATARES DE IA (pilares del sistema) ---------- */
.agents-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .agents-grid{ grid-template-columns:1fr; } }
.agent-card{
  background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:32px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.agent-card:hover{ transform:translateY(-6px); box-shadow:0 28px 50px -22px rgba(0,0,0,0.45); border-color:rgba(23,184,138,0.35); }
.agent-top{ display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.agent-avatar-ring{ position:relative; width:64px; height:64px; flex-shrink:0; }
.agent-avatar-ring img{ width:100%; height:100%; border-radius:50%; display:block; position:relative; z-index:1; }
.agent-avatar-ring::after{
  content:''; position:absolute; inset:-5px; border-radius:50%; border:1.5px solid var(--green);
  animation:pulse-ring 2.4s ease-out infinite;
}
.agent-name{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:17px; display:flex; align-items:center; gap:8px; }
.agent-live{ width:7px; height:7px; border-radius:50%; background:var(--green); display:inline-block; }
.agent-role{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.06em; color:var(--text-dim); text-transform:uppercase; margin-top:2px; }
.agent-quote{
  font-size:14.5px; color:var(--text); line-height:1.6; background:var(--surface-2);
  border-radius:14px; border-bottom-left-radius:4px; padding:14px 16px; margin-bottom:18px; position:relative;
}
.agent-quote::before{ content:'"'; font-family:'Fraunces',serif; font-size:34px; color:var(--green); position:absolute; top:-14px; left:10px; opacity:0.5; }
.agent-feats{ list-style:none; display:flex; flex-direction:column; gap:8px; }
.agent-feats li{ font-size:13px; color:var(--text-dim); display:flex; gap:8px; }
.agent-feats li::before{ content:'—'; color:var(--green); flex-shrink:0; }

/* ---------- CURSOR DE ACENTO ---------- */
.cursor-dot{
  position:fixed; top:0; left:0; width:22px; height:22px; border-radius:50%;
  background:var(--green); opacity:0.35; pointer-events:none; z-index:9999;
  transform:translate(-50%,-50%); transition:width .2s ease, height .2s ease, opacity .2s ease;
  mix-blend-mode:multiply; display:none;
}
@media (hover:hover) and (pointer:fine){ .cursor-dot{ display:block; } }
.cursor-dot.grow{ width:44px; height:44px; opacity:0.5; }

/* ---------- PANEL EN VIVO ---------- */
.live-panel{
  display:inline-flex; align-items:center; gap:14px; background:var(--surface);
  border:1px solid var(--border); border-radius:100px; padding:10px 20px 10px 14px;
  margin-bottom:28px; box-shadow:0 12px 30px -18px rgba(0,0,0,0.35);
}
.live-dot{ width:9px; height:9px; border-radius:50%; background:var(--green); flex-shrink:0; position:relative; }
.live-dot::after{ content:''; position:absolute; inset:-4px; border-radius:50%; border:1px solid var(--green); animation:pulse-ring 2s ease-out infinite; }
@keyframes pulse-ring{ 0%{ transform:scale(0.6); opacity:0.8; } 100%{ transform:scale(1.8); opacity:0; } }
.live-time{ font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:500; color:var(--text); white-space:nowrap; }
.live-sep{ width:1px; height:16px; background:var(--border); }
.live-status{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:280px; }
@media (max-width:640px){ .live-status{ max-width:160px; } }

/* ---------- LÍNEA TEMPORAL 24H ---------- */
.timeline-scroll{ display:flex; gap:16px; overflow-x:auto; padding:8px 4px 20px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.timeline-scroll::-webkit-scrollbar{ height:6px; }
.timeline-scroll::-webkit-scrollbar-thumb{ background:var(--border); border-radius:10px; }
.timeline-card{
  scroll-snap-align:start; flex:0 0 260px; background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:22px; transition:transform .2s ease, box-shadow .2s ease;
}
.timeline-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -18px rgba(0,0,0,0.32); }
.timeline-time{ font-family:'Fraunces',serif; font-size:30px; color:var(--green); margin-bottom:10px; }
.timeline-biz{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.08em; color:var(--text-dim); text-transform:uppercase; margin-bottom:10px; }
.timeline-msg{ font-size:14px; color:var(--text); line-height:1.5; }

/* ---------- TICKER ---------- */
.ticker{ overflow:hidden; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--bg-alt); padding:14px 0; }
.ticker-track{ display:flex; width:max-content; animation:ticker 26s linear infinite; }
.ticker-track span{ font-family:'IBM Plex Mono',monospace; font-size:13px; letter-spacing:0.1em; color:var(--text-dim); padding:0 28px; white-space:nowrap; }
.ticker-track span b{ color:var(--green); font-weight:500; }
@keyframes ticker{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- STATS BAND (impacto) ---------- */
.stats-band{ background:var(--green); padding:64px 24px; }
.stats-grid{ max-width:1140px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:32px; text-align:center; }
@media (max-width:700px){ .stats-grid{ grid-template-columns:1fr; gap:40px; } }
.stat-num{ font-family:'Fraunces', serif; font-size:clamp(44px,6vw,64px); color:var(--on-green); line-height:1; margin-bottom:10px; }
.stat-label{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; color:rgba(16,35,28,0.7); text-transform:uppercase; }

/* ---------- VSL ---------- */
.video-frame{
  position:relative; width:100%; aspect-ratio:16/9; border-radius:16px; overflow:hidden;
  border:1px solid var(--border); background:var(--surface); box-shadow:0 24px 48px -20px rgba(0,0,0,0.28);
}
.video-frame video{ width:100%; height:100%; object-fit:cover; display:block; background:#000; }
.video-caption{ text-align:center; margin-top:14px; font-size:12.5px; color:var(--text-dim); font-family:'IBM Plex Mono',monospace; }

.vsl-nav{ display:flex; align-items:center; justify-content:center; padding:24px; border-bottom:1px solid var(--border); }
.vsl-hero{ padding:64px 24px 40px; text-align:center; }
.vsl-hero .eyebrow{ margin-left:auto; margin-right:auto; }
.vsl-hero h1{ font-size:clamp(28px,4.4vw,42px); max-width:760px; margin:0 auto 16px; }
.vsl-hero p{ color:var(--text-dim); font-size:16.5px; max-width:560px; margin:0 auto; }
.vsl-body{ max-width:860px; margin:0 auto; padding:0 24px 96px; }
.vsl-points{ display:flex; gap:20px; flex-wrap:wrap; justify-content:center; margin:36px 0; font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-dim); }
.vsl-points span{ display:flex; align-items:center; gap:8px; }
.vsl-cta{ text-align:center; margin-top:40px; }
.vsl-footer{ text-align:center; padding:32px 24px; font-size:12px; color:var(--text-dim); font-family:'IBM Plex Mono',monospace; }
.vsl-footer a:hover{ color:var(--green); }
