    /* === Плавная прокрутка === */
    html {
        scroll-behavior: smooth;
    }

    .logo-yandex-container {
        cursor: pointer;
    }

    /* === Кнопка заявки с выпадающим меню соцсетей === */
    .main-menu.new a {
        display: inline-table;
    }

    .call-wrapper {
        position: relative;
        float: right;
    }

    header .call-wrapper .call.btn {
        z-index: 102;
    }

    .btns-socials {
        position: absolute;
        top: -6px;
        right: -6px;
        display: flex;
        flex-direction: column;
        background-color: transparent;
        padding: 6px;
        width: max-content;
        /*transform: translateY(100%);*/
        pointer-events: none;
        opacity: 0;
        z-index: 101;
        border-radius: 5px;
        transition: opacity 0.3s;
    }

    .btns-socials::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 0;
        background-color: white;
        width: 100%;
        height: calc(100% + 8px);
        border-radius: 5px;
        box-shadow: 1px 1px 1px 1px #ddd;
    }

    .btns-socials .btn {
        display: flex;
        align-items: center;
        font-size: 1.28571429rem;
        line-height: 1.42857143rem;
        padding: 16px;
        min-width: 298px;
        height: 56px;
        border: 2px solid #fff;
        background: #1dc04b;
        color: #fff;
        z-index: 1;
        transition: background .4s ease 0s;
    }

    .btns-socials .btn.max {
        background: #0077FF;
    }

    .btns-socials .btn.max:hover {
        background: #93d;
    }

    .btns-socials .btn.telegram {
        background: #0077FF;
    }

    .btns-socials .btn.telegram:hover {
        background: #2AABEE;
    }

    .btns-socials .btn.vkontakte {
        background: #0077FF;
    }

    .btns-socials .btn.vkontakte:hover {
        background: #00f;
    }

    .btns-socials .btn+.btn {
        margin-top: 6px;
    }

    .btns-socials .btn svg,
    .btns-socials .btn img {
        flex-shrink: 0;
        margin-right: 10px;
        width: 31px;
        height: 31px;
    }

    /* Дубль кнопки - скрыт по умолчанию */
    .btns-socials .call-bottom.btn {
        display: none;
    }

    /* Десктоп > 1040px: при ховере показываем дубль внизу, прячем оригинал */
    @media (min-width: 1041px) {
        .call-wrapper:hover .btns-socials {
            pointer-events: unset;
            opacity: 1;
        }

        .call-wrapper:hover > .call.btn {
            position: relative;
            z-index: 0;
        }

        .call-wrapper:hover .btns-socials .call-bottom.btn {
            display: block;
            background: #1dc04b;
            color: #fff;
            text-shadow: 0 1px 0 #18a23f;
            box-shadow: 0 0 0 1px #ddd, inset 0 -3px 0 #18a23f;
            padding: 16px 45px 16px 85px;
            text-align: left;
            position: relative;
        }

        .call-wrapper:hover .btns-socials .call-bottom.btn:after {
            content: '';
            width: 31px;
            height: 31px;
            position: absolute;
            left: 40px;
            top: 10px;
            background: url(/templates/img/sprite.png) -13px 0;
        }

        .call-wrapper:hover .btns-socials .call-bottom.btn:hover {
            background: #18a23f;
        }
    }

    /* Планшет и мобильный ≤ 1040px: старый триггер, дубль скрыт */
    @media (max-width: 1040px) {
        .call.btn:hover ~ .btns-socials,
        .btns-socials:hover {
            pointer-events: unset;
            opacity: 1;
        }

        .btns-socials .call-bottom.btn {
            display: none !important;
        }
    }

    @media (max-width: 1300px) {
        .btns-socials .btn {
            width: 200px;
            min-width: 200px;
        }
    }

    @media (min-width: 767px) and (max-width: 1040px) {
        .btns-socials .btn {
            padding: 3px 7px;
            width: 200px;
            height: 36px;
            min-width: 200px;
            font-size: 14px;
            line-height: 1.2;
            text-transform: unset;
            border: unset;
        }

        .btns-socials .btn svg {
            width: 20px;
            height: 20px;
        }
    }

    @media (max-width: 767px) {
        .logo-img-container {
            width: 160px;
        }

        header .logo-container .logo-yandex-container {
            margin-left: -10px;
            margin-right: -10px;
            height: 60px;
            width: 100%;
        }

        header .logo-container .logo-yandex-container iframe,
        header .logo-container .logo-yandex-container img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: left;
        }

        .RatingBadgeWidget {
            width: 100% !important;
            height: 100% !important;
        }

        header .call-wrapper {
            float: unset;
            width: 100%;
        }

        header .btns {
            padding-top: 0;
        }

        header .btns-socials {
            position: relative;
            top: unset;
            right: unset;
            width: 100%;
            opacity: 1;
            pointer-events: unset;
            background-color: transparent;
            padding: 0;
            box-shadow: unset;
            transform: unset;
        }

        header .btns-socials::before {
            content: unset;
        }

        header .btns-socials .btn {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 5px;
            padding: 3px 7px;
            width: 100%;
            height: auto;
            min-width: unset;
            text-transform: none;
            text-align: center;
            font-size: 12px;
            line-height: 2.2;
            border: unset;
            box-shadow: unset !important;
            text-shadow: unset !important;
            white-space: nowrap;
        }

        header .btns-socials .btn+.btn {
            margin-top: 5px;
        }

        header .btns-socials .btn svg,
        header .btns-socials .btn img {
            width: 20px;
            height: 20px;
            margin-right: 5px;
            flex-shrink: 0;
        }

        header .btns-socials .btn.max {
            background: #ff8100;
        }

        header .btns-socials .btn.telegram {
            background: #ff8100;
        }

        header .btns-socials .btn.vkontakte {
            display: none;
        }

        header .addr>div {
            font-size: 5vw !important;
        }
    }

    @media(max-width: 575px) {
        header .logo-container .logo-yandex-container {
            width: 175px;
        }

        header .btns {
            margin-bottom: 0;
            margin-right: -5px;
            max-width: calc((100% - 5%) / 2);
        }

        header .phone .time sup {
            top: -1em;
            font-size: 7px;
        }
    }

    @media screen and (max-width: 374px) {
        header .logo-img-container {
            width: 45vw;
        }

        header .logo-container .logo-yandex-container {
            height: 20vw;
            width: 54vw;
            margin-bottom: -5px;
            margin-top: -5px;
            mix-blend-mode: darken;
        }
    }

    @media screen and (max-width: 340px) {
        header .btns-socials .btn {
            padding: 3px;
        }

        header .btns-socials .btn svg,
        header .btns-socials .btn img {
            display: none;
        }
    }

    /* === Стили модального окна формы заявки === */
    .modal-content {
        display: grid !important;
        grid-template-columns: 1fr 1.5fr;
    }

    .modal-form-description {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
    }

    .modal-form-description__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .modal-footnote {
        position: absolute;
        bottom: 30px;
        left: 30px;
        margin-top: auto;
        font-weight: 600;
        font-size: 12px;
        line-height: 1.4;
        color: #000;
    }

    .modal-content .modal-body {
        padding: 30px;
    }

    .modal-content input[type=tel],
    .modal-content textarea {
        width: 100%;
        max-width: 100%;
        padding: 13px;
    }

    .modal-content input[type=text],
    .modal-content textarea {
        padding: 13px;
        width: 100%;
    }

    .modal-content textarea {
        resize: none;
    }

    .modal-content input[type=checkbox] {
        margin: 0 !important;
        flex-shrink: 0;
        width: 16px !important;
        height: 16px;
        border-color: #e6e6e6;
    }

    .modal-content input[type=checkbox]~label {
        text-align: left;
        margin-left: 8px;
        font-size: 10px;
        line-height: 1.3;
    }

    .modal-content .ajax-contact-form {
        display: flex;
        flex-direction: column;
    }

    .modal-content .ajax-contact-form .form-group {
        width: 100%;
        text-align: left;
    }

    .btnClaim {
        z-index: 100;
    }

    .close {
        position: relative;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 0;
        padding: 0;
    }

    .close::before,
    .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 1px;
        background-color: #333;
    }

    .close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    @media (max-width: 575px) {
        .modal-content {
            grid-template-columns: 1fr;
        }

        .modal-form-description {
            display: none;
        }

        .modal-content .ajax-contact-form .form-group {
            width: 100%;
        }

        .modal-content .ajax-contact-form .form-group input,
        .modal-content .ajax-contact-form .form-group textarea {
            width: 100%;
            max-width: 100%;
        }
    }