.contacts-card {
    min-height: 349px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 72px;
    padding: 32px;
    background: #fff;
    border-radius: 32px;
}

.contacts-card span {
    display: block;
    margin-bottom: 16px;
    color: var(--grey);
    font-size: 16px;
}

.contacts-card a,
.contacts-card p {
    display: block;
    margin: 0 0 8px;
    color: var(--black);
    font-size: 20px;
    line-height: 1.2;
}

.socials {
    display: flex;
    gap: 4px;
}

.socials a {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: rgba(24, 9, 29, .03);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}

.socials a:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(24, 9, 29, .12);
}

.socials img {
    width: 24px;
    height: 24px;
}

.contacts-card button {
    width: 207px;
    height: 54px;
    margin-top: 8px;
    color: var(--black);
    background: #fff;
    border: 1px solid var(--black);
    border-radius: 16px;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contacts-card button:hover {
    color: #fff;
    background: var(--brand-gradient-action-hover);
    border-color: transparent;
    box-shadow: var(--brand-shadow);
    transform: translateY(-1px);
}

.map-img {
    width: 760px;
    height: 349px;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 32px;
}

.map-img iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

@media (max-width: 900px) {
    .contacts-card {
        grid-template-columns: 1fr;
    }

    .map-img {
        width: 100%;
        height: 320px;
    }
}

@media (max-width: 640px) {
    .contacts-card {
        padding: 24px;
        border-radius: 20px;
    }

    .map-img {
        height: 260px;
        min-height: 220px;
        border-radius: 20px;
    }
}
