:root {
  --tinta: #18181b;
  --texto: #3f3f46;
  --suave: #71717a;
  --linea: #e8e8ea;
  --fondo: #f4f4f5;
  --blanco: #fff;
  --sombra: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 50px rgba(24, 24, 27, 0.06);
  --eje: linear-gradient(90deg, #22d3ee 0%, #6366f1 35%, #d946ef 65%, #f97316 100%);
  --radio: 22px;
  --medida: 1120px;
  --fuente: "Plus Jakarta Sans", ui-sans-serif, sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 15px; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  color: var(--tinta);
  font-family: var(--fuente);
  background: #f7f7f8;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #6366f1; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.lucide { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }
.btn .lucide { width: 16px; height: 16px; }

.espectro {
  height: 2px;
  background: var(--eje);
  background-size: 200% 100%;
}
.espectro.is-vivo { animation: recorrer 9s linear infinite; }
@keyframes recorrer { to { background-position: 200% 0; } }

.medida { width: min(var(--medida), calc(100% - 40px)); margin-inline: auto; }
.seccion { padding: 72px 0; }
.ceja {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--suave);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ceja i {
  width: 28px;
  height: 2px;
  background: var(--eje);
  display: block;
}
h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 16ch;
  margin: 18px auto 0;
}
h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 16ch;
}
.intro { color: var(--suave); max-width: 62ch; margin-top: 12px; font-size: 0.95rem; }

