@import url('colors.css');
@media (max-width: 860px) {
    .footer__top_head {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__btns-group {
        width: 100%;
    }

    .footer__block_flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) {

    /* glob */
    .form__wrapper {
        display: block;
    }

    .form__label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .form-popup__btn {
        width: 100%;
    }

    .form-popup__descr {
        line-height: 20px;
    }

    .col-2 {
        flex: 1 1 100%;
        margin-right: 0 !important;
    }

    .col-4 {
        flex: 0 1 calc(50% - 5px);
        margin-right: 10px;
    }

    .col-4:nth-child(3n) {
        margin-right: 10px;
    }

    .col-4:nth-child(2n) {
        margin-right: 0;
    }

    .col-4:last-child {
        margin-right: 0;
    }

    .col-5 {
        flex: 0 1 calc(50% - 15px);
    }

    .col-5:nth-child(3n) {
        margin-right: 30px;
    }

    .col-5:nth-child(2n) {
        margin-right: 0;
    }

    .col-5:last-child {
        margin-right: 0;
    }

    .col-5-margin {
        flex: 0 1 calc(50% - 7.5px);
    }

    .col-5-margin:nth-child(3n) {
        margin-right: 15px;
    }

    .col-5-margin:nth-child(2n) {
        margin-right: 0;
    }

    .col-5-margin:last-child {
        margin-right: 0;
    }

    .form-consultation__wrapper {
        display: block;
    }

    .form-consultation__label {
        margin-bottom: 10px;
    }

    .form-consultation__btn {
        width: 100%;
        margin-bottom: 0;
    }

    .side-form {
        width: initial;
        margin-left: 0;
    }

    .content-body img {
        float: initial !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
    }

    /* banner */
    .banner__btn-group {
        display: block;
    }

    .banner__btn {
        width: 100%;
        max-width: initial;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .banner__btn:last-child {
        margin-bottom: 0;
    }

    .banner__btn.btn-default .btn__icon {
        display: none;
    }

    /* extra */
    .extra__row {
        flex-direction: column-reverse;
        padding-right: 0;
    }

    .extra_reverse .extra__row {
        flex-direction: column-reverse;
        padding-left: 0;
    }

    .extra_reverse .extra__content {
        margin-right: 0;
    }

    .extra__picture {
        margin-right: 0;
    }

    .extra__img {
        width: 100%;
    }

    .extra__content {
        max-width: initial;
        margin-bottom: 40px;
        padding: 30px 20px 0;
    }

    .extra__content-body {
        max-width: initial;
    }

    .extra__content-bottom {
        max-width: initial;
    }

    /* promotion */
    .promotion {
        padding-bottom: 185px;
    }

    .promotion__picture {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 160px;
    }

    .promotion__img {
        max-width: 100%;
        width: 100%;
    }

    /* callback */
    .form__row {
        display: block;
        margin-bottom: 10px;
    }

    .form__row:last-child {
        margin-bottom: 0;
    }

    .callback__form-label {
        margin-bottom: 10px;
    }

    .callback__form-label:last-child {
        margin-bottom: 0;
    }

    .callback__form-btn {
        width: 100%;
        margin-bottom: 20px;
    }

    /* promotion-banner */
    .promotion-banner__container {
        display: block;
    }

    .promotion-banner__picture {
        margin-right: 0;
        margin-bottom: 25px;
    }

    /* detail-specialist */
    .detail-specialist__container {
        display: block;
    }

    .detail-specialist__preview {
        width: initial;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .detail-specialist__articles ol {
        column-count: 2;
        column-gap: 10px;
    }

    /* reviews-page */
    .reviews-page__item {
        margin-bottom: 25px;
    }

    .reviews-page__btn {
        min-height: 50px;
    }

    /* articles-page */
    .articles-page__item {
        margin-bottom: 30px;
    }

    /* faq-page */
    .faq-page__wrapper {
        display: block;
    }

    .faq-page__content {
        margin-bottom: 30px;
    }

    /* navigation-article */
    .reviewer {
        display: block;
    }

    .reviewer__content {
        padding-bottom: 0;
        margin-right: 0;
        margin-bottom: 25px;
    }

    .reviewer__picture {
        justify-content: center;
    }

    .reviewer__img {
        min-width: initial;
        width: 158px;
    }

    /* estimates */
    .estimates {
        display: block;
    }

    .estimates__rating {
        margin-right: 0;
    }

    .estimates__rating {
        margin-bottom: 15px;
    }

    .estimates-title {
        margin-right: 8px;
    }

    .estimates .star {
        flex: 0 0 16px;
        min-width: 16px;
        margin: 0;
    }

    .estimates .rating__item {
        flex: 0 0 16px;
        min-width: 16px;
    }

    .estimates .rating__body {
        width: 80px;
    }

    .estimates .footer__socials .social__link {
        width: 20px;
        height: 20px;
        padding: 4px;
    }

    /* contacts-page */
    .contacts-page__row {
        display: block;
    }

    .contacts-page__block {
        margin-right: 0;
        margin-bottom: 25px;
    }

    .contacts-page__block:last-child {
        margin-bottom: 0;
    }

    /* not-fount */
    .not-found__container {
        display: block;
    }

    .not-found__title {
        text-align: initial;
    }

    .not-found__descr {
        text-align: initial;
    }

    .not-found__group {
        display: block;
    }

    .not-found__search {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .not-found__btn {
        min-width: 0;
        width: 100%;
    }

    .not-found__search .search-top__label {
        width: 100%;
    }

    .not-found__search .search-top__input {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .footer__block_flex {
        grid-template-columns: 1fr;
    }

    .footer__btns-group {
        flex-direction: column;
        margin-bottom: 0;
    }

    .footer__block-info_bg {
        min-width: 100%;
    }
}

@media (max-width: 575px) {

    /* glob */
    .col-3 {
        flex: 1 1 100%;
        margin-right: 0;
    }

    .col-3:nth-child(3n) {
        margin-right: 0;
    }

    .col-4 {
        flex: 1 1 100%;
        margin-right: 0 !important;
    }

    .col-5 {
        flex: 1 1 100%;
        margin-right: 0 !important;
    }

    .col-5-margin {
        flex: 1 1 100%;
        margin-right: 0 !important;
    }

    .more-text-btn {
        color: var(--main-color);
        font-size: 16px;
        font-family: Inter;
        font-weight: 500;
        line-height: 24px;
    }

    .slider-top .section-title {
        margin-right: 0;
    }

    /* contraindications */
    .contraindications {
        padding: 7.5px 0;
    }

    .contraindications__text {
        color: #fff;
        font-size: 11px;
        font-weight: 500;
        line-height: 15px;
    }

    /* footer */
    .footer__block_flex {
        display: block;
    }

    .footer__block-item {
        margin-right: 0;
        margin-bottom: 25px;
    }

    .footer__block-item:last-child {
        margin-bottom: 0;
    }

    .footer__block-item-wrapper {
        margin-bottom: 25px;
    }

    /* promo */
    .banner__container {
        flex-direction: column;
        align-items: center;
    }

    .banner__content {
        flex-grow: 1;
        padding-top: 0;
        margin-right: 0;
    }

    .promo__slider-navigation {
        padding: 0 15px;
        bottom: 380px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }

    .promo .promo__slider-pagination {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: initial;
    }

    .promo__slider-btns {
        margin-right: 0;
        width: 100%;
        justify-content: space-between;
    }

    .banner__preview {
        display: flex;
        justify-content: center;
        align-self: initial;
    }

    .banner__img {
        height: 345px;
    }

    .banner__circle {
        top: 50px;
    }

    /* advantages */
    .advantage__text {
        max-width: 187px;
    }

    /* extra */
    .extra__content-body ul {
        display: block;
    }

    .extra__content-body ul li {
        margin-right: 0;
    }

    .extra__img {
        min-height: 215px;
    }

    /* services */
    .services {
        margin-bottom: 80px;
    }

    .services__container {
        padding: 0;
    }

    .services__title {
        padding: 0 15px;
    }

    .services__descr {
        padding: 0 15px;
    }

    .services__descr {
        margin-bottom: 0;
    }

    .services__row {
        flex-wrap: initial;
        overflow: auto;
        padding: 40px 15px 0;
    }

    .services__row::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .service {
        flex: initial;
        min-width: 293px;
        margin-right: 10px !important;
        margin-bottom: 0;
    }

    .service:last-child {
        margin-right: 0 !important;
    }

    .services-popup .service__title {
        text-align: initial;
        margin-bottom: 15px;
    }

    .services-popup__list {
        gap: 7.5px;
        grid-template-columns: initial;
    }

    /* about */
    .about__content-wrapper {
        margin-bottom: 10px;
    }

    .about__content-bottom {
        flex-direction: column;
        align-items: center;
    }

    .about__btn {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .about__video-img {
        min-height: 200px;
        border-radius: 15px;
    }

    .about__video-btn {
        padding: 10px 20px;
    }

    .about__video-btn-text {
        font-size: 16px;
        line-height: 24px;
        margin-right: 5px;
    }

    /* programs */
    .programs {
        margin-bottom: 140px;
        position: relative;
    }

    .programs__navigation {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
    }

    /* promotions */
    .promotions {
        margin-bottom: 140px;
        position: relative;
    }

    .promotions__navigation {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
    }

    /* faq */
    .faq__btn {
        right: 15px;
    }

    /* documents */
    .documents__container {
        display: block;
        padding: 0;
    }

    .documents__title {
        padding: 0 15px;
    }

    .documents__descr {
        padding: 0 15px;
    }

    .documents__slider {
        padding: 0 15px;
    }

    .documents__title {
        margin-bottom: 15px;
    }

    .documents__navigations {
        display: none;
    }

    .documents__info {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .documents__descr {
        margin-bottom: 0;
    }

    /* specialists */
    .specialists__top {
        padding: 0 15px;
    }

    .specialists__container {
        padding: 0;
    }

    .specialists__slider {
        padding: 0 15px;
    }

    .specialist__image-wrapper {
        height: 175px;
    }

    .specialist__image-decor {
        width: 275px;
        height: 275px;
        top: -100px;
    }

    .specialists__navigation {
        display: none;
    }

    .specialist__content {
        margin-top: -17px;
    }

    /* trust */
    .item-trust {
        flex: 1 1 100% !important;
        margin-right: 0;
    }

    .item-trust__img {
        max-height: 35px;
    }

    /* reviews */
    .reviews {
        padding-bottom: 140px;
    }

    .reviews__container {
        position: relative;
    }

    .reviews__navigation {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
    }

    .reviews__slider {
        margin-bottom: 0;
    }

    .reviews__btn {
        display: none;
    }

    /* news */
    .news__container {
        padding: 0;
    }

    .news__top {
        padding: 0 15px;
    }

    .news__navigation {
        display: none;
    }

    .news__slider {
        padding: 0 15px;
    }

    /* articles */
    .articles {
        margin-bottom: 140px;
        position: relative;
    }

    .articles__navigation {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
    }

    /* contacts */
    .contacts__info {
        padding: 20px;
    }

    .contacts-item {
        flex: 1 1 100%;
        margin-right: 0;
    }

    .contacts-item:last-child {
        margin-bottom: 0;
    }

    /* specialist-documents */
    .specialist-documents__navigation {
        display: none;
    }

    /* documents-page */
    .documents-page__item {
        flex: 0 1 calc(50% - 5px);
        margin-right: 5px !important;
        margin-bottom: 5px;
    }

    .documents-page__item:nth-child(2n) {
        margin-right: 0 !important;
    }

    .documents-page__item:last-child {
        margin-right: 0 !important;
    }

    /* promotion-banner */
    .promotion-banner__bottom {
        display: block;
    }

    .promotion-banner__btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }

    /* detail-specialist */
    .detail-specialist__articles ol {
        column-count: initial;
        column-gap: initial;
    }
}
