.contact_wrap {
    display: flex;
    justify-content: end;
}

.mobile .contact_wrap {
    flex-direction: column;
}

.contact_rows {
    margin-right: 120px;
    padding-left: 50px;
}

.mobile .contact_rows {
    margin-right: 0;
    padding: 0 10px;
}

.contact_rows .contact_row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}


.messanger {
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    user-select: none;
}

.messanger .footer_social, .messanger .footer_tel {
    margin-bottom: 6px;
}

.messanger .footer_social:not(:last-child),
.messanger .footer_tel:not(:last-child) {
    margin-right: 6px;
}

.contact {
    margin-bottom: -30px;
}

.contact,
.contact a,
.contact address {
    color: #000;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.32px;
    font-style: normal !important;
    transition: 0.2s;
}

.contact a:hover {
    text-decoration: underline;
    color: #a51511;
    white-space: nowrap;
}

.contact__title {
    margin-top: 66px;
    margin-bottom: 30px;
    color: #000;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 40px;
    display: flex;
}

.contact__columns,
.contact__items-wrap {
    display: flex;
}

.contact__column {
    height: 600px;
    width: 50%;
    background-color: #e7e7e7;
}

.mobile .contact__column {
    height: 400px;
}

.mobile .contact__column {
    width: 100%;
}

.contact__columns .contact__column:first-child {
    padding: 30px 82px 60px 20px;
}

.contact__container {
    margin-left: auto;
    padding-bottom: 88px;
    width: 74%;
    height: 100%;
    display: flex;
    justify-content: end;
}

.contact__items .contact__item {
    max-width: 215px;
}

.contact__items-wrap .contact__item:not(:last-child) {
    margin-right: 60px;
}

.contact__label {
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.40);
    font-feature-settings: 'salt' on;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.28px;
}

.contact__item-links {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.contact__item-block {
    width: 45%;
}

.contact__items .contact__item:first-child .contact__item-block:last-child {
    margin-bottom: 0;
}

.contact__items .contact__item:last-child .contact__item-block,
.contact .messenger {
    margin-bottom: 30px;
}

.contact .additional_messengers {
    min-height: 22px;
}

.contact__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-radius: 10px;
    height: 52px;
    background: #a51511;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.contact__btn:hover {
    background-color: #640F0C;
    border-color: #640F0C;
}

.contact-map {
    width: 100%;
    height: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact__comment {
    margin-top: 30px;
}

.contact .messanger .footer_social,
.contact .messanger .footer_tel {
    margin-bottom: 6px;
}

.contact .messanger .footer_social:not(:last-child),
.contact .messanger .footer_tel:not(:last-child) {
    margin-right: 25px;
}

.contact .footer_social a img,
.contact .footer_tel a img {
    width: 30px;
}

.contact .socials {
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(30px, max-content));
    gap: 10px;
    align-items: center;
    list-style: none;
}
.contact .socials li a img {
    width: 20px;
}

@media (max-width: 1439.98px) {
    .contact__container {
    width: 100%;
    }
}

@media (max-width: 991.98px) {
    .contact__columns {
    flex-direction: column;
    }

    .contact__columns .contact__column:first-child {
    padding: 30px 20px 60px;
    }

    .contact__container {
    padding-bottom: 0;
    justify-content: center;
    }

    .contact__title {
    margin-top: 0;
    margin-bottom: 30px;
    }

}

@media (max-width: 519.98px) {
    .contact__container {
    justify-content: left;
    }

    .contact__items {
    width: 100%;
    }

    .contact__items-wrap {
    flex-direction: column-reverse;
    }

    .contact__items .contact__item {
    max-width: 100%;
    }

    .contact__items-wrap .contact__item:last-child {
    margin-bottom: 30px;
    }

    .contact__items-wrap .contact__item:not(:last-child) {
    margin-right: 0;
    }

    .contact__item-block {
    min-height: auto;
    }
}