/* Homepage contacts + map section */

.home-contacts {
    padding: 56px 0 64px;
    background: #fff;
}

.home-contacts__title {
    margin: 0 0 32px;
    font-family: "Exo2-Bold", Arial, sans-serif;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #0063a8;
}

.home-contacts__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: stretch;
}

.home-contacts__map {
    min-height: 480px;
    height: 100%;
    border: 1px solid #e3e8ee;
    overflow: hidden;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
}

.home-contacts__map .bx-yandex-view-layout,
.home-contacts__map .bx-yandex-view-map {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
}

.home-contacts__map .bx-yandex-map {
    flex: 1 1 auto;
    width: 100% !important;
    height: 100% !important;
    min-height: 480px;
}

.home-contacts__card {
    border: 1px solid #e3e8ee;
    background: #fff;
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
}

.home-contacts__item {
    margin-bottom: 22px;
}

.home-contacts__item:last-of-type {
    margin-bottom: 28px;
}

.home-contacts__label {
    margin-bottom: 8px;
    font-family: "Exo2-SemiBold", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: #0063a8;
}

.home-contacts__value {
    font-size: 15px;
    line-height: 1.55;
    color: #333;
}

.home-contacts__value a {
    color: #489bd8;
    text-decoration: none;
}

.home-contacts__value a:hover {
    color: #0063a8;
    text-decoration: underline;
}

.home-contacts__value--mode b {
    display: none;
}

.home-contacts__value--mode br + br {
    display: block;
    content: "";
    margin-top: 4px;
}

.home-contacts__btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 4px;
    background: #0063a8;
    color: #fff !important;
    font-family: "Exo2-SemiBold", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.home-contacts__btn:hover {
    background: #0c74bd;
    color: #fff !important;
}

@media screen and (max-width: 991px) {
    .home-contacts {
        padding: 40px 0 48px;
    }

    .home-contacts__title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .home-contacts__grid {
        grid-template-columns: 1fr;
    }

    .home-contacts__map {
        min-height: 360px;
    }

    .home-contacts__map .bx-yandex-map {
        min-height: 360px;
    }
}

@media screen and (max-width: 600px) {
    .home-contacts__card {
        padding: 22px 18px 24px;
    }

    .home-contacts__title {
        font-size: 24px;
    }
}
