.contacts {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #e8edf0;
}

.contacts-map {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 600px;
    border: 0;
}

.contacts-overlay {
    position: relative;
    z-index: 4;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.contacts-card {
    width: 560px;
    margin-left: 0;
    padding: 34px 28px 31px;
    color: #fff;
    background: var(--red, #e30016);
    pointer-events: auto;
}

.contacts-card h2 {
    margin: 0 0 3px;
    color: #fff;
    font-family: "Poiret One", "Trebuchet MS", Arial, sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
}

.contacts-lead {
    margin: 0 0 17px;
    font-size: 17px;
    line-height: 1.35;
}

.contacts-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.contacts-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contacts-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: #fff;
}

.contacts-list a {
    color: inherit;
    text-decoration: none;
}

.contacts-icon svg,
.contacts-social svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.contacts-socials {
    display: flex;
    gap: 9px;
    margin-top: 25px;
}

.contacts-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--red, #e30016);
    text-decoration: none;
    background: #fff;
    border-radius: 4px;
    padding: 7px;
}

@media (max-width: 760px) {
    .contacts,
    .contacts-map,
    .contacts-overlay {
        min-height: 560px;
    }

    .contacts-overlay {
        align-items: flex-end;
        padding-bottom: 24px;
    }

    .contacts-card {
        width: 100%;
        padding: 28px 22px 26px;
    }

    .contacts-card h2 {
        font-size: 36px;
    }

    .contacts-list {
        font-size: 17px;
    }
}
