  /* ==========================================================================
   HERO SECTION — igual que index.css; la lógica está en chats.php
   ========================================================================== */

   :root {
    --brand-purple: #957afb;
    --brand-purple-dark: #7c5dfa;
    --brand-purple-light: #f1edff;
    --brand-purple-glow: rgba(149, 122, 251, 0.22);
    
    --dark-bg: #090d16;
    --dark-card: #121824;
    --dark-border: #222c3d;
    
    --slate-text: #94a3b8;
    --light-text: #f8fafc;
    --white: #ffffff;
    
    --green: #10b981;
    --red: #ef4444;
    --amber: #f59e0b;
    --blue: #3b82f6;

      --bg-dark: #05070c;
      --bg-card: rgba(13, 18, 28, 0.75);
      --bg-card-hover: rgba(20, 27, 41, 0.85);
      --border-subtle: rgba(255, 255, 255, 0.07);
      --border-glow: rgba(149, 122, 251, 0.3);
      
      --purple-main: #957afb;
      --purple-gradient: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
      --purple-glow: rgba(149, 122, 251, 0.18);
      
      --green-main: #10b981;
      --green-glow: rgba(16, 185, 129, 0.18);
      
      --red-main: #f43f5e;
      --red-glow: rgba(244, 63, 94, 0.18);
      
      --blue-main: #3b82f6;
      --blue-glow: rgba(59, 130, 246, 0.18);

      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Touche', sans-serif;
}

body {
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.5;
  overflow-x: hidden;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 150px 2rem;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: center;
    position: relative;
    background: #000;
    min-width: 0;
}

.hero-container::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: var(--brand-purple);
  opacity: 0.12;
  filter: blur(140px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-info {
    max-width: 780px;
    width: 100%;
    min-width: 0;
    align-self: start;
}

.fx-wa-mock-mobile {
  display: none;
}

.hero-mockup-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  width: 100%;
}

.hero-mockup-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 1.1rem;
  font-size: 2rem;
  font-weight: 500;
  color: var(--brand-purple);
  text-align: center;
  border-radius: 10px;
}

.hero-mockup-hint svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  color: var(--brand-purple);
}

/* —— Mockup Vista WhatsApp (réplica UI clara) —— */
.control-center-mockup.fx-wa-mock {
  --fxm-navy: #1b2537;
  --fxm-blue: #2f6fed;
  --fxm-blue-soft: #e8f0fe;
  --fxm-border: #e6e9ef;
  --fxm-muted: #8b93a7;
  --fxm-text: #1e2433;
  --fxm-bg: #f4f6f9;
  --fxm-green: #16a34a;
  --fxm-tag-bg: #e8f5ef;
  --fxm-tag-text: #1f6b4a;

  display: flex;
  width: 100%;
  max-width: 100%;
  height: 520px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(149, 122, 251, 0.15);
  align-self: stretch;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--fxm-text);
  line-height: 1.35;
  isolation: isolate;
  position: relative;
}

.fx-wa-mock *,
.fx-wa-mock *::before,
.fx-wa-mock *::after {
  font-family: inherit;
  box-sizing: border-box;
}

.fx-wa-mock a {
  color: inherit;
  text-decoration: none;
}

.fx-wa-mock button {
  font-family: inherit;
  line-height: 1.2;
}

.fxm-sidebar {
  width: 152px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--fxm-border);
  display: flex;
  flex-direction: column;
  padding: 12px 8px 10px;
}

.fxm-brand {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  padding: 4px 8px 14px;
  letter-spacing: -0.02em;
}
.fxm-brand span { font-weight: 500; color: #444; }

.fxm-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.fxm-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 9.5px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
}
.fxm-nav-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke-width: 2;
}
.fxm-nav-item.active {
  background: var(--fxm-blue-soft);
  color: var(--fxm-blue);
  font-weight: 600;
}

.fxm-logout {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 8px 4px;
  margin-top: auto;
  border-top: 1px solid var(--fxm-border);
  font-size: 10px;
  font-weight: 500;
  color: #c45c5c;
  text-decoration: none;
  cursor: default;
}
.fxm-logout svg { width: 13px; height: 13px; }

.fxm-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--fxm-bg);
  position: relative;
}

.fxm-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-bottom: 1px solid var(--fxm-border);
  flex-shrink: 0;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .fx-wa-mock .fxm-user-meta,
  .fx-wa-mock .fxm-moon { display: none; }
}

.fxm-pipeline-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fxm-back {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fxm-navy);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: default;
}
.fxm-back svg { width: 13px; height: 13px; }

.fxm-pipe-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--fxm-blue);
  color: #fff;
  display: grid;
  place-items: center;
}
.fxm-pipe-icon svg { width: 13px; height: 13px; }

.fxm-pipe-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--fxm-text);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.fxm-pipe-title svg { width: 10px; height: 10px; color: var(--fxm-muted); }
.fxm-pipe-phone {
  font-size: 9px;
  color: var(--fxm-muted);
  margin-top: 1px;
}

.fxm-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f7f8fb;
  border: 1px solid var(--fxm-border);
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 10px;
  color: #9aa3b5;
}
.fxm-search svg { width: 12px; height: 12px; flex-shrink: 0; }
.fxm-search span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fxm-search-refresh { margin-left: auto; color: #7a8499; }

.fxm-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fxm-drag-instruction {
  margin: 6px 10px 0;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #d5dae3;
  background: #f7f8fb;
  color: #2f6fed;
  font-size: 9px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fxm-drag-instruction svg {
  width: 11px;
  height: 11px;
}

.fxm-btn-outline,
.fxm-btn-solid {
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 9px;
  white-space: nowrap;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}
.fxm-btn-outline {
  background: #fff;
  border: 1px solid #d5dae3;
  color: var(--fxm-text);
}
.fxm-btn-outline svg { width: 12px; height: 12px; }
.fxm-btn-solid {
  background: var(--fxm-navy);
  border: none;
  color: #fff;
}

.fxm-moon {
  width: 14px;
  height: 14px;
  color: #5b6478;
  flex-shrink: 0;
}

.fxm-user {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fxm-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fxm-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.fxm-user-meta strong {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--fxm-text);
  white-space: nowrap;
}
.fxm-user-meta span {
  font-size: 8px;
  color: var(--fxm-muted);
  white-space: nowrap;
}

.fxm-board {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  overscroll-behavior: contain;
  -webkit-user-select: none;
  user-select: none;
}

.fxm-board.is-dragging {
  overscroll-behavior: contain;
}

.fxm-board.is-dragging,
.fxm-board.is-dragging * {
  -webkit-user-select: none !important;
  user-select: none !important;
  cursor: grabbing;
}

.fxm-col {
  flex: 0 0 198px;
  width: 198px;
  background: #fff;
  border: 1px solid var(--fxm-border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.fxm-col--cyan { background: #f3fbfd; border-color: #cfeaf3; }
.fxm-col--mint { background: #f7fffc; border-color: #d5efe6; }
.fxm-col--pink { background: #fff6f7; border-color: #f3d4d8; }
.fxm-col--violet { background: #f7f4ff; border-color: #ddd2f5; }
.fxm-col--lime { background: #f7fcec; border-color: #d9ebc0; }

.fxm-col-head {
  padding: 8px 8px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  -webkit-user-select: none;
  user-select: none;
}
.fxm-col-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 4px;
}
.fxm-col-name {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--fxm-text);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.fxm-col-name svg { width: 11px; height: 11px; color: #6b7280; }
.fxm-col-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #9aa3b5;
}
.fxm-col-tools svg { width: 11px; height: 11px; }

.fxm-col-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--fxm-muted);
  font-weight: 500;
}

.fxm-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eef0f4;
  color: #5b6478;
  font-size: 8px;
  font-weight: 600;
}
.fxm-badge--blue { background: #e4efff; color: #2f6fed; }
.fxm-badge--green { background: #e6f7ee; color: #15803d; }

.fxm-cards {
  padding: 6px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.fxm-card {
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 9px;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.fxm-col--cyan .fxm-card { border-color: #bfe3ef; }
.fxm-col--pink .fxm-card { border-color: #efc8ce; }
.fxm-col--violet .fxm-card { border-color: #d4c6f0; }
.fxm-col--lime .fxm-card { border-color: #cfe4ad; }
.fxm-card--selected {
  border-color: #7eb6ff !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.12);
  background: #f8fbff;
}

.fxm-card-top {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 6px;
  align-items: start;
  margin-bottom: 5px;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.fxm-card-top:active {
  cursor: grabbing;
}

.fxm-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.fxm-av--photo { background-color: #dbe3ef; }
.fxm-av--teal { background: #14b8a6; }
.fxm-av--blue { background: #3b82f6; }
.fxm-av--purple { background: #8b5cf6; }
.fxm-av--orange { background: #f59e0b; }
.fxm-av--pink { background: #f472b6; }
.fxm-av--violet { background: #a78bfa; }
.fxm-av--lime { background: #84cc16; }

.fxm-card-who {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.fxm-card-who strong {
  font-size: 10px;
  font-weight: 700;
  color: var(--fxm-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fxm-card-who span {
  font-size: 8px;
  color: var(--fxm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fxm-tag {
  font-size: 7.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--fxm-tag-bg);
  color: var(--fxm-tag-text);
  white-space: nowrap;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fxm-tag--blue {
  background: #e4efff;
  color: #1d4ed8;
}

.fxm-card-msg {
  font-size: 9px;
  color: #6b7280;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.fxm-card-msg.deleted {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #9ca3af;
  font-style: italic;
}
.fxm-card-msg.deleted svg {
  width: 10px;
  height: 10px;
  color: #ef4444;
  flex-shrink: 0;
}

.fxm-card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fxm-time {
  font-size: 8px;
  color: #8b93a7;
  background: #f1f3f7;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 500;
}
.fxm-unread {
  margin-left: auto;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}
.fxm-open {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  color: var(--fxm-blue);
  text-decoration: none;
  cursor: default;
}
.fxm-card-foot:has(.fxm-unread) .fxm-open { margin-left: 0; }
.fxm-open svg { width: 11px; height: 11px; }

/* Drag & drop — columnas y chats del mockup */
.fxm-col-head {
  cursor: grab;
}
.fxm-col-head:active {
  cursor: grabbing;
}
.fxm-col-ghost {
  opacity: 0.45;
  -webkit-user-select: none !important;
  user-select: none !important;
}
.fxm-col-chosen {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}
.fxm-col-drag {
  opacity: 0.95;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.fxm-card-ghost {
  opacity: 0.4;
  background: #eef2f7;
}
.fxm-card-chosen {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}
.fxm-card-drag {
  opacity: 0.95;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.fxm-cards.sortable-drag-over,
.fxm-cards:empty {
  min-height: 48px;
}

.hero-title {
  font-size: 4em;
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.hero-title span {
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 5rem;
  max-width: 560px;
}

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

.hero-feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  border: 1px solid #957afb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  /* align-self: center; */
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.8;
}

.hero-feature-copy h3 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-purple);
  margin-bottom: 0.3rem;
}

.hero-feature-copy p {
  font-size: 2rem;
  line-height: 1.45;
  color: var(--light-text);
  opacity: 0.92;
  max-width: 360px;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-purple {
  background: var(--brand-purple);
  color: var(--white);
  border: none;
}

.btn-purple:hover {
  background: var(--brand-purple-dark);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--dark-border);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--dark-card);
  color: var(--white);
  border-color: var(--brand-purple);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(149, 122, 251, 0.08);
  border: 1px solid rgba(149, 122, 251, 0.3);
  color: var(--brand-purple);
  padding: 0.7rem 1em;
  border-radius: 50px;
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

/* —— Entrada cinematográfica del hero (no toca drag/scroll del panel) —— */
.hero-container.hero-await .hero-tag,
.hero-container.hero-await .hero-title,
.hero-container.hero-await .hero-feature-list,
.hero-container.hero-await .fx-wa-mock-mobile,
.hero-container.hero-await .hero-mockup-hint,
.hero-container.hero-await .control-center-mockup.fx-wa-mock {
  opacity: 0;
}

.hero-container.hero-await::before {
  opacity: 0;
}

.hero-container.hero-entered .hero-tag,
.hero-container.hero-entered .hero-title,
.hero-container.hero-entered .hero-feature-list,
.hero-container.hero-entered .fx-wa-mock-mobile,
.hero-container.hero-entered .hero-mockup-hint,
.hero-container.hero-entered .control-center-mockup.fx-wa-mock {
  opacity: 1;
}

.hero-container.hero-entered::before {
  opacity: 0.12;
}

.hero-container.hero-entering {
  perspective: 1600px;
}

.hero-entering .hero-tag,
.hero-entering .hero-title,
.hero-entering .hero-feature-list,
.hero-entering .fx-wa-mock-mobile,
.hero-entering .hero-mockup-hint {
  animation: heroCopyIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-entering .hero-tag { animation-delay: 0.05s; }
.hero-entering .hero-title { animation-delay: 0.16s; }
.hero-entering .hero-feature-list { animation-delay: 0.42s; }
.hero-entering .fx-wa-mock-mobile { animation-delay: 0.28s; }
.hero-entering .hero-mockup-hint { animation-delay: 0.48s; }

.hero-entering .hero-title span {
  animation: heroAccentGlow 4.4s ease-in-out 0.55s both;
}

.hero-entering::before {
  animation: heroBlobIn 1.4s ease both;
}

.hero-entering .control-center-mockup.fx-wa-mock {
  transform-origin: 30% 50%;
  pointer-events: none;
  animation: heroPanelIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.hero-entering .control-center-mockup.fx-wa-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(149, 122, 251, 0.28) 54%,
    transparent 66%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: heroPanelScan 1.15s cubic-bezier(0.4, 0, 0.2, 1) 0.55s both;
}

.hero-entering .fxm-sidebar {
  animation: heroSideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.hero-entering .fxm-nav-item {
  animation: heroNavIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-entering .fxm-nav-item:nth-child(1) { animation-delay: 0.5s; }
.hero-entering .fxm-nav-item:nth-child(2) { animation-delay: 0.56s; }
.hero-entering .fxm-nav-item:nth-child(3) { animation-delay: 0.62s; }
.hero-entering .fxm-nav-item:nth-child(4) { animation-delay: 0.68s; }
.hero-entering .fxm-nav-item:nth-child(5) { animation-delay: 0.74s; }
.hero-entering .fxm-nav-item:nth-child(6) { animation-delay: 0.8s; }

.hero-entering .fxm-topbar {
  animation: heroTopbarIn 0.55s ease 0.52s both;
}

.hero-entering .fxm-board {
  animation: heroBoardReveal 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes heroAccentGlow {
  0% { filter: drop-shadow(0 0 0 rgba(149, 122, 251, 0)); }
  28% { filter: drop-shadow(0 0 16px rgba(149, 122, 251, 0.55)); }
  48% { filter: drop-shadow(0 0 22px rgba(149, 122, 251, 0.75)); }
  72% { filter: drop-shadow(0 0 14px rgba(149, 122, 251, 0.4)); }
  100% { filter: drop-shadow(0 0 0 rgba(149, 122, 251, 0)); }
}

@keyframes heroBlobIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 0.12; transform: none; }
}

@keyframes heroPanelIn {
  from {
    opacity: 0;
    transform: rotateY(-14deg) rotateX(7deg) translate3d(48px, 18px, -80px) scale(0.9);
    filter: blur(12px);
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(149, 122, 251, 0.15),
      0 0 90px rgba(149, 122, 251, 0.45);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(149, 122, 251, 0.15);
  }
}

@keyframes heroPanelScan {
  0% {
    opacity: 1;
    background-position: 120% 0;
  }
  100% {
    opacity: 0;
    background-position: -80% 0;
  }
}

@keyframes heroSideIn {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroNavIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroTopbarIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroBoardReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-container.hero-await .hero-tag,
  .hero-container.hero-await .hero-title,
  .hero-container.hero-await .hero-feature-list,
  .hero-container.hero-await .fx-wa-mock-mobile,
  .hero-container.hero-await .hero-mockup-hint,
  .hero-container.hero-await .control-center-mockup.fx-wa-mock,
  .hero-container.hero-await::before {
    opacity: 1;
  }

  .hero-container.hero-entering {
    perspective: none;
  }
  .hero-entering .hero-tag,
  .hero-entering .hero-title,
  .hero-entering .fx-wa-mock-mobile,
  .hero-title span,
  .hero-entering .hero-title span,
  .hero-entering .control-center-mockup.fx-wa-mock,
  .hero-entering .control-center-mockup.fx-wa-mock::after,
  .hero-entering .fxm-sidebar,
  .hero-entering .fxm-nav-item,
  .hero-entering .fxm-topbar,
  .hero-entering .fxm-board {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
  .hero-entering::before {
    animation: none !important;
    transform: none !important;
  }
  .hero-entering .control-center-mockup.fx-wa-mock {
    pointer-events: auto;
  }
  .hero-entering .control-center-mockup.fx-wa-mock::after {
    content: none;
  }
}

/* Responsive mockup Vista WhatsApp */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: minmax(0, 1fr);
    padding: 88px 1.75rem 72px;
    gap: 2rem;
  }

  .hero-info {
    max-width: 640px;
  }

  .control-center-mockup.fx-wa-mock {
    height: 460px;
  }
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: minmax(0, 1fr);
    padding: 56px 1.25rem 64px;
    gap: 0;
    text-align: center;
    overflow-x: hidden;
  }

  .hero-container::before {
    width: min(280px, 72vw);
    height: min(280px, 72vw);
    top: 6%;
    right: -18%;
    opacity: 0.16;
    filter: blur(90px);
  }

  .hero-info {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-tag {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    padding: 0.55rem 1rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
  }

  .hero-title .hero-br {
    display: none;
  }

  .hero-mockup-col {
    display: none;
  }

  .fx-wa-mock-mobile {
    display: block;
    width: 100%;
    max-width: min(100%, 540px);
    height: auto;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(149, 122, 251, 0.15);
    margin: 1.25rem auto 1.5rem;
  }

  .hero-feature-list {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: fit-content;
    gap: 0.85rem;
    margin-bottom: 0;
    align-items: stretch;
  }

  .hero-feature-item {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    gap: 0.85rem;
    width: 100%;
  }

  .hero-feature-copy {
    text-align: left;
  }

  .hero-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .hero-feature-icon svg {
    width: 22px;
    height: 22px;
  }

  .hero-feature-copy h3 {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
  }

  .hero-feature-copy p {
    font-size: 1rem;
    line-height: 1.45;
    max-width: none;
  }
}

@media (max-width: 400px) {
  .hero-container {
    padding: 48px 1rem 56px;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
  }

  .hero-tag {
    font-size: 1rem;
  }

  .hero-feature-copy h3 {
    font-size: 1.1rem;
  }

  .hero-feature-copy p {
    font-size: 0.95rem;
  }

  .hero-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .hero-feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .fx-wa-mock-mobile {
    border-radius: 12px;
    margin: 1rem auto 1.25rem;
  }
}


:root {
  --purple-accent: #917BF3;
  --dark-bg: #000000;
  --gray-text: #a0a0a0;
  --white: #ffffff;
}

  /*--------------------------CHATBOTS-------------------------*/
/* --- ENTORNO GENERAL --- */
.xb-chatbot-online-section {
  background: #000;
  padding: 50px 0 0;
  position: relative;
  overflow: hidden;
}

.xb-landing-wrapper {
  background-color: transparent;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 50px;
}

.xb-chatbot-online-section .container {
  max-width: 1200px;
}

/* Ajuste puntual para la landing agregada al inicio de chats.php */
#fiweex-chats-landing {
  padding: 200px 0 150px;
  overflow: visible;
}

#fiweex-chats-landing .xb-landing-wrapper {
  width: 100%;
  padding-bottom: 0;
  overflow: visible;
}

#fiweex-chats-landing .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

#fiweex-chats-landing .fiweex-landing-row {
  min-height: 0;
  display: grid;
  grid-template-columns: 620px minmax(0, 1fr);
  column-gap: 3rem;
  row-gap: 1.5rem;
  align-items: center;
}

#fiweex-chats-landing .fiweex-landing-row > [class*="col-"] {
  width: auto;
  max-width: none;
  flex: none;
}

#fiweex-chats-landing .xb-left-col {
  grid-column: 1;
  width: 620px;
  max-width: 620px;
  min-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

#fiweex-chats-landing .xb-copy-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

#fiweex-chats-landing .xb-cta-col {
  width: 100%;
  display: flex;
  align-items: flex-start;
  margin-top: 0.25rem;
}

#fiweex-chats-landing .xb-cta-col .xb-cta-row {
  margin-bottom: 0;
}

#fiweex-chats-landing .xb-mockup-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  grid-column: 2;
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

#fiweex-chats-landing .xb-presentation-card--media {
  width: auto;
  max-width: 100%;
  height: auto;
  position: relative;
  overflow: visible;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

#fiweex-chats-landing .xb-mockup-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  box-shadow: none;
  will-change: transform;
  animation: landingGifFloat 4.8s ease-in-out infinite;
}

@media (max-width: 991px) {
  #fiweex-chats-landing {
    padding: 50px 0 40px;
  }

  #fiweex-chats-landing .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #fiweex-chats-landing .fiweex-landing-row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
  }

  #fiweex-chats-landing .fiweex-landing-row {
    display: flex;
    flex-direction: column;
    min-height: auto;
    column-gap: 0;
    row-gap: 0;
  }

  #fiweex-chats-landing .xb-left-col {
    display: contents;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  #fiweex-chats-landing .xb-copy-col,
  #fiweex-chats-landing .xb-mockup-col,
  #fiweex-chats-landing .xb-cta-col {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  #fiweex-chats-landing .xb-mockup-col {
    overflow: visible;
  }

  #fiweex-chats-landing .xb-copy-col {
    align-items: center;
    text-align: center;
    order: 1;
  }

  #fiweex-chats-landing .xb-mockup-col {
    order: 2;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }

  #fiweex-chats-landing .xb-cta-col {
    order: 3;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-top: 0;
  }

  #fiweex-chats-landing .xb-cta-row {
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  #fiweex-chats-landing .xb-text-description {
    margin-bottom: 1rem;
  }

  #fiweex-chats-landing .xb-presentation-card--media,
  #fiweex-chats-landing .xb-mockup-image {
    max-width: min(100%, 680px);
  }

  #fiweex-chats-landing .xb-presentation-card--media {
    padding: 0;
  }
}

/* —— Entrada landing: flujo pipeline (único, no comparte keyframes con otras secciones) —— */
#fiweex-chats-landing.landing-await .xb-badge-purple,
#fiweex-chats-landing.landing-await .xb-main-heading,
#fiweex-chats-landing.landing-await .xb-text-description,
#fiweex-chats-landing.landing-await .xb-cta-row,
#fiweex-chats-landing.landing-await .xb-presentation-card--media {
  visibility: hidden;
}

#fiweex-chats-landing.landing-await::before {
  opacity: 0;
}

#fiweex-chats-landing.landing-entered .xb-badge-purple,
#fiweex-chats-landing.landing-entered .xb-main-heading,
#fiweex-chats-landing.landing-entered .xb-text-description,
#fiweex-chats-landing.landing-entered .xb-cta-row,
#fiweex-chats-landing.landing-entered .xb-presentation-card--media {
  visibility: visible;
  opacity: 1;
}

#fiweex-chats-landing.landing-entered .xb-main-heading {
  transform: none;
  clip-path: none;
}

#fiweex-chats-landing.landing-entered .xb-main-heading .xb-heading {
  opacity: 1;
  transform: none;
  will-change: auto;
}

#fiweex-chats-landing.landing-entered::before {
  opacity: 1;
}

/* Columnas de pipeline de fondo */
#fiweex-chats-landing::before {
  content: '';
  position: absolute;
  inset: 12% 6% 8%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(33.333% - 0.5px),
      rgba(149, 122, 251, 0.07) calc(33.333% - 0.5px),
      rgba(149, 122, 251, 0.07) calc(33.333% + 0.5px),
      transparent calc(33.333% + 0.5px),
      transparent calc(66.666% - 0.5px),
      rgba(149, 122, 251, 0.07) calc(66.666% - 0.5px),
      rgba(149, 122, 251, 0.07) calc(66.666% + 0.5px),
      transparent calc(66.666% + 0.5px)
    );
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

#fiweex-chats-landing.landing-entering::before {
  animation: landingPipelineCols 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

#fiweex-chats-landing.landing-entering .xb-mockup-col {
  pointer-events: none;
}

#fiweex-chats-landing.landing-entering .xb-badge-purple {
  visibility: visible;
  animation: landingBadgeUnfold 0.72s cubic-bezier(0.22, 1.25, 0.36, 1) 0.1s both;
}

#fiweex-chats-landing.landing-entering .xb-badge-purple svg,
#fiweex-chats-landing.landing-entering .xb-badge-purple i {
  animation: landingIconPing 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.42s both;
}

#fiweex-chats-landing.landing-entering .xb-main-heading {
  visibility: visible;
  animation: landingTitleWipe 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

#fiweex-chats-landing.landing-entering .xb-main-heading .xb-heading {
  animation: landingWaHighlight 0.78s cubic-bezier(0.22, 1.15, 0.36, 1) 0.68s both;
}

