/* ELL. Hero illustrations of service pages (port of the prototype's vis(id) styles; ui/service-hero-visuals.php). Scoped to .svc3. */
.svc3 .hv{position:relative}
.svc3 .hv>.appwin+.toast-f,.svc3 .hv>.devs .toast-f2{position:absolute}
.svc3 .hv .toast-f{position:absolute;left:-22px;bottom:-4px;margin:0;width:290px;background:var(--s)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:18px;padding:14px 16px;display:flex;gap:12px;align-items:center;animation:hv-float 6s ease-in-out infinite;z-index:2}
.svc3 .hv .toast-f2{position:absolute;right:-10px;top:4px;background:var(--s)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:18px;padding:12px 14px;display:flex;gap:8px;align-items:center;animation:hv-float 7s ease-in-out infinite -3s;font-size:13px;font-weight:700;z-index:2;box-shadow:var(--sh)}
.svc3 .hv .toast-f2 svg{width:16px;height:16px}
@keyframes hv-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.svc3 .hv .wbar .tag,.svc3 .hv .wbar .wbtn,.svc3 .hv .wbar .wseg{margin-left:auto;flex:none}
.svc3 .hv .wbar b{flex:1}
/* tones for small tiles in toasts */
[data-svc=t-green]{--g1:#10b981;--g2:#06b6d4}[data-svc=t-purple]{--g1:#a855f7;--g2:#ec4899}[data-svc=t-blue]{--g1:#0ea5e9;--g2:#6366f1}[data-svc=t-teal]{--g1:#14b8a6;--g2:#22c55e}
[data-svc=t-lime]{--g1:#22c55e;--g2:#84cc16}[data-svc=t-cyan]{--g1:#06b6d4;--g2:#3b82f6}[data-svc=t-red]{--g1:#ef4444;--g2:#f97316}[data-svc=t-pink]{--g1:#ec4899;--g2:#f97316}
[data-svc=t-indigo]{--g1:#6366f1;--g2:#8b5cf6}[data-svc=t-sky]{--g1:#0ea5e9;--g2:#8b5cf6}
/* common bits */
.svc3 .hv .row{display:flex;align-items:center;gap:14px}
.svc3 .hv .muted{color:var(--m)}
.svc3 .hv .chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:7px 12px;border-radius:999px;background:var(--glass);border:1px solid var(--l);color:var(--m);white-space:nowrap}
.svc3 .hv .chip.sel{background:var(--t);color:var(--bg);border-color:var(--t)}
.svc3 .hv .tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--s2);color:var(--m);white-space:nowrap;flex:none}
.svc3 .hv .tag.ok{background:color-mix(in srgb,var(--ok) 14%,transparent);color:var(--ok)}
.svc3 .hv .tag.w{background:color-mix(in srgb,var(--w) 16%,transparent);color:#c27803}
.svc3 .hv .tag.er{background:color-mix(in srgb,var(--er) 14%,transparent);color:var(--er)}
.svc3 .hv .tag.b{background:var(--bs);color:var(--bt)}
.svc3 .hv .tg{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;color:#fff;white-space:nowrap;flex:none}
.svc3 .hv .tg.t{background:#2aabee}.svc3 .hv .tg.x{background:#6b57ff}.svc3 .hv .tg.v{background:#0077ff}
.svc3 .hv .lst{display:grid;gap:10px}
.svc3 .hv .li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:var(--s);box-shadow:var(--sh);font-size:14px;min-width:0}
.svc3 .hv .li>div{min-width:0;flex:1}
.svc3 .hv .li b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.svc3 .hv .li small{color:var(--m);font-size:12.5px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.svc3 .hv .li>.tile{flex:none}
.svc3 .hv .li.wrap{flex-wrap:wrap}.svc3 .hv .li .full{width:100%}
.svc3 .hv .li.dim{opacity:.6}
.svc3 .hv .arr{text-align:center;color:var(--b);font-weight:800;font-size:20px;line-height:1}
/* planner week */
.svc3 .hv .wseg{display:flex;background:var(--s2);border-radius:10px;padding:3px;font-size:12px;font-weight:700}
.svc3 .hv .wseg span{padding:5px 10px;border-radius:8px;color:var(--m)}
.svc3 .hv .wseg span.on{background:var(--s);color:var(--t);box-shadow:var(--sh)}
.svc3 .hv .wk{display:grid;grid-template-columns:repeat(5,minmax(96px,1fr));gap:10px}
.svc3 .hv .wd{min-height:220px;border-radius:16px;background:var(--s2);padding:10px}
.svc3 .hv .wd small{display:block;font-weight:800;font-size:12px;color:var(--m);margin-bottom:8px}
.svc3 .hv .wd.today{background:var(--bs)}.svc3 .hv .wd.today small{color:var(--bt)}
.svc3 .hv .pc{border-radius:12px;padding:9px;font-size:12px;line-height:1.3;margin-bottom:8px;background:var(--s);box-shadow:var(--sh);overflow-wrap:anywhere}
.svc3 .hv .pc i{display:block;font-style:normal;color:var(--m);font-size:11px;margin-top:3px}
.svc3 .hv .pc .ph{height:44px;border-radius:8px;margin-bottom:6px;background:linear-gradient(135deg,#ffb38a,#ff6fa3)}
.svc3 .hv .pc.d{background:transparent;border:1.5px dashed var(--l);box-shadow:none;color:var(--m)}
.svc3 .hv .appwin .wbody{overflow-x:auto;scrollbar-width:none}.svc3 .hv .appwin .wbody::-webkit-scrollbar{display:none}
/* seo ring + checks */
.svc3 .hv .ring{--v:92;--c:var(--ok);width:92px;height:92px;border-radius:50%;background:conic-gradient(var(--c) calc(var(--v)*1%),var(--s2) 0);display:grid;place-items:center;flex:none}
.svc3 .hv .ring.v86{--v:86}
.svc3 .hv .ring b{width:74px;height:74px;border-radius:50%;background:var(--s);display:grid;place-items:center;font-size:26px;font-weight:800;letter-spacing:-.03em}
.svc3 .hv .hv-big{font-size:17px}.svc3 .hv .hv-sub{font-size:14px}
.svc3 .hv .checks{display:grid;gap:6px;margin-top:18px;font-size:14px}
.svc3 .hv .checks span:before{content:"✓";color:var(--ok);font-weight:800;margin-right:8px}
.svc3 .hv .checks span.warn:before{content:"!";color:var(--w)}
.svc3 .hv .wbtn{min-height:30px;padding:0 12px;font-size:12.5px;border-radius:10px;display:inline-flex;align-items:center;background:var(--bs);color:var(--bt);font-weight:700}
/* code */
.svc3 .hv .code{font:500 13px/1.7 ui-monospace,"Cascadia Code",Consolas,monospace;background:#12121c;color:#d8d6f0;border-radius:18px;padding:18px 18px 18px 0;overflow:auto;counter-reset:ln;white-space:pre}
.svc3 .hv .code div{counter-increment:ln;padding-left:50px;position:relative;min-height:1.7em}
.svc3 .hv .code div:before{content:counter(ln);position:absolute;left:0;width:36px;text-align:right;color:#55536e}
.svc3 .hv .code .k{color:#c4a8ff}.svc3 .hv .code .s{color:#8be0b5}.svc3 .hv .code .c{color:#6f6d8c}.svc3 .hv .code .a{color:#ffb38a}
/* links chain */
.svc3 .hv .chain{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;margin-top:4px;color:var(--m)}
.svc3 .hv .chain i{font-style:normal}
/* availability */
.svc3 .hv .stats3{justify-content:space-between;flex-wrap:wrap}
.svc3 .hv .stats3 .muted{font-size:13px}.svc3 .hv .stats3 b{font-size:28px;font-weight:800;letter-spacing:-.02em}
.svc3 .hv .spark{display:flex;align-items:flex-end;gap:4px;height:70px;margin-top:20px}
.svc3 .hv .spark i{flex:1;border-radius:4px;background:linear-gradient(180deg,#34d399,#10b981);opacity:.85}
.svc3 .hv .spark i.bad{background:#f59e0b}
.svc3 .hv .hv-spark i:nth-child(1){height:60%}.svc3 .hv .hv-spark i:nth-child(2){height:80%}.svc3 .hv .hv-spark i:nth-child(3){height:70%}.svc3 .hv .hv-spark i:nth-child(4){height:90%}
.svc3 .hv .hv-spark i:nth-child(5){height:85%}.svc3 .hv .hv-spark i:nth-child(6){height:30%}.svc3 .hv .hv-spark i:nth-child(7){height:88%}.svc3 .hv .hv-spark i:nth-child(8){height:95%}
.svc3 .hv .hv-spark i:nth-child(9){height:78%}.svc3 .hv .hv-spark i:nth-child(10){height:92%}.svc3 .hv .hv-spark i:nth-child(11){height:86%}.svc3 .hv .hv-spark i:nth-child(12){height:97%}
.svc3 .hv .hv-spark i:nth-child(13){height:90%}.svc3 .hv .hv-spark i:nth-child(14){height:84%}.svc3 .hv .hv-spark i:nth-child(15){height:93%}.svc3 .hv .hv-spark i:nth-child(16){height:88%}
.svc3 .hv .hv-note{font-size:12.5px;margin-top:8px}
/* reports */
.svc3 .hv .hv-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.svc3 .hv .hv-kpis>div{padding:12px;border-radius:14px;background:var(--s2)}
.svc3 .hv .hv-kpis span{display:block;font-size:12px;color:var(--m);font-weight:600}.svc3 .hv .hv-kpis b{display:block;font-size:20px;font-weight:800;margin-top:4px;white-space:nowrap}
.svc3 .hv .hv-spark.rep i{background:linear-gradient(180deg,#a78bfa,#6366f1)}
/* reviews */
.svc3 .hv .li.rv-item{align-items:flex-start;padding:14px}
.svc3 .hv .rava{position:relative;width:44px;height:44px;border-radius:50%;flex:none;align-self:flex-start;background:linear-gradient(145deg,var(--a1),var(--a2));display:grid;place-items:center;box-shadow:0 0 0 3px var(--s),0 6px 14px -6px var(--a2)}
.svc3 .hv .rava.r1{--a1:#ffb38a;--a2:#ff6fa3}.svc3 .hv .rava.r2{--a1:#8be0ff;--a2:#6b8cff}.svc3 .hv .rava.r3{--a1:#b5f5c8;--a2:#10b981}
.svc3 .hv .rava b{font-size:17px;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}
.svc3 .hv .rava i{position:absolute;right:-4px;bottom:-4px;width:18px;height:18px;border-radius:50%;background:var(--s);color:var(--m);font:800 9px/18px Onest,sans-serif;text-align:center;font-style:normal;box-shadow:0 0 0 1px var(--l)}
.svc3 .hv .rtxt{white-space:normal!important}
.svc3 .hv .stars{color:#f59e0b;letter-spacing:2px;font-size:14px}
/* images */
.svc3 .hv .crop{position:relative;width:100%;aspect-ratio:4/3;border-radius:20px;background:linear-gradient(135deg,#ffb38a,#ff6fa3 45%,#8b5cf6);overflow:hidden}
.svc3 .hv .crop:before{content:"";position:absolute;width:40%;height:40%;border-radius:50%;background:rgba(255,255,255,.35);left:15%;top:20%}
.svc3 .hv .crop .fr{position:absolute;inset:12% 18%;border:2px solid #fff;box-shadow:0 0 0 999px rgba(0,0,0,.35);border-radius:6px}
.svc3 .hv .crop .fr:before{content:"";position:absolute;inset:33.3% 0;border-top:1px solid rgba(255,255,255,.5);border-bottom:1px solid rgba(255,255,255,.5)}
.svc3 .hv .hv-chips{margin-top:14px;justify-content:space-between;flex-wrap:wrap;gap:8px}
/* photo placeholders */
.svc3 .hv .phz{position:relative}
.svc3 .hv .phz::after{content:"Заглушка для фото";position:absolute;left:10px;top:10px;z-index:3;font:700 11px/1 Onest,system-ui,sans-serif;color:#fff;background:rgba(15,15,30,.45);padding:5px 8px;border-radius:8px;white-space:nowrap;pointer-events:none}
.svc3 .hv .phz.s::after{font-size:8.5px;left:5px;top:5px;padding:3px 5px;border-radius:6px}
/* design */
.svc3 .hv .dsg{display:grid;grid-template-columns:1fr 1.3fr;gap:18px;align-items:center;max-width:520px;margin:auto;position:relative}
.svc3 .hv .story9{aspect-ratio:9/16;border-radius:22px;padding:16px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(170deg,#ff9a8a,#f43f5e 50%,#a855f7);box-shadow:var(--shL)}
.svc3 .hv .story9.phz::after{left:auto;right:10px}
.svc3 .hv .story9 b{font-size:20px;line-height:1.1}.svc3 .hv .story9 small{opacity:.85;font-size:12px;margin-top:6px}
.svc3 .hv .s9tag{background:rgba(255,255,255,.25);color:#fff;align-self:flex-start;margin-bottom:auto}
.svc3 .hv .dsg-card{border-radius:22px;padding:14px}
.svc3 .hv .dsg-post{aspect-ratio:1;border-radius:14px;background:linear-gradient(135deg,#ffe08a,#f97316 60%,#ec4899);display:grid;place-items:end start;padding:14px;color:#fff}
.svc3 .hv .dsg-post b{font-size:22px;line-height:1.05}
.svc3 .hv .dsg-card .muted{font-size:13px;margin-top:10px}
/* qr */
.svc3 .hv .hv-qr{position:relative;max-width:360px;margin:auto;padding:18px;border-radius:26px}
.svc3 .hv .qrwrap{position:relative;overflow:hidden;border-radius:18px;box-shadow:var(--sh)}
.svc3 .hv .qrwrap svg{display:block;width:100%;height:auto}
.svc3 .hv .qrwrap::after{content:"";position:absolute;left:0;right:0;height:34%;top:-34%;background:linear-gradient(transparent,rgba(124,92,255,.28) 60%,rgba(196,92,255,.5) 62%,transparent 64%);animation:hv-scan 3.2s cubic-bezier(.45,0,.2,1) infinite;pointer-events:none}
@keyframes hv-scan{to{top:100%}}
.svc3 .hv .hv-qr-foot{margin-top:14px;justify-content:space-between}.svc3 .hv .hv-qr-foot .muted{font-size:13px}
/* presentations */
.svc3 .hv .devs{position:relative;height:360px;width:100%}
.svc3 .hv .devs .lap{position:absolute;left:0;top:20px;width:78%;aspect-ratio:16/10;border-radius:14px;border:8px solid #1b1a2a;background:var(--s);overflow:hidden;box-shadow:var(--shL)}
.svc3 .hv .devs .tab{position:absolute;right:8%;bottom:10px;width:34%;aspect-ratio:3/4;border-radius:16px;border:7px solid #1b1a2a;background:var(--s);overflow:hidden;box-shadow:var(--shL)}
.svc3 .hv .devs .ph2{position:absolute;right:0;bottom:0;width:17%;aspect-ratio:9/19;border-radius:14px;border:5px solid #1b1a2a;background:var(--s);overflow:hidden;box-shadow:var(--shL)}
.svc3 .hv .devs .toast-f2{top:0;right:0}
.svc3 .hv .site-mock{height:100%;display:flex;flex-direction:column}
.svc3 .hv .site-mock .h{height:12%;background:linear-gradient(90deg,#7c5cff,#c45cff)}
.svc3 .hv .site-mock .b{flex:1;padding:8%;display:grid;gap:6%;grid-template-rows:auto 1fr}
.svc3 .hv .site-mock .t{height:14px;border-radius:5px;background:var(--s2);width:70%}
.svc3 .hv .site-mock .g{display:grid;grid-template-columns:repeat(3,1fr);gap:6%}
.svc3 .hv .site-mock .g i{border-radius:6px;background:linear-gradient(135deg,#ffb38a,#ff6fa3)}
.svc3 .hv .site-mock .g i:nth-child(2){background:linear-gradient(135deg,#8be0ff,#6b8cff)}.svc3 .hv .site-mock .g i:nth-child(3){background:linear-gradient(135deg,#b5f5c8,#10b981)}
/* portfolio */
.svc3 .hv .hv-author{margin-bottom:14px}.svc3 .hv .hv-author .muted{font-size:13px}
.svc3 .hv .av{width:48px;height:48px;border-radius:50%;padding:2px;background:linear-gradient(145deg,#7c5cff,#ff6fa3);flex:none}
.svc3 .hv .av b{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--s);font-size:13px;color:var(--bt)}
.svc3 .hv .pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:100%}
.svc3 .hv .pgrid .w{aspect-ratio:4/3;border-radius:16px;box-shadow:var(--sh);position:relative;overflow:hidden}
.svc3 .hv .pgrid .w b{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#fff;background:rgba(0,0,0,.35);padding:3px 8px;border-radius:8px}
.svc3 .hv .w1{background:linear-gradient(135deg,#ffb38a,#ff6fa3)}.svc3 .hv .w2{background:linear-gradient(135deg,#8be0ff,#6b8cff)}.svc3 .hv .w3{background:linear-gradient(135deg,#b5f5c8,#10b981)}
.svc3 .hv .w4{background:linear-gradient(135deg,#ffe08a,#f59e0b)}.svc3 .hv .w5{background:linear-gradient(135deg,#d8b4fe,#8b5cf6)}.svc3 .hv .w6{background:linear-gradient(135deg,#fecaca,#ef4444)}
/* case cards (prototype caseVis) */
.svc3 .sample .row{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.svc3 .sample .row b{font-size:17px}.svc3 .sample .row small{display:block;font-size:13px}
.svc3 .srow2{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--l);font-size:13.5px}
.svc3 .srow2 span{color:var(--m);flex:none}.svc3 .srow2 b{text-align:right;font-weight:600;font-size:13.5px}
/* demo block below cases */
.svc3 .demo3 .vwrap{max-width:720px;margin:0 auto;padding-top:8px}
.svc3 .demo3 .vcap{display:none}
.svc3 .demo3 .appwin{transform:none}
/* narrow */
@container ek (max-width:860px){.svc3 .hv{max-width:640px;width:100%;margin:10px auto 0}}/* same breakpoint as the one-column hero in story.css; width:100% — auto margins alone shrink a grid item to its content (the devices of «Презентации» are absolute → 0 px) */
@media (max-width:1100px),(max-width:1366px) and (hover:none) and (pointer:coarse){
 .svc3 .hv .toast-f{left:10px;right:10px;bottom:-26px;width:auto}
 .svc3 .hv .toast-f2{right:6px}
 .svc3 .hv .devs{height:260px}
 .svc3 .hv .pgrid{grid-template-columns:repeat(2,1fr)}
 .svc3 .hv .wk{grid-template-columns:repeat(5,120px)}
}
@container ek (max-width:560px){.svc3 .hv .dsg{grid-template-columns:1fr}.svc3 .hv .story9{max-width:200px;margin:0 auto;width:100%}.svc3 .hv .hv-kpis b{font-size:16px}}
@media (prefers-reduced-motion:reduce){.svc3 .hv .toast-f,.svc3 .hv .toast-f2,.svc3 .hv .qrwrap::after{animation:none}}

/* icon styles give every svg a 2px stroke — the QR must have none */
.svc3 .hv .ellqr,.svc3 .hv .ellqr *{stroke:none!important}

/* first screen: illustrations fade in without moving (owner: page switching should not jump) */
.svc3 .vwrap>*{animation:hv-fade .5s ease backwards .05s}
@keyframes hv-fade{from{opacity:0}}

/* sticky section menu: all items the same height; denser frosted glass so text underneath does not show through */
.svc3 .anc nav{background:color-mix(in srgb,var(--s) 84%,transparent);backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4);border:1px solid var(--glassB);box-shadow:var(--sh)}
.svc3 .anc nav>a,.svc3 .anc nav>.btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.svc3 .anc nav>.btn{padding:0 18px;border-radius:999px}

/* app-like navigation: first-screen illustrations appear instantly */
.svc3 .vwrap>*{animation:none}
