/* services */
.services__list {
    columns: 2;
}

.services__item {
    padding: 10px 0;
}

.services__bottom {
    padding: 30px 0;
}

.services__bottom-text {
    padding: 20px 0;
    max-width: 700px;
}

.services__complex-link {
    padding: 20px 0;
}

.services__description {
    padding: 20px 0;
}

.services__search {
    padding: 20px 0;
}

@media (min-width: 1024px) {
    .services {
        padding: 0 0 60px 0;
    }

    .services__sidebar {
        max-width: 300px;
    }

    .services__description {
        padding: 30px 0 40px 0;
    }

    .services__search {
        padding: 30px 0;
    }

    .services__complex {
        padding-top: 20px;
    }

    .services__bottom {
        padding-top: 60px;
    }

    .services__bottom-text {
        padding: 20px 0;
    }
}

/* top banner */
.offer__top-position {
    padding: 130px 0 0 0;
    transform: translateY(50px);
}

.offer__top-block {
    padding: 70px 20px 0 20px;
    position: relative;
    border-bottom: 2px solid #E6EDF3;
    border-radius: 20px 20px 0 0;
}

.offer__top-heart {
    position: absolute;
    top: -70px;
    left: 20px;
    width: 160px;
    height: 140px;
}

.offer__top-title {
    padding: 0 0 10px 0;
}

.offer__top-title .h1 {
    padding-bottom: 10px;
}

.offer__top-order {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #e6edf3;
}

.offer__top-rub {
    font-size: 32px;
    line-height: 1em;
    white-space: nowrap;
    padding: 10px 0;
}

.offer__top-links {
    display: none;
}

@media (min-width: 1024px) {
    .offer__top-position {
        padding: 250px 0 0 360px;
        transform: translateY(30px);
    }

    .offer__top-block {
        padding: 0 40px;
        position: relative;
        border-bottom: 0;
    }

    .offer__top-title {
        padding: 0 0 20px 150px;
    }

    .offer__top-title .h1 {
        padding-bottom: 20px;
    }

    .offer__top-price {
        padding-right: 20px;
        max-width: 500px;
    }

    .offer__top-rub {
        font-size: 38px;
        padding: 0;
    }

    .offer__top-links {
        display: flex;
        justify-content: space-evenly;
        align-content: stretch;
        width: 100%;
        border-radius: 0 0 20px 20px;
        overflow: hidden;
    }

    .offer__top-link {
        text-align: center;
        padding: 20px;
    }
}

/* service wrap */
.service__content {
    padding: 70px 0 40px 0;
}

/* leftnav */
.leftnav__wrap {
    max-width: 300px;
    position: sticky;
    top: 130px;
}

.leftnav__title {
    padding: 10px 10px 10px 30px;
    border: 1px solid #E6EDF3;
    border-radius: 50px;
    color: #8798A5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: .3s all ease-in-out;
}

.leftnav__title:hover {
    border: 1px solid #B3C1CB;
}

.leftnav__title-arrow {
    background: linear-gradient(180deg,#5d883d 0%,#acd19e 100%);
    width: 33px;
    height: 33px;
    text-align: center;
    border-radius: 50%;
}

.leftnav__title-arrow img {
    transform: rotate(-90deg) translateX(-8px) scale(.8,.8);
}

.leftnav__title.active {
    font-weight: 500;
    border: 1px solid #B3C1CB;
}

.leftnav__links {
    padding-bottom: 30px;
}

.leftnav__title.active img {
    transform: rotate(90deg) translateX(5px) scale(.8,.8);
}

.leftnav__links ul li a {
    display: block;
    padding: 12px 12px 12px 30px;
    background: #fff;
    transition: .3s all ease-in-out;
    color: #3B454D;
    border-radius: 5px;
}

.leftnav__links ul li a:hover {
    background: #F6F7F9;
}

.leftnav__links ul li.active a {
    background: #F6F7F9;
    font-weight: 500;
    color: #8798A5;
}

/* service content */
.service__richtext {
    border-bottom: 1px solid #E6EDF3;
}

.service__richtext .h4 {
    padding: 20px 0;
}

.service__richtext-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.service__richtext-arrow {
    padding-top: 3px;
    transform: rotate(0deg);
    transition: .2s all ease-in-out;
}

.active .service__richtext-arrow {
    transform: rotate(180deg);
}

.service__richtext-text {
    display: none;
    padding-bottom: 20px;
}

.active .service__richtext-text {
    display: block;
}

/* service doctors */
.service__doctors {
    padding: 30px 0;
    /* width: calc(100% + 150px); */
    width: 100%;
    max-width: 795px;
}

.service__doctors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}