.contacts {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 11;
    padding: 40px 0 0 0;
    margin-bottom: 100px;

    background-image: url("./img/bg_line.svg");
    background-size:auto;
    background-repeat: no-repeat;
    background-position: 95% 40%;

    @media (max-width: 768px) {
    padding: 20px 0 0 0;
    }
}

.contacts__wave-top {
    position: relative;
    height: 108px;
    width: 100%;
    background-image: url('/assets/wave-bottom-test.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -147px;
    z-index: 100;

    @media (max-width: 768px) {
    margin-top: -100px;
    }
}

.contacts__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 15;
    position: relative;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding-top: 70px;
}

.contacts__title {
    position: relative;
    z-index: 3;
    font-size: 54px;
    font-family: 'Karton';
    color: rgba(20, 21, 21, 1);
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 45px;
    font-weight: 400;

    @media (max-width: 600px) {
        font-size: 30px;
        margin-bottom: 25px;
    }
}

.contacts__content {
    display: flex;
    padding: 0 30px;
    width: 100%;
    gap: 33px;
    align-items: center;

    @media (max-width: 1000px) {
        flex-direction: column;
    }
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    min-width: 0;        /* добавь */
    width: 100%;
    @media (max-width: 1000px) {
        gap: 15px;
    }
}

.contacts__info-block {
    padding: 30px 40px;
    color: white;
    width: 100%;
    border-radius: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;

    @media (max-width: 1000px) {
        flex-direction: column;
        padding: 30px;
        align-items: start;
    }
}

.contacts__info-block-heading {
    display: flex;
    gap: 10px;
}

.contacts__info-block_phone {
    background-color: var(--color-green);
}

.contacts__phone-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts__phone-link {
    color: white;
    text-decoration: none;
}

.contacts__info-block_email {
    background-color: var(--color-orange);
}

.contacts__info-block-email-link {
    text-decoration: none;
    color: white;
}

.contacts__info-block_socials {
    background-color: var(--color-blue);
    /* gap: 0 !important; */
    justify-content: space-between;
    /* padding: 30px 54px 30px 40px; */
}

.contacts__info-block-socials {
    display: flex;
    gap: 40px;

    @media (max-width: 1000px) {
        gap: 27px;
    }
}

.contacts__info-block_location {
    background-color: var(--color-purple);
}

.contacts__map-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex: 1;
    min-width: 0;
    max-width: 563px;
    position: relative;
    justify-content: center;

    @media (max-width: 620px) {
        max-width: unset;
    }
}

.contacts__map {
    width: 100%;
    max-width: 100%;     /* добавь — картинка не вылезает за контейнер */
    height: auto;        /* добавь — пропорции сохраняются */

    @media (max-width: 620px) {
        display: none;
    }
}

.contacts__map-mobile {
    display: none;

    @media (max-width: 620px) {
        display: block;
        max-width: 100%;
        height: auto;
    }
}

.contacts__map-widget {
    width: 100%;
    max-width: 560px;
    height: 400px;
}

.contacts__map-widget iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 620px) {
    .contacts__map-widget {
        max-width: 100%;
        height: 320px;
    }
}

.contacts__bg-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.contacts__guitar,
.contacts__compas {
    position: absolute;
}

.contacts__guitar {
    top: -10px;
    left: -73px;
    z-index: 2;

    @media (max-width: 1000px) {
        top: -30px;
        left: 0;
    }

    @media (max-width: 600px) {
        top: 0;
        width: 120px;
    }
}

.contacts__compas {
    bottom: -50px;
    right: -30px;

    @media (max-width: 600px) {
        width: 100px;
    }
}