.cabeza {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--linea);
}
.cabeza-inner {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo { height: 31px; width: auto; }
.nav { display: flex; gap: 18px; margin: 0 auto; }
.nav a { font-size: 0.8rem; font-weight: 600; color: #3f3f46; }
.cabeza .btn { min-height: 32px; padding: 0 12px; font-size: 0.78rem; font-weight: 650; }
.cabeza .btn .lucide { width: 13px; height: 13px; }
.nav a:hover { color: var(--tinta); }
.acciones { display: flex; align-items: center; gap: 10px; }
.menu { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-linea {
  background: linear-gradient(#fff, #fff) padding-box, var(--eje) border-box;
  border: 1.5px solid transparent;
  color: var(--tinta);
  border-radius: 999px;
}
.btn-linea:hover { background: linear-gradient(#fafafa, #fafafa) padding-box, var(--eje) border-box; }
.btn-blanco {
  background: #fff;
  border-color: #e4e4e7;
  color: var(--tinta);
  border-radius: 999px;
}
.btn-blanco:hover { border-color: #d4d4d8; }
.btn-negro { background: var(--tinta); color: #fff; border-radius: 999px; }
.btn-negro:hover { background: #27272a; }
.btn-ancho { width: 100%; border-radius: 14px; min-height: 52px; }

.hero { padding: 56px 0 28px; text-align: center; }
.pastilla {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0d7ea;
  color: #71717a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.punto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulso 2.2s ease infinite;
}
@keyframes pulso {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
.hero p.bajada {
  max-width: 62ch;
  margin: 22px auto 0;
  color: var(--suave);
  font-size: 0.95rem;
}
.hero-acciones { display: flex; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.checks { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; color: var(--suave); font-size: 0.84rem; }
.checks span { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { color: #16a34a; }

.tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.pieza, .tarjeta, .plan, .paso, .faq-caja, .formulario, .panel, .contraste article, .canal {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  box-shadow: var(--sombra);
}
.pieza { padding: 22px 22px 20px; text-align: left; position: relative; overflow: hidden; }
.pieza::before, .mod::before, .plan::before, .argumento::before, .panel::before, .cierre-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  height: 22px;
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-image: var(--eje);
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: top;
  pointer-events: none;
}
.pieza h3, .mod h3, .plan h3 { font-size: 0.98rem; margin: 12px 0 6px; }
.pieza p, .mod p, .plan p, .argumento p { color: var(--suave); font-size: 0.88rem; }

.cifras {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eee;
  overflow: hidden;
  box-shadow: var(--sombra);
}
.cifra { padding: 22px 20px; }
.cifra + .cifra { border-left: 1px solid #eee; }
.cifra strong { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.cifra span { color: var(--suave); font-size: 0.92rem; }
.cifra small { display: block; color: #a1a1aa; margin-top: 4px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.pills span, .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e4e4e7;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3f3f46;
}
.pills svg, .pills img { width: 15px; height: 15px; color: #52525b; display: block; }

.panel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: visible;
  position: relative;
}
.lado {
  padding: 16px 12px;
  border-right: 1px solid #f0f0f1;
  background: #fcfcfd;
  border-radius: 18px 0 0 18px;
}
.lado p { color: #a1a1aa; font-size: 0.75rem; margin: 18px 8px 0; }
.mod-btn, .flujo-btn {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font-weight: 650;
  color: #52525b;
}
.mod-btn { border-radius: 10px; padding: 7px 8px; font-weight: 600; font-size: 0.78rem; }
.mod-nombre, .flujo-copia { display: flex; align-items: center; gap: 8px; min-width: 0; }
.flujo-copia { align-items: flex-start; }
.flujo-copia small { display: block; }
.mod-btn svg, .flujo-btn svg, .fila-credito svg, .lista-cierre svg { width: 16px; height: 16px; flex-shrink: 0; }
.flujo-btn.is-on { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); color: var(--tinta); }
.mod-btn.is-on {
  background: #ececef;
  color: #18181b;
  box-shadow: inset 3px 0 0 #18181b;
}
.mod-btn b {
  font-size: 0.68rem;
  font-weight: 700;
  background: #f4f4f5;
  color: #71717a;
  border-radius: 999px;
  padding: 1px 7px;
}
.mod-btn.is-on b { background: #fff; color: #18181b; }
.estado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1;
  border-radius: 999px;
  padding: 4px 11px 4px 8px;
}
.estado::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.cuerpo { padding: 14px 16px 16px; }
.cuerpo-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.cuerpo-top strong { font-size: 0.84rem; font-weight: 650; }
.en-vivo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.vista { display: none; }
.vista.is-on { display: block; animation: entra 0.45s ease; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } }
.metricas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.metrica { background: #f6f7f9; border-radius: 12px; padding: 10px 12px 12px; position: relative; cursor: default; }
.metrica em { font-style: normal; font-size: 0.6rem; letter-spacing: 0.07em; color: #a1a1aa; font-weight: 700; }
.metrica strong { display: block; font-size: 1.15rem; letter-spacing: -0.03em; font-weight: 700; margin: 4px 0 1px; }
.metrica > span { color: var(--suave); font-size: 0.7rem; }
.barras { display: flex; align-items: flex-end; gap: 3px; height: 32px; margin-top: 8px; }
.barras i {
  flex: 1;
  display: block;
  border-radius: 2px 2px 0 0;
  background: #e4e4e7;
  transform: scaleY(0.15);
  transform-origin: bottom;
  animation: crece 0.8s ease forwards;
}
.barras i:nth-child(n + 5) { background: #d4d4d8; }
.barras i:nth-child(n + 8) { background: #a1a1aa; }
.barras i:nth-child(n + 11) { background: #52525b; }
.barras i:nth-child(n + 14) { background: #18181b; }
.logica {
  display: none;
  position: absolute;
  z-index: 6;
  left: 8px;
  bottom: calc(100% - 6px);
  width: 230px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(24, 24, 27, 0.12);
  padding: 10px 12px 12px;
  overflow: hidden;
}
.logica .espectro { position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.logica b {
  display: block;
  margin-top: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a1a1aa;
  font-weight: 700;
}
.logica p { margin-top: 6px; font-size: 0.75rem; line-height: 1.45; color: #3f3f46; font-weight: 500; }
.metrica:hover .logica, .metrica:focus-within .logica { display: block; }
@keyframes crece { to { transform: scaleY(1); } }
.cola { margin-top: 12px; background: #f6f7f9; border-radius: 14px; padding: 8px; }
.fila-cola, .fila-credito {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
  font-size: 0.75rem;
}
.fila-credito { font-size: 0.92rem; padding: 12px 14px; margin-top: 8px; }
.fila-credito span { display: inline-flex; align-items: center; gap: 10px; }
.estado.ok { background: color-mix(in srgb, #16a34a 14%, #fff); color: #15803d; }
.estado.wait { background: color-mix(in srgb, #64748b 12%, #fff); color: #52525b; }
.estado.ia { background: color-mix(in srgb, #3b82f6 14%, #fff); color: #2563eb; }
.leyenda { text-align: center; color: #a1a1aa; font-size: 0.78rem; letter-spacing: 0.12em; margin-top: 14px; text-transform: uppercase; }

.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.mod { position: relative; padding: 22px; overflow: hidden; background: #fff; border: 1px solid #eee; border-radius: 18px; box-shadow: var(--sombra); }
.mod .ico, .pieza .ico {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid #eee;
  display: grid; place-items: center; color: #3f3f46; background: #fafafa;
}
.mod .ico svg, .pieza .ico svg { width: 18px; height: 18px; }
.mod .pie-mod {
  margin-top: 28px; padding-top: 12px; border-top: 1px solid #f4f4f5;
  display: flex; justify-content: space-between; color: #a1a1aa; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
}
.kicker { color: #a1a1aa; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }

.flujos { display: grid; gap: 16px; margin-top: 28px; }
.flujo-lado { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.flujo-btn {
  background: #fff; border: 1px solid #eee; margin: 0; border-radius: 16px;
  padding: 16px 18px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--sombra); min-height: 84px;
}
.flujo-copia { flex-direction: column; align-items: flex-start; gap: 3px; }
.flujo-btn strong { font-size: 0.92rem; font-weight: 650; line-height: 1.25; }
.flujo-btn small { display: block; color: var(--suave); font-weight: 500; font-size: 0.78rem; line-height: 1.35; margin: 0; }
.flujo-btn .ico { width: 36px; height: 36px; border-radius: 10px; background: #f4f4f5; display: grid; place-items: center; flex-shrink: 0; }
.flujo-btn.is-on { background: #ececef; box-shadow: inset 3px 0 0 #18181b; }
.flujo-btn.is-on .ico { background: #18181b; color: #fff; }
.teatro { position: relative; min-height: 320px; margin-top: 4px; }
.ventana { display: none; position: relative; }
.ventana.is-on { display: block; }
.sim {
  overflow: hidden; border-radius: 16px; border: 1px solid #243044;
  background: #10192c; box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}
.sim-chrome {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.4); font-size: 0.68rem;
}
.sim-chrome span:last-child { margin-inline: auto; }
.puntos { display: inline-flex; gap: 5px; }
.puntos i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); display: block; }
.puntos i:last-child { background: #22d3ee; }
.sim-cuerpo { padding: 14px 14px 16px; }
.sim-head, .sim-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sim-head strong { color: rgba(255,255,255,.88); font-size: 0.82rem; }
.sim-chip {
  border-radius: 999px; padding: 2px 8px; font-size: 0.62rem; font-weight: 700;
  color: #67e8f9; background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.28);
}
.sim-meta { margin-top: 10px; color: rgba(255,255,255,.38); font-size: 0.62rem; }
.sim-track { height: 6px; margin: 6px 0 12px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.sim-fila {
  display: flex; align-items: center; gap: 10px;
  margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05);
}
.sim-fila b { display: block; color: rgba(255,255,255,.9); font-size: 0.78rem; font-weight: 650; }
.sim-fila small { display: block; color: rgba(255,255,255,.42); font-size: 0.68rem; }
.ini {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 0.62rem; font-weight: 800;
  color: #c4b5fd; background: rgba(99,102,241,.28);
}
.chip { border-radius: 999px; padding: 2px 8px; font-size: 0.62rem; font-weight: 700; flex-shrink: 0; }
.chip.azul { color: #93c5fd; background: rgba(59,130,246,.16); }
.chip.indigo { color: #c4b5fd; background: rgba(99,102,241,.2); }
.chip.verde { color: #6ee7b7; background: rgba(16,185,129,.16); }
.chip.gris { color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.aviso {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 12px; padding: 8px 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .16);
}
.aviso svg { width: 16px; height: 16px; color: #6366f1; }
.aviso b { display: block; font-size: 0.72rem; color: #18181b; }
.aviso small { display: block; font-size: 0.65rem; color: #71717a; }
.aviso-a { left: 12px; top: -16px; }
.aviso-b { right: 8px; bottom: -18px; animation-delay: 1.2s; }
@keyframes eje-flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes eje-fila {
  0% { opacity: 0; transform: translateX(-8px); }
  8%, 80% { opacity: 1; transform: translateX(0); }
  92%, 100% { opacity: 0; }
}
@keyframes eje-prog { 0% { width: 18%; } 40%, 82% { width: 76%; } 100% { width: 18%; } }
@keyframes eje-pulso { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.ventana.is-play .eje-flota { animation: eje-flotar 4s ease-in-out infinite; }
.ventana.is-play .eje-fila { animation: eje-fila 6.4s ease-in-out infinite; opacity: 0; }
.ventana.is-play .eje-fila.d2 { animation-delay: .5s; }
.ventana.is-play .eje-fila.d3 { animation-delay: 1s; }
.ventana.is-play .eje-fila.d4 { animation-delay: 1.35s; }
.ventana.is-play .eje-fila.d5 { animation-delay: 1.8s; }
.ventana.is-play .eje-fila.d6 { animation-delay: 2.25s; }
.ventana.is-play.is-larga .eje-fila,
.ventana.is-play.is-larga .eje-prog { animation-duration: 8.6s; }
.ventana.is-play .eje-prog { animation: eje-prog 6.4s ease-in-out infinite; display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #22d3ee, #6366f1 55%, #d946ef); }
.ventana.is-play .eje-pulso { animation: eje-pulso 2.4s ease-in-out infinite; }

.traza {
  background: #0c1424;
  color: #fff;
}
.traza .ventana { margin: 18px 4px 22px; }
.traza-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.traza h2, .pie h2 { color: #fff; }
.traza .intro { color: #a1a1aa; }
.modelos { margin-top: 22px; }
.modelos p { color: #a1a1aa; font-size: 0.85rem; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button {
  border: 0; border-radius: 999px; padding: 8px 12px; background: #1c2740; color: #e4e4e7; cursor: pointer; font-weight: 700;
}
.chips button.is-on { background: #2563eb; color: #fff; }
.nota-modelo {
  margin-top: 16px; border: 1px solid #243044; border-radius: 14px; padding: 12px 14px;
  display: flex; justify-content: space-between; gap: 12px; background: rgba(8, 14, 28, 0.7);
}
.nota-modelo b { color: #22d3ee; }
.consola {
  background: #10192c;
  border: 1px solid #243044;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.consola-top { display: flex; justify-content: space-between; color: #a1a1aa; font-size: 0.85rem; }
.trazo { margin-top: 14px; }
.trazo li {
  list-style: none;
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  padding: 8px 0;
  color: #71717a;
}
.trazo { margin: 14px 0 0; padding: 0; }
.trazo li.is-on { color: #e4e4e7; }
.trazo li i { width: 8px; height: 8px; border-radius: 50%; background: #27272a; margin-top: 6px; }
.trazo li.is-on i { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.trazo small { display: block; color: #71717a; }

.contraste { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.contraste article { padding: 22px; }
.contraste .sin { background: #18181b; color: #fff; }
.contraste h3 { margin: 8px 0 14px; font-size: 1.35rem; letter-spacing: -0.03em; }
.contraste li { margin: 10px 0; color: #d4d4d8; display: flex; gap: 10px; align-items: flex-start; }
.contraste .sin li { color: #d4d4d8; }
.contraste .con li { color: #3f3f46; }
.contraste ul { margin: 0; padding: 0; list-style: none; }
.contraste svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.contraste .sin svg { color: #f87171; }
.contraste .con svg { color: #16a34a; }

.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.plan { position: relative; padding: 22px; overflow: hidden; }
.plan .bolsa { font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; margin: 18px 0 4px; }
.plan ul { margin: 16px 0 0; padding-left: 18px; color: #3f3f46; }
.plan li { margin: 8px 0; }
.plan.is-medio { background: #18181b; color: #fff; }
.plan.is-medio p, .plan.is-medio li { color: #d4d4d8; }

.calculadora { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 28px; align-items: stretch; }
.controles, .criterios {
  background: #fff; border: 1px solid #eee; border-radius: 18px; box-shadow: var(--sombra);
}
.controles { padding: 8px 22px 18px; }
.control { padding: 16px 0; border-bottom: 1px solid #f0f0f1; }
.control:last-child { border-bottom: 0; }
.control-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.control-top label, .control-top span { font-weight: 650; }
.control-top strong { font-size: 1.55rem; letter-spacing: -0.04em; font-weight: 800; }
.control input[type="range"] { width: 100%; margin-top: 14px; accent-color: #18181b; }
.control-escala { display: flex; justify-content: space-between; color: #a1a1aa; font-size: 0.75rem; margin-top: 4px; }
.paso { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #e4e4e7; border-radius: 999px; padding: 4px; }
.paso button {
  width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f4f4f5;
  cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.paso button:disabled { opacity: .35; cursor: default; }
.paso strong { min-width: 1.8rem; text-align: center; font-size: 1rem; }
.calculadora .ayuda, .notas-plan { color: var(--suave); font-size: 0.82rem; line-height: 1.45; }
.resultado { display: flex; flex-direction: column; justify-content: center; padding: 28px 24px; }
.resultado h3 { font-size: 1.7rem; letter-spacing: -0.04em; margin: 6px 0; }
.resultado .precio { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.05em; color: var(--tinta); margin: 4px 0 10px; }
.resultado .precio small { font-size: .95rem; font-weight: 650; color: var(--suave); letter-spacing: 0; }
.resultado .btn { margin-top: 18px; align-self: flex-start; }
.resultado.is-cotizar { background: #18181b; color: #fff; }
.resultado.is-cotizar h3, .resultado.is-cotizar .kicker { color: #fff; }
.resultado.is-cotizar p { color: #d4d4d8; }
.resultado.is-cotizar .btn-linea { background: linear-gradient(#fff, #fff) padding-box, var(--eje) border-box; }
.axis-demo {
  margin-top: 28px; display: grid; grid-template-columns: 228px 1fr; min-height: 640px;
  background: #f3f4f6; border: 1px solid #e7e7ea; border-radius: 18px; overflow: hidden; box-shadow: var(--sombra);
}
.axis-side { background: #fff; border-right: 1px solid #eee; padding: 16px 12px 12px; display: flex; flex-direction: column; min-height: 0; }
.axis-side img { align-self: flex-start; height: 28px; width: auto; max-width: none; margin: 4px 6px 12px; }
.axis-org { margin: 0 6px 8px; }
.axis-org b { display: block; font-size: 0.84rem; }
.axis-org small { display: block; color: #a1a1aa; font-size: 0.72rem; }
.axis-org::after { content: ""; display: block; height: 2px; margin-top: 10px; border-radius: 99px; background: var(--eje); }
.axis-side nav { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; overflow: auto; }
.axis-side span { margin: 12px 8px 4px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #a1a1aa; }
.axis-side button {
  display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent;
  border-radius: 10px; min-height: 34px; padding: 0 8px; cursor: pointer; font-weight: 600; font-size: 0.84rem; text-align: left; color: #3f3f46;
}
.axis-side button svg { width: 16px; height: 16px; color: #71717a; }
.axis-side button.is-on { background: #f4f4f5; color: #18181b; }
.axis-side button.is-on svg { color: #6366f1; }
.axis-side em { margin-left: auto; font-style: normal; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #a1a1aa; background: #f4f4f5; border-radius: 999px; padding: 2px 6px; }
.axis-user { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 6px 0; border-top: 1px solid #f0f0f1; }
.axis-user > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--eje); color: #fff; font-size: 0.68rem; font-weight: 800; }
.axis-user b { display: block; font-size: 0.8rem; }
.axis-user small { color: #a1a1aa; font-size: 0.7rem; }
.axis-trabajo { min-width: 0; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.axis-barra { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.axis-barra strong { display: block; font-size: 0.95rem; }
.axis-barra small { color: #a1a1aa; font-size: 0.75rem; }
.axis-buscar { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #eee; border-radius: 999px; padding: 0 12px; min-height: 36px; color: #a1a1aa; }
.axis-buscar input { border: 0; outline: 0; min-width: 140px; background: transparent; color: #18181b; }
.axis-buscar svg { width: 15px; height: 15px; }
.axis-vista { display: none; }
.axis-vista.is-on { display: block; }
.axis-card { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 16px 16px 8px; }
.axis-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.axis-card h3 { font-size: 1.05rem; }
.axis-card-top p, .axis-otro p { color: #71717a; font-size: 0.82rem; margin-top: 2px; }
.axis-excel { border: 1px solid #e4e4e7; background: #fff; border-radius: 10px; min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 650; font-size: 0.8rem; }
.axis-excel svg { width: 14px; height: 14px; }
.axis-filtros { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.axis-filtros small { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #a1a1aa; margin-bottom: 6px; }
.axis-filtros div div { display: flex; gap: 6px; flex-wrap: wrap; }
.axis-filtros button { border: 0; background: #f4f4f5; border-radius: 999px; min-height: 28px; padding: 0 10px; cursor: pointer; font-size: 0.78rem; font-weight: 650; color: #3f3f46; }
.axis-filtros button.is-on { background: #fff; box-shadow: inset 0 0 0 1px #d4d4d8; color: #18181b; }
.axis-tabla-wrap { overflow-x: auto; }
.axis-tabla { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.axis-tabla th { text-align: left; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: #a1a1aa; font-weight: 700; padding: 8px 8px; border-bottom: 1px solid #f0f0f1; }
.axis-tabla td { padding: 10px 8px; border-bottom: 1px solid #f6f6f7; vertical-align: middle; color: #3f3f46; }
.axis-tabla td:first-child { color: #18181b; white-space: nowrap; }
.axis-tabla td:first-child .av { display: inline-grid; vertical-align: middle; margin-right: 8px; }
.axis-tabla td:first-child div { display: inline-block; vertical-align: middle; white-space: normal; }
.axis-tabla td b { display: block; font-size: 0.82rem; }
.axis-tabla td small, .axis-tabla td:last-child small { display: block; color: #a1a1aa; font-size: 0.72rem; }
.axis-tabla tr.is-on td { background: #fafafa; }
.axis-tabla tr[hidden] { display: none; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 0.62rem; font-weight: 800; flex-shrink: 0; }
.doc { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; vertical-align: middle; margin-right: 8px; background: #f4f4f5; color: #71717a; }
.doc svg { width: 14px; height: 14px; }
.av-a { background: #6366f1; } .av-b { background: #18181b; } .av-c { background: #f59e0b; } .av-d { background: #ec4899; } .av-e { background: #0ea5e9; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 8px; font-style: normal; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.axis-vista[data-vista="conocimiento"] .axis-tabla td,
.axis-vista[data-vista="conocimiento"] .axis-tabla th { white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: #15803d; background: #ecfdf3; }
.pill.wait { color: #b45309; background: #fff7ed; }
.pill.asignar { color: #c2410c; background: #fff1e6; }
.pill.azul { color: #2563eb; background: #eff6ff; }
.pill.gris { color: #52525b; background: #f4f4f5; }
.axis-pie-tabla { padding: 10px 4px 8px; color: #a1a1aa; font-size: 0.75rem; }
.axis-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; align-items: start; }
.hilo { width: 100%; border: 0; border-bottom: 1px solid #f4f4f5; background: transparent; text-align: left; padding: 10px 4px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; }
.hilo.is-on { background: #fafafa; border-radius: 10px; }
.hilo b { font-size: 0.84rem; }
.hilo small, .hilo span, .hilo i { color: #71717a; font-size: 0.75rem; font-style: normal; }
.hilo span { grid-column: 1 / -1; }
.eje-chat { display: none; flex-direction: column; gap: 8px; min-height: 280px; padding-bottom: 12px; }
.eje-chat.is-on { display: flex; }
.eje-chat span { max-width: 78%; border-radius: 14px; padding: 8px 12px; font-size: 0.84rem; line-height: 1.4; }
.eje-chat .usu { align-self: flex-end; background: #e7f6df; color: #166534; }
.eje-chat .age { align-self: flex-start; background: #f4f4f5; color: #18181b; }
.axis-otro { min-height: 220px; }
.axis-vista.is-play .axis-tabla tbody tr, .axis-vista.is-play .hilo, .axis-vista.is-play .eje-chat.is-on span {
  animation: axis-entra .45s ease both;
}
.axis-vista.is-play .axis-tabla tbody tr:nth-child(2), .axis-vista.is-play .hilo:nth-child(2), .axis-vista.is-play .eje-chat.is-on span:nth-child(2) { animation-delay: .06s; }
.axis-vista.is-play .axis-tabla tbody tr:nth-child(3), .axis-vista.is-play .hilo:nth-child(3), .axis-vista.is-play .eje-chat.is-on span:nth-child(3) { animation-delay: .12s; }
.axis-vista.is-play .axis-tabla tbody tr:nth-child(4), .axis-vista.is-play .eje-chat.is-on span:nth-child(4) { animation-delay: .18s; }
.axis-vista.is-play .axis-tabla tbody tr:nth-child(5) { animation-delay: .24s; }
@keyframes axis-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.crm-pies { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.crm-pies b { display: block; font-size: 0.9rem; }
.crm-pies span { display: block; color: var(--suave); font-size: 0.82rem; margin-top: 2px; }
.crm-pies .marcas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 10px; color: #3f3f46; }
.crm-pies .marcas i { display: inline-flex; align-items: center; gap: 14px; font-style: normal; font-weight: 650; font-size: 0.82rem; }
.crm-pies .marcas img { width: 16px; height: 16px; display: block; flex-shrink: 0; }
.axis-demo { min-height: 560px; }
.axis-demo .axis-side img { height: 22px; }
.axis-demo .axis-org b { font-size: 0.72rem; }
.axis-demo .axis-org small { font-size: 0.62rem; }
.axis-demo .axis-side span { font-size: 0.58rem; }
.axis-demo .axis-side button { min-height: 28px; font-size: 0.72rem; }
.axis-demo .axis-side button svg { width: 14px; height: 14px; }
.axis-demo .axis-user { align-items: center; gap: 8px; }
.axis-demo .axis-user > span { width: 26px; height: 26px; font-size: 0.58rem; flex-shrink: 0; }
.axis-demo .axis-user b { display: block; font-size: 0.68rem; line-height: 1.1; }
.axis-demo .axis-user small { display: block; font-size: 0.58rem; line-height: 1.1; margin-top: 1px; }
.axis-demo .axis-barra strong { font-size: 0.78rem; }
.axis-demo .axis-barra small { font-size: 0.62rem; }
.axis-demo .axis-buscar { min-height: 30px; }
.axis-demo .axis-buscar input { font-size: 0.72rem; }
.axis-demo .axis-card { padding: 12px 12px 6px; }
.axis-demo .axis-card h3 { font-size: 0.86rem; }
.axis-demo .axis-card-top p { font-size: 0.68rem; }
.axis-demo .axis-excel { min-height: 28px; font-size: 0.68rem; }
.axis-demo .axis-filtros button { min-height: 24px; font-size: 0.66rem; }
.axis-demo .axis-tabla { font-size: 0.68rem; }
.axis-demo .axis-tabla th { font-size: 0.58rem; padding: 6px; }
.axis-demo .axis-tabla td { padding: 7px 6px; }
.axis-demo .axis-tabla td b { font-size: 0.7rem; }
.axis-demo .axis-tabla td small { font-size: 0.58rem; }
.axis-demo .av, .axis-demo .doc { width: 22px; height: 22px; font-size: 0.52rem; }
.axis-demo .pill { font-size: 0.6rem; padding: 2px 6px; }
.axis-demo .axis-pie-tabla { font-size: 0.62rem; }
.axis-demo .hilo { padding: 8px 4px; }
.axis-demo .hilo b { font-size: 0.72rem; }
.axis-demo .hilo small, .axis-demo .hilo span, .axis-demo .hilo i { font-size: 0.64rem; }
.axis-demo .eje-chat { min-height: 200px; gap: 6px; }
.axis-demo .eje-chat span { font-size: 0.7rem; padding: 6px 10px; }

.btn-detalle {
  margin-top: 16px; border: 1px solid #e4e4e7; background: #fff; border-radius: 999px;
  min-height: 36px; padding: 0 14px; font-weight: 650; font-size: 0.84rem; cursor: pointer;
}
.btn-detalle:hover { border-color: #d4d4d8; }
.detalle-planes {
  margin-top: 14px; background: #fff; border: 1px solid #eee; border-radius: 18px;
  box-shadow: var(--sombra); padding: 22px 22px 8px;
}
.detalle-planes h3 { font-size: 1.15rem; letter-spacing: -0.03em; margin: 0 0 6px; }
.detalle-planes .ayuda { margin: 0 0 8px; }
.tabla-wrap { overflow-x: auto; }
.tabla-planes { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.tabla-planes th, .tabla-planes td { padding: 12px 10px; border-bottom: 1px solid #f0f0f1; text-align: center; }
.tabla-planes thead th { color: #71717a; font-size: 0.82rem; font-weight: 700; }
.tabla-planes tbody th, .tabla-planes thead th:first-child { text-align: left; color: #3f3f46; font-weight: 500; }
.tabla-planes tbody th { white-space: nowrap; }
.tabla-planes tbody th img { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 8px; }
.tabla-planes .is-on { background: #fafafa; color: #18181b; font-weight: 700; }

.canales { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.canal { padding: 18px; text-align: center; font-weight: 700; }
.canal span { display: block; font-weight: 500; color: var(--suave); font-size: 0.82rem; margin-top: 4px; }
.marca-canal {
  width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 10px;
  display: grid; place-items: center; color: #fff;
}
.marca-canal svg, .marca-canal img { width: 22px; height: 22px; }
.marca-canal.marca-real { background: #f4f4f5; }
.wa { background: #25d366; }
.ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.ms { background: #0084ff; }
.web { background: #18181b; }
.cal { background: #6366f1; }
.form { background: #0ea5e9; }
.arc { background: #f97316; }
.api { background: #27272a; }

.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
.faq-caja { padding: 8px 22px; }
.faq-caja details { border-bottom: 1px solid #f0f0f1; }
.faq-caja details:last-child { border-bottom: 0; }
.faq-caja summary { cursor: pointer; font-weight: 650; font-size: 0.92rem; padding: 14px 0; }
.faq-caja p { color: var(--suave); font-size: 0.88rem; padding-bottom: 12px; }

.cierre-card {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 22px;
  box-shadow: var(--sombra);
  padding: 44px 48px;
}
.cierre { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lista-cierre { margin: 18px 0 0; padding: 0; list-style: none; }
.lista-cierre li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.lista-cierre svg { color: #6366f1; margin-top: 3px; }
.formulario { padding: 28px 26px; background: #f4f5f7; border: 0; border-radius: 16px; box-shadow: none; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo.ancho { grid-column: 1 / -1; }
.campo span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; color: #71717a; }
.campo input, .campo textarea {
  min-height: 44px; border: 1px solid #e4e4e7; border-radius: 12px; padding: 10px 14px; background: #fff;
  font-size: 0.84rem; font-weight: 500;
}
.campo input::placeholder, .campo textarea::placeholder { color: #a1a1aa; font-size: 0.84rem; font-weight: 400; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16); }
.campo textarea { min-height: 96px; resize: vertical; }
.campo.is-error input, .campo.is-error textarea { border-color: #dc2626; box-shadow: none; }
.error { color: #dc2626; font-size: 0.75rem; }
.error:empty { display: none; }
.leyenda-datos { margin: 12px 0 0; text-align: center; color: #71717a; font-size: 0.78rem; line-height: 1.45; }
.enviado { display: none; min-height: 180px; align-items: center; font-weight: 750; }
.enviado.is-on { display: flex; }
form.is-off { display: none; }

.pie { background: #0c1424; color: #a1a1aa; padding: 0 0 18px; position: relative; font-size: 12.5px; line-height: 1.45; }
.pie-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 0.9fr; gap: 28px; padding-top: 28px; align-items: start; }
.pie-logo { height: 40px; width: auto; }
.pie-marca p { max-width: 42ch; margin-top: 12px; font-size: 12.5px; line-height: 1.5; }
.pie-contacto { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.pie-contacto a, .pie-col a, .pie-col p { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; }
.pie-col p { display: block; }
.pie-contacto svg { width: 13px; height: 13px; }
.redes { display: flex; gap: 8px; margin-top: 16px; }
.redes a {
  width: 30px; height: 30px; margin: 0; border-radius: 50%; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28); display: grid; place-items: center;
}
.redes a:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.redes svg { width: 13px; height: 13px; }
.pie-col { display: flex; flex-direction: column; gap: 7px; padding-top: 4px; }
.pie-col span { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; color: #71717a; }
.pie a:hover { color: #fff; }
.legal {
  margin-top: 22px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.04em;
}
.legal a { margin: 0; font-size: 11px; }
.pagina-aviso { padding: 48px 0 72px; }
.pagina-aviso h1 { margin: 10px 0 0; text-align: left; max-width: 16ch; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.pagina-aviso h2 { font-size: 0.95rem; max-width: none; margin-top: 26px; }
.pagina-aviso p, .pagina-aviso li { color: var(--texto); font-size: 0.92rem; max-width: 68ch; margin-top: 8px; }
.pagina-aviso ul { margin: 0; padding-left: 18px; }

.hoja { display: none; }
.chat-burbuja {
  max-width: 80%;
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  margin-top: 8px;
  animation: entra 0.35s ease;
}
.chat-burbuja.yo { margin-left: auto; background: #18181b; color: #fff; }

@media (max-width: 900px) {
  .nav, .acciones .btn-negro { display: none; }
  .menu {
    display: inline-flex; width: 32px; height: 32px; border-radius: 10px;
    border: 1px solid var(--linea); background: #fff; align-items: center; justify-content: center;
  }
  .menu span, .menu span::before, .menu span::after {
    display: block; width: 16px; height: 2px; background: var(--tinta); position: relative;
  }
  .menu span::before, .menu span::after { content: ""; position: absolute; left: 0; }
  .menu span::before { top: -5px; }
  .menu span::after { top: 5px; }
  .hoja.is-on {
    display: flex; flex-direction: column; position: absolute; left: 16px; right: 16px; top: 60px;
    background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--sombra); border: 1px solid #eee;
  }
  .hoja a { padding: 12px; font-weight: 700; }
  .tres, .cifras, .panel, .mods, .flujos, .traza-grid, .contraste, .planes, .canales, .faq, .cierre, .pie-grid, .campos {
    grid-template-columns: 1fr;
  }
  .cifra + .cifra { border-left: 0; border-top: 1px solid #eee; }
  .lado { border-right: 0; border-bottom: 1px solid #f0f0f1; }
  h1, h2 { max-width: none; }
  .metricas, .flujo-lado, .calculadora, .crm-pies, .axis-split { grid-template-columns: 1fr; }
  .axis-demo { grid-template-columns: 1fr; min-height: 0; }
  .axis-side nav { flex-direction: row; overflow-x: auto; }
  .axis-side span, .axis-user { display: none; }
  .axis-side button { width: auto; white-space: nowrap; }
  .aviso-a, .aviso-b { position: static; margin: 8px 0 0; animation: none; display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
