/* Agentes AI by Cuatro Monos — hoja de estilos
   Paleta heredada del reel: azul noche, índigo, cian y verde. */

:root {
  --bg: #05070f;
  --bg-2: #0b1022;
  --bg-3: #101a3a;
  --card: #171b26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --indigo: #4f63ff;
  --indigo-soft: #8b98ff;
  --indigo-tint: #c7ceff;
  --cyan: #22d3ee;
  --sky: #38bdf8;
  --green: #22c55e;
  --red: #ff6b6b;
  --amber: #fbbf24;
  --text: #e8ebf5;
  --text-2: #c3c9da;
  --muted: #9aa3b8;
  --muted-2: #6f7890;
  --grad: linear-gradient(90deg, var(--cyan), var(--indigo));
  --grad-text: linear-gradient(90deg, #22d3ee, #8b98ff);
  --shadow-cta: 0 18px 50px rgba(79, 99, 255, 0.45);
  --radius: 24px;
  --radius-sm: 16px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1296px;
  --gutter: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
a { color: var(--indigo-soft); text-decoration: none; }
a:hover { color: var(--indigo-tint); }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ---------- Utilidades ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo-soft);
}
.eyebrow--cyan { color: var(--sky); }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.lead { font-size: clamp(15px, 1.2vw, 17px); color: var(--muted); line-height: 1.65; }
.section { padding-block: clamp(72px, 8vw, 120px); position: relative; }
.section__head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: clamp(36px, 4vw, 56px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn--primary { background: var(--grad); box-shadow: 0 12px 34px rgba(79, 99, 255, 0.35); font-weight: 800; }
.btn--primary:hover { box-shadow: var(--shadow-cta); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }

.check-list { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--text); }
.check-list svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
.check-list--compact li { font-size: 13px; color: var(--text-2); gap: 9px; }
.check-list--compact svg { width: 16px; height: 16px; margin-top: 3px; }

/* ---------- Fondo ---------- */
.glow { position: absolute; border-radius: 999px; pointer-events: none; z-index: 0; }
.glow--indigo { top: -260px; left: -180px; width: 900px; height: 900px; background: radial-gradient(circle, rgba(79, 99, 255, 0.34) 0%, rgba(79, 99, 255, 0) 62%); }
.glow--cyan { top: 120px; right: -240px; width: 820px; height: 820px; background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 60%); }
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 900px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 900px);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 16px; }
.nav__brand img { height: 38px; width: auto; }
.nav__tag { font-size: 13px; font-weight: 600; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line-strong); }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav__links a { color: var(--text-2); }
.nav__links a:hover { color: #fff; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) clamp(48px, 5vw, 80px); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  height: 34px; padding: 0 14px 0 8px; border-radius: 999px;
  border: 1px solid rgba(139, 152, 255, 0.35); background: rgba(79, 99, 255, 0.12);
  font-size: 13px; font-weight: 600; color: var(--indigo-tint);
}
.pill__dot { width: 18px; height: 18px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
.hero__title { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 560px; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2);
}
.chip svg { width: 16px; height: 16px; }

