/* ManyContacts — Redesign inspired by Spoki/Clientify */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --primary: #334bfa;
  --primary-light: #6085f5;
  --primary-dark: #2436a8;
  --primary-soft: rgba(51, 75, 250, 0.08);
  --primary-glow: rgba(51, 75, 250, 0.15);
  --whatsapp: #25d366;
  --whatsapp-soft: rgba(37, 211, 102, 0.1);
  --whatsapp-dark: #128C7E;
  --instagram: #e4405f;
  --email-color: #6085f5;
  --bg: #ffffff;
  --bg-soft: #f8f9fc;
  --bg-dark: #0f1629;
  --text: #0f1629;
  --text-secondary: #5a6178;
  --text-muted: #8b91a8;
  --border: #e8ecf4;
  --border-light: #f0f2f7;
  --surface: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --max: 1160px;
  --header-h: 68px;
  --shadow-sm: 0 1px 3px rgba(15, 22, 41, 0.04);
  --shadow: 0 4px 16px rgba(15, 22, 41, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 22, 41, 0.1);
  --shadow-glow: 0 0 60px rgba(51, 75, 250, 0.12);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip:focus {
  position: fixed; left: 12px; top: 12px;
  width: auto; height: auto; padding: 10px 16px;
  background: var(--surface); border: 2px solid var(--primary);
  border-radius: 8px; z-index: 9999;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ===== TYPOGRAPHY ===== */
.section-kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: saturate(180%) blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo-img--footer {
  filter: invert(1) brightness(2);
  mix-blend-mode: screen;
}

.nav-main {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-main a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-main a:hover { color: var(--text); }

/* Nav dropdown (Sectores) */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  all: unset;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition);
  padding: 0.5rem 0;
}
.nav-dropdown-trigger:hover { color: var(--text); }
.nav-dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

@media (min-width: 900px) {
  .nav-main { display: flex; }
  .mobile-toggle { display: none; }
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .header-cta { display: flex; }
}

