/* ============================================================
   UniBuilder — kachan-theme [Level-A]
   Техносферная безопасность №1
   Graphite #1F2429 + Orange #E67E22
   Fonts: Oswald (heads) + Source Sans 3 (body)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
  --p:var(--ub-primary,#E67E22);--ph:var(--ub-primary-hover,#C96A1A);--pl:var(--ub-primary-light,#FDF0E4);--p50:#FFF7F0;
  --a:var(--ub-accent,#E67E22);--ah:var(--ub-accent-hover,#C96A1A);--al:var(--ub-accent-light,#FDF0E4);
  --gp:linear-gradient(135deg,var(--p),var(--ph));
  --dk:#1F2429;--dc:#2C333A;--ds:#3A434C;
  --gd:linear-gradient(135deg,#1F2429,#2C333A,#3A434C);
  --gh:linear-gradient(160deg,#1F2429 0%,#2C333A 55%,#E67E22 100%);
  --surface:#ffffff;--surface-2:#F4F5F6;--surface-3:#E8EAEC;
  --n50:#F4F5F6;--n100:#E8EAEC;--n200:#D1D5D9;--n300:#A8AFB6;--n400:#6B737C;
  --n500:#4A525A;--n600:#353C43;--n700:#2C333A;--n800:#1F2429;--n900:#14181C;
  --rs:6px;--rm:10px;--rl:14px;--rxl:20px;--rf:9999px;--r-btn:8px;--r-card:14px;--r-input:8px;--bw:1px;
  --sh-sm:0 8px 28px rgba(20,24,28,.08);
  --sh-brand:0 0 36px color-mix(in srgb,var(--p) 18%,transparent);
  --sh-modal:0 25px 50px -12px rgba(20,24,28,.3);
  --sh-btn:0 4px 14px color-mix(in srgb,var(--p) 30%,transparent);
  --sh-btn-hover:0 6px 18px color-mix(in srgb,var(--p) 40%,transparent);
  --fh:'Oswald',ui-sans-serif,system-ui,sans-serif;
  --fb:'Source Sans 3',ui-sans-serif,system-ui,sans-serif;
  --h1:clamp(2.2rem,5vw,3.5rem);--h2:clamp(1.75rem,3.6vw,2.6rem);--h3:clamp(1.3rem,2.5vw,1.8rem);--h4:clamp(1.1rem,2vw,1.35rem);
  --heading-weight:600;--heading-tracking:.02em;--lh-heading:1.15;--lh-body:1.65;
  --heading-gradient:var(--n900);
  --title-weight:600;--stat-value-size:clamp(2rem,4vw,3rem);--stat-value-size-sm:clamp(1.5rem,3vw,2.2rem);--price-size:clamp(1.6rem,3vw,2.3rem);
  --section-py:clamp(40px,5vw,64px);--section-py-lg:clamp(48px,6vw,72px);--section-py-md:clamp(32px,4vw,48px);
  --card-featured-border:1px solid var(--p);--card-featured-accent:transparent;
  --footer-bg:#1F2429;--footer-text:#ffffff;--footer-muted:#9AA3AB;--footer-heading:#ffffff;
  --footer-link:#C5CCD2;--footer-link-hover:#ffffff;--footer-border:#3A434C;
  --footer-social-bg:rgba(255,255,255,.1);--footer-social-hover:rgba(255,255,255,.18);
}
html{font-family:var(--fb);font-size:17px;-webkit-font-smoothing:antialiased}
body{
  font-family:var(--fb);
  color:var(--n800);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%,rgba(230,126,34,.07),transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 0%,rgba(31,36,41,.05),transparent 50%),
    var(--surface);
}
h1,h2,h3,h4,h5,.ub-hero h1,.ub-hero h2,
[class*="bm-"] .sh h2,[class*="bm-"] .sh h3,
[class*="bm-"] h1,[class*="bm-"] h2,[class*="bm-"] h3,[class*="bm-"] h4{
  font-family:var(--fh) !important;
  letter-spacing:var(--heading-tracking);
  font-weight:var(--heading-weight);
  text-transform:uppercase;
}
.btn,.btn-p,.btn-o,.nv-select-btn,.ub-menu-link{font-family:var(--fh);letter-spacing:.04em}
@keyframes nv-fade-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
section[class*="bm-"],section.ub-hero{animation:nv-fade-up .5s ease both}
.btn,.btn-p,.btn-o{transition:transform .2s ease,box-shadow .2s ease;border-radius:var(--r-btn)!important}
.btn:hover,.btn-p:hover{transform:translateY(-1px)}
.btn-p,.btn.btn-p{background:var(--p)!important;color:#fff!important}
.btn-p:hover{background:var(--ph)!important}

/* Header */
.ub-header .container > .flex.items-center.justify-between{
  justify-content:flex-start !important;gap:0.75rem !important;
  padding-top:0.55rem !important;padding-bottom:0.55rem !important;
}
.ub-header .container > .flex.items-center.justify-between > .flex.items-center:last-child{
  margin-left:auto !important;flex-shrink:0 !important;
}
/* old logo rule superseded */
.ub-header a.flex-shrink-0{margin-right:0.35rem !important}
.ub-header nav{margin-left:0 !important}
.ub-header .flex.items-center.justify-between > .flex.items-center:first-child{
  flex:0 0 auto !important;min-width:0 !important;
}
.ub-header nav.hidden.md\:flex,.ub-header nav.md\:flex{
  flex:0 1 auto !important;flex-wrap:nowrap !important;justify-content:flex-start !important;
  gap:0 !important;min-width:0 !important;margin-left:0.15rem !important;
}
.ub-header nav.space-x-8 > :not([hidden]) ~ :not([hidden]){margin-left:0 !important}
.ub-header .ub-menu-link{
  padding-left:0.45rem !important;padding-right:0.45rem !important;
  font-size:0.88rem !important;white-space:nowrap !important;text-transform:uppercase;
}
.ub-header .ub-nav-more{display:none !important} /* overflow items must stay in nav — see Header: keep all nav */
.ub-header a[href^="tel"]{font-weight:600;color:var(--n800)!important}
.ub-header a[href^="tel"]:hover{color:var(--p)!important}
@media(max-width:768px){
  .ub-header .ub-header-logo{height:48px !important;max-height:48px !important;max-width:160px !important}
}