#fiweex-chats-landing .xb-main-heading .xb-heading {
  display: inline-block;
  vertical-align: baseline;
  will-change: transform;
}

#fiweex-chats-landing.landing-entering .xb-text-description {
  visibility: visible;
  animation: landingDescExpand 0.68s ease 0.48s both;
}

#fiweex-chats-landing.landing-entering .xb-cta-row {
  visibility: visible;
  overflow: hidden;
}

#fiweex-chats-landing.landing-entering .xb-btn-primary {
  animation: landingCtaRise 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.58s both;
}

#fiweex-chats-landing.landing-entering .xb-btn-outline {
  animation: landingCtaRise 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

#fiweex-chats-landing.landing-entering .xb-presentation-card--media {
  visibility: visible;
  transform-origin: 72% 50%;
  animation: landingCardDock 1s cubic-bezier(0.22, 1.12, 0.36, 1) 0.4s both;
}

#fiweex-chats-landing .xb-presentation-card--media::after {
  display: none !important;
  content: none !important;
  border: none !important;
  box-shadow: none !important;
}

#fiweex-chats-landing.landing-entered .xb-presentation-card--media {
  animation: none;
  box-shadow: none;
}

@keyframes landingGifFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes landingPipelineCols {
  0% {
    opacity: 0;
    transform: scaleY(0.35);
    transform-origin: center top;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes landingBadgeUnfold {
  0% {
    opacity: 0;
    transform: translateX(-28px) scaleX(0.55);
    transform-origin: left center;
    letter-spacing: 0.22em;
  }
  100% {
    opacity: 1;
    transform: none;
    letter-spacing: 0.01em;
  }
}

@keyframes landingIconPing {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  65% {
    opacity: 1;
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes landingTitleWipe {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-16px);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@keyframes landingWaHighlight {
  0% {
    transform: translateY(10px) scale(0.92);
  }
  100% {
    transform: none;
  }
}

@keyframes landingDescExpand {
  0% {
    opacity: 0;
    transform: scale(0.96);
    max-height: 0;
  }
  100% {
    opacity: 1;
    transform: none;
    max-height: 12em;
  }
}

@keyframes landingCtaRise {
  0% {
    opacity: 0;
    transform: translateY(120%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes landingCardDock {
  0% {
    opacity: 0;
    transform: translateX(72px) rotate(3deg) scale(0.94);
  }
  72% {
    opacity: 1;
    transform: translateX(-6px) rotate(-0.6deg) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes landingFrameDraw {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}

@keyframes landingCardBreathe {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(149, 122, 251, 0.1);
  }
  50% {
    transform: translateY(-6px) rotate(-0.4deg);
    box-shadow:
      0 28px 56px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(149, 122, 251, 0.22),
      0 0 32px rgba(149, 122, 251, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  #fiweex-chats-landing.landing-await .xb-badge-purple,
  #fiweex-chats-landing.landing-await .xb-main-heading,
  #fiweex-chats-landing.landing-await .xb-text-description,
  #fiweex-chats-landing.landing-await .xb-cta-row,
  #fiweex-chats-landing.landing-await .xb-presentation-card--media {
    visibility: visible;
    opacity: 1;
  }

  #fiweex-chats-landing.landing-await::before {
    opacity: 1;
  }

  #fiweex-chats-landing.landing-entering .xb-badge-purple,
  #fiweex-chats-landing.landing-entering .xb-badge-purple svg,
  #fiweex-chats-landing.landing-entering .xb-badge-purple i,
  #fiweex-chats-landing.landing-entering .xb-main-heading,
  #fiweex-chats-landing.landing-entering .xb-main-heading .xb-heading,
  #fiweex-chats-landing.landing-entering .xb-text-description,
  #fiweex-chats-landing.landing-entering .xb-cta-row,
  #fiweex-chats-landing.landing-entering .xb-btn-primary,
  #fiweex-chats-landing.landing-entering .xb-btn-outline,
  #fiweex-chats-landing.landing-entering .xb-presentation-card--media,
  #fiweex-chats-landing.landing-entering .xb-presentation-card--media::after,
  #fiweex-chats-landing.landing-entering::before,
  #fiweex-chats-landing.landing-entered .xb-presentation-card--media,
  #fiweex-chats-landing .xb-mockup-image {
    animation: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    box-shadow: none !important;
    letter-spacing: inherit !important;
    max-height: none !important;
  }

  #fiweex-chats-landing.landing-entering .xb-presentation-card--media::after {
    content: none;
  }

  #fiweex-chats-landing.landing-entering .xb-mockup-col {
    pointer-events: auto;
  }
}

/* --- COLUMNA IZQUIERDA --- */
.xb-badge-purple {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(149, 122, 251, 0.08);
  border: 1px solid rgba(149, 122, 251, 0.35);
  color: #957afb;
  font-size: 2em;
  font-weight: 600;
  padding: 0.7rem 1em;
  border-radius: 999px;
  margin: 0 0 2rem;
  letter-spacing: 0.01em;
}

.xb-badge-purple svg {
  width: 20px !important;
  height: 20px !important;
  color: #957afb;
  flex-shrink: 0;
  display: block;
}

.xb-main-heading {
  font-size: 4rem;
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.xb-heading {
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === Título chatbot secundario (restaurar estilos) ===
   Se excluye el hero principal `#fiweex-chats-landing` para no alterar esa sección. */
.xb-chatbot-online-section:not(#fiweex-chats-landing) .xb-main-heading {
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.xb-chatbot-online-section:not(#fiweex-chats-landing) .xb-heading-line1 {
  color: white;
  font-size: 100%;
  font-weight: 800;
}

.xb-chatbot-online-section:not(#fiweex-chats-landing) .xb-heading-line2 {
  color: #957afb;
  font-size: 100%;
  font-weight: 500;
}

@media (min-width: 992px) {
  #chatbot-en-vivo .xb-left-col {
    position: relative;
    top: 190px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #chatbot-en-vivo .xb-copy-col {
    width: 100%;
  }

  #chatbot-en-vivo .xb-cta-col {
    width: 100%;
  }

  #chatbot-en-vivo .xb-cta-col .xb-cta-row {
    margin-bottom: 0;
  }

  #chatbot-en-vivo .xb-br-lg {
    display: inline;
  }
}

.xb-text-description {
  font-size: 2rem;
  font-weight: 400;
  font-style: normal;
  color: #a1a1aa;
  opacity: 1;
  line-height: 1.5;
  margin: 0 0 2.4rem;
  max-width: 500px;
}

.xb-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin: 0 0 2.2rem;
}

.xb-btn-primary,
.xb-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: Inter, Poppins, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.xb-btn-primary {
  background: #957afb;
  color: #fff;
  border: 1.5px solid #957afb;
}

.xb-btn-primary:hover {
  background: var(--brand-purple-dark);
  border-color: var(--brand-purple-dark);
  color: #fff;
  transform: translateY(-2px);
}

.xb-btn-outline {
  background: transparent;
  color: #957afb;
  border: 1.5px solid #957afb;
}

.xb-btn-outline:hover {
  background: rgba(149, 122, 251, 0.14);
  color: #fff;
  transform: translateY(-2px);
}

.xb-btn-primary svg,
.xb-btn-outline svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
  display: block;
}

.xb-btn-primary .xb-wa-ico {
  width: 22px !important;
  height: 22px !important;
}

#xb-demo {
  scroll-margin-top: 96px;
}

.xb-btn-neon {
  margin-top: 4%;
  display: inline-block;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
  background: #917BF3;
}

.xb-btn-neon:hover {
  background: var(--brand-purple-dark);
  transform: translateY(-2px);
  color: var(--white);
}

.xb-btn-neon-mobile {
  display: none;
}


/* --- COLUMNA DERECHA --- */
.xb-sim-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 500px;
  margin: 20px auto 0px;
  padding: 0 12px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #957afb;
  text-align: center;
}

.xb-sim-title i,
.xb-sim-title svg {
  color: #957afb;
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor;
}


.xb-bg-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 690px;
  height: 690px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xb-bg-glow::before {
  content: '';
  position: absolute;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149, 122, 251, 0.42) 0%, rgba(145, 123, 243, 0.16) 45%, transparent 72%);
}

.xb-live-ring {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: rgba(145, 123, 243, 0.28);
  animation: xb-live-ring 2.8s ease-out infinite;
}

.xb-live-ring--2 {
  animation-delay: 0.95s;
}

@keyframes xb-live-ring {
  0% {
    transform: scale(0.88);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xb-live-ring,
  .xb-live-ring--2 {
    animation: none;
    opacity: 0.28;
  }
}

/* Contenedor transparente (Fondo negro, padding y shadow eliminados) */
.xb-presentation-card {
  width: 100%;
  max-width: 650px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Efecto de brillo de color #917BF3 a los lados - Eliminado */
.xb-presentation-card::before,
.xb-presentation-card::after {
  display: none;
}

/* --- OPCIONES DE RUBRO (pills, mismo lenguaje que el título) --- */
.xb-dock-outer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  padding: 22px 8px 6px;
}

.xb-dock-surface {
  position: relative;
  max-width: 100%;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.xb-dock-outer,
.xb-dock-surface {
  overflow: visible;
}

.xb-dock {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.xb-dock-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  box-sizing: border-box;
}

.xb-rubro-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  width: auto;
  min-width: 0;
  padding: 10px 16px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  cursor: pointer;
  color: #c8c8d0;
  text-align: center;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.xb-rubro-btn:hover {
  border-color: rgba(145, 123, 243, 0.55);
  color: #ececf1;
  background: rgba(145, 123, 243, 0.08);
}

.xb-rubro-btn.active {
  border-color: #957afb;
  color: #957afb;
  background: rgba(145, 123, 243, 0.1);
}

.xb-rubro-btn.active::after {
  display: none;
}

.xb-rubro-dock-label {
  position: static;
  transform: none;
  width: auto;
  max-width: none;
  font-size: 14px;
  font-weight: inherit;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: inherit;
  text-shadow: none;
  white-space: nowrap;
  pointer-events: none;
  z-index: auto;
  opacity: 1;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.xb-rubro-dock-label::after {
  display: none;
}

.xb-rubro-btn:hover .xb-rubro-dock-label,
.xb-rubro-btn:focus-visible .xb-rubro-dock-label {
  opacity: 1;
  transform: none;
}

.xb-rubro-icon {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: none;
  box-shadow: none;
  flex-shrink: 0;
  order: -1;
}

.xb-rubro-icon::after {
  display: none;
}

.xb-rubro-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.xb-rubro-icon i {
  font-size: 16px;
}

.xb-rubro-btn:hover .xb-rubro-icon,
.xb-rubro-btn.active .xb-rubro-icon {
  box-shadow: none;
  background: none;
}

.xb-rubro-btn:active .xb-rubro-icon {
  animation: none;
}

.xb-dock-shelf {
  display: none;
}

/* --- MOCKUP IPHONE (marco negro / Dynamic Island) --- */
.xb-device-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: visible;
  padding: 4px 10px;
  position: relative;
}

.xb-phone-frame {
  width: 350px;
  height: 690px;
  background: linear-gradient(160deg, #2b2b2b 0%, #0a0a0a 42%, #151515 100%);
  border-radius: 52px;
  padding: 8px;
  border: 1px solid #1a1a1a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 56px rgba(0, 0, 0, 0.55);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.xb-phone-btn {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, #3d3d3d 0%, #1a1a1a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

.xb-phone-btn--silent {
  left: -3px;
  top: 108px;
  width: 3px;
  height: 22px;
  border-radius: 2px 0 0 2px;
}

.xb-phone-btn--vol-up {
  left: -3px;
  top: 148px;
  width: 3px;
  height: 38px;
  border-radius: 2px 0 0 2px;
}

.xb-phone-btn--vol-down {
  left: -3px;
  top: 196px;
  width: 3px;
  height: 38px;
  border-radius: 2px 0 0 2px;
}

.xb-phone-btn--power {
  right: -3px;
  top: 168px;
  width: 3px;
  height: 72px;
  border-radius: 0 2px 2px 0;
}

.xb-phone-screen {
  --xb-ios-font: 'Poppins', system-ui, sans-serif;
  background-color: #f0eeeb;
  border-radius: 44px;
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  font-family: var(--xb-ios-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.015em;
  box-sizing: border-box;
  border: 2px solid #050505;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06);
}

.xb-phone-screen *,
.xb-phone-screen *::before,
.xb-phone-screen *::after {
  font-family: inherit;
}

.xb-phone-screen button {
  font-family: inherit;
}

.xb-notch-cutout {
  width: 102px;
  height: 30px;
  background-color: #000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  flex-shrink: 0;
  z-index: 2;
}

.xb-camera-lens {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #2c4a6e 0%, #0a1422 58%, #05080f 100%);
  box-shadow: inset 0 0 0 1.5px #050505;
}

/* --- INTERFAZ WHATSAPP BLANCA --- */
.xb-wa-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ececec;
  padding-bottom: 8px;
  z-index: 10;
  position: relative;
}

.xb-ios-status {
  width: 100%;
  height: 48px;
  padding: 0px 16px 0 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 31;
  color: #000;
  box-sizing: border-box;
}

.xb-text-dark {
  color: #111b21 !important;
}

.xb-time {
  justify-self: start;
  padding-left: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.25px;
  line-height: 1;
  font-family: var(--xb-ios-font);
  color: #000;
}

.xb-icons {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #000;
  padding-right: 2px;
}

.xb-ios-signal,
.xb-ios-wifi,
.xb-ios-battery {
  display: block;
  flex-shrink: 0;
  height: 13px;
  width: auto;
}

.xb-ios-signal,
.xb-ios-wifi {
  width: 17px;
}

.xb-ios-battery {
  width: 25px;
}

.xb-phone-screen h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.15;
}

.xb-wa-nav {
  display: flex;
  align-items: center;
  padding: 2px 14px 2px 10px;
  min-height: 44px;
}

.xb-wa-back,
.xb-wa-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  flex-shrink: 0;
}

.xb-wa-back {
  width: 24px;
  height: 36px;
  margin-right: 4px;
  color: #000;
}

.xb-wa-back svg {
  display: block;
}

.xb-verified-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  margin-left: 2px;
  transform: translateY(0.5px);
}

.xb-verified-badge svg {
  display: block;
}

.xb-wa-menu {
  width: 18px;
  height: 36px;
  margin-left: 8px;
}

.xb-wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
  overflow: hidden;
  background: #F59E0B;
  font-size: 20px;
}

