/* Scoped, minimal overrides; source layout/palette unchanged. */
.page :focus-visible {outline:2px solid currentColor!important;outline-offset:3px!important;}
.page p,.page h1,.page h2,.page h3,.page li,.page label,.page input,.page textarea,.page .simple-text {user-select:text!important;-webkit-user-select:text!important;}
.page .md-main-color-btn::after {display:none!important;animation:none!important;}
@media(prefers-reduced-motion:reduce){.page .md-main-color-btn::after,.page .progress-bar::after,.page .info-status::before,.page .video-btn::before,.page .video-btn::after{animation:none!important;}}
/* Own wordmark keeps the source logo role; light variant follows source header state. */
.header__logo a img.osnova-logo,.footer__logo a img.osnova-logo{width:10vw;height:auto;min-width:116px;max-width:176px;object-fit:contain;margin:0;}
.header__logo .osnova-logo-light{display:none;}
.header.md-white-header:not(.fixed):not(.open) .header__logo .osnova-logo-dark{display:none;}
.header.md-white-header:not(.fixed):not(.open) .header__logo .osnova-logo-light{display:block;}
.products__item .item-info-block h1.info-title{font-weight:600;}
@media(max-width:768px){.header__logo a img.osnova-logo,.footer__logo a img.osnova-logo{width:36vw;max-width:160px;min-width:110px;}}

/* Local schematic replaces unavailable third-party iframe, same container. */
.contacts__map .map-container .osnova-map{display:block;width:100%;height:100%;object-fit:contain;background:#f5f1e9;}

/* New landing photos retain source dark-hero contrast and geometry. */
body[data-osnova-new-hero] .first__bg::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(10,15,18,.76),rgba(10,15,18,.58)),linear-gradient(180deg,rgba(0,0,0,.35),transparent 35%);}

/* RGB step photos keep their source lower-photo composition; a CSS mask reveals the original card background under upper text. Files remain opaque RGB. */
.work-steps__slide .slide-img[src*="osnova-step-"]{-webkit-mask-image:linear-gradient(to bottom,transparent 42%,#000 60%);mask-image:linear-gradient(to bottom,transparent 42%,#000 60%);}

/* Preserve beige brand backgrounds while giving their text sufficient contrast. */
.page .md-main-color-btn,.page .md-main-color-btn:hover{color:var(--text-main-color);}
.page .md-main-color-btn svg,.page .md-main-color-btn svg path{fill:currentColor;}
.page .promotions__item.md-default-item,.page .promotions__item.md-default-item .md-line-dotted span{color:var(--text-main-color);}
.page .promotions__item.md-default-item .md-line-dotted svg,.page .promotions__item.md-default-item .md-line-dotted svg path{fill:var(--text-main-color);}
