.contacts-block {
    padding: 79px 30px;
    height: 886px;
    background-image: url("image/contacts/contacts-bg.webp");
    background-size: cover;
    background-position: center;
}

.contacts-block .block-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.contacts-block .card {
    display: flex;
    width: 576px;
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex-shrink: 0;
    background: #FFF;
    backdrop-filter: blur(17px);
    height: 100%;
}

.contacts-block .map {
    height: 365px;
    align-self: stretch;
    border: 1px solid #EBEBEB;
    background: url(image/contacts/map.webp) lightgray center no-repeat;
    background-size: cover;
}

.contacts-block .card .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
}

.contacts-block .card .content .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    align-self: stretch;
}

.contacts-block h1 {
    align-self: stretch;
    color: #373736;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 30px */
}

.contacts-block .link-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.contacts-block .link-group a {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    color: #373736;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 30.8px */
}

.contacts-block .link-group a:hover {
    color: #20C8E2;
}

.contacts-block .card .content .bottom-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}

.contacts-block .card .content .bottom-container h2 {
    align-self: stretch;
    color: #373736;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 24px */
}

.contacts-block .card .content .bottom-container .row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contacts-block .card .content .bottom-container .row a:hover path {
    fill: #20C8E2;
}

.contacts-block .column {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}

.contacts-block .column p {
    width: 301px;
    color: #FFF;
    font-family: "Golos Text", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 19.6px */
}

@media (min-width: 990px) and (max-width: 1439px) {
    .contacts-block {
        padding: 40px;
        height: 809px;
    }

    .contacts-block .block-content {
        align-items: flex-end;
    }

    .contacts-block .card {
        width: 428px;
        padding: 30px;
        height: auto;
        gap: 20px;
    }

    .contacts-block .map {
        height: 235px;
    }

    .contacts-block .card .content .container {
        gap: 16px;
    }

    .contacts-block h1 {
        font-size: 28px;
        font-style: normal;
        font-weight: 500;
    }

    .contacts-block .column p {
        width: 200px;
    }

    .contacts-block .link-group a {
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
    }

    .contacts-block .link-group a svg {
        width: 20px;
        height: 20px;
    }

    .contacts-block .card .content {
        gap: 34px;
    }

    .contacts-block .card .content .bottom-container h2 {
        font-size: 22px;
        font-style: normal;
        font-weight: 500;
    }

    .contacts-block .card .content .bottom-container {
        gap: 16px;
    }

    .contacts-block .card .content .bottom-container .row svg   {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 989px) {
    .contacts-block {
        padding: 20px;
        height: auto;
        background-image: url("image/contacts/contacts-bg-mobile.webp");
    }

    .contacts-block .block-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .contacts-block .card {
        width: 100%;
        padding: 20px;
        gap: 20px;
    }

    .contacts-block .map {
        height: 184px;
    }

    .contacts-block .card .content {
        gap: 24px;
    }

    .contacts-block .card .content .container {
        gap: 12px;
    }

    .contacts-block h1 {
        font-size: 22px;
        font-style: normal;
        font-weight: 500;
    }

    .contacts-block .link-group {
        gap: 6px;
    }

    .contacts-block .link-group a {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
    }

    .contacts-block .link-group a svg {
        width: 16px;
        height: 16px;
    }

    .contacts-block .card .content .bottom-container {
        gap: 16px;
    }

    .contacts-block .card .content .bottom-container h2 {
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
    }

    .contacts-block .card .content .bottom-container .row svg   {
        width: 46px;
        height: 46px;
    }

    .contacts-block .column p {
        width: 100%;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
    }
}
