.footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr) minmax(0, 1.4fr);
}

.footer-info {
    display: grid;
    min-width: 0;
    gap: 28px;
}

.footer-contacts-block address {
    max-width: none;
}

.footer-contacts-block address a {
    font-weight: 400;
}

.contact-map {
    min-width: 0;
    margin-top: 0;
}

.contact-map-preview {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 6px;
    background: #e6ece8;
}

.contact-map-preview iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.contact-map-preview .contact-map-open {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.contact-map-open:focus-visible {
    outline: 3px solid #087b58;
    outline-offset: -4px;
}

.contact-map-caption {
    display: block;
    margin: 10px 0;
    color: #fff;
    font-weight: 400;
}

.contact-map .contact-map-route {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #608577;
    border-radius: 6px;
    background: #126b50;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.contact-map-route:hover {
    background: #175b47;
}

.contact-map-route:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 1080px) and (min-width: 761px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-map {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
