:root {
  --bg: #060a13;
  --bg-alt: #0c1222;
  --surface: #11192e;
  --surface-2: #18233f;
  --border: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --violet: #7c3aed;
  --grad-text: linear-gradient(135deg, #22d3ee 0%, #34d399 52%, #a78bfa 100%);
  /* WCAG 2.1 AA (>= 4.5:1 con texto blanco) */
  --grad-btn: linear-gradient(135deg, #0284c7 0%, #059669 52%, #6d28d9 100%);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 10, 19, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 18px rgba(6, 182, 212, 0.28); }
.brand-logo.sm { width: 32px; height: 32px; border-radius: 8px; }
.brand-text { min-width: 0; }
.brand-name { display: block; font-size: 16.5px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-tag { display: block; font-size: 11px; color: #38bdf8; font-weight: 600; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 18px; flex-shrink: 1; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-right .btn { padding: 8px 13px; min-height: 40px; font-size: 13px; white-space: nowrap; }

/* LANG SWITCH */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.lang-btn {
  border: none; background: transparent; color: var(--muted);
  font-size: 11.5px; font-weight: 800; padding: 6px 8px; border-radius: 7px;
  cursor: pointer; transition: background .18s, color .18s; min-height: 32px; white-space: nowrap;
}
.lang-btn.active { background: var(--grad-btn); color: #fff; }

/* HAMBURGER & DRAWER */
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; flex-shrink: 0;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-drawer { border-top: 1px solid var(--border); background: rgba(12, 18, 34, 0.98); padding: 16px 0 22px; }
.mobile-drawer-inner { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer-inner > a { color: var(--text); text-decoration: none; font-size: 16px; font-weight: 600; padding: 12px 10px; border-radius: 10px; }
.mobile-drawer-inner > a:hover { background: rgba(255,255,255,0.06); }
.mobile-drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; min-height: 44px; border-radius: 12px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 26px rgba(2, 132, 199, 0.32); }
.btn-outline { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: rgba(148, 163, 184, 0.34); }
.btn-outline:hover { border-color: var(--cyan); background: rgba(6, 182, 212, 0.1); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 14px; min-height: 50px; }
.btn-full { width: 100%; }

/* HERO */
.hero { position: relative; padding: 62px 0 58px; }
.hero-glow {
  position: absolute; top: -110px; left: 50%; transform: translateX(-50%);
  width: min(920px, 100vw); height: 480px; pointer-events: none;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.25) 0%, rgba(2, 132, 199, 0.14) 45%, transparent 72%);
  filter: blur(42px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 42px; align-items: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(16, 185, 129, 0.12); color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.32); margin-bottom: 18px;
}
.dot-live {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--emerald); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.hero h1 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.09; letter-spacing: -0.03em; margin-bottom: 18px; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(15px, 1.35vw, 17.5px); color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: #cbd5e1; }

/* WHATSAPP PREVIEW CARD */
.hero-phone { width: 100%; max-width: 460px; justify-self: center; }
.wa-card {
  background: #0b141a; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.36);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.wa-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #1f2c34; border-bottom: 1px solid rgba(255,255,255,0.06); }
.wa-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--emerald); flex-shrink: 0; }
.wa-user { min-width: 0; flex: 1; }
.wa-user strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-user span { display: block; font-size: 12px; color: #6ee7b7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-badge { font-size: 11px; font-weight: 800; padding: 4px 9px; flex-shrink: 0; border-radius: 999px; background: rgba(16, 185, 129, 0.18); color: #34d399; }
.wa-body {
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 60%), #0b141a;
}
.wa-msg { max-width: 90%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; word-wrap: break-word; }
.wa-msg.incoming { align-self: flex-start; background: #202c33; border-top-left-radius: 4px; }
.wa-msg.outgoing { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }
.wa-time { display: block; text-align: right; font-size: 10px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.voice-bubble { display: flex; align-items: center; gap: 10px; padding: 10px 12px; width: 94%; }
.play-btn { width: 44px; height: 44px; border-radius: 50%; border: none; flex-shrink: 0; background: #25d366; color: #052e16; font-size: 15px; font-weight: 800; cursor: pointer; }
.wave-wrap { flex: 1; min-width: 0; }
.wave-bars { display: flex; align-items: center; gap: 3px; height: 22px; overflow: hidden; }
.wave-bars span { width: 3px; border-radius: 3px; background: rgba(255,255,255,0.55); height: 40%; flex-shrink: 0; }
.wave-bars span:nth-child(odd) { height: 75%; }
.wave-bars span:nth-child(3n) { height: 95%; }
.wave-bars.playing span { background: #34d399; animation: pulseBar 0.7s infinite alternate; }
@keyframes pulseBar { from { transform: scaleY(0.4); } to { transform: scaleY(1.1); } }
.wave-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: rgba(255,255,255,0.8); margin-top: 3px; }
.wave-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-mini-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.wa-footer { display: flex; gap: 8px; padding: 12px; background: #1f2c34; }
.wa-footer input { flex: 1; min-width: 0; background: #2a3942; border: 1px solid transparent; border-radius: 10px; padding: 11px 12px; color: #fff; font-size: 14px; }
.wa-footer button { background: #059669; color: #fff; border: none; border-radius: 10px; padding: 0 16px; min-height: 42px; font-weight: 700; cursor: pointer; flex-shrink: 0; }

/* METRICS & INTEGRATIONS */
.metrics { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(17, 25, 46, 0.55); padding: 28px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.metric strong { display: block; font-size: clamp(24px, 3vw, 30px); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric span { font-size: 13px; color: var(--muted); }
.integrations-bar {
  max-width: 880px; margin: 24px auto 0; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
}
.int-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.int-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.int-pills span {
  font-size: 12px; font-weight: 600; color: #cbd5e1;
  padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}

/* SECTIONS */
.section { padding: 78px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: #38bdf8; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* TABS & INDUSTRY PANEL */
.tab-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px;
}
.tab-pill {
  padding: 9px 15px; min-height: 40px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: all .18s; white-space: nowrap;
}
.tab-pill:hover { color: var(--text); border-color: rgba(56, 189, 248, 0.5); }
.tab-pill.active { background: var(--grad-btn); color: #fff; border-color: transparent; }

.industry-panel {
  background: var(--surface); border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 22px; padding: 32px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; align-items: center;
}
.ind-kpis { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 20px; }
.ind-kpi { padding: 8px 14px; border-radius: 12px; background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.32); color: #6ee7b7; font-size: 13px; font-weight: 700; }
.ind-steps { display: flex; flex-direction: column; gap: 12px; }
.ind-step { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; color: #cbd5e1; }
.ind-step strong { color: #fff; display: block; margin-bottom: 3px; }

/* EMPLOYEES GRID */
.employees-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.emp-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.emp-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); }
.emp-top { display: flex; align-items: center; gap: 12px; }
.emp-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.emp-top h3 { font-size: 17px; }
.emp-role { font-size: 12.5px; color: #38bdf8; font-weight: 600; }
.emp-desc { font-size: 13.5px; color: var(--muted); flex: 1; }
.emp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.emp-tags span { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.06); color: #cbd5e1; }
.emp-actions { display: flex; gap: 8px; margin-top: 4px; }
.emp-btn {
  flex: 1; min-height: 40px; padding: 9px 8px; border-radius: 10px; font-size: 12.5px; font-weight: 700;
  cursor: pointer; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); white-space: nowrap;
}
.emp-btn.voice { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.38); color: #6ee7b7; }
.emp-btn:hover { filter: brightness(1.15); }
.expand-wrap { text-align: center; margin-top: 24px; }

/* STEPS & GUARDRAILS */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-num { font-size: 30px; font-weight: 800; color: #38bdf8; opacity: 0.82; margin-bottom: 8px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14px; }

.guardrails-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.guard-card { background: rgba(17, 25, 46, 0.65); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.guard-card strong { display: block; font-size: 14px; margin-bottom: 6px; }
.guard-card p { font-size: 13px; color: var(--muted); }

/* HERO 1-TAP PROMPT CHIPS */
.hero-quick-chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 8px 14px 12px; background: #131f27; border-top: 1px solid rgba(255,255,255,0.05);
}
.hero-chip-lbl { font-size: 11px; color: var(--muted); font-weight: 700; margin-right: 2px; }
.hero-chip-btn {
  font-size: 12px; font-weight: 700; padding: 8px 12px; min-height: 38px; border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.36); background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0; cursor: pointer; transition: transform 0.14s, background 0.14s; white-space: nowrap;
}
.hero-chip-btn:hover { background: rgba(16, 185, 129, 0.24); transform: translateY(-1px); }

/* AUTONOMY LADDER (Relevance AI / Lindy CRO) */
.autonomy-box {
  margin-top: 28px; background: var(--surface); border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px; padding: 26px;
}
.autonomy-head { text-align: center; margin-bottom: 18px; }
.autonomy-head h3 { font-size: clamp(19px, 2.2vw, 24px); margin-top: 4px; }
.autonomy-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.auto-tab {
  text-align: left; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.auto-tab:hover { border-color: rgba(56, 189, 248, 0.45); transform: translateY(-1px); }
.auto-tab.active {
  background: rgba(2, 132, 199, 0.14); border-color: #38bdf8;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.18);
}
.auto-lvl { display: inline-block; font-size: 11px; font-weight: 800; color: #38bdf8; letter-spacing: 0.04em; margin-bottom: 4px; }
.auto-tab.active .auto-lvl { color: #6ee7b7; }
.auto-tab strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.auto-tab span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.autonomy-detail {
  margin-top: 14px; padding: 14px 18px; border-radius: 12px;
  background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.28);
  font-size: 13.5px; color: #d1fae5; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.autonomy-detail b { color: #ffffff; }
@media (max-width: 820px) {
  .autonomy-tabs { grid-template-columns: 1fr; }
}

/* COMPARISON TABLE */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; border: 1px solid var(--border); }
.cmp-table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--surface); text-align: left; }
.cmp-table th, .cmp-table td { padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.cmp-table thead th { background: var(--surface-2); font-size: 14px; font-weight: 800; }
.cmp-table th.col-win, .cmp-table td.col-win { background: rgba(6, 182, 212, 0.1); color: #fff; font-weight: 700; }
.cmp-table thead th.col-win { background: var(--grad-btn); color: #fff; }
.cmp-table tbody tr:last-child td { border-bottom: none; }

/* ROI */
.roi-box {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid rgba(56, 189, 248, 0.28); border-radius: 22px; padding: 36px;
}
.roi-left h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.16; margin-bottom: 10px; }
.roi-left p { color: var(--muted); font-size: 15px; }
.slider-group { margin-top: 22px; }
.slider-group label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 8px; }
.slider-group input[type="range"] { width: 100%; height: 8px; accent-color: var(--cyan); cursor: pointer; }
.roi-right { display: flex; flex-direction: column; gap: 14px; }
.roi-stat { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.roi-stat.highlight { border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.08); }
.roi-stat span { display: block; font-size: 12.5px; color: var(--muted); }
.roi-stat strong { font-size: clamp(22px, 2.5vw, 28px); color: #fff; }

/* PRICING */
.billing-toggle { display: inline-flex; gap: 6px; padding: 5px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); margin-top: 18px; }
.toggle-btn { padding: 9px 16px; min-height: 40px; border: none; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.toggle-btn.active { background: var(--surface-2); color: #fff; }
.save-badge { background: rgba(16,185,129,0.22); color: #6ee7b7; font-size: 10px; padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px 26px; display: flex; flex-direction: column; }
.price-card.featured { border-color: #38bdf8; box-shadow: 0 18px 50px rgba(2, 132, 199, 0.22); transform: translateY(-6px); }
.popular-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-btn); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-desc { font-size: 13.5px; color: var(--muted); margin: 8px 0 16px; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.old-price { text-decoration: line-through; color: var(--muted); font-size: 18px; }
.price-amount strong { font-size: 38px; letter-spacing: -0.03em; }
.local-price-hint { font-size: 12.5px; color: #93c5fd; font-weight: 600; margin-bottom: 4px; min-height: 18px; }
.billing-note { font-size: 12px; color: #6ee7b7; margin-bottom: 18px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; font-size: 14px; color: #cbd5e1; }
.payment-trust-strip {
  max-width: 820px; margin: 28px auto 0; padding: 16px 22px; border-radius: 16px;
  background: rgba(17, 25, 46, 0.72); border: 1px solid rgba(16, 185, 129, 0.28);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px;
  font-size: 13px; color: #e2e8f0; text-align: center;
}
.pay-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 12px; font-weight: 700; color: #bae6fd; white-space: nowrap;
}
.pay-chip.guarantee {
  background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.42); color: #6ee7b7;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.faq-item summary { font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::after { content: "+"; font-size: 20px; color: #38bdf8; font-weight: 800; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* DEMO FORM */
.demo-box {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center;
  background: linear-gradient(145deg, #11192e 0%, #0c1528 100%);
  border: 1px solid rgba(16, 185, 129, 0.35); border-radius: 24px; padding: 40px;
}
.founder-chip { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.founder-chip img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid #38bdf8; flex-shrink: 0; }
.founder-chip strong { display: block; font-size: 15px; }
.founder-chip span { font-size: 12.5px; color: #38bdf8; }
.demo-info h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin-bottom: 14px; }
.demo-info p { color: var(--muted); margin-bottom: 18px; }
.demo-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.demo-form { display: flex; flex-direction: column; gap: 14px; background: rgba(6,10,19,0.62); padding: 26px; border-radius: 18px; border: 1px solid var(--border); }
.selected-plan-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 13px; border-radius: 10px; background: rgba(2, 132, 199, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4); font-size: 13px; font-weight: 700; color: #bae6fd;
}
.selected-plan-pill button { background: transparent; border: none; color: #bae6fd; cursor: pointer; font-size: 15px; padding: 2px 6px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 600; color: #cbd5e1; }
.form-row input, .form-row select {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: #fff; font-size: 16px; min-height: 46px;
}
.form-row input:focus, .form-row select:focus { border-color: #38bdf8; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #cbd5e1; cursor: pointer; }
.checkbox-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--emerald); }
.form-reassure { font-size: 12px; color: var(--muted); text-align: center; }
.lead-result { padding: 14px; border-radius: 12px; font-size: 13.5px; background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.35); color: #a7f3d0; }
.lead-result.error { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.4); color: #fecaca; }
.lead-result audio { width: 100%; margin-top: 10px; height: 38px; }
.hidden { display: none !important; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 28px 0 96px; font-size: 13.5px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a {
  color: var(--muted); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 4px;
}
.footer-links a:hover { color: var(--text); }

/* STICKY MOBILE BAR (oculto en desktop) */
.mobile-sticky-bar { display: none; }

/* DESKTOP CHAT LAUNCHER & WINDOW */
.chat-launcher {
  position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px;
  background: var(--surface); color: var(--text); border: 1px solid rgba(16, 185, 129, 0.52);
  border-radius: 999px; cursor: pointer; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55); text-align: left;
}
.chat-launcher img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--emerald); flex-shrink: 0; }
.launcher-text strong { display: block; font-size: 13.5px; }
.launcher-text span { font-size: 11.5px; color: #6ee7b7; }
.unread-badge { width: 22px; height: 22px; border-radius: 50%; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.chat-window {
  position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 100;
  width: 396px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100dvh - 32px);
  background: #0b141a; border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,0.68);
}
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #1f2c34; border-bottom: 1px solid rgba(255,255,255,0.08); }
.chat-head-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-head-left img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--emerald); flex-shrink: 0; }
.chat-head-left strong { display: block; font-size: 14px; }
.chat-head-left span { font-size: 11.5px; color: #6ee7b7; display: flex; align-items: center; gap: 5px; }
.chat-head-left em { font-style: normal; }
.chat-close { background: transparent; border: none; color: var(--muted); font-size: 20px; cursor: pointer; padding: 6px; }
.chat-quota-bar {
  padding: 7px 14px; font-size: 11.5px; font-weight: 700; color: #bae6fd;
  background: rgba(2, 132, 199, 0.16); border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.voice-live-tag {
  display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700;
  color: #6ee7b7; background: rgba(16, 185, 129, 0.14); padding: 3px 8px; border-radius: 999px;
}
.chat-wa-cta {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  margin-top: 10px; padding: 9px 12px; border-radius: 10px; text-decoration: none;
  background: var(--grad-btn); color: #fff; font-size: 12.5px; font-weight: 800;
}
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg-bubble { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; white-space: pre-line; word-wrap: break-word; }
.msg-bubble.bot { align-self: flex-start; background: #202c33; border-top-left-radius: 4px; }
.msg-bubble.user { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }
.msg-audio { margin-top: 8px; width: 100%; height: 36px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: #111b21; }
.quick-chip { font-size: 12px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(56, 189, 248, 0.35); background: rgba(56, 189, 248, 0.1); color: #bae6fd; cursor: pointer; white-space: nowrap; }
.chat-input-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #1f2c34; }
.voice-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; font-size: 16px; flex-shrink: 0; }
.chat-input-bar input[type="text"] { flex: 1; min-width: 0; background: #2a3942; border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; color: #fff; font-size: 16px; }
.chat-input-bar button { background: #059669; color: #fff; border: none; border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer; flex-shrink: 0; }

/* TABLET (<= 1160px) */
@media (max-width: 1160px) {
  .nav-links, .desktop-only { display: none !important; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .employees-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guardrails-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-panel, .roi-box, .demo-box { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 26px; }
  .price-card.featured { transform: none; }
}

/* MOBILE (<= 640px) */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section[id] { scroll-margin-top: 112px; }
  .nav-inner { flex-wrap: wrap; min-height: auto; padding: 10px 0; row-gap: 8px; column-gap: 8px; }
  .brand { flex: 1; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { font-size: 16px; }
  .brand-tag { display: block; font-size: 10.5px; }
  .nav-right { display: contents; }
  .menu-toggle { order: 2; }
  .lang-switch { order: 3; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; }
  .lang-btn { font-size: 12px; padding: 6px 4px; min-height: 36px; text-align: center; }
  .hero { padding: 28px 0 38px; }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 28px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .wa-footer input { font-size: 16px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tab-bar { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .employees-grid, .guardrails-grid { grid-template-columns: 1fr; }
  .industry-panel, .roi-box, .demo-box { padding: 20px; border-radius: 18px; }
  .demo-form { padding: 18px; }
  .price-card { padding: 26px 20px; }
  .chat-launcher { display: none !important; }
  .mobile-sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 88;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    background: rgba(6, 10, 19, 0.94); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
  }
  .mobile-sticky-cta { flex: 1; min-height: 46px; font-size: 14px; }
  .mobile-chat-fab {
    position: relative; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--emerald);
    padding: 0; background: var(--surface); cursor: pointer; flex-shrink: 0; overflow: visible;
  }
  .mobile-chat-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
  .mobile-chat-fab .dot-live { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; }
  .chat-quick { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .chat-window { right: 10px; left: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: auto; max-width: none; height: 78dvh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave-bars.playing span { animation: none; }
  .btn:hover, .emp-card:hover { transform: none; }
}
