/* VEIA · Agente IA omnicanal — landing
   Tokens heredados de ecosistema.veiaeducar.com (navy #0B1F3A, azul #0A84FF, Inter).
   Radios: botones 0px, cards/inputs 6px, chips pill. Tema: light lock. */

:root {
  --navy: #0B1F3A;
  --navy-2: #0E2A4F;
  --navy-3: #12355F;
  --blue: #0A84FF;
  --blue-h: #0066CC;
  --blue-soft: #E8F2FF;
  --ink: #111827;
  --muted: #4B5563;
  --muted-2: #6B7280;
  --line: #E5E7EB;
  --line-navy: rgba(255, 255, 255, 0.12);
  --bg: #FFFFFF;
  --bg-2: #F9FAFB;
  --white: #FFFFFF;
  --hot: #16A34A;
  --warm: #F59E0B;
  --cold: #6B7280;
  --r-card: 6px;
  --r-btn: 0px;
  --nav-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-navy: 0 24px 60px -24px rgba(11, 31, 58, 0.35);
  --shadow-card: 0 1px 2px rgba(11, 31, 58, 0.06), 0 12px 32px -16px rgba(11, 31, 58, 0.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 60ch;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.15s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn i { font-size: 18px; }
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-h); border-color: var(--blue-h); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 12px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -0.02em; font-size: 20px; color: var(--navy); }
.nav__brand img { width: 40px; height: 40px; }
.nav__links { display: none; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }
.nav__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); color: var(--navy);
}
.nav__burger i { font-size: 22px; }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}
.nav-mobile {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 49;
  background: var(--white);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 18px; color: var(--navy); }
.nav-mobile .btn { margin-top: 20px; }

/* ---------- Hero (centrado, campo de puntos detrás) ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, var(--navy-2) 0%, var(--navy) 65%);
  color: var(--white);
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__canvas canvas { width: 100% !important; height: 100% !important; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
}
.hero .h1 {
  font-size: clamp(40px, 6.6vw, 80px);
  max-width: 14ch;
  text-wrap: balance;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 24px;
  max-width: 50ch;
  font-size: clamp(17px, 1.6vw, 20px);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  margin-bottom: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero__pill:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: hero-dot 2s var(--ease) infinite;
}
@keyframes hero-dot {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.hero__channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 56px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__channels li { display: inline-flex; align-items: center; gap: 8px; }
.hero__channels i { font-size: 18px; color: var(--blue); }
/* Velo superior para que el H1 quede sobre fondo limpio; abajo se ve la ola completa */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.35) 0%, rgba(11, 31, 58, 0.55) 42%, rgba(11, 31, 58, 0.15) 70%, rgba(11, 31, 58, 0) 100%);
  pointer-events: none;
}

/* Facts strip under hero (real data from the engine) */
.facts { background: var(--navy-2); color: var(--white); border-top: 1px solid var(--line-navy); }
.facts__grid { display: grid; grid-template-columns: 1fr; }
.facts__item { padding: 22px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line-navy); }
.facts__item strong { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.facts__item span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) {
  .facts__grid { grid-template-columns: repeat(3, 1fr); }
  .facts__item { border-bottom: 0; padding: 28px 32px; border-left: 1px solid var(--line-navy); }
  .facts__item:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; scroll-margin-top: var(--nav-h); }
.facts, .final { scroll-margin-top: var(--nav-h); }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.section--alt { background: var(--bg-2); }