.xb-wa-avatar i {
  color: #fff;
  line-height: 1;
}

.xb-wa-identity {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.15;
}

.xb-wa-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.xb-bot-name {
  font-size: 15px;
  font-weight: 600;
  font-family: var(--xb-ios-font);
  letter-spacing: -0.02em;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xb-wa-status {
  color: #8e8e93;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--xb-ios-font);
  letter-spacing: -0.01em;
}

.xb-apple-emoji {
  width: 1.22em;
  height: 1.22em;
  display: inline-block;
  vertical-align: -0.22em;
  object-fit: contain;
}

.xb-wa-chat-area {
  flex-grow: 1;
  background-color: #f2f0ec;
  background-image: linear-gradient(rgba(242, 240, 236, 0.88), rgba(242, 240, 236, 0.88)), url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  background-size: cover;
  background-position: center;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  min-height: 0;
}

.xb-wa-chat-area::-webkit-scrollbar {
  width: 4px;
}

.xb-wa-chat-area::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.xb-msg-bubble {
  max-width: 92%;
  padding: 6px 8px 8px 10px;
  border-radius: 12px;
  font-size: 15.5px;
  font-family: var(--xb-ios-font);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  position: relative;
  word-wrap: break-word;
  animation: xbFadeIn 0.2s ease-out forwards;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.xb-msg-bot {
  font-size: 14px;
  background-color: #ffffff;
  color: #111b21 !important;
  align-self: flex-start;
  border-top-left-radius: 2px;
  margin-left: 6px;
}

.xb-msg-bot::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  border-width: 0 8px 12px 0;
  border-style: solid;
  border-color: transparent #ffffff transparent transparent;
}

.xb-msg-user {
  font-size: 14px;
  background-color: #d9fdd3;
  color: #111b21 !important;
  align-self: flex-end;
  border-top-right-radius: 2px;
  margin-right: 6px;
}

.xb-msg-user::before {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  border-width: 0 0 12px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #d9fdd3;
}

.xb-wa-link {
  color: #027eb5;
  text-decoration: none;
  cursor: pointer;
}

.xb-wa-link:hover {
  text-decoration: underline;
}

.xb-wa-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 1rem;
  color: #667781;
  float: right;
  margin-left: 10px;
  margin-top: 4px;
  position: relative;
  top: 3px;
}

.xb-tick-blue {
  color: #53bdeb;
  font-size: 0.75rem;
  margin-left: 3px;
}

.xb-wa-footer {
  background-color: #f0f2f5;
  padding: 6px 10px 8px 10px !important;
}

.xb-input-bar {
  background-color: #ffffff;
  border-radius: 22px;
  min-height: 42px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.xb-input-ico {
  color: #54656f;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  line-height: 0;
  overflow: visible;
}

.xb-phone-screen .xb-input-ico svg {
  display: block;
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  overflow: visible;
}

.xb-input-ico--emoji {
  margin: 0 4px 0 6px;
}

.xb-input-ico--clip {
  margin: 0 10px 0 4px;
}

.xb-input-ico--cam {
  margin: 0 8px 0 0;
}

.xb-chat-input {
  background: transparent;
  border: none;
  color: #111b21;
  width: 100%;
  outline: none;
  font-size: 14px;
  font-family: var(--xb-ios-font);
  font-weight: 400;
  letter-spacing: -0.01em;
  caret-color: #25d366;
}

.xb-chat-input::placeholder {
  color: #9ea3a8;
  font-family: var(--xb-ios-font);
}

.xb-chat-input[type=number]::-webkit-inner-spin-button,
.xb-chat-input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.xb-send-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.xb-send-btn svg,
.xb-send-plane {
  display: block;
  margin-left: 2px;
  margin-bottom: 1px;
}

@keyframes xbFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Margen mockup desktop; en móvil menos aire */
.xb-mockup-col {
  margin-top: 11%;
  margin-bottom: 7%;
}

/* --- SUPER RESPONSIVE PARA MÓVILES --- */
@media (max-width: 991px) {
  .xb-landing-wrapper {
    min-height: auto;
    padding-top: 10rem !important;
    padding-bottom: 2.5rem !important;
  }

  .xb-mockup-col {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
  }

  .xb-main-heading {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }

  .xb-badge-purple {
    font-size: 1.1rem;
    padding: 0.6rem 1.1rem;
    margin-bottom: 1.4rem;
  }

  .xb-text-description {
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0 auto 1.8rem;
  }

  .xb-cta-row {
    justify-content: center;
    margin-bottom: 1.8rem;
  }

  .xb-btn-primary,
  .xb-btn-outline {
    font-size: 1.4rem;
    padding: 1.05rem 1.5rem;
  }

  .xb-btn-neon {
    padding: 8px 22px;
    margin-top: 0.5rem;
  }

  .xb-presentation-card {
    padding: 12px 6px 20px 6px;
    max-width: min(100%, 340px);
    width: 100%;
  }

  @media (max-width: 600px) {
    .xb-btn-neon {
    font-size: 15px;
  }
  }

  /* Más estrecho y un poco más alto: mejor proporción en mano */
  .xb-phone-frame {
    width: 100%;
    max-width: 300px;
    height: 650px;
    border-radius: 48px;
    padding: 8px;
    border-width: 1px;
  }

  .xb-phone-screen {
    border-radius: 38px;
  }

  .xb-notch-cutout {
    width: 92px;
    height: 27px;
  }

  .xb-phone-btn--silent {
    top: 96px;
  }

  .xb-phone-btn--vol-up {
    top: 134px;
  }

  .xb-phone-btn--vol-down {
    top: 178px;
  }

  .xb-phone-btn--power {
    top: 152px;
    height: 64px;
  }

  .xb-dock-outer {
    padding: 18px 8px 14px;
    overflow: visible;
    max-width: 100%;
  }

  .xb-dock-shelf {
    display: none;
  }

  .xb-dock-surface {
    padding: 0;
    border-radius: 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    background: none;
    box-shadow: none;
  }

  .xb-dock {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    padding: 0;
    margin: 0;
  }

  .xb-dock-item {
    flex-shrink: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .xb-rubro-btn {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    overflow: visible;
    padding: 8px 12px;
    gap: 6px;
  }

  .xb-rubro-dock-label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip-path: none;
    white-space: nowrap;
    border: 0;
    opacity: 1;
    pointer-events: none;
    font-size: 13px;
  }

  .xb-rubro-icon {
    width: 18px;
    height: 18px;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .xb-rubro-icon svg {
    width: 16px;
    height: 16px;
  }

  .xb-rubro-icon i {
    font-size: 14px;
  }

  .xb-rubro-btn:active .xb-rubro-icon {
    animation: none;
  }

  .xb-bg-glow {
    width: 560px;
    height: 560px;
  }

  /* Chat interno más compacto */
  .xb-phone-frame .xb-bot-name {
    font-size: 14px;
  }

  .xb-phone-frame .xb-wa-status {
    font-size: 11px;
  }

  .xb-phone-frame .xb-msg-bot,
  .xb-phone-frame .xb-msg-user {
    font-size: 14.5px;
  }

  .xb-phone-frame .xb-input-bar {
    min-height: 38px;
  }

  .xb-phone-frame .xb-chat-input {
    font-size: 15px;
  }

  .xb-phone-frame .xb-send-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .xb-phone-frame .xb-wa-chat-area {
    padding: 8px;
    gap: 5px;
  }
}

@media (max-width: 400px) {
  .xb-main-heading {
    font-size: 2.2rem;
  }

  .xb-text-description {
    font-size: 1.4rem;
  }

  .xb-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  #fiweex-chats-landing .xb-cta-row {
    align-items: center;
    width: 100%;
  }

  .xb-btn-primary,
  .xb-btn-outline {
    width: 100%;
  }

  .xb-presentation-card {
    padding: 10px 4px 18px 4px;
    max-width: min(100%, 320px);
  }

  .xb-phone-frame {
    max-width: 268px;
    height: 580px;
    border-radius: 44px;
    padding: 7px;
  }

  .xb-phone-screen {
    border-radius: 34px;
  }

  .xb-notch-cutout {
    width: 82px;
    height: 24px;
  }

  .xb-ios-status {
    height: 42px;
    padding: 9px 12px 0 16px;
  }

  .xb-time {
    font-size: 13.5px;
    padding-left: 2px;
  }

  .xb-dock-surface {
    max-width: 100%;
  }
}

/* Mobile: copy y layout — no altera el mockup del celular */
@media (max-width: 991px) {
  .xb-chatbot-online-section .xb-landing-wrapper {
    padding-top: 3rem !important;
  }
  .xb-chatbot-online-section .xb-copy-col {
    top: 0 !important;
    align-self: auto !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .xb-chatbot-online-section .xb-heading-line1,
  .xb-chatbot-online-section .xb-heading-line2 {
    font-size: inherit;
  }
  .xb-chatbot-online-section .xb-badge-purple {
    font-size: 1.1rem;
    padding: 0.6rem 1.1rem;
  }
  .xb-chatbot-online-section .xb-text-description {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
  }
  .xb-chatbot-online-section .xb-text-description br {
    display: none;
  }
  .xb-chatbot-online-section .xb-btn-neon {
    font-size: 1.05rem;
    padding: 0.75rem 1.25rem;
  }
  .xb-chatbot-online-section .xb-btn-neon-desktop,
  .xb-chatbot-online-section .xb-btn-neon-mobile {
    display: none;
  }
  .xb-chatbot-online-section .xb-sim-title {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    padding: 0 8px;
  }

  #chatbot-en-vivo {
    padding: 56px 0 56px;
    overflow: visible;
  }

  #chatbot-en-vivo .xb-landing-wrapper {
    padding-top: 0.5rem !important;
    padding-bottom: 0 !important;
    min-height: auto;
    overflow: visible;
    align-items: flex-start;
  }

  #chatbot-en-vivo .container {
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #chatbot-en-vivo .row {
    --bs-gutter-y: 1.25rem;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    height: auto !important;
  }

  #chatbot-en-vivo .xb-left-col {
    display: contents;
  }

  #chatbot-en-vivo .xb-copy-col {
    position: static;
    top: auto !important;
    align-self: auto !important;
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    order: 1;
    overflow: visible;
  }

  #chatbot-en-vivo .xb-mockup-col {
    order: 2;
  }

  #chatbot-en-vivo .xb-cta-col {
    order: 3;
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
  }

  #chatbot-en-vivo .xb-copy-col .xb-badge-purple {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    padding: 0.55rem 1.05rem;
    gap: 0.55rem;
    margin: 0.25rem auto 1.1rem;
    flex-shrink: 0;
    line-height: 1.2;
  }

  #chatbot-en-vivo .xb-copy-col .xb-badge-purple svg,
  #chatbot-en-vivo .xb-copy-col .xb-badge-purple i {
    width: 18px !important;
    height: 18px !important;
  }

  #chatbot-en-vivo .xb-copy-col h1.xb-main-heading {
    font-size: 2.8rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin: 0 auto 0.7rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  #chatbot-en-vivo .xb-copy-col .xb-heading-line1,
  #chatbot-en-vivo .xb-copy-col .xb-heading-line2 {
    display: block;
    font-size: inherit;
  }

  #chatbot-en-vivo .xb-copy-col .xb-br-lg {
    display: none;
  }

  #chatbot-en-vivo .xb-copy-col .xb-text-description {
    max-width: 100%;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0 auto 1rem;
    text-align: center;
  }

  #chatbot-en-vivo .xb-cta-col .xb-cta-row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
    margin: 0 auto 0.35rem;
  }

  #chatbot-en-vivo .xb-cta-col .xb-btn-primary,
  #chatbot-en-vivo .xb-cta-col .xb-btn-outline {
    width: 100%;
    max-width: 100%;
    font-size: 1.4rem;
    padding: 1.05rem 1.5rem;
    justify-content: center;
    border-radius: 12px;
  }

  #chatbot-en-vivo .xb-mockup-col {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding-left: 0;
    padding-right: 0;
  }

  #chatbot-en-vivo .xb-presentation-card {
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #chatbot-en-vivo .xb-sim-title {
    order: 1;
    font-size: 1.1rem;
    margin: 0 0 0.85rem;
    padding: 0 4px;
  }

  #chatbot-en-vivo .xb-device-wrapper {
    order: 2;
    margin-top: 0 !important;
    padding: 0;
    width: 100%;
  }

  #chatbot-en-vivo .xb-dock-outer {
    order: 3;
    width: 100%;
    max-width: 100%;
    padding: 12px 0 8px;
  }

  #chatbot-en-vivo .xb-bg-glow {
    width: min(340px, 90vw);
    height: min(340px, 90vw);
  }

  #chatbot-en-vivo .xb-phone-frame {
    width: min(280px, 78vw);
    max-width: 280px;
    height: min(580px, 165vw);
  }

  #chatbot-en-vivo .xb-ios-status {
    height: 40px;
    padding: 6px 12px 0 14px;
  }

  #chatbot-en-vivo .xb-notch-cutout {
    width: 76px;
    height: 22px;
    border-radius: 14px;
    padding: 0 6px;
  }

  #chatbot-en-vivo .xb-camera-lens {
    width: 8px;
    height: 8px;
    box-shadow: inset 0 0 0 1px #050505;
  }

  #chatbot-en-vivo .xb-time {
    font-size: 12.5px;
    padding-left: 2px;
  }

  #chatbot-en-vivo .xb-ios-signal,
  #chatbot-en-vivo .xb-ios-wifi {
    width: 14px;
    height: 11px;
  }

  #chatbot-en-vivo .xb-ios-battery {
    width: 20px;
    height: 11px;
  }

  #chatbot-en-vivo .xb-dock {
    justify-content: center;
    gap: 6px;
  }

  #chatbot-en-vivo .xb-rubro-btn {
    padding: 7px 10px;
  }

  #chatbot-en-vivo .xb-rubro-dock-label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .xb-chatbot-online-section:not(#fiweex-chats-landing) {
    padding: 48px 0 48px;
    overflow: visible;
  }

  .xb-chatbot-online-section .xb-heading-line1,
  .xb-chatbot-online-section .xb-heading-line2 {
    font-size: inherit;
  }
  .xb-chatbot-online-section .xb-badge-purple {
    font-size: 1.05rem;
  }
  .xb-chatbot-online-section .xb-text-description {
    font-size: 1.4rem;
  }
  .xb-chatbot-online-section .xb-btn-neon {
    width: 95%;
    text-align: center;
    font-size: 1.15rem;
    padding: 0.85rem 1.15rem;
  }
  .xb-chatbot-online-section .xb-sim-title {
    font-size: 1.15rem;
  }

  #chatbot-en-vivo .xb-copy-col h1.xb-main-heading {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  #chatbot-en-vivo .xb-copy-col .xb-text-description {
    font-size: 1.4rem;
    max-width: 100%;
  }

  #chatbot-en-vivo .xb-cta-col .xb-cta-row {
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  #chatbot-en-vivo .xb-cta-col .xb-btn-primary,
  #chatbot-en-vivo .xb-cta-col .xb-btn-outline {
    width: 100%;
  }

  #chatbot-en-vivo .xb-phone-frame {
    width: min(260px, 84vw);
    max-width: 260px;
    height: 540px;
  }

  #chatbot-en-vivo .xb-ios-status {
    height: 36px;
    padding: 5px 10px 0 12px;
  }

  #chatbot-en-vivo .xb-notch-cutout {
    width: 68px;
    height: 20px;
    border-radius: 12px;
    padding: 0 5px;
  }

  #chatbot-en-vivo .xb-camera-lens {
    width: 7px;
    height: 7px;
  }

  #chatbot-en-vivo .xb-time {
    font-size: 11.5px;
  }

  #chatbot-en-vivo .xb-sim-title {
    font-size: 1rem;
  }
}

/* —— Entrada demo chatbot: conversación que cobra vida —— */
#chatbot-en-vivo.xb-await .xb-copy-col,
#chatbot-en-vivo.xb-await .xb-cta-col,
#chatbot-en-vivo.xb-await .xb-mockup-col {
  opacity: 0;
}

#chatbot-en-vivo.xb-await .xb-bg-glow,
#chatbot-en-vivo.xb-await .xb-live-ring {
  opacity: 0;
  animation-play-state: paused;
}

#chatbot-en-vivo.xb-entering .xb-mockup-col {
  pointer-events: none;
}

/* Columna copy: pregunta → respuesta → acción */
#chatbot-en-vivo.xb-entering .xb-badge-purple {
  animation: xbNeonIgnite 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

#chatbot-en-vivo.xb-entering .xb-badge-purple svg,
#chatbot-en-vivo.xb-entering .xb-badge-purple i {
  animation: xbBotSpin 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both;
}

#chatbot-en-vivo.xb-entering .xb-heading-line1 {
  animation: xbQuestionIn 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

#chatbot-en-vivo.xb-entering .xb-heading-line2 {
  animation: xbAnswerIn 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
}

#chatbot-en-vivo.xb-entering .xb-heading-line2 strong {
  animation: xbBotWordPulse 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

#chatbot-en-vivo.xb-entering .xb-text-description {
  animation: xbCopyBlurIn 0.6s ease 0.42s both;
}