/* Dropdown full names */
.ub-header .dropdown-menu,.ub-header .ub-dropdown-menu{
  min-width:max-content !important;width:max-content !important;max-width:min(420px,92vw)!important;
  white-space:normal !important;padding:8px !important;
}
.ub-header .dropdown-menu a,.ub-header .ub-dropdown-menu a{
  white-space:normal !important;line-height:1.35 !important;padding:10px 14px !important;
}

/* Hero banners */
section.ub-hero[style*="background-image"],
section[class*="bm-hero-"][style*="background-image"]{
  background-size:cover !important;background-position:center !important;
}
section.ub-hero[style*="background-image"] h1,
section[class*="bm-hero-"][style*="background-image"] h1{
  color:#fff !important;text-shadow:0 2px 22px rgba(0,0,0,.5) !important;
}
section.ub-hero[style*="background-image"] .bm-sub,
section[class*="bm-hero-"][style*="background-image"] .bm-sub,
section.ub-hero[style*="background-image"] p.bm-sub,
section[class*="bm-hero-"][style*="background-image"] p.bm-sub{
  color:#fff !important;
  font-size:clamp(1.15rem,2.4vw,1.4rem) !important;
  font-weight:500 !important;line-height:1.5 !important;
  text-shadow:0 2px 18px rgba(0,0,0,.55) !important;
  max-width:40rem !important;margin-left:0 !important;margin-right:auto !important;text-align:left !important;
  text-transform:none !important;font-family:var(--fb)!important;letter-spacing:0!important;
}
section[class*="bm-hero-centered"][style*="background-image"] .bm-sub,
section[class*="bm-hero-centered"][style*="background-image"] p.bm-sub{
  margin-left:auto !important;margin-right:auto !important;text-align:center !important;
}
.ub-hero h1{font-family:var(--fh)!important;font-weight:700!important;letter-spacing:.02em!important}
.ub-hero p,.ub-hero .bm-sub{
  font-family:var(--fb);font-size:clamp(1.15rem,2.4vw,1.4rem);font-weight:500;line-height:1.5;max-width:40rem;
  text-transform:none;letter-spacing:0;
}

/* Hero stats full width */
section.ub-hero[style*="background-image"] .bm-hs,
section[class*="bm-hero-large-"][style*="background-image"] .bm-hs{
  width:100%!important;max-width:100%!important;display:flex!important;
  justify-content:space-between!important;align-items:flex-start!important;
  gap:clamp(12px,2.5vw,40px)!important;flex-wrap:nowrap!important;
  margin-top:40px!important;padding-top:28px!important;
  border-top:1px solid rgba(255,255,255,.28)!important;box-sizing:border-box;
}
section.ub-hero[style*="background-image"] .bm-hs > div,
section[class*="bm-hero-large-"][style*="background-image"] .bm-hs > div{
  flex:1 1 0!important;min-width:0!important;text-align:left!important;
}
section.ub-hero[style*="background-image"] .bm-hsv,
section[class*="bm-hero-large-"][style*="background-image"] .bm-hsv{
  color:#fff!important;font-family:var(--fh)!important;
  font-size:clamp(1.85rem,3.4vw,2.75rem)!important;font-weight:700!important;
  line-height:1.05!important;text-shadow:0 2px 18px rgba(0,0,0,.55)!important;
}
section.ub-hero[style*="background-image"] .bm-hsl,
section[class*="bm-hero-large-"][style*="background-image"] .bm-hsl{
  color:rgba(255,255,255,.92)!important;font-size:clamp(.9rem,1.5vw,1.05rem)!important;
  font-weight:500!important;line-height:1.35!important;margin-top:8px!important;
  text-shadow:0 2px 14px rgba(0,0,0,.55)!important;max-width:14rem;
  text-transform:none!important;font-family:var(--fb)!important;letter-spacing:0!important;
}
@media(max-width:640px){
  section.ub-hero[style*="background-image"] .bm-hs,
  section[class*="bm-hero-large-"][style*="background-image"] .bm-hs{flex-wrap:wrap!important;gap:20px 16px!important}
  section.ub-hero[style*="background-image"] .bm-hs > div,
  section[class*="bm-hero-large-"][style*="background-image"] .bm-hs > div{flex:1 1 calc(50% - 12px)!important}
}

/* Features icons */
[class*="bm-feat-"] .bm-ic,[class*="bm-feat-"] .bm-li-ic{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;
}
[class*="bm-feat-list-"] .bm-li{align-items:center!important}
.ub-icon-img{width:56px;height:56px;object-fit:contain;display:block}

/* Text + image */
[class*="bm-txt-standard-"] .bm-ph{
  min-height:380px!important;aspect-ratio:4/5;max-height:520px;border-radius:14px!important;
}
[class*="bm-txt-standard-"] .nv-lead{font-size:1.08rem;line-height:1.65;color:var(--n700)!important;text-transform:none;letter-spacing:0;font-family:var(--fb)!important}
[class*="bm-txt-standard-"] a.nv-about-link,
[class*="bm-txt-standard-"] a[href="/o-kompanii/"],
[class*="bm-txt-standard-"] a[href="/o-kompanii"]{
  display:inline-flex!important;align-items:center;gap:6px;margin-top:10px;
  padding:12px 22px!important;background:var(--p)!important;color:#fff!important;
  border-radius:var(--r-btn)!important;font-weight:600!important;text-decoration:none!important;
  text-transform:uppercase;letter-spacing:.04em;font-family:var(--fh)!important;
}

