/* Estilos compartidos de la landing DVA Response AI (versión en español y en inglés).
   Los colores de marca están en :root — cámbialos aquí y se aplican a ambas páginas. */

/* ---------- Colores y medidas (mismos tonos que el panel DVA Response AI) ---------- */
:root {
  --ink: #111827;          /* texto principal (gris 900) */
  --ink-soft: #4b5563;     /* texto secundario (gris 600) */
  --ink-muted: #6b7280;    /* texto terciario (gris 500) */
  --line: #e5e7eb;         /* bordes (gris 200) */
  --bg: #f9fafb;           /* fondo general (gris 50) */
  --card: #ffffff;
  --blue: #2563eb;         /* azul de marca (botones del panel) */
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --indigo-soft: #e0e7ff;
  --wa: #15803d;           /* verde WhatsApp con buen contraste */
  --wa-dark: #166534;
  --wa-bubble: #dcfce7;
  --radius: 16px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
svg { display: block; flex-shrink: 0; }

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

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand sup { font-size: 0.55em; font-weight: 600; margin-left: 2px; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar .brand { font-size: 1.25rem; }

/* Menú uniforme (mismo orden que el menú de la app): Inicio · Soluciones · Precios | Idioma · Iniciar sesión · Contratar */
.nav { display: flex; align-items: center; flex: 1; margin-left: 28px; }
.nav-main, .nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-actions { margin-left: auto; }
.nav a, .lang summary {
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background-color .15s;
}
.nav a:hover, .lang summary:hover { color: var(--ink); background: #f3f4f6; }
.nav a[aria-current="page"] { color: var(--ink); background: #f3f4f6; }
.nav a.nav-cta {
  color: #fff; background: var(--ink); font-weight: 600; margin-left: 4px;
}
.nav a.nav-cta:hover { background: #374151; }

/* Selector de idioma: ícono de globo con menú desplegable (sin JavaScript) */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; padding: 8px 10px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lang .chev { transition: transform .15s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 50;
  min-width: 180px; padding: 4px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.1);
}
.nav .lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; color: var(--ink);
}
.lang-menu b { display: inline-block; width: 28px; font-size: 0.75rem; color: #9ca3af; }
.nav .lang-menu a[aria-current="true"] { color: var(--blue-dark); font-weight: 600; background: var(--blue-soft); }

/* Menú "Soluciones" (desplegable por columnas, mismo patrón que el selector de idioma) */
.drop summary { font-weight: 500; padding: 8px 12px; }
.nav .drop-menu { left: 0; right: auto; min-width: 300px; padding: 10px; }
.drop-title {
  margin: 2px 10px 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
}
.nav .drop-menu a { display: block; padding: 10px; }
.drop-item { display: flex; flex-direction: column; gap: 2px; }
.drop-item strong { font-weight: 600; color: var(--ink); }
.drop-item small { font-size: 0.8rem; color: var(--ink-muted); font-weight: 400; }

/* Menú hamburguesa en celular (funciona sin JavaScript) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  width: 40px; height: 40px; border-radius: 8px;
  align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
}
.nav-burger:hover { background: #f3f4f6; }
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Celular y tablet (igual que la app: menú desplegable por debajo de 1024px) */
@media (max-width: 1023px) {
  .nav-burger { display: inline-flex; }
  .nav {
    display: none;
    margin-left: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 10px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
  }
  .nav-main, .nav-actions { flex-direction: column; align-items: stretch; gap: 2px; margin-left: 0; }
  .nav-actions { border-top: 1px solid var(--line); padding-top: 8px; }
  .nav a, .lang summary { padding: 12px; font-size: 1rem; }
  .nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .lang-menu { position: static; box-shadow: none; margin-top: 4px; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* ---------- Portada ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--indigo-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { padding-top: 72px; padding-bottom: 72px; }
/* Texto de la portada centrado; la Bandeja animada va debajo, a todo lo ancho */
.hero-copy { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-copy .cta-row { justify-content: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #bfdbfe;
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.12; letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  /* Centrado y del mismo ancho que el título, para que ambos queden alineados */
  margin: 0 auto 32px; max-width: 32em;
  text-wrap: balance;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 22px;
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-wa {
  color: #fff; background: var(--wa);
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.25);
}
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); }
.btn-link {
  color: var(--ink-soft); font-size: 0.95rem; font-weight: 500;
  padding: 8px 4px;
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: #9ca3af;
}
.btn-link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.cta-note { margin: 16px 0 0; font-size: 0.85rem; color: var(--ink-muted); }

/* ---------- Demostración animada de la Bandeja (réplica de /conversations) ---------- */
.demo { margin-top: 52px; }

/* Pasos que se iluminan al ritmo de la animación */
.demo-steps {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.demo-step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s;
}
.demo-step b {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e5e7eb; color: var(--ink-soft); font-size: 0.75rem;
  transition: background-color .3s, color .3s;
}
.demo-step.is-active { background: #fff; border-color: #93c5fd; color: var(--ink); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15); }
.demo-step.is-active b { background: var(--blue); color: #fff; }

/* Marco de navegador */
.browser {
  background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 60px rgba(30, 58, 138, 0.18);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px;
  background: #f3f4f6; border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #f87171; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.browser-dots span:nth-child(3) { background: #34d399; }
.browser-url {
  flex: 1; max-width: 420px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 12px; font-size: 0.78rem; color: var(--ink-muted);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Bandeja: menú lateral · lista de conversaciones · chat */
.ib {
  position: relative;
  display: grid; grid-template-columns: 190px 270px 1fr;
  height: 540px;
  text-align: left; font-size: 14px; line-height: 1.4;
}
.ib p { margin: 0; }
/* Sin esto, las columnas crecen con los mensajes y el pie del chat se sale del marco */
.ib > *, .ib-chat, .ib-body, .ib-list, .ib-items { min-height: 0; }
.ib svg { display: inline-block; vertical-align: middle; }

.ib-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.ib-brand { font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; padding: 4px 10px 14px; white-space: nowrap; }
.ib-brand sup { font-size: 0.55em; }
.ib-nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #374151; font-size: 0.85rem; }
.ib-nav svg { color: #6b7280; }
.ib-nav.is-active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.ib-nav.is-active svg { color: var(--blue); }

.ib-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.ib-list-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 0.88rem;
}
.ib-chip { font-size: 0.7rem; font-weight: 600; color: #15803d; background: #dcfce7; padding: 2px 8px; border-radius: 999px; }
.ib-search { margin: 10px 12px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: #9ca3af; font-size: 0.8rem; }
.ib-items { overflow: hidden; flex: 1; }
.ib-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f3f4f6; border-left: 4px solid transparent;
}
.ib-item.is-selected { background: var(--blue-soft); border-left-color: #3b82f6; }
.ib-item.is-new { animation: ib-flash 1.4s ease; }
@keyframes ib-flash { from { background-color: #dcfce7; } }
.ib-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 0.85rem;
}
.ib-item-main { min-width: 0; flex: 1; }
.ib-item-name, .ib-item-prev { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-item-name { font-weight: 600; font-size: 0.84rem; color: var(--ink); }
.ib-item-prev { font-size: 0.75rem; color: #9ca3af; }
.ib-badge {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center;
  background: #22c55e; color: #fff; font-size: 0.7rem; font-weight: 700;
}

.ib-chat { display: flex; flex-direction: column; min-width: 0; background: #e5ddd5; }
.ib-chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line);
}
.ib-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ib-person strong { display: block; font-size: 0.9rem; }
.ib-person small { font-size: 0.72rem; color: var(--ink-muted); }
.ib-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  transition: transform .2s, background-color .3s, box-shadow .3s;
}
.ib-pill.is-pressed { transform: scale(0.94); background: var(--blue-dark); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25); }
.ib-pill.is-human { background: #dcfce7; color: #15803d; }
.ib-pill-sm { padding: 5px 10px; font-size: 0.72rem; }

.ib-body {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px;
  scrollbar-width: none;
}
.ib-body::-webkit-scrollbar { display: none; }
.ib-row { display: flex; animation: ib-in .35s ease both; }
.ib-row.out { justify-content: flex-end; }
@keyframes ib-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ib-bubble { max-width: 72%; padding: 8px 14px; border-radius: 16px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); font-size: 0.86rem; }
.in .ib-bubble { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.out .ib-bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.ib-label { font-size: 0.7rem; font-weight: 500; opacity: 0.75; margin-bottom: 2px; }
.ib-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 3px; font-size: 0.68rem; opacity: 0.7; }
.ib-typing { display: inline-flex; gap: 4px; padding: 6px 2px 2px; }
.ib-typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: ib-dot 1s infinite; }
.ib-typing i:nth-child(2) { animation-delay: .15s; }
.ib-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ib-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
.ib-system {
  align-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #bbf7d0; color: #166534;
  font-size: 0.78rem; font-weight: 600;
  animation: ib-in .35s ease both;
}

.ib-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; min-height: 54px;
  background: #f9fafb; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--ink-soft);
}
.ib-foot-text { flex: 1; }
.ib-input { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: #9ca3af; }
.ib-send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }

/* Aviso de "Nuevo pedido desde el bot" (igual que la notificación de la app) */
.ib-toast {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid #22c55e; border-radius: 10px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.15);
  font-size: 0.8rem; color: #16a34a;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.ib-toast.is-on { opacity: 1; transform: none; }
.ib-toast strong { display: block; font-size: 0.82rem; color: var(--ink); }
.ib-toast small { color: var(--ink-muted); }

.demo-caption { margin: 14px 0 0; text-align: center; font-size: 0.8rem; color: var(--ink-muted); }

/* Tablet: sin menú lateral · Celular: solo el chat */
@media (max-width: 1023px) {
  .ib { grid-template-columns: 250px 1fr; }
  .ib-side { display: none; }
}
@media (max-width: 700px) {
  .ib { grid-template-columns: 1fr; height: 500px; }
  .ib-list { display: none; }
  .ib-bubble { max-width: 85%; }
  .ib-person small { display: none; }
  .demo-step { font-size: 0.8rem; }
  .ib-foot-text { font-size: 0.72rem; }
}

@media (max-width: 900px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
}

/* ---------- Secciones generales ---------- */
section { scroll-margin-top: 72px; }
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 0 44px; }
.kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 10px;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2; letter-spacing: -0.02em;
  margin: 0 0 12px; font-weight: 800;
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Cómo funciona ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-dark);
  font-weight: 800; font-size: 1.05rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; line-height: 1.3; margin: 0 0 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Qué incluye ---------- */
.benefits-bg { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 28px 26px;
  background: var(--card);
}
.benefit:nth-child(odd) { border-right: 1px solid var(--line); }
.benefit:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.benefit h3 { font-size: 1.05rem; margin: 2px 0 4px; line-height: 1.35; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

@media (max-width: 760px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit:nth-child(odd) { border-right: 0; }
  .benefit:not(:last-child) { border-bottom: 1px solid var(--line); }
}

/* ---------- Aviso de uso de datos ---------- */
.privacy {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--card);
  border: 1px solid #bfdbfe;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.privacy .icon { width: 52px; height: 52px; }
.privacy h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 0 0 10px; }
.privacy p { margin: 0; font-size: 1.05rem; color: var(--ink); }
.privacy .links { margin-top: 14px; font-size: 0.92rem; color: var(--ink-soft); }
.privacy .links a { color: var(--blue-dark); font-weight: 500; }

@media (max-width: 600px) {
  .privacy { flex-direction: column; padding: 24px 22px; }
}

/* ---------- Pie de página ---------- */
.footer {
  background: var(--ink); color: #d1d5db;
  padding: 56px 0 32px;
  font-size: 0.93rem;
}
.footer .brand { color: #fff; font-size: 1.2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid #374151;
}
.footer h3 {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #9ca3af; margin: 0 0 12px; font-weight: 600;
}
.footer p { margin: 0 0 6px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 22px; font-size: 0.82rem; color: #9ca3af;
}
.footer-legal a { color: #d1d5db; }
/* Último renglón: la misma línea de copyright que las páginas públicas de la app */
.footer-copy {
  margin-top: 32px; padding: 12px 20px 0; border-top: 1px solid #1f2937;
  text-align: center; font-size: 0.75rem; color: #9ca3af;
}
.footer-copy a { color: #60a5fa; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav a { transition: none; }
  .ib-row, .ib-system, .ib-item.is-new, .ib-typing i { animation: none; }
  .demo-step, .ib-pill, .ib-toast { transition: none; }
}

/* ---------- Botón "Contratar": resplandor con latido ----------
   Luces detrás del botón con los colores del logo (magenta, violeta, azul,
   cian, verde y naranja). El halo late como un corazón (dos golpes y pausa)
   mientras los colores giran alrededor. Solo decorativo: el botón se ve
   igual si el navegador no anima. */
.nav a.nav-cta {
  position: relative;
  isolation: isolate; /* mantiene el halo detrás del botón y no del encabezado */
}
.nav a.nav-cta::before {
  content: "";
  position: absolute; inset: -5px; z-index: -2;
  border-radius: 14px;
  background: linear-gradient(90deg,
    #ff2fd0, #7c3aed, #3b82f6, #22d3ee, #22e07a, #ff9a2e, #ff2fd0);
  background-size: 300% 100%;
  filter: blur(9px);
  opacity: 0.55;
  animation: cta-glow-travel 6s linear infinite,
             cta-heartbeat 2.2s ease-in-out infinite;
  pointer-events: none;
}

.nav a.nav-cta::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background-color: inherit; /* misma cara del botón, encima del halo */
}
.nav a.nav-cta:hover::before { filter: blur(11px); }

/* Los colores recorren el halo */
@keyframes cta-glow-travel {
  from { background-position: 0 0; }
  to   { background-position: 300% 0; }
}
/* Latido: golpe fuerte, golpe suave y descanso */
@keyframes cta-heartbeat {
  0%, 38%, 100% { transform: scale(1);    opacity: 0.55; }
  10%           { transform: scale(1.14); opacity: 1; }
  19%           { transform: scale(1.02); opacity: 0.62; }
  28%           { transform: scale(1.09); opacity: 0.88; }
}

/* Si la persona pidió menos movimiento, el halo queda fijo */
@media (prefers-reduced-motion: reduce) {
  .nav a.nav-cta::before { animation: none; opacity: 0.6; }
}
