/* Vetia · web pública. Colores y tipografías del manual de identidad 2026. */
/* Tipografías servidas desde la propia web (más rápido y sin enviar datos a Google). SIL Open Font License 1.1. */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/lato-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lato-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/lato-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/playfair-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url(fonts/playfair-display-latin-600-italic.woff2) format("woff2"); }

:root {
  --graphite: #111318;
  --steel: #1E2430;
  --blue: #4D7CFE;
  --blue-deep: #3A66E0;
  --ice: #DCE4F2;
  --ice-soft: #F2F5FA;
  --white: #FFFFFF;
  --ink: #111318;
  --ink-2: #4A5263;
  --ink-3: #7A8394;
  --line: #E3E8F1;
  --ok: #1F9D6B;
  --warn: #D9822B;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(17, 19, 24, .28), 0 2px 6px rgba(17, 19, 24, .05);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.dot { color: var(--blue); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
h2 em, h1 em { font-style: italic; color: var(--blue); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 300; color: var(--ink-2); max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); border-radius: 2px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--blue); border-radius: 2px; }
.sec-head { margin-bottom: 56px; }
.sec-head h2 { margin: 14px 0 18px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(77, 124, 254, .8); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: var(--steel); }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-ghost-dark { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, .6); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Cabecera ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.85rem; letter-spacing: -.01em; line-height: 1; }
.nav-links { display: flex; gap: 30px; font-size: .95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .entrar { font-weight: 700; font-size: .95rem; }
.nav-cta .btn { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ice-soft); padding: 72px 0 0; overflow: hidden; }
.hero .wave { position: absolute; right: 0; bottom: 0; width: 100%; height: 78%; pointer-events: none; }
.hero-inner { position: relative; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--ink-2);
}
.pill b { background: var(--graphite); color: #fff; font-size: .7rem; letter-spacing: .1em; padding: 3px 9px; border-radius: 999px; }
.hero h1 { margin: 26px auto 22px; max-width: 920px; }
.hero .lead { margin: 0 auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.tagline { margin-top: 26px; font-size: .9rem; color: var(--ink-3); font-weight: 300; letter-spacing: .02em; }

/* Consola de Veta */
.console-wrap { position: relative; max-width: 860px; margin: 56px auto 0; padding-bottom: 72px; }
.console { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); text-align: left; overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: #FBFCFE; }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #E1E5EC; }
.console-bar .addr { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); }
.console-bar .live { margin-left: auto; font-size: .76rem; color: var(--ok); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.console-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 107, .15); }
.console-body { padding: 22px 24px 8px; min-height: 380px; }
.q { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; font-weight: 700; }
.who { font-size: .66rem; font-weight: 700; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; background: var(--ice-soft); color: var(--ink-3); flex: none; }
.route { margin: 16px 0 14px; padding-left: 12px; border-left: 2px solid var(--blue); font-size: .85rem; color: var(--ink-3); font-family: var(--mono); }
.areas { display: grid; gap: 10px; }
.area {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.area.in { opacity: 1; transform: none; }
.area .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ice-soft); color: var(--blue); }
.area .ic svg { width: 18px; height: 18px; }
.area small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.area span { font-size: .9rem; color: var(--ink-2); }
.area strong { font-family: var(--mono); font-size: .95rem; }
.area .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue); transition: width .9s ease; }
.area.in .bar { width: 100%; }
.answer {
  margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: var(--graphite); color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s;
}
.answer.in { opacity: 1; transform: none; }
.answer small { font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: #9DB5FF; }
.answer p { margin: 6px 0 12px; font-size: .98rem; }
.answer .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.answer .acts span { font-size: .82rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--blue); }
.answer .acts span + span { background: rgba(255, 255, 255, .1); }
.console-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.tries { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.tries > span { font-size: .72rem; letter-spacing: .14em; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.tries button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .84rem; color: var(--ink-2); transition: all .2s; }
.tries button[aria-pressed="true"] { background: var(--graphite); color: #fff; border-color: var(--graphite); }

/* ---------- Franja de conexiones ---------- */
.strip { padding: 34px 0; border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; }
.strip small { font-size: .72rem; letter-spacing: .16em; font-weight: 700; color: var(--ink-3); }
.strip span { font-weight: 700; color: var(--ink-2); font-size: .98rem; }

/* ---------- Secciones ---------- */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-ice { background: var(--ice-soft); }
.sec-dark { background: var(--graphite); color: #fff; }
.sec-dark .lead { color: #AEB6C6; }
.sec-dark .eyebrow { color: #8FAAFF; }
.sec-dark .eyebrow::before, .sec-dark .eyebrow::after { background: #8FAAFF; }

/* Un solo sistema */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.split h2 { margin: 14px 0 20px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-top: 36px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.perks b { display: block; font-size: 1rem; margin-bottom: 4px; }
.perks span { font-size: .92rem; color: #AEB6C6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: #8A93A6; font-size: .92rem;
  text-decoration: line-through; text-decoration-color: rgba(255, 110, 110, .75); text-decoration-thickness: 1.5px;
}
.chip.vetia {
  text-decoration: none; color: #fff; background: var(--blue); border-color: var(--blue); font-family: var(--serif); font-weight: 600;
  font-size: 1.05rem; box-shadow: 0 0 0 6px rgba(77, 124, 254, .18), 0 10px 30px -6px rgba(77, 124, 254, .7);
}

/* Módulos */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 14px; margin: 0 -4px 26px; scrollbar-width: none; justify-content: center; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 10px 18px; font-size: .92rem; font-weight: 700; transition: all .2s;
}
.tabs button:hover { border-color: var(--ink-3); }
.tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card .n { font-family: var(--mono); font-size: .74rem; color: var(--blue); background: var(--ice-soft); border-radius: 7px; padding: 3px 8px; display: inline-block; margin-bottom: 18px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.card.feat { background: var(--blue); color: #fff; border-color: var(--blue); }
.card.feat .n { background: rgba(255, 255, 255, .18); color: #fff; }
.card.feat p { color: rgba(255, 255, 255, .88); }
.cards.swap { animation: fadeUp .4s ease; }

/* Veta */
.veta { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.veta h2 { margin: 14px 0 20px; }
.veta .note { display: flex; gap: 12px; margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .94rem; color: var(--ink-2); }
.veta .note svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 1px; }
.chat { background: var(--steel); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); color: #fff; }
.chat-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .72rem; color: #8A93A6; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 18px; }
.chat-top b { color: #fff; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.msg { max-width: 88%; padding: 13px 16px; border-radius: 16px; font-size: .94rem; margin-bottom: 12px; }
.msg.me { margin-left: auto; background: var(--blue); border-bottom-right-radius: 5px; }
.msg.ai { background: rgba(255, 255, 255, .07); border-bottom-left-radius: 5px; }
.msg.ai small { display: block; font-size: .66rem; letter-spacing: .14em; font-weight: 700; color: #9DB5FF; margin-bottom: 4px; }
.msg .acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.msg .acts span { font-size: .8rem; font-weight: 700; padding: 6px 13px; border-radius: 999px; background: #fff; color: var(--graphite); }
.msg .acts span + span { background: rgba(255, 255, 255, .1); color: #fff; }
.chat-input { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); font-size: .88rem; color: #8A93A6; }
.chat-input kbd { margin-left: auto; font-family: var(--mono); font-size: .7rem; padding: 3px 7px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .15); }

/* Criterio */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principle { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden; }
.principle::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(77, 124, 254, .16), transparent 70%); }
.principle .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--graphite); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.principle .ic svg { width: 21px; height: 21px; }
.principle h3 { font-size: 1.15rem; margin-bottom: 8px; }
.principle p { margin: 0; font-size: .94rem; color: var(--ink-2); }

/* Comparativa */
.ask { max-width: 520px; margin: 0 auto 30px; padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px -14px rgba(17, 19, 24, .25); font-weight: 700; text-align: center; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.col { border-radius: 20px; padding: 28px; border: 1px solid var(--line); background: #fff; }
.col.with { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.col-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.col-head small { font-size: .74rem; letter-spacing: .14em; font-weight: 700; color: var(--ink-3); }
.col.with .col-head small { color: #9DB5FF; }
.badge { font-family: var(--mono); font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge.slow { background: #FDECEC; color: #C2412D; }
.badge.fast { background: rgba(77, 124, 254, .2); color: #B9CBFF; }
.col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.col li { display: flex; gap: 12px; font-size: .95rem; color: var(--ink-2); }
.col.with li { color: #D5DBE6; }
.col li::before { content: "—"; color: var(--ink-3); }
.col.with li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.col .res { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: .95rem; }
.col .res b { color: #9DB5FF; font-size: .7rem; letter-spacing: .14em; display: block; margin-bottom: 4px; }
.cta-line { text-align: center; margin-top: 54px; }
.cta-line h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 20px; }

/* Sectores */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector { border-radius: 22px; padding: 32px 28px; background: var(--steel); border: 1px solid rgba(255, 255, 255, .06); display: flex; flex-direction: column; }
.sector .tag { font-size: .72rem; letter-spacing: .14em; font-weight: 700; color: #8FAAFF; }
.sector h3 { font-size: 1.6rem; margin: 12px 0 10px; color: #fff; }
.sector > p { color: #AEB6C6; margin: 0 0 22px; font-size: .96rem; }
.sector ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 10px; }
.sector li { display: flex; gap: 10px; font-size: .93rem; color: #D5DBE6; }
.sector li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 9px; }
.sector.feat { background: var(--blue); border-color: var(--blue); }
.sector.feat .tag { color: #fff; opacity: .8; }
.sector.feat > p, .sector.feat li { color: rgba(255, 255, 255, .92); }
.sector.feat li::before { background: #fff; }
.sector.feat ul { border-top-color: rgba(255, 255, 255, .25); }

/* Un día con Vetia */
.day { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.day h2 { margin: 14px 0 20px; }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 58px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.tl { display: grid; grid-template-columns: 46px 1fr; gap: 26px; align-items: start; }
.tl time { font-family: var(--mono); font-size: .84rem; font-weight: 700; color: var(--ink-3); padding-top: 18px; text-align: right; }
.tl div { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.tl div::before { content: ""; position: absolute; left: -18px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--ice-soft); }
.tl b { display: block; font-size: 1rem; }
.tl span { font-size: .92rem; color: var(--ink-2); }

/* Seguridad */
.security { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec-item { padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.sec-item svg { width: 24px; height: 24px; color: var(--blue); margin-bottom: 16px; }
.sec-item b { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.sec-item span { font-size: .92rem; color: var(--ink-2); }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; }
.plan.pro { background: var(--graphite); color: #fff; border-color: var(--graphite); box-shadow: var(--shadow); }
.plan .flag { position: absolute; top: -13px; left: 30px; background: var(--blue); color: #fff; font-size: .7rem; letter-spacing: .14em; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.7rem; }
.plan > p { color: var(--ink-2); font-size: .95rem; min-height: 48px; margin: 8px 0 22px; }
.plan.pro > p { color: #AEB6C6; }
.price { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.price-note { font-size: .82rem; color: var(--ink-3); margin: 8px 0 24px; }
.plan.pro .price-note { color: #8A93A6; }
.plan ul { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.plan.pro ul { border-top-color: rgba(255, 255, 255, .12); }
.plan li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.plan.pro li { color: #D5DBE6; }
.plan li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.plan .btn { width: 100%; }
.plans-foot { text-align: center; margin-top: 30px; font-size: .78rem; letter-spacing: .12em; font-weight: 700; color: var(--ink-3); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--blue); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); max-width: 720px; }

/* Cierre con formulario */
.closing { position: relative; overflow: hidden; background: var(--graphite); color: #fff; padding: 120px 0 140px; }
.closing .wave { position: absolute; right: 0; bottom: 0; width: 100%; height: 70%; pointer-events: none; opacity: .95; }
.closing .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.closing h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 14px 0 20px; }
.closing .lead { color: #AEB6C6; }
.steps { display: grid; gap: 18px; margin-top: 36px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.step i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; color: #9DB5FF; }
.step b { display: block; }
.step span { font-size: .92rem; color: #AEB6C6; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form > p { margin: 0 0 22px; color: var(--ink-2); font-size: .94rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ice-soft); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form .btn { width: 100%; margin-top: 6px; }
.form small { display: block; text-align: center; margin-top: 12px; color: var(--ink-3); font-size: .82rem; }
.form .ok { display: none; padding: 14px; border-radius: 12px; background: #EAF7F1; color: var(--ok); font-weight: 700; text-align: center; margin-top: 12px; }

/* Pie */
footer { background: var(--graphite); color: #AEB6C6; border-top: 1px solid rgba(255, 255, 255, .08); padding: 64px 0 34px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot .logo { color: #fff; font-size: 2.2rem; }
.foot .desc { margin: 6px 0 0; font-weight: 300; }
.foot h4 { margin: 0 0 14px; color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a:hover { color: #fff; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.legal nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Sectores (genérico) */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stile { padding: 24px 22px; border-radius: 18px; background: var(--steel); border: 1px solid rgba(255, 255, 255, .06); transition: border-color .2s, transform .2s; }
.stile:hover { border-color: var(--blue); transform: translateY(-2px); }
.stile b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.stile span { font-size: .92rem; color: #AEB6C6; }
.sector-note { text-align: center; margin: 36px 0 0; color: #AEB6C6; font-size: 1.05rem; }
.sector-note b { color: #fff; }

/* Soluciones a medida */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sol { background: var(--ice-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s; }
.sol:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sol .n { font-family: var(--mono); font-size: .74rem; color: var(--blue); background: #fff; border-radius: 7px; padding: 3px 8px; display: inline-block; margin-bottom: 18px; }
.sol h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sol p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.sol.feat { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.sol.feat .n { background: var(--blue); color: #fff; }
.sol.feat p { color: #AEB6C6; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.pstep { padding: 28px 24px 0 0; position: relative; }
.pstep::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.pstep i { font-style: normal; font-family: var(--mono); font-size: .78rem; color: var(--blue); }
.pstep b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin: 6px 0 6px; }
.pstep span { font-size: .94rem; color: var(--ink-2); }

/* Precio */
.price-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.price-split h2 { margin: 14px 0 20px; }
.price-split .lead + .lead { margin-top: 0; }
.hero-ctas.left { justify-content: flex-start; margin-top: 28px; }
.price-card { background: var(--graphite); color: #fff; border-radius: 26px; padding: 12px 32px; box-shadow: var(--shadow); }
.pc-item { padding: 22px 0 22px 34px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pc-item:last-child { border-bottom: 0; }
.pc-item::before { content: "✓"; position: absolute; left: 0; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.pc-item b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 4px; }
.pc-item span { font-size: .94rem; color: #AEB6C6; }

/* Cierre */
.closing .wrap { align-items: center; }
.closing .steps { margin-top: 0; background: rgba(30, 36, 48, .72); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; padding: 30px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Popup de demo */
.modal { border: 0; padding: 0; background: transparent; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.modal::backdrop { background: rgba(17, 19, 24, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: fadeUp .3s ease; }
.modal .form { position: relative; }
.m-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ice-soft); font-size: 1.4rem; line-height: 1; color: var(--ink-2); }
.m-close:hover { background: var(--ice); }
.field input::placeholder { color: var(--ink-3); }
.gracias { text-align: center; padding: 18px 0 6px; }
.gracias .check { width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.6rem; margin: 0 auto 18px; }
.gracias p { color: var(--ink-2); margin: 8px 0 22px; }
.gracias .btn { width: auto; }
body.modal-open { overflow: hidden; }

@media (max-width: 1020px) {
  .sector-grid, .solutions { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .price-split { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 680px) {
  .sector-grid, .solutions, .process { grid-template-columns: 1fr; }
  .price-card { padding: 6px 22px; }
  .closing .steps { padding: 24px 20px; }
}

/* Animaciones */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .area, .answer { opacity: 1 !important; transform: none !important; transition: none !important; }
  .area .bar { transition: none; }
  .cards.swap { animation: none; }
}

/* ================= EFECTOS TECH ================= */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), #9DB5FF, var(--blue)); box-shadow: 0 0 12px rgba(77, 124, 254, .7); pointer-events: none; }

/* Rejilla técnica con brillo que se mueve */
.tech-grid { overflow: hidden; }
.tech-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(77, 124, 254, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 124, 254, .07) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  transform: translateY(calc(var(--par, 0) * 1px));
}
.tech-grid::after {
  content: ""; position: absolute; width: 640px; height: 640px; left: calc(var(--gx, 50) * 1%); top: 20%; z-index: 0; pointer-events: none;
  transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(77, 124, 254, .16), transparent 65%);
  animation: glow 14s ease-in-out infinite alternate;
}
.sec-dark.tech-grid::before { background-image: linear-gradient(rgba(157, 181, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 181, 255, .06) 1px, transparent 1px); }
.tech-grid > .wrap { position: relative; z-index: 1; }
@keyframes glow { 0% { left: 20%; top: 15%; } 50% { left: 75%; top: 35%; } 100% { left: 40%; top: 60%; } }

/* Variantes de aparición: desenfoque + ligera rotación 3D */
.reveal { filter: blur(6px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease; transition-delay: var(--d, 0ms); }
.reveal.in { filter: none; }
[data-stagger] > .reveal { transform: perspective(900px) translateY(28px) rotateX(10deg); }
[data-stagger] > .reveal.in { transform: none; }
.reveal.out-up { transform: translateY(-18px); }

/* Tarjetas: entrada escalonada al cambiar de pestaña + foco de luz que sigue al ratón */
.cards .card { animation: cardIn .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes cardIn { from { opacity: 0; transform: perspective(900px) translateY(26px) rotateX(14deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.cards.swap { animation: none; }
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(77, 124, 254, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(77, 124, 254, .09), transparent 50%);
}
.spot:hover::after, .spot:hover::before { opacity: 1; }
.fx-tilt { transform-style: preserve-3d; will-change: transform; }

/* Texto que se "descifra" */
.eyebrow.scramble { font-variant-numeric: tabular-nums; }

/* ================= PANEL EN VIVO ================= */
.live { background: #fff; }
.live-grid { display: grid; grid-template-columns: 330px 1fr; gap: 36px; align-items: center; }
.live-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.live-steps li { position: relative; }
.live-steps button {
  width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 16px 18px 18px; color: var(--ink-2);
  transition: background .3s, border-color .3s, color .3s; overflow: hidden; position: relative;
}
.live-steps button b { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; color: var(--ink); }
.live-steps button b i { font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--blue); }
.live-steps button span { display: block; font-size: .9rem; margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s; }
.live-steps button[aria-selected="true"] { background: var(--ice-soft); border-color: var(--line); }
.live-steps button[aria-selected="true"] span { max-height: 120px; opacity: 1; }
.live-steps .pbar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; }
.live-steps button[aria-selected="true"] .pbar { opacity: 1; }
.live-steps .pbar::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.live-frame { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 40px 90px -40px rgba(17, 19, 24, .45), 0 2px 6px rgba(17, 19, 24, .05); overflow: hidden; }
.lf-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FBFCFE; }
.lf-bar .addr { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); }
.live-dot { margin-left: auto; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: #E5484D; display: flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E5484D; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); } 100% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0); } }
.lf-body { display: grid; grid-template-columns: 62px 1fr; height: 470px; }
.lf-side { background: var(--graphite); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; }
.lf-logo { font-family: var(--serif); color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.lf-side i { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .07); transition: background .3s, box-shadow .3s; }
.lf-side i.on { background: var(--blue); box-shadow: 0 0 0 4px rgba(77, 124, 254, .25); }
.lf-stage { position: relative; padding: 22px 24px; overflow: hidden; background: var(--ice-soft); }
.scene { position: absolute; inset: 22px 24px; display: flex; flex-direction: column; gap: 14px; animation: sceneIn .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sc-head h4 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.sc-head small { font-size: .78rem; color: var(--ink-3); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.panel > small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }

/* Escena: resumen */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.kpi.in { opacity: 1; transform: none; }
.kpi small { display: block; font-size: .7rem; color: var(--ink-3); }
.kpi b { display: block; font-family: var(--mono); font-size: 1.08rem; margin-top: 4px; }
.kpi em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--ok); }
.kpi em.down { color: #C2412D; }
.sum-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.chart svg { width: 100%; height: 150px; overflow: visible; }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s ease; }
.chart .area { fill: url(#gradArea); opacity: 0; transition: opacity 1s ease 1.2s; }
.chart.in .line { stroke-dashoffset: 0; }
.chart.in .area { opacity: 1; }
.chart .pt { fill: var(--blue); opacity: 0; transition: opacity .3s 2.1s; }
.chart.in .pt { opacity: 1; animation: pulse2 1.8s 2.2s infinite; }
@keyframes pulse2 { 50% { r: 7; } }
.feed { display: grid; gap: 8px; align-content: start; overflow: hidden; }
.feed div { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--ink-2); animation: feedIn .45s cubic-bezier(.2, .7, .2, 1) both; }
.feed div i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 6px; }
.feed div i.v { background: var(--graphite); box-shadow: 0 0 0 3px rgba(77, 124, 254, .35); }
.feed div time { margin-left: auto; font-family: var(--mono); font-size: .7rem; color: var(--ink-3); flex: none; }
@keyframes feedIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* Escena: embudo */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: 1; min-height: 0; }
.kcol { background: rgba(255, 255, 255, .6); border: 1px dashed #D3DBE8; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.kcol > small { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; }
.kcol.won > small { color: var(--ok); }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font-size: .8rem; box-shadow: 0 2px 6px rgba(17, 19, 24, .04); }
.kcard b { display: block; font-size: .82rem; }
.kcard span { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); }
.kcard.moving { box-shadow: 0 16px 30px -10px rgba(77, 124, 254, .55); border-color: var(--blue); z-index: 3; position: relative; }
.kcard.won { border-color: var(--ok); }
.kcard .tag { display: inline-block; margin-top: 4px; font-size: .64rem; font-weight: 700; color: var(--blue); background: var(--ice-soft); padding: 2px 6px; border-radius: 5px; font-family: var(--sans); }

/* Escena: agenda */
.week { display: grid; grid-template-columns: 44px repeat(5, 1fr); gap: 6px; flex: 1; min-height: 0; font-size: .74rem; }
.week .dh { text-align: center; font-weight: 700; color: var(--ink-3); font-size: .7rem; letter-spacing: .08em; }
.week .hh { font-family: var(--mono); color: var(--ink-3); font-size: .68rem; padding-top: 6px; }
.slot { background: #fff; border: 1px solid var(--line); border-radius: 8px; min-height: 40px; position: relative; overflow: hidden; }
.slot .ev { position: absolute; inset: 3px; border-radius: 6px; background: rgba(77, 124, 254, .12); border-left: 3px solid var(--blue); padding: 3px 6px; font-size: .68rem; line-height: 1.25; color: var(--ink); animation: evIn .4s cubic-bezier(.2, .7, .2, 1) both; overflow: hidden; }
.slot .ev.alt { background: rgba(17, 19, 24, .06); border-left-color: var(--graphite); }
.slot .ev.cancel { background: #FDECEC; border-left-color: #C2412D; text-decoration: line-through; color: #C2412D; }
.slot .ev.fill { background: rgba(31, 157, 107, .12); border-left-color: var(--ok); }
@keyframes evIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Escena: automatización */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: center; flex: 1; padding: 10px 0; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: #D3DBE8; }
.flow .fill-line { position: absolute; left: 10%; top: 50%; height: 2px; width: calc(80% * var(--f, 0)); background: var(--blue); box-shadow: 0 0 10px rgba(77, 124, 254, .8); transition: width .8s ease; }
.node { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; transition: border-color .4s, box-shadow .4s, transform .4s; }
.node .ic { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 11px; display: grid; place-items: center; background: var(--ice-soft); color: var(--ink-3); transition: background .4s, color .4s; }
.node .ic svg { width: 19px; height: 19px; }
.node b { display: block; font-size: .78rem; line-height: 1.25; }
.node span { display: block; font-size: .68rem; color: var(--ink-3); margin-top: 3px; }
.node.on { border-color: var(--blue); box-shadow: 0 12px 26px -12px rgba(77, 124, 254, .7); transform: translateY(-3px); }
.node.on .ic { background: var(--blue); color: #fff; }
.node.done .ic { background: var(--graphite); color: #fff; }
.flow-log { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); display: grid; gap: 4px; min-height: 92px; }
.flow-log div { animation: feedIn .4s both; }
.flow-log div::before { content: "› "; color: var(--blue); }

/* Escena: WhatsApp */
.wa { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; min-height: 0; }
.phone { background: #0B141A; border-radius: 22px; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.phone .ph-top { display: flex; align-items: center; gap: 8px; color: #E9EDEF; font-size: .78rem; padding: 2px 4px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.phone .ph-top i { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: .8rem; }
.phone .ph-top small { display: block; font-size: .64rem; color: #8696A0; }
.bub { max-width: 84%; font-size: .76rem; padding: 7px 10px; border-radius: 10px; color: #E9EDEF; animation: feedIn .35s both; line-height: 1.35; }
.bub.in { background: #202C33; align-self: flex-start; border-top-left-radius: 3px; }
.bub.out { background: #005C4B; align-self: flex-end; border-top-right-radius: 3px; }
.typing { align-self: flex-end; background: #005C4B; border-radius: 10px; padding: 8px 10px; display: flex; gap: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #9FE3D2; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.wa-side { display: grid; gap: 10px; align-content: start; }
.wa-side .panel { animation: feedIn .45s both; }
.wa-side .panel b { display: block; font-size: .9rem; }
.wa-side .panel span { font-size: .8rem; color: var(--ink-2); }
.wa-side .ok { color: var(--ok); font-weight: 700; }

/* Notificaciones de Veta dentro del panel */
.lf-toasts { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 5; width: min(300px, 70%); pointer-events: none; }
.toast { background: var(--graphite); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: .78rem; box-shadow: 0 16px 34px -12px rgba(17, 19, 24, .6); animation: toastIn .45s cubic-bezier(.2, .7, .2, 1) both; display: flex; gap: 8px; }
.toast::before { content: "V."; font-family: var(--serif); font-weight: 600; color: #9DB5FF; }
.toast.bye { animation: toastOut .35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; z-index: 4; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(77, 124, 254, .12) 70%, rgba(77, 124, 254, .5) 100%); }
.scan.go { animation: scan 1s ease-out; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-120px); } 100% { opacity: 0; transform: translateY(560px); } }

/* ================= POR QUÉ VETIA ================= */
.vs-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 44px; }
.vs { padding: 24px 22px; border-radius: 18px; background: var(--steel); border: 1px solid rgba(255, 255, 255, .06); }
.vs small { font-size: .7rem; letter-spacing: .14em; font-weight: 700; color: #8A93A6; }
.vs b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.55rem; margin: 8px 0 6px; color: #fff; }
.vs span { font-size: .92rem; color: #AEB6C6; }
.vs-us { background: var(--blue); border-color: var(--blue); box-shadow: 0 20px 50px -20px rgba(77, 124, 254, .9); }
.vs-us small, .vs-us span { color: rgba(255, 255, 255, .88); }
.vs-us .dot { color: #fff; }
.vs-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(30, 36, 48, .6); }
.vs-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.vs-table th, .vs-table td { padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); text-align: center; }
.vs-table thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8A93A6; font-weight: 700; }
.vs-table tbody th { text-align: left; font-weight: 400; color: #D5DBE6; }
.vs-table tr:last-child th, .vs-table tr:last-child td { border-bottom: 0; }
.vs-table .us { background: rgba(77, 124, 254, .12); }
.vs-table thead .us { color: #fff; font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0; text-transform: none; }
.vs-table tbody tr { transition: background .2s; }
.vs-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
i.yes, i.mid, i.no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; position: relative; }
i.yes { background: var(--blue); box-shadow: 0 0 0 4px rgba(77, 124, 254, .2); }
i.yes::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
i.mid { border: 2px solid #8A93A6; }
i.mid::after { content: ""; position: absolute; left: 3px; right: 3px; top: 8px; height: 2px; background: #8A93A6; }
i.no { border: 2px solid rgba(255, 255, 255, .15); }
i.no::before, i.no::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; background: rgba(255, 255, 255, .3); transform: rotate(45deg); }
i.no::after { transform: rotate(-45deg); }
.vs-table-wrap.in tbody td.us i.yes { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.vs-table-wrap.in tbody tr:nth-child(2) td.us i { animation-delay: .08s; } .vs-table-wrap.in tbody tr:nth-child(3) td.us i { animation-delay: .16s; }
.vs-table-wrap.in tbody tr:nth-child(4) td.us i { animation-delay: .24s; } .vs-table-wrap.in tbody tr:nth-child(5) td.us i { animation-delay: .32s; }
.vs-table-wrap.in tbody tr:nth-child(6) td.us i { animation-delay: .4s; } .vs-table-wrap.in tbody tr:nth-child(7) td.us i { animation-delay: .48s; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.vs-legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 0; padding: 14px; font-size: .8rem; color: #8A93A6; border-top: 1px solid rgba(255, 255, 255, .07); }
.vs-legend span { display: flex; align-items: center; gap: 8px; }
.vs-legend i { transform: scale(.75); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.pillar { padding: 28px 24px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(30, 36, 48, .9), rgba(30, 36, 48, .4)); }
.pillar .n { font-family: var(--mono); font-size: .74rem; color: #9DB5FF; }
.pillar b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin: 10px 0 8px; color: #fff; }
.pillar span { font-size: .93rem; color: #AEB6C6; }

@media (max-width: 1020px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-steps { grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .live-steps::-webkit-scrollbar { display: none; }
  .vs-cards { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .lf-body { grid-template-columns: 1fr; height: 520px; }
  .lf-side { display: none; }
  .lf-stage { padding: 16px; }
  .scene { inset: 16px; gap: 10px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .sum-grid { grid-template-columns: 1fr; }
  .chart svg { height: 110px; }
  .kanban { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
  .kcol { padding: 7px; gap: 6px; overflow: hidden; }
  .kcard { padding: 6px 8px; }
  .kcard .tag { display: none; }
  .week { grid-template-columns: 38px repeat(3, 1fr); }
  .week .d4, .week .d5 { display: none; }
  .flow { grid-template-columns: 1fr; gap: 8px; }
  .flow::before, .flow .fill-line { display: none; }
  .node { display: flex; align-items: center; gap: 12px; text-align: left; padding: 8px 12px; }
  .node .ic { margin: 0; width: 32px; height: 32px; flex: none; }
  .flow-log { display: none; }
  .wa { grid-template-columns: 1fr; }
  .wa-side { display: none; }
  .vs-cards { grid-template-columns: 1fr; }
  .live-steps button span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-grid::after { animation: none; }
  .reveal { filter: none !important; }
  .cards .card, .scene, .feed div, .bub, .toast, .slot .ev { animation: none !important; }
  .progress { display: none; }
}

/* ================= EN PERSONA ================= */
.persona { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.persona h2 { margin: 14px 0 20px; }
.persona-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.persona-tags span { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(157, 181, 255, .35); color: #D5DBE6; font-size: .9rem; background: rgba(77, 124, 254, .08); }
.persona-quote { margin: 34px 0 0; padding-left: 18px; border-left: 2px solid var(--blue); font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: #D5DBE6; }
.persona-quote b { color: #fff; font-weight: 600; }
.journey { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.journey::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: rgba(255, 255, 255, .1); }
.journey-line { position: absolute; left: 23px; top: 24px; width: 2px; height: calc((100% - 48px) * var(--jl, 0)); background: linear-gradient(var(--blue), #9DB5FF); box-shadow: 0 0 12px rgba(77, 124, 254, .8); transition: height .15s linear; }
.journey li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.jn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .82rem; color: #9DB5FF; background: var(--graphite); border: 1px solid rgba(157, 181, 255, .35); position: relative; z-index: 1; transition: background .4s, color .4s, box-shadow .4s; }
.journey li.lit .jn { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 0 6px rgba(77, 124, 254, .18); }
.journey li > div { padding: 16px 20px; border-radius: 16px; background: rgba(30, 36, 48, .75); border: 1px solid rgba(255, 255, 255, .07); }
.journey li b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: #fff; margin-bottom: 4px; }
.journey li span { font-size: .93rem; color: #AEB6C6; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.role { padding: 26px 24px; border-radius: 18px; background: var(--steel); border: 1px solid rgba(255, 255, 255, .06); }
.role small { font-size: .68rem; letter-spacing: .14em; font-weight: 700; color: #8FAAFF; }
.role b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: #fff; margin: 8px 0 6px; }
.role span { font-size: .93rem; color: #AEB6C6; }
@media (max-width: 1020px) { .persona { grid-template-columns: 1fr; gap: 48px; } .roles { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .persona-quote { font-size: 1.15rem; } .journey li { grid-template-columns: 40px 1fr; gap: 14px; } .jn { width: 40px; height: 40px; } .journey::before, .journey-line { left: 19px; } }

/* ================= VETA EN VIVO (chat) ================= */
.vchat {
  --bd: rgba(157, 181, 255, .16);
  position: relative; isolation: isolate; border-radius: 26px; padding: 18px; color: #fff;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(77, 124, 254, .22), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(77, 124, 254, .12), transparent 60%),
    linear-gradient(180deg, #161B26, #111318);
  box-shadow: 0 40px 90px -30px rgba(17, 19, 24, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.vchat::before { /* borde de luz que gira */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, rgba(77, 124, 254, .9) 75%, #9DB5FF 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: girar 6s linear infinite;
}
.vchat::after { /* rejilla sutil */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(157, 181, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 181, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes girar { to { --ang: 360deg; } }
.vc-top { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid var(--bd); }
.vc-orb { width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative;
  background: conic-gradient(from 0deg, #4D7CFE, #9DB5FF, #3A66E0, #4D7CFE); animation: girarOrb 4s linear infinite; box-shadow: 0 0 18px rgba(77, 124, 254, .6); }
.vc-orb::after { content: "V"; position: absolute; inset: 3px; border-radius: 50%; background: #111318; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: .95rem; animation: girarOrb 4s linear infinite reverse; }
.vchat.pensando .vc-orb { animation-duration: 1s; box-shadow: 0 0 0 6px rgba(77, 124, 254, .18), 0 0 26px rgba(77, 124, 254, .9); }
.vchat.pensando .vc-orb::after { animation-duration: 1s; }
@keyframes girarOrb { to { transform: rotate(360deg); } }
.vc-id b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.vc-id small { font-family: var(--mono); font-size: .7rem; color: #8A93A6; display: flex; align-items: center; gap: 6px; }
.vc-id small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2FD08D; box-shadow: 0 0 8px #2FD08D; }
.vchat.pensando .vc-id small::before { background: #9DB5FF; box-shadow: 0 0 8px #9DB5FF; animation: blink 1s infinite; }
.vc-wa { margin-left: auto; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: #8A93A6; text-align: right; }
.vc-cases { display: flex; gap: 6px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: none; }
.vc-cases::-webkit-scrollbar { display: none; }
.vc-cases button { flex: none; border: 1px solid var(--bd); background: rgba(255, 255, 255, .03); color: #AEB6C6; border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 700; transition: all .2s; }
.vc-cases button:hover { color: #fff; border-color: rgba(157, 181, 255, .45); }
.vc-cases button[aria-selected="true"] { background: rgba(77, 124, 254, .18); border-color: var(--blue); color: #fff; }
.vc-log { height: 430px; overflow-y: auto; padding: 14px 2px 6px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22px); mask-image: linear-gradient(180deg, transparent, #000 22px); }
.vm { max-width: 90%; font-size: .92rem; line-height: 1.5; animation: feedIn .35s cubic-bezier(.2, .7, .2, 1) both; }
.vm.me { align-self: flex-end; background: var(--blue); padding: 11px 15px; border-radius: 16px 16px 5px 16px; box-shadow: 0 10px 24px -12px rgba(77, 124, 254, .9); }
.vm.ai { align-self: flex-start; width: 90%; background: rgba(255, 255, 255, .05); border: 1px solid var(--bd); padding: 12px 15px; border-radius: 16px 16px 16px 5px; backdrop-filter: blur(6px); }
.vm.ai > small { display: block; font-size: .64rem; letter-spacing: .14em; font-weight: 700; color: #9DB5FF; margin-bottom: 6px; }
.vc-steps { display: grid; gap: 3px; font-family: var(--mono); font-size: .72rem; color: #8A93A6; margin-bottom: 8px; }
.vc-steps div { display: flex; align-items: center; gap: 8px; animation: feedIn .25s both; }
.vc-steps i { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid rgba(157, 181, 255, .3); border-top-color: #9DB5FF; animation: girarOrb .7s linear infinite; }
.vc-steps div.ok i { animation: none; border: 0; background: #2FD08D; position: relative; }
.vc-steps div.ok i::after { content: ""; position: absolute; left: 4px; top: 2px; width: 3px; height: 6px; border: solid #0B2A1E; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vc-steps div.ok { color: #AEB6C6; }
.vc-text { min-height: 1.5em; }
.vc-text .cur { display: inline-block; width: 7px; height: 1em; background: #9DB5FF; vertical-align: -2px; margin-left: 2px; animation: blink .8s infinite; }
.vc-text ul { margin: 6px 0 0; padding-left: 18px; }
.vc-w { margin-top: 10px; animation: feedIn .4s both; }
.vc-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vc-doc { background: rgba(0, 0, 0, .25); border: 1px solid var(--bd); border-radius: 12px; padding: 10px 12px; }
.vc-doc small { display: block; font-family: var(--mono); font-size: .66rem; color: #8A93A6; }
.vc-doc b { display: block; font-family: var(--mono); font-size: 1rem; margin: 2px 0; }
.vc-doc span { font-size: .72rem; color: #9DB5FF; }
.vc-doc span.warn { color: #FFB27A; }
.vc-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 110px; padding: 10px 12px 0; background: rgba(0, 0, 0, .25); border: 1px solid var(--bd); border-radius: 12px; }
.vc-bars div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; font-family: var(--mono); font-size: .64rem; color: #8A93A6; }
.vc-bars i { width: 100%; max-width: 38px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #9DB5FF, #4D7CFE); height: 0; transition: height .9s cubic-bezier(.2, .7, .2, 1); }
.vc-bars i.low { background: linear-gradient(180deg, #FFB27A, #E5484D); }
.vc-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-slots button { border: 1px solid var(--bd); background: rgba(0, 0, 0, .25); color: #fff; border-radius: 10px; padding: 8px 12px; font-family: var(--mono); font-size: .78rem; transition: all .2s; }
.vc-slots button small { display: block; font-family: var(--sans); font-size: .68rem; color: #8A93A6; }
.vc-slots button:hover, .vc-slots button.sel { border-color: var(--blue); background: rgba(77, 124, 254, .2); }
.vc-list { display: grid; gap: 6px; }
.vc-list div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid var(--bd); font-size: .82rem; animation: feedIn .3s both; }
.vc-list span { font-family: var(--mono); font-size: .72rem; color: #8A93A6; }
.vc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; animation: feedIn .3s both; }
.vc-acts button { border: 0; border-radius: 999px; padding: 8px 15px; font-size: .82rem; font-weight: 700; background: #fff; color: var(--graphite); transition: transform .15s, background .2s; }
.vc-acts button:hover { transform: translateY(-1px); }
.vc-acts button + button { background: rgba(255, 255, 255, .1); color: #fff; }
.vc-acts button.done { background: #2FD08D; color: #0B2A1E; pointer-events: none; }
.vc-input { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--bd); transition: border-color .2s, box-shadow .2s; }
.vc-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(77, 124, 254, .18); }
.vc-input input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: inherit; font-size: .92rem; padding: 8px 0; }
.vc-input input::placeholder { color: #6E7789; }
.vc-input button { width: 38px; height: 38px; flex: none; border-radius: 10px; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; transition: background .2s, transform .15s; }
.vc-input button:hover { background: var(--blue-deep); transform: translateY(-1px); }
.vc-input button svg { width: 18px; height: 18px; }
.veta > *, .vchat { min-width: 0; }
.veta .try { margin-top: 18px; font-size: .9rem; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.veta .try b { color: var(--blue); }
@media (max-width: 680px) {
  .vchat { padding: 14px; border-radius: 22px; }
  .vc-wa { display: none; }
  .vc-log { height: 460px; }
  .vm.ai { width: 100%; max-width: 100%; }
  .vc-docs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .vchat::before, .vc-orb, .vc-orb::after { animation: none; } .vm, .vc-steps div, .vc-w, .vc-acts { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta .entrar { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2);
  }
  .nav.open .nav-links a { padding: 12px 0; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .split, .veta, .day, .closing .wrap { grid-template-columns: 1fr; gap: 48px; }
  .principles, .security { grid-template-columns: 1fr 1fr; }
  .cards, .sectors, .plans { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .tabs { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 40px; }
  .nav-cta .btn { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .console-body { padding: 18px 16px 6px; min-height: 420px; }
  .console-foot { padding: 12px 16px; }
  .area { grid-template-columns: 32px 1fr; }
  .area strong { grid-column: 2; }
  .cards, .sectors, .plans, .principles, .security, .compare, .perks, .row { grid-template-columns: 1fr; }
  .plan.pro { order: -1; }
  .foot { grid-template-columns: 1fr; gap: 30px; }
  .closing { padding: 84px 0 110px; }
  .form { padding: 24px 20px; }
  .timeline::before { left: 50px; }
  .tl { grid-template-columns: 40px 1fr; gap: 22px; }
}

/* ================= FLUIDEZ Y MÓVIL ================= */
section[id] { scroll-margin-top: 76px; }
html { -webkit-tap-highlight-color: transparent; }
button, a, input, textarea { touch-action: manipulation; }

/* Brillo de las rejillas: se mueve con transform (lo mueve la GPU, sin recalcular la página) */
.tech-grid::after { left: 50%; top: 30%; animation: glowT 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes glowT { 0% { transform: translate(-90%, -60%); } 50% { transform: translate(-10%, -30%); } 100% { transform: translate(-60%, 10%); } }

/* Las animaciones continuas se paran cuando su sección no está en pantalla */
.paused, .paused *, .paused::before, .paused::after, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* El chat no necesita desenfoque de fondo (era caro al desplazar) */
.vm.ai { backdrop-filter: none; }

/* Dispositivos táctiles y pantallas pequeñas: animaciones más ligeras */
@media (hover: none), (max-width: 680px) {
  .reveal { filter: none; transform: translateY(16px); transition-duration: .6s; }
  [data-stagger] > .reveal { transform: translateY(18px); }
  .cards .card { animation-name: cardInLite; }
  @keyframes cardInLite { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .closing .steps, .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { background: rgba(255, 255, 255, .97); }
  .spot::before, .spot::after { display: none; }
  .tech-grid::after { animation: none; }
}

@media (max-width: 680px) {
  /* Etiqueta del inicio en una sola línea */
  .pill { font-size: .78rem; padding: 6px 12px 6px 6px; gap: 8px; max-width: 100%; }
  .pill b { white-space: nowrap; font-size: .62rem; padding: 3px 8px; }
  .hero h1 { margin: 20px auto 18px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }

  /* Escenas del panel en vivo: tarjetas que se ven completas y encajan al deslizar */
  .live-steps { grid-auto-columns: 82%; scroll-snap-type: x mandatory; gap: 10px; padding: 0 2px 6px; }
  .live-steps li { scroll-snap-align: center; }
  .live-steps button { border-color: var(--line); background: #fff; padding: 14px 16px 18px; height: 100%; }
  .live-steps button b { font-size: .95rem; }
  .live-steps button span { display: block; max-height: none; opacity: 1; font-size: .84rem; }
  .lf-body { height: 500px; }

  /* Tabla comparativa: entra entera en pantalla */
  .vs-table { min-width: 0; font-size: .8rem; table-layout: fixed; }
  .vs-table th, .vs-table td { padding: 11px 4px; }
  .vs-table tbody th { padding-left: 12px; line-height: 1.35; font-size: .78rem; }
  .vs-table thead th:first-child { width: 50%; }
  .vs-table thead th { font-size: .58rem; letter-spacing: .04em; }
  .vs-table thead .us { font-size: .95rem; }
  i.yes, i.mid, i.no { transform: scale(.8); }
  .vs-legend { gap: 10px 14px; font-size: .74rem; }

  /* «Cómo lo construimos»: línea vertical a la izquierda en vez de puntos flotando */
  .process { border-top: 0; border-left: 1px solid var(--line); margin-left: 6px; padding-left: 22px; gap: 22px; margin-top: 44px; }
  .pstep { padding: 0; }
  .pstep::before { left: -27px; top: 6px; }

  /* Varios */
  .vs-cards { margin-bottom: 28px; }
  .vs b { font-size: 1.35rem; }
  .persona-tags span { font-size: .82rem; padding: 7px 12px; }
  .tl div { padding: 14px 16px; }
  .closing h2 { font-size: 2.3rem; }
  .modal .form { padding: 22px 18px; }
  .field input, .field textarea { font-size: 16px; } /* evita el zoom automático de iPhone al escribir */
  .vc-input input { font-size: 16px; }
}
@media (max-width: 380px) {
  .nav-cta .btn { padding: 0 14px; font-size: .86rem; }
  .logo { font-size: 1.6rem; }
  .kpis b { font-size: .95rem; }
}
