/* os7 · "Recorrido" — escenario claro, teléfono oscuro, un pulso de luz que atraviesa el stack. */
:root{
  --bg:#f6f7fb; --surface:#fff; --soft:#eff1f8; --fg:#212331; --ink:#212331; --muted:#5f6679; --line:#e1e4ee;
  --accent:#3a58ed; --accent-soft:#e7ebfe; --ok:#178a5d;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  --r:22px; --r-sm:14px; --wrap:1240px;
  --ph:#171925; --ph-2:#0f111a; --ph-line:#2a2d42; --ph-fg:#eef0fa; --ph-muted:#9299b6;
  --ease:cubic-bezier(.2,.75,.15,1);
}
body{background:var(--bg)}
::selection{background:var(--accent);color:#fff}

/* ---------- mini stack + etiqueta de capa ---------- */
.mini{flex:none;overflow:visible}
.mini polygon{fill:var(--surface);stroke:#b4bcd6;stroke-width:1.1;stroke-linejoin:round}
.mini polygon.hi{fill:var(--accent);stroke:var(--accent)}
.ltag{display:inline-flex;align-items:center;gap:10px;line-height:1.2}
.ltag span{display:grid;gap:1px}
.ltag em{font-style:normal;font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ltag b{font-size:13.5px;font-weight:600;color:var(--accent)}

/* ---------- nav ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:60;height:64px;background:rgba(246,247,251,.82);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .3s}
.nav.scrolled{border-color:var(--line)}
.nav-in{max-width:1380px;height:100%;margin-inline:auto;padding-inline:24px;display:flex;align-items:center;gap:28px}
.nav-links{display:flex;gap:28px;margin-inline:auto;font-size:14.5px;font-weight:500}
.nav-links a{position:relative;padding:6px 0;transition:color .2s}.nav-links a:hover{color:var(--accent)}
.nav-right{display:flex;align-items:center;gap:16px}.nav-login{font-size:14.5px;font-weight:500}.nav-login:hover{color:var(--accent)}
.lang{background:#e9ecf5}

/* ---------- héroe ---------- */
.hero{min-height:100vh;min-height:100svh;padding:104px 0 56px;display:grid;align-items:center;overflow:hidden;
  background:radial-gradient(52% 60% at 78% 46%,#e9edff 0%,transparent 70%)}
.hero-in{width:100%;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,4vw,72px);align-items:center}
.hero-text{display:grid;gap:26px;justify-items:start}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13.5px;color:var(--muted)}
.eyebrow b{font-weight:600;color:var(--fg)}.eyebrow span{padding-left:10px;border-left:1px solid #c9cede}
.hero h1{font-size:clamp(37px,4.8vw,70px);line-height:1.04;letter-spacing:-.036em;max-width:16ch}
.hero-sub{font-size:clamp(16.5px,1.35vw,19.5px);color:var(--muted);max-width:54ch}
.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:6px}
.follow{display:inline-flex;align-items:center;gap:12px;font-size:15px;font-weight:500;padding:4px 4px 4px 0}
.follow i{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid #c9cede;background:var(--surface);color:var(--accent);transition:border-color .2s,background .2s,color .2s}
.follow .arr{transform:rotate(90deg);animation:nudge 1.8s ease-in-out infinite}
.follow span{border-bottom:1px solid #c9cede;padding-bottom:1px;transition:border-color .2s,color .2s}
.follow:hover span{color:var(--accent);border-color:var(--accent)}.follow:hover i{background:var(--accent);border-color:var(--accent);color:#fff}
@keyframes nudge{0%,100%{transform:rotate(90deg) translateX(-2px)}50%{transform:rotate(90deg) translateX(3px)}}

.hv{position:relative;justify-self:end;width:min(100%,520px)}
.hv svg{width:100%;height:auto;overflow:visible}
.hv-l polygon{stroke-linejoin:round}
.hv-l .tp{fill:#fff;stroke:#bcc6ee;stroke-width:1.2}.hv-l .s1{fill:#cdd5f6}.hv-l .s2{fill:#b5c0f1}
.hv-l.gray .tp{stroke:#cfd1dc}.hv-l.gray .s1{fill:#dcdde6}.hv-l.gray .s2{fill:#c9cbd6}
.hv-l text{font:500 13px var(--font);fill:var(--fg)}.hv-l .n{font:500 12px var(--mono);fill:var(--accent)}.hv-l.gray .n{fill:#7b7f92}
.hv-node{fill:#fff;stroke:var(--accent);stroke-width:1.5}
.hv-l .ln{fill:#f0f3fe;stroke:#d3dbf8;stroke-width:1}.hv-l.gray .ln{fill:#f3f3f7;stroke:#dddee7}.hv-l .ln.lit{fill:var(--accent);stroke:var(--accent)}
.hv-spine{stroke:var(--accent);stroke-width:1.5;stroke-dasharray:2 6;stroke-linecap:round;fill:none}
.hv-dot{fill:var(--accent);filter:drop-shadow(0 0 6px rgba(58,88,237,.7));animation:hvdrop 3.6s var(--ease) infinite}
@keyframes hvdrop{0%{transform:translateY(0);opacity:0}10%{opacity:1}55%{transform:translateY(228px);opacity:1}85%{transform:translateY(228px);opacity:1}100%{transform:translateY(228px);opacity:0}}
.hv-msg{position:absolute;left:0;top:0;transform:translate(-4%,-30%);max-width:250px;padding:12px 14px;border-radius:16px 16px 16px 4px;background:var(--ph);color:var(--ph-fg);box-shadow:0 24px 44px -20px rgba(23,25,37,.55)}
.hv-msg span{display:block;font:500 10.5px var(--mono);letter-spacing:.04em;color:var(--ph-muted);margin-bottom:4px}
.hv-msg p{font-size:13.5px;line-height:1.4}

/* ---------- recorrido ---------- */
.jr{height:820vh;scroll-margin-top:-88px}
.jr-sticky{position:sticky;top:0;height:100vh;height:100svh;padding:76px 16px 14px;display:flex}
.jr-stage{position:relative;flex:1;min-width:0;max-width:1380px;margin-inline:auto;display:grid;grid-template-columns:318px minmax(0,1fr) 332px;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"chat vis side" "rail rail rail";column-gap:36px;
  padding:26px 40px 8px;background:var(--surface);border:1px solid var(--line);border-radius:32px;box-shadow:0 1px 2px rgba(20,25,60,.04),0 44px 80px -52px rgba(20,25,60,.3);overflow:hidden}
.jr-chat{grid-area:chat;min-height:0;display:flex;align-items:center}
.jr-vis{grid-area:vis;min-height:0;min-width:0;position:relative;display:flex}
.jr-vis::before{content:"";position:absolute;inset:-26px -18px -8px;pointer-events:none;background:radial-gradient(circle at 1px 1px,#d3d9ec 1px,transparent 1.5px) 0 0/22px 22px;-webkit-mask-image:radial-gradient(58% 56% at 50% 50%,#000 30%,transparent 100%);mask-image:radial-gradient(58% 56% at 50% 50%,#000 30%,transparent 100%)}
.jr-side{grid-area:side;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:30px;transition:opacity .4s ease}

/* teléfono */
.ph{width:100%;height:min(100%,650px);padding:9px;border-radius:40px;background:var(--ph);box-shadow:0 0 0 1px #2d3048 inset,0 40px 60px -34px rgba(23,25,37,.7);display:flex}
.ph-screen{flex:1;min-width:0;display:flex;flex-direction:column;border-radius:32px;overflow:hidden;background:var(--ph-2);color:var(--ph-fg)}
.ph-top{display:flex;align-items:center;gap:10px;padding:14px 14px 12px;background:#161824;border-bottom:1px solid var(--ph-line)}
.ph-top .avatar{width:34px;height:34px;font-size:14px;background:#2a2f4d;color:#c6ceff}
.ph-top div{min-width:0}.ph-top b{display:block;font-size:14px;line-height:1.2;white-space:nowrap}.ph-top em{font-style:normal;display:block;font-size:11px;color:var(--ph-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-live{flex:none;margin-left:auto;font-style:normal;font-size:10.5px;font-weight:500;color:#63d9a6;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:99px;background:rgba(99,217,166,.1)}
.ph-live::before{content:"";width:6px;height:6px;border-radius:50%;background:#63d9a6}
.ph-body{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.045) 1px,transparent 1.5px) 0 0/18px 18px;
}
.ph-scroll{position:absolute;inset:0;overflow:hidden}
.ph-scroll.scrolled{-webkit-mask-image:linear-gradient(transparent,#000 34px);mask-image:linear-gradient(transparent,#000 34px)}
.ph-thread{position:absolute;inset:0 0 auto;display:flex;flex-direction:column;gap:9px;padding:14px 12px 12px;transition:transform .5s var(--ease)}
.cm{display:none;max-width:86%;font-size:13.5px;line-height:1.42}
.cm.show{display:block;animation:cmIn .42s var(--ease) both}
@keyframes cmIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
.cm p{padding:8px 12px;border-radius:15px}
.cm .who{display:block;font-size:10.5px;font-weight:500;color:var(--ph-muted);margin:0 4px 3px}
.cm.in{align-self:flex-start}.cm.in p{background:#272b40;border-bottom-left-radius:4px}
.cm.out{align-self:flex-end}.cm.out p{background:var(--accent);color:#fff;border-bottom-right-radius:4px}.cm.out .who{text-align:right}
.cm.tool,.cm.sys,.cm.note,.cm.day{align-self:center;max-width:100%;font-size:11px;line-height:1.3;text-align:center}
.cm.tool.show,.cm.sys.show,.cm.note.show{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:99px;text-align:left}
.cm .ico{flex:none}
.cm.tool{color:#b9c4ff;background:rgba(58,88,237,.2);border:1px solid rgba(120,142,255,.4)}
.cm.sys{color:#63d9a6;background:rgba(99,217,166,.1);border:1px solid rgba(99,217,166,.34)}
.cm.note{color:#f1d38a;background:rgba(241,211,138,.09);border:1px dashed rgba(241,211,138,.4)}
.cm.day{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;font-size:10px;color:var(--ph-muted);padding:6px 0 2px}
.ph-sheet{position:absolute;inset:auto 8px 8px;padding:14px 14px 12px;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 -18px 40px -10px rgba(0,0,0,.6);transform:translateY(calc(100% + 12px));transition:transform .55s var(--ease)}
.ph.sheet .ph-sheet{transform:none}
.ph-scroll{transition:opacity .4s}.ph.sheet .ph-scroll{opacity:.3}
.ph-sheet p{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;font-size:12.5px;margin-bottom:9px;color:var(--accent)}.ph-sheet p b{font-weight:600}.ph-sheet p span{color:var(--muted);font-size:11.5px}
.ph-sheet ul{display:grid;gap:6px}.ph-sheet li{display:flex;gap:8px;font-size:12.5px;line-height:1.35}.ph-sheet li .ico{flex:none;margin-top:2px;color:var(--ok)}
.ph-input{display:flex;align-items:center;gap:8px;padding:10px 12px 12px;background:#161824;border-top:1px solid var(--ph-line)}
.ph-input span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:var(--ph-muted);padding:8px 14px;border-radius:99px;background:#222538}
.ph-input i{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff}

/* stack isométrico */
.iso{position:relative;width:100%;height:100%;overflow:visible}
.iso text{font-family:var(--font)}
.iso .ly{transition:opacity .45s ease}
.iso .ly.dim{opacity:.4}
.iso .top,.iso .lr,.iso .bus,.iso .stub,.iso .port{vector-effect:non-scaling-stroke}
.iso .top{fill:#fff;stroke:#bcc6ee;stroke-width:1.3;stroke-linejoin:round;transition:fill .4s,stroke .4s}
.iso .sf{fill:#cdd5f6;transition:fill .4s}.iso .sr{fill:#b5c0f1;transition:fill .4s}
.iso .sh{fill:rgba(33,35,49,.07)}
.iso .glow{fill:var(--accent);opacity:0;filter:blur(16px);transition:opacity .5s}
.iso .lr{fill:#f0f3fe;stroke:#d3dbf8;stroke-width:1;transition:fill .35s,stroke .35s}
.iso .bus,.iso .stub{fill:none;stroke:#c5cdea;stroke-width:1.2}
.iso .port{fill:#fff;stroke:#a9b4e2;stroke-width:1.2;transition:fill .3s,stroke .3s}
.iso .ic{fill:none;stroke:#6577e0;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s}
.iso .ic .solid{fill:#6577e0;stroke:none;transition:fill .3s}
.iso .lt{font-weight:600;fill:#262a45;transition:fill .3s}.iso .sb{font-weight:400;fill:#737b9c;transition:fill .3s}
.iso .hd{font-weight:600;letter-spacing:.07em;fill:#7f87a6;transition:fill .3s}.iso .hn{font-family:var(--mono);font-weight:500;fill:var(--accent)}
.iso .gray .top{stroke:#cfd1dc}.iso .gray .sf{fill:#dcdde6}.iso .gray .sr{fill:#c9cbd6}
.iso .gray .lr{fill:#f3f3f7;stroke:#dddee7}.iso .gray .ic{stroke:#7b7f92}.iso .gray .hn{fill:#7b7f92}
.iso .ly.on .top{fill:#f2f5ff;stroke:var(--accent)}
.iso .ly.on .sf{fill:#8498f3}.iso .ly.on .sr{fill:#6c83ef}
.iso .ly.on .glow{opacity:.3}
.iso .ly.on .hd{fill:var(--ink)}.iso .ly.on .hn{fill:var(--accent)}
.iso .ln.seen .lr{fill:#dfe5fd;stroke:#b3c0fa}.iso .ln.seen .nm{fill:#2b46cf}.iso .ln.seen .ic{stroke:var(--accent)}.iso .ln.seen .ic .solid{fill:var(--accent)}
.iso .ln.seen .port,.iso .ln.lit .port{fill:var(--accent);stroke:var(--accent)}
.iso .ln.lit .lr{fill:var(--accent);stroke:#2742d6}
.iso .ln.lit .lt,.iso .ln.lit .sb{fill:#fff}.iso .ln.lit .ic{stroke:#fff}.iso .ln.lit .ic .solid{fill:#fff}
.iso .ln.lit .stub{stroke:var(--accent)}
.iso .spine{fill:none;stroke:#b9c2e6;stroke-width:1.5;stroke-dasharray:2 5;stroke-linecap:round}
.iso .busx{fill:none;stroke:#c5cdea;stroke-width:1.2}
.iso .inlet{fill:none;stroke:#b9c2e6;stroke-width:1.5;stroke-dasharray:2 5;stroke-linecap:round}
.iso .node{fill:#fff;stroke:#a9b4e2;stroke-width:1.5;transition:fill .3s,stroke .3s}.iso .node.on{fill:var(--accent);stroke:var(--accent)}

/* pulso (compartido por las dos vistas) */
.fx .route,.fx .drawn{fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.fx .trail{fill:none;stroke:#5f7bff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px rgba(58,88,237,.85))}
.fx .dot,.fx .halo,.fx .ring{opacity:0}
.fx.live .dot{opacity:1;fill:#fff;stroke:var(--accent);stroke-width:3}
.fx.live .halo{opacity:.2;fill:var(--accent)}
.fx .ring{fill:none;stroke:var(--accent);stroke-width:2}
.fx .ring.go{animation:ring .9s ease-out both}
@keyframes ring{from{opacity:.9;r:6px}to{opacity:0;r:26px}}
.jr-stage[data-step="7"] .fx .route{stroke-dasharray:3 9;animation:flow 1.1s linear infinite}
@keyframes flow{to{stroke-dashoffset:-24}}

/* vista plana (móvil) */
.fl{display:none;position:relative;width:100%;height:100%}
.fl-stack{height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:8px}
.fl-ly{position:relative;padding:8px 8px 15px 30px;border:1px solid #cdd5f3;border-radius:14px;background:#fff;box-shadow:0 4px 0 #cdd5f6;transition:opacity .4s,border-color .4s,background .4s,box-shadow .4s}
.fl-ly.gray{border-color:#d6d8e1;box-shadow:0 4px 0 #d9dae3}
.fl-ly::after{content:"";position:absolute;left:13px;right:14px;bottom:6.5px;border-top:1px solid #c9d0ea}
.fl-ly.dim{opacity:.42}
.fl-ly.on{border-color:var(--accent);background:#f2f5ff;box-shadow:0 4px 0 #7f93f2,0 14px 26px -14px rgba(58,88,237,.6)}
.fl-h{display:flex;align-items:baseline;gap:7px;font-size:11.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#7f87a6;margin-bottom:6px;line-height:1.2;transition:color .3s}
.fl-h span{font-family:var(--mono);font-weight:500;color:var(--accent)}.fl-ly.gray .fl-h span{color:#7b7f92}
.fl-ly.on .fl-h{color:var(--ink)}
.fl-ly ul{display:flex;gap:4px}
.fl-ly .ln{flex:0 1 auto;white-space:nowrap;font-size:min(10px,2.58vw);font-weight:500;line-height:1;padding:6px min(6px,1.45vw);border-radius:7px;background:#f0f3fe;border:1px solid #d3dbf8;color:#262a45;transition:background .3s,color .3s,border-color .3s}
.fl-ly.gray .ln{background:#f3f3f7;border-color:#dddee7}
.fl-ly .ln.seen{background:#dfe5fd;border-color:#b3c0fa;color:#2b46cf}
.fl-ly .ln.lit{background:var(--accent);border-color:var(--accent);color:#fff}
.fl::before{content:"";position:absolute;left:13px;top:-8px;bottom:8px;border-left:1.5px dashed #b9c2e6}
.fl-fx{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}

/* leyenda + log */
.caps{display:grid}
.cap{grid-area:1/1;display:grid;gap:14px;align-content:start;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .4s ease,transform .5s var(--ease),visibility 0s .4s}
.cap.on{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.cap .ltag{margin-bottom:4px;justify-self:start}
.cap h2{font-size:clamp(25px,2.25vw,32px);line-height:1.12;letter-spacing:-.025em}
.cap-p{font-size:15.5px;line-height:1.55;color:var(--muted)}
.jr-log{position:relative;display:grid;gap:0;padding-top:22px;border-top:1px solid var(--line)}
.jr-log li{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);gap:0 12px;align-items:baseline;padding:6px 0 6px 20px;font-size:13.5px;line-height:1.35;color:var(--fg);opacity:0;transform:translateY(6px);transition:opacity .4s ease,transform .5s var(--ease),color .3s}
.jr-log li::before{content:"";position:absolute;left:0;top:11px;width:9px;height:9px;border-radius:50%;background:var(--surface);border:1.5px solid #a9b4e2;transition:background .3s,border-color .3s,box-shadow .3s}
.jr-log li::after{content:"";position:absolute;left:4px;top:23px;bottom:-9px;border-left:1.5px solid #d5dbf1}
.jr-log li:last-child::after{display:none}
.jr-log li.done,.jr-log li.cur{opacity:1;transform:none}
.jr-log li.done{color:var(--muted)}.jr-log li.done::before{background:#a9b4e2}
.jr-log li.cur{font-weight:500}.jr-log li.cur::before{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 4px rgba(58,88,237,.16)}
.jr-log li.cur::after{display:none}
.jr-log time{font-family:var(--mono);font-size:11.5px;color:var(--muted);white-space:nowrap}

/* cierre */
.jr-end{grid-area:side;z-index:2;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:20px;background:var(--surface);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .45s ease,transform .55s var(--ease),visibility 0s .45s}
.jr-stage[data-step="7"] .jr-end{opacity:1;visibility:visible;transform:none;transition-delay:.05s,.05s,0s}
.jr-stage[data-step="7"] .jr-side{opacity:0}
.jr-end h2{font-size:clamp(23px,2vw,29px);line-height:1.14;letter-spacing:-.025em}
.end-ly{align-self:stretch;display:grid}
.end-ly li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:0 8px;padding:9px 0;border-top:1px solid var(--line);line-height:1.3}
.end-ly li:last-child{border-bottom:1px solid var(--line)}
.end-ly span{grid-row:span 2;font-family:var(--mono);font-size:12px;color:var(--accent);padding-top:2px}
.end-ly b{font-size:15px;font-weight:600}.end-ly em{font-style:normal;font-size:13px;color:var(--muted)}

/* riel */
.jr-foot{grid-area:rail;position:relative;display:flex;justify-content:center;align-items:center;padding-top:6px}
.jr-count{position:absolute;right:0;font-family:var(--mono);font-size:12.5px;color:#9aa1b8}.jr-count b{font-weight:500;color:var(--fg)}
.jr-rail{display:flex;justify-content:center;gap:2px}
.jr-rail button{display:block;padding:14px 3px;border-radius:8px}
.jr-rail i{display:block;position:relative;width:34px;height:4px;border-radius:4px;background:#dfe3ee;overflow:hidden;transition:background .2s}
.jr-rail i::after{content:"";position:absolute;inset:0;background:var(--accent);transform-origin:0 50%;transform:scaleX(var(--p,0))}
.jr-rail button:hover i{background:#c3cae0}

/* ---------- secciones ---------- */
.tint{background:var(--soft)}
.center{text-align:center}
.sec{padding-block:clamp(72px,9vw,128px)}
.sec-head{gap:16px;margin-bottom:clamp(36px,5vw,64px)}
.sec-head .ltag{margin-bottom:4px}
.sec-head h2{font-size:clamp(30px,3.9vw,50px);letter-spacing:-.03em;line-height:1.06}
.sec-head .lede{font-size:clamp(16.5px,1.4vw,19px)}
.logos-sec{padding-block:72px 40px}.logos-sec .kicker{margin-bottom:28px;color:var(--muted);font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.08em}
.module,.worker,.industry,.testimonial,.process li{border-radius:var(--r)}
.module-name{font-family:var(--mono);font-weight:500;font-size:13px}
.module h3{letter-spacing:-.025em}
.mock{border-radius:18px;box-shadow:0 1px 2px rgba(20,25,60,.04),0 30px 60px -36px rgba(20,25,60,.34)}

.wk{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:20px;align-items:stretch}
.wk-list{display:grid;gap:6px;align-content:start}
.wk-list button{display:flex;align-items:center;gap:12px;text-align:left;padding:10px 14px;border-radius:16px;border:1px solid transparent;transition:background .2s,border-color .2s}
.wk-list .avatar{width:40px;height:40px;font-size:16px}
.wk-list span{display:grid;min-width:0}.wk-list b{font-size:15.5px;font-weight:600;line-height:1.25}.wk-list em{font-style:normal;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wk-list button:hover{background:rgba(255,255,255,.7)}
.wk-list button[aria-selected="true"]{background:var(--surface);border-color:var(--line);box-shadow:0 12px 24px -18px rgba(20,25,60,.35)}
.wk-list button[aria-selected="true"] b{color:var(--accent)}
.wk-pane{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:clamp(24px,4vw,56px);align-items:center;padding:clamp(22px,3.4vw,44px);border-radius:28px;background:var(--surface);border:1px solid var(--line)}
.wk-pane[hidden]{display:none}
.wk-info{display:grid;gap:14px;justify-items:start}
.wk-info h3{font-size:clamp(24px,2.6vw,34px);letter-spacing:-.025em}.wk-info>p:not(.worker-type){color:var(--muted);max-width:44ch}
.worker-type{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.wk .chat{--m-bg:#161824;--m-soft:#0f111a;--m-line:#2a2d42;--m-fg:#eef0fa;--m-muted:#9299b6;--m-in:#272b40;--m-out:#3a58ed;--ok:#63d9a6;border-radius:26px;border-color:#2a2d42;box-shadow:0 0 0 7px var(--ph),0 40px 60px -34px rgba(23,25,37,.7);margin:7px}
.wk .chat .msg.out{color:#fff}
.wk .chat-body{min-height:250px;justify-content:flex-end;padding:16px 12px}
.wk .chat .avatar{background:#2a2f4d;color:#c6ceff}
.wk .chat-top>div{min-width:0}.wk .chat-top span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wk .chat-top .live{flex:none;white-space:nowrap}

.industries{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.industry{padding:24px;gap:10px;align-content:start;background:var(--surface);transition:border-color .2s,transform .25s var(--ease),box-shadow .25s}
.industry:hover{box-shadow:0 20px 34px -24px rgba(58,88,237,.5)}
.industry h3{font-size:18.5px;margin-top:6px}
.industry-x{background:var(--ink);border-color:var(--ink);color:#fff;align-content:start}
.industry-x{position:relative}.industry-x p{color:#b4bad2}.industry-x .mini{width:28px;height:28px}
.industry-x .go{position:absolute;right:20px;top:22px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;transition:transform .2s}.industry-x:hover .go{transform:translateX(3px)}
.industry-x .mini polygon{fill:none;stroke:#6b7192}.industry-x .mini polygon.hi{fill:#fff;stroke:#fff}
.industry-x:hover{border-color:var(--accent)}

#customers .stats{margin-bottom:28px;padding:26px 30px;border-radius:var(--r);background:var(--ink);color:#fff}
#customers .stats dt{font-size:clamp(28px,3.2vw,42px)}#customers .stats dd{color:#aab0c8}
.testimonial{background:var(--surface)}
.cases-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:56px 0 20px}.cases-head h3{font-size:26px;letter-spacing:-.02em}
.cases{border-radius:var(--r)}

.process{gap:0;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);overflow:hidden}
.process li{border:0;border-radius:0;padding:28px;box-shadow:1px 0 0 var(--line),0 1px 0 var(--line);background:none}
.process .n{font-family:var(--mono)}

.integrations .pills li{font-size:13.5px}
.backers-sec{padding-block:64px}.backers .kicker{color:var(--muted);font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.08em}
.faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:start}.faq-grid .sec-head{position:sticky;top:112px;margin:0}
.faq summary{font-size:18px;transition:color .2s}.faq summary:hover{color:var(--accent)}

.final{margin-block:24px 80px;padding:clamp(52px,7vw,96px) 24px;border-radius:32px;background:var(--ink);color:#fff;overflow:hidden;
  background-image:radial-gradient(60% 90% at 50% 120%,rgba(58,88,237,.75),transparent 70%),radial-gradient(circle at 1px 1px,rgba(255,255,255,.1) 1px,transparent 1.5px);background-size:auto,22px 22px}
.final h2{letter-spacing:-.03em}.final p{color:#b9bfd6}
.final .btn-ghost{border-color:rgba(255,255,255,.34);color:#fff}.final .btn-ghost:hover{border-color:#fff;color:#fff}
.footer .lang{background:#e9ecf5}
.footer{padding-bottom:76px}

/* ---------- 1000 a 1240: tres columnas más ajustadas ---------- */
@media (max-width:1240px){
  .nav-links{gap:20px}
  .jr-stage{grid-template-columns:270px minmax(0,1fr) 262px;column-gap:22px;padding:22px 24px 6px}
  .cap h2{font-size:23px}.cap-p{font-size:14.5px}.jr-end h2{font-size:21px}
  .jr-log li{grid-template-columns:50px minmax(0,1fr);font-size:13px}
  .industries{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1100px){.nav-links{display:none}.nav-right{margin-left:auto}}

/* ---------- 600 a 999: chat a la izquierda, leyenda y stack a la derecha ---------- */
@media (max-width:999px){
  .hero-in{grid-template-columns:minmax(0,1fr)}.hv{display:none}
  .hero h1{max-width:17ch}
  .jr-stage{grid-template-columns:270px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"chat side" "chat vis" "rail rail";gap:12px 24px}
  .jr-side{justify-content:flex-start;gap:10px}
  .jr-end{justify-content:flex-start;gap:12px}
  .jr-end h2{font-size:22px}
  .end-ly li{display:flex;align-items:baseline;gap:8px;padding:7px 0}.end-ly span{padding:0;flex:none;width:22px}.end-ly b{font-size:14px;flex:none}.end-ly em{font-size:13px;margin-left:auto;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .jr-foot{justify-content:flex-end;padding-right:64px}
  .cap{gap:8px}.cap .ltag{margin-bottom:0}
  .jr-log{padding-top:10px}
  .jr-log li{display:none;padding-left:18px}.jr-log li.cur{display:grid}.jr-log li::before{top:10px}
  .wk{grid-template-columns:minmax(0,1fr)}
  .wk-list{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}.wk-list::-webkit-scrollbar{display:none}
  .wk-list button{flex:none}.wk-list em{display:none}
  .wk-pane{grid-template-columns:minmax(0,1fr)}
  .industries{grid-template-columns:repeat(2,minmax(0,1fr))}
  .faq-grid{grid-template-columns:minmax(0,1fr);gap:8px}.faq-grid .sec-head{position:static;margin-bottom:24px}
}

/* ---------- móvil: leyenda, chat compacto y stack visto de frente ---------- */
@media (max-width:599px){
  .nav{height:56px}.nav-in{padding-inline:16px;gap:10px}.nav-login{display:none}.nav .btn-sm{height:36px;padding:0 14px;font-size:13.5px}.nav .btn .arr{display:none}
  .brand{font-size:20px}
  .hero{padding:88px 0 44px}.hero-text{gap:20px}
  .eyebrow span{display:none}
  .jr-sticky{padding:62px 8px 58px}
  .jr-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"side" "chat" "vis" "rail";gap:10px;padding:14px 12px 0;border-radius:24px}
  .jr-vis::before{display:none}
  .iso{display:none}.fl{display:block}
  .jr-end{grid-area:1/1/3/2;gap:10px;justify-content:flex-start}
  .jr-chat{transition:opacity .3s}.jr-stage[data-step="7"] .jr-chat{opacity:0}
  .jr-end h2{font-size:19px}.end-ly b{font-size:13px}.end-ly em{font-size:12px}
  .jr-end .btn{height:38px;margin-top:2px}
  .cap{gap:6px}.cap h2{font-size:19px}.cap-p{font-size:13px;line-height:1.45}
  .ltag em{font-size:10px}.ltag b{font-size:12.5px}
  .jr-log{padding-top:8px}.jr-log li{font-size:12.5px;padding-block:3px}.jr-log li::before{top:7px}
  .ph{height:132px;padding:5px;border-radius:22px}
  .ph-screen{border-radius:17px}
  .ph-top{padding:6px 10px;gap:8px}.ph-top .avatar{width:22px;height:22px;font-size:11px}.ph-top b{font-size:12px}.ph-top em{display:none}
  .ph-input{display:none}
  .ph-scroll.scrolled{-webkit-mask-image:linear-gradient(transparent,#000 20px);mask-image:linear-gradient(transparent,#000 20px)}
  .ph-thread{gap:6px;padding:8px 9px 9px}
  .cm{font-size:12.5px;line-height:1.36}.cm p{padding:6px 10px}.cm .who{display:none}
  .ph-sheet{inset:4px;padding:7px 10px;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.ph-sheet p{margin-bottom:3px;font-size:11.5px}.ph-sheet p span{font-size:11px}.ph-sheet ul{gap:1px}.ph-sheet li{font-size:11px;gap:6px}.ph-sheet li .ico{margin-top:1px}
  .jr-rail button{padding:10px 2px}.jr-rail i{width:26px}
  .industries{grid-template-columns:minmax(0,1fr)}
  .industry{grid-template-columns:28px minmax(0,1fr);gap:4px 14px;padding:18px 20px;align-items:start}.industry h3{margin-top:2px}.industry p{grid-column:2}.industry-x .mini{width:26px;height:31px}
  .wk-pane{padding:18px;border-radius:22px}
  .wk .chat{box-shadow:0 0 0 7px var(--ph),0 22px 30px -24px rgba(23,25,37,.6)}
  #customers .stats{padding:22px}
  .cases-head{flex-direction:column;gap:6px}
  .faq summary{font-size:16.5px}
}

@media (prefers-reduced-motion:reduce){
  .follow .arr,.hv-dot,.jr-stage[data-step="7"] .fx .route,.fx .ring.go{animation:none}
  .cm.show{animation:none}
  .ph-thread,.ph-sheet,.cap,.jr-end,.jr-log li,.iso .ly{transition:none}
}
