@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;700;800;900&display=swap");
:root{--blue:#0089D1;--deep:#0065a8;--sky:#219EE6;--ink:#151A21;--coal:#333333;--muted:#596675;--marble:#DEE5ED;--soft:#F5F9FD;--line:#DCE8F3;--white:#fff;--shadow:0 16px 40px rgba(33,70,100,.10);--radius:12px;--wrap:1380px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Golos Text",Arial,sans-serif;background:#f3f7fb;color:var(--ink);font-size:16px}a{color:inherit}.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 40px}.topline{height:48px;background:#edf4fa;border-bottom:1px solid var(--line);font-size:15px;color:#394653}.topline .wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.topline__right{display:flex;align-items:center;gap:18px}.topline__item{display:inline-flex;align-items:center;gap:8px;font-weight:600;text-decoration:none}.topline a{font-weight:800}.sep{width:1px;height:24px;background:#c8d7e6}.top{background:#fff;border-bottom:3px solid var(--blue);position:sticky;top:0;z-index:60;box-shadow:0 8px 26px rgba(25,45,65,.05)}.nav{height:96px;display:flex;align-items:center;justify-content:space-between;gap:34px}.brand{display:block;width:270px;height:76px;background:url('/assets/logo-kvadr-crop.png') left center/contain no-repeat;text-decoration:none;font-size:0;color:transparent;flex:0 0 auto}.brand #logo,.brand b,.brand small{display:none!important}nav{display:flex;align-items:stretch;justify-content:flex-end;gap:0;flex:1;height:100%}nav a{position:relative;display:flex;align-items:center;text-decoration:none;font-weight:700;font-size:16px;padding:0 18px;white-space:nowrap;color:#151A21}nav a:after{content:"";position:absolute;left:18px;right:18px;bottom:-3px;height:5px;border-radius:5px 5px 0 0;background:var(--blue);transform:scaleX(0);transition:.18s}nav a:hover,nav a.active{color:var(--blue)}nav a:hover:after,nav a.active:after{transform:scaleX(1)}.burger{display:none;border:0;background:transparent;width:48px;height:48px;position:relative}.burger:before,.burger:after,.burger span{content:"";position:absolute;left:9px;right:9px;height:3px;border-radius:4px;background:#111}.burger:before{top:14px}.burger span{top:23px}.burger:after{top:32px}.menu .burger:before{transform:rotate(45deg);top:23px}.menu .burger:after{transform:rotate(-45deg);top:23px}.menu .burger span{opacity:0}.heroLike{background:#fff;overflow:hidden}.heroLikeGrid{min-height:520px;display:grid;grid-template-columns:33% 67%;align-items:stretch}.heroCopy{padding:72px 0 42px;z-index:3}.heroCopy h1{font-size:60px;line-height:1.07;letter-spacing:-.045em;margin:0 0 24px;font-weight:900}.heroCopy h1 span{color:var(--blue)}.heroCopy p{font-size:18px;line-height:1.62;max-width:430px;margin:0 0 34px;color:#202832}.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:0;text-decoration:none;border-radius:6px;padding:18px 28px;font-weight:900;box-shadow:0 10px 22px rgba(0,137,209,.18)}.btn:after{content:"→";font-size:24px;line-height:1}.btn.blue{background:var(--blue);color:#fff}.btn:hover{filter:brightness(.96)}.dots{display:flex;gap:16px;margin-top:54px}.dots span{width:13px;height:13px;border-radius:50%;background:#cfd9e2}.dots span:first-child{background:var(--blue)}.heroVisual{position:relative;min-height:520px;background:linear-gradient(110deg,#f7fbff 0%,#eaf6ff 54%,#bfe6ff 100%);overflow:hidden}.watermark{position:absolute;left:5%;top:1%;width:76%;height:112%;opacity:.38;background:url('/assets/logo-kvadr-crop.png') center/contain no-repeat;filter:grayscale(1) brightness(1.7) saturate(0);transform:scale(1.4)}.buildings{position:absolute;right:-10px;bottom:0;width:76%;height:95%}.b{position:absolute;bottom:0;border:1px solid rgba(25,45,65,.18);background:linear-gradient(90deg,#f2f6fa 0,#fff 46%,#d8e5ef 100%);box-shadow:-24px 0 55px rgba(0,45,80,.14)}.b:before{content:"";position:absolute;inset:22px 18px;background:repeating-linear-gradient(90deg,transparent 0 32px,rgba(0,96,150,.70) 32px 48px,transparent 48px 72px),repeating-linear-gradient(0deg,transparent 0 45px,rgba(20,40,55,.13) 45px 48px);opacity:.95}.b1{right:0;width:290px;height:450px;border-radius:8px 38px 0 0}.b2{right:260px;width:220px;height:315px;border-radius:8px 22px 0 0}.b3{right:450px;width:170px;height:235px;border-radius:6px 20px 0 0}.servicesLike{background:#f2f8fd;padding:0 0 42px}.serviceSplit{display:grid;grid-template-columns:280px 1fr;gap:52px;align-items:center;padding-top:34px}.sectionTag{font-size:14px;color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:.03em;margin:0 0 14px}.serviceText h2,h2{font-size:34px;line-height:1.12;letter-spacing:-.03em;margin:0 0 16px}.serviceText p{color:#26313c;line-height:1.58;margin:0 0 24px}.serviceCards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.serviceCard{min-height:205px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;text-align:center;padding:25px}.serviceCard b{font-size:18px;margin-top:18px}.serviceCard em{font-style:normal;color:var(--blue);font-size:28px;margin-top:12px}.lineIcon{width:62px;height:62px;display:block;position:relative}.lineIcon:before,.lineIcon:after{content:"";position:absolute;border:4px solid var(--blue)}.leaf:before{width:35px;height:52px;border-radius:55% 10% 55% 10%;transform:rotate(35deg);left:13px;top:2px}.leaf:after{border-width:0 0 4px 0;width:56px;transform:rotate(-45deg);left:4px;top:33px}.heat:before{width:22px;height:44px;border-radius:20px;left:14px;top:4px}.heat:after{width:30px;height:22px;border-width:4px 0 0 0;border-radius:50%;right:0;top:20px}.wrench:before{width:40px;height:14px;border-width:4px 4px 4px 0;border-radius:20px;transform:rotate(-45deg);left:10px;top:18px}.wrench:after{width:36px;height:0;border-width:0 0 4px 0;transform:rotate(-45deg);left:12px;top:40px}.clean:before{width:10px;height:52px;border-width:0 4px 0 0;transform:rotate(12deg);left:34px;top:0}.clean:after{width:44px;height:18px;border-radius:4px 4px 12px 12px;left:6px;bottom:0}.section{padding:56px 0}.sectionHead{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.sectionHead p,.card p,.row p,.panel p{color:var(--muted);line-height:1.55}.moreLink{color:var(--blue);font-weight:900;text-decoration:none}.blueTitle{background:linear-gradient(135deg,var(--blue),#006eb5);color:#fff;border-radius:10px 10px 0 0;padding:28px 34px;display:flex;justify-content:space-between;align-items:center}.blueTitle h2{color:#fff;margin:0}.blueTitle a{font-weight:900;text-decoration:none}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card,.panel,.row,.tile{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:10px;padding:24px;min-width:0}.card .meta,.row .meta{font-size:13px;color:#758292;margin-bottom:8px;font-weight:600}.card h3,.row h3{font-size:20px;line-height:1.25;margin:0 0 10px;color:#111A25}.houseGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.houseCard{display:grid;grid-template-columns:64px 1fr;gap:18px}.icon{width:64px;height:64px;border-radius:50%;background:#EAF2FA;color:var(--blue);display:grid;place-items:center;font-size:28px;font-weight:900}.file,.cardLink{font-weight:900;color:var(--blue);text-decoration:none;display:inline-flex;gap:9px;align-items:center;margin-top:10px}.pageHero{background:linear-gradient(110deg,#0065a8 0 48%,#0089D1 48% 100%);color:#fff;padding:58px 0;position:relative;overflow:hidden}.pageHero h1{font-size:50px;margin:10px 0 0;color:#fff}.crumbs{font-size:14px;font-weight:900;opacity:.9}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.search{width:100%;max-width:460px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px 18px;font:inherit}.filters{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid var(--line);background:#fff;padding:11px 15px;border-radius:8px;font-weight:800;cursor:pointer}.chip.active,.chip:hover{background:var(--blue);color:#fff;border-color:var(--blue)}.list{display:grid;gap:14px}.row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.contactGrid{display:grid;grid-template-columns:.85fr 1.15fr;gap:18px}.empty{border:1px dashed #C8D6E4;border-radius:10px;padding:24px;color:var(--muted);background:#fff}.footerCta{background:#fff;border-top:1px solid var(--line);padding:42px 0}.footerCta .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px}footer{background:#25282C;color:#fff;padding:30px 0}.adminLink{color:#cfeeff}.adminLink:hover{color:#fff}
@media(max-width:1180px){.wrap{padding:0 26px}.brand{width:245px}nav a{font-size:15px;padding:0 11px}.heroCopy h1{font-size:52px}.b1{width:245px}.b2{right:220px}.b3{right:390px}.serviceSplit{grid-template-columns:1fr}.serviceCards{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.wrap{padding:0 18px}.topline{height:auto}.topline .wrap{display:grid;grid-template-columns:1fr;gap:8px;padding-top:10px;padding-bottom:10px}.topline__right{justify-content:space-between;gap:10px}.adminTop{font-size:13px}.nav{height:82px}.brand{width:218px;height:64px}.burger{display:block;z-index:70}nav{position:fixed;right:0;top:0;bottom:0;width:min(86vw,360px);height:auto;background:#fff;display:flex;flex-direction:column;padding:106px 24px 28px;box-shadow:-18px 0 45px rgba(0,0,0,.16);transform:translateX(110%);transition:.25s;z-index:65}body.menu nav{transform:none}nav a{height:auto;padding:16px 6px;border-bottom:1px solid var(--line)}nav a:after{display:none}.heroLikeGrid{grid-template-columns:1fr;min-height:auto}.heroCopy{padding:38px 0 0}.heroCopy h1{font-size:44px}.heroCopy p{font-size:16px}.heroVisual{min-height:230px;margin:20px -18px 0}.watermark{left:14%;top:-16%;width:80%;height:130%}.buildings{right:-90px;width:520px;height:230px}.b1{width:150px;height:220px}.b2{right:140px;width:125px;height:160px}.b3{right:245px;width:105px;height:120px}.servicesLike{padding-top:28px}.serviceSplit{gap:24px}.serviceCards{grid-template-columns:repeat(2,1fr)}.sectionHead,.footerCta .wrap,.blueTitle,.toolbar{display:block}.sectionHead .moreLink,.footerCta .btn,.blueTitle a{display:inline-flex;margin-top:16px}.cards,.houseGrid,.contactGrid{grid-template-columns:1fr}.row{display:block}.search{max-width:none;margin-bottom:12px}}
@media(max-width:520px){body{font-size:15px}.brand{width:190px}.nav{height:76px}.topline__right{display:grid;grid-template-columns:1fr 1fr}.sep{display:none}.heroCopy h1{font-size:38px}.btn{width:100%;padding:15px 18px}.dots{margin-top:28px}.serviceCard{min-height:160px}.serviceCards{gap:10px}.serviceText h2,h2{font-size:28px}.section{padding:42px 0}.card,.panel,.row{padding:20px}.blueTitle{padding:24px}.topline__item{font-size:12px}.heroVisual{min-height:210px}.buildings{right:-150px}.watermark{transform:scale(1.3)}}

/* Final raster-image visual pass */
.brand{background-image:url('/assets/logo-kvadr-crop.png')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:left center!important;width:300px!important;height:82px!important}
.heroVisual{background:#eaf6ff!important;position:relative;overflow:hidden}
.heroWatermarkImg{position:absolute;left:3%;top:-5%;width:78%;height:auto;opacity:.72;object-fit:contain;z-index:1}
.heroBuildingsImg{position:absolute;right:-2%;bottom:0;width:83%;height:100%;object-fit:contain;object-position:right bottom;z-index:2}
.watermark,.buildings,.b,.b:before,.lineIcon{display:none!important}
.serviceIconImg{width:76px;height:76px;object-fit:contain;display:block;margin:0 auto 18px}
.serviceCard b{margin-top:0!important}
.card{overflow:hidden}
.cardImg{display:block;width:calc(100% + 48px);height:175px;object-fit:cover;margin:-24px -24px 18px;border-bottom:1px solid var(--line)}
.houseCard .icon{background:#EAF2FA url('/assets/icon-house.png') center/42px 42px no-repeat;color:transparent;font-size:0}
.topline__item::first-letter{color:var(--blue)}
@media(max-width:900px){.brand{width:238px!important;height:64px!important}.heroVisual{min-height:260px!important;margin:20px -18px 0!important}.heroWatermarkImg{left:18%;top:-18%;width:90%;opacity:.62}.heroBuildingsImg{right:-18%;width:96%;height:105%}.serviceIconImg{width:64px;height:64px}.cardImg{height:155px}}
@media(max-width:520px){.brand{width:206px!important;height:56px!important}.heroVisual{min-height:235px!important}.heroBuildingsImg{right:-32%;width:115%}.heroWatermarkImg{width:110%;left:5%;top:-8%}.cardImg{height:140px}}

/* FIX: real raster layout, no drifting hero image, no circle placeholders */
.heroLike{background:#fff;border-bottom:0;}
.heroLikeGrid{min-height:520px;display:grid;grid-template-columns:38% 62%;align-items:stretch;max-width:1380px;}
.heroCopy{padding:72px 0 42px;display:flex;flex-direction:column;justify-content:center;}
.heroVisual{min-height:520px!important;background:#eaf6ff!important;overflow:hidden;margin:0!important;}
.heroWatermarkImg{display:none!important;}
.heroBuildingsImg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center bottom!important;z-index:2!important;}
.serviceIconImg{width:104px!important;height:104px!important;object-fit:contain!important;margin:0 auto 18px!important;display:block!important;}
.serviceCard{background:#fff!important;}
.serviceCard b{font-size:18px!important;margin-top:0!important;color:#101820!important;}
.serviceCard em{color:var(--blue)!important;}

@media(max-width:1180px){
  .heroLikeGrid{grid-template-columns:40% 60%;}
  .heroCopy h1{font-size:52px;}
}
@media(max-width:900px){
  .heroLikeGrid{grid-template-columns:1fr;}
  .heroCopy{padding:38px 0 0;}
  .heroVisual{min-height:300px!important;margin:22px -18px 0!important;}
  .heroBuildingsImg{object-position:center bottom!important;}
  .serviceIconImg{width:82px!important;height:82px!important;}
}
@media(max-width:520px){
  .heroVisual{min-height:260px!important;}
  .heroBuildingsImg{object-position:58% bottom!important;}
  .serviceIconImg{width:74px!important;height:74px!important;}
}

/* FIX 2: одинаковое меню на главной и внутренних страницах + нормальные отступы hero */
nav a{font-size:15px;padding:0 10px;}
.heroLikeGrid{min-height:590px!important;}
.heroCopy{padding:78px 0 72px!important;align-items:flex-start;justify-content:center!important;}
.heroCopy .btn{min-width:224px;height:58px;padding:0 24px;margin:0 0 8px 0;border-radius:7px;}
.heroCopy .dots{margin-top:38px!important;margin-bottom:0!important;}
.heroVisual{min-height:590px!important;}
.servicesLike{padding-top:24px!important;}
.serviceSplit{padding-top:18px!important;}
.serviceCard{min-height:220px!important;}
.serviceIconImg{width:96px!important;height:96px!important;}
@media(max-width:1260px){nav a{font-size:14px;padding:0 7px;}.brand{width:260px!important;}}
@media(max-width:1100px){.nav{gap:18px;}nav a{font-size:13px;padding:0 6px;}.brand{width:230px!important;}}
@media(max-width:900px){nav a{font-size:16px;padding:16px 6px;}.heroLikeGrid{min-height:auto!important;}.heroCopy{padding:42px 0 24px!important;}.heroCopy .btn{width:auto;min-width:210px;margin-bottom:0;}.heroCopy .dots{margin-top:28px!important;}.heroVisual{min-height:320px!important;margin:0 -18px!important;}.servicesLike{padding-top:28px!important;}.serviceSplit{padding-top:10px!important;}}
@media(max-width:520px){.heroCopy .btn{width:100%;}.heroVisual{min-height:270px!important;}.serviceCard{min-height:170px!important;}.serviceIconImg{width:72px!important;height:72px!important;}}

/* Admin-controlled backgrounds for news, announcements and memos */
.themedCard{background-repeat:no-repeat;background-size:cover;background-position:center;transition:.18s ease}
.themedCard[style*="background-image"]{position:relative;overflow:hidden}
.themedCard[style*="background-image"] .cardImg{display:none}
.themedCard[style*="background-image"] .meta,
.themedCard[style*="background-image"] h3,
.themedCard[style*="background-image"] p{position:relative;z-index:1}
.themedCard[style*="background-image"] .file{position:relative;z-index:1;background:#fff;padding:8px 12px;border-radius:8px}

/* Final fixes: no fake slider dots, safer hero spacing, public admin links removed */
.heroCopy{padding-bottom:76px!important;}
.heroCopy .btn{margin-top:4px!important;}
.heroCopy .dots,.adminTop,.adminLink{display:none!important;}
.topline__right{gap:0!important;}
@media(max-width:900px){.heroCopy{padding-bottom:34px!important}.heroCopy .btn{margin-bottom:8px!important}}
