/* Preserve the live consent choices within the approved homepage typography. */
.cookie-consent{position:fixed;z-index:1200;right:18px;bottom:18px;left:18px;width:min(1120px,calc(100% - 36px));margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;padding:18px 20px;border:1px solid #d8e4da;border-radius:16px;background:#fff;box-shadow:0 18px 50px #08180d38;color:#191919}
.cookie-consent__copy{min-width:0}.cookie-consent__copy strong{display:block;margin-bottom:5px;font-size:18px}.cookie-consent__copy p{max-width:720px;margin:0;color:#4d5950;font-size:14px;line-height:1.5}.cookie-consent__copy a{color:#08782a;font-weight:800}.cookie-consent__actions{display:flex;align-items:center;gap:10px}.cookie-consent__actions .button{min-height:46px;padding:11px 17px;white-space:nowrap}.cookie-consent__essential{border:1px solid #9aa79d;background:#fff;color:#17341f}.cookie-consent__essential:hover{background:#f1fbf4}
@media(max-width:800px){.cookie-consent{grid-template-columns:1fr;gap:14px}.cookie-consent__actions{justify-content:flex-start}}
@media(max-width:480px){.cookie-consent{right:10px;bottom:10px;left:10px;width:calc(100% - 20px);gap:12px;padding:15px;border-radius:13px}.cookie-consent__copy strong{font-size:17px}.cookie-consent__copy p{font-size:13px}.cookie-consent__actions{display:grid;grid-template-columns:1fr 1fr}.cookie-consent__actions .button{width:100%;min-height:44px;white-space:normal}}

/* Keep the navigation separate from the CTA on narrower desktop screens. */
@media(min-width:761px) and (max-width:1399px){.header__main{grid-template-columns:150px minmax(0,1fr) 170px;gap:0 18px}.header .brand{width:150px}.header__cta{grid-column:2;justify-self:end;margin-right:12px}.reference-nav{grid-column:1/3;grid-row:2;justify-content:flex-start;gap:19px}.header__contacts{grid-column:3}.header__promise{grid-column:3;grid-row:2;justify-content:flex-end;gap:0}.header__promise>strong{display:none}.header__badges{grid-column:1/-1;grid-row:3;font-size:11px;justify-content:flex-start}.theme-toggle{grid-column:3;grid-row:3}}

html[data-ui-theme=dark] :is(.op-work__close,.letter-dialog__header button[aria-label="Закрыть письмо"]){background:#354038!important;color:#f0f3ef!important}

/* Owner screenshot17Oct: reduce the desktop hero without changing its copy or actions. */
.home-hero .home-hero__services-link span{display:none!important}
@media(min-width:1001px){
 .home-hero .home-hero__grid{min-height:460px;padding-block:30px 24px}
 .home-hero .home-hero__copy>.eyebrow{font-size:13px;margin-bottom:12px}
 .home-hero h1{font-size:clamp(38px,3.6vw,48px);line-height:1.06;margin-bottom:16px}
 .home-hero .lead{font-size:20px;line-height:1.35;margin-bottom:18px}
 .home-hero .actions .button,.home-hero .actions a[href^='tel:']{min-height:46px;padding-block:11px}
 .home-hero .home-hero__offer ul{margin-block:14px 16px}
 .home-hero .home-hero__offer>strong{font-size:26px}
 .home-hero .home-hero__services-link{margin-top:6px;min-height:32px}
}