#chatbot-en-vivo.xb-entering .xb-btn-primary {
  animation: xbCtaPop 0.55s cubic-bezier(0.34, 1.45, 0.64, 1) 0.52s both;
}

#chatbot-en-vivo.xb-entering .xb-btn-outline {
  animation: xbCtaPop 0.55s cubic-bezier(0.34, 1.45, 0.64, 1) 0.64s both;
}

/* Mockup: teléfono que aterriza, enciende y despliega la UI de WhatsApp */
#chatbot-en-vivo.xb-entering .xb-bg-glow {
  animation: xbGlowBloom 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

#chatbot-en-vivo.xb-entering .xb-live-ring {
  opacity: 0;
  animation:
    xbRingReveal 0.35s ease 0.62s forwards,
    xb-live-ring 2.8s ease-out 0.62s infinite;
}

#chatbot-en-vivo.xb-entering .xb-live-ring--2 {
  animation-delay: 0.62s, 1.57s;
}

#chatbot-en-vivo.xb-entering .xb-phone-frame {
  animation: xbPhoneDrop3d 0.9s cubic-bezier(0.22, 1.2, 0.36, 1) 0.16s both;
  transform-origin: center bottom;
}

#chatbot-en-vivo.xb-entering .xb-phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: #fff;
  border-radius: inherit;
  animation: xbScreenOn 0.65s ease 0.58s both;
}

#chatbot-en-vivo.xb-entering .xb-wa-header {
  animation: xbWaSlideDown 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

#chatbot-en-vivo.xb-entering .xb-wa-chat-area {
  animation: xbChatAreaIn 0.45s ease 0.78s both;
}

#chatbot-en-vivo.xb-entering .xb-wa-footer {
  animation: xbWaSlideUp 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.84s both;
}

#chatbot-en-vivo.xb-entering .xb-verified-badge {
  animation: xbVerifiedPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.92s both;
}

#chatbot-en-vivo.xb-entering .xb-send-btn {
  animation: xbSendBounce 0.5s cubic-bezier(0.34, 1.45, 0.64, 1) 0.98s both;
}

/* Título simulador + dock de rubros */
#chatbot-en-vivo.xb-entering .xb-sim-title {
  animation: xbSimTitleIn 0.55s ease 0.95s both;
}

#chatbot-en-vivo.xb-entering .xb-sim-title svg,
#chatbot-en-vivo.xb-entering .xb-sim-title i {
  animation: xbSparklePop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.02s both;
}

#chatbot-en-vivo.xb-entering .xb-dock-surface {
  animation: xbDockShelf 0.52s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both;
}

#chatbot-en-vivo.xb-entering .xb-dock-item {
  animation: xbDockDrop 0.55s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

#chatbot-en-vivo.xb-entering .xb-dock-item:nth-child(1) { animation-delay: 1.1s; }
#chatbot-en-vivo.xb-entering .xb-dock-item:nth-child(2) { animation-delay: 1.18s; }
#chatbot-en-vivo.xb-entering .xb-dock-item:nth-child(3) { animation-delay: 1.26s; }
#chatbot-en-vivo.xb-entering .xb-dock-item:nth-child(4) { animation-delay: 1.34s; }
#chatbot-en-vivo.xb-entering .xb-dock-item:nth-child(5) { animation-delay: 1.42s; }
#chatbot-en-vivo.xb-entering .xb-dock-item:nth-child(6) { animation-delay: 1.5s; }
#chatbot-en-vivo.xb-entering .xb-dock-item:nth-child(7) { animation-delay: 1.58s; }

@keyframes xbQuestionIn {
  from {
    opacity: 0;
    transform: translateX(-28px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes xbAnswerIn {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbBotWordPulse {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbBotSpin {
  from {
    opacity: 0;
    transform: rotate(-140deg) scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbNeonIgnite {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  55% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbCopyBlurIn {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes xbCtaPop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbGlowBloom {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes xbRingReveal {
  to { opacity: 0.7; }
}

@keyframes xbPhoneDrop3d {
  0% {
    opacity: 0;
    transform: perspective(900px) translateY(-64px) rotateX(18deg) scale(0.88);
  }
  58% {
    opacity: 1;
    transform: perspective(900px) translateY(12px) rotateX(-4deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbScreenOn {
  0% { opacity: 0.92; }
  100% { opacity: 0; }
}

@keyframes xbWaSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbWaSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbChatAreaIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbVerifiedPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  70% {
    opacity: 1;
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbSendBounce {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  65% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbSimTitleIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    letter-spacing: 0.06em;
  }
  to {
    opacity: 1;
    transform: none;
    letter-spacing: -0.02em;
  }
}

@keyframes xbSparklePop {
  0% {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
  }
  60% {
    opacity: 1;
    transform: rotate(12deg) scale(1.2);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbDockShelf {
  from {
    opacity: 0;
    transform: scaleX(0.55);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes xbDockDrop {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.4);
  }
  70% {
    opacity: 1;
    transform: translateY(-6px) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #chatbot-en-vivo.xb-await .xb-copy-col,
  #chatbot-en-vivo.xb-await .xb-cta-col,
  #chatbot-en-vivo.xb-await .xb-mockup-col,
  #chatbot-en-vivo.xb-await .xb-bg-glow,
  #chatbot-en-vivo.xb-await .xb-live-ring {
    opacity: 1;
  }
  #chatbot-en-vivo.xb-entering .xb-badge-purple,
  #chatbot-en-vivo.xb-entering .xb-badge-purple svg,
  #chatbot-en-vivo.xb-entering .xb-badge-purple i,
  #chatbot-en-vivo.xb-entering .xb-heading-line1,
  #chatbot-en-vivo.xb-entering .xb-heading-line2,
  #chatbot-en-vivo.xb-entering .xb-heading-line2 strong,
  #chatbot-en-vivo.xb-entering .xb-text-description,
  #chatbot-en-vivo.xb-entering .xb-btn-primary,
  #chatbot-en-vivo.xb-entering .xb-btn-outline,
  #chatbot-en-vivo.xb-entering .xb-bg-glow,
  #chatbot-en-vivo.xb-entering .xb-live-ring,
  #chatbot-en-vivo.xb-entering .xb-phone-frame,
  #chatbot-en-vivo.xb-entering .xb-phone-screen::after,
  #chatbot-en-vivo.xb-entering .xb-wa-header,
  #chatbot-en-vivo.xb-entering .xb-wa-chat-area,
  #chatbot-en-vivo.xb-entering .xb-wa-footer,
  #chatbot-en-vivo.xb-entering .xb-verified-badge,
  #chatbot-en-vivo.xb-entering .xb-send-btn,
  #chatbot-en-vivo.xb-entering .xb-sim-title,
  #chatbot-en-vivo.xb-entering .xb-sim-title svg,
  #chatbot-en-vivo.xb-entering .xb-sim-title i,
  #chatbot-en-vivo.xb-entering .xb-dock-surface,
  #chatbot-en-vivo.xb-entering .xb-dock-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    letter-spacing: inherit !important;
  }
  #chatbot-en-vivo.xb-entering .xb-phone-screen::after {
    content: none;
  }
  #chatbot-en-vivo.xb-entering .xb-mockup-col {
    pointer-events: auto;
  }
}

/* ==========================================================================
   NEUTRALIZAR EL "CSS REBOOT" DE BOOTSTRAP 5
   Bootstrap 5 se carga (grid + utilidades) únicamente por el mockup del
   iPhone. Su "Reboot" impone estilos base a los elementos HTML (h1-h6, p,
   ul, a...) con especificidad mayor que el reset `* { margin:0; padding:0 }`,
   alterando tamaños, márgenes y grosores del diseño propio. Este bloque
   restaura el estado original de esos elementos.
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: bold;
  line-height: normal;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

figure,
blockquote,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}





/* SECCIÓN PRINCIPAL DE IA (REDISEÑADA Y ÚNICA) */
.ai-hero-section {
  padding: 150px 0;
  position: relative;
  width: 100%;
  background-color: #000;
}

.ai-hero-section > .container {
  max-width: 1400px;
  width: 100%;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

/* Panel (izq) + copy promocional (der) */
.ai-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: 6rem;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.ai-dashboard-col {
  min-width: 0;
  width: 100%;
  order: 1;
}

.ai-title-group {
  text-align: left;
  max-width: 450px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  order: 2;
}

.ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(149, 122, 251, 0.08);
  border: 1px solid rgba(149, 122, 251, 0.3);
  color: var(--brand-purple);
  padding: 0.7rem 1em;
  border-radius: 50px;
  font-size: 2em;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.35rem;
}

.ai-kicker svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.ai-main-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #957afb;
  margin-bottom: 1rem;
  text-wrap: balance;
  width: 500px;
}

.ai-main-title span {
  font-weight: 800;
}

.gradient-text-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(37, 211, 102, 0.25));
}

.gradient-text-purple {
  background: linear-gradient(135deg, #ffffff 0%, #957afb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-subtitle {
  font-size: 4rem;
  color: #ffffff;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: -0.025em;
}

.ai-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

.ai-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.5rem;
  width: 100%;
}

.ai-feature {
  min-width: 0;
}

.ai-feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  margin-bottom: 0.7rem;
}

.ai-feature-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
}

.ai-feature h3 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--slate-text);
  margin: 0;
  line-height: 1.55;
}

.ai-dashboard-col .dashboard-window {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  height: 490px;
}

.ai-dashboard-col .dw-search-wrap {
  max-width: none;
}

.dw-interact-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin: 1rem auto 0;
  padding: 0;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--brand-purple);
  text-align: center;
}

.dw-interact-hint span {
  min-width: 0;
  display: block;
  line-height: 1;
  transform: translateY(-0.06em);
}

.dw-interact-hint svg,
.dw-interact-hint i {
  display: block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  margin: 0;
  color: var(--brand-purple);
}

/* CARDS TRIPLE PASO (01, 02, 03) CON DISEÑO GLASS HIGH-END */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  max-width: none;
  height: 100%;
}

.step-card {
  background: #090d16;
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  flex: 1;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(149, 122, 251, 0.35);
  background: #111111;
}

.step-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--brand-purple), transparent);
}

.step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.step-number-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}

.step-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.icon-purple { background: var(--purple-glow); border: 1px solid rgba(149, 122, 251, 0.4); color: var(--purple-main); }
.icon-green { background: var(--green-glow); border: 1px solid rgba(16, 185, 129, 0.4); color: var(--green-main); }
.icon-blue { background: var(--blue-glow); border: 1px solid rgba(59, 130, 246, 0.4); color: var(--blue-main); }

.step-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* DASHBOARD IA — mismo lenguaje visual que el mockup Vista WhatsApp */
.dashboard-window {
  height: auto;
  --fxm-navy: #1b2537;
  --fxm-blue: #2f6fed;
  --fxm-blue-soft: #e8f0fe;
  --fxm-border: #e6e9ef;
  --fxm-muted: #8b93a7;
  --fxm-text: #1e2433;
  --fxm-bg: #f4f6f9;
  --fxm-green: #16a34a;
  --fxm-tag-bg: #e8f5ef;
  --fxm-tag-text: #1f6b4a;

  background: var(--fxm-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(149, 122, 251, 0.15);
  overflow: hidden;
  position: relative;
  max-width: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px 18px 14px;
  color: var(--fxm-text);
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.35;
  isolation: isolate;
}

.dashboard-window-mobile {
  display: none;
}

.dashboard-window,
.dashboard-window *:not(svg):not(path) {
  font-family: 'Poppins', system-ui, sans-serif;
}

.dashboard-window button {
  font-family: inherit;
  line-height: 1.2;
  box-shadow: none;
}

.dashboard-window button:focus {
  outline: none;
  box-shadow: none;
}

.dw-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.dw-tabs-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dw-filter-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fxm-text);
  white-space: nowrap;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.dashboard-window .tab-btn {
  background: #fff;
  border: 1px solid var(--fxm-border);
  color: #6b7280;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.dashboard-window .tab-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke-width: 2;
}

.dashboard-window .tab-btn:hover {
  background: #f7f8fb;
  color: var(--fxm-text);
}

.dashboard-window .tab-btn.active {
  background: var(--fxm-blue-soft);
  color: var(--fxm-blue);
  border-color: #c9dbfc;
  font-weight: 600;
  box-shadow: none;
}

.dw-status-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.dw-ai-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--fxm-tag-bg);
  color: var(--fxm-tag-text);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  border: 1px solid #d4ebdf;
}

.dashboard-window .dot-live {
  width: 6px;
  height: 6px;
  background: var(--fxm-green);
  border-radius: 50%;
  animation: dw-pulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes dw-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 6px var(--fxm-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.dw-updated {
  font-size: 10px;
  color: var(--fxm-muted);
  white-space: nowrap;
  padding-left: 10px;
  border-left: 1px solid var(--fxm-border);
}

.dw-controls-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dw-period-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--fxm-border);
  border-radius: 8px;
  padding: 2px;
}

.dw-period-btn {
  border: none;
  background: transparent;
  color: var(--fxm-muted);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dw-period-btn.active {
  background: var(--fxm-blue);
  color: #fff;
  box-shadow: none;
}

.dw-period-btn:hover:not(.active) {
  color: var(--fxm-text);
  background: #f7f8fb;
}

.dw-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #d5dae3;
  color: var(--fxm-text);
  font-size: 10px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dw-export-btn:hover {
  background: #f7f8fb;
}

.dw-export-btn svg {
  width: 13px;
  height: 13px;
}

.dw-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
}

.dw-stat-pill svg {
  width: 13px;
  height: 13px;
}

.dw-stat-pill strong {
  font-weight: 700;
}

.dw-stat-total {
  background: #f7f4ff;
  color: #5b45a8;
  border-color: #ddd2f5;
}

.dw-stat-hoy {
  background: #f7fffc;
  color: #1f6b4a;
  border-color: #d5efe6;
}

.dw-search-row {
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--fxm-border);
  border-radius: 10px;
}

.dw-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 420px;
}

.dw-search-wrap > svg,
.dw-search-wrap > i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #9aa3b5;
  pointer-events: none;
}

.dw-search-input {
  width: 100%;
  border: 1px solid var(--fxm-border);
  background: #f7f8fb;
  border-radius: 20px;
  padding: 8px 14px 8px 36px;
  font-size: 11px;
  color: var(--fxm-text);
  outline: none;
  transition: border-color 0.15s ease;
}

.dw-search-input:focus {
  border-color: #c9dbfc;
  box-shadow: none;
  background: #fff;
}

.dw-search-input::placeholder {
  color: #9aa3b5;
}

.dw-columns-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--fxm-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
  margin-left: auto;
}

.dw-columns-btn:hover {
  background: #121926;
  transform: none;
}

.dw-columns-btn svg {
  width: 13px;
  height: 13px;
}

/* Tabla */
.chats-body {
  padding: 4px 8px 6px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid var(--fxm-border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.dw-table-head,
.dashboard-window .chat-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  min-width: 0;
  width: 100%;
}

.dashboard-window .chat-row > *,
.dw-table-head > * {
  min-width: 0;
}

.dw-table-head {
  border-bottom: 1px solid var(--fxm-border);
  padding-top: 10px;
  padding-bottom: 8px;
  background: #fff;
}

.dw-table-head span {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--fxm-muted);
}

.dashboard-window .chat-row {
  background: transparent;
  border: none;
  border-bottom: 1px solid #f0f2f6;
  border-radius: 0;
  transform: none;
  position: relative;
  transition: background 0.15s ease;
}

.dashboard-window .chat-row:hover {
  background: #f7f8fb;
  border-color: #f0f2f6;
  transform: none;
  box-shadow: none;
}

.dashboard-window .chat-row:last-child {
  border-bottom: none;
}

.dw-time {
  font-size: 10.5px;
  color: var(--fxm-muted);
  font-weight: 500;
}

.dashboard-window .client-profile {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.dashboard-window .avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  flex-shrink: 0;
  border: none;
  box-shadow: none;
  color: #fff;
}

