.sn-contacts {
    position: relative;
    background: #f5f5f3;
    padding: 86px 0 92px;
}

.sn-contacts__inner {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.sn-contacts__head {
    margin-bottom: 24px;
}

.sn-contacts__title {
    margin: 0 0 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 500;
    color: #333;
}

.sn-contacts__text {
    max-width: 780px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(40,40,40,.76);
}

.sn-contacts__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 42px;
    align-items: stretch;
}

.sn-contacts__map {
    position: relative;
    overflow: hidden;
    height: 405px;
    min-height: 405px;
    background: #e9e9e5;
}

.sn-contacts__map iframe {
    display: block;
    width: 100%;
    height: 405px;
    min-height: 405px;
    border: 0;
}

.sn-contacts__info {
    display: flex;
    flex-direction: column;
    min-height: 405px;
    padding-top: 2px;
}

.sn-contacts__address {
    margin-bottom: 26px;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.22;
    font-weight: 500;
    color: #333;
}

.sn-contacts__item {
    margin-bottom: 20px;
}

.sn-contacts__label {
    margin-bottom: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 400;
    color: rgba(40,40,40,.62);
}

.sn-contacts__value {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.sn-contacts__value:hover {
    color: #6f9777;
    text-decoration: none;
}

.sn-contacts__write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 136px;
    height: 44px;
    margin-top: 2px;
    padding: 0 24px;
    border-radius: 999px;
    background: #6f9777;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    transition: .25s ease;
}

.sn-contacts__write:hover {
    background: #5e8766;
    color: #fff;
    text-decoration: none;
}

.sn-contacts__section {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 150px;
    height: 38px;
    margin-top: auto;
    padding: 0 22px;
    border: 1px solid #87a88d;
    border-radius: 999px;
    background: transparent;
    color: #234d37;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    transition: .25s ease;
}

.sn-contacts__section:hover {
    background: #6f9777;
    border-color: #6f9777;
    color: #fff;
    text-decoration: none;
}

.sn-contacts__edit {
    position: absolute;
    top: 0;
    right: 56px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 6px;
    background: #222;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.sn-contacts__edit:hover {
    background: #111;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .sn-contacts__inner {
        padding: 0 24px;
    }

    .sn-contacts__body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sn-contacts__info {
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 28px;
    }

    .sn-contacts__address {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .sn-contacts__write,
    .sn-contacts__section {
        margin-top: 0;
    }

    .sn-contacts__edit {
        right: 24px;
    }
}

@media (max-width: 768px) {
    .sn-contacts {
        padding: 58px 0 66px;
    }

    .sn-contacts__title {
        font-size: 28px;
    }

    .sn-contacts__body {
        gap: 24px;
    }

    .sn-contacts__map,
    .sn-contacts__map iframe {
        height: 320px;
        min-height: 320px;
    }

    .sn-contacts__info {
        grid-template-columns: 1fr;
    }

    .sn-contacts__address {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .sn-contacts__inner {
        padding: 0 16px;
    }

    .sn-contacts__title {
        font-size: 25px;
    }

    .sn-contacts__map,
    .sn-contacts__map iframe {
        height: 280px;
        min-height: 280px;
    }

    .sn-contacts__write,
    .sn-contacts__section {
        width: 100%;
    }
}