@media screen and (max-width: 1400px) {
    .container {
        width: 1140px;
    }

    .main__info {
        width: 570px;
    }

    .main__title {
        font-size: 40px;
    }

    .main__btns {
        padding-right: 0;
    }

    .section__title {
        font-size: 40px;
    }

    .expert {
        width: 550px;
    }

    .main {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .stat {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    section.pt-big {
        padding-top: 110px;
    }

    section.pb-big {
        padding-bottom: 110px;
    }

    .team__content .section__title {
        width: 610px;
    }

    .team__description {
        width: 440px;
        margin-top: 0;
    }

    .service__info {
        width: 520px;
    }

    .service__img {
        width: 550px;
    }

    .question__info {
        width: 550px;
    }

    .question__description {
        margin-bottom: 40px;
    }

    .contacts__item {
        padding: 30px;
    }

    .contacts__items {
        margin-left: -30px;
        margin-right: -30px;
    }

    .contacts__items .section__title {
        padding: 30px;
    }

    .connect {
        margin-top: 80px;
        padding-top: 100px;
    }

    .search__content {
        padding-right: 200px;
    }

    .filter__objects-link {
        padding-left: 24px;
        padding-right: 24px;
    }

    .filter__objects-link span {
        font-size: 16px;
    }

    .filter__btns .btn span {
        padding-left: 32px;
        padding-right: 32px;
    }

    .card__links .btn span {
        padding-left: 16px;
        padding-right: 16px;
    }

    .share__links a {
        margin-left: 8px;
        margin-right: 8px;
    }


}

@media screen and (max-width: 1200px) {
    .container {
        width: 970px;
    }

    .header__logo span {
        width: 320px;
    }

    .expert {
        width: 450px;
    }

    .expert__photo {
        width: 450px;
        height: 450px;
        padding: 40px;
    }

    .expert__photo:after {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
        top: 20px;
        left: 20px;
    }

    .expert__photo img {
        width: calc(100% - 80px);
        bottom: 40px;
    }

    .expert__bottom {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .expert__bottom .question-btn {
        margin-left: 20px;
    }

    .expert__block {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .expert__position {
        max-width: 100%;
    }

    .main__info {
        width: 500px;
    }

    .main__info .list {
        margin-bottom: 60px;
    }

    .main__title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .section__title {
        font-size: 36px;
    }

    .main__btns .btn {
        width: 80%;
    }

    .btn span {
        padding-left: 20px;
        padding-right: 20px;
    }

    .question-btn__text {
        padding-left: 12px;
    }

    .main:after {
        margin-left: 160px;
    }

    .stat__item {
        width: 280px;
    }

    .stat__item p {
        font-size: 16px;
    }

    .stat__value {
        margin-bottom: 20px;
    }

    .team__content .section__title {
        width: 100%;
    }

    .team__description {
        width: 100%;
        margin-bottom: 40px;
    }

    .section__title {
        margin-bottom: 30px;
    }

    .service__info {
        width: 450px;
    }

    .service__info .list {
        margin-bottom: 30px;
    }

    .service__img {
        width: 470px;
    }

    .service__description {
        margin-bottom: 30px;
    }

    .service__description p {
        font-size: 18px;
    }

    .list li {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .reviews .container {
        padding-bottom: 40px;
    }

    .reviews__top .section__title {
        width: 100%;
    }

    .reviews__controls {
        margin-bottom: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .review {
        padding: 20px;
    }

    .expert__info {
        padding: 24px;
        margin-top: -120px;
    }

    .contacts__items .section__title {
        width: 100%;
        margin-bottom: 0;
    }

    .footer__logo {
        margin-right: 50px;
    }

    .footer__info {
        width: 240px;
    }

    .footer__menu {
        width: 310px;
    }

    .card__img {
        height: 150px;
    }

    .card__links .btn {
        width: 100%;
        margin-bottom: 12px;
    }

    .section__top small {
        margin-bottom: 25px;
    }

    .sort {
        margin-bottom: 30px;
    }

    .item__content {
        padding: 20px;
    }

    .item__info-col b {
        font-size: 16px;
    }

    .catalog__info {
        padding-right: 380px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        width: 750px;
    }

    .main_desktop {
        padding-top: 80px;
        padding-bottom: 80px;
        background: url(../img/main-mobile-bg.jpg) center center no-repeat;
        background-size: cover;
    }

    .main_desktop:after {
        display: none;
    }

    .main_desktop .expert {
        display: none;
    }

    .main__info {
        width: 100%;
    }

    .main__info .list {
        margin-bottom: 50px;
    }

    .main__btns .btn {
        width: calc(50% - 7px);
    }

    .expert {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .expert__position {
        max-width: 100%;
    }

    .header__logo span {
        padding-left: 15px;
        width: 305px;
    }

    .header__btns {
        margin-right: 15px;
    }

    .header__tel {
        font-size: 20px;
    }

    .stat__item {
        margin-bottom: 40px;
        width: 100%;
    }

    .stat__item:last-child {
        margin-bottom: 0;
    }

    .stat__value {
        margin-bottom: 15px;
    }

    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    section.pt-big {
        padding-top: 90px;
    }

    section.pb-big {
        padding-bottom: 90px;
    }

    .main_mobile {
        display: block;
    }

    .main_mobile:after {
        margin-left: -150px;
    }

    .main-mobile__btn {
        padding-top: 30px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: relative;
        z-index: 5;
    }

    .team__content .section__title {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .team__img {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        margin-bottom: 30px;
    }

    .team__description {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        margin-bottom: 0;
    }

    .section__title.section__title_mobile {
        display: block;
    }

    .service__info .section__title {
        display: none;
    }

    .service__img {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        width: 100%;
        margin-bottom: 30px;
    }

    .service__info {
        width: 100%;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .question-btn {
        display: none;
    }

    .btn span {
        padding-left: 50px;
        padding-right: 50px;
    }

    .review__avatar {
        margin-bottom: 30px;
    }

    .review__user-info {
        margin-bottom: 30px;
    }

    .mobile-btn {
        position: relative;
        z-index: 5;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .question__info {
        width: 100%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin-bottom: 50px;
    }

    .question__description {
        margin-bottom: 0;
    }

    .question__btns {
        display: none;
    }

    .question .expert {
        margin-left: auto;
        margin-right: auto;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .contacts__item {
        width: 33%;
    }

    .contacts__item p {
        font-size: 18px;
    }

    .contacts__item-title {
        margin-bottom: 15px;
    }

    .contacts__items .section__title {
        padding-bottom: 0;
    }

    .footer__contacts {
        display: none;
    }

    .footer__menu {
        width: 300px;
    }

    .modal {
        width: 750px;
    }

    .form.flex .input {
        width: 100%;
        margin-right: 0;
    }

    .form.flex .btn {
        width: 100%;
    }

    .modal__description {
        margin-bottom: 20px;
    }

    .modal__info {
        padding: 20px;
    }

    .modal__title {
        margin-bottom: 18px;
    }

    .search__content {
        background: url(../img/search-bg-mobile.webp) center center no-repeat;
        background-size: cover;
        padding: 50px;
    }

    .filter__item:nth-child(1), .filter__item:nth-child(3) {
        width: calc(50% - 5px);
    }

    .filter__item:nth-child(2) {
        width: calc(50% - 5px);
        margin-right: 0;
    }

    .filter__item:nth-child(4) {
        width: calc(25% - 8px);
    }

    .filter__item:nth-child(5) {
        width: calc(25% - 8px);
        margin-right: 0;
        margin-left: auto;
    }

    .filter__item:nth-child(5) .filter__block {
        left: auto;
        right: 0;
    }

    .range {
        width: 320px;
    }

    .filter__btns a:nth-child(1) {
        width: calc(50% - 5px);
    }

    .filter__btns a:nth-child(2) {
        width: calc(50% - 5px);
        margin-right: 0;
    }

    .filter__btns a:nth-child(3) {
        width: 100%;
        margin-right: 0;
    }

    .filter__btns a:nth-child(4) {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
    }

    .card {
        width: calc(50% - 24px);
    }

    .card__img {
        height: 240px;
    }

    .object__col {
        width: 100%;
    }

    .item__slider-wrapper {
        width: 100%;
    }

    .item__content {
        width: 100%;
    }

    .catalog .pagination {
        padding-top: 15px;
    }

    .catalog__info-text {
        font-size: 18px;
    }

    .catalog__info {
        padding: 24px 370px 24px 30px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 540px;
    }

    .header__logo span {
        display: none;
    }

    .main_desktop {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .main__btns .btn {
        width: 100%;
    }

    .main__btns .btn:last-child {
        margin-bottom: 0;
    }

    .stat {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .stat__value b {
        margin-bottom: 0;
    }

    .stat__value {
        margin-bottom: 8px;
    }

    .stat__item {
        margin-bottom: 30px;
    }

    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    section.pt-sm {
        padding-top: 15px;
    }

    section.pb-sm {
        padding-bottom: 15px;
    }

    section.pt-big {
        padding-top: 75px;
    }

    section.pb-big {
        padding-bottom: 75px;
    }

    .main__info .list {
        margin-bottom: 40px;
    }

    .review {
        padding: 0;
    }

    .review__avatar {
        margin-bottom: 20px;
    }

    .review__user-info {
        margin-bottom: 20px;
    }

    .service__description p {
        margin-bottom: 15px;
    }

    .contacts__items {
        margin-left: 0;
        margin-right: 0;
    }

    .contacts__items .section__title {
        padding: 20px 0px;
    }

    .contacts__item {
        width: 100%;
        padding: 20px 0px;
        border-bottom: 1px solid #DEDFE1;
    }

    .connect__icon {
        display: none;
    }

    .connect {
        padding-top: 0;
        margin-top: 0;
    }

    .connect .connect__links {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .connect .connect__links a {
        margin-left: 0;
        margin-right: 20px;
    }

    .connect__title {
        display: none;
    }

    .contacts__item-title {
        margin-bottom: 8px;
    }

    .connect__tel {
        text-align: left;
        padding: 20px 0px;
        margin-bottom: 0;
        border-bottom: 1px solid #DEDFE1;
    }

    .connect__tel .contacts__item-title {
        display: block;
    }

    .connect__tel a {
        font-size: 18px;
        font-family: "Montserrat", sans-serif;
        font-weight: 300;
        color: #262626;
    }

    .map iframe {
        height: 400px;
    }

    .footer__info {
        width: 100%;
        margin-right: 0;
    }

    .footer__info p {
        margin-bottom: 8px;
    }

    .footer__menu {
        width: 100%;
        margin-bottom: 0;
    }

    .footer__menu li {
        margin-bottom: 8px;
    }

    .modal {
        width: 540px;
    }

    .modal__info {
        width: 100%;
    }

    .modal__img {
        display: none;
    }

    .modal_1 .form {
        width: 100%;
    }

    .modal.modal_thanks {
        width: 540px;
    }

    .modal_thanks .modal__content {
        padding: 40px;
    }

    .search__content {
        padding: 40px;
    }

    .filter__items {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .filter__item {
        margin-left: 0;
        margin-right: 0;
    }

    .filter__item:nth-child(1) {
        width: 100%;
        margin-right: 0;
    }

    .filter__item:nth-child(1) .filter__block {
        width: 100%;
    }

    .filter__item:nth-child(2), .filter__item:nth-child(4) {
        width: calc(50% - 5px);
    }

    .filter__item:nth-child(2) .filter__block, .filter__item:nth-child(4) .filter__block {
        width: calc(200% + 10px);
        left: 0;
        right: auto;
    }

    .filter__item:nth-child(3), .filter__item:nth-child(5) {
        width: calc(50% - 5px);
    }

    .filter__item:nth-child(3) .filter__block, .filter__item:nth-child(5) .filter__block {
        width: calc(200% + 10px);
        right: 0;
        left: auto;
    }

    .range {
        width: 100%;
    }

    .filter__select {
        padding-right: 40px;
    }

    .section__top {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .section__top .section__title {
        width: 100%;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .section__top small {
        margin-right: 15px;
        margin-bottom: 20px;
    }

    .sort {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .sort__block {
        right: -10px;
        width: calc(100% + 20px);
    }

    .radio input:checked + label:after {
        right: 10px;
    }

    .radio label {
        padding-right: 38px;
    }

    .card__img {
        height: 165px;
    }

    .catalog .pagination {
        padding-top: 0px;
    }

    .links__back {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .links__filter {
        width: auto;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        margin-bottom: 12px;
    }

    .catalog__info {
        background-size: 220px auto;
        padding: 24px;
    }

    .catalog__info-text {
        margin-bottom: 60px;
    }
}

@media screen and (min-width: 577px) {
    .menu {
        display: none !important;
    }
}

@media screen and (max-width: 576px) {
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    header {
        -webkit-box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.04);
        box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.04);
        position: relative;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .header__logo img {
        width: 50px;
    }

    .header__tel {
        display: none;
    }

    .header__btns {
        margin-right: 0;
    }

    .navbar {
        display: block;
    }

    .navbar span {
        display: block;
        position: relative;
        width: 50px;
        height: 2px;
        margin-bottom: 12px;
        background: #191E39;
        border-radius: 2px;
        -webkit-transition: all ease 0.3s;
        -o-transition: all ease 0.3s;
        transition: all ease 0.3s;
        top: 0;
    }

    .navbar span:last-child {
        margin-bottom: 0;
    }

    .navbar.active span:nth-child(1) {
        top: 21px;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .navbar.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar.active span:nth-child(3) {
        opacity: 0;
    }

    .navbar.active span:nth-child(4) {
        top: -21px;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .btn span {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
        line-height: 22px;
    }

    .main_desktop {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .main__title {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .section__title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .list li {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 8px;
        line-height: 22px;
        background-size: 22px 22px;
        padding-left: 34px;
    }

    .main__btns {
        display: block;
    }

    .main__btns .btn {
        margin-right: 0;
    }

    .stat__value {
        padding-left: 50px;
    }

    .stat__value b {
        display: inline;
        font-size: 35px;
        line-height: 35px;
    }

    .stat__value span {
        font-size: 20px;
    }

    .stat__value svg {
        -webkit-transform: scale(0.6) translate(-20%, -20%);
        -ms-transform: scale(0.6) translate(-20%, -20%);
        transform: scale(0.6) translate(-20%, -20%);
    }

    .stat__item p {
        padding-left: 50px;
    }

    section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    section.pt-big {
        padding-top: 60px;
    }

    section.pb-big {
        padding-bottom: 60px;
    }

    .stat {
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .team__img {
        margin-bottom: 20px;
    }

    .team__description p {
        font-size: 16px;
    }

    .expert {
        width: 300px;
    }

    .expert__photo {
        padding: 20px;
        width: 300px;
        height: 300px;
    }

    .expert__photo:after {
        display: none;
    }

    .expert__photo img {
        width: calc(100% - 40px);
        bottom: 20px;
    }

    .expert__name {
        padding-left: 0;
    }

    .expert__position {
        padding-left: 0;
    }

    .mobile-btn {
        display: block;
    }

    .main_mobile {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .service__description {
        margin-bottom: 15px;
    }

    .service__description p {
        font-size: 16px;
    }

    .service__btn {
        display: block;
    }

    .reviews__dots {
        display: none;
    }

    .reviews__controls {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding-left: 15px;
        padding-right: 15px;
    }

    .service__img {
        margin-bottom: 15px;
    }

    .service__info .list {
        margin-bottom: 15px;
    }

    .section__title.mb-small {
        margin-bottom: 15px;
    }

    .question__description p {
        font-size: 16px;
    }

    .expert__info {
        padding: 15px;
    }

    .contacts__items .section__title {
        padding-bottom: 0;
        padding-top: 10px;
    }

    footer {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .modal {
        width: 290px;
        max-width: calc(100% - 40px);
        border-radius: 15px;
    }

    .modal__container {
        padding: 0;
    }

    .modal__info {
        padding: 15px;
    }

    .modal__title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .modal__title_2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .modal__description {
        margin-bottom: 15px;
    }

    .modal__description p {
        line-height: 140%;
    }

    .form .btn {
        margin-bottom: 0;
        width: 100%;
    }

    .input {
        height: 55px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .modal__btn {
        display: block;
    }

    .modal.modal_thanks {
        width: 290px;
    }

    .modal.modal_thanks .modal__container {
        padding: 10px;
    }

    .modal.modal_thanks .connect__links a {
        margin-left: 6px;
        margin-right: 6px;
    }

    .modal_thanks .modal__content {
        padding: 15px;
        border-radius: 12px;
    }

    .search__content {
        padding: 15px;
    }

    .filter__btns a {
        margin-left: 0;
        margin-right: 0;
    }

    .filter__btns a:nth-child(1), .filter__btns a:nth-child(2) {
        width: 100%;
    }

    .filter__objects-link {
        padding-left: 15px;
        padding-right: 15px;
    }

    .filter__objects-link span {
        font-size: 14px;
    }

    .filter__map-link span {
        font-size: 16px;
    }

    .cards {
        margin-left: 0;
        margin-right: 0;
    }

    .card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 28px;
    }

    .card__img {
        height: auto;
    }

    .card__links {
        padding-top: 5px;
    }

    .pagination a,
    .pagination span {
        font-size: 16px;
        min-width: 30px;
        line-height: 22px;
    }

    .pagination a.pagination__arrow,
    .pagination span.pagination__arrow {
        width: 30px;
        height: 30px;
    }

    .object__info-col {
        width: 100%;
    }

    .links__back svg {
        margin-right: 5px;
    }

    .links__back span span {
        display: none;
    }

    .links__filter {
        padding: 12px 15px;
    }

    .filter__btns {
        padding-top: 0;
    }

    .object__title {
        font-size: 24px;
    }

    .object__arrow_prev {
        left: -30px;
        padding-right: 5px;
    }

    .object__arrow_next {
        right: -30px;
        padding-right: 5px;
    }

    .object__slider-wrapper {
        margin-bottom: 15px;
    }

    .object__price {
        margin-bottom: 20px;
    }

    .object__price b {
        font-size: 22px;
        display: inline;
    }

    .object__price small {
        display: inline;
        font-size: 16px;
    }

    .object__btns {
        margin-bottom: 30px;
    }

    .object__btns .btn, .object__btns .btn_3 {
        width: 100%;
        margin-bottom: 12px;
    }

    .share {
        width: 100%;
    }

    .share__block {
        width: 100%;
        padding: 15px;
        left: 0;
    }

    .object__title2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .object__info-col p {
        margin-bottom: 10px;
    }

    .object__col {
        margin-bottom: 30px;
    }

    .object__text {
        margin-bottom: 15px;
    }

    .item__controls {
        bottom: 15px;
        width: calc(100% - 30px);
        left: 15px;
    }

    .item__content {
        padding: 15px;
    }

    .item__title {
        font-size: 24px;
    }

    .item__description {
        padding-bottom: 0;
    }

    .item__info-col {
        width: 100%;
    }

    .item__info {
        padding-bottom: 8px;
    }

    .item {
        margin-bottom: 20px;
    }

    .item .btn {
        width: 100%;
    }

    .location__areas {
        margin-bottom: 20px;
    }

    .catalog__info {
        background-size: 180px auto;
        background-position: right -40px bottom;
        padding: 15px;
    }

    .catalog__info-text {
        font-size: 16px;
        margin-bottom: 50px;
    }

    .cities__search-container {
        margin-bottom: 15px;
    }

    .cities__suggestions div {
        padding: 10px 15px;
        cursor: pointer;
    }

    .cities__suggestions div:nth-child(1) {
        margin-top: 8px;
    }

    .cities__suggestions div:last-child {
        margin-bottom: 8px;
    }
}