.header {
    padding: 15px 0px;
}

.header_row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
    width: 100%;
    margin: 0;
}

.header_menu_contacts {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: 20px;
    width: 100%;
    max-width: max-content;
}

.header .phonelink {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.5px;
}

.header .phonelink_first {
    margin-left: 5px;
    border-right: 1px solid #E4C8AD;
    padding-right: 14px;

}

.header_menu_contacts svg {
    min-width: 20px;
    height: 20px;
}

.header_menu_block {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.header_email {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 300;
    line-height: 120%;
    color: #ffffff;
}

.header_socials {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header_socials_link a {
    font-size: 12px;
    font-weight: 300;
    color: #ffffff;
    line-height: 120%;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header_socials_first {
    border-right: 1px solid #E4C8AD;
    padding-right: 9px;
}

.mobile_contacts .phonelink {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0;
}

.mobile_contacts .phonelink a {
    display: flex;
    margin: 0;
}

.immComm .phonelink {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 18px 0px;
}

.immComm .messengerlink a {
    font-size: 12px;
    max-width: max-content;
    width: 86px;
    height: 24px;
    background-position: 0 50%;
    background-size: 26px;
    background-repeat: no-repeat;
    padding-left: 30px;
    margin: 0;
    display: flex;
    align-items: center;
}

.immComm_block {
    width: 100%;
    margin-top: 32px;
    height: 42px;
    background: #D9D9D9;
}

/* footer */

.footer {
    padding: 80px 0;
}

.footer_change {
    justify-content: space-between;
}

.footer .main_menu {
    padding: 0px;
}

.footer_menu_block {
    display: flex;
    gap: 24px 22px;
    max-width: max-content;
}

.footer .menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.footer .menu li,
.footer .menu li a {
    line-height: 1;
    margin: 0;
    min-width: max-content;
}

.footer_row {
    justify-content: space-between;
}

.footer_wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}

.main_menu_contacts {
    display: flex;
    align-items: center;
    gap: 9px;
}

.main_menu_contacts a {
    font-size: 14px;
    line-height: 120%;
    font-weight: 500;
    letter-spacing: 0.5px;
    max-height: 14px;
}

.main_menu_contacts a:first-of-type {
    padding-right: 14px;
    margin-right: 5px;
    border-right: 1px solid #E4C8AD;
}

.footer_phonelink {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer_messenger a {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer_messenger:first-of-type a {
    padding-right: 12px;
    margin-right: 6px;
    border-right: 1px solid #E4C8AD;
}

.footer_contacts {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer_contacts a svg {
    min-width: 14px;
}

.footer_contacts a:first-of-type {
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
}

.footer_contacts a {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

@media (max-width: 575px) {
    .immComm_block {
        display: none;
    }

    /* footer */

    .footer {
        padding: 30px 0 25px 0;
    }

    .footer .footer_change {
        margin: 0;
        gap: 25px;
    }

    .footer_logo {
        margin-bottom: 10px;
    }

    .footer_logo img {
        margin: 0;
    }

    .footer_menu_block {
        flex-direction: column;
        padding: 0;
    }

    .footer .menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    .footer .menu li,
    .footer .menu li a {
        font-weight: 500;
        line-height: 1;
        margin: 0;
        min-width: max-content;
    }

    .footer_wrap {
        gap: 20px;
    }

    .footer .main_menu_contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .main_menu_contacts svg {
        display: none;
    }

    .main_menu_contacts a {
        max-height: auto;
    }

    .main_menu_contacts a:first-of-type {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
    }

    .footer_phonelink {
        gap: 34px;
    }

    .footer_messenger svg {
        width: 40px;
        height: 40px;
    }

    .footer_messenger svg path {
        fill: #BB9775;
    }

    .footer .footer_messenger a {
        padding-right: 0;
        width: 46px;
        height: 40px;
        margin-right: 0;
        border-right: none;
        font-size: 0;
    }

    .footer_contacts {
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 0;
    }

    .footer_contacts svg {
        width: 40px;
        height: 28px;
    }

    .footer_contacts a:first-of-type {
        font-size: 18px;
        font-weight: 400;
        line-height: 1;
    }

    .footer_contacts a {
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        font-size: 14px;
        font-weight: 300;
    }
}