.av-1 { background: #0d9488; }
.av-2 { background: #2f6fed; }
.av-3 { background: #16a34a; }
.av-4 { background: #7c5dfa; }
.av-5 { background: #e8a317; color: #fff; }

.dashboard-window .client-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.dashboard-window .client-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--fxm-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-window .client-sub {
  font-size: 9.5px;
  color: var(--fxm-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.dw-wa-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.dashboard-window .category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
  border: none;
  box-shadow: none;
  white-space: nowrap;
}

.dashboard-window .category-badge svg {
  width: 12px;
  height: 12px;
}

.dashboard-window .badge-venta {
  background: var(--fxm-tag-bg);
  color: var(--fxm-tag-text);
}

.dashboard-window .badge-consulta {
  background: #fff4e8;
  color: #b45309;
}

.dashboard-window .badge-feedback {
  background: var(--fxm-blue-soft);
  color: var(--fxm-blue);
}

.dashboard-window .badge-sin {
  background: #f0f2f6;
  color: #5b6478;
}

.dw-summary {
  font-size: 10.5px;
  color: #4b5568;
  line-height: 1.35;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dw-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.dw-ver-chat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--fxm-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
  box-shadow: none;
}

.dw-ver-chat:hover {
  background: #121926;
  transform: none;
}

.dw-ver-chat svg {
  width: 13px;
  height: 13px;
}

.dw-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--fxm-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.dw-delete-btn:hover {
  color: #c45c5c;
  background: #fff6f7;
}

.dw-delete-btn svg {
  width: 14px;
  height: 14px;
}

/* —— Entrada IA: iris + feed de clasificación (distinta al hero) —— */
.ai-hero-section.ai-await .ai-title-group,
.ai-hero-section.ai-await .ai-kicker,
.ai-hero-section.ai-await .ai-main-title,
.ai-hero-section.ai-await .ai-subtitle,
.ai-hero-section.ai-await .ai-feature-row,
.ai-hero-section.ai-await .dashboard-window,
.ai-hero-section.ai-await .dashboard-window-mobile {
  opacity: 0;
}

.ai-entering .ai-kicker {
  animation: aiSubIn 0.55s ease 0.08s both;
}

.ai-entering .ai-feature-row {
  animation: aiSubIn 0.7s ease 0.34s both;
}

.ai-entering .ai-main-title {
  animation: aiSubIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.ai-entering .ai-subtitle {
  animation: aiSubIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.ai-entering .gradient-text-whatsapp {
  animation: aiGreenLock 1.8s ease-in-out 0.35s both;
}

.ai-entering .gradient-text-purple {
  animation: aiPurpleLock 1.8s ease-in-out 0.55s both;
}

.ai-entering .dashboard-window,
.ai-entering .dashboard-window-mobile {
  animation: aiDashRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.ai-entering .dashboard-window {
  pointer-events: none;
}

.ai-entering .dw-tabs-row { animation: aiFadeIn 0.45s ease 0.28s both; }
.ai-entering .dw-controls-row { animation: aiFadeIn 0.45s ease 0.4s both; }
.ai-entering .dw-search-row { animation: aiFadeIn 0.45s ease 0.5s both; }
.ai-entering .dw-table-head { animation: aiFadeIn 0.4s ease 0.58s both; }

.ai-entering .dw-ai-live {
  animation: aiLivePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s both;
}

.ai-entering .chat-row {
  animation: aiRowFeed 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ai-entering .chat-row:nth-child(2) { animation-delay: 0.72s; }
.ai-entering .chat-row:nth-child(3) { animation-delay: 0.88s; }
.ai-entering .chat-row:nth-child(4) { animation-delay: 1.04s; }
.ai-entering .chat-row:nth-child(5) { animation-delay: 1.2s; }
.ai-entering .chat-row:nth-child(6) { animation-delay: 1.36s; }

.ai-entering .chat-row .category-badge {
  animation: aiStamp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.ai-entering .chat-row:nth-child(2) .category-badge { animation-delay: 1.05s; }
.ai-entering .chat-row:nth-child(3) .category-badge { animation-delay: 1.22s; }
.ai-entering .chat-row:nth-child(4) .category-badge { animation-delay: 1.38s; }
.ai-entering .chat-row:nth-child(5) .category-badge { animation-delay: 1.54s; }
.ai-entering .chat-row:nth-child(6) .category-badge { animation-delay: 1.7s; }

@keyframes aiSubIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aiGreenLock {
  0% { filter: drop-shadow(0 0 25px rgba(37, 211, 102, 0.25)); }
  40% { filter: drop-shadow(0 0 18px rgba(37, 211, 102, 0.8)); }
  100% { filter: drop-shadow(0 0 25px rgba(37, 211, 102, 0.25)); }
}

@keyframes aiPurpleLock {
  0% { filter: drop-shadow(0 0 0 rgba(149, 122, 251, 0)); }
  45% { filter: drop-shadow(0 0 16px rgba(149, 122, 251, 0.7)); }
  100% { filter: drop-shadow(0 0 0 rgba(149, 122, 251, 0)); }
}

@keyframes aiDashRise {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aiFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes aiLivePop {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: none; }
}

@keyframes aiRowFeed {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aiStamp {
  0% { opacity: 0; transform: scale(0.55) rotate(-10deg); }
  72% { opacity: 1; transform: scale(1.1) rotate(2deg); }
  100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-hero-section.ai-await .ai-title-group,
  .ai-hero-section.ai-await .ai-kicker,
  .ai-hero-section.ai-await .ai-main-title,
  .ai-hero-section.ai-await .ai-subtitle,
  .ai-hero-section.ai-await .ai-feature-row,
  .ai-hero-section.ai-await .dashboard-window,
  .ai-hero-section.ai-await .dashboard-window-mobile {
    opacity: 1;
  }
  .ai-entering .ai-main-title,
  .ai-entering .ai-subtitle,
  .ai-entering .ai-kicker,
  .ai-entering .ai-feature-row,
  .ai-entering .gradient-text-whatsapp,
  .ai-entering .gradient-text-purple,
  .ai-entering .dashboard-window,
  .ai-entering .dashboard-window-mobile,
  .ai-entering .dw-tabs-row,
  .ai-entering .dw-controls-row,
  .ai-entering .dw-search-row,
  .ai-entering .dw-table-head,
  .ai-entering .dw-ai-live,
  .ai-entering .chat-row,
  .ai-entering .chat-row .category-badge {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }
  .ai-entering .dashboard-window {
    pointer-events: auto;
  }
}

@media (max-width: 1200px) {
  .ai-hero-section {
    padding: 96px 0 80px;
  }
  .ai-hero-section > .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .ai-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
  }
  .ai-dashboard-col,
  .ai-title-group {
    order: 0;
  }
  .ai-dashboard-col {
    max-width: none;
    justify-self: stretch;
  }
  .ai-title-group {
    max-width: none;
    margin-bottom: 0;
  }
  .ai-main-title {
    width: 100%;
    max-width: 100%;
  }
  .ai-subtitle {
    font-size: 1.2rem;
    max-width: none;
  }
  .ai-feature-row {
    margin-top: 2rem;
  }
  .steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: auto;
  }
}

@media (max-width: 991px) {
  .ai-hero-section {
    padding: 72px 0 64px;
  }

  .ai-hero-section > .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .ai-split-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
  }

  .ai-title-group {
    display: contents;
    text-align: center;
  }

  .ai-kicker {
    order: 1;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    padding: 0.55rem 1rem;
    margin-bottom: 0.15rem;
  }

  .ai-kicker svg {
    width: 18px;
    height: 18px;
  }

  .ai-main-title {
    order: 2;
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .ai-subtitle {
    order: 3;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
  }

  .ai-dashboard-col {
    order: 4;
    width: 100%;
    margin-top: 0.5rem;
  }

  .ai-feature-row {
    order: 5;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 0.65rem;
    margin-bottom: 0;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }

  .ai-feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    text-align: left;
    width: 100%;
  }

  .ai-feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .ai-feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .ai-feature h3 {
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .ai-br-lg {
    display: none;
  }

  .ai-split-layout .steps-container {
    grid-template-columns: 1fr;
  }

  .dashboard-window {
    display: none;
  }

  .dw-interact-hint {
    display: none;
  }

  .dashboard-window-mobile {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(149, 122, 251, 0.15);
  }
}

@media (max-width: 480px) {
  .ai-hero-section {
    padding: 56px 0 48px;
  }

  .ai-hero-section > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ai-kicker {
    font-size: 1rem;
  }

  .ai-main-title {
    font-size: 2.2rem;
  }

  .ai-subtitle {
    font-size: 1.4rem;
  }

  .ai-feature h3 {
    font-size: 1.1rem;
  }

  .ai-feature-icon {
    width: 40px;
    height: 40px;
  }

  .ai-feature-icon svg {
    width: 22px;
    height: 22px;
  }

  .dashboard-window-mobile {
    border-radius: 12px;
  }
}








/* ===================================================================
   SECCIÓN 9 - PRECIOS
   =================================================================== */

   .seccion_normal_9 {
    padding: 160px 0px 150px 0px;
  }
  
  .pricing-section-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .pricing-section-wrapper {
    background-color: #000;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 150px 20px 200px;
  }
  
  .pricing-section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .pricing-section-title {
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 50px;
    line-height: 1.1;
    text-align: center;
  }
  
  .text-purple {
    color: #957afb;
    font-weight: 800;
  }
  
  .text-purple-sub {
    color: #917BF3;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    font-size: clamp(2rem, 2vw, 2.5rem)
  }
  
  .pricing-section-subtitle-new {
    font-size: 2rem;
    color: #917BF3;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .text-bold {
    font-weight: 800;
    color: #fff;
  }
  
  .pricing-section-subtitle {
    font-size: 2rem;
    font-style: italic;
    color: #fff;
    font-weight: 300;
  }
  
  /* Nuevo título de sección de precios */
  .pricing-section-title-new {
    font-size: clamp(3rem, 4vw, 4rem);
    font-weight: 400;
    text-align: center;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 60px;
    max-width: 800px;
  }
  
  .pricing-section-title-new .text-purple {
    color: #957afb;
    font-weight: 600;
  }
  
  .pricing-section-title-new strong {
    font-weight: 700;
    color: #25d366;
  }
  
  .pricing-cards-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
  }
  
  .pricing-card-new {
    background: #111;
    border: 1px solid #ffffff88;
    border-radius: 24px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .pricing-card-new:hover {
    transform: translateY(-8px);
    border-color: #fff;
  }
  
  .pricing-card-new:hover .pricing-card-price .currency {
    color: #957afb;
  }
  
  .pricing-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(73 129 94 / 25%);
    border: 1px solid rgb(37, 211, 102);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 20px;
    width: fit-content;
  }
  
  .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: rgb(37, 211, 102);
    ;
  }
  
  .badge-icon svg {
    width: 100%;
    height: 100%;
  }
  
  .badge-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgb(37, 211, 102);
    letter-spacing: -0.5px;
  }
  
  .badge-suffix {
    font-size: 1rem;
    color: rgba(37, 211, 102, 0.7);
    font-weight: 500;
  }
  
  .pricing-card-divider-new {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(149, 122, 251, 0.3) 50%, transparent 100%);
    margin: 20px 0 24px 0;
  }
  
  .pricing-card-price {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 4px;
  }
  
  .pricing-card-price .currency {
    font-size: 2rem;
    font-weight: 600;
    color: #917BF3;
    line-height: 1;
    margin-top: 4px;
    transition: color 0.3s ease;
  }
  
  .pricing-card-price .amount {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
  }
  
  .pricing-card-period-new {
    font-size: 1.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-bottom: 6px;
  }
  
  .pricing-card-perline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-bottom: 28px;
  }
  
  .pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .pricing-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
  }
  
  .check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #957afb;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .check-icon svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
  }
  
  .pricing-card-btn-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #ffffff88;
    border-radius: 12px;
    padding: 14px 24px;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 24px;
  }
  
  .pricing-card-btn-new:hover {
    background: #957afb;
    border-color: rgba(149, 122, 251, 0.4);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
  }
  
  /* El botón también se colorea al hacer hover sobre la tarjeta completa */
  .pricing-card-new:hover .pricing-card-btn-new {
    background: #957afb;
    border-color: rgba(149, 122, 251, 0.4);
    color: #fff;
    text-decoration: none;
  }
  
  @media (max-width: 992px) {
    .pricing-section-wrapper {
      padding: 80px 1.5rem 100px;
    }
    .pricing-section-title-new {
      font-size: clamp(2.2rem, 4vw, 3rem);
      margin-bottom: 40px;
    }
    .pricing-cards-grid-new {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      padding: 0;
    }
  }

  @media (max-width: 768px) {
    .pricing-section-wrapper {
      padding: 56px 1.15rem 64px;
    }
    .pricing-section-subtitle-new,
    .pricing-section-subtitle-new.text-purple-sub {
      font-size: 1.1rem;
      margin-bottom: 1rem;
      letter-spacing: 0.06em;
    }
    .pricing-section-title-new {
      font-size: 2.8rem;
      line-height: 1.15;
      margin-bottom: 28px;
      max-width: 100%;
      overflow-wrap: break-word;
    }
    .pricing-cards-grid-new {
      grid-template-columns: 1fr;
      max-width: 340px;
      gap: 18px;
    }
    .pricing-card-new {
      padding: 28px 24px;
      min-height: auto;
    }
    .pricing-card-price .currency {
      font-size: 1.4rem;
    }
    .pricing-card-price .amount {
      font-size: 3rem;
      letter-spacing: -1px;
    }
    .pricing-card-period-new {
      font-size: 1.2rem;
    }
    .pricing-card-perline {
      font-size: 1.05rem;
      margin-bottom: 20px;
    }
    .pricing-card-features li {
      font-size: 1.15rem;
    }
    .pricing-card-btn-new {
      font-size: 1.15rem;
      padding: 12px 20px;
    }
  }

  @media (max-width: 480px) {
    .pricing-section-wrapper {
      padding: 50px 1rem 48px;
    }
    .pricing-section-subtitle-new,
    .pricing-section-subtitle-new.text-purple-sub {
      font-size: 1rem;
    }
    .pricing-section-title-new {
      font-size: 2.2rem;
    }
    .pricing-cards-grid-new {
      max-width: 100%;
    }
    .pricing-card-price .amount {
      font-size: 2.6rem;
    }
  }

/* —— Entrada tarifas: fade suave por tier —— */
.pricing-section-wrapper.pr-await .pricing-section-subtitle-new,
.pricing-section-wrapper.pr-await .pricing-section-title-new,
.pricing-section-wrapper.pr-await .pricing-card-new {
  opacity: 0;
}

.pr-entering .pricing-section-subtitle-new {
  animation: prFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pr-entering .pricing-section-title-new {
  animation: prFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.pr-entering .pricing-card-new {
  transition: none !important;
  animation: prFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pr-entering .pricing-card-new:nth-child(1) { animation-delay: 0.18s; }
.pr-entering .pricing-card-new:nth-child(2) { animation-delay: 0.3s; }
.pr-entering .pricing-card-new:nth-child(3) { animation-delay: 0.42s; }

@keyframes prFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pricing-section-wrapper.pr-entered .pricing-section-subtitle-new,
.pricing-section-wrapper.pr-entered .pricing-section-title-new,
.pricing-section-wrapper.pr-entered .pricing-card-new {
  opacity: 1;
  transform: none;
  animation: none;
}

.pr-entered .pricing-section-subtitle-new,
.pr-entered .pricing-section-title-new,
.pr-entered .pricing-card-new {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-section-wrapper.pr-await .pricing-section-subtitle-new,
  .pricing-section-wrapper.pr-await .pricing-section-title-new,
  .pricing-section-wrapper.pr-await .pricing-card-new {
    opacity: 1;
  }
  .pr-entering .pricing-section-subtitle-new,
  .pr-entering .pricing-section-title-new,
  .pr-entering .pricing-card-new {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
  
  /*Fin de Seccion 6*/


  /* ==========================================================================
   FLOATING CTA (desktop) — igual que index.css; la lógica está en top_index_home_v2.php
   ========================================================================== */

.floating-cta-btn {
  position: fixed;
  top: 0;
  right: 140px;
  z-index: 1001;
  padding: 10px 26px;
  border-radius: 999px;
  font-family: 'touche', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-block;
  white-space: nowrap;
  border: 2px solid transparent;
  height: 40px;
  line-height: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-cta-btn.fcta-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  top: 13px;
  animation: slideDownFade 0.4s ease-out;
}

@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* En esta landing todo el scroll es sobre fondos oscuros: siempre CTA claro (el JS del navbar sigue alternando clases) */
#floatingCtaBtn.floating-cta-btn,
#floatingCtaBtn.floating-cta-btn.fcta-dark,
#floatingCtaBtn.floating-cta-btn.fcta-light {
  background: #fff !important;
  color: #111 !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18) !important;
  padding: 15px 30px 30px 30px;
}

#floatingCtaBtn.floating-cta-btn:hover,
#floatingCtaBtn.floating-cta-btn.fcta-dark:hover,
#floatingCtaBtn.floating-cta-btn.fcta-light:hover {
  background: #f0f0f0 !important;
  border-color: #f0f0f0 !important;
  color: #111 !important;
  text-decoration: none;
}

.floating-cta-btn:focus:not(:focus-visible) {
  outline: none;
}

.floating-cta-btn:focus-visible {
  outline: 2px solid rgba(168, 156, 247, 0.95);
  outline-offset: 3px;
}

/* Navbar fijo en desktop (Bootstrap lo pisa con position: relative) */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ocultar nav-actions en desktop para que solo se vea el botón flotante */
@media screen and (min-width: 992px) {
  .nav-container > .nav-actions {
    display: none !important;
  }
}

/* Navbar fijo en mobile con fondo sólido */
@media screen and (max-width: 991px) {
  .floating-cta-btn {
    display: none !important;
  }

  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 40px;
    z-index: 1000 !important;
    background: #000000 !important;
    backdrop-filter: none !important;
  }

  /* Evitar que el navbar se vuelva transparente al hacer scroll en mobile */
  body .navbar.scrolled {
    background: #000000 !important;
    height: 65px;
  }
}

@keyframes lwaPanelFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lwaNotifDrop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: none; }
}

@keyframes lwaNuevoPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.18); }
  100% { transform: none; }
}

@keyframes lwaTitleFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lwaCaret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

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

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

@keyframes lwaUnreadPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: none; }
}

@keyframes lwaChipIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: none; }
}

@keyframes lwaBubbleIn {
  from { opacity: 0; transform: translateX(-10px) scale(0.82); }
  to { opacity: 1; transform: none; }
}

@keyframes lwaBubbleOut {
  from { opacity: 0; transform: translateX(10px) scale(0.82); }
  to { opacity: 1; transform: none; }
}

@keyframes lwaComposerUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}




/* ==========================================================================
   SECCIÓN 2 VISTAS POR LÍNEA — diagrama + dos mockups
   ========================================================================== */

.fx-dual-views-section {
  width: 100%;
  padding: 150px 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

.fx-dual-views-section::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 560px;
  background: var(--brand-purple);
  opacity: 0.08;
  filter: blur(160px);
  border-radius: 50%;
  pointer-events: none;
}

.fx-dv-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.fx-dv-header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 2.5rem;
}

.fx-dv-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(149, 122, 251, 0.08);
  border: 1px solid rgba(149, 122, 251, 0.3);
  color: var(--brand-purple);
  padding: 0.7rem 1em;
  border-radius: 20px;
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.fx-dv-tag svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2.2;
}

.fx-dv-title {
  font-size: 4rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: var(--white);
  text-wrap: balance;
}

.fx-dv-title span {
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fx-dv-subtitle {
  font-size: 2rem;
  color: var(--slate-text);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
  text-wrap: balance;
}

.fx-dv-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
  width: 100%;
}

.fx-dv-hub {
  position: relative;
  z-index: 2;
  margin-bottom: -1px;
}

.fx-dv-hub-box {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(149, 122, 251, 0.45);
  background: rgba(9, 13, 22, 0.92);
  color: var(--brand-purple);
  font-size: 2.5rem;
  font-weight: 600;
}

.fx-dv-hub-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.fx-dv-hub-wa-icon path {
  fill: var(--brand-purple);
}

.fx-dv-lines-wrap {
  position: relative;
  width: 100%;
  height: 96px;
  color: rgba(149, 122, 251, 0.72);
}

.fx-dv-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  color: inherit;
}

.fx-dv-lines .fx-dv-line-path {
  filter: drop-shadow(0 0 6px rgba(149, 122, 251, 0.25));
}

/* Nodos alineados al viewBox: la línea entra al centro del círculo */
.fx-dv-line-dot {
  position: absolute;
  top: calc(88 / 96 * 100%);
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: rgba(149, 122, 251, 0.98);
  box-shadow:
    0 0 0 4px rgba(149, 122, 251, 0.2),
    0 0 10px rgba(149, 122, 251, 0.45);
  pointer-events: none;
  z-index: 2;
}

.fx-dv-line-dot--left {
  left: calc(200 / 900 * 100% - 5.5px);
}

.fx-dv-line-dot--right {
  left: calc(700 / 900 * 100% - 5.5px);
}

.fx-dv-lines-mobile {
  display: none;
}

.fx-dv-panels-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: 1.75rem auto 0;
  padding: 0.75rem 1.4rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--slate-text);
  text-align: left;
  text-wrap: balance;
}

.fx-dv-panels-hint span {
  min-width: 0;
}

.fx-dv-panels-hint svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  color: var(--slate-text);
  opacity: 0.95;
}

.fx-dv-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.fx-dv-panel {
  min-width: 0;
}

.fx-dv-panel-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--brand-purple);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.fx-dv-panel-mobile {
  display: none;
}

