:root{
  --sid-red:#ef2334;
  --sid-red-hover:#d91f30;
  --sid-blue:#1bb6e8;
  --sid-gold:#c99443;
  --sid-dark:#071116;
  --sid-ink:#111820;
  --sid-muted:#69737e;
  --sid-line:#e8edf1;
  --sid-soft:#f6f8fa;
}

*{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
body.sid-home{margin:0!important;padding:0!important;background:#fff!important;color:var(--sid-ink)}
body.sid-home>header:not(.sid-header),body.sid-home .site-header:not(.sid-header){display:none!important}
.sid-sprite{position:absolute;width:0;height:0;overflow:hidden}
.sid-main,.sid-header{font-family:'Onest',Arial,sans-serif}
.sid-main{width:100%;background:#fff;color:var(--sid-ink);overflow:hidden}
.sid-shell{width:min(1600px,calc(100% - 96px));margin:0 auto}
.sid-main svg,.sid-header svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* HEADER */
.sid-header{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:80;
  height:82px;
  color:#fff;
  background:linear-gradient(180deg,rgba(3,9,14,.72) 0%,rgba(3,9,14,.18) 70%,transparent 100%);
  border:0;
}
.sid-header-inner{height:82px;display:flex;align-items:center;gap:44px}
.sid-brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.sid-brand img{display:block;width:150px;height:auto;max-height:64px;object-fit:contain}
.sid-desktop-nav{display:flex;align-items:stretch;gap:31px;height:82px;margin-right:auto}
.sid-desktop-nav a{position:relative;display:flex;align-items:center;color:rgba(255,255,255,.92);text-decoration:none;font-size:14px;font-weight:550;white-space:nowrap}
.sid-desktop-nav a::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:2px;background:transparent;border-radius:2px}
.sid-desktop-nav a:hover,.sid-desktop-nav a.is-active{color:#fff}
.sid-desktop-nav a.is-active::after{background:#fff}
.sid-header-actions{margin-left:auto;display:flex;align-items:center;gap:15px;flex:0 0 auto}
.sid-login{height:42px;display:inline-flex;align-items:center;padding:0 10px;color:#fff;text-decoration:none;font-size:14px;font-weight:650;white-space:nowrap}
.sid-login:hover{color:#fff}
.sid-create{min-height:46px;padding:0 22px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:var(--sid-red);color:#fff;text-decoration:none;font-size:14px;font-weight:750;box-shadow:0 12px 28px rgba(239,35,52,.24);transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.sid-create:hover{background:var(--sid-red-hover);transform:translateY(-1px);box-shadow:0 15px 32px rgba(239,35,52,.30)}
.sid-menu-btn{display:none;width:42px;height:42px;padding:8px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.05);color:#fff}
.sid-menu-btn svg{width:24px;height:24px}

/* shared desktop navigation injected from includes/header.php */
body.sid-home .sid-header .sid-inner-nav{flex:1 1 auto;min-width:0;height:82px}
body.sid-home .sid-header .sid-inner-menu{height:82px;display:flex;align-items:stretch;gap:28px;margin:0;padding:0;list-style:none}
body.sid-home .sid-header .sid-inner-menu>li{position:relative;display:flex;align-items:stretch}
body.sid-home .sid-header .sid-inner-menu>li>a,
body.sid-home .sid-header .sid-inner-menu-toggle{
  height:82px;
  display:inline-flex;
  align-items:center;
  margin:0;
  padding:0;
  border:0;
  border-bottom:2px solid transparent;
  border-radius:0;
  background:transparent;
  color:rgba(255,255,255,.92);
  font:550 14px/1 'Onest',Arial,sans-serif;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
body.sid-home .sid-header .sid-inner-menu>li:hover>a,
body.sid-home .sid-header .sid-inner-menu>li:hover>.sid-inner-menu-toggle,
body.sid-home .sid-header .sid-inner-menu>li.is-active>a,
body.sid-home .sid-header .sid-inner-menu>li.is-active>.sid-inner-menu-toggle,
body.sid-home .sid-header .sid-inner-menu>li.is-open>a,
body.sid-home .sid-header .sid-inner-menu>li.is-open>.sid-inner-menu-toggle{color:#fff;border-bottom-color:#fff}
body.sid-home .sid-header .sid-inner-dropdown{top:calc(100% - 2px)}
body.sid-home .sid-header .sid-inner-icon-btn{width:42px;height:42px;min-width:42px;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:rgba(5,12,17,.22);color:#fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

/* HERO */
.sid-hero{position:relative;min-height:660px;background:#071116;color:#fff;overflow:hidden}
.sid-hero-bg{position:absolute;inset:0;background:url('/uploads/pages/head_pc.jpg') 60% 53%/cover no-repeat;transform:scale(1.01)}
.sid-hero-overlay{position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(3,10,14,.96) 0%,rgba(3,10,14,.88) 28%,rgba(3,10,14,.54) 49%,rgba(3,10,14,.16) 73%,rgba(3,10,14,.18) 100%),
  linear-gradient(180deg,rgba(2,8,12,.18) 0%,rgba(2,8,12,.06) 48%,rgba(2,8,12,.72) 100%)}
.sid-hero-overlay::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 73% 42%,rgba(255,178,74,.09),transparent 29%);pointer-events:none}
.sid-hero-inner{position:relative;min-height:660px;padding-top:150px;padding-bottom:126px}
.sid-hero-copy{position:relative;z-index:5;width:min(650px,46%)}
.sid-kicker{display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);color:rgba(255,255,255,.82);font-size:11px;font-weight:700;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}
.sid-kicker i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--sid-blue);box-shadow:0 0 0 5px rgba(27,182,232,.14)}
.sid-hero h1{margin:24px 0 20px;font-size:clamp(52px,4.1vw,70px);line-height:1.03;letter-spacing:-.045em;font-weight:850;color:#fff;text-wrap:balance;text-shadow:0 5px 24px rgba(0,0,0,.18)}
.sid-hero h1 em{font-style:normal;color:var(--sid-gold)}
.sid-hero-copy>p{max-width:650px;margin:0;color:rgba(255,255,255,.88);font-size:17px;line-height:1.6;font-weight:400}
.sid-hero-actions{display:flex;align-items:center;gap:15px;margin-top:28px}
.sid-btn{min-height:50px;padding:0 24px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-size:14px;font-weight:750;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.sid-btn svg{width:18px;height:18px}
.sid-btn-primary{background:var(--sid-red);color:#fff;box-shadow:0 13px 28px rgba(239,35,52,.24)}
.sid-btn-primary:hover{background:var(--sid-red-hover);transform:translateY(-2px)}
.sid-btn-ghost{color:#fff;border:1px solid rgba(255,255,255,.64);background:rgba(5,12,17,.20);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.sid-btn-ghost:hover{background:rgba(255,255,255,.09);transform:translateY(-2px)}

/* route over the house */
.sid-route{position:absolute;z-index:4;right:0;top:112px;width:700px;height:352px}
.sid-route-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 4px 6px rgba(0,0,0,.25))}
.sid-route-line path{fill:none;stroke:rgba(255,255,255,.86);stroke-width:2}
.sid-route-line circle{fill:rgba(31,185,232,.96);stroke:#fff;stroke-width:4}
.sid-route-step{position:absolute;display:flex;align-items:center;gap:12px;min-width:185px;min-height:58px;padding:10px 15px 10px 11px;border-radius:15px;border:1px solid rgba(255,255,255,.26);background:linear-gradient(135deg,rgba(15,22,27,.80),rgba(31,35,36,.62));box-shadow:0 14px 34px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.10);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff;text-decoration:none;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.sid-route-step:hover{transform:translateY(-3px);background:linear-gradient(135deg,rgba(18,26,31,.91),rgba(38,42,43,.78));border-color:rgba(255,255,255,.42)}
.sid-route-ico{width:40px;height:40px;flex:0 0 40px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.sid-route-ico svg{width:23px;height:23px}
.sid-route-step b,.sid-route-step small{display:block}
.sid-route-step b{font-size:13px;line-height:1.2;font-weight:800}
.sid-route-step small{margin-top:3px;color:rgba(255,255,255,.80);font-size:12px;line-height:1.2}
.sid-route-step--1{left:0;bottom:5px}
.sid-route-step--2{left:188px;bottom:57px}
.sid-route-step--3{left:350px;top:84px}
.sid-route-step--4{right:0;top:0}

.sid-hero-features{position:absolute;z-index:5;left:0;right:0;bottom:25px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding-top:19px;border-top:1px solid rgba(255,255,255,.14)}
.sid-hero-feature{display:flex;align-items:center;gap:14px;min-width:0}
.sid-hero-feature svg{width:38px;height:38px;flex:0 0 38px;color:rgba(255,255,255,.92);stroke-width:1.45}
.sid-hero-feature b,.sid-hero-feature span{display:block}
.sid-hero-feature b{font-size:13px;line-height:1.28;font-weight:750;color:#fff}
.sid-hero-feature span{margin-top:2px;font-size:12px;line-height:1.32;color:rgba(255,255,255,.72)}

/* SERVICES */
.sid-services{padding:28px 0 52px;background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%)}
.sid-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}
.sid-section-kicker{display:block;margin-bottom:5px;color:#8b949e;font-size:11px;font-weight:750;letter-spacing:.10em;text-transform:uppercase}
.sid-section-head h2{margin:0;font-size:42px;line-height:1.05;letter-spacing:-.04em;color:#111820}
.sid-section-head>a{display:inline-flex;align-items:center;gap:7px;margin-bottom:5px;color:#56616d;text-decoration:none;font-size:13px;font-weight:650}
.sid-section-head>a svg{width:17px;height:17px}
.sid-section-head>a:hover{color:#111820}
.sid-services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.sid-service-card{position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:18px;background:#fff;border:1px solid #e9edf1;box-shadow:0 14px 34px rgba(15,23,42,.07);color:var(--sid-ink);text-decoration:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.sid-service-card:hover{transform:translateY(-5px);box-shadow:0 21px 42px rgba(15,23,42,.12);border-color:#dde4ea}
.sid-service-visual{position:relative;height:190px;overflow:hidden;background:#e9eef1}
.sid-service-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 50%,rgba(0,0,0,.12) 100%);pointer-events:none}
.sid-service-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.sid-service-card:hover .sid-service-visual img{transform:scale(1.025)}
.sid-service-badge{position:absolute;z-index:3;left:16px;top:16px;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.34);box-shadow:0 10px 24px rgba(0,0,0,.16);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.sid-service-badge svg{width:25px;height:25px}
.sid-service-card--calc .sid-service-badge{background:rgba(227,30,48,.92)}
.sid-service-card--catalog .sid-service-badge{background:rgba(190,139,61,.92)}
.sid-service-card--tracker .sid-service-badge{background:rgba(17,119,219,.92)}
.sid-service-card--care .sid-service-badge{background:rgba(183,129,45,.92)}
.sid-service-content{position:relative;flex:1;min-height:190px;padding:18px 56px 19px 19px;background:#fff}
.sid-service-content h3{margin:0 0 6px;font-size:20px;line-height:1.15;letter-spacing:-.025em;color:#111820}
.sid-service-content p{min-height:39px;margin:0 0 11px;color:#7b8590;font-size:12.5px;line-height:1.45}
.sid-service-content ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.sid-service-content li{position:relative;padding-left:20px;color:#3d4650;font-size:11.5px;line-height:1.35}
.sid-service-content li::before{content:"✓";position:absolute;left:0;top:-1px;color:var(--sid-red);font-size:14px;font-weight:900}
.sid-service-arrow{position:absolute;right:18px;bottom:20px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid #dce3e8;background:#fff;color:#1d2831;transition:transform .2s ease,border-color .2s ease,background .2s ease}
.sid-service-arrow svg{width:19px;height:19px}
.sid-service-card:hover .sid-service-arrow{transform:translateX(3px);border-color:#bfc8d0;background:#f9fafb}

/* LOWER BLOCKS */
.sid-bottom{padding:0 0 52px;background:#fbfcfd}
.sid-bottom-grid{display:grid;grid-template-columns:1fr 1.07fr;gap:22px}
.sid-passport,.sid-trust{min-height:245px;border-radius:18px;border:1px solid #e9edf1;background:#fff;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.sid-passport{display:grid;grid-template-columns:46% 54%;text-decoration:none;color:var(--sid-ink)}
.sid-passport-visual{position:relative;overflow:hidden;background:#edf1f3}
.sid-passport-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.sid-passport:hover .sid-passport-visual img{transform:scale(1.025)}
.sid-passport-copy{padding:29px 28px}
.sid-passport-copy h2,.sid-trust h2{margin:0 0 12px;font-size:28px;line-height:1.08;letter-spacing:-.03em}
.sid-passport-copy p{margin:0 0 17px;color:#636e79;font-size:13px;line-height:1.55}
.sid-passport-link{display:inline-flex!important;align-items:center;gap:7px;color:#111820!important;font-size:12.5px!important;font-weight:750!important;text-transform:none!important;letter-spacing:0!important;margin:0!important}
.sid-passport-link svg{width:16px;height:16px}
.sid-trust{padding:28px}
.sid-trust-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.sid-trust-pill{display:inline-flex;align-items:center;min-height:29px;padding:0 12px;border-radius:999px;background:#f1f4f6;color:#69737d;font-size:10px;font-weight:650;white-space:nowrap}
.sid-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:17px}
.sid-trust-grid>div{min-height:118px;padding:16px 13px;border:1px solid #edf0f2;border-radius:13px;background:#fbfcfd}
.sid-trust-grid svg{width:28px;height:28px;margin-bottom:13px;color:#15202a}
.sid-trust-grid b{display:block;font-size:11.5px;line-height:1.4}

@media (max-width:1450px){
  .sid-shell{width:min(100% - 64px,1390px)}
  .sid-header-inner{gap:28px}
  body.sid-home .sid-header .sid-inner-menu{gap:20px}
  body.sid-home .sid-header .sid-inner-menu>li>a,
  body.sid-home .sid-header .sid-inner-menu-toggle,.sid-desktop-nav a{font-size:13px}
  .sid-desktop-nav{gap:22px}
  .sid-route{right:-22px;width:630px;transform:scale(.94);transform-origin:right top}
  .sid-hero-copy{width:min(620px,48%)}
  .sid-service-content h3{font-size:19px}
}

@media (max-width:1180px){
  .sid-shell{width:calc(100% - 44px)}
  .sid-header-inner{gap:20px}
  .sid-brand img{width:132px}
  body.sid-home .sid-header .sid-inner-menu{gap:14px}
  body.sid-home .sid-header .sid-inner-menu>li>a,
  body.sid-home .sid-header .sid-inner-menu-toggle,.sid-desktop-nav a{font-size:12px}
  .sid-header-actions{gap:9px}
  .sid-create{padding:0 16px;font-size:12px}
  .sid-login{font-size:12px}
  .sid-hero-copy{width:52%}
  .sid-route{right:-78px;top:120px;transform:scale(.82)}
  .sid-hero h1{font-size:54px}
  .sid-hero-copy>p{font-size:15px}
  .sid-hero-features{gap:13px}
  .sid-hero-feature{gap:9px}
  .sid-hero-feature svg{width:31px;height:31px;flex-basis:31px}
  .sid-hero-feature b{font-size:11.5px}.sid-hero-feature span{font-size:10.5px}
  .sid-services-grid{gap:14px}
  .sid-service-visual{height:164px}
  .sid-service-content{padding:16px 50px 17px 16px}
  .sid-service-content h3{font-size:17px}
  .sid-service-content p{font-size:11.5px}
  .sid-service-content li{font-size:10.5px}
  .sid-service-arrow{right:14px;bottom:16px;width:38px;height:38px}
}

@media (max-width:980px){
  .sid-header{height:72px;background:linear-gradient(180deg,rgba(3,9,14,.78),rgba(3,9,14,.16),transparent)}
  .sid-header-inner{height:72px}
  .sid-brand img{width:128px}
  .sid-desktop-nav,body.sid-home .sid-header .sid-inner-nav,.sid-login,.sid-create{display:none!important}
  .sid-menu-btn{display:grid;place-items:center}
  .sid-header-actions{margin-left:auto}
  .sid-hero{min-height:760px}
  .sid-hero-bg{background-image:url('/uploads/pages/head_mob.jpg');background-position:center 27%}
  .sid-hero-overlay{background:linear-gradient(180deg,rgba(3,10,14,.28) 0%,rgba(3,10,14,.48) 30%,rgba(3,10,14,.82) 55%,rgba(3,10,14,.97) 100%)}
  .sid-hero-inner{min-height:760px;padding-top:110px;padding-bottom:166px}
  .sid-hero-copy{width:100%;max-width:650px}
  .sid-hero h1{font-size:50px;max-width:650px}
  .sid-hero-copy>p{max-width:590px;font-size:15.5px}
  .sid-route{top:auto;right:auto;left:0;bottom:102px;width:100%;height:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;transform:none}
  .sid-route-line{display:none}
  .sid-route-step{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;min-width:0;min-height:66px;padding:9px;border-radius:12px;gap:8px}
  .sid-route-ico{width:34px;height:34px;flex-basis:34px;border-radius:9px}
  .sid-route-ico svg{width:19px;height:19px}
  .sid-route-step b{font-size:11px}.sid-route-step small{font-size:9.5px}
  .sid-hero-features{display:none}
  .sid-services{padding-top:26px}
  .sid-section-head h2{font-size:36px}
  .sid-services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .sid-service-visual{height:205px}
  .sid-service-content{min-height:186px}
  .sid-service-content h3{font-size:20px}
  .sid-service-content p{font-size:12px}
  .sid-service-content li{font-size:11px}
  .sid-bottom-grid{grid-template-columns:1fr}
}

@media (max-width:700px){
  .sid-shell{width:calc(100% - 28px)}
  .sid-header-actions{gap:7px}
  body.sid-home .sid-header .sid-inner-icon-btn{width:39px;height:39px;min-width:39px}
  .sid-menu-btn{width:39px;height:39px}
  .sid-hero{min-height:800px}
  .sid-hero-inner{min-height:800px;padding-top:102px;padding-bottom:250px}
  .sid-kicker{max-width:100%;font-size:8.5px;line-height:1.25;white-space:normal}
  .sid-hero h1{margin-top:18px;font-size:42px;line-height:1.02}
  .sid-hero-copy>p{font-size:14px;line-height:1.55}
  .sid-hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}
  .sid-btn{width:100%;min-height:49px}
  .sid-route{bottom:24px;grid-template-columns:1fr 1fr;gap:9px}
  .sid-route-step{min-height:68px}
  .sid-section-head{align-items:flex-start;margin-bottom:16px}
  .sid-section-head h2{font-size:32px}
  .sid-section-head>a{display:none}
  .sid-services{padding:24px 0 34px}
  .sid-services-grid{grid-template-columns:1fr;gap:14px}
  .sid-service-card{border-radius:16px}
  .sid-service-visual{height:220px}
  .sid-service-content{min-height:182px;padding:17px 56px 18px 17px}
  .sid-service-content p{min-height:0}
  .sid-bottom{padding-bottom:34px}
  .sid-passport{grid-template-columns:1fr}
  .sid-passport-visual{height:220px}
  .sid-passport-copy{padding:23px 20px}
  .sid-trust{padding:22px 18px}
  .sid-trust-head{display:block}
  .sid-trust-pill{margin-top:4px}
  .sid-trust-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:420px){
  .sid-shell{width:calc(100% - 24px)}
  .sid-brand img{width:116px}
  .sid-hero{min-height:790px}
  .sid-hero-inner{min-height:790px;padding-top:96px;padding-bottom:238px}
  .sid-hero h1{font-size:36px;letter-spacing:-.04em}
  .sid-hero-copy>p{font-size:13.5px}
  .sid-route-step{padding:8px 7px;gap:7px}
  .sid-route-ico{width:31px;height:31px;flex-basis:31px}
  .sid-route-step b{font-size:10px}.sid-route-step small{font-size:9px}
  .sid-service-visual{height:195px}
  .sid-trust-grid{grid-template-columns:1fr 1fr;gap:8px}
  .sid-trust-grid>div{min-height:108px;padding:13px 10px}
}

/* =========================================================
   MOBILE FULL-BLEED FIX — 04.10.2026
   Убираем белые края CMS-обёртки и возвращаем прежние
   внутренние отступы главной: 20px слева/справа.
   ========================================================= */
@media (max-width:700px){
  html,
  body{
    margin:0 !important;
    padding:0 !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  body.sid-home{
    margin:0 !important;
    padding:0 !important;
    width:100% !important;
    max-width:100% !important;
    background:#071116 !important;
    overflow-x:hidden !important;
  }

  /* Сбрасываем внешнюю CMS-обёртку, которая давала белые поля */
  body.sid-home > .container,
  body.sid-home > main.container,
  body.sid-home > .wrapper,
  body.sid-home > #wrapper,
  body.sid-home > #content,
  body.sid-home > .content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    overflow:visible !important;
  }

  /* Главная всегда от края экрана до края независимо от родителя CMS */
  body.sid-home .sid-main{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
  }

  body.sid-home .sid-header{
    left:50% !important;
    right:auto !important;
    width:100vw !important;
    max-width:100vw !important;
    margin:0 !important;
    transform:translateX(-50%) !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
  }

  body.sid-home .sid-hero,
  body.sid-home .sid-services,
  body.sid-home .sid-bottom{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
  }

  /* Возвращаем старые мобильные отступы — ровно 20px */
  body.sid-home .sid-shell{
    width:calc(100vw - 40px) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
}

@media (max-width:420px){
  body.sid-home .sid-shell{
    width:calc(100vw - 40px) !important;
  }
}


/* =========================================================
   MOBILE HERO FLOW FIX — 04.10.2026
   Убираем большой разрыв между кнопками и блоками пути дома:
   на мобильных карточки идут сразу под кнопкой «Как это работает».
   ========================================================= */
@media (max-width:820px){
  .sid-hero{
    min-height:auto !important;
  }

  .sid-hero-inner{
    min-height:0 !important;
    padding-bottom:36px !important;
  }

  .sid-route{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    width:100% !important;
    height:auto !important;
    margin-top:18px !important;
  }
}

@media (max-width:700px){
  .sid-hero{
    min-height:auto !important;
  }

  .sid-hero-inner{
    min-height:0 !important;
    padding-top:102px !important;
    padding-bottom:28px !important;
  }

  .sid-hero-actions{
    margin-top:20px !important;
    margin-bottom:0 !important;
  }

  .sid-route{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:9px !important;
    width:100% !important;
    height:auto !important;
    margin-top:14px !important;
    transform:none !important;
  }

  .sid-route-step{
    min-height:68px !important;
  }
}

@media (max-width:420px){
  .sid-hero{
    min-height:auto !important;
  }

  .sid-hero-inner{
    min-height:0 !important;
    padding-top:96px !important;
    padding-bottom:24px !important;
  }

  .sid-route{
    margin-top:12px !important;
  }
}


/* =========================================================
   AMBIENT FIREFLIES | StroyID hero
   Полупрозрачные золотые искры между фоном и содержимым.
   Настроено для ПК и мобильных экранов; ссылки не перекрывает.
   ========================================================= */
.sid-hero > .sid-ambient-fireflies {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: .89;
}
.sid-hero > .sid-hero-inner {
  z-index: 2;
}
@media (max-width: 700px) {
  .sid-hero > .sid-ambient-fireflies {
    opacity: .70;
  }
}


/* ================================================================
   STROYID / PREMIUM MOBILE HERO — макет 13.10.2026
   Все правила ограничены мобильной версией и не изменяют ПК.
   Фон и прозрачный логотип: /images/home/hero-mobile-*.
   Размеры сверены с изображением-макетом 941 x 1671.
   ================================================================ */
.sid-heading-mobile,.sid-hero-assurance,.sid-cta-mobile,.sid-mobile-bell{display:none}
.sid-heading-desktop,.sid-cta-desktop{display:inline}
.sid-brand picture{display:block}

@media (max-width:700px){
  /* Внешние поля всегда отсутствуют: фон на всю ширину. */
  body.sid-home .sid-header,
  body.sid-home .sid-hero,
  body.sid-home .sid-main{border-radius:0!important}
  body.sid-home .sid-main{overflow:hidden!important}

  body.sid-home .sid-hero{
    height:485px!important;
    min-height:485px!important;
    background:#040e11;
    overflow:hidden!important;
    isolation:isolate;
  }
  body.sid-home .sid-hero-bg{
    inset:0;
    transform:none;
    background-image:url('/images/home/hero-mobile-night.webp')!important;
    background-repeat:no-repeat;
    background-size:100% auto!important;
    background-position:center top!important;
  }
  body.sid-home .sid-hero-overlay{
    inset:0;
    background:
      linear-gradient(180deg,rgba(2,9,14,.06) 0%,rgba(2,9,14,.03) 27%,rgba(2,9,14,.05) 39%,rgba(2,9,14,.38) 55%,rgba(1,9,12,.62) 72%,rgba(1,9,12,.69) 100%)!important;
  }
  body.sid-home .sid-hero-overlay::after{display:none}
  body.sid-home .sid-hero > .sid-ambient-fireflies{opacity:.58!important;z-index:1}
  body.sid-home .sid-hero-inner{
    position:relative;
    height:570px!important;
    min-height:570px!important;
    width:calc(100vw - 40px)!important;
    padding:0!important;
    overflow:visible;
  }
  body.sid-home .sid-hero-copy{
    width:100%!important;
    max-width:none!important;
    height:100%;
    position:static!important;
  }
  body.sid-home .sid-header{
    top:0!important;
    height:86px!important;
    background:linear-gradient(180deg,rgba(2,9,13,.20),transparent)!important;
    box-shadow:none!important;
    z-index:80;
  }
  body.sid-home .sid-header-inner{
    height:86px!important;
    width:calc(100vw - 40px)!important;
    gap:0!important;
    padding:0!important;
    align-items:flex-start!important;
  }
  body.sid-home .sid-brand{
    width:145px;
    height:60px;
    align-self:flex-start;
    margin-top:12px;
    flex:none;
  }
  body.sid-home .sid-brand picture{width:100%;height:auto}
  body.sid-home .sid-brand img{
    display:block;
    width:145px!important;
    max-width:100%!important;
    max-height:none!important;
    height:auto!important;
    object-fit:contain;
  }
  body.sid-home .sid-header-actions{
    display:flex!important;
    gap:9px!important;
    margin-left:auto!important;
    margin-top:19px;
    align-items:center!important;
  }
  body.sid-home .sid-header .sid-inner-icon-btn,
  body.sid-home .sid-header .sid-mobile-bell,
  body.sid-home .sid-menu-btn{
    display:grid!important;
    place-items:center!important;
    width:45px!important;
    height:45px!important;
    min-width:45px!important;
    padding:10px!important;
    flex:0 0 45px!important;
    border:1.1px solid rgba(255,255,255,.40)!important;
    border-radius:13px!important;
    background:linear-gradient(145deg,rgba(23,29,31,.81),rgba(4,10,12,.80))!important;
    color:#fff!important;
    box-shadow:0 7px 20px rgba(0,0,0,.32),inset 0 1px 1px rgba(255,255,255,.12)!important;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  body.sid-home .sid-header .sid-inner-icon-btn svg,
  body.sid-home .sid-menu-btn svg{width:25px!important;height:25px!important;stroke-width:2.2}
  body.sid-home .sid-menu-btn svg{stroke-width:3.3}
  body.sid-home .sid-header .sid-mobile-bell{ text-decoration:none }

  body.sid-home .sid-kicker{display:none!important}
  body.sid-home .sid-heading-desktop{display:none!important}
  body.sid-home .sid-heading-mobile{display:block!important}
  body.sid-home .sid-hero h1{
    position:absolute;
    z-index:3;
    left:0;
    right:-8px;
    top:auto;
    bottom:105px;
    margin:0!important;
    max-width:none!important;
    font-size:25px!important;
    line-height:.91!important;
    letter-spacing:-.055em!important;
    font-weight:850!important;
    color:#fff;
    text-shadow:0 3px 14px rgba(0,0,0,.4);
    text-wrap:nowrap!important;
    white-space:nowrap;
  }
  body.sid-home .sid-hero h1 em{
    display:inline-block;
    color:#f6bd54!important;
    font-style:normal;
    letter-spacing:-.045em;
    text-shadow:0 4px 12px rgba(0,0,0,.35),0 0 24px rgba(255,179,61,.10);
  }
  body.sid-home .sid-hero-copy > p{display:none!important}
  body.sid-home .sid-hero-actions{
    position:absolute!important;
    z-index:4;
    display:none!important;
    grid-template-columns:1fr!important;
    top:433px;
    left:8px;
    right:8px;
    gap:12px!important;
    margin:0!important;
    width:auto!important;
  }
  body.sid-home .sid-cta-desktop{display:none!important}
  body.sid-home .sid-cta-mobile{display:inline!important}
  body.sid-home .sid-hero-actions .sid-btn{
    width:100%!important;
    box-sizing:border-box;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1;
    padding:0 14px!important;
    margin:0!important;
    border-radius:11px!important;
    text-decoration:none!important;
  }
  body.sid-home .sid-btn-primary{
    height:44px!important;
    min-height:44px!important;
    color:#fff!important;
    background:linear-gradient(157deg,#570000,#d70000)!important;
    border:1px solid rgba(255,128,138,.40)!important;
    box-shadow:0 8px 32px rgba(242,10,42,.42),inset 0 1px 0 rgba(255,255,255,.2)!important;
  }
  body.sid-home .sid-btn-primary svg{width:20px!important;height:20px!important;stroke-width:2.6}
  body.sid-home .sid-btn-ghost{
    height:38px!important;
    min-height:38px!important;
    color:#fff!important;
    border:1px solid rgba(228,230,230,.70)!important;
    background:rgba(3,13,17,.57)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
  }
  body.sid-home .sid-btn-ghost svg{width:20px!important;height:20px!important;stroke-width:1.8}
  body.sid-home .sid-hero-assurance{
    position:absolute;
    z-index:5;
    display:none!important;
    align-items:center;
    top:545px;
    left:8px;
    right:8px;
    height:75px;
    padding:8px 12px 8px 6px;
    border:1px solid rgba(228,230,231,.39);
    border-radius:12px;
    background:linear-gradient(105deg,rgba(19,27,28,.79),rgba(4,13,18,.90) 68%,rgba(24,31,33,.80));
    box-shadow:0 8px 30px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.08);
    color:#fff;
    text-decoration:none!important;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }
  body.sid-home .sid-assurance-emblem{
    width:75px;
    min-width:75px;
    height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1.5px solid #e7ac5c;
    margin-right:13px;
    background:radial-gradient(ellipse at 40% 52%,rgba(255,177,57,.18),transparent 65%);
  }
  body.sid-home .sid-assurance-emblem svg{
    display:block;
    width:63px;
    height:65px;
    stroke:none;
    filter:drop-shadow(0 1px 5px rgba(234,170,74,.40));
  }
  body.sid-home .sid-assurance-content{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
  body.sid-home .sid-assurance-eyebrow{color:#f3b44e;letter-spacing:.065em;font-size:8.1px;font-weight:750;line-height:1.1}
  body.sid-home .sid-assurance-content strong{font-size:11.5px;letter-spacing:-.03em;font-weight:780;line-height:1.18;white-space:nowrap}
  body.sid-home .sid-assurance-content small{font-size:8.7px;color:rgba(255,255,255,.89);white-space:nowrap;line-height:1.2}
  body.sid-home .sid-assurance-arrow{width:20px;height:20px;min-width:20px;margin-left:7px;color:#ebc28b;stroke-width:1.5}
  body.sid-home .sid-hero-features{display:none!important}
}

/* Короткие экраны: сохраняем всю композицию без горизонтальной прокрутки. */
@media(max-width:360px){
  body.sid-home .sid-brand,body.sid-home .sid-brand img{width:145px!important}
  body.sid-home .sid-header .sid-inner-icon-btn,body.sid-home .sid-menu-btn{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important}
  body.sid-home .sid-header-actions{gap:6px!important}
  body.sid-home .sid-hero-assurance{padding-right:8px}
  body.sid-home .sid-assurance-emblem{min-width:63px;width:63px;margin-right:9px}
  body.sid-home .sid-assurance-content strong{font-size:9.7px;line-height:1.1;white-space:normal}
  body.sid-home .sid-assurance-content small{font-size:7.8px}
  body.sid-home .sid-assurance-arrow{margin-left:3px;width:16px;min-width:16px}
}
@media(min-width:701px) and (max-width:980px){
  .sid-heading-mobile,.sid-hero-assurance,.sid-cta-mobile{display:none!important}
}

/* Финальная подгонка мобильной композиции к эталону. */
@media(max-width:700px){
  body.sid-home .sid-header-actions{margin-right:8px!important}
  body.sid-home .sid-hero h1 .sid-heading-middle{
    font-size:.90em;
    letter-spacing:-.055em;
  }
  body.sid-home .sid-hero h1 em{
    font-size:.89em;
    line-height:1;
    background:linear-gradient(180deg,#ffd27b 0%,#f6b447 80%,#e7a035 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
  }
  body.sid-home .sid-hero-actions,body.sid-home .sid-hero-assurance{right:13px}
}

/* Картинка-надпись на главной — только мобильная версия, слева, посередине между логотипом и заголовком */
.sid-home-side{display:none}
@media (max-width:700px){
  body.sid-home .sid-home-side{display:flex;align-items:center;justify-content:flex-start;position:absolute;left:0;top:86px;height:290px;z-index:3;pointer-events:none;isolation:isolate}
  body.sid-home .sid-home-side::before{content:"";position:absolute;z-index:-1;left:-20px;top:-10px;bottom:-10px;width:300px;background:linear-gradient(90deg, rgb(0 0 0 / 51%) 0%, rgba(2, 9, 13, .58) 45%, rgba(2, 9, 13, 0) 100%)}
  body.sid-home .sid-home-side .sid-inner-handwriting{position:relative;display:block;width:190px;max-width:60vw;height:auto;filter:drop-shadow(0 2px 8px rgba(0,0,0,.6))}
}