/* Maqueta de la bandeja (hecha en CSS) */
.hero__visual { position: relative; min-height: 560px; }
.mock {
  position: absolute; inset: 44px -40px 40px 10px;
  display: grid; grid-template-columns: 300px 1fr;
  border-radius: 18px; overflow: hidden;
  background: #0d1120; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(79, 99, 255, 0.15);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  font-size: 12px;
}
.mock__list { border-right: 1px solid var(--line); display: flex; flex-direction: column; background: #0b0f1c; }
.mock__list-head { padding: 16px 16px 10px; display: flex; flex-direction: column; gap: 10px; }
.mock__list-head strong { font-size: 15px; color: #fff; }
.mock__tabs { display: flex; gap: 6px; }
.mock__tab { padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 11px; font-weight: 600; }
.mock__tab--on { background: rgba(79, 99, 255, 0.25); color: var(--indigo-tint); }
.mock__row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); }
.mock__row--on { background: rgba(79, 99, 255, 0.12); }
.mock__avatar { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; font-size: 11px; color: #fff; background: #1f2a4a; position: relative; }
.mock__avatar i { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 999px; display: grid; place-items: center; border: 2px solid #0b0f1c; }
.mock__avatar i svg { width: 9px; height: 9px; }
.mock__name { color: #fff; font-weight: 700; line-height: 1.2; }
.mock__preview { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.mock__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mock__time { color: var(--muted-2); font-size: 10px; }
.mock__stage { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.stage--nuevo { background: rgba(56, 189, 248, 0.18); color: var(--sky); }
.stage--contactado { background: rgba(79, 99, 255, 0.22); color: var(--indigo-tint); }
.stage--calificado { background: rgba(34, 197, 94, 0.18); color: var(--green); }
.stage--llamada { background: rgba(251, 191, 36, 0.18); color: var(--amber); }
.mock__thread { display: flex; flex-direction: column; background: #0d1120; }
.mock__thread-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mock__thread-head strong { color: #fff; font-size: 13px; }
.mock__thread-head span { color: var(--muted); font-size: 11px; }
.mock__ia { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--green); }
.mock__ia i { width: 7px; height: 7px; border-radius: 999px; background: var(--green); }
.mock__msgs { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex-grow: 1; }
.msg { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: 12px; line-height: 1.45; }
.msg small { display: block; font-size: 10px; font-weight: 700; margin-bottom: 3px; opacity: 0.8; }
.msg--in { align-self: flex-start; background: #1b2030; color: var(--text); border-bottom-left-radius: 4px; }
.msg--ia { align-self: flex-end; background: linear-gradient(180deg, #4f5fe0, #3f4fd0); color: #fff; border-bottom-right-radius: 4px; }
.msg--asesor { align-self: flex-end; background: rgba(34, 197, 94, 0.18); color: #fff; border: 1px solid rgba(34, 197, 94, 0.35); border-bottom-right-radius: 4px; }
.msg--typing { display: inline-flex; gap: 4px; align-items: center; height: 34px; padding: 0 14px; overflow: hidden; }
.msg--typing i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: .5; animation: typing 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
.msg--asesor.msg--typing { color: #22c55e; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-4px); opacity: 1; } }
.mock:not(.is-live) .msg--typing { display: none; }
.mock__event { align-self: center; font-size: 10px; color: var(--muted); padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.mock__composer { margin: 0 18px 18px; height: 40px; border-radius: 12px; background: #131a2c; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: var(--muted-2); font-size: 11px; }
.mock__composer b { color: var(--indigo-soft); font-weight: 700; }

.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(23, 27, 38, 0.94); border: 1px solid var(--line-strong); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); backdrop-filter: blur(12px); }
.float--score { right: -20px; top: -30px; border-color: rgba(34, 197, 94, 0.35); animation: floaty 6s ease-in-out infinite; }
.float--crm { left: -30px; bottom: -10px; animation: floaty 7s ease-in-out infinite reverse; }
.float__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.float__icon--green { background: rgba(34, 197, 94, 0.16); }
.float__icon--indigo { background: rgba(79, 99, 255, 0.2); }
.float small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.float strong { font-size: 14px; color: #fff; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Canales ---------- */
.channels { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.channels__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 26px; }
.channels__label { font-size: 13px; font-weight: 600; color: var(--muted); max-width: 260px; line-height: 1.45; }
.channels__label strong { color: var(--text); }
.channels__list { display: flex; flex-wrap: wrap; gap: 10px; }
.channel { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-2); }
.channel svg { width: 20px; height: 20px; }

/* ---------- Problema ---------- */
.problem__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: end; margin-bottom: 56px; }
.problem__grid .h2 { font-size: clamp(30px, 3.4vw, 48px); }
.problem__grid .h2 em { font-style: normal; color: var(--red); }
.problem__side { display: flex; flex-direction: column; gap: 14px; }
.problem__side strong { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.4; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.card__num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: rgba(255, 107, 107, 0.9); }
.card h3 { font-size: 22px; font-weight: 700; color: #fff; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- Qué incluye ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: rgba(139, 152, 255, 0.4); transform: translateY(-2px); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(79, 99, 255, 0.16); border: 1px solid rgba(139, 152, 255, 0.25); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.feature p { font-size: 14px; color: var(--muted); }
.feature ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--text-2); }
.feature ul li { display: flex; gap: 8px; align-items: flex-start; }
.feature ul li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 7px; border-radius: 999px; background: var(--cyan); }
.feature--wide { grid-column: span 2; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #0b1022 0%, #0f1530 60%, #101a3a 100%); border-color: rgba(139, 152, 255, 0.22); }
.feature__copy { display: flex; flex-direction: column; gap: 14px; }

/* Maqueta del pipeline */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; border-radius: 16px; background: rgba(5, 7, 15, 0.6); border: 1px solid var(--line); font-size: 11px; }
.kanban__col { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 3px solid; border-radius: 3px 3px 0 0; }
.kanban__col h4 { margin: 0; font-size: 11px; font-weight: 700; color: var(--text-2); display: flex; justify-content: space-between; }
.kanban__col h4 span { color: var(--muted-2); font-weight: 600; }
.kcard { height: 64px; padding: 8px 9px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; overflow: hidden; min-width: 0; }
.kcard b { color: #fff; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard span { color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard i { align-self: flex-start; white-space: nowrap; font-style: normal; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 999px; }
.kcard--ghost { visibility: hidden; }
.kcard[data-card] { position: relative; z-index: 1; will-change: transform; }

/* ---------- En acción (video) ---------- */
.tour { border-radius: 18px; overflow: hidden; background: #0d1120; border: 1px solid var(--line-strong); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(79, 99, 255, 0.15); }
.tour__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: #0b0f1c; border-bottom: 1px solid var(--line); }
.tour__bar span { width: 11px; height: 11px; border-radius: 999px; background: #2a3147; }
.tour__bar span:nth-child(1) { background: #ff5f57; } .tour__bar span:nth-child(2) { background: #febc2e; } .tour__bar span:nth-child(3) { background: #28c840; }
.tour__bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--muted-2); }
.tour__video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0d1120; }

/* ---------- Cómo funciona ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps::before { content: ""; position: absolute; left: 32px; right: 32px; top: 27px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--indigo) 60%, var(--green)); opacity: 0.6; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step__n { width: 56px; height: 56px; border-radius: 999px; background: var(--bg); border: 2px solid var(--indigo); display: grid; place-items: center; font-size: 18px; font-weight: 800; color: var(--indigo-soft); }
.step:first-child .step__n { border-color: var(--sky); color: var(--sky); }
.step:last-child .step__n { border-color: var(--green); color: var(--green); }
.step h3 { font-size: 18px; font-weight: 700; color: #fff; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Sectores ---------- */
.sectors__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.sectors__head .lead { max-width: 420px; }
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sector { position: relative; height: 440px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sector:hover img { transform: scale(1.04); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 15, 0.05) 30%, rgba(5, 7, 15, 0.92) 100%); }
.sector__body { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.sector__bar { width: 44px; height: 4px; border-radius: 2px; background: var(--grad); }
.sector h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.sector p { font-size: 13px; color: var(--text-2); }

/* ---------- Diferenciador ---------- */
.diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.diff__copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(32px, 4vw, 64px); background: var(--bg-2); }
.diff__copy .h2 { font-size: clamp(28px, 2.8vw, 40px); }
.diff__visual { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(32px, 4vw, 64px); background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); overflow: hidden; }
.diff__visual .glow { top: -120px; right: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(34, 211, 238, 0.25) 0%, rgba(34, 211, 238, 0) 65%); }
.who { position: relative; display: flex; align-items: center; gap: 16px; }
.who__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; }
.who__icon--ia { background: radial-gradient(circle at 35% 30%, #8b98ff, #3b4cff 60%, #1e2a8a); box-shadow: 0 16px 40px rgba(79, 99, 255, 0.45); }
.who__icon--humano { background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.4); }
.who strong { display: block; font-size: 17px; font-weight: 800; color: #fff; }
.who span { font-size: 14px; color: var(--muted); }
.who-line { position: relative; margin-left: 31px; width: 2px; height: 34px; background: linear-gradient(180deg, var(--indigo), var(--green)); }

/* ---------- Planes ---------- */
.impl { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 20px; }
.impl__copy { display: flex; flex-direction: column; gap: 14px; }
.impl__copy h3 { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.impl__copy p { font-size: 14px; color: var(--muted); }
.impl__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.impl__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.impl__list svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 34px 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.plan--hot { background: linear-gradient(180deg, #121a3c, #0d1230); border-color: rgba(139, 152, 255, 0.5); box-shadow: 0 30px 80px rgba(79, 99, 255, 0.25); }
.plan__badge { position: absolute; top: -14px; left: 32px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--grad); display: flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: #fff; }
.plan__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.plan--hot .plan__kicker { color: var(--indigo-soft); }
.plan h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.plan > p { font-size: 14px; color: var(--muted); }
.plan__note { font-size: 12px; font-weight: 600; color: var(--indigo-soft); }
.plan__sep { height: 1px; background: var(--line); }
.plan .check-list { flex-grow: 1; }
.plans__foot { margin-top: 28px; font-size: 13px; color: var(--muted-2); max-width: 900px; }

/* ---------- Demo ---------- */
.demo { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; padding: clamp(28px, 4vw, 72px); border-radius: var(--radius); background: linear-gradient(135deg, #0f1530 0%, #0b1022 50%, #0a1a2e 100%); border: 1px solid rgba(139, 152, 255, 0.22); }
.demo .glow { bottom: -260px; left: -160px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(34, 211, 238, 0.22) 0%, rgba(34, 211, 238, 0) 62%); }
.demo > *, .hero__grid > *, .feature--wide > *, .diff > *, .problem__grid > * { min-width: 0; }
.demo__copy { position: relative; display: flex; flex-direction: column; gap: 22px; }
.demo__copy .h2 { font-size: clamp(28px, 3vw, 44px); }
.demo__steps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.demo__step { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); }
.demo__step i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--indigo); font-style: normal; font-size: 12px; font-weight: 800; color: #fff; }
.demo__step:last-child i { background: var(--green); }
.form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.5vw, 32px); border-radius: 22px; background: rgba(5, 7, 15, 0.7); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); }
.form h3 { font-size: 22px; font-weight: 800; color: #fff; }
.form > p { font-size: 14px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; color: var(--text-2); }
.field input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; font-size: 16px; -webkit-appearance: none; appearance: none; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); color: #fff; font-size: 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder { color: #5c6580; }
.field input:focus { border-color: var(--indigo-soft); box-shadow: 0 0 0 3px rgba(79, 99, 255, 0.25); }
.field small { font-size: 12px; color: var(--muted-2); }
.field--phone { display: flex; gap: 10px; }
.field--phone .prefix { flex-shrink: 0; display: grid; place-items: center; width: 78px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); font-size: 14px; font-weight: 700; color: var(--text-2); }
.field--phone input { flex: 1 1 0; min-width: 0; }
.form__legal { font-size: 12px; color: var(--muted-2); }
.form__trust { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.form__trust span { display: flex; align-items: center; gap: 6px; }
.form__trust svg { width: 14px; height: 14px; }
.form__ok { display: none; padding: 14px 16px; border-radius: 12px; background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.4); font-size: 14px; color: #fff; }
.form.is-sent .form__ok { display: block; }
.form__err { display: none; padding: 14px 16px; border-radius: 12px; background: rgba(255, 107, 107, 0.12); border: 1px solid rgba(255, 107, 107, 0.4); font-size: 14px; color: #fff; }
.form__err a { color: #fff; text-decoration: underline; }
.form.is-error .form__err { display: block; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(64px, 7vw, 96px); padding-block: 40px 48px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { height: 32px; width: auto; opacity: 0.9; }
.footer__brand p { font-size: 13px; color: var(--muted-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; font-weight: 600; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: #fff; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float--score, .float--crm { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__tag { display: none; }
  .nav__links { gap: 22px; font-size: 14px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: 640px; }
  .hero__visual { min-height: 0; padding: 30px 0 24px; }
  .mock { position: relative; inset: auto; transform: none; grid-template-columns: 280px 1fr; }
  .float--score { right: 0; top: -6px; }
  .float--crm { left: 0; bottom: -10px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--wide { grid-column: span 2; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector { height: 360px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 620px; }
  .impl { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(5, 7, 15, 0.96); border-bottom: 1px solid var(--line); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 14px; }
  .nav__toggle { display: inline-flex; }
  .nav__tag { display: none; }
  .hero__grid, .problem__grid, .diff, .demo, .feature--wide { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .mock { position: relative; inset: auto; margin-top: 8px; grid-template-columns: 1fr; transform: none; }
  .mock__list { display: none; }
  .float { position: static; animation: none; }
  .float--score, .float--crm { animation: none; }
  .channels__inner { flex-direction: column; align-items: flex-start; }
  .cards-3 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature--wide { grid-column: auto; }
  .kanban { font-size: 10px; }
  .sectors__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .sector { height: auto; aspect-ratio: 3 / 4; }
  .steps { grid-template-columns: 1fr; row-gap: 22px; }
  .step { flex-direction: row; gap: 16px; }
  .step__n { width: 44px; height: 44px; font-size: 15px; flex-shrink: 0; }
  .form__row { grid-template-columns: 1fr; }
  .form__trust { flex-direction: column; gap: 6px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .sectors { grid-template-columns: 1fr; }
  .sector { aspect-ratio: 4 / 5; }
  .hero__actions .btn { width: 100%; }
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kcard[data-card] { transform: none !important; }
  .nav__brand img { height: 30px; }
}
