/* Paleta de ROMAX sobre la estructura visual de TaskGo */
:root {
  --brand: #2563EB;
  --brand-hover: #1D4ED8;
  --brand-deep: #0047DE;
  --sky: #01A5F3;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --page: #FFFFFF;
  --soft: #F3F6FB;
  --soft-2: #EDF1F7;
  --tint: #DBE7FE;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow.light { color: #DBEAFE; }
.h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.025em;
  max-width: 820px;
  margin: 0 auto;
}
.h2.left { margin: 0; }
.lead { color: var(--muted); font-size: 17px; max-width: 560px; margin: 20px auto 0; }
.lead.left { margin-left: 0; }
.section-head { text-align: center; margin-bottom: 64px; }

/* Palabras y letras partidas por el script */
.w { display: inline-block; white-space: nowrap; }
.l { display: inline-block; will-change: transform, opacity, filter; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1E293B; }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { border-color: #CBD5E1; }
.btn-white { background: #fff; color: var(--brand); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0; transition: padding .3s; }
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background .3s, box-shadow .3s, padding .3s, max-width .3s, border-radius .3s;
}
.nav.scrolled { padding: 12px 0; }
.nav.scrolled .nav-inner {
  max-width: 1120px; padding: 10px 12px 10px 22px; border-radius: 999px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(226,232,240,.8), 0 10px 30px -12px rgba(15,23,42,.15);
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a { color: #334155; transition: color .2s; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 15px; font-weight: 500; color: #334155; }
.nav-login:hover { color: var(--brand); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.nav-burger span:first-child { top: 17px; } .nav-burger span:last-child { top: 25px; }
.nav.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 40px; overflow: hidden; text-align: center; }
.hero-sky { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #F5F8FF 0%, #EEF4FF 45%, #E2ECFF 100%); }
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,1), rgba(255,255,255,.85) 45%, rgba(255,255,255,0));
  filter: blur(6px);
}
.c1 { width: 620px; height: 260px; left: -180px; top: 300px; }
.c2 { width: 520px; height: 220px; right: -140px; top: 240px; }
.c3 { width: 700px; height: 280px; left: 8%; bottom: -60px; }
.c4 { width: 640px; height: 260px; right: 4%; bottom: 40px; }
.c5 { width: 380px; height: 160px; left: 30%; top: 120px; opacity: .8; }
.c6 { width: 420px; height: 180px; right: 25%; top: 520px; opacity: .9; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.g1 { width: 720px; height: 520px; left: -220px; bottom: -120px; background: rgba(37, 99, 235, .38); }
.g2 { width: 720px; height: 520px; right: -220px; bottom: -120px; background: rgba(1, 165, 243, .35); }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(37,99,235,.15); backdrop-filter: blur(8px); }
/* Sellos de Meta y WhatsApp sobre el título */
.hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(37,99,235,.14), 0 10px 26px -14px rgba(30,58,138,.35);
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.badge-pill svg { stroke-linecap: round; }
.logo-meta { width: 24px; height: 14px; }
.logo-wa { width: 20px; height: 20px; }
.meta-word { font-weight: 500; color: #1C2B33; margin-right: 4px; letter-spacing: -.01em; }
.hero-title {
  font-size: clamp(42px, 6.4vw, 80px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em;
  max-width: 980px; margin: 0 auto;
}
.hero-sub { color: #475569; font-size: 19px; max-width: 640px; margin: 26px auto 0; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.hero-stage { position: relative; z-index: 2; margin-top: 70px; perspective: 1400px; }
.hero-shot {
  max-width: 1080px; margin: 0 auto; padding: 10px; border-radius: 26px;
  background: rgba(255,255,255,.6); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 40px 80px -30px rgba(30, 58, 138, .45);
  transform-origin: 50% 0;
}
.hero-shot img { border-radius: 18px; width: 100%; height: auto; }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(226,232,240,.9), 0 12px 30px -10px rgba(15,23,42,.2);
}
.chip-1 { left: 2%; top: 14%; }
.chip-2 { right: 2%; top: 4%; }
.chip-3 { left: -1%; top: 52%; }
.chip-4 { right: -1%; top: 44%; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.big { width: 14px; height: 14px; box-shadow: 0 0 0 5px rgba(37,99,235,.15); }
.dot-blue { background: var(--brand); }
.dot-green { background: #22C55E; }
.dot-amber { background: #F59E0B; }
.dot-sky { background: var(--sky); }

/* ---------- Marquesina ---------- */
.trust { padding: 40px 0 10px; }
.trust-inner { display: flex; align-items: center; gap: 40px; }
.trust-text { flex: 0 0 230px; font-size: 15px; color: var(--muted); padding-right: 32px; border-right: 1px solid var(--line); line-height: 1.45; }
.trust-text strong { color: var(--ink); font-weight: 600; display: block; }
.marquee { flex: 1; min-width: 0; width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: deslizar 32s linear infinite; }
.pill-logo {
  display: inline-flex; align-items: center; gap: 10px;
  height: 64px; padding: 0 28px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: 16px; color: #334155; white-space: nowrap;
}
.pill-logo svg { color: var(--brand); width: 22px; height: 22px; }
@keyframes deslizar { to { transform: translateX(-50%); } }

/* ---------- Tarjetas ---------- */
.card {
  position: relative; border-radius: var(--radius);
  background: var(--soft);
  box-shadow: inset 0 0 0 1px rgba(226,232,240,.7);
  overflow: hidden;
}
/* El brillo azul en la esquina, como en las tarjetas de TaskGo */
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(37,99,235,.10), transparent 55%);
}
.card > * { position: relative; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 22px; }
.feature { padding: 30px 30px 0; display: flex; flex-direction: column; }
.feature h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 380px; }
.f-team { grid-row: span 2; }
.f-pipeline { grid-column: span 2; flex-direction: row; align-items: center; gap: 30px; padding: 30px; }
.f-pipeline .f-text { flex: 0 0 230px; }

.mock {
  margin-top: 26px; background: #fff; border-radius: 16px 16px 0 0; padding: 18px;
  box-shadow: 0 0 0 1px rgba(226,232,240,.9), 0 20px 40px -20px rgba(15,23,42,.18);
  font-size: 13px; flex: 1;
}
.f-pipeline .mock { border-radius: 16px; margin-top: 0; }
.mock-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mock-top b { font-size: 15px; font-weight: 600; }
.mock-label { color: var(--muted); font-size: 12px; }
.mock-btn { margin-left: auto; font-size: 12px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.status-list { list-style: none; display: grid; gap: 10px; }
.status-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.status-list span { margin-left: auto; color: var(--muted); font-weight: 400; }
.bar { display: flex; gap: 4px; margin-top: 16px; height: 12px; }
.bar span { width: var(--w); border-radius: 6px; transform-origin: left; }

.ai-avatar { width: 34px; height: 34px; border-radius: 50%; background: #EFF6FF; display: grid; place-items: center; flex: none; }
.ai-avatar img { width: 20px; }
.tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.tag-green { background: #DCFCE7; color: #15803D; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; margin-bottom: 8px; }
.bubble.in { background: var(--soft-2); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--brand); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.ai-detected { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #EFF6FF; font-size: 12px; color: var(--muted); }
.ai-detected b { color: var(--brand); font-size: 12.5px; }

.count { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; display: grid; place-items: center; }
.people { list-style: none; display: grid; gap: 4px; }
.people li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #F1F5F9; }
.people li:last-child { border-bottom: 0; }
.people b { display: block; font-size: 14px; font-weight: 600; }
.people small { color: var(--muted); font-size: 12px; }
.people em { margin-left: auto; font-style: normal; font-size: 11px; color: #15803D; background: #DCFCE7; padding: 3px 8px; border-radius: 999px; }
.av { width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.av.sm { width: 32px; height: 32px; font-size: 11px; margin-right: -8px; box-shadow: 0 0 0 2px #fff; }

.mock-pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.col { background: var(--soft); border-radius: 12px; padding: 12px; }
.col h4 { font-size: 12.5px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; }
.col h4 span { color: var(--muted); font-weight: 500; }
.deal { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 0 0 1px rgba(226,232,240,.8); }
.deal b { display: block; font-size: 13px; font-weight: 600; }
.deal small { color: var(--muted); font-size: 11.5px; }
.deal.hot { box-shadow: 0 0 0 1.5px var(--brand), 0 8px 18px -8px rgba(37,99,235,.5); }

/* ---------- Estadísticas ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.stat { padding: 28px; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stat:nth-child(even) { margin-top: 70px; background: var(--soft); }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-top b { font-size: 40px; font-weight: 600; letter-spacing: -.03em; }
.stat p { color: #334155; font-size: 16px; max-width: 220px; }

/* ---------- IA dividida ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.checks { list-style: none; display: grid; gap: 14px; margin: 30px 0 36px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); }
.checks li b { color: var(--ink); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #DBEAFE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat;
}
.split-visual { position: relative; padding: 30px; }
.split-visual::before {
  content: ""; position: absolute; inset: -10px; border-radius: 40px; z-index: -1;
  background: radial-gradient(60% 60% at 30% 30%, rgba(37,99,235,.25), transparent 70%), radial-gradient(60% 60% at 80% 80%, rgba(1,165,243,.25), transparent 70%);
  filter: blur(30px);
}
.chat-card { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(30,58,138,.35); padding: 0; }
.chat-card::before { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-weight: 600; }
.chat-head small { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.chat-body { padding: 22px; min-height: 380px; background: linear-gradient(180deg, #fff, #F8FAFF); }
.chat-body .bubble { font-size: 14.5px; }
.event { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #F0FDF4; box-shadow: inset 0 0 0 1px #BBF7D0; margin-top: 6px; }
.event b { display: block; font-size: 14px; }
.event small { color: var(--muted); font-size: 12.5px; }
.ev-ico { width: 30px; height: 30px; border-radius: 50%; background: #22C55E; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--soft-2); margin-top: 10px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #94A3B8; animation: escribir 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes escribir { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chip-float-a { left: -20px; top: 70px; }
.chip-float-b { right: -10px; bottom: 50px; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: stretch; }
.steps-visual {
  border-radius: var(--radius); padding: 56px 0 0 48px; overflow: hidden;
  background: linear-gradient(160deg, #3B82F6 0%, var(--brand) 40%, var(--brand-deep) 100%);
  position: relative; min-height: 520px;
}
.steps-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 20% 0%, rgba(255,255,255,.35), transparent 70%); pointer-events: none; }
.steps-window { background: #fff; border-radius: 16px 0 0 0; box-shadow: 0 30px 60px -20px rgba(2, 6, 23, .5); overflow: hidden; height: 100%; }
.win-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.win-bar i:first-child { background: #F87171; } .win-bar i:nth-child(2) { background: #FBBF24; } .win-bar i:nth-child(3) { background: #34D399; }
.steps-window img { width: 150%; max-width: none; height: auto; object-fit: cover; object-position: left top; }
.steps-list { display: grid; gap: 22px; }
.step { padding: 26px 28px; transition: box-shadow .4s, background .4s; }
.step.active { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(37,99,235,.35), 0 20px 40px -20px rgba(37,99,235,.35); }
.step-head { display: flex; align-items: center; gap: 14px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; display: grid; place-items: center; font-size: 15px; flex: none; }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { color: var(--muted); margin: 10px 0 16px 58px; font-size: 15px; }
.step-mini { margin-left: 58px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mini-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; }
.step-mini .av.sm + .mini-pill { margin-left: 14px; }
.toggle { width: 40px; height: 24px; border-radius: 999px; background: #CBD5E1; position: relative; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s; }
.toggle.on { background: var(--brand); } .toggle.on::after { transform: translateX(16px); }

/* ---------- Casos de uso ---------- */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.use { padding: 30px 26px; display: flex; flex-direction: column; min-height: 320px; transition: transform .35s, box-shadow .35s; }
.use:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(37,99,235,.25), 0 24px 48px -24px rgba(37,99,235,.4); }
.use-ico { width: 54px; height: 54px; border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 0 0 1px var(--line); }
.use h3 { font-size: 20px; font-weight: 600; margin-top: 26px; letter-spacing: -.01em; }
.use p { color: var(--muted); font-size: 15px; margin-top: 10px; flex: 1; }
.use a { color: var(--brand); font-weight: 600; font-size: 15px; margin-top: 22px; }
.use-accent { background: linear-gradient(160deg, #3B82F6, var(--brand-deep)); color: #fff; }
.use-accent::before { display: none; }
.use-accent p { color: #DBEAFE; }
.use-accent a { color: #fff; }
.use-accent .use-ico { background: rgba(255,255,255,.18); box-shadow: none; }

/* ---------- Precios ---------- */
/* Pestañas de planes: una píldora azul que se desliza bajo la opción elegida */
.plan-tabs-wrap { display: flex; justify-content: center; margin: -24px 0 40px; }
.plan-tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 26px -16px rgba(30,58,138,.35); }
.plan-tabs button { position: relative; z-index: 1; height: 42px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #475569; transition: color .3s; white-space: nowrap; }
.plan-tabs button[aria-selected="true"] { color: #fff; }
.plan-tabs-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--brand); box-shadow: 0 8px 18px -8px rgba(37,99,235,.7); transition: left .45s cubic-bezier(.3,1.3,.5,1), width .45s cubic-bezier(.3,1.3,.5,1); }
.plans[data-filtro="chat"] [data-plan="voz"], .plans[data-filtro="voz"] [data-plan="chat"] { display: none; }
.voz-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: #E0E7FF; color: #3730A3; font-size: 12.5px; font-weight: 600; margin-bottom: -8px; }
.voz-tag.chat { background: #DBEAFE; color: var(--brand-hover); }
.voz-tag svg { width: 14px; height: 14px; stroke-width: 2.2; }
.plan-list li.destacado { color: var(--ink); font-weight: 600; }
.plan-voz .plan-list li.destacado::before { border-color: #4F46E5; background: #4F46E5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.plan-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.plan h3 { font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.plan-head p { color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 220px; }
.price { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.badge { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: #fff; }
.plan-box { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 0 0 1px rgba(226,232,240,.9); flex: 1; }
.plan-box h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.plan-list { list-style: none; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 28px; font-size: 14.5px; color: #334155; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #94A3B8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan-featured { background: linear-gradient(180deg, #EAF1FF, #F3F6FB 50%); box-shadow: inset 0 0 0 1.5px rgba(37,99,235,.35); }
.plan-featured .plan-list li::before { border-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.fine { text-align: center; color: var(--muted); font-size: 13px; max-width: 760px; margin: 34px auto 0; }

/* ---------- Órbita ---------- */
.orbit-section { overflow: hidden; }
.orbit { position: relative; height: 560px; max-width: 1000px; margin: 0 auto; }
.orbit-glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.35), rgba(1,165,243,.15) 45%, transparent 70%); filter: blur(20px); }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(37,99,235,.14); }
.r1 { width: 300px; height: 300px; background: rgba(255,255,255,.35); }
.r2 { width: 560px; height: 560px; }
.r3 { width: 860px; height: 860px; border-style: solid; border-color: rgba(37,99,235,.08); }
.orbit-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; padding: 18px 26px; border-radius: 20px; box-shadow: 0 20px 40px -16px rgba(37,99,235,.45); }
.orbit-center img { height: 34px; width: auto; }
.orb {
  position: absolute; width: 66px; height: 66px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--brand);
  box-shadow: 0 0 0 8px rgba(255,255,255,.5), 0 0 0 1px rgba(37,99,235,.18), 0 16px 30px -12px rgba(37,99,235,.45);
}
.orb svg { width: 28px; height: 28px; }
.o1 { left: calc(50% - 33px - 140px); top: calc(50% - 33px - 90px); }
.o2 { left: calc(50% - 33px + 140px); top: calc(50% - 33px - 90px); }
.o3 { left: calc(50% - 33px + 150px); top: calc(50% - 33px + 80px); }
.o4 { left: calc(50% - 33px - 150px); top: calc(50% - 33px + 80px); }
.o5 { left: calc(50% - 33px - 280px); top: calc(50% - 33px - 180px); }
.o6 { left: calc(50% - 33px + 300px); top: calc(50% - 33px - 170px); }
.o7 { left: calc(50% - 33px - 420px); top: calc(50% - 33px + 10px); }
.o8 { left: calc(50% - 33px + 420px); top: calc(50% - 33px + 0px); }

/* ---------- Preguntas ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--soft); border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(226,232,240,.7); transition: background .3s, box-shadow .3s; }
.faq-item.open { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 16px 32px -20px rgba(15,23,42,.2); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; gap: 14px; padding: 22px 24px; font-weight: 600; font-size: 17px; }
.faq-ico { width: 24px; height: 24px; border-radius: 7px; background: var(--brand); position: relative; flex: none; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item.open .faq-ico::after { transform: rotate(0); }
.faq-a { height: 0; overflow: hidden; }
.faq-item.open .faq-a { height: auto; }
.faq-a p { padding: 0 24px 24px 62px; color: var(--muted); }

/* ---------- Llamado final ---------- */
.cta-wrap { padding-top: 40px; }
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 30px; padding: 100px 30px;
  background: linear-gradient(160deg, #3B82F6 0%, var(--brand) 45%, var(--brand-deep) 100%);
}
.cta-sky .cloud { opacity: .28; }
.cta-sky .c1 { left: -200px; top: auto; bottom: -80px; }
.cta-sky .c3 { left: auto; right: -200px; bottom: auto; top: -60px; }
.cta-sky .c5 { left: 40%; top: auto; bottom: -100px; }
.cta > *:not(.cta-sky) { position: relative; }
.cta-title { color: #fff; }
.cta-sub { color: #DBEAFE; max-width: 600px; margin: 22px auto 0; font-size: 18px; }
.cta-note { color: #BFDBFE; font-size: 14px; margin-top: 26px; }

/* ---------- Pie ---------- */
.footer { padding: 90px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 80px; }
.footer-cols h4 { font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.footer-cols a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 12px; transition: color .2s; }
.footer-cols a:hover { color: var(--brand); }
.footer-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 30px; }
.socials { display: flex; gap: 10px; padding-bottom: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; transition: background .2s, color .2s; }
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-giant {
  font-size: clamp(80px, 17vw, 230px); font-weight: 700; letter-spacing: -.05em; line-height: .85;
  background: linear-gradient(180deg, #E2E8F0, rgba(226,232,240,.15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.copy { text-align: center; color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 30px; }
.copy p:first-child { color: var(--ink); font-weight: 500; }

/* ---------- Adaptación ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-login { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: calc(100% + 6px); left: 16px; right: 16px;
    background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -16px rgba(15,23,42,.25);
  }
  .nav.open .nav-links a { padding: 12px 14px; border-radius: 12px; }
  .nav.open .nav-links a:hover { background: var(--soft); }
  .features { grid-template-columns: 1fr 1fr; }
  .f-team { grid-row: auto; }
  .f-pipeline { grid-column: span 2; }
  .stats, .uses { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(even) { margin-top: 40px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .split, .steps { grid-template-columns: 1fr; }
  .steps-visual { min-height: 380px; }
  .orb.o5, .orb.o6, .orb.o7, .orb.o8 { display: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .nav-inner { padding: 0 16px; }
  .nav.scrolled .nav-inner { margin: 0 12px; padding: 8px 8px 8px 16px; }
  .nav-actions .btn { display: none; }
  .nav-logo img { height: 26px; }
  .hero { padding-top: 130px; }
  .hero-sub { font-size: 17px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .05em; padding: 7px 12px; }
  .hero-badges { gap: 8px; margin-bottom: 22px; }
  .badge-pill { height: 34px; padding: 0 13px 0 11px; gap: 6px; font-size: 12.5px; }
  .logo-meta { width: 20px; height: 12px; }
  .logo-wa { width: 17px; height: 17px; }
  .hero-buttons .btn { width: 100%; }
  .chip-1, .chip-3 { left: 0; } .chip-2, .chip-4 { right: 0; }
  .chip { font-size: 12px; padding: 7px 11px; }
  .chip-1 { top: -30px; } .chip-2 { top: -30px; } .chip-3, .chip-4 { display: none; }
  .hero-shot { padding: 5px; border-radius: 14px; } .hero-shot img { border-radius: 10px; }
  .trust-inner { flex-direction: column; gap: 22px; }
  .trust-text { flex: none; border: 0; padding: 0; text-align: center; }
  .features, .stats, .uses { grid-template-columns: 1fr; }
  .f-pipeline { grid-column: auto; flex-direction: column; align-items: stretch; padding: 26px; }
  .f-pipeline .f-text { flex: none; }
  .mock-pipeline { grid-template-columns: 1fr 1fr; }
  .mock-pipeline .col:last-child { display: none; }
  .stat, .stat:nth-child(even) { margin-top: 0; min-height: 190px; }
  .split-visual { padding: 10px 0; }
  .chip-float-a { left: 0; top: -14px; } .chip-float-b { right: 0; bottom: -14px; }
  .steps-visual { padding: 30px 0 0 24px; min-height: 280px; }
  .step p, .step-mini { margin-left: 0; }
  .plan-head { flex-direction: column; }
  .plan-tabs-wrap { margin: -30px 0 30px; }
  .plan-tabs button { height: 38px; padding: 0 15px; font-size: 14px; }
  .orbit { height: 420px; }
  .r2 { width: 380px; height: 380px; } .r3 { display: none; } .r1 { width: 220px; height: 220px; }
  .orbit-glow { width: 340px; height: 340px; }
  .o1 { left: calc(50% - 33px - 100px); top: calc(50% - 33px - 120px); }
  .o2 { left: calc(50% - 33px + 100px); top: calc(50% - 33px - 120px); }
  .o3 { left: calc(50% - 33px + 110px); top: calc(50% - 33px + 110px); }
  .o4 { left: calc(50% - 33px - 110px); top: calc(50% - 33px + 110px); }
  .faq-q { font-size: 16px; padding: 18px; }
  .faq-a p { padding: 0 18px 20px 56px; }
  .cta { padding: 70px 20px; border-radius: 24px; }
  .footer-top { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-mid { flex-direction: column; align-items: flex-start; }
}

/* ---------- Páginas internas (legales y contacto) ---------- */
.page-hero { position: relative; overflow: hidden; text-align: center; padding: 160px 0 90px; }
.page-hero .c1 { top: 120px; } .page-hero .c2 { top: 60px; }
.page-hero .g1, .page-hero .g2 { bottom: -320px; opacity: .7; }
.page-hero-inner { position: relative; z-index: 2; }
.page-title { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.page-date { color: var(--muted); margin-top: 16px; font-size: 15px; }
.page-body { padding: 0 0 40px; margin-top: -40px; position: relative; z-index: 3; }

.legal {
  max-width: 860px; margin: 0 auto; background: #fff; border-radius: 28px;
  padding: 56px 64px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(30,58,138,.25);
  color: #334155; font-size: 16.5px; line-height: 1.75;
}
.legal h2 { color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin: 44px 0 12px; line-height: 1.3; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 14px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(37,99,235,.35); }
.legal a:hover { text-decoration-color: var(--brand); }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal ul li { position: relative; padding-left: 26px; }
.legal ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.legal ol { counter-reset: paso; }
.legal ol li { counter-increment: paso; position: relative; padding-left: 42px; min-height: 30px; }
.legal ol li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.table-wrap { overflow-x: auto; margin: 6px 0 22px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
.legal th { text-align: left; background: var(--soft); color: var(--ink); font-weight: 600; padding: 14px 18px; }
.legal td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.legal td:first-child { color: var(--ink); font-weight: 500; }

.contact { max-width: 1080px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.contact-form {
  background: #fff; border-radius: 28px; padding: 40px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(30,58,138,.25);
  display: grid; gap: 18px;
}
.contact-intro { color: var(--muted); font-size: 17px; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; font-size: 14.5px; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft);
  transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.contact-note { color: var(--muted); font-size: 13.5px; text-align: center; }
.contact-side { display: grid; gap: 22px; align-content: start; }
.contact-card { position: relative; background: var(--soft); border-radius: 22px; padding: 26px; box-shadow: inset 0 0 0 1px rgba(226,232,240,.7); overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 100% 0%, rgba(37,99,235,.10), transparent 55%); }
.contact-card > * { position: relative; }
.contact-card h3 { font-size: 19px; font-weight: 600; margin-top: 16px; }
.contact-card p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.contact-card a { display: inline-block; color: var(--brand); font-weight: 600; margin-top: 12px; }

/* Entrada suave de las páginas internas: con una animación de CSS y no con
   JavaScript, para que el texto legal se vea aunque el script no cargue */
[data-aparece] { animation: aparecer .8s cubic-bezier(.2,.7,.2,1) both; }
.page-title[data-aparece] { animation-delay: .08s; }
.page-body [data-aparece] { animation-delay: .18s; }
@keyframes aparecer { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding: 130px 0 70px; }
  .legal { padding: 30px 22px; border-radius: 22px; font-size: 16px; }
  .legal h2 { font-size: 20px; margin-top: 34px; }
  .contact-form { padding: 26px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-aparece] { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .typing span { animation: none; }
}
