.contacts-leaf {
    position: absolute;
    top: -42px;
    right: 25px;
}

.contacts-block {
    border-radius: 30px;
    overflow: hidden;
}

.contacts-wrap {
    padding: 60px 0;
}

.contacts-block .site-sect-nav__wrap {
    left: -56px;
}

.contacts-block h2 {
    margin: 0 0 33px;
}

.contacts-title {
    font-family: 'Oswald';
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(53, 53, 53, 0.5);
    margin-bottom: 7px;
}

.contacts-info__menu {
    margin-bottom: 33px;
}

.contacts-info__menu-item {
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    font-family: 'Oswald';
    font-weight: 300;
    font-size: 24px;
    line-height: 1;
    color: rgba(96, 44, 120, 1);
    border-bottom: 1px dashed rgba(96, 44, 120, 0.35);
    -moz-transition: color .3s ease-out, border-color .3s ease-out;
    -o-transition: color .3s ease-out, border-color .3s ease-out;
    -webkit-transition: color .3s ease-out, border-color .3s ease-out;
    transition: color .3s ease-out, border-color .3s ease-out;
}

.contacts-info__menu-item:not(._active) {
    cursor: pointer;
}

.contacts-info__menu-item:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    left: -13px;
    top: 11px;
    background-color: rgba(96, 44, 120, 1);
    opacity: 0;
    visibility: hidden;
    -o-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.contacts-info__menu-item._active {
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(53, 53, 53, 1);
    border-color: transparent;
}

.contacts-info__menu-item._active:before {
    opacity: 1;
    visibility: visible;
}

.contacts-info__menu-item:hover {
    border-color: transparent;
}

.contacts-content__item:not(._active) {
    display: none;
}

.contacts-info__item {
    margin-bottom: 33px;
}

.contacts-link {
    display: inline-block;
    font-family: 'Oswald';
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(96, 44, 120, 1);
    border-bottom: 1px solid rgba(96, 44, 120, 0.35);
}

.contacts-link:hover {
    border-color: transparent;
}

.contacts-schedule {
    font-family: 'Oswald';
    font-weight: 300;
    font-size: 24px;
    line-height: 1;
    color: rgba(53, 53, 53, 0.35);
}

.contacts-schedule div {
    display: flex;
    gap: 10px;
}

.contacts-schedule div:not(:last-child) {
    margin-bottom: 7px;
}

.contacts-schedule span {
    font-weight: 400;
    color: rgba(53, 53, 53, 1);
}




.contacts-offices {
    padding-top: 40px;
    margin-bottom: -20px;
}

.contacts-offices__item {
    border: 1px solid rgba(241, 232, 244, 1);
    border-radius: 30px;
    height: calc(100% - 20px);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    padding: 40px;
}

.contacts-offices__item .h2 {
    margin-bottom: 0;
}

.contacts-offices__item .contacts-info__item {
    margin-bottom: 37px;
    width: calc(50% - 20px);
}

.contacts-offices__item .contacts-info__item:last-child {
    margin-bottom: 0;
}

.contacts-text {
    font-family: 'Oswald';
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.01em;
    color: rgba(53, 53, 53, 1);
}


.contacts-map-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

#contacts-map {
    width: 100%;
    height: 100%;
}


@media all and (max-width:1700px) {
    .contacts-leaf {
        right: 10px;
    }
    .contacts-offices__item {
        padding: 30px;
        column-gap: 30px;
    }
    .contacts-offices__item .h2 {
        font-size: 40px;
    }
}

@media all and (max-width:1399px) {
    .contacts-block {
        border-radius: 15px;
    }
    .contacts-offices__item {
        border-radius: 15px;
    }
    .contacts-offices__item .h2 {
        font-size: 36px;
    }
}

@media all and (max-width:1199px) {
    .contacts-wrap {
        padding: 40px 20px 40px 30px;
    }
    .contacts-block h2,
    .contacts-info__menu,
    .contacts-info__item {
        margin: 0 0 26px;
    }
    .contacts-offices__item .h2 {
        font-size: 30px;
    }
    .contacts-title {
        font-size: 12px;
    }
    .contacts-info__menu-item {
        font-size: 20px;
    }
    .contacts-link,
    .contacts-schedule,
    .contacts-text {
        font-size: 20px;
    }
    .contacts-info__menu-item:before {
        top: 8px;
    }
}

@media all and (max-width:959px) {
    .contacts-map-container {
        height: 400px;
    }
    .contacts-leaf {
        z-index: 2;
    }
    .contacts-wrap {
        padding: 36px 30px;
        display: flex;
        flex-wrap: wrap;
        column-gap: 60px;
    }
    .contacts-btn,
    .contacts-wrap > ._title {
        width: 100%;
    }
    .contacts-offices__item .h2 {
        font-size: 24px;
    }
}

@media all and (max-width:767px) {
    .contacts-wrap {
        flex-direction: column;
    }
    .contacts-leaf {
        top: 16px;
    }
}

@media all and (max-width:574px) {
    .contacts-leaf {
        top: 8px;
        max-width: 140px;
    }
    .contacts-offices__item {
        flex-direction: column;
    }
    .contacts-offices__item .contacts-info__item {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media all and (min-width:575px) {
    .contacts-info__item._phone {
        margin-bottom: 0;
    }
}