/* CTA banner */
[class*="bm-cta-banner-"]{background:var(--dk)!important}
[class*="bm-cta-banner-"] h2,[class*="bm-cta-banner-"] p{color:#fff!important}
[class*="bm-cta-banner-"] .btn,[class*="bm-cta-banner-"] .btn-p{
  background:var(--p)!important;color:#fff!important;
}

/* Stats dark */
[class*="bm-stats-dark-"]{background:var(--dk)!important}

/* Highlight */
[class*="bm-txt-highlight-"]{background:var(--surface-2)!important}
[class*="bm-txt-highlight-"] .bm-w:not(.has-quote){grid-template-columns:1fr!important;max-width:820px;margin:0 auto}
[class*="bm-txt-highlight-"] .bm-q{
  background:#fff!important;border:1px solid var(--n200)!important;
  border-left:5px solid var(--p)!important;border-radius:14px!important;padding:28px!important;
}

/* Custom select */
.nv-select{position:relative;width:100%}
.nv-select-native{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.nv-select-btn{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px;border:1px solid var(--n200);border-radius:var(--r-input);
  background:#fff;cursor:pointer;font-size:1rem;color:var(--n800);text-align:left;
}
.nv-select-btn:hover{border-color:var(--p)}
.nv-select-list{
  position:absolute;z-index:40;left:0;right:0;top:calc(100% + 4px);
  background:#fff;border:1px solid var(--n200);border-radius:var(--r-input);
  box-shadow:var(--sh-sm);max-height:260px;overflow:auto;padding:6px;
}
.nv-select-opt{padding:10px 12px;border-radius:8px;cursor:pointer}
.nv-select-opt:hover,.nv-select-opt.is-on{background:var(--pl);color:var(--n900)}

/* Testimonials */
[class*="bm-tst-centered-"] .bm-slide,
[class*="bm-tst-centered-"] .bm-card,
[class*="bm-tst-centered-"] blockquote{
  border-radius:14px!important;border:1px solid var(--n200);background:#fff;
}

/* Footer partners / VK */
.nv-foot-partners{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 28px;
  padding:18px 0 8px;border-top:1px solid var(--footer-border);
}
.nv-foot-partner{opacity:.92;transition:opacity .2s}
.nv-foot-partner:hover{opacity:1}
.nv-foot-partner img{height:42px;width:auto;max-width:220px;object-fit:contain}
.nv-foot-vk{
  display:inline-flex;align-items:center;gap:8px;color:#fff!important;text-decoration:none!important;
  font-weight:600;font-family:var(--fh);letter-spacing:.04em;text-transform:uppercase;font-size:.9rem;
}
.nv-foot-vk:hover{color:var(--p)!important}

/* Body copy never uppercase */
p,li,label,.fl,.ub-form-label,.bm-c p,.bm-li p{text-transform:none!important;letter-spacing:0!important;font-family:var(--fb)!important}

/* Feature cards */
[class*="bm-feat-standard-"] .bm-c,[class*="bm-svc-"] .bm-c{
  border-radius:var(--r-card)!important;border:1px solid var(--n200);
  transition:border-color .2s,box-shadow .2s;
}
[class*="bm-feat-standard-"] .bm-c:hover,[class*="bm-svc-"] .bm-c:hover{
  border-color:color-mix(in srgb,var(--p) 45%,var(--n200));
  box-shadow:var(--sh-sm);
}

/* ===== QA polish ===== */
:root{--section-py:clamp(28px,4vw,36px)!important}

/* Header contacts visible */
.ub-header .flex.items-center.space-x-4{
  display:flex!important;align-items:center!important;gap:14px!important;
  margin-left:auto!important;flex-shrink:0!important;
}
.ub-header .ub-header-contacts{
  display:flex!important;align-items:center!important;gap:12px!important;
}
@media(min-width:768px){
  .ub-header .ub-header-phones,
  .ub-header .ub-header-email{
    display:flex!important;visibility:visible!important;opacity:1!important;
  }
}
.ub-header a[href^="tel"],
.ub-header a[href^="mailto"]{
  display:inline-block!important;visibility:visible!important;opacity:1!important;
  font-weight:600!important;font-size:.9rem!important;color:var(--n800)!important;
  text-decoration:none!important;white-space:nowrap!important;
}
.ub-header a[href^="mailto"]{font-weight:500!important;color:var(--n700)!important}
.ub-header a[href^="tel"]:hover,.ub-header a[href^="mailto"]:hover{color:var(--p)!important}
/* old logo rule superseded */

/* No uppercase on feature card titles/body */
[class*="bm-feat-"] .bm-c h4,
[class*="bm-feat-"] .bm-c p,
[class*="bm-feat-"] .bm-li h4,
[class*="bm-feat-"] .bm-li p{
  text-transform:none!important;letter-spacing:0!important;
}
h2,h3,.sh h2{outline:none!important;box-shadow:none!important}
::selection{background:rgba(230,126,34,.25);color:inherit}

/* Testimonials slider */
[data-nv-slider]{position:relative}
[data-nv-slider] .nv-viewport{overflow:hidden;width:100%}
[data-nv-slider] .nv-track{
  display:flex!important;transition:transform .45s ease;will-change:transform;
}
[data-nv-slider] .nv-slide{
  flex:0 0 100%!important;width:100%!important;max-width:100%!important;
  box-sizing:border-box;padding:4px 8px;
}
[data-nv-slider] .nv-nav{
  display:flex!important;align-items:center;justify-content:center;gap:12px;margin-top:18px;
}
[data-nv-slider] .nv-prev,[data-nv-slider] .nv-next{
  width:42px;height:42px;border-radius:50%;border:1px solid var(--n200);
  background:#fff;cursor:pointer;font-size:1.25rem;line-height:1;color:var(--n800);
}
[data-nv-slider] .nv-prev:hover,[data-nv-slider] .nv-next:hover{
  border-color:var(--p);color:var(--p);
}
[data-nv-slider] .nv-dots{display:flex;gap:8px;align-items:center}
[data-nv-slider] .nv-dot{
  width:9px;height:9px;border-radius:50%;border:0;background:var(--n300);cursor:pointer;padding:0;
}
[data-nv-slider] .nv-dot.is-on{background:var(--p)}

/* ===== Contacts readable (bm-con-*) ===== */
[class*="bm-con-"]{
  background:#1F2429!important;
}
[class*="bm-con-"] h3,
[class*="bm-con-"] .bm-ci a,
[class*="bm-con-"] .fl,
[class*="bm-con-"] label,
[class*="bm-con-"] .bm-consent,
[class*="bm-con-"] .bm-consent span,
[class*="bm-con-"] p{
  color:#E8EAEC!important;
}
[class*="bm-con-"] .bm-ci a{color:#F2F4F5!important;font-weight:600!important}
[class*="bm-con-"] .bm-ci a:hover{color:#E67E22!important}
[class*="bm-con-"] .bm-ci-i{
  background:#2C333A!important;border:1px solid #3A434C!important;
  border-radius:10px!important;width:40px!important;height:40px!important;
}
[class*="bm-con-"] .fi,
[class*="bm-con-"] input.fi,
[class*="bm-con-"] textarea.fi,
[class*="bm-con-"] select.fi{
  background:#fff!important;color:#1F2429!important;border-color:#3A434C!important;
}

/* ===== Advantages block (features/standard) ===== */
[class*="bm-feat-standard-"]{
  background:var(--surface)!important;
}
[class*="bm-feat-standard-"] .sh{
  text-align:left!important;max-width:40rem;margin:0 0 1.25rem!important;
}
[class*="bm-feat-standard-"] .sh h2{
  text-transform:none!important;letter-spacing:.01em!important;
  font-size:clamp(1.55rem,2.8vw,2.15rem)!important;line-height:1.2!important;
}
[class*="bm-feat-standard-"] .sh p{
  text-transform:none!important;font-family:var(--fb)!important;
  color:var(--n600)!important;font-size:1.05rem!important;letter-spacing:0!important;
  margin-top:.4rem!important;
}
[class*="bm-feat-standard-"] .bm-featwrap{
  gap:clamp(20px,3vw,36px)!important;align-items:stretch!important;
}
[class*="bm-feat-standard-"] .bm-featimg{
  flex:0 0 36%!important;min-height:280px!important;
}
[class*="bm-feat-standard-"] .bm-featimg img{
  border-radius:12px!important;object-fit:cover!important;min-height:100%!important;
}
[class*="bm-feat-standard-"] .bm-g{
  gap:14px!important;
}
[class*="bm-feat-standard-"] .bm-c{
  padding:18px 18px 16px!important;
  background:var(--surface-2)!important;
  border:1px solid var(--n200)!important;
  border-left:3px solid var(--p)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  transform:none!important;
}
[class*="bm-feat-standard-"] .bm-c:hover{
  border-color:var(--n200)!important;
  border-left-color:var(--p)!important;
  box-shadow:none!important;
  transform:none!important;
  background:#fff!important;
}
[class*="bm-feat-standard-"] .bm-ic{
  margin-bottom:10px!important;font-size:0!important;
}
[class*="bm-feat-standard-"] .bm-ic .ub-icon-img,
[class*="bm-feat-standard-"] .ub-icon-img{
  width:56px!important;height:56px!important;object-fit:contain!important;
}
[class*="bm-feat-standard-"] .bm-c h4{
  font-family:var(--fb)!important;font-weight:700!important;
  text-transform:none!important;letter-spacing:0!important;
  font-size:1.05rem!important;color:var(--n900)!important;
  margin:0 0 6px!important;
}
[class*="bm-feat-standard-"] .bm-c p{
  font-size:.95rem!important;line-height:1.5!important;color:var(--n600)!important;
  margin:0!important;
}
@media(max-width:768px){
  [class*="bm-feat-standard-"] .bm-featimg{min-height:200px!important}
}

/* ===== Testimonials polish ===== */
[class*="bm-tst-centered-"] .sh h2{text-transform:none!important;letter-spacing:.01em!important}
[class*="bm-tst-centered-"] .bm-tx{font-style:normal!important;font-family:var(--fb)!important;color:var(--n800)!important}
[class*="bm-tst-centered-"] .bm-st{color:var(--p)!important}
[class*="bm-tst-centered-"] .bm-nm,[class*="bm-tst-centered-"] .bm-rl{
  text-transform:none!important;letter-spacing:0!important;font-family:var(--fb)!important;
}
[class*="bm-tst-centered-"] .bm-av{
  background:var(--dk)!important;border-radius:10px!important;color:var(--p)!important;
}
[class*="bm-tst-centered-"] .nv-card{
  text-align:left!important;align-items:flex-start!important;
}

/* ===== Services: Подробнее always visible (solid, not hover-only) ===== */
[class*="bm-srv-"] .bm-bd .btn,
[class*="bm-srv-"] .bm-c .btn,
[class*="bm-svc-"] .bm-c .btn,
[class*="bm-srv-"] a.btn,
[class*="bm-svc-"] a.btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
  margin-top:14px!important;
  background:var(--p)!important;
  color:#fff!important;
  border:1px solid var(--p)!important;
  border-radius:var(--r-btn)!important;
  padding:10px 18px!important;
  font-weight:600!important;
  text-decoration:none!important;
}
[class*="bm-srv-"] .bm-c:hover .btn,
[class*="bm-svc-"] .bm-c:hover .btn,
[class*="bm-srv-"] .bm-bd .btn:hover,
[class*="bm-svc-"] .bm-c .btn:hover{
  opacity:1!important;
  visibility:visible!important;
  background:var(--ph)!important;
  border-color:var(--ph)!important;
  color:#fff!important;
}

/* ===== Heroes: text left, .ct centered on same wrapper as breadcrumbs ===== */
section.ub-hero .ct,
section[class*="bm-hero-"] .ct,
[class*="bm-hero-large-"] .ct,
[class*="bm-hero-centered-"] .ct,
[class*="bm-hero-"] .bm-content,
[class*="bm-hero-"] .bm-inner{
  max-width:var(--block-w,var(--container-max,1200px))!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
  box-sizing:border-box!important;
  text-align:left!important;
  float:none!important;
  position:relative!important;
  z-index:1!important;
}
[class*="bm-hero-large-"] h1,
[class*="bm-hero-large-"] .bm-sub,
[class*="bm-hero-large-"] p.bm-sub,
[class*="bm-hero-centered-"] h1,
[class*="bm-hero-centered-"] .bm-sub,
[class*="bm-hero-centered-"] p,
[class*="bm-hero-centered-"] .sh{
  text-align:left!important;
  margin-left:0!important;
  margin-right:auto!important;
  max-width:40rem!important;
}
[class*="bm-hero-large-"] .bm-acts,
[class*="bm-hero-large-"] .bm-actions,
[class*="bm-hero-large-"] .btn,
[class*="bm-hero-centered-"] .bm-acts,
[class*="bm-hero-centered-"] .bm-actions,
[class*="bm-hero-centered-"] .btn{
  margin-left:0!important;
  justify-content:flex-start!important;
}
@media(max-width:768px){
  section.ub-hero .ct,
  section[class*="bm-hero-"] .ct{
    padding-left:16px!important;
    padding-right:16px!important;
  }
}

/* ===== Breadcrumbs: left edge of content grid (.ct), not centered ===== */
.breadcrumb-nav{
  background:transparent!important;border:0!important;
  padding:0!important;margin:0!important;
}
.breadcrumb-nav .container{
  max-width:var(--block-w,var(--container-max,1200px))!important;
  margin-left:auto!important;margin-right:auto!important;
  padding:10px 24px!important;
  text-align:left!important;
  display:block!important;
}
@media(max-width:768px){
  .breadcrumb-nav .container{padding:8px 16px!important}
}
.breadcrumb-list{
  display:flex!important;flex-wrap:wrap!important;
  justify-content:flex-start!important;align-items:center!important;
  list-style:none!important;margin:0!important;padding:0!important;
  text-align:left!important;width:100%!important;
  font-size:.875rem!important;font-family:var(--fb)!important;
}
.breadcrumb-list li{
  display:inline-flex!important;align-items:center!important;
  float:none!important;margin:0!important;
}
.breadcrumb-link{
  color:var(--p)!important;text-decoration:none!important;font-weight:500!important;
}
.breadcrumb-link:hover{color:var(--ph)!important;text-decoration:underline!important}
.breadcrumb-separator{color:var(--n400)!important;margin:0 .45rem!important}
.breadcrumb-current{
  color:var(--n700)!important;font-weight:600!important;
  text-transform:none!important;letter-spacing:0!important;
}

/* ===== Section heads left (services and pages) ===== */
[class*="bm-srv-"] .sh,
[class*="bm-svc-"] .sh,
[class*="bm-feat-"] .sh,
[class*="bm-tst-"] .sh,
[class*="bm-stp-"] .sh,
[class*="bm-txt-"] .sh{
  text-align:left!important;margin-left:0!important;margin-right:auto!important;
  max-width:42rem!important;
}
[class*="bm-srv-"] .sh h2,
[class*="bm-svc-"] .sh h2,
[class*="bm-feat-"] .sh h2,
[class*="bm-tst-"] .sh h2,
[class*="bm-stp-"] .sh h2,
[class*="bm-txt-"] .sh h2,
[class*="bm-srv-"] .sh p,
[class*="bm-svc-"] .sh p,
[class*="bm-srv-"] .ss{
  text-align:left!important;margin-left:0!important;margin-right:auto!important;
  text-transform:none!important;letter-spacing:.01em!important;
}

/* ===== Heroes: full-bleed background; content locked to .ct wrapper ===== */
section.ub-hero,
section[class*="bm-hero-"]{
  max-width:none!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

/* ===== Icons size v2 ===== */

[class*="bm-feat-list-"] .ub-icon-img,
[class*="bm-feat-"] .bm-li-ic .ub-icon-img{
  width:52px!important;height:52px!important;object-fit:contain!important;
}
.ub-icon-img{width:56px;height:56px;object-fit:contain;display:block}

/* ===== Steps timeline: cards in .ct wrapper (not sparse full stretch) ===== */
[class*="bm-stp-timeline-"] .ct{
  max-width:var(--block-w,var(--container-max,1200px))!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:24px!important;padding-right:24px!important;
  box-sizing:border-box!important;
}
[class*="bm-stp-timeline-"] .bm-tl{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
}
[class*="bm-stp-timeline-"] .bm-tl::before{display:none!important}
[class*="bm-stp-timeline-"] .bm-i{
  text-align:left!important;
  background:#fff!important;
  border:1px solid var(--n200,#e5e7eb)!important;
  border-left:3px solid var(--p,#E67E22)!important;
  border-radius:12px!important;
  padding:20px 18px 18px!important;
  box-shadow:none!important;
}
[class*="bm-stp-timeline-"] .bm-n{
  width:40px!important;height:40px!important;
  margin:0 0 12px!important;
  border-radius:50%!important;
  background:var(--p,#E67E22)!important;
  color:#fff!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font-family:var(--fh)!important;font-weight:700!important;font-size:0.95rem!important;
  box-shadow:none!important;
}
[class*="bm-stp-timeline-"] .bm-i h4{
  margin:0 0 8px!important;
  font-family:var(--fb)!important;font-weight:700!important;
  text-transform:none!important;letter-spacing:0!important;
  font-size:1.05rem!important;color:var(--n900,#1F2429)!important;
  text-align:left!important;
}
[class*="bm-stp-timeline-"] .bm-i p{
  margin:0!important;text-align:left!important;
  color:var(--n600)!important;font-size:.92rem!important;line-height:1.45!important;
}
@media(max-width:900px){
  [class*="bm-stp-timeline-"] .bm-tl{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  [class*="bm-stp-timeline-"] .bm-tl{grid-template-columns:1fr!important}
}

/* FAQ + text-only: same left edge as .ct content (not centered 720px island) */
[class*="bm-faq-accordion-"] .sh,
[class*="bm-faq-accordion-"] .bm-l{
  max-width:100%!important;
  margin-left:0!important;margin-right:0!important;
  text-align:left!important;
}
[class*="bm-txt-standard-"] .bm-full{
  max-width:100%!important;
  margin-left:0!important;margin-right:0!important;
}

/* Related / catalog service cards — fluid grid inside .ct */
[class*="bm-srv-image-top-"] .bm-g{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;
  gap:20px!important;
}
[class*="bm-srv-image-top-"] .bm-im{height:168px!important}
[class*="bm-srv-image-top-"] .bm-c{
  border:1px solid var(--n200)!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
  transition:border-color .2s!important;
}
[class*="bm-srv-image-top-"] .bm-c:hover{
  border-color:var(--p)!important;
  box-shadow:none!important;
  transform:none!important;
}
[class*="bm-srv-image-top-"] .bm-bd h4{
  font-family:var(--fb)!important;font-weight:700!important;
  text-transform:none!important;letter-spacing:0!important;
  font-size:1.05rem!important;
}
[class*="bm-srv-image-top-"] .sh,
[class*="bm-srv-image-top-"] .ss{
  margin-left:0!important;margin-right:auto!important;
  max-width:42rem!important;text-align:left!important;
}



/* ===== Footer: native chrome + partner logos ===== */
.ub-footer{
  padding-top:36px!important;padding-bottom:28px!important;
}
.ub-footer > .container{
  max-width:var(--block-w,var(--container-max,1200px))!important;
  margin:0 auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
  box-sizing:border-box!important;
  width:100%!important;
}
.ub-footer-custom{
  max-width:var(--block-w,var(--container-max,1200px))!important;
  margin:0 auto!important;
  padding:0 24px!important;
  box-sizing:border-box!important;
  width:100%!important;
}
.ub-footer .nv-foot-partners{
  display:flex!important;flex-wrap:wrap!important;
  align-items:center!important;justify-content:center!important;
  gap:14px 22px!important;
  padding:20px 0 8px!important;
  margin-top:8px!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
}
.ub-footer .nv-foot-dev{
  color:rgba(255,255,255,.55)!important;
  font-size:.8rem!important;
  text-transform:none!important;
}
.ub-footer .nv-foot-partner{
  display:inline-flex!important;align-items:center!important;line-height:0!important;
  opacity:.95!important;
}
.ub-footer .nv-foot-partner:hover{opacity:1!important}
.ub-footer .nv-foot-partner img{
  display:block!important;height:42px!important;width:auto!important;
  max-width:min(240px,42vw)!important;object-fit:contain!important;
  background:transparent!important;
}
@media(max-width:768px){
  .ub-footer > .container,
  .ub-footer-custom{padding-left:16px!important;padding-right:16px!important}
  .ub-footer .nv-foot-partner img{height:36px!important}
}

/* hero-ct-fix 1785836320 */


/* ===== Features list: full .ct width, line icons (no orange blob) ===== */
[class*="bm-feat-list-"] .bm-ls{
  max-width:100%!important;
  margin-left:0!important;margin-right:0!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
[class*="bm-feat-list-"] .bm-li{
  align-items:flex-start!important;
  background:#fff!important;
  border:1px solid var(--n200,#e5e7eb)!important;
  border-left:3px solid var(--p,#E67E22)!important;
  border-radius:12px!important;
  padding:22px 20px!important;
  box-shadow:none!important;
}
[class*="bm-feat-list-"] .bm-li:hover{
  border-color:var(--n200)!important;
  border-left-color:var(--p)!important;
  box-shadow:none!important;
  transform:none!important;
}
[class*="bm-feat-list-"] .bm-li-ic{
  width:auto!important;height:auto!important;
  min-width:0!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  margin:0 4px 0 0!important;
  color:inherit!important;
}
[class*="bm-feat-list-"] .bm-li-ic .ub-icon-img,
[class*="bm-feat-list-"] .ub-icon-img{
  width:48px!important;height:48px!important;
  border-radius:0!important;
  object-fit:contain!important;
}
[class*="bm-feat-list-"] .bm-li h4{
  font-family:var(--fb)!important;font-weight:700!important;
  text-transform:none!important;letter-spacing:0!important;
  font-size:1.05rem!important;margin:0 0 6px!important;
}
[class*="bm-feat-list-"] .bm-li p{
  margin:0!important;font-size:.95rem!important;line-height:1.5!important;
  color:var(--n600)!important;
}
[class*="bm-feat-list-"] .bm-featwrap{
  max-width:100%!important;margin:0!important;width:100%!important;
}
@media(max-width:700px){
  [class*="bm-feat-list-"] .bm-ls{grid-template-columns:1fr!important}
}

/* standard features: keep fluid grid from template; icons already sized */

[class*="bm-feat-"] .bm-ic,
[class*="bm-feat-"] .bm-li-ic{
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
}


/* ===== Testimonials: slider flush to .ct (same left edge as heading) ===== */
[class*="bm-tst-centered-"] .ct{
  max-width:var(--block-w,var(--container-max,1200px))!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:24px!important;padding-right:24px!important;
  box-sizing:border-box!important;
}
[class*="bm-tst-centered-"] .sh{
  text-align:left!important;
  max-width:42rem!important;
  margin:0 0 1.25rem 0!important;
}
[class*="bm-tst-centered-"] .nv-wrap{
  max-width:100%!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  position:relative!important;
}
[class*="bm-tst-centered-"] .nv-card{
  max-width:40rem!important;
  margin-left:0!important;
  margin-right:auto!important;
  text-align:left!important;
}
[class*="bm-tst-centered-"] .nv-prev{
  left:0!important;
}
[class*="bm-tst-centered-"] .nv-next{
  left:auto!important;
  right:0!important;
  /* keep next near card on wide screens */
}
@media(min-width:900px){
  [class*="bm-tst-centered-"] .nv-wrap{
    max-width:min(40rem + 96px, 100%)!important;
  }
  [class*="bm-tst-centered-"] .nv-prev{left:0!important}
  [class*="bm-tst-centered-"] .nv-next{right:0!important}
}
[class*="bm-tst-centered-"] .nv-dots{
  justify-content:flex-start!important;
  margin-left:0!important;
}
@media(max-width:768px){
  [class*="bm-tst-centered-"] .ct{padding-left:16px!important;padding-right:16px!important}
}


/* ===== Header: keep all nav items visible (Контакты was overflow-eaten) ===== */
.ub-header nav.ub-header-nav,
.ub-header nav.md\:flex{
  flex:1 1 auto!important;
  flex-wrap:wrap!important;
  min-width:0!important;
  overflow:visible!important;
  gap:0 .15rem!important;
}
.ub-header .ub-menu-link{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  padding-left:.4rem!important;
  padding-right:.4rem!important;
  font-size:.82rem!important;
}
.ub-header .ub-nav-more,
.ub-header [data-nav-more],
.ub-header .nav-more{
  display:none!important;
}
/* Header email: on narrow screens text doesn't fit — show envelope icon only.
   Desktop keeps the full address. */
.ub-header .ub-header-phones{
  display:flex!important;visibility:visible!important;opacity:1!important;
  align-items:center!important;
}
@media(max-width:1280px){
  .ub-header .ub-header-email{
    display:flex!important;visibility:visible!important;opacity:1!important;
    align-items:center!important;margin-right:0!important;
  }
  .ub-header .ub-header-email a[href^="mailto"]{
    font-size:0!important;line-height:0!important;color:transparent!important;
    width:40px!important;height:40px!important;padding:0!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    border-radius:10px!important;background:transparent!important;
    position:relative!important;
  }
  .ub-header .ub-header-email a[href^="mailto"]::before{
    content:""!important;display:block!important;
    width:22px!important;height:22px!important;
    background:var(--n800)!important;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M4 6.5h16a1.5 1.5 0 0 1 1.5 1.5v10A1.5 1.5 0 0 1 20 19.5H4A1.5 1.5 0 0 1 2.5 18V8A1.5 1.5 0 0 1 4 6.5z'/%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m4 8 8 6 8-6'/%3E%3C/svg%3E") center/contain no-repeat!important;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M4 6.5h16a1.5 1.5 0 0 1 1.5 1.5v10A1.5 1.5 0 0 1 20 19.5H4A1.5 1.5 0 0 1 2.5 18V8A1.5 1.5 0 0 1 4 6.5z'/%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m4 8 8 6 8-6'/%3E%3C/svg%3E") center/contain no-repeat!important;
  }
  .ub-header .ub-header-email a[href^="mailto"]:hover::before{
    background:var(--p)!important;
  }
}
/* Mobile: phone as icon — digits + socials + burger don't fit in 390px */
@media(max-width:767px){
  .ub-header .ub-header-phones{margin-right:0!important;gap:0!important}
  .ub-header a.ub-header-phone[href^="tel"]{
    font-size:0!important;line-height:0!important;color:transparent!important;
    width:36px!important;height:36px!important;padding:0!important;margin:0!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    position:relative!important;overflow:hidden!important;white-space:nowrap!important;
  }
  .ub-header a.ub-header-phone[href^="tel"]::before{
    content:""!important;display:block!important;
    width:20px!important;height:20px!important;
    background:var(--n800)!important;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M6.6 3.8h2.2c.5 0 .9.3 1 .8l.7 2.8c.1.4 0 .8-.3 1.1l-1.3 1.3a12.5 12.5 0 0 0 5.4 5.4l1.3-1.3c.3-.3.7-.4 1.1-.3l2.8.7c.5.1.8.5.8 1v2.2c0 .6-.4 1-1 1A15.6 15.6 0 0 1 3.6 4.8c0-.6.4-1 1-1z'/%3E%3C/svg%3E") center/contain no-repeat!important;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M6.6 3.8h2.2c.5 0 .9.3 1 .8l.7 2.8c.1.4 0 .8-.3 1.1l-1.3 1.3a12.5 12.5 0 0 0 5.4 5.4l1.3-1.3c.3-.3.7-.4 1.1-.3l2.8.7c.5.1.8.5.8 1v2.2c0 .6-.4 1-1 1A15.6 15.6 0 0 1 3.6 4.8c0-.6.4-1 1-1z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  }
  .ub-header a.ub-header-phone[href^="tel"]:hover::before{background:var(--p)!important}
  .ub-header .ub-header-email a[href^="mailto"]{
    width:36px!important;height:36px!important;
  }
  .ub-header .ub-header-contacts{gap:4px!important}
  .ub-header .ub-burger{flex-shrink:0!important;margin-left:2px!important}
}
/* logo size moved to Header logo: large readable */
.ub-header .ub-header-cta{
  padding-left:14px!important;
  padding-right:14px!important;
  font-size:.82rem!important;
  white-space:nowrap!important;
}


/* ===== Header logo: original vertical metal (shield + text) ===== */
.ub-header .ub-header-logo,
.ub-header img.ub-header-logo,
.ub-header a.flex-shrink-0 img{
  height:88px!important;
  max-height:88px!important;
  width:auto!important;
  max-width:min(160px,28vw)!important;
  object-fit:contain!important;
  object-position:left center!important;
  display:block!important;
  background:transparent!important;
  padding:0!important;
  border-radius:0!important;
  filter:none!important;
  box-shadow:none!important;
}
.ub-header a.flex-shrink-0{
  flex-shrink:0!important;
  line-height:0!important;
}
@media(max-width:900px){
  .ub-header .ub-header-logo,
  .ub-header img.ub-header-logo,
  .ub-header a.flex-shrink-0 img{
    height:72px!important;max-height:72px!important;max-width:min(130px,30vw)!important;
  }
}
@media(max-width:768px){
  .ub-header .ub-header-logo,
  .ub-header img.ub-header-logo,
  .ub-header a.flex-shrink-0 img{
    height:60px!important;max-height:60px!important;max-width:min(110px,36vw)!important;
  }
}

/* mail-icon-bust 1786619449 */

/* Header socials: engine hides them below md (hidden md:flex). Show on mobile too. */
.ub-header .ub-header-socials{
  display:flex!important;visibility:visible!important;opacity:1!important;
  align-items:center!important;gap:8px!important;margin-right:6px!important;
}
@media(max-width:767px){
  .ub-header .ub-header-socials .ub-header-social{
    width:26px!important;height:26px!important;border-radius:7px!important;
  }
  .ub-header .ub-header-socials a[href*="max.ru"] img{
    width:14px!important;height:14px!important;
  }
}

/* ===== Social brand colors: VK blue + Max gradient =====
   Theme orange was painting both icons the same; restore brand marks. */
.ub-header-socials .ub-header-social,
.ub-bc-socials .ub-header-social{
  width:28px!important;height:28px!important;border-radius:8px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  text-decoration:none!important;line-height:1!important;flex-shrink:0!important;
}
.ub-header-socials a[href*="vk."] .fa-vk,
.ub-bc-socials a[href*="vk."] .fa-vk,
.ub-header-socials a[href*="vk."]{
  color:#fff!important;
}
.ub-header-socials a[href*="vk."],
.ub-bc-socials a[href*="vk."]{
  background:#0077FF!important;color:#fff!important;
}
.ub-header-socials a[href*="vk."]:hover,
.ub-bc-socials a[href*="vk."]:hover{
  background:#0066DD!important;color:#fff!important;filter:brightness(1.05);
}
.ub-header-socials a[href*="max.ru"],
.ub-bc-socials a[href*="max.ru"]{
  background-image:linear-gradient(135deg,#471AFF 0%,#9500FF 100%)!important;
  background-color:#471AFF!important;color:#fff!important;
}
.ub-header-socials a[href*="max.ru"]:hover,
.ub-bc-socials a[href*="max.ru"]:hover{
  filter:brightness(1.08);
}
/* Footer circles keep shape; swap orange → brand */
a.ub-footer-social[href*="vk."]{
  background:#0077FF!important;color:#fff!important;
}
a.ub-footer-social[href*="vk."]:hover{
  background:#0066DD!important;color:#fff!important;
}
a.ub-footer-social[href*="max.ru"]{
  background-image:linear-gradient(135deg,#471AFF 0%,#9500FF 100%)!important;
  background-color:#471AFF!important;color:#fff!important;
}
a.ub-footer-social[href*="max.ru"]:hover{filter:brightness(1.08)}
/* social-brand-bust 1786619750 */
/* social-mobile-bust 1786620031 */

/* kachan: official Rutube + Dzen */
a.ub-header-social[aria-label="Rutube"],
a.ub-header-social[title="Rutube"],
a.ub-footer-social[aria-label="Rutube"],
a.ub-footer-social[title="Rutube"],
.ub-bc-socials a[aria-label="Rutube"],
.ub-bc-socials a[title="Rutube"]{
  background:#000!important;
  background-image:none!important;
  color:#fff!important;
}
a.ub-header-social[aria-label="Dzen"],
a.ub-header-social[title="Dzen"],
a.ub-footer-social[aria-label="Dzen"],
a.ub-footer-social[title="Dzen"],
.ub-bc-socials a[aria-label="Dzen"],
.ub-bc-socials a[title="Dzen"]{
  background:#000!important;
  background-image:none!important;
  color:#fff!important;
}
a[aria-label="Rutube"] i, a[title="Rutube"] i,
a[aria-label="Dzen"] i, a[title="Dzen"] i{
  display:none!important;
}
a[aria-label="Rutube"] svg, a[title="Rutube"] svg,
a[aria-label="Dzen"] svg, a[title="Dzen"] svg,
a[aria-label="Rutube"] img, a[title="Rutube"] img,
a[aria-label="Dzen"] img, a[title="Dzen"] img{
  display:block!important;
  width:16px!important;
  height:16px!important;
  flex-shrink:0;
}
a.ub-footer-social[aria-label="Rutube"] svg,
a.ub-footer-social[title="Rutube"] svg,
a.ub-footer-social[aria-label="Dzen"] svg,
a.ub-footer-social[title="Dzen"] svg,
a.ub-footer-social[aria-label="Rutube"] img,
a.ub-footer-social[title="Rutube"] img,
a.ub-footer-social[aria-label="Dzen"] img,
a.ub-footer-social[title="Dzen"] img{
  width:20px!important;
  height:20px!important;
}

