/* Короткая демонстрация: обращение, обработка, конкретный результат. */
.workflow-demo.connected-lab.wrap{padding:48px 64px;background:radial-gradient(ellipse at 50% 45%,#162b4b88,transparent 65%),#090f19;color:#eef4ff;border:1px solid #25344a;border-radius:26px;overflow:hidden}
.wf-heading{max-width:900px;margin-bottom:26px}.wf-heading .eyebrow{color:#a4beea;font-size:11px;letter-spacing:.16em}.wf-heading h2{font:650 clamp(32px,3.1vw,48px)/1.08 "Services Inter",Arial,sans-serif;letter-spacing:-.045em;margin:15px 0 0;color:#fff}
.wf-options{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px}.wf-options button{font:500 14px/1.2 "Services Inter",Arial,sans-serif;color:#afc3e3;background:#152236;border:1px solid #344b6a;border-radius:24px;padding:12px 21px;min-height:44px;cursor:pointer;transition:background .2s,border-color .2s}.wf-options button[aria-pressed=true]{background:#2b50ff;color:#fff;border-color:#7896ff;box-shadow:0 0 22px #2856ff26}.wf-options button:hover{border-color:#91b6ff}
.workflow-demo :is(button,a):focus-visible{outline:3px solid #b6d8ff;outline-offset:4px}
.wf-flow{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;isolation:isolate}
.wf-card{position:relative;min-width:0;padding:22px;border:1px solid #3e577a;border-radius:18px;background:linear-gradient(145deg,#1d2d45,#111d2e);box-shadow:inset 0 1px #d3e5ff0c;transition:border-color .3s,box-shadow .3s;display:flex;flex-direction:column;z-index:1}
.wf-card h3{font:650 22px/1.2 "Services Inter",Arial,sans-serif;margin:0 0 16px;letter-spacing:-.025em;color:#f3f6ff}
.wf-visual{height:182px;position:relative;min-width:0;border-radius:12px;background:radial-gradient(ellipse at 50% 80%,#3965ff25,transparent 75%),#16263e;border:1px solid #a5c7ff1a;margin-bottom:18px;display:flex;align-items:center;justify-content:center}
.wf-visual img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 10px #020b1850)}
.wf-source .wf-site-art{height:145px;align-self:flex-start}.wf-message{position:absolute;left:10px;right:10px;bottom:10px;min-height:35px;padding:10px 12px;font:500 12px/1.4 "Services Inter",Arial,sans-serif;background:#edf3ff;color:#112541;border-radius:8px;box-shadow:0 5px 18px #0002}.wf-message:before{content:"";position:absolute;left:14px;top:-5px;width:10px;height:10px;background:#edf3ff;rotate:45deg}
.wf-source-icon{width:72px;height:72px;fill:#91bbff;align-self:flex-start;margin-top:22px}
.wf-engine img{padding:10px}.wf-engine-system{display:flex;align-items:center;gap:20px}.wf-engine-system svg{width:52px;height:52px;fill:#78a4ff}.wf-engine-system i{width:34px;height:2px;background:#9ecaff;position:relative;box-shadow:0 0 14px #3988ff}.wf-engine-system i:after{content:"";position:absolute;right:0;top:-3px;width:7px;height:7px;border-top:2px solid #9ecaff;border-right:2px solid #9ecaff;rotate:45deg}
.workflow-demo [hidden]{display:none!important}
.wf-run{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:11px 15px;width:100%;border:1px solid #759cff;border-radius:9px;color:#fff;background:#2b50ff;font:600 13px/1.3 "Services Inter",Arial,sans-serif;cursor:pointer;margin-top:auto}.wf-run span{font-size:21px;font-weight:400}.wf-run:disabled{cursor:default;background:#223b6a;border-color:#3f6299;color:#bfceea}.wf-run:hover:not(:disabled){background:#3b61ff}
.wf-tag,.wf-notice{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 10px;border-radius:9px;font:500 12px/1.4 "Services Inter",Arial,sans-serif;text-align:center;opacity:0;transform:translateY(5px);transition:opacity .35s,transform .35s;margin-top:auto}.wf-tag{background:#294b891c;border:1px solid #638bcc;color:#c0d9ff}.wf-notice{gap:7px;background:#87d8bc0d;border:1px solid #87d8bc40;color:#a3e5ce}.wf-notice svg{fill:currentColor;width:17px;height:17px;flex:none}
.wf-output-window{width:calc(100% - 24px);height:calc(100% - 24px);border-radius:10px;background:#1d304a;border:1px solid #526d9159;padding:13px;position:relative;overflow:hidden}.wf-window-bar{display:flex;gap:4px;margin-bottom:18px}.wf-window-bar i{width:5px;height:5px;border-radius:50%;background:#617b9f}.wf-skeleton{display:grid;gap:13px;padding:5px 0}.wf-skeleton i{height:10px;background:#344b69;border-radius:3px}.wf-skeleton i:nth-child(2){width:75%}.wf-skeleton i:nth-child(3){width:45%}.wf-task{position:absolute;inset:39px 13px 12px;opacity:0;translate:0 10px;transition:opacity .35s,translate .35s;display:flex;flex-direction:column;gap:8px}.wf-task-label{color:#a8c5f2;font:10px/1.3 "Services Inter",Arial,sans-serif}.wf-task-title{font:600 14px/1.35 "Services Inter",Arial,sans-serif;color:#f0f5ff;padding-right:13px}.wf-task-detail{font:11px/1.4 "Services Inter",Arial,sans-serif;color:#b3c5df}.wf-task-check{position:absolute;right:0;top:0;color:#94e8c7;font-size:17px}.wf-chart{display:flex;align-items:flex-end;gap:9px;height:38px;margin-top:auto}.wf-chart i{flex:1;background:#5d8cff;border-radius:3px 3px 0 0;height:65%}.wf-chart i:nth-child(2){height:90%}.wf-chart i:nth-child(3){height:40%}.wf-chart i:nth-child(4){height:100%}.wf-chart i:nth-child(5){height:75%}
.wf-card.is-active{border-color:#90bbff;box-shadow:0 0 32px #417bff27,inset 0 1px #d3e1ff20}.wf-card.is-done{border-color:#678ab8}.wf-card.is-done .wf-tag,.wf-card.is-active .wf-tag,.wf-card.is-done .wf-notice,.wf-card.is-active .wf-notice{opacity:1;transform:none}.wf-card.is-done .wf-task,.wf-card.is-active .wf-task{opacity:1;translate:0 0}.wf-card.is-done .wf-skeleton,.wf-card.is-active .wf-skeleton{opacity:0}
.wf-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:0;pointer-events:none}.wf-wire-glow{stroke:#4d90ff;stroke-width:7;filter:blur(4px);opacity:.6}.wf-wire-line{stroke:#87b8ff;stroke-width:1.5}.wf-wires path{stroke-linecap:round}.wf-packet{position:absolute;left:0;top:0;display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#e8f4ff;border:1px solid #91c4ff;box-shadow:0 0 20px #61a3ff;color:#2256ae;font-size:16px;z-index:3;opacity:0;pointer-events:none;translate:-50% -50%}
.wf-footer{margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:24px;border-top:1px solid #273b55;min-height:80px}.wf-footer p{font:500 16px/1.5 "Services Inter",Arial,sans-serif;margin:0;color:#bcd6ef;max-width:650px}.wf-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:none;background:#2b50ff;border:1px solid #7695ff;border-radius:30px;padding:16px 22px;min-height:52px;color:#fff;font:600 14px/1.3 "Services Inter",Arial,sans-serif;text-decoration:none}.wf-cta:hover{background:#3b61ff}.wf-cta span{font-size:22px}.wf-nojs{color:#c1d6ef}
@media(max-width:1200px){.workflow-demo.connected-lab.wrap{padding:36px}.wf-flow{gap:30px}.wf-card{padding:16px}.wf-visual{height:165px}.wf-source .wf-site-art{height:128px}.wf-task-title{font-size:13px}.wf-footer p{font-size:14px}.wf-cta{font-size:13px;gap:12px;padding:14px 18px}}
@media(max-width:950px){.workflow-demo.connected-lab.wrap{padding:28px}.wf-flow{gap:24px}.wf-card{padding:13px}.wf-card h3{font-size:19px}.wf-visual{height:154px}.wf-source .wf-site-art{height:115px}.wf-message{font-size:11px;padding:8px;left:6px;right:6px}.wf-output-window{width:calc(100% - 12px);height:calc(100% - 12px);padding:9px}.wf-task{inset:31px 9px 8px}.wf-task-title{font-size:12px}.wf-task-detail{font-size:10px}.wf-tag,.wf-notice{font-size:11px;padding:7px}.wf-run{font-size:12px;padding:10px}.wf-footer{gap:18px}}
@media(max-width:760px){.workflow-demo.connected-lab.wrap{width:calc(100% - 24px);padding:27px 18px;border-radius:22px}.wf-heading{margin-bottom:23px}.wf-heading h2{font-size:clamp(28px,7.5vw,42px);line-height:1.09;margin-top:12px}.wf-heading .eyebrow{font-size:10px}.wf-options{gap:7px;margin-bottom:25px}.wf-options button{padding:10px 14px;font-size:12px}.wf-flow{grid-template-columns:1fr;gap:30px}.wf-card{padding:16px;display:grid;grid-template-columns:42% minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:16px;min-height:157px}.wf-card h3{grid-column:2;grid-row:1;align-self:end;font-size:21px;margin:0 0 12px}.wf-visual{grid-column:1;grid-row:1/3;height:125px;margin:0}.wf-source .wf-site-art{height:90px}.wf-message{font-size:10px;line-height:1.3;bottom:5px;padding:7px}.wf-tag,.wf-notice,.wf-run{grid-column:2;grid-row:2;align-self:start;margin:0;font-size:12px;min-height:44px}.wf-tag,.wf-notice{padding:8px;min-height:44px;justify-content:flex-start;text-align:left}.wf-source-icon{width:48px;height:48px;margin-top:14px}.wf-engine img{padding:4px}.wf-engine-system{gap:7px}.wf-engine-system svg{width:32px;height:32px}.wf-engine-system i{width:17px}.wf-task-label{font-size:8px}.wf-task-title{font-size:10px;padding-right:6px}.wf-task-detail{font-size:9px}.wf-task{gap:5px;inset:27px 7px 7px}.wf-output-window{padding:7px;border-radius:7px}.wf-window-bar{margin-bottom:9px}.wf-task-check{font-size:12px}.wf-chart{height:23px;gap:4px}.wf-packet{width:18px;height:18px;font-size:13px}.wf-footer{flex-direction:column;align-items:stretch;gap:19px;margin-top:25px;padding-top:21px;min-height:100px}.wf-footer p{font-size:14px;min-height:42px}.wf-cta{font-size:13px;padding:14px 19px}.wf-card.is-active{box-shadow:0 0 23px #417bff27}}
@media(max-width:370px){.workflow-demo.connected-lab.wrap{padding:25px 13px}.wf-card{padding:12px;column-gap:11px;grid-template-columns:43% minmax(0,1fr);min-height:151px}.wf-card h3{font-size:17px}.wf-run,.wf-tag,.wf-notice{font-size:11px}.wf-run{gap:5px;padding:9px}.wf-visual{height:125px}.wf-message{font-size:9px}.wf-options button{padding:10px 12px}.wf-task-detail{font-size:8px}.wf-task-title{font-size:9px}}
@media(prefers-reduced-motion:reduce){.workflow-demo *{transition:none!important}.wf-packet{display:none}}
/* Карточка результата вмещает сообщение целиком на узком экране. */
@media(max-width:760px){.wf-output{height:160px}.wf-task-title{font-size:11px}.wf-task{gap:5px}}
.wf-chart{height:28px;min-height:18px;flex-shrink:1}
/* Компактная схема оставляет место для портфолио на втором экране. */
.workflow-demo.connected-lab.wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 24px;padding:24px 40px;margin-top:24px;margin-bottom:24px}
.wf-heading{margin:0}.wf-heading h2{font-size:32px;margin-top:8px}.wf-heading .eyebrow{font-size:10px}
.wf-options{margin:0;align-self:end;justify-content:flex-end;gap:6px}.wf-options button{font-size:12px;padding:10px 16px}
.wf-flow,.wf-footer{grid-column:1/-1}.wf-flow{gap:30px}
.wf-card{padding:14px;border-radius:14px;min-height:0}.wf-card h3{font-size:18px;margin:0 0 10px}
.wf-visual{height:126px;margin-bottom:12px;border-radius:9px}.wf-source .wf-site-art{height:101px}.wf-message{left:7px;right:7px;bottom:7px;padding:8px 10px;font-size:11px;min-height:30px}
.wf-run{font-size:12px;padding:10px 12px}.wf-tag,.wf-notice{font-size:11px;min-height:44px;padding:8px}
.wf-output-window{width:calc(100% - 14px);height:calc(100% - 14px);padding:9px}.wf-window-bar{margin-bottom:10px}
.wf-task{inset:23px 9px 7px;gap:5px}.wf-task-label{display:none}.wf-task-title{font-size:12px;line-height:1.35}.wf-task-detail{font-size:10px;line-height:1.35}.wf-chart{height:18px;min-height:14px}
.wf-engine-system svg{width:40px;height:40px}.wf-source-icon{width:54px;height:54px;margin-top:15px}
.wf-footer{margin:0;padding-top:14px;min-height:60px;gap:20px}.wf-footer p{font-size:14px}.wf-cta{font-size:13px;min-height:44px;padding:11px 18px;gap:16px}
@media(min-width:761px) and (max-width:1200px){.workflow-demo.connected-lab.wrap{padding:22px 26px}.wf-heading h2{font-size:28px}.wf-options button{padding:10px 13px}.wf-flow{gap:24px}.wf-card{padding:12px}.wf-card h3{font-size:17px}.wf-task-title{font-size:11px}.wf-task-detail{font-size:9px}.wf-tag,.wf-notice{font-size:10px}}
@media(max-width:760px){
 .workflow-demo.connected-lab.wrap{grid-template-columns:1fr;gap:14px;padding:18px 16px;margin-top:18px;margin-bottom:16px;border-radius:19px}
 .wf-heading,.wf-options{grid-column:1/-1}.wf-heading .eyebrow{display:none}.wf-heading h2{font-size:25px;margin:0;line-height:1.08}
 .wf-options{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;max-width:100%;scrollbar-width:none;padding:4px;margin:-4px;gap:6px}.wf-options::-webkit-scrollbar{display:none}.wf-options button{flex:none;white-space:nowrap;font-size:12px;padding:10px 14px;min-height:44px}
 .wf-flow{gap:18px}.wf-card{grid-template-columns:36% minmax(0,1fr);column-gap:12px;padding:10px;min-height:0}.wf-card h3{font-size:17px;margin:0 0 8px}.wf-visual,.wf-output{height:100px;margin:0}.wf-source .wf-site-art{height:70px}.wf-message{font-size:10px;line-height:1.25;bottom:4px;left:4px;right:4px;padding:6px;min-height:0}
 .wf-run,.wf-tag,.wf-notice{font-size:11px;padding:8px;min-height:44px;margin:0}.wf-run span{font-size:18px}.wf-notice{gap:5px}.wf-notice svg{width:14px;height:14px}
 .wf-task{inset:19px 6px 6px;gap:5px}.wf-task-title{font-size:11px;padding-right:8px}.wf-task-detail{display:none}.wf-output-window{padding:6px;width:calc(100% - 10px);height:calc(100% - 10px)}.wf-task-check{font-size:11px}.wf-engine-system svg{width:27px;height:27px}.wf-source-icon{width:40px;height:40px;margin-top:10px}
 .wf-footer{gap:11px;padding-top:13px;min-height:0}.wf-footer p{font-size:13px;min-height:0}.wf-cta{font-size:12px;padding:10px 16px;min-height:44px}
}
@media(max-width:370px){.workflow-demo.connected-lab.wrap{padding:16px 12px}.wf-heading h2{font-size:24px}.wf-card{column-gap:10px}.wf-card h3{font-size:16px}.wf-message{font-size:9px}.wf-task-title{font-size:10px}.wf-run,.wf-tag,.wf-notice{font-size:10px}}
@media(min-width:761px) and (max-width:950px){.workflow-demo.connected-lab.wrap{padding:16px 22px;gap:14px 20px}.wf-card{padding:10px}.wf-heading h2{font-size:25px}}
/* Единый переключатель сценариев и отдельная выразительная кнопка обращения. */
.wf-options{justify-self:end;width:max-content;max-width:100%;gap:3px;padding:4px;border:1px solid #3e557580;background:#101c2de6;border-radius:14px;box-shadow:inset 0 1px #bad5ff08}
.wf-options button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#a9bddb;font-size:13px;font-weight:550;white-space:nowrap;box-shadow:none;transition:background .2s,color .2s,box-shadow .2s,transform .15s}
.wf-options button::before{content:"";flex:0 0 16px;width:16px;height:16px;background:currentColor;mask:center/contain no-repeat var(--wf-option-icon)}
.wf-options [data-scenario=leads]{--wf-option-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M3 9h18M9 9v11'/%3E%3C/svg%3E")}
.wf-options [data-scenario=support]{--wf-option-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 18l-4 3V6a3 3 0 013-3h11a3 3 0 013 3v9a3 3 0 01-3 3zM8 8h9M8 12h6'/%3E%3C/svg%3E")}
.wf-options [data-scenario=data]{--wf-option-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3v17h17M8 15V9M13 15V5M18 15v-4'/%3E%3C/svg%3E")}
.wf-options [data-scenario=bot]{--wf-option-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18M9 15l2 2 4-4'/%3E%3C/svg%3E")}
.wf-options [data-scenario=integrations]{--wf-option-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 005.7 0l4-4a4 4 0 00-5.7-5.7l-2 2M14 10a4 4 0 00-5.7 0l-4 4a4 4 0 005.7 5.7l2-2'/%3E%3C/svg%3E")}
.wf-options button:hover{background:#243750;color:#f2f6ff}
.wf-options button[aria-pressed=true]{background:linear-gradient(160deg,#4165ff,#2c4aef);color:#fff;box-shadow:inset 0 1px #d9e4ff45,0 3px 10px #060e2366}
.wf-options button:active{transform:scale(.97)}.wf-options button:focus-visible{outline:2px solid #c5e4ff;outline-offset:-3px}
.wf-cta{position:relative;min-height:48px;padding:6px 7px 6px 18px;border-radius:12px;border-color:#9ab5ff85;background:linear-gradient(110deg,#3b60ff,#2944ef);font-size:14px;gap:18px;box-shadow:inset 0 1px #dae4ff30,0 5px 16px #1238a12b;transition:background .2s,box-shadow .2s,transform .2s}
.wf-cta span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #f1f5ff21;border-radius:8px;background:#ffffff12;font-size:22px;line-height:1;transition:background .2s,transform .2s}
.wf-cta:hover{background:linear-gradient(110deg,#5273ff,#3453fb);box-shadow:inset 0 1px #dae4ff40,0 7px 22px #2552db35;transform:translateY(-1px)}.wf-cta:hover span{background:#ffffff24;transform:translateX(2px)}.wf-cta:active{transform:translateY(0);box-shadow:inset 0 1px #dae4ff20,0 2px 7px #1238a126}
@media(min-width:761px) and (max-width:1200px){.wf-options button{font-size:12px;padding:10px 9px;gap:6px}}
@media(max-width:760px){.wf-options{justify-self:stretch;width:auto;margin:0;padding:4px;gap:3px}.wf-options button{font-size:12px;padding:10px 12px;gap:6px}.wf-cta{min-height:44px;padding:6px 6px 6px 14px;font-size:13px;gap:12px}.wf-cta span{flex-basis:30px;width:30px;height:30px;border-radius:7px;font-size:21px}}
@media(prefers-reduced-motion:reduce){.wf-cta:hover,.wf-cta:hover span{transform:none}}

/* Иллюстрации входящего обращения во всех сценариях. */
.workflow-demo .wf-source .wf-source-art{height:96px;width:100%;align-self:flex-start;object-fit:contain;padding:0 8px;filter:drop-shadow(0 5px 8px #020b1840)}
@media(max-width:760px){.workflow-demo .wf-source .wf-source-art{height:71px;padding:0 2px}}