.fx-dv-frame {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(149, 122, 251, 0.35);
  background: rgba(9, 13, 22, 0.65);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(149, 122, 251, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
}

.fx-dv-frame--wa {
  container-type: size;
  padding: 0;
  background: #fff;
  aspect-ratio: 900 / 620;
}

.fx-dv-wa-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fx-dv-frame--pipe {
  container-type: size;
  padding: 0;
  background: #fff;
  aspect-ratio: 900 / 620;
}

.fx-dv-pipe-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* —— Mockup Vista WhatsApp (dual views, clases fdw-*) —— */
.fx-dv-wa-mock {
  --fdw-bg: #f0f2f5;
  --fdw-panel: #ffffff;
  --fdw-border: #e9edef;
  --fdw-text: #111b21;
  --fdw-muted: #667781;
  --fdw-green: #25d366;
  --fdw-green-btn: #00a884;
  --fdw-out: #d9fdd3;
  --fdw-blue: #53bdeb;
  --fdw-active: #f0f2f5;
  --fdw-pill-blue: #0086ea;
  --fdw-design-w: 900px;
  --fdw-design-h: 620px;

  flex-shrink: 0;
  display: flex;
  width: 900px;
  height: 620px;
  background: var(--fdw-panel);
  border-radius: 0;
  overflow: hidden;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--fdw-text);
  line-height: 1.35;
  transform-origin: top left;
  transform: scale(calc(100cqw / 900px));
  pointer-events: auto;
  user-select: none;
}

.fx-dv-wa-mock *,
.fx-dv-wa-mock *::before,
.fx-dv-wa-mock *::after {
  box-sizing: border-box;
  font-family: inherit;
}

.fx-dv-wa-mock button {
  font-family: inherit;
  cursor: pointer;
}

.fdw-sidebar {
  width: 38%;
  min-width: 240px;
  max-width: 320px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--fdw-panel);
  border-right: 1px solid var(--fdw-border);
  flex-shrink: 0;
  overflow: hidden;
}

.fdw-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f0f2f5;
  border-bottom: 1px solid var(--fdw-border);
  flex-shrink: 0;
}

.fdw-biz {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fdw-biz-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fdw-biz-av--purple { background: #7c5dfa; }

.fdw-biz-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fdw-biz-meta strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--fdw-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdw-biz-meta span {
  font-size: 11px;
  color: var(--fdw-muted);
}

.fdw-side-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fdw-icon-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 50%;
  color: #54656f;
  display: grid;
  place-items: center;
  padding: 0;
}

.fdw-icon-btn svg {
  width: 16px;
  height: 16px;
}

.fdw-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--fdw-panel);
  flex-shrink: 0;
}

.fdw-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f2f5;
  border-radius: 8px;
  padding: 7px 12px;
  min-width: 0;
}

.fdw-search svg {
  width: 14px;
  height: 14px;
  color: #54656f;
  flex-shrink: 0;
}

.fdw-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 12px;
  color: var(--fdw-text);
  padding: 0;
}

.fdw-search input::placeholder { color: #8696a0; }

.fdw-new-chat {
  width: 34px;
  height: 34px;
  border: 1px solid var(--fdw-border);
  background: #fff;
  border-radius: 8px;
  color: #54656f;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
}

.fdw-new-chat svg {
  width: 15px;
  height: 15px;
}

.fdw-filters {
  padding: 4px 12px 10px;
  background: var(--fdw-panel);
  border-bottom: 1px solid var(--fdw-border);
  flex-shrink: 0;
}

.fdw-filter-block { margin-bottom: 8px; }
.fdw-filter-block:last-child { margin-bottom: 0; }

.fdw-filter-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8696a0;
  margin-bottom: 6px;
}

.fdw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fdw-pill {
  border: none;
  background: #e9edef;
  color: #3b4a54;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.2;
}

.fdw-pill.active {
  background: var(--fdw-pill-blue);
  color: #fff;
}

.fdw-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #d1d7db;
  background: #fff;
  color: #3b4a54;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
  flex-shrink: 0;
}

.fdw-tag-pill svg {
  width: 11px;
  height: 11px;
  color: #8696a0;
}