/* ---------- Cómo funciona: sticky split ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: 5fr 7fr; gap: 80px; }
  .steps__head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
}
.steps__head .section-head { margin-bottom: 32px; }
.steps__list { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blue);
}
.step__body h3 { margin-bottom: 10px; }
.step__body p { color: var(--muted); max-width: 52ch; }
.step__icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 14px; }
.step__icon i { font-size: 22px; }

/* ---------- Diferencial: flujo del lead (4 canales -> cerebro -> CRM) ---------- */
.hub { background: var(--navy); color: var(--white); overflow: hidden; position: relative; }
.hub .section-head { margin: 0 auto 0; text-align: center; }
.hub .lead { color: rgba(255, 255, 255, 0.75); margin-left: auto; margin-right: auto; }
.hub__stage { position: relative; height: 64vh; min-height: 460px; max-height: 680px; margin-top: 16px; }
.hub__canvas { position: absolute; inset: 0; }
.hub__labels { position: absolute; inset: 0; pointer-events: none; }
.hub__label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.hub__label i { font-size: 18px; color: var(--blue); }
.hub__crm {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  min-width: 190px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--r-card);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.hub__crm-k { font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.hub__crm strong { font-size: 16px; font-weight: 900; letter-spacing: -0.01em; color: var(--hot); }
.hub__crm-s { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.hub__crm-s i { font-size: 16px; color: var(--blue); }
.hub__core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.hub__core strong { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.hub__core img { width: 64px; height: 64px; margin: 0 auto 10px; }
.hub__cta { text-align: center; margin-top: 8px; }
.reduce-motion .hub__label, .reduce-motion .hub__crm { opacity: 1; }

/* ---------- Funcionalidades: bento ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(260px, auto); } }
.cell {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  min-height: 240px;
}
.cell h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; }
.cell p { color: var(--muted); max-width: 44ch; }
.cell__icon { position: relative; z-index: 1; width: 44px; height: 44px; margin-bottom: auto; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.cell > :not(.cell__icon):not(.cell__grid-bg) { position: relative; z-index: 1; }
.cell__icon + .cell__chips, .cell__icon + .cell__bant, .cell__icon + h3 { margin-top: 40px; }
.cell__icon i { font-size: 24px; }
@media (min-width: 1024px) {
  .cell--wide { grid-column: span 2; }
}
.cell--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cell--navy p { color: rgba(255, 255, 255, 0.75); }
.cell--navy .cell__icon { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.cell--blue { background: linear-gradient(135deg, var(--blue) 0%, #2E9BFF 100%); color: var(--white); border-color: var(--blue); }
.cell--blue p { color: rgba(255, 255, 255, 0.85); }
.cell--blue .cell__icon { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.cell--soft { background: var(--blue-soft); border-color: #D6E8FF; }
/* Mini visuals inside wide cells: real product data shapes, not fake screenshots */
.cell__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cell__chips span { font-size: 12px; font-weight: 700; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.25); }
.cell__bant { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; max-width: 360px; }
.cell__bant span { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; padding: 10px 0; text-align: center; border: 1px solid rgba(255, 255, 255, 0.35); }
.cell__bant span.on { background: var(--white); color: var(--blue); border-color: var(--white); }
.cell__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---------- Demo en vivo ---------- */
.demo { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .demo { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } }
.demo__side .section-head { margin-bottom: 28px; }
.industries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.industry {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  line-height: 1.2;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-card);
  font-size: 14px; font-weight: 700; color: var(--navy);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.industry i { font-size: 20px; color: var(--blue); }
.industry:hover { border-color: var(--blue); }
.industry:active { transform: scale(0.98); }
.industry.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.industry.is-active i { color: var(--white); }
.demo__hint { margin-top: 20px; font-size: 14px; color: var(--muted-2); }
.demo__hint a { color: var(--blue); font-weight: 700; }

.chatbox {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
@media (min-width: 768px) { .chatbox { grid-template-columns: 1fr 280px; } }
.chat { display: flex; flex-direction: column; min-height: 560px; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--navy); color: var(--white); }
.chat__avatar { width: 40px; height: 40px; display: grid; place-items: center; background: var(--blue); font-weight: 900; font-size: 14px; }
.chat__title { font-weight: 800; font-size: 15px; line-height: 1.2; }
.chat__status { font-size: 12px; color: rgba(255, 255, 255, 0.7); display: flex; align-items: center; gap: 6px; }
.chat__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hot); }
.chat__status.is-busy::before { background: var(--warm); }
.chat__status.is-down::before { background: #DC2626; }
.chat__log { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: 440px; background: var(--bg-2); }
.msg {
  max-width: 82%;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
  border-radius: var(--r-card);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.msg--bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.msg--user { align-self: flex-end; background: var(--blue); color: var(--white); }
.msg--sys { align-self: center; background: transparent; color: var(--muted-2); font-size: 13px; text-align: center; max-width: 100%; }
.msg--error { align-self: stretch; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font-size: 14px; max-width: 100%; }
.msg--error a { color: #991B1B; font-weight: 800; text-decoration: underline; }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: typing 1.1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-5px); opacity: 1; } }
.chat__starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 0; background: var(--bg-2); }
.starter {
  font-size: 13px; font-weight: 600; color: var(--navy);
  padding: 8px 12px; border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}
.starter:hover { border-color: var(--blue); background: var(--blue-soft); }
.chat__form { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--white); }
.chat__form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chat__input {
  flex: 1; height: 48px; padding: 0 14px;
  border: 1px solid #CBD5E1; border-radius: var(--r-card);
  font: inherit; font-size: 15px; color: var(--ink); background: var(--white);
}
.chat__input::placeholder { color: #6B7280; }
.chat__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2); }
.chat__input:disabled { background: var(--bg-2); }
.chat__send { width: 48px; height: 48px; display: grid; place-items: center; background: var(--blue); color: var(--white); border: 0; border-radius: var(--r-btn); }
.chat__send:hover { background: var(--blue-h); }
.chat__send:disabled { background: #93C5FD; cursor: not-allowed; }
.chat__send i { font-size: 22px; }

.bant { padding: 20px; border-left: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 767px) { .bant { border-left: 0; border-top: 1px solid var(--line); } }
.bant__title { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.bant__score { display: flex; align-items: baseline; gap: 6px; }
.bant__score strong { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.bant__score span { font-size: 14px; color: var(--muted-2); font-weight: 700; }
.bant__cat { display: inline-flex; align-self: flex-start; padding: 6px 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.bant__cat[data-cat="frio"] { color: var(--cold); }
.bant__cat[data-cat="tibio"] { color: #B45309; background: #FFFBEB; border-color: #FDE68A; }
.bant__cat[data-cat="caliente"] { color: #166534; background: #F0FDF4; border-color: #BBF7D0; }
.bant__rows { display: flex; flex-direction: column; gap: 8px; }
.bant__row { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted-2); }
.bant__row i { font-size: 18px; color: #CBD5E1; }
.bant__row.on { color: var(--navy); }
.bant__row.on i { color: var(--blue); }
.bant__row small { margin-left: auto; font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; }
.bant__crm { margin-top: auto; padding: 14px; border: 1px dashed var(--line); font-size: 13px; color: var(--muted-2); display: flex; gap: 10px; align-items: flex-start; }
.bant__crm i { font-size: 20px; flex: none; }
.bant__crm.on { border-style: solid; border-color: #BBF7D0; background: #F0FDF4; color: #166534; }
.bant__crm.on i { color: var(--hot); }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
@media (min-width: 1024px) { .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; } }
.plan {
  position: relative;
  min-width: 0;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan__tier { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.plan__name { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.plan__desc { color: var(--muted); font-size: 15px; }
.plan__list { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 8px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan__list i { font-size: 18px; color: var(--blue); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; padding: 0 16px; font-size: 12px; letter-spacing: 0.1em; }
@media (min-width: 1280px) { .plan { padding: 36px 32px; } }
.plan--featured { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow-navy); }
.plan--featured .plan__desc { color: rgba(255, 255, 255, 0.75); }
.plan--featured .plan__tier { color: #7CC0FF; }
@media (min-width: 1024px) { .plan--featured { margin: -20px 0; padding: 56px 36px; } }
.enterprise {
  margin-top: 24px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
@media (min-width: 1024px) { .enterprise { grid-template-columns: 1fr auto; padding: 40px 44px; } }
.enterprise h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
.enterprise p { color: var(--muted); max-width: 60ch; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq .section-head { margin-bottom: 40px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  background: none; border: 0; text-align: left;
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy);
}
.faq__q i { font-size: 22px; color: var(--blue); transition: transform 0.3s var(--ease); flex: none; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 0 24px; color: var(--muted); max-width: 65ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA final + footer ---------- */
.final { background: var(--navy); color: var(--white); padding: 112px 0; position: relative; overflow: hidden; }
.final__inner { max-width: 760px; }
.final .lead { color: rgba(255, 255, 255, 0.75); margin-top: 20px; }
.final .btn { margin-top: 36px; }
.final__glow {
  position: absolute; right: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.35) 0%, rgba(10, 132, 255, 0) 60%);
  pointer-events: none;
}
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); border-top: 1px solid var(--line-navy); padding: 32px 0; font-size: 13px; }
.footer__inner { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; }
.footer__brand img { width: 28px; height: 28px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; color: rgba(255, 255, 255, 0.8); }
.footer__links a:hover { color: var(--white); }

/* ---------- Motion helpers ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal, .reduce-motion .reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .typing span { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Hub en pantallas chicas: el flujo gira a vertical, chips solo con ícono y sin caption bajo el logo */
@media (max-width: 767px) {
  .hub__stage { height: 78vh; min-height: 520px; }
  .hub__label { padding: 9px; gap: 0; }
  .hub__label span { display: none; }
  .hub__label i { font-size: 18px; }
  .hub__crm { min-width: 160px; padding: 10px 14px; }
  .hub__crm strong { font-size: 14px; }
  .hub__core strong { display: none; }
  .hub__core img { width: 52px; height: 52px; margin-bottom: 0; }
}
}
