.contacts {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 968px) {
    .contacts {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
}

.contacts__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 20px 20px 30px;
    background-color: var(--blue-color);
    border-radius: 20px 20px 0 0;
    position: relative;
}

@media (min-width: 768px) {
    .contacts__content {
        padding: 30px;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .contacts__content {
        border-radius: 0 20px 20px 0;
        flex-basis: 40%;
    }
}

.contacts__content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    background-image: url("assets/images/bg-mini-h.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.75;
}

.contacts__manager {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.contacts__manager img {
    width: 64px;
    height: 64px;
}

.contacts__name {
    font-size: 1.125rem;
    font-weight: 700;
}

.contacts__profession {
    font-size: 0.875rem;
}

.contacts__questions {
    font-size: 1rem;
    font-weight: 400;
    line-height: 28px;
    background-size: cover;
    position: relative;
}

.contacts__questions > span {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--light-color);
    box-shadow: 0 5px 30px rgba(134, 125, 179, .3);
    border-radius: 100px;
    margin-bottom: 15px;
}

.contacts__form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacts__list-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contacts__list-btn li {
    flex-grow: 1;
}

.contacts__list-btn li svg, .contact-form .btn-primary svg {
    width: 16px;
    height: 16px;
    fill: var(--light-color);
}

.form__button svg {
    position: relative;
    width: 20px;
    height: 100%;
    fill: var(--light-color);
    z-index: 2;
}

.contacts__map {
    width: 100%;
    height: 590px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    background: #333;
}

@media (min-width: 768px) {
    .contacts__map {
        flex-grow: 1;
        height: auto;
        position: relative;
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .contacts__map {
        border-radius: 20px 0 0 20px;
    }
}

.map {
    width: 100%;
    height: 753px;
}

.contacts__address {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
    background: var(--light-color);
    padding: 20px;
    border-radius: 6px;
    width: calc(100% - 40px);
    box-shadow: 0 5px 30px rgba(46, 41, 51, 0.2);
    font-size: 1rem;
    max-width: 415px;
}

.contacts__address span {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contacts__list li svg {
    width: 16px;
    height: 16px;
}

.contacts__list li path {
    fill: var(--red-color);
}

/* copyrights pane for Yandex map */
[class*="copyrights-pane"] {
    /*display: none !important;*/
}