.fdw-tag-pill--violet { border-color: #a78bfa; color: #6d28d9; }
.fdw-tag-pill--violet svg { color: #7c3aed; }
.fdw-tag-pill--rose { border-color: #fb7185; color: #e11d48; }
.fdw-tag-pill--rose svg { color: #e11d48; }
.fdw-tag-pill--sky { border-color: #60a5fa; color: #1d4ed8; }
.fdw-tag-pill--sky svg { color: #2563eb; }
.fdw-tag-pill--mint { border-color: #34d399; color: #047857; }
.fdw-tag-pill--mint svg { color: #059669; }

.fdw-tag-pill.active {
  border-color: var(--brand-purple);
  background: rgba(149, 122, 251, 0.08);
  color: var(--brand-purple);
}

.fdw-tag-pill.active svg { color: var(--brand-purple); }

.fdw-tag-pill.active.fdw-tag-pill--violet { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.fdw-tag-pill.active.fdw-tag-pill--rose { background: #e11d48; border-color: #e11d48; color: #fff; }
.fdw-tag-pill.active.fdw-tag-pill--sky { background: #2563eb; border-color: #2563eb; color: #fff; }
.fdw-tag-pill.active.fdw-tag-pill--mint { background: #059669; border-color: #059669; color: #fff; }
.fdw-tag-pill.active svg { color: #fff !important; }

.fdw-tag-pills {
  max-height: 56px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scrollbar-width: thin;
}

.fdw-chat-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  padding-bottom: 6px;
  background: var(--fdw-panel);
  scrollbar-width: thin;
}

.fdw-chat-list::-webkit-scrollbar { width: 5px; }
.fdw-chat-list::-webkit-scrollbar-thumb {
  background: #ccd0d5;
  border-radius: 4px;
}

.fdw-chat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid #f0f2f5;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s;
}

.fdw-chat-item:hover { background: #f5f6f6; }

.fdw-chat-item.active { background: var(--fdw-active); }

.fdw-chat-item:last-child {
  border-bottom: none;
  margin-bottom: 2px;
}

.fdw-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.fdw-av--lg { width: 40px; height: 40px; }
.fdw-av--sm { width: 28px; height: 28px; font-size: 10px; }
.fdw-av--blue { background: #3b82f6; }
.fdw-av--orange { background: #f97316; }
.fdw-av--purple { background: #8b5cf6; }
.fdw-av--teal { background: #14b8a6; }
.fdw-av--pink { background: #ec4899; }
.fdw-av--green { background: #22c55e; }
.fdw-av--indigo { background: #6366f1; }
.fdw-av--amber { background: #f59e0b; }

.fdw-chat-body { flex: 1; min-width: 0; }

.fdw-chat-top,
.fdw-chat-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fdw-chat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fdw-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdw-chat-time {
  font-size: 10px;
  color: var(--fdw-muted);
  flex-shrink: 0;
}

.fdw-chat-item.active .fdw-chat-time,
.fdw-chat-item:has(.fdw-unread) .fdw-chat-time {
  color: var(--fdw-green);
  font-weight: 600;
}

.fdw-chat-preview {
  font-size: 11.5px;
  color: var(--fdw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.fdw-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--fdw-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.fdw-chat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.fdw-mini-tag {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eef2ff;
  color: #4338ca;
  white-space: nowrap;
  line-height: 1.3;
}

.fdw-mini-tag--green { background: #dcfce7; color: #15803d; }
.fdw-mini-tag--blue { background: #dbeafe; color: #1d4ed8; }
.fdw-mini-tag--orange { background: #ffedd5; color: #c2410c; }
.fdw-mini-tag--rose { background: #fff1f2; color: #e11d48; }

.fdw-preview-icon {
  width: 12px !important;
  height: 12px !important;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 2px;
  color: #8696a0;
}

.fdw-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--fdw-bg);
}

.fdw-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  background: #f0f2f5;
  border-bottom: 1px solid var(--fdw-border);
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.fdw-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 42%;
}

.fdw-contact-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fdw-contact-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--fdw-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.fdw-contact-meta span {
  font-size: 11px;
  color: var(--fdw-muted);
}

.fdw-chat-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fdw-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #d1d7db;
  background: #fff;
  color: #3b4a54;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.2;
}

.fdw-action-btn svg {
  width: 13px;
  height: 13px;
  color: #667781;
}

.fdw-info-btn {
  border: 1px solid #d1d7db;
  background: #fff;
}

.fdw-tags-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fafafa;
  border-bottom: 1px solid var(--fdw-border);
  flex-shrink: 0;
  min-height: 36px;
}

.fdw-head-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  white-space: nowrap;
  line-height: 1.25;
  border: 1px solid transparent;
}

.fdw-head-tag--rose { background: #fff1f2; color: #e11d48; border-color: #fecdd3; }
.fdw-head-tag--blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.fdw-head-tag--violet { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.fdw-head-tag--green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.fdw-head-tag--orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }

.fdw-messages {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 14px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #efeae2;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9c3b8' fill-opacity='0.22'%3E%3Cpath d='M10 10h4v4h-4zM30 8l3 5h-6zM48 12c1.5 0 2.5 1 2.5 2.5S49.5 17 48 17s-2.5-1-2.5-2.5S46.5 12 48 12zM8 40c0-2 1.5-3.5 3.5-3.5S15 38 15 40s-1.5 3.5-3.5 3.5S8 42 8 40zM38 38h8v2h-8zM22 48l2 4 2-4z'/%3E%3C/g%3E%3C/svg%3E");
}

.fdw-messages::-webkit-scrollbar { width: 5px; }
.fdw-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.fdw-date-chip {
  align-self: center;
  background: #ffffff;
  color: #54656f;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
  margin-bottom: 6px;
}

.fdw-bubble {
  max-width: 72%;
  padding: 8px 10px 4px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.08);
}

.fdw-bubble--in {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 2px;
}

.fdw-bubble--out {
  align-self: flex-end;
  background: var(--fdw-out);
  border-top-right-radius: 2px;
  margin-bottom: 6px;
}

.fdw-bubble-text {
  font-size: 12.5px;
  color: var(--fdw-text);
  line-height: 1.5;
  word-break: break-word;
}

.fdw-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 2px;
}

.fdw-bubble-meta span {
  font-size: 10px;
  color: #667781;
}

.fdw-checks {
  width: 14px;
  height: 10px;
}

.fdw-reaction {
  position: absolute;
  bottom: -10px;
  left: 8px;
  background: #fff;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  padding: 2px 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.fdw-bubble--order {
  max-width: 300px;
  padding: 10px 12px 6px;
}

.fdw-order-fields {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 8px 0 4px;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #eef2f6;
}

.fdw-order-fields > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-size: 11.5px;
}

.fdw-order-fields span { color: #667781; flex-shrink: 0; }
.fdw-order-fields strong { color: var(--fdw-text); font-weight: 600; }

.fdw-bubble--loc {
  display: block;
  width: 240px;
  max-width: 78%;
  padding: 4px 4px 2px;
  overflow: visible;
  flex-shrink: 0;
}

.fdw-loc-card {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.fdw-loc-map {
  display: block;
  position: relative;
  width: 100%;
  height: 120px;
  min-height: 120px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background-color: #c8d6b9;
  background-image:
    linear-gradient(90deg, transparent 0, transparent 46%, rgba(255, 255, 255, 0.45) 46%, rgba(255, 255, 255, 0.45) 54%, transparent 54%),
    linear-gradient(0deg, transparent 0, transparent 38%, rgba(255, 255, 255, 0.35) 38%, rgba(255, 255, 255, 0.35) 44%, transparent 44%),
    linear-gradient(135deg, #b7c9a4 0%, #d2e0c0 45%, #a8be90 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
}

.fdw-loc-pin {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  background: #ea4335;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.fdw-loc-pin::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}

.fdw-loc-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 6px;
  background: #fff;
}

.fdw-loc-info strong {
  font-size: 12.5px;
  font-weight: 600;
  color: #111b21;
  line-height: 1.3;
}

.fdw-loc-coords {
  font-size: 11px;
  color: #667781;
  line-height: 1.3;
}

.fdw-loc-link {
  font-size: 12px;
  color: #027eb5;
  font-weight: 500;
  margin-top: 2px;
  cursor: default;
}

.fdw-bubble--audio {
  display: block;
  max-width: 290px;
  padding: 8px 10px 4px;
}

.fdw-audio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.fdw-audio-play {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
}

.fdw-audio-play svg {
  width: 14px;
  height: 14px;
  margin-left: 1px;
}

.fdw-audio-wave {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fdw-audio-bar {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00a884 0%, #00a884 28%, #d1d7db 28%, #d1d7db 100%);
  position: relative;
}

.fdw-audio-bar::after {
  content: '';
  position: absolute;
  left: 28%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #00a884;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.fdw-audio-times {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #667781;
  font-variant-numeric: tabular-nums;
}

.fdw-bubble--audio .fdw-bubble-meta {
  width: 100%;
  margin-top: 0;
}

.fdw-composer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f0f2f5;
  border-top: 1px solid var(--fdw-border);
  flex-shrink: 0;
}

.fdw-composer-icon {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #54656f;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}

.fdw-composer-icon svg {
  width: 18px;
  height: 18px;
}

.fdw-composer-input {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  padding: 9px 14px;
}

.fdw-composer-input input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--fdw-text);
  padding: 0;
}

.fdw-composer-input input::placeholder { color: #8696a0; }

.fdw-send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--fdw-green-btn);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
}

.fdw-send svg {
  width: 18px;
  height: 18px;
  margin-left: 1px;
}

/* —— Mockup Vista Pipeline (dual views, clases fdp-*) —— */
.fx-dv-pipe-mock {
  --fdp-navy: #1b2537;
  --fdp-blue: #2f6fed;
  --fdp-blue-soft: #e8f0fe;
  --fdp-border: #e6e9ef;
  --fdp-muted: #8b93a7;
  --fdp-text: #1e2433;
  --fdp-bg: #f4f6f9;
  --fdp-green: #16a34a;
  --fdp-tag-bg: #e8f5ef;
  --fdp-tag-text: #1f6b4a;
  --fdp-design-w: 900px;
  --fdp-design-h: 620px;

  flex-shrink: 0;
  display: flex;
  width: 900px;
  height: 620px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 11px;
  color: var(--fdp-text);
  line-height: 1.4;
  transform-origin: top left;
  transform: scale(var(--fdp-scale, 1));
  pointer-events: auto;
  user-select: none;
  will-change: transform;
}

.fx-dv-pipe-mock.is-scale-locked {
  will-change: auto;
}

.fx-dv-pipe-mock *,
.fx-dv-pipe-mock *::before,
.fx-dv-pipe-mock *::after {
  box-sizing: border-box;
  font-family: inherit;
}

.fx-dv-pipe-mock button {
  font-family: inherit;
  cursor: pointer;
}

.fx-dv-pipe-mock a {
  color: inherit;
  text-decoration: none;
}

.fdp-sidebar {
  width: 185px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--fdp-border);
  display: flex;
  flex-direction: column;
  padding: 14px 10px 12px;
  min-height: 0;
}

.fdp-brand {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  padding: 4px 8px 16px;
  letter-spacing: -0.02em;
}

.fdp-brand span {
  font-weight: 500;
  color: #444;
}

.fdp-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.fdp-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  cursor: default;
  line-height: 1.25;
}

.fdp-nav-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke-width: 2;
}

.fdp-nav-item.active {
  background: var(--fdp-blue-soft);
  color: var(--fdp-blue);
  font-weight: 600;
}

.fdp-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 4px;
  margin-top: auto;
  border-top: 1px solid var(--fdp-border);
  font-size: 11px;
  font-weight: 500;
  color: #c45c5c;
  text-decoration: none;
  cursor: default;
  flex-shrink: 0;
}

.fdp-logout svg {
  width: 15px;
  height: 15px;
}

.fdp-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--fdp-bg);
}

.fdp-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid var(--fdp-border);
  flex-shrink: 0;
  overflow: hidden;
}

.fdp-pipeline-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}

.fdp-back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fdp-navy);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
}

.fdp-back svg {
  width: 15px;
  height: 15px;
}

.fdp-pipe-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--fdp-blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fdp-pipe-icon svg {
  width: 15px;
  height: 15px;
}

.fdp-pipe-info {
  min-width: 0;
}

.fdp-pipe-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--fdp-text);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdp-pipe-title svg {
  width: 12px;
  height: 12px;
  color: var(--fdp-muted);
  flex-shrink: 0;
}

.fdp-pipe-phone {
  font-size: 11px;
  color: var(--fdp-muted);
  margin-top: 2px;
}

.fdp-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.fdp-btn-outline,
.fdp-btn-solid {
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fdp-btn-outline {
  background: #fff;
  border: 1px solid #d5dae3;
  color: var(--fdp-text);
}

.fdp-btn-outline svg {
  width: 14px;
  height: 14px;
}

.fdp-btn-solid {
  background: var(--fdp-navy);
  border: none;
  color: #fff;
}

.fdp-board {
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  overscroll-behavior: contain;
  -webkit-user-select: none;
  user-select: none;
}

.fdp-board.is-dragging {
  overscroll-behavior: contain;
  touch-action: none;
}

.fdp-board.is-dragging,
.fdp-board.is-dragging * {
  -webkit-user-select: none !important;
  user-select: none !important;
  cursor: grabbing;
}

.fdp-col {
  flex: 0 0 224px;
  width: 224px;
  background: #fff;
  border: 1px solid var(--fdp-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.fdp-col--cyan { background: #f3fbfd; border-color: #cfeaf3; }
.fdp-col--mint { background: #f7fffc; border-color: #d5efe6; }
.fdp-col--pink { background: #fff6f7; border-color: #f3d4d8; }
.fdp-col--violet { background: #f7f4ff; border-color: #ddd2f5; }

.fdp-col-head {
  padding: 10px 10px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.fdp-col-head:active {
  cursor: grabbing;
}

.fdp-col-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.fdp-col-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--fdp-text);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.fdp-col-name svg {
  width: 13px;
  height: 13px;
  color: #6b7280;
  flex-shrink: 0;
}

.fdp-col-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9aa3b5;
  flex-shrink: 0;
}

.fdp-col-tools svg {
  width: 13px;
  height: 13px;
}

.fdp-col-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 10.5px;
  color: var(--fdp-muted);
  font-weight: 500;
  line-height: 1.3;
}

.fdp-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef0f4;
  color: #5b6478;
  font-size: 9.5px;
  font-weight: 600;
}

.fdp-badge--blue { background: #e4efff; color: #2f6fed; }
.fdp-badge--green { background: #e6f7ee; color: #15803d; }

.fdp-cards {
  padding: 8px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.fdp-card {
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.fdp-card-msg,
.fdp-card-foot,
.fdp-open {
  cursor: pointer;
}

.fdp-col--cyan .fdp-card { border-color: #bfe3ef; }
.fdp-col--pink .fdp-card { border-color: #efc8ce; }
.fdp-col--violet .fdp-card { border-color: #d4c6f0; }

.fdp-card--selected {
  border-color: #7eb6ff !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.12);
  background: #f8fbff;
}

.fdp-card-top {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px;
  align-items: start;
  margin-bottom: 7px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.fdp-card-top:active {
  cursor: grabbing;
}

.fdp-card-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.fdp-av--teal { background: #14b8a6; }
.fdp-av--blue { background: #3b82f6; }
.fdp-av--orange { background: #f59e0b; }
.fdp-av--pink { background: #f472b6; }
.fdp-av--violet { background: #a78bfa; }

.fdp-card-who {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fdp-card-who strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--fdp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdp-card-who span {
  font-size: 10px;
  color: var(--fdp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdp-tag {
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--fdp-tag-bg);
  color: var(--fdp-tag-text);
  white-space: nowrap;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: start;
}

.fdp-card-msg {
  font-size: 11px;
  color: #6b7280;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.fdp-card-foot {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fdp-time {
  font-size: 10px;
  color: #8b93a7;
  background: #f1f3f7;
  padding: 3px 7px;
  border-radius: 999px;
  font-weight: 500;
}

.fdp-unread {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.fdp-open {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--fdp-blue);
  text-decoration: none;
  cursor: default;
}

.fdp-card-foot:has(.fdp-unread) .fdp-open {
  margin-left: 0;
}

.fdp-open svg {
  width: 13px;
  height: 13px;
}

.fdp-col-ghost { opacity: 0.45; -webkit-user-select: none !important; user-select: none !important; }
.fdp-col-chosen { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16); }
.fdp-card-ghost { opacity: 0.4; background: #eef2f7; }
.fdp-card-chosen { box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14); }
.fdp-col-drag,
.fdp-card-drag {
  opacity: 0.95;
  z-index: 9999;
  -webkit-user-select: none !important;
  user-select: none !important;
}
.fdp-cards.sortable-drag-over,
.fdp-cards:empty { min-height: 56px; }

html.fx-pipe-dragging {
  overscroll-behavior: none;
  -webkit-user-select: none !important;
  user-select: none !important;
}

html.fx-pipe-dragging * {
  -webkit-user-select: none !important;
  user-select: none !important;
}

@media (max-width: 1100px) {
  .fx-dv-panels {
    gap: 2rem;
  }
}

@media (max-width: 991px) {
  .fx-dual-views-section {
    padding: 72px 0 64px;
  }

  .fx-dv-wrap {
    padding: 0 1.25rem;
  }

  .fx-dv-header {
    margin-bottom: 1.75rem;
  }

  .fx-dv-tag {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    padding: 0.55rem 1rem;
    margin-bottom: 1rem;
  }

  .fx-dv-tag svg {
    width: 18px;
    height: 18px;
  }

  .fx-dv-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .fx-dv-subtitle {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .fx-dv-br-lg {
    display: none;
  }

  .fx-dv-tree {
    margin-bottom: 0;
  }

  .fx-dv-lines,
  .fx-dv-lines--desktop,
  .fx-dv-lines-wrap,
  .fx-dv-lines-mobile {
    display: none;
  }

  .fx-dv-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Tronco desde Línea Compartida hacia la primera vista */
  .fx-dv-hub::after {
    content: '';
    width: 2px;
    height: 28px;
    margin-top: 0;
    background: rgba(149, 122, 251, 0.65);
    border-radius: 2px;
  }

  .fx-dv-hub-box {
    font-size: 1rem;
    padding: 0.65rem 1rem;
  }

  .fx-dv-panels {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
  }

  .fx-dv-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Nodo en cada vista: deja claro que cuelga de la misma línea */
  .fx-dv-panel-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    text-align: center;
  }

  .fx-dv-panel-title::before {
    content: '';
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(149, 122, 251, 0.95);
    box-shadow: 0 0 0 4px rgba(149, 122, 251, 0.18);
    flex-shrink: 0;
  }

  /* Continuación de la línea entre Vista WhatsApp y Vista Pipeline */
  .fx-dv-panel:first-child {
    padding-bottom: 1.85rem;
  }

  .fx-dv-panel:first-child::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 2px;
    height: 1.85rem;
    transform: translateX(-50%);
    background: rgba(149, 122, 251, 0.55);
    border-radius: 2px;
  }

  .fx-dv-frame--wa,
  .fx-dv-frame--pipe {
    display: none;
  }

  .fx-dv-panel-mobile {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
  }

  .fx-dv-panels-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .fx-dual-views-section {
    padding: 56px 0 48px;
  }

  .fx-dv-wrap {
    padding: 0 1rem;
  }

  .fx-dv-tag {
    font-size: 1rem;
  }

  .fx-dv-title {
    font-size: 2.2rem;
  }

  .fx-dv-subtitle {
    font-size: 1.4rem;
  }

  .fx-dv-panel-title {
    font-size: 1.2rem;
  }

  .fx-dv-panel-mobile {
    border-radius: 12px;
  }

  .fx-dv-panel:first-child {
    padding-bottom: 1.6rem;
  }

  .fx-dv-panel:first-child::after {
    height: 1.6rem;
  }
}

/* —— Entrada 2 Vistas por Línea —— */
.fx-dual-views-section.fdv-entering {
  --fdv-d: 1.45;
  --fdv-t: 1.75;
}

.fx-dv-lines path,
.fx-dv-lines-mobile path {
  stroke-dasharray: 420;
  stroke-dashoffset: 0;
}

.fx-dual-views-section.fdv-await .fx-dv-tag,
.fx-dual-views-section.fdv-await .fx-dv-title,
.fx-dual-views-section.fdv-await .fx-dv-subtitle,
.fx-dual-views-section.fdv-await .fx-dv-tree,
.fx-dual-views-section.fdv-await .fx-dv-panel,
.fx-dual-views-section.fdv-await .fx-dv-panels-hint {
  opacity: 0;
}

.fx-dual-views-section.fdv-await .fx-dv-lines path,
.fx-dual-views-section.fdv-await .fx-dv-lines-mobile path {
  stroke-dashoffset: 420;
  opacity: 0.35;
}

.fx-dual-views-section.fdv-await .fx-dv-line-dot,
.fx-dual-views-section.fdv-await .fx-dv-lines-mobile circle {
  opacity: 0;
}

.fdv-entering .fx-dv-tag {
  animation: lwaNotifDrop calc(0.55s * var(--fdv-d)) cubic-bezier(0.34, 1.4, 0.64, 1) calc(0.12s * var(--fdv-t)) both;
}

.fdv-entering .fx-dv-title {
  animation: lwaTitleFade calc(0.6s * var(--fdv-d)) ease calc(0.22s * var(--fdv-t)) both;
}

.fdv-entering .fx-dv-title span {
  position: relative;
}

.fdv-entering .fx-dv-title span::after {
  content: '';
  position: absolute;
  left: calc(100% + 6px);
  top: 0.14em;
  width: 2px;
  height: 0.78em;
  background: #25d366;
  pointer-events: none;
  animation: lwaCaret calc(0.55s * var(--fdv-d)) steps(1) 4;
  animation-delay: calc(0.5s * var(--fdv-t));
}

.fdv-entering .fx-dv-subtitle {
  animation: lwaTitleFade calc(0.55s * var(--fdv-d)) ease calc(0.36s * var(--fdv-t)) both;
}

.fdv-entering .fx-dv-hub-box {
  animation: fdvHubIn calc(0.55s * var(--fdv-d)) ease calc(0.42s * var(--fdv-t)) both;
}

.fdv-entering .fx-dv-lines path,
.fdv-entering .fx-dv-lines-mobile path {
  animation: fdvLineDraw calc(1.85s * var(--fdv-d)) cubic-bezier(0.33, 0.1, 0.25, 1) calc(0.52s * var(--fdv-t)) both;
}

.fdv-entering .fx-dv-lines path:nth-child(2),
.fdv-entering .fx-dv-lines-mobile path:nth-child(2) {
  animation-delay: calc(0.78s * var(--fdv-t));
}

.fdv-entering .fx-dv-line-dot,
.fdv-entering .fx-dv-lines-mobile circle {
  animation: aiLivePop calc(0.45s * var(--fdv-d)) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.fdv-entering .fx-dv-line-dot--left {
  animation-delay: calc(2.05s * var(--fdv-t));
}

.fdv-entering .fx-dv-line-dot--right {
  animation-delay: calc(2.35s * var(--fdv-t));
}

.fdv-entering .fx-dv-lines-mobile circle:nth-child(3) {
  animation-delay: calc(2.05s * var(--fdv-t));
}

.fdv-entering .fx-dv-lines-mobile circle:nth-child(4) {
  animation-delay: calc(2.35s * var(--fdv-t));
}

.fdv-entering .fx-dv-panel {
  animation: aiDashRise calc(0.85s * var(--fdv-d)) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fdv-entering .fx-dv-panel:nth-child(1) {
  animation-delay: calc(0.78s * var(--fdv-t));
}

.fdv-entering .fx-dv-panel:nth-child(2) {
  animation-delay: calc(0.92s * var(--fdv-t));
}

.fdv-entering .fx-dv-panel-title {
  animation: aiFadeIn calc(0.45s * var(--fdv-d)) ease both;
}

.fdv-entering .fx-dv-panel:nth-child(1) .fx-dv-panel-title {
  animation-delay: calc(0.94s * var(--fdv-t));
}

.fdv-entering .fx-dv-panel:nth-child(2) .fx-dv-panel-title {
  animation-delay: calc(1.08s * var(--fdv-t));
}

.fdv-entering .fx-dv-panels-hint {
  animation: aiFadeIn calc(0.5s * var(--fdv-d)) ease calc(1.2s * var(--fdv-t)) both;
}

/* Vista WhatsApp mockup — animaciones de entrada (dual views) */
.fdv-entering .fx-dv-wa-mock {
  pointer-events: none;
  animation: lwaPanelFade calc(0.45s * var(--fdv-d)) ease calc(0.78s * var(--fdv-t)) both;
}

.fdv-entering .fdw-chat-item {
  animation: lwaInboxIn calc(0.4s * var(--fdv-d)) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fdv-entering .fdw-chat-item:nth-child(1) { animation-delay: calc(0.96s * var(--fdv-t)); }
.fdv-entering .fdw-chat-item:nth-child(2) { animation-delay: calc(1.06s * var(--fdv-t)); }
.fdv-entering .fdw-chat-item:nth-child(3) { animation-delay: calc(1.16s * var(--fdv-t)); }
.fdv-entering .fdw-chat-item:nth-child(4) { animation-delay: calc(1.26s * var(--fdv-t)); }
.fdv-entering .fdw-chat-item:nth-child(5) { animation-delay: calc(1.36s * var(--fdv-t)); }
.fdv-entering .fdw-chat-item:nth-child(6) { animation-delay: calc(1.46s * var(--fdv-t)); }
.fdv-entering .fdw-chat-item:nth-child(7) { animation-delay: calc(1.56s * var(--fdv-t)); }

.fdv-entering .fdw-unread {
  animation: lwaUnreadPop calc(0.4s * var(--fdv-d)) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.fdv-entering .fdw-chat-item:nth-child(1) .fdw-unread { animation-delay: calc(1.2s * var(--fdv-t)); }
.fdv-entering .fdw-chat-item:nth-child(4) .fdw-unread { animation-delay: calc(1.5s * var(--fdv-t)); }

.fdv-entering .fdw-date-chip {
  animation: lwaChipIn calc(0.3s * var(--fdv-d)) ease both;
}

.fdv-entering .fdw-bubble--in {
  transform-origin: 10px 100%;
  animation: lwaBubbleIn calc(0.42s * var(--fdv-d)) cubic-bezier(0.34, 1.35, 0.64, 1) both;
}

.fdv-entering .fdw-bubble--out {
  transform-origin: calc(100% - 10px) 100%;
  animation: lwaBubbleOut calc(0.42s * var(--fdv-d)) cubic-bezier(0.34, 1.35, 0.64, 1) both;
}

.fdv-entering .fdw-messages > *:nth-child(1) { animation-delay: calc(1.3s * var(--fdv-t)); }
.fdv-entering .fdw-messages > *:nth-child(2) { animation-delay: calc(1.44s * var(--fdv-t)); }
.fdv-entering .fdw-messages > *:nth-child(3) { animation-delay: calc(1.62s * var(--fdv-t)); }
.fdv-entering .fdw-messages > *:nth-child(4) { animation-delay: calc(1.76s * var(--fdv-t)); }
.fdv-entering .fdw-messages > *:nth-child(5) { animation-delay: calc(1.92s * var(--fdv-t)); }
.fdv-entering .fdw-messages > *:nth-child(6) { animation-delay: calc(2.06s * var(--fdv-t)); }
.fdv-entering .fdw-messages > *:nth-child(7) { animation-delay: calc(2.24s * var(--fdv-t)); }
.fdv-entering .fdw-messages > *:nth-child(8) { animation-delay: calc(2.42s * var(--fdv-t)); }

.fdv-entering .fdw-reaction {
  animation: lwaUnreadPop calc(0.35s * var(--fdv-d)) cubic-bezier(0.34, 1.56, 0.64, 1) calc(1.98s * var(--fdv-t)) both;
}

.fdv-entering .fdw-composer {
  animation: lwaComposerUp calc(0.5s * var(--fdv-d)) cubic-bezier(0.16, 1, 0.3, 1) calc(1.18s * var(--fdv-t)) both;
}

/* Vista Pipeline — tablero Kanban: sidebar, columnas y tarjetas cayendo */
.fdv-entering .fx-dv-pipe-mock {
  pointer-events: none;
  animation: lwaPanelFade calc(0.45s * var(--fdv-d)) ease calc(0.92s * var(--fdv-t)) both;
}

.fdv-entering .fdp-sidebar {
  animation: fdpPipeSidebarIn calc(0.55s * var(--fdv-d)) cubic-bezier(0.16, 1, 0.3, 1) calc(1s * var(--fdv-t)) both;
}

.fdv-entering .fdp-brand {
  animation: fdpPipeColHeadIn calc(0.4s * var(--fdv-d)) ease calc(1.08s * var(--fdv-t)) both;
}

.fdv-entering .fdp-nav-item:not(.active) {
  animation: fdpPipeNavIn calc(0.38s * var(--fdv-d)) ease both;
}

.fdv-entering .fdp-nav-item:not(.active):nth-child(1) { animation-delay: calc(1.14s * var(--fdv-t)); }
.fdv-entering .fdp-nav-item:not(.active):nth-child(2) { animation-delay: calc(1.2s * var(--fdv-t)); }
.fdv-entering .fdp-nav-item:not(.active):nth-child(3) { animation-delay: calc(1.26s * var(--fdv-t)); }
.fdv-entering .fdp-nav-item:not(.active):nth-child(4) { animation-delay: calc(1.32s * var(--fdv-t)); }
.fdv-entering .fdp-nav-item:not(.active):nth-child(5) { animation-delay: calc(1.38s * var(--fdv-t)); }
.fdv-entering .fdp-nav-item:not(.active):nth-child(6) { animation-delay: calc(1.44s * var(--fdv-t)); }
.fdv-entering .fdp-nav-item:not(.active):nth-child(7) { animation-delay: calc(1.5s * var(--fdv-t)); }

.fdv-entering .fdp-nav-item.active {
  animation: fdpPipeNavActive calc(0.45s * var(--fdv-d)) cubic-bezier(0.34, 1.35, 0.64, 1) calc(1.22s * var(--fdv-t)) both;
}

.fdv-entering .fdp-logout {
  animation: fdpPipeNavIn calc(0.38s * var(--fdv-d)) ease calc(1.56s * var(--fdv-t)) both;
}

.fdv-entering .fdp-topbar {
  animation: fdpPipeTopbarIn calc(0.5s * var(--fdv-d)) cubic-bezier(0.16, 1, 0.3, 1) calc(1.06s * var(--fdv-t)) both;
}

.fdv-entering .fdp-pipe-icon {
  animation: aiLivePop calc(0.42s * var(--fdv-d)) cubic-bezier(0.34, 1.56, 0.64, 1) calc(1.22s * var(--fdv-t)) both;
}

.fdv-entering .fdp-actions {
  animation: fdpPipeColHeadIn calc(0.4s * var(--fdv-d)) ease calc(1.18s * var(--fdv-t)) both;
}

.fdv-entering .fdp-col {
  animation: fdpPipeColBuild calc(0.62s * var(--fdv-d)) cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: bottom center;
}

.fdv-entering .fdp-col:nth-child(1) { animation-delay: calc(1.2s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) { animation-delay: calc(1.32s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(3) { animation-delay: calc(1.44s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(4) { animation-delay: calc(1.56s * var(--fdv-t)); }

.fdv-entering .fdp-col-head {
  animation: fdpPipeColHeadIn calc(0.42s * var(--fdv-d)) ease both;
}

.fdv-entering .fdp-col:nth-child(1) .fdp-col-head { animation-delay: calc(1.32s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) .fdp-col-head { animation-delay: calc(1.44s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(3) .fdp-col-head { animation-delay: calc(1.56s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(4) .fdp-col-head { animation-delay: calc(1.68s * var(--fdv-t)); }

.fdv-entering .fdp-badge {
  animation: fdpPipeBadgePop calc(0.42s * var(--fdv-d)) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.fdv-entering .fdp-col:nth-child(1) .fdp-badge { animation-delay: calc(1.42s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) .fdp-badge { animation-delay: calc(1.54s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(3) .fdp-badge { animation-delay: calc(1.66s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(4) .fdp-badge { animation-delay: calc(1.78s * var(--fdv-t)); }

.fdv-entering .fdp-card {
  animation: fdpPipeCardDrop calc(0.52s * var(--fdv-d)) cubic-bezier(0.34, 1.35, 0.64, 1) both;
}

.fdv-entering .fdp-col:nth-child(1) .fdp-cards .fdp-card:nth-child(1) { animation-delay: calc(1.46s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(1) .fdp-cards .fdp-card:nth-child(2) { animation-delay: calc(1.56s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) .fdp-cards .fdp-card:nth-child(1) { animation-delay: calc(1.58s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) .fdp-cards .fdp-card:nth-child(2) { animation-delay: calc(1.68s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) .fdp-cards .fdp-card:nth-child(3) { animation-delay: calc(1.78s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(3) .fdp-cards .fdp-card:nth-child(1) { animation-delay: calc(1.7s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(4) .fdp-cards .fdp-card:nth-child(1) { animation-delay: calc(1.82s * var(--fdv-t)); }

.fdv-entering .fdp-card--selected {
  animation:
    fdpPipeCardDrop calc(0.52s * var(--fdv-d)) cubic-bezier(0.34, 1.35, 0.64, 1) calc(1.58s * var(--fdv-t)) both,
    fdpPipeSelectedPulse calc(0.7s * var(--fdv-d)) ease calc(2.05s * var(--fdv-t)) both;
}

.fdv-entering .fdp-tag {
  animation: aiStamp calc(0.45s * var(--fdv-d)) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.fdv-entering .fdp-col:nth-child(1) .fdp-cards .fdp-card:nth-child(1) .fdp-tag { animation-delay: calc(1.62s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(1) .fdp-cards .fdp-card:nth-child(2) .fdp-tag { animation-delay: calc(1.72s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) .fdp-cards .fdp-card:nth-child(1) .fdp-tag { animation-delay: calc(1.74s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) .fdp-cards .fdp-card:nth-child(2) .fdp-tag { animation-delay: calc(1.84s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(2) .fdp-cards .fdp-card:nth-child(3) .fdp-tag { animation-delay: calc(1.94s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(3) .fdp-cards .fdp-card:nth-child(1) .fdp-tag { animation-delay: calc(1.86s * var(--fdv-t)); }
.fdv-entering .fdp-col:nth-child(4) .fdp-cards .fdp-card:nth-child(1) .fdp-tag { animation-delay: calc(1.98s * var(--fdv-t)); }

.fdv-entering .fdp-unread {
  animation: lwaUnreadPop calc(0.35s * var(--fdv-d)) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.fdv-entering .fdp-cards .fdp-card:nth-child(1) .fdp-unread { animation-delay: calc(1.66s * var(--fdv-t)); }
.fdv-entering .fdp-cards .fdp-card:nth-child(2) .fdp-unread { animation-delay: calc(1.76s * var(--fdv-t)); }

@keyframes fdpPipeSidebarIn {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: none; }
}

@keyframes fdpPipeNavIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}

@keyframes fdpPipeNavActive {
  0% { opacity: 0; transform: translateX(-8px) scale(0.96); }
  70% { transform: translateX(0) scale(1.02); }
  100% { opacity: 1; transform: none; }
}

@keyframes fdpPipeTopbarIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

@keyframes fdpPipeColBuild {
  from {
    opacity: 0;
    transform: translateY(36px) scaleY(0.55);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fdpPipeColHeadIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes fdpPipeBadgePop {
  0% { opacity: 0; transform: scale(0.45); }
  72% { transform: scale(1.14); }
  100% { opacity: 1; transform: none; }
}

@keyframes fdpPipeCardDrop {
  0% { opacity: 0; transform: translateY(-32px) scale(0.9) rotate(-1.5deg); }
  62% { opacity: 1; transform: translateY(5px) scale(1.02) rotate(0.5deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes fdpPipeSelectedPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 111, 237, 0); }
  50% { box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.22); }
}

@keyframes fdvLineDraw {
  from { stroke-dashoffset: 420; opacity: 0.4; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes fdvHubIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-dual-views-section.fdv-await .fx-dv-tag,
  .fx-dual-views-section.fdv-await .fx-dv-title,
  .fx-dual-views-section.fdv-await .fx-dv-subtitle,
  .fx-dual-views-section.fdv-await .fx-dv-tree,
  .fx-dual-views-section.fdv-await .fx-dv-panel,
  .fx-dual-views-section.fdv-await .fx-dv-panels-hint,
  .fx-dual-views-section.fdv-await .fx-dv-lines path,
  .fx-dual-views-section.fdv-await .fx-dv-line-dot,
  .fx-dual-views-section.fdv-await .fx-dv-lines-mobile path,
  .fx-dual-views-section.fdv-await .fx-dv-lines-mobile circle {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  .fdv-entering .fx-dv-tag,
  .fdv-entering .fx-dv-title,
  .fdv-entering .fx-dv-subtitle,
  .fdv-entering .fx-dv-hub-box,
  .fdv-entering .fx-dv-lines path,
  .fdv-entering .fx-dv-line-dot,
  .fdv-entering .fx-dv-lines-mobile path,
  .fdv-entering .fx-dv-lines-mobile circle,
  .fdv-entering .fx-dv-panel,
  .fdv-entering .fx-dv-panel-title,
  .fdv-entering .fx-dv-panels-hint,
  .fdv-entering .fx-dv-wa-mock,
  .fdv-entering .fx-dv-pipe-mock,
  .fdv-entering .fdw-chat-item,
  .fdv-entering .fdw-unread,
  .fdv-entering .fdw-date-chip,
  .fdv-entering .fdw-bubble--in,
  .fdv-entering .fdw-bubble--out,
  .fdv-entering .fdw-reaction,
  .fdv-entering .fdw-composer,
  .fdv-entering .fdp-sidebar,
  .fdv-entering .fdp-brand,
  .fdv-entering .fdp-nav-item,
  .fdv-entering .fdp-logout,
  .fdv-entering .fdp-topbar,
  .fdv-entering .fdp-pipe-icon,
  .fdv-entering .fdp-actions,
  .fdv-entering .fdp-col,
  .fdv-entering .fdp-col-head,
  .fdv-entering .fdp-badge,
  .fdv-entering .fdp-card,
  .fdv-entering .fdp-card--selected,
  .fdv-entering .fdp-tag,
  .fdv-entering .fdp-unread {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .fdv-entering .fx-dv-title span::after {
    content: none;
  }

  .fdv-entering .fx-dv-wa-mock,
  .fdv-entering .fx-dv-pipe-mock {
    pointer-events: auto;
  }
}

/* ==========================================================================
   WHATSAPP EQUIPO — hub dinámico + líneas SVG animadas
   ========================================================================== */

.fx-wh-hub-section {
  width: 100%;
  padding: 150px 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

.fx-wh-title-highlight {
  color: var(--brand-purple);
  font-weight: 700;
}

.fx-wh-hub-section::before {
  content: '';
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: var(--brand-purple);
  opacity: 0.07;
  filter: blur(160px);
  border-radius: 50%;
  pointer-events: none;
}

.fx-wh-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.fx-wh-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3.5rem;
}

.fx-wh-title {
  font-size: 4rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: var(--white);
  text-wrap: balance;
}

.fx-wh-subtitle {
  font-size: 2rem;
  color: var(--slate-text);
  line-height: 1.55;
  max-width: 760px;
  margin: 0 auto;
  text-wrap: balance;
}

/* —— Diagrama —— */
.fx-wh-diagram {
  position: relative;
  width: min(1000px, 100%);
  margin: 0 auto;
  aspect-ratio: 1000 / 640;
  overflow: visible;
}

.fx-wh-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.fx-wh-line {
  fill: none;
  stroke: var(--brand-purple);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.fx-wh-pulse {
  fill: none;
  stroke: #c4b5fd;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 86;
  stroke-dashoffset: 100;
  opacity: 0;
  filter: url(#fx-wh-glow);
  pointer-events: none;
}

.fx-wh-packet {
  fill: #e9e2ff;
  opacity: 0;
  pointer-events: none;
}

.fx-wh-dot {
  fill: var(--brand-purple);
  opacity: 0;
}

.fx-wh-node {
  position: absolute;
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-wh-node-float {
  position: relative;
  width: 100%;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.fx-wh-node img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.fx-wh-node--ventas {
  top: 4%;
  left: 2%;
  width: 32%;
}

.fx-wh-node--cobranzas {
  top: 4%;
  right: 2%;
  width: 32%;
}

.fx-wh-node--hub {
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  z-index: 3;
}

.fx-wh-node--posventa {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
}

/* Mobile: imagen completa (oculta en desktop) */
.fx-wh-visual-mobile {
  display: none;
}

/* —— Entrada viewport —— */
.fx-wh-hub-section.fwh-await::before {
  opacity: 0;
  transform: translateX(-50%) scale(0.55);
}

.fx-wh-hub-section.fwh-await .fx-wh-title,
.fx-wh-hub-section.fwh-await .fx-wh-subtitle,
.fx-wh-hub-section.fwh-await .fx-wh-diagram,
.fx-wh-hub-section.fwh-await .fx-wh-visual-mobile {
  visibility: hidden;
}

.fx-wh-hub-section.fwh-await .fx-wh-title {
  opacity: 0;
  transform: translateY(16px);
}

.fx-wh-hub-section.fwh-await .fx-wh-subtitle {
  opacity: 0;
  transform: translateY(12px);
}

.fx-wh-hub-section.fwh-await .fx-wh-node {
  opacity: 0;
  transform: translateY(18px);
}

.fx-wh-hub-section.fwh-await .fx-wh-node--hub {
  transform: translateX(-50%) translateY(18px) scale(0.92);
}

.fx-wh-hub-section.fwh-await .fx-wh-node--posventa {
  transform: translateX(-50%) translateY(18px);
}

.fx-wh-hub-section.fwh-await .fx-wh-visual-mobile img {
  opacity: 0;
  transform: translateY(20px);
}

.fx-wh-hub-section.fwh-await .fx-wh-line {
  stroke-dashoffset: var(--fx-wh-len, 400);
}

.fx-wh-hub-section.fwh-await .fx-wh-dot,
.fx-wh-hub-section.fwh-await .fx-wh-pulse,
.fx-wh-hub-section.fwh-await .fx-wh-packet {
  opacity: 0;
}

.fwh-entering::before {
  animation: fwhGlowWake 1.3s ease 0.12s both;
}

.fwh-entering .fx-wh-title {
  visibility: visible;
  animation: fwhFadeUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.fwh-entering .fx-wh-subtitle {
  visibility: visible;
  animation: fwhFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.fwh-entering .fx-wh-diagram {
  visibility: visible;
}

.fwh-entering .fx-wh-visual-mobile {
  visibility: visible;
}

.fwh-entering .fx-wh-visual-mobile img {
  animation: fwhFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.68s both;
}

.fwh-entering .fx-wh-node--hub {
  animation: fwhHubIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.fwh-entering .fx-wh-line {
  animation: fwhLineDraw 1.15s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.fwh-entering .fx-wh-line--ventas {
  animation-delay: 0.95s;
}

.fwh-entering .fx-wh-line--cobranzas {
  animation-delay: 1.05s;
}

.fwh-entering .fx-wh-line--posventa {
  animation-delay: 1.15s;
}

.fwh-entering .fx-wh-node--ventas {
  animation: fwhFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.45s both;
}

.fwh-entering .fx-wh-node--cobranzas {
  animation: fwhFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.55s both;
}

.fwh-entering .fx-wh-node--posventa {
  animation: fwhPosventaIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.65s both;
}

.fwh-entering .fx-wh-dot {
  animation: fwhDotIn 0.4s ease both;
}

/* Puntos del hub primero, luego los de cada tarjeta */
.fwh-entering .fx-wh-dot--v1,
.fwh-entering .fx-wh-dot--c1,
.fwh-entering .fx-wh-dot--p1 {
  animation-delay: 1.1s;
}

.fwh-entering .fx-wh-dot--v2 {
  animation-delay: 1.85s;
}

.fwh-entering .fx-wh-dot--c2 {
  animation-delay: 1.95s;
}

.fwh-entering .fx-wh-dot--p2 {
  animation-delay: 2.05s;
}

/* Flujo continuo: línea sólida + pulso / paquete que viaja */
.fx-wh-hub-section.fwh-lines-flow .fx-wh-line {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}

.fx-wh-hub-section.fwh-lines-flow .fx-wh-pulse {
  opacity: 0.9;
  animation: fwhPulseTravel 2.8s linear infinite;
}

.fx-wh-hub-section.fwh-lines-flow .fx-wh-pulse--cobranzas {
  animation-delay: -0.9s;
}

.fx-wh-hub-section.fwh-lines-flow .fx-wh-pulse--posventa {
  animation-delay: -0.45s;
}

.fx-wh-hub-section.fwh-lines-flow .fx-wh-packet {
  opacity: 0;
}

.fx-wh-hub-section.fwh-lines-flow .fx-wh-packet.is-running {
  opacity: 1;
}

/* Extensión suave al recibir el flujo (sin flotar) */
.fx-wh-hub-section.fwh-lines-flow .fx-wh-node--ventas .fx-wh-node-float {
  animation: fwhCardExpand 2.8s ease-in-out infinite;
}

.fx-wh-hub-section.fwh-lines-flow .fx-wh-node--cobranzas .fx-wh-node-float {
  animation: fwhCardExpand 2.8s ease-in-out 0.9s infinite;
}

.fx-wh-hub-section.fwh-lines-flow .fx-wh-node--hub .fx-wh-node-float {
  animation: fwhFloat 4.6s ease-in-out 0.2s infinite;
}

.fx-wh-hub-section.fwh-lines-flow .fx-wh-node--posventa .fx-wh-node-float {
  animation: fwhCardExpand 2.8s ease-in-out 0.45s infinite;
}

/* Estado final */
.fx-wh-hub-section.fwh-entered::before {
  opacity: 0.07;
  transform: translateX(-50%) scale(1);
  animation: none;
}

.fx-wh-hub-section.fwh-entered .fx-wh-title,
.fx-wh-hub-section.fwh-entered .fx-wh-subtitle,
.fx-wh-hub-section.fwh-entered .fx-wh-diagram,
.fx-wh-hub-section.fwh-entered .fx-wh-visual-mobile {
  visibility: visible;
  opacity: 1;
  animation: none;
}

.fx-wh-hub-section.fwh-entered .fx-wh-visual-mobile img {
  opacity: 1;
  transform: none;
  animation: none;
}

.fx-wh-hub-section.fwh-entered .fx-wh-node {
  visibility: visible;
  opacity: 1;
}

.fx-wh-hub-section.fwh-entered:not(.fwh-lines-flow) .fx-wh-node--hub,
.fx-wh-hub-section.fwh-entered:not(.fwh-lines-flow) .fx-wh-node--posventa {
  transform: translateX(-50%);
  animation: none;
}

.fx-wh-hub-section.fwh-entered:not(.fwh-lines-flow) .fx-wh-node--ventas,
.fx-wh-hub-section.fwh-entered:not(.fwh-lines-flow) .fx-wh-node--cobranzas {
  transform: none;
  animation: none;
}

.fx-wh-hub-section.fwh-entered .fx-wh-node--hub,
.fx-wh-hub-section.fwh-entered .fx-wh-node--posventa {
  transform: translateX(-50%);
}

.fx-wh-hub-section.fwh-entered .fx-wh-node--ventas,
.fx-wh-hub-section.fwh-entered .fx-wh-node--cobranzas {
  transform: none;
}

.fx-wh-hub-section.fwh-entered .fx-wh-dot {
  opacity: 1;
  animation: none;
}

.fx-wh-hub-section.fwh-entered:not(.fwh-lines-flow) .fx-wh-line {
  stroke-dashoffset: 0;
  animation: none;
}

.fx-wh-hub-section.fwh-entered:not(.fwh-lines-flow) .fx-wh-pulse,
.fx-wh-hub-section.fwh-entered:not(.fwh-lines-flow) .fx-wh-packet {
  opacity: 0;
}

@keyframes fwhGlowWake {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.07;
  }
}

@keyframes fwhFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fwhHubIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes fwhPosventaIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@keyframes fwhLineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fwhDotIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fwhPulseTravel {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: -100;
  }
}

/* Solo scale: transición suave al llegar el flujo (sin translateY) */
@keyframes fwhCardExpand {
  0%,
  70% {
    transform: scale(1);
  }
  85% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fwhFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes fwhFloatHub {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@media (max-width: 991px) {
  .fx-wh-hub-section {
    padding: 56px 0 64px;
  }

  .fx-wh-hub-section::before {
    top: 38%;
    width: min(320px, 72vw);
    height: min(320px, 72vw);
    filter: blur(100px);
  }

  .fx-wh-wrap {
    padding: 0 1.25rem;
  }

  .fx-wh-header {
    margin-bottom: 2rem;
  }

  .fx-wh-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .fx-wh-subtitle {
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: none;
  }

  .fx-wh-subtitle br {
    display: none;
  }

  /* Diagrama dinámico solo desktop */
  .fx-wh-diagram {
    display: none;
  }

  .fx-wh-visual-mobile {
    display: block;
    width: 100%;
    max-width: min(100%, 540px);
    margin: 0 auto;
  }

  .fx-wh-visual-mobile img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
  }
}

@media (max-width: 400px) {
  .fx-wh-hub-section {
    padding: 48px 0 56px;
  }

  .fx-wh-wrap {
    padding: 0 1rem;
  }

  .fx-wh-header {
    margin-bottom: 1.5rem;
  }

  .fx-wh-title {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
  }

  .fx-wh-subtitle {
    font-size: 1.35rem;
  }

  .fx-wh-visual-mobile {
    max-width: 100%;
  }

  .fx-wh-visual-mobile img {
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-wh-hub-section.fwh-await::before,
  .fx-wh-hub-section.fwh-await .fx-wh-title,
  .fx-wh-hub-section.fwh-await .fx-wh-subtitle,
  .fx-wh-hub-section.fwh-await .fx-wh-diagram,
  .fx-wh-hub-section.fwh-await .fx-wh-visual-mobile,
  .fx-wh-hub-section.fwh-await .fx-wh-node {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .fx-wh-hub-section.fwh-await .fx-wh-node--hub,
  .fx-wh-hub-section.fwh-await .fx-wh-node--posventa {
    transform: translateX(-50%);
  }

  .fx-wh-hub-section.fwh-await .fx-wh-line {
    stroke-dashoffset: 0;
  }

  .fx-wh-hub-section.fwh-await .fx-wh-dot,
  .fx-wh-hub-section.fwh-await .fx-wh-visual-mobile img {
    opacity: 1;
  }

  .fx-wh-pulse,
  .fx-wh-packet {
    display: none;
  }

  .fwh-entering::before,
  .fwh-entering .fx-wh-title,
  .fwh-entering .fx-wh-subtitle,
  .fwh-entering .fx-wh-node,
  .fwh-entering .fx-wh-line,
  .fwh-entering .fx-wh-dot,
  .fwh-entering .fx-wh-visual-mobile img {
    animation: none;
    opacity: 1;
    visibility: visible;
  }

  .fwh-entering .fx-wh-node--hub,
  .fwh-entering .fx-wh-node--posventa {
    transform: translateX(-50%);
  }

  .fx-wh-hub-section.fwh-lines-flow .fx-wh-line,
  .fx-wh-hub-section.fwh-lines-flow .fx-wh-pulse,
  .fx-wh-hub-section.fwh-lines-flow .fx-wh-node--ventas,
  .fx-wh-hub-section.fwh-lines-flow .fx-wh-node--cobranzas,
  .fx-wh-hub-section.fwh-lines-flow .fx-wh-node--hub,
  .fx-wh-hub-section.fwh-lines-flow .fx-wh-node--posventa,
  .fx-wh-hub-section.fwh-lines-flow .fx-wh-node-float {
    animation: none;
  }

  .fx-wh-hub-section.fwh-lines-flow .fx-wh-node--hub,
  .fx-wh-hub-section.fwh-lines-flow .fx-wh-node--posventa {
    transform: translateX(-50%);
  }
}

/* —— Mobile: padding horizontal unificado (30px) en todas las secciones —— */
@media (max-width: 991px) {
  #fiweex-chats-landing,
  .fx-wh-hub-section,
  .hero-container,
  .fx-dual-views-section,
  .ai-hero-section,
  #chatbot-en-vivo,
  .pricing-section-wrapper {
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box;
  }

  #fiweex-chats-landing .container,
  #chatbot-en-vivo .container,
  .ai-hero-section > .container,
  .fx-wh-wrap,
  .fx-dv-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

