/* StasWeb v3: integrated into the existing multi-page theme.
   Specificity is deliberately higher than page styles loaded by DLE in body. */
:root{--neo-stone:#ded8ca;--neo-bronze:#c6a77b;--neo-light:#f5f2ea;--neo-cold:#94d9ed;--neo-panel:#1a1e21;--neo-line:rgba(222,216,202,.19);--neo-ease:cubic-bezier(.22,.7,.25,1)}
html body.sw-neo{--bg:#111315;--bg-deep:#0b0d0f;--bg-elevated:#16191b;--surface-1:#1a1e21;--surface-2:#202529;--surface-3:rgba(222,216,202,.045);--surface-hover:rgba(222,216,202,.075);--line:var(--neo-line);--line-strong:rgba(222,216,202,.32);--line-accent:rgba(198,167,123,.4);--text:var(--neo-light);--text-soft:#d6d5ce;--text-muted:#b3b5b4;--text-faint:#999d9e;--accent:var(--neo-bronze);--accent-bright:#e6ceaa;--accent-dark:#9b7648;--cyan:var(--neo-cold);--pink:#c9a7a1;--radius-xs:6px;--radius-sm:10px;--radius-md:16px;--radius-lg:22px;--radius-xl:28px;--shadow-accent:0 16px 48px rgba(198,167,123,.1);background:var(--bg);color:var(--text)}
html body.sw-neo :is(.bg-space,.sw-about__ambient,.sw-services__ambient,.sw-ecom__ambient,.contact-pro__ambient,.swq__ambient){background:radial-gradient(ellipse at 92% 7%,rgba(148,217,237,.06),transparent 38%),linear-gradient(135deg,#111315,#151718 60%,#111315)}
html body.sw-neo :is(.orb,.bg-grid,[class$="ambient-orb"],[class$="ambient-grid"]){display:none}
html body.sw-neo :is(.header,.swq-header){background:rgba(17,19,21,.94);border-bottom:1px solid var(--neo-line);backdrop-filter:blur(18px)}
html body.sw-neo :is(.logo,.footer__brand,.swq-logo){font-weight:600;letter-spacing:-.045em}
html body.sw-neo :is(.logo,.footer__brand,.swq-logo) span{color:var(--neo-bronze);background:none;-webkit-text-fill-color:currentColor}
html body.sw-neo :is(.sw-nav-dropdown__panel,.nav--mobile,.sw-ai-float__panel,.ui-dialog){background:#1a1e21;border-color:var(--neo-line);box-shadow:0 24px 80px #0007}
html body.sw-neo :is(.sw-nav-feature,.sw-nav-journal__head,.sw-mobile-nav__cta){background:linear-gradient(125deg,#25282a,#1a1e21);border-color:var(--neo-line)}
html body.sw-neo :is(h1,h2,.section__title,.page-head__title,.post__title){text-wrap:balance;letter-spacing:-.04em}
html body.sw-neo :is(h1 em,h1 span,.section__title em){background:none;-webkit-text-fill-color:currentColor;color:var(--neo-stone)}
html body.sw-neo :is(.section__label,.hero__badge,.sw-about-kicker,.sw-services-kicker,.sw-ecom-kicker){color:var(--neo-bronze);font-size:12px;letter-spacing:.08em}
html body.sw-neo :is(.btn--primary,.contact-submit-btn,.swq-next,.swq-submit){background:var(--neo-stone);color:#15181a;border:1px solid var(--neo-stone);box-shadow:0 10px 32px #0002;border-radius:9px;min-height:46px;transition:background 180ms ease,box-shadow 180ms ease}
html body.sw-neo :is(.btn--primary,.contact-submit-btn,.swq-next,.swq-submit):hover{background:#f5f2ea;color:#15181a;box-shadow:0 10px 30px #c6a77b18}
html body.sw-neo .btn--ghost{background:rgba(255,255,255,.025);border-color:var(--neo-line);color:var(--neo-light);border-radius:9px;min-height:46px}
html body.sw-neo :is(a,button,input,textarea,select,summary):focus-visible{outline:2px solid var(--neo-cold);outline-offset:4px}
html body.sw-neo :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){background-color:#111619;color:var(--neo-light);border-color:var(--neo-line)}
html body.sw-neo :is(input,textarea)::placeholder{color:#a1abaa}
html body.sw-neo .neo-home-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#111315,#161b1e);border-bottom:1px solid var(--neo-line)}
html body.sw-neo .neo-home-hero::before{background:none}
html body.sw-neo .neo-home-hero .hero__layout{grid-template-columns:1.08fr 1fr;gap:clamp(24px,4vw,64px);align-items:center;padding-block:52px 64px}
html body.sw-neo .neo-home-hero h1{font-size:clamp(42px,4.6vw,72px);line-height:1.08;font-weight:600;max-width:760px}
html body.sw-neo .neo-home-hero h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-style:normal;letter-spacing:-.045em;color:var(--neo-stone)}
html body.sw-neo .neo-era{font-size:12px;color:var(--neo-bronze);margin:24px 0 16px;letter-spacing:.065em}
html body.sw-neo .neo-manifest{font-size:clamp(16px,1.3vw,19px);line-height:1.65;color:#e1e3df;max-width:57ch;margin-block:24px 18px}
html body.sw-neo .neo-home-hero .hero__lead{font-size:14px;color:var(--text-muted);line-height:1.7;max-width:62ch}
html body.sw-neo .neo-home-hero .hero__meta{border-color:var(--neo-line)}
html body.sw-neo .neo-architecture{margin:0;position:relative;min-height:0;aspect-ratio:4/5;max-height:640px;border:1px solid rgba(222,216,202,.28);border-radius:46% 46% 16px 16px;overflow:hidden;background:#111315;box-shadow:0 32px 70px #0005;isolation:isolate;transform:none}
html body.sw-neo .neo-architecture img{display:block;width:100%;height:100%;object-fit:cover;object-position:68% 50%;transform:scale(1.025);animation:neo-arrival 1000ms var(--neo-ease) both}
html body.sw-neo .neo-architecture figcaption{position:absolute;bottom:0;left:0;right:0;padding:40px 22px 20px;display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#f5f2ea;background:linear-gradient(transparent,#0b0d0fee)}
/* The original service grids, projects, filtering and forms retain their layouts. */
html body.sw-neo :is(.service-card,.work,.blog-card,.home-assurance__grid article,.price-service,.sw-about-owner__card,.sw-services-cycle__card,.sw-services-audit__card,.sw-services-ecommerce__card,.sw-services-start__card,.sw-services-promo-card,.sw-ecom-system__card,.sw-ecom-side-card,.sw-ecom-integrations__card,.contact-form-card,.sw-userinfo__card,.sw-userinfo__form-card){background:linear-gradient(135deg,#1d2225,#171b1e);border-color:var(--neo-line);border-radius:16px;box-shadow:0 12px 36px #0002}
html body.sw-neo :is(.service-card__index,.work__index,.price-section__number){color:var(--neo-bronze);background:rgba(198,167,123,.08);border-color:var(--neo-line)}
html body.sw-neo :is(.home-routes__inner a,.expertise-strip,.home-assurance,.home-section--soft){border-color:var(--neo-line);background-color:#15191b}
html body.sw-neo :is(.filter.active,.filter[aria-pressed=true]){background:var(--neo-stone);border-color:var(--neo-stone);color:#15181a}
/* Architecture frames the existing interactive illustrations; no replacement of their content. */
html body.sw-neo :is(.sw-about-console,.sw-services-system,.sw-ecom-console,.tula-console,.moscow-console,.minsk-console,.promo-hero__object-frame){background:linear-gradient(145deg,#22292c,#13191c);border:1px solid rgba(198,167,123,.35);border-radius:24px 24px 10px 10px;box-shadow:0 28px 65px #0005,inset 0 3px 0 #c6a77b33}
html body.sw-neo :is(.sw-about-hero,.sw-services-hero,.sw-ecom-hero,.tula-web__hero,.moscow-web__hero,.minsk-web__hero,.promo-hero,.swq-hero,.contact-pro__hero){position:relative;border-bottom:1px solid var(--neo-line)}
html body.sw-neo :is(.sw-about-hero,.sw-services-hero,.sw-ecom-hero){background:radial-gradient(ellipse at 85% 15%,#94d9ed0a,transparent 55%)}
html body.sw-neo :is(.sw-about-hero__visual,.sw-services-hero__visual,.sw-ecom-hero__visual,.tula-web__visual,.moscow-web__visual,.minsk-web__visual){border-inline:1px solid #c6a77b22;padding-inline:16px}
html body.sw-neo :is(.sw-about-cta__card,.sw-services-cta__card,.sw-ecom-cta__card,.contact-premium){background:radial-gradient(ellipse at 90% 0,#94d9ed0d,transparent 60%),linear-gradient(125deg,#26292a,#171b1e);border:1px solid #c6a77b44;border-radius:20px}
html body.sw-neo :is(.contact-premium__visual,.contact-channel,.home-quick-form__head){background-color:#1b2225;border-color:var(--neo-line)}
/* Regional landing pages: the original local content and navigation stay intact. */
html body.sw-neo :is(.tula-web,.moscow-web,.minsk-web){--tw-bg:#111315;--mw-bg:#111315;--mk-bg:#111315;--tw-surface:#1a1e21;--mw-surface:#1a1e21;--mk-surface:#1a1e21;--tw-accent:#c6a77b;--mw-accent:#c6a77b;--mk-accent:#c6a77b;--tw-accent-bright:#e6ceaa;--mw-accent-bright:#e6ceaa;--mk-accent-bright:#e6ceaa;--tw-cyan:#94d9ed;--mw-cyan:#94d9ed;--mk-cyan:#94d9ed;--tw-muted:#b3b5b4;--mw-muted:#b3b5b4;--mk-muted:#b3b5b4;--tw-radius:16px;--mw-radius:16px;--mk-radius:16px}
html body.sw-neo .promo-page{--promo-bg:#111315;--promo-dark:#111315;--promo-acid:#c6a77b;--promo-gold:#c6a77b;--promo-violet:#c6a77b;--promo-soft:#b3b5b4;--promo-cyan:#94d9ed}
html body.sw-neo .swq{--paper:#111315;--white:#1a1e21;--ink:#f5f2ea;--violet:#c6a77b;--cyan:#94d9ed;--muted:#b3b5b4}
/* AI workspace: cool readable surfaces, genuine chat/progress states retained. */
html body.sw-neo .sw-ai{--ai-bg:#111619;--ai-panel:#192125;--ai-panel-2:#202c31;--ai-line:#94d9ed26;--ai-line-strong:#94d9ed44;--ai-text:#f1f6f5;--ai-soft:#cbdad9;--ai-muted:#a8bdbf;--ai-faint:#8aa3a6;--ai-cyan:#94d9ed;--ai-violet:#c6a77b}
html body.sw-neo :is(.sw-ai-workspace,.sw-ai-chat,.sw-ai-float__panel){border-color:#94d9ed33;box-shadow:0 24px 64px #0005}
html body.sw-neo .sw-ai-message__bubble{border-color:#94d9ed28;background:#202a2e}
html body.sw-neo .sw-ai-message--user .sw-ai-message__bubble{background:#30484f;color:#f5f8f8}
html body.sw-neo :is(.sw-ai-float__trigger,.sw-ai-float__head){background:#1b272c;border-color:#94d9ed55}
html body.sw-neo :is(.sw-ai-float__mark,.sw-ai-avatar){background:#29424a;color:#c6f0f8;box-shadow:0 0 30px #94d9ed16}
html body.sw-neo :is(.post,.page-head,.price-page,.sw-userinfo,.sw-pm,.privacy-page){--ui-bg:#192125;--ui-bg-2:#20292d;--ui-muted:#b3b5b4;--ui-cyan:#94d9ed;--ui-violet:#c6a77b;--pm-muted:#b3b5b4;--privacy-bg:#111315;--privacy-violet:#c6a77b;--privacy-cyan:#94d9ed}
html body.sw-neo .post__content{line-height:1.8}
html body.sw-neo .post__content blockquote{border-left:2px solid var(--neo-bronze);background:#c6a77b0a}
html body.sw-neo .sw-footer{background:#101416;border-top:1px solid var(--neo-line)}
html body.sw-neo .sw-footer__group strong{color:var(--neo-stone)}
/* Progressive one-shot motion. Content is visible even if JS fails. */
@keyframes neo-arrival{from{opacity:.5;transform:scale(1.06)}to{opacity:1;transform:scale(1.025)}}
@media(min-width:901px) and (prefers-reduced-motion:no-preference){html body.sw-neo .neo-motion-enter{animation:neo-panel-enter 540ms var(--neo-ease) both}}
@keyframes neo-panel-enter{from{opacity:.45;transform:translateY(12px)}to{opacity:1;transform:none}}
html body.sw-neo .reveal{opacity:1;transform:none}
@media(max-width:1000px){html body.sw-neo .neo-home-hero .hero__layout{grid-template-columns:1.15fr .85fr;gap:24px}html body.sw-neo .neo-home-hero h1{font-size:clamp(38px,5vw,56px)}html body.sw-neo .neo-architecture{aspect-ratio:3/5}}
@media(max-width:760px){html body.sw-neo .neo-home-hero .hero__layout{grid-template-columns:1fr;padding-block:28px 36px}html body.sw-neo .neo-home-hero h1{font-size:clamp(35px,8vw,52px)}html body.sw-neo .neo-architecture{width:100%;max-width:540px;aspect-ratio:16/10;border-radius:100px 100px 14px 14px;max-height:340px}html body.sw-neo .neo-architecture img{object-position:62% 50%}html body.sw-neo .neo-era{margin-top:20px}html body.sw-neo .neo-home-hero .hero__meta{flex-wrap:wrap}html body.sw-neo :is(.sw-about-hero__visual,.sw-services-hero__visual,.sw-ecom-hero__visual,.tula-web__visual,.moscow-web__visual,.minsk-web__visual){padding-inline:0;border:0}}
@media(prefers-reduced-motion:reduce){html body.sw-neo{scroll-behavior:auto}html body.sw-neo *,html body.sw-neo *::before,html body.sw-neo *::after{animation:none!important;transition:none!important}html body.sw-neo .reveal{opacity:1;transform:none}}