/* Language selector */
.lang-selector { position: relative; }
.lang-current {
  background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 6px;
  padding: 0.3rem 0.55rem; font-family: inherit; font-size: 0.75rem; font-weight: 700;
  color: var(--text); cursor: pointer; letter-spacing: 0.5px;
  transition: background 0.15s, border-color 0.15s;
}
.lang-current:hover { background: var(--primary-soft); border-color: var(--primary-light); color: var(--primary); }
.lang-selector::after {
  content: ''; position: absolute; top: 100%; right: 0; width: 100%; height: 10px;
}
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow); min-width: 80px; overflow: hidden;
}
.lang-selector:hover .lang-dropdown,
.lang-selector:focus-within .lang-dropdown { display: block; }
.lang-option {
  display: block; padding: 0.45rem 0.7rem; font-size: 0.78rem; font-weight: 600;
  color: var(--text); text-decoration: none; transition: background 0.12s; white-space: nowrap;
}
.lang-option:hover { background: var(--primary-soft); color: var(--primary); }
.lang-option[data-lang].active { color: var(--primary); background: var(--primary-soft); }

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 899px) {
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  .nav-dropdown { text-align: center; order: 99; }
  .nav-dropdown-trigger {
    pointer-events: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0;
  }
  .nav-dropdown-arrow { display: none; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0.25rem 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-dropdown-menu a {
    padding: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    background: none;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn--lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(51, 75, 250, 0.3);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(51, 75, 250, 0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text);
}

.btn--white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn--white:hover {
  background: #f0f2ff;
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(51, 75, 250, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(51, 75, 250, 0.12);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(51, 75, 250, 0.15);
  border-radius: 3px;
}

.hero-sub {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(51, 75, 250, 0.12);
  border-radius: 999px;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-mbp-badge {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.hero-micro {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 640px) {
  .hero-sub { font-size: 1rem; }
  .hero-chip { font-size: 0.75rem; padding: 0.3rem 0.7rem; }
  .hero-trust-bar { flex-direction: column; gap: 0.5rem; }
  .hero-mbp-badge { height: 36px; }
}

/* ===== USE CASE TABS ===== */
.use-cases {
  padding: 4.5rem 0;
  background: var(--bg);
}

.uc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.uc-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.uc-tab:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-soft);
}

.uc-tab.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(51, 75, 250, 0.1);
}

.uc-tab-icon {
  display: flex;
  align-items: center;
  color: inherit;
}

.uc-tab-icon svg { width: 20px; height: 20px; }

/* Panels */
.uc-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.uc-panel.active {
  display: grid;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 860px) {
  .uc-panel { grid-template-columns: 1fr 1.1fr; }
}

.uc-panel-text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.uc-panel-text > p {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.uc-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.uc-features li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.uc-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  background: var(--whatsapp);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Mockup */
.uc-mockup {
  background: var(--bg-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mockup-body {
  padding: 1.25rem;
}

/* Mock chat */
.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-msg {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.5;
  max-width: 85%;
  animation: msgIn 0.3s ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mock-msg--in {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.mock-msg--out {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.mock-msg--ai {
  background: linear-gradient(135deg, var(--primary) 0%, #5c6ff5 100%);
}

.mock-sender {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-bottom: 4px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-tag {
  display: inline-block;
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Mock pipeline */
.mock-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.mock-col {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.mock-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

.mock-deal {
  padding: 0.6rem 0.65rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.mock-deal--hot {
  border-left: 3px solid #f59e0b;
}

.mock-deal--won {
  border-left: 3px solid var(--whatsapp);
  background: rgba(37, 211, 102, 0.1);
}

/* ===== STATS BAND ===== */
.stats-band {
  padding: 4rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border-light);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-channel {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.stat-card--wa .stat-channel { color: var(--whatsapp-dark); }
.stat-card--wa .stat-number { color: var(--whatsapp-dark); }
.stat-card--email .stat-channel { color: var(--text-muted); }
.stat-card--email .stat-number { color: var(--text-muted); }

.stat-number {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.stat-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.stat-card--wa .stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--whatsapp) 0%, #34d058 100%);
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.stat-card--email .stat-fill {
  height: 100%;
  background: var(--border);
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.stat-vs {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stats-caption {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0;
}

.stats-caption strong {
  color: var(--text);
}

/* ===== PLATFORM ===== */
.platform-section {
  padding: 5rem 0;
  background: var(--bg);
}

.platform-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

.platform-card {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.platform-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.platform-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary-soft);
  border-radius: 14px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.platform-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.platform-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PLATFORM TABS ===== */
.pt-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.pt-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.pt-tab:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-soft);
}

.pt-tab.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(51, 75, 250, 0.1);
}

.pt-tab-icon {
  display: flex;
  align-items: center;
  color: inherit;
}

.pt-tab-icon svg { width: 20px; height: 20px; }

.pt-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.pt-panel.active {
  display: grid;
  animation: fadeIn 0.35s ease;
}

@media (min-width: 860px) {
  .pt-panel { grid-template-columns: 1fr 1.15fr; }
}

.pt-panel-text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.pt-panel-text > p {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.pt-panel-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}

.pt-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .pt-tab {
    flex: 1;
    min-width: calc(50% - 0.5rem);
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
  }
  .pt-tab-icon { display: none; }
}

/* ===== AI + TEAM ===== */
.ai-section {
  padding: 5rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border-light);
}

.ai-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 860px) {
  .ai-split { grid-template-columns: 1fr 1fr; }
}

.ai-text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ai-text > p {
  margin: 0 0 2rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ai-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ai-feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-soft);
  border-radius: 10px;
  color: var(--primary);
}

.ai-feature strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.ai-feature p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* AI Visual / Agent cards */
.ai-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-agent-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-agent-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.ai-agent-card:nth-child(2).visible { transition-delay: 0.1s; }
.ai-agent-card:nth-child(3).visible { transition-delay: 0.2s; }
.ai-agent-card:nth-child(4).visible { transition-delay: 0.3s; }

.ai-agent-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 800;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #5c6ff5 100%);
  color: #fff;
}

.ai-agent-avatar--human {
  background: linear-gradient(135deg, #e8ecf4 0%, #d1d5db 100%);
  color: var(--text);
}

.ai-agent-card div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.ai-agent-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.ai-agent-card span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.ai-status {
  flex-shrink: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-status--active {
  background: rgba(51, 75, 250, 0.1);
  color: var(--primary);
}

.ai-status--online {
  background: rgba(37, 211, 102, 0.1);
  color: var(--whatsapp-dark);
}

/* ===== INTEGRATIONS ===== */
.integrations-section {
  padding: 5rem 0;
  background: var(--bg);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .integrations-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.integration-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.integration-logo:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.il-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.il-icon svg { display: block; }
.il-icon--img {
  background: #fff;
  overflow: hidden;
}
.il-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.integrations-note {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ===== PRICING ===== */
.pricing-section {
  padding: 5rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border-light);
}

.pricing-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 860px) {
  .pricing-layout {
    grid-template-columns: 1.1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .pricing-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* Main plan card */
.pricing-main {
  background: linear-gradient(145deg, #1a2a6c 0%, var(--primary) 50%, #2436a8 100%);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.pricing-main-header {
  margin-bottom: 1.75rem;
}

.pricing-price-badge {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}

.pricing-features li strong {
  color: #fff;
  font-weight: 700;
}

/* Add-ons grid */
.pricing-addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-content: start;
}

.pricing-addon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  text-align: center;
  transition: all var(--transition);
}

.pricing-addon:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.pricing-addon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 0.65rem;
}

.pricing-addon-icon--users {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.pricing-addon-icon--ia {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.pricing-addon-icon--email {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.pricing-addon-icon--integraciones {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.pricing-addon strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.pricing-addon-price {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pricing-addon-price--included {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.pricing-addon p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-cta {
  grid-column: 1 / -1;
  width: 100%;
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  font-size: 1.05rem;
}

.pricing-cta:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

/* Consultoría banner */
.pricing-consultoria {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  background: var(--bg-dark);
  border-radius: var(--radius);
  color: #fff;
}

.pricing-consultoria-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(96, 133, 245, 0.2);
  border-radius: 14px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.pricing-consultoria-text {
  flex: 1;
  min-width: 200px;
}

.pricing-consultoria-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-consultoria-text p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.pricing-consultoria-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pricing-consultoria-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.pricing-consultoria-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--whatsapp);
  font-weight: 800;
  font-size: 0.75rem;
}

.pricing-consultoria-highlight {
  margin-top: 0.25rem;
  font-weight: 700;
  font-size: 0.875rem !important;
  color: var(--whatsapp) !important;
}

.pricing-consultoria .btn--primary {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .pricing-addons {
    grid-template-columns: 1fr;
  }
  .pricing-main {
    padding: 1.5rem;
  }
  .pricing-consultoria {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--bg-soft);
  padding: 0 0 5em 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.testimonial-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}
.testimonial-logo {
  height: 24px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: auto;
  order: 1;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-author strong {
  display: block; font-size: 0.9rem; color: var(--text);
}
.testimonial-author span {
  font-size: 0.8rem; color: var(--text-muted);
}

/* ===== CTA BOTTOM ===== */
.cta-bottom {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(145deg, #1a2a6c 0%, var(--primary) 50%, #2436a8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-bottom::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-bottom h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  position: relative;
}

.cta-bottom p {
  margin: 0 auto 2rem;
  max-width: 32rem;
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  line-height: 1.6;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
}

/* ===== FAQ ===== */
.faq {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.faq-list {
  max-width: 44rem;
  margin: 0 auto;
}

.faq details {
  margin-bottom: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq details:hover {
  border-color: var(--primary-light);
}

.faq details[open] {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(51, 75, 250, 0.06);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 1.1rem 1.25rem;
  list-style: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { display: none; content: ''; }

.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq details[open] summary::after {
  content: '-';
  color: var(--primary);
}

.faq details[open] summary {
  color: var(--primary);
}

.faq .answer {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; }
}
@media (min-width: 640px) and (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-logo .logo-icon {
  background: var(--primary-light);
}

.footer-desc {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.5;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li { margin-bottom: 0.5rem; }

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 br { display: none; }

  .uc-tabs { gap: 0.5rem; }
  .uc-tab {
    flex: 1;
    min-width: calc(50% - 0.5rem);
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
  }
  .uc-tab-icon { display: none; }

  .stats-grid { flex-direction: column; gap: 1rem; }
  .stat-card { max-width: 100%; }
  .stat-vs { display: none; }

  .integrations-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: 1fr; }

  .use-cases, .platform-section, .ai-section, .integrations-section, .testimonials-section, .faq, .cta-bottom {
    padding: 3rem 0;
  }

  .mock-pipeline { grid-template-columns: 1fr; }
}

/* ============================================================
   AI Chat Widget — ManyContacts Assistant
   Pill que empieza en el hero y baja al fondo al hacer scroll
   ============================================================ */

/* Anchor dentro del hero: reserva espacio para la pill inicial */
#mc-chat-anchor {
  height: 86px;
  margin-bottom: 1.25rem;
  pointer-events: none;
}

/* ── Contenedor principal ───────────────────────────────── */
#mc-chat-window {
  /* Posicionado vía JS (top dinámico según scroll) */
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9100;
  font-family: 'Inter', system-ui, sans-serif;

  width: min(640px, calc(100vw - 32px));

  /* Estado cerrado: solo la barra visible */
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(51, 75, 250, 0.35);
  box-shadow:
    0 20px 56px rgba(51, 75, 250, 0.22),
    0 6px 20px rgba(15, 22, 41, 0.12);

  display: flex;
  flex-direction: column;

  transition:
    height          0.38s cubic-bezier(0.34, 1.15, 0.64, 1),
    border-radius   0.32s cubic-bezier(0.4,  0,    0.2,  1),
    box-shadow      0.3s  ease,
    border-color    0.2s  ease;
}

/* Estado abierto */
#mc-chat-window.open {
  height: 520px;
  border-radius: 22px;
  border-color: var(--primary);
  box-shadow:
    0 28px 72px rgba(51, 75, 250, 0.28),
    0 8px 24px rgba(15, 22, 41, 0.15);
}

#mc-chat-window:focus-within {
  border-color: var(--primary);
  box-shadow:
    0 24px 64px rgba(51, 75, 250, 0.32),
    0 6px 20px rgba(15, 22, 41, 0.14);
}

/* ── Cabecera (oculta cuando está cerrado) ──────────────── */
#mc-chat-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, #1c2ea8 100%);
  padding: 0 1rem;
  /* oculta al cerrar */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    padding    0.32s ease,
    opacity    0.2s  ease;
}
#mc-chat-window.open #mc-chat-header {
  max-height: 68px;
  padding: 0.9rem 1rem;
  opacity: 1;
}

.mc-bot-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

#mc-chat-header-info { flex: 1; min-width: 0; }
#mc-chat-header-info strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
#mc-chat-header-info span {
  color: rgba(255,255,255,0.72);
  font-size: 0.775rem;
  display: flex; align-items: center; gap: 0.3rem;
}
#mc-chat-header-info span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block; flex-shrink: 0;
}
#mc-chat-close {
  background: rgba(255,255,255,0.14);
  border: none; color: rgba(255,255,255,0.8);
  cursor: pointer;
  width: 30px; height: 30px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; flex-shrink: 0;
}
#mc-chat-close:hover { background: rgba(255,255,255,0.26); color: #fff; }

/* ── Cuerpo: estado vacío + mensajes ───────────────────── */
#mc-chat-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* oculta cuando está cerrado — ya lo hace overflow:hidden del padre */
}

/* Estado vacío */
#mc-chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
  gap: 0.4rem;
}
.mc-empty-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 2px solid var(--primary-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.mc-empty-title {
  margin: 0;
  font-size: 1rem; font-weight: 700;
  color: var(--text); line-height: 1.35;
}
.mc-empty-sub {
  margin: 0 0 0.75rem;
  font-size: 0.8375rem;
  color: var(--text-secondary); line-height: 1.5;
}

/* Chips */
.mc-chips {
  display: flex; flex-wrap: wrap;
  gap: 0.45rem; justify-content: center;
}
.mc-chips--conv {
  display: none;
  justify-content: flex-start;
  padding: 0.35rem 0.75rem;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
}
.mc-chip {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-family: inherit; font-size: 0.8rem; font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s; white-space: nowrap;
}
.mc-chip:hover {
  background: var(--primary-soft);
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Mensajes */
#mc-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1rem 0.5rem;
  display: none;          /* JS lo pone flex cuando hay mensajes */
  flex-direction: column;
  gap: 0.6rem;
  scroll-behavior: smooth;
}
#mc-chat-messages::-webkit-scrollbar { width: 3px; }
#mc-chat-messages::-webkit-scrollbar-track { background: transparent; }
#mc-chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }

.mc-msg { max-width: 82%; animation: mc-msg-in 0.18s ease; }
@keyframes mc-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mc-msg--bot  { align-self: flex-start; }
.mc-msg--user { align-self: flex-end; }

.mc-msg-bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 15px;
  font-size: 0.875rem; line-height: 1.55;
  word-break: break-word;
}
.mc-msg--bot  .mc-msg-bubble { background: var(--bg-soft); color: var(--text);  border-bottom-left-radius: 4px; }
.mc-msg--user .mc-msg-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.mc-msg-bubble a { text-decoration: underline; font-weight: 600; }
.mc-msg--user .mc-msg-bubble a { color: rgba(255,255,255,0.88); }
.mc-cta-btn {
  display: inline-block; margin-top: 0.5rem; padding: 0.55rem 1.2rem;
  background: var(--primary); color: #fff !important; border-radius: 8px;
  font-weight: 700; font-size: 0.82rem; text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
}
.mc-cta-btn:hover { background: var(--primary-dark, #2a3de6); transform: translateY(-1px); }

/* Typing dots */
.mc-typing {
  align-self: flex-start;
  display: flex; gap: 5px; align-items: center;
  padding: 0.65rem 0.9rem;
  background: var(--bg-soft);
  border-radius: 15px; border-bottom-left-radius: 4px;
}
.mc-typing-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-muted);
  animation: mc-bounce 1.3s infinite;
}
.mc-typing-dot:nth-child(2) { animation-delay: 0.18s; }
.mc-typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes mc-bounce {
  0%, 60%, 100% { transform: translateY(0);    opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1;   }
}

/* ── Barra de input (siempre visible) ───────────────────── */
#mc-chat-input-row {
  flex-shrink: 0;
  height: 62px;
  display: flex; align-items: center;
  gap: 0.6rem;
  padding: 0 0.75rem 0 1rem;
  background: #fff;
  /* separador solo cuando está abierto */
  border-top: 0px solid var(--border-light);
  transition: border-top-width 0.2s;
}
#mc-chat-window.open #mc-chat-input-row {
  border-top-width: 1px;
}

.mc-input-icon {
  color: var(--primary);
  display: flex; align-items: center;
  flex-shrink: 0;
  opacity: 0.7;
}

#mc-chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit; font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}
#mc-chat-input::placeholder { color: var(--text-muted); }

/* (borde/foco definidos arriba en el bloque principal) */

#mc-chat-send {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--text);   /* negro, como Spoki */
  border: none; color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
#mc-chat-send:hover:not(:disabled) {
  background: var(--primary);
  transform: scale(1.06);
}
#mc-chat-send:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  #mc-chat-window {
    width: calc(100vw - 24px);
    bottom: 16px;
  }
  #mc-chat-window.open {
    height: min(520px, calc(100dvh - 40px));
  }
}

/* ============================================================
   Platform feature mockups
   ============================================================ */

/* Title inside mockup-header */
.pt-mock-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-left: 0.5rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Inbox mockup ─────────────────────────────────── */
.pt-inbox-list { display: flex; flex-direction: column; }

.pt-inbox-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.pt-inbox-row--active { background: rgba(51,75,250,0.14); }

.pt-inbox-ava {
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pt-ava--wa  { background: linear-gradient(135deg,#25d366,#128C7E); }
.pt-ava--ig  { background: linear-gradient(135deg,#e4405f,#f77737); }
.pt-ava--em  { background: linear-gradient(135deg,#6085f5,#334bfa); }

.pt-inbox-info { flex: 1; min-width: 0; }
.pt-inbox-name {
  font-size: 0.8125rem; font-weight: 600;
  color: rgba(255,255,255,0.88);
  display: flex; align-items: center; gap: 0.35rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pt-inbox-last {
  font-size: 0.75rem; color: rgba(255,255,255,0.45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 1px;
}

.pt-ch-tag {
  font-size: 0.5625rem; font-weight: 700;
  padding: 1px 5px; border-radius: 4px;
  flex-shrink: 0;
}
.pt-ch-wa  { background: rgba(37,211,102,0.2);  color: #25d366; }
.pt-ch-ig  { background: rgba(228,64,95,0.2);   color: #e4405f; }
.pt-ch-em  { background: rgba(96,133,245,0.2);  color: #6085f5; }

.pt-inbox-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.pt-inbox-time { font-size: 0.6875rem; color: rgba(255,255,255,0.35); }
.pt-inbox-badge {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  font-size: 0.5625rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── Team / equipo mockup ─────────────────────────── */
.pt-assign-bar {
  padding: 0.55rem 1rem;
  background: rgba(51,75,250,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
}
.pt-assign-label {
  font-size: 0.8125rem; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 0.4rem;
}
.pt-assign-label strong { color: #fff; }
.pt-assign-tag {
  font-size: 0.6875rem; font-weight: 600;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  background: rgba(51,75,250,0.3); color: #8fa8ff;
}

.pt-internal-note {
  align-self: flex-start;
  background: rgba(255,210,80,0.1);
  border: 1px solid rgba(255,210,80,0.2);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  max-width: 90%;
}
.pt-internal-note strong { color: #ffd250; }

/* ── Agents mockup ────────────────────────────────── */
.pt-agents-list { display: flex; flex-direction: column; }

.pt-agent-row {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pt-agent-ava {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg,#e8ecf4,#d1d5db);
  color: #333; font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pt-agent-ava--ai {
  background: linear-gradient(135deg, var(--primary), #5c6ff5);
  color: #fff;
}
.pt-agent-info { flex: 1; min-width: 0; }
.pt-agent-name {
  font-size: 0.8125rem; font-weight: 600;
  color: rgba(255,255,255,0.88);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pt-agent-stat {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 1px;
}
.pt-agent-badge {
  font-size: 0.6875rem; font-weight: 600;
  padding: 0.2rem 0.55rem; border-radius: 999px; flex-shrink: 0;
}
.pt-badge--on   { background: rgba(37,211,102,0.18); color: #4ade80; }
.pt-badge--busy { background: rgba(251,146,60,0.18);  color: #fb923c; }

/* ── Marketing mockup ─────────────────────────────── */
.pt-mkt-live {
  font-size: 0.6875rem; font-weight: 600;
  color: #4ade80;
  margin-left: auto;
  animation: mc-pulse 2s infinite;
  flex-shrink: 0;
}

.pt-mkt-preview { margin-bottom: 0.75rem; }
.pt-mkt-preview .mock-msg--out { max-width: 92%; font-size: 0.8125rem; }
.pt-mkt-preview em  { color: rgba(255,255,255,0.6); font-style: normal; }
.pt-mkt-preview strong { color: #fff; }

.pt-mkt-meta {
  display: flex; flex-direction: column; gap: 3px; margin-top: 0.5rem;
}
.pt-mkt-approved, .pt-mkt-seg {
  font-size: 0.6875rem; color: rgba(255,255,255,0.4);
}
.pt-mkt-approved { color: #4ade80; }

.pt-mkt-stats {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pt-mkt-stat {
  flex: 1; text-align: center;
  padding: 0.65rem 0.25rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.pt-mkt-stat:last-child { border-right: none; }
.pt-mkt-stat-n {
  font-size: 0.9375rem; font-weight: 700;
  color: rgba(255,255,255,0.88);
}
.pt-mkt-stat-l {
  font-size: 0.625rem; color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.pt-mkt-green { color: #4ade80; }

/* ============================================================
   Landing page — Automatizaciones
   ============================================================ */

.lp-hero {
  padding: 6rem 0 0rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.lp-kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}
.lp-split-text .lp-kicker { margin-left: 0; }
.lp-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 auto 1.25rem;
  max-width: 50rem;
}
.lp-hero-title em { font-style: normal; color: var(--primary); }
.lp-hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.lp-hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
}
.lp-hero-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 700; color: var(--text-muted);
}
.lp-hero-logos-sep { color: var(--border); font-weight: 300; }
.lp-logo-text {
  padding: 0.25rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.78rem;
}

/* Sections */
.lp-section { padding: 5rem 0; }
.lp-section:nth-child(even) { background: var(--bg-soft); }
.lp-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 auto 1rem;
  text-align: center;
  max-width: 42rem;
}
.lp-text-left { text-align: left; max-width: none; }
.lp-section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Problem cards */
.lp-problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
  margin-top: 2.5rem;
}
.lp-problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.lp-problem-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.lp-problem-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.lp-problem-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* Integration cards */
.lp-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
  margin-bottom: 3rem;
}
.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.lp-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.lp-card-icon { margin-bottom: 1rem; }
.lp-card-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.lp-card-header-row h3 { margin: 0; }
.lp-card--connector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.lp-card--connector .btn { margin-top: auto; }
.lp-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; }
.lp-card > p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.55; margin: 0 0 1rem; }
.lp-card-list {
  list-style: none; padding: 0; margin: 0;
}
.lp-card-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.lp-card-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* Stats bar */
.lp-stats-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.lp-stat { text-align: center; }
.lp-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}
.lp-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Use case grid */
.lp-uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 960px) {
  .lp-uc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lp-uc-grid { grid-template-columns: 1fr; }
}
.lp-uc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-uc-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 20px rgba(51, 75, 250, 0.08);
}
.lp-uc-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.lp-uc-emoji {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: 10px;
}
.lp-uc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.lp-uc-card > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.lp-uc-flow {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  background: var(--bg-soft);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  color: var(--primary);
  font-weight: 600;
  overflow-x: auto;
  white-space: nowrap;
}

/* Split layout (text + code) */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.lp-split--reverse .lp-split-text { order: 2; }
.lp-split--reverse .lp-split-code { order: 1; }
.lp-split-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.lp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.lp-feature-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.lp-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.lp-code-block {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}
.lp-code-block code { color: inherit; background: none; font-size: inherit; }

.lp-inline-code {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* MCP badges */
.lp-mcp-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.lp-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.lp-badge:hover { border-color: var(--primary); color: var(--primary); }

/* Comparison table */
.lp-table-wrap { overflow-x: auto; margin-top: 2rem; }
.lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}
.lp-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: center;
  white-space: nowrap;
}
.lp-table th:first-child { text-align: left; border-radius: 10px 0 0 0; }
.lp-table th:last-child { border-radius: 0 10px 0 0; }
.lp-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.lp-table td:first-child {
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.lp-table tbody tr:hover { background: var(--primary-soft); }

/* AI Mockup */
.lp-showcase { background: var(--bg-soft); }
.lp-mockup {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
}
.lp-mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1.25rem;
  background: #1e1e2e;
}
.lp-mockup-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #ff5f57;
}
.lp-mockup-dot:nth-child(2) { background: #febc2e; }
.lp-mockup-dot:nth-child(3) { background: #28c840; }
.lp-mockup-header-title {
  margin-left: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.lp-mockup-body {
  background: #fafafa;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lp-chat-msg {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.lp-chat-avatar {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}
.lp-chat-avatar--user { background: var(--primary); }
.lp-chat-avatar--ai { background: #d97706; }
.lp-chat-bubble {
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 80%;
}
.lp-chat-user .lp-chat-bubble {
  background: var(--primary);
  color: #fff;
  border-bottom-left-radius: 4px;
}
.lp-chat-ai .lp-chat-bubble {
  background: #fff;
  color: var(--text);
  border: 1px solid #e5e7eb;
  border-bottom-left-radius: 4px;
}
.lp-chat-tool {
  display: block;
  width: fit-content;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #d97706;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.lp-mockup-footer {
  background: #f3f4f6;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #e5e7eb;
}
.lp-mockup-input {
  display: block;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #9ca3af;
}
.lp-showcase-compatible {
  text-align: center;
}
.lp-showcase-compat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.lp-showcase-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.lp-showcase-links-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin: 1.25rem 0 0.5rem;
}
.lp-showcase-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
}
.lp-badge--logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.lp-badge--logo svg {
  flex-shrink: 0;
}
.lp-logo-pill {
  padding: 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .lp-mockup-body { padding: 1rem; }
  .lp-chat-bubble { max-width: 90%; font-size: 0.82rem; }
  .lp-chat-avatar { width: 26px; height: 26px; font-size: 0.65rem; }
}

/* Final CTA */
.lp-section.lp-final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2be0 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.lp-final-cta .lp-section-title { color: #fff; }
.lp-final-cta .lp-section-sub { color: rgba(255,255,255,0.85); }
.lp-final-cta .btn--primary { background: #fff; color: var(--primary); }
.lp-final-cta .btn--primary:hover { background: rgba(255,255,255,0.9); }
.lp-final-cta .btn--outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.lp-final-cta .btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .lp-hero { padding: 4rem 0 3rem; }
  .lp-split { grid-template-columns: 1fr; gap: 2rem; }
  .lp-split--reverse .lp-split-text,
  .lp-split--reverse .lp-split-code { order: unset; }
  .lp-stats-bar { gap: 1.5rem; }
  .lp-stat-num { font-size: 1.5rem; }
}

/* ===== VERTICAL LANDINGS: Concesionarios & Empresas-Ventas ===== */

/* Logo bar */
.lp-logos-section { padding: 2.5rem 0; text-align: center; }
.lp-logos-section:nth-child(even) { background: var(--bg-soft); }
.lp-logos-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.lp-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}
.lp-client-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--transition);
}
.lp-client-logo:hover { filter: grayscale(0) opacity(1); }

@media (max-width: 640px) {
  .lp-logos-grid { gap: 1.25rem 2rem; }
  .lp-client-logo { height: 28px; }
}

/* Problem narrative (single paragraph) */
.lp-problem-narrative { text-align: center; }
.lp-problem-paragraph {
  max-width: 720px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Solution grid (numbered cards) */
.lp-solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.lp-solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lp-solution-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}
.lp-solution-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.lp-solution-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.lp-solution-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* Case study */
.lp-case-study { text-align: center; }
.lp-case-quote {
  max-width: 720px;
  margin: 2rem auto 2.5rem;
  padding: 0;
  border: none;
}
.lp-case-quote p {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin: 0 0 1rem;
}
.lp-case-quote cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.lp-case-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}
.lp-case-stat { text-align: center; }
.lp-case-stat-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}
.lp-case-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Vertical pricing */
.lp-pricing-vertical { text-align: center; }
.lp-pricing-card {
  max-width: 520px;
  margin: 2rem auto 0;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-glow);
}
.lp-pricing-main { margin-bottom: 1.5rem; }
.lp-pricing-badge {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--text);
}
.lp-pricing-example {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0.5rem 0 0;
}
.lp-pricing-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}
.lp-pricing-perks li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.lp-pricing-perks li:last-child { border-bottom: none; }
.lp-pricing-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--whatsapp);
  font-weight: 700;
}

/* Sector tabs (empresas-ventas) — mirrors .uc-tabs */
.lp-sectors-section { text-align: center; }

.sc-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.sc-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.sc-tab:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-soft);
}
.sc-tab.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(51, 75, 250, 0.1);
}
.sc-tab-icon { font-size: 1.25rem; line-height: 1; }
.sc-tab-arrow {
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.sc-tab--link:hover .sc-tab-arrow { opacity: 1; }

/* Sector panels — mirrors .uc-panel */
.sc-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
}
.sc-panel.active {
  display: grid;
  animation: fadeIn 0.35s ease;
}
@media (min-width: 768px) {
  .sc-panel { grid-template-columns: 1fr 1.1fr; }
}
.sc-panel .uc-panel-text p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}
.sc-panel .uc-panel-text p strong {
  color: var(--text);
}

@media (max-width: 640px) {
  .sc-tabs { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .sc-tab { padding: 0.7rem 0.75rem; font-size: 0.8rem; }
  .sc-tab-icon { font-size: 1.1rem; }
}

/* Hero trust line */
.lp-hero-trust {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}
.lp-hero-trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.lp-hero-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: filter var(--transition);
}
.lp-hero-logo:hover { filter: grayscale(0) opacity(1); }
.lp-hero-trust-text {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Automations preview on home page */
.lp-showcase--home {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 5rem 0;
}
.lp-showcase--home .lp-mockup {
  max-width: 720px;
  margin: 2rem auto 0;
}
