.ms-lead-legacy{font-family:"Segoe UI",Arial,sans-serif!important;color:#243238;font-size:16px;line-height:1.5;text-align:left!important;box-sizing:border-box}.ms-lead-legacy *{box-sizing:border-box}.ms-lead-modal{border-radius:16px!important;background:#fff!important;padding:28px!important}.ms-lead-modal:not(:has(.mortgage-calculator)){width:min(560px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important}.ms-lead-legacy .ms-legacy-call{display:flex!important;flex-direction:column;gap:4px;padding:15px 18px!important;margin:0 0 22px!important;border-radius:9px;background:#f48a16;color:#243238!important;text-decoration:none!important;line-height:1.3!important;position:relative!important;width:100%!important;height:auto!important}.ms-legacy-call span{font-size:12px!important;color:#243238!important}.ms-legacy-call strong{font-size:25px!important;white-space:nowrap;font-weight:700!important}.ms-lead-legacy .ms-field-legacy{display:block!important;margin:0 0 18px!important;padding:0!important;width:100%!important;max-width:100%!important;height:auto!important;float:none!important;background:none!important}.ms-field-legacy:before,.ms-field-legacy:after{display:none!important}.ms-field-legacy>span,.ms-field-legacy>br{display:none!important}.ms-lead-legacy .ms-legacy-label{display:block!important;position:static!important;font:600 14px/1.5 "Segoe UI",Arial,sans-serif!important;color:#243238!important;margin:0 0 7px!important;padding:0!important;width:auto!important;height:auto!important;float:none!important}.ms-lead-legacy .ms-field-legacy input,.ms-lead-legacy .ms-field-legacy textarea{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:13px 14px!important;min-height:52px!important;border:1px solid #a2b4aa!important;border-radius:8px!important;background:#fbfcfb!important;color:#243238!important;font:16px/1.5 "Segoe UI",Arial,sans-serif!important;box-shadow:none!important;scroll-margin:24px 0 110px}.ms-lead-legacy .ms-field-legacy textarea{height:110px!important;min-height:110px!important;resize:vertical}.ms-lead-legacy .ms-field-legacy input:focus,.ms-lead-legacy .ms-field-legacy textarea:focus{outline:2px solid #234e43!important;outline-offset:2px;background:#fff!important}.ms-lead-legacy input[type=submit],.ms-lead-legacy button[type=submit]{display:block!important;max-width:100%!important;width:100%!important;min-height:54px!important;height:auto!important;padding:13px 18px!important;margin:8px 0!important;border:1px solid #234e43!important;border-radius:8px!important;background:#234e43!important;color:white!important;font:600 16px/1.5 "Segoe UI",Arial,sans-serif!important;white-space:normal!important;cursor:pointer}.ms-lead-legacy input[type=submit]:hover{background:#153d32!important}.ms-lead-legacy [id=inp_btn],.ms-lead-legacy .bg-form__button-wrap{float:none!important;width:100%!important;height:auto!important;margin:14px 0 0!important;padding:0!important}.ms-lead-legacy .bg-form__wrap{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;margin:0!important;padding:0!important}.ms-lead-legacy .g-recaptcha{margin:14px 0}.ms-lead-legacy [class*="right-title"]{font:400 15px/1.5 "Segoe UI",Arial,sans-serif!important;margin:0 0 20px!important;padding:0!important;color:#59666a!important}.ms-lead-modal .safe1{display:block;margin:16px 0 0!important;font:12px/1.5 "Segoe UI",Arial,sans-serif!important}.ms-lead-legacy input[type=checkbox]{accent-color:#234e43;min-width:18px;min-height:18px}.ms-lead-legacy .form-wrap__policy{font-size:13px;line-height:1.5;margin:16px 0}.ms-lead-legacy a:focus-visible,.ms-lead-legacy button:focus-visible,.ms-lead-legacy input:focus-visible,.legacy-contact a:focus-visible{outline:3px solid #a95000!important;outline-offset:3px}.legacy-contact{position:fixed;bottom:18px;right:20px;z-index:90;display:flex;align-items:stretch;gap:10px;background:#fff;padding:10px;border:1px solid #dbe2df;border-radius:12px;box-shadow:0 5px 22px #24323826;font:16px/1.3 "Segoe UI",Arial,sans-serif}.legacy-contact a{display:flex;justify-content:center;flex-direction:column;text-decoration:none!important;border-radius:8px;padding:10px 16px;min-height:56px}.legacy-contact-phone{background:#f48a16;color:#243238!important}.legacy-contact-phone span{font-size:11px;margin-bottom:4px}.legacy-contact-phone strong{font-size:19px;white-space:nowrap}.legacy-contact .legacy-contact-request{background:#234e43;color:white!important;font-weight:600;font-size:14px}
@media(max-width:680px){.legacy-contact{left:0;right:0;bottom:0;border-radius:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));gap:8px}.legacy-contact-phone{flex:1;padding:8px 12px!important}.legacy-contact-phone strong{font-size:17px}.legacy-contact-request{padding:10px 14px!important}.ms-lead-modal{padding:24px 18px!important}.ms-legacy-call strong{font-size:23px!important}.ms-lead-legacy .ms-legacy-call{padding:14px!important}body:has(.legacy-contact){padding-bottom:90px}.msv-open .legacy-contact{visibility:hidden}}
.ms-lead-modal.modal{position:relative!important;left:auto!important;top:auto!important;transform:none!important;vertical-align:middle;margin:20px auto!important;max-height:calc(100dvh - 48px);overflow-y:auto!important;box-sizing:border-box}.ms-lead-modal.modal a.close-modal{top:8px;right:8px;z-index:2}.ms-lead-legacy input[type=submit]{text-transform:none!important}
#zayavka__modal.ms-lead-modal input,#zayavka__modal.ms-lead-modal textarea,#prj_kompl__modal.ms-lead-modal input,#prj_catalog__modal.ms-lead-modal input,#prj_base__modal.ms-lead-modal input{width:100%!important;max-width:100%!important}
.legacy-contact{z-index:10000}#cookie-banner{bottom:90px!important}.blocker:has(.ms-lead-modal){z-index:10010!important}.ms-lead-modal .ms-legacy-call{position:sticky!important;top:0;z-index:1}
.blocker:has(.ms-lead-modal){display:flex!important;align-items:center;justify-content:center;padding:24px 16px!important}.blocker:has(.ms-lead-modal):before{display:none!important}.blocker .ms-lead-modal.modal{margin:0!important;flex:0 1 auto}
