/* 961-1200px */

@media screen and (max-width: 1200px) {
    .logo {
        width: 80%;
    }

    .menu__text {
        margin-right: 20px;
    }

    .menu__phone {
        margin-left: 17px;
    }

    /* .header {
        padding-bottom: 77px;
    } */

    .header__form {
        margin-top: 60px;
        margin-right: 17px;
        width: 320px;
    }

    .header__form_title {
        font-size: 24px;
    }

    .header__utp {
        margin-top: 191px;
    }

    .header__fon,
    .words__fon_circle_5,
    .after__fon_circle_2,
    .after__fon_circle_5,
    .result__fon_circle_2,
    .words__fon_circle_4,
    .client__fon_circle_2,
    .team__fon_circle_2,
    .seo__fon_circle_1,
    .reviews__fon_circle_5,
    .footer__fon_circle_1,
    .footer__fon_circle_2,
    .footer__fon_circle_3 {
        display: none;
    }

    .words__fon_circle_3 {
        top: 100px;
    }

    .words {
        top: 40px;
    }

    .words__foto_img {
        top: 60px;
        left: -7px;
    }

    .words__foto_card {
        margin-top: 383px;
        margin-left: 160px;
    }

    .after {
        top: 100px;
    }

    .after__name_img {
        top: 71px;
        right: -100px;
        width: 60%;
    }

    .after__name {
        top: 280px;
        right: -96px;
    }

    .after__fon_circle_3 {
        top: 700px;
    }

    .result {
        top: 120px;
        z-index: 30;
    }

    .result__card {
        width: 250px;
    }

    .result__img {
        width: 120%;
        top: 133px;
    }

    .analysis {
        margin-top: 50px;
        z-index: 50;
    }

    .client {
        margin-top: 100px;
    }

    .carousel__text {
        width: 500px;
    }

    .slick-slide img {
        width: 100%;
    }

    .contrast {
        height: 700px;
    }
    
    .contrast__wrapper {
        width: auto;
    }

    .contrast__table {
        grid-template-columns: repeat(3, max-content);
        grid-template-rows: repeat(7, 1fr);
        grid-auto-flow: row;
    }
    
    .contrast__table-item:first-child,
    .contrast__table-item:nth-child(2),
    .contrast__table-item:nth-child(3) {
        text-align: center;
    }
    
    .contrast__table-item:first-child {
        border-radius: 20px 0px 0px 0px;
    }
    
    .contrast__table-item:nth-child(3) {
        border-radius: 0px 20px 0px 0px;
    }
    
    .contrast__table-item:nth-child(19) {
        border-radius: 0px 0px 0px 20px;
    }
    
    .contrast__table-item:nth-child(21) {
        border-radius: 0px 0px 20px 0px;
    }

    .team__fon_circle_5 {
        top: -32px;
        margin-left: 0px;
    }

    .team {
        margin-top: -68px;
    }

    .team__card,
    .team__man {
        width: 210px;
    }

	.team__man_name {
		max-width: 80%;
	}
	
	.team__people_img {
    	height: 94%;
	}
	
    .team__cards br {
        display: block;
    }

    .team__card {
        filter: grayscale(0%);
    }

    .seo__title {
        margin-top: 205px;
    }

    .seo__img {
        left: -225px;
    }

    .seo__name {
        left: 210px;
    }

    .seo .slick-dots {
        top: 400px;
    }

    .numbers__form {
        left: 15px;
    }

    .reviews {
        margin-bottom: 60px;
    }

    .reviews__slider_title {
        width: 210px;
    }

    .reviews .slick-dots {
        top: 502px;
    }

    .footer__text {
        font-size: 12px;
    }

    .window__modal_1 {
        left: 35%;
    }

    .footer,
    .header {
        border-radius: 0;
    }

    .reviews__fon_circle_1 {
        bottom: -124px;
        margin-left: 694px;
    }

}

/* 768-960px */

@media screen and (max-width: 960px) {
    h1 {
        font-size: 43px;
        text-align: center;
    }

    h2 {
        font-size: 30px;
    }

    h4 {
        font-size: 18px;
    }

    .logo {
        width: 60%;
    }

    .header__utp {
        margin-top: 120px;
    }

    .menu__phone {
        margin-left: 67px;
    }

    .header__text {
        text-align: center;
    }

    .header__form {
        margin-top: 20px;
        margin-right: 0;
        width: 480px;
        position: relative;
        text-align: center;
        right: 0;
    }

    .group input {
        margin-left: 8px;
    }

    .page_2 {
        display: flex;
        justify-content: center;
    }

    .group input,
    .form__btn .btn {
        width: 400px;
    }

    .header {
        border-radius: 0;
        padding-bottom: 177px;
    }

    .card__icon_white_left,
    .result__fon_circle_5 {
        display: none;
    }

    .advantages__cards {
        flex-wrap: wrap;
    }

    .advantages__card {
        width: 50%;
        padding: 15px 10px 36px 10px;
    }

    .advantages__card_red {
        background: none;
    }

    .advantages__card_red_1 {
        background: linear-gradient(360deg, #FE4745 -73.48%, rgba(254, 71, 69, 0) 36.52%);
        border-radius: 0;
    }

    .advantages__card_red_2 {
        background: linear-gradient(360deg, #FE4745 -73.48%, rgba(254, 71, 69, 0) 36.52%);
        border-radius: 0px 0px 20px 0px;
    }

    .card__icon_white_right {
        right: -200px;
        z-index: 10;
    }

    .words__foto_img {
        width: 100%;
    }

    .words__foto_card {
        margin-top: 237px;
        margin-left: 41px;
    }

    .words__cards {
        margin-top: 40px;
    }

    .words__card {
        margin-bottom: 28px;
        width: 350px;
    }

    .words__card_btn {
        width: 350px;
    }

    .after {
        top: 80px;
    }

    .after__name_img {
        right: -140px;
    }

    .after__name {
        top: 300px;
        right: 179px;
    }

    .after__fon_circle_3 {
        right: 26px;
    }

    .result {
        top: 95px;
    }

    .result__card {
        width: 212px;
        position: relative;
        z-index: 5;
    }

    .result__img {
        position: relative;
        width: 200%;
        top: 233px;
        right: 150px;
        z-index: 1;
    }

    .result__fon_circle_3 {
        top: 82px;
        margin-left: 86px;
    }

    .analysis {
        height: 100%;
        background-position: bottom center;
        background-size: cover;
        padding-bottom: 40px;
    }

    .form__link {
        flex-direction: column;
        align-items: center;
    }

    .form__link .group input {
        margin-right: 0;
        width: 400px;
    }

    .form__btn {
        margin-bottom: 10px;
    }

    .form__fon_circle_2 {
        bottom: 124px;
        margin-left: 674px;
    }

    .form__fon_circle_3 {
        top: -42px;
        margin-left: 677px;
    }

    .client {
        margin-top: 80px;
    }

    .carousel__text {
        width: 360px;
    }

    .carousel__img {
        margin-top: 150px;
    }

    .carousel__title {
        margin-top: 315px;
    }

    .client .slick-dots {
        top: 433px;
    }

    .team__cards {
        flex-wrap: wrap;
    }

    .team__card {
        width: 48%;
        margin-bottom: 130px;
        border-radius: 20px 20px 0px 0px;
    }

    .team__man {
        width: 100%;
    }

    .team__man_name br,
    .numbers__fon_circle_4,
    .team__fon_circle_3,
    .numbers__form_title br {
        display: none;
    }

    .team__fon_circle_1 {
        bottom: 213px;
    }
	
	.team__people,
	.team__people_img {
		height: 400px;
    	border-radius: 20px 20px 0px 0px;
	}

    .seo {
        padding-bottom: 80px;
    }

    .seo__title {
        margin-top: 70px;
    }

    .slick-dotted.slick-slider {
        margin-bottom: 20px;
    }

    .seo .slick-dots {
        top: 480px;
    }

    .seo__img {
        top: 90px;
    }

    .seo__name {
        left: 190px;
        top: 265px;
    }

    .numbers__form {
        position: relative;
    }

    .numbers {
        background: none;
        position: relative;
        background-color: #0b0b0b;
    }

    .numbers__left {
        background: url(../img/fon-8.jpg);
        background-size: cover;
        background-position: center;
        color: #fff;
        padding-bottom: 63px;
        padding-top: 65px;
        margin-top: 0;
    }

    .numbers__form {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .numbers__form_title {
        text-align: center;
        width: 60%;
    }

    .numbers__sure {
        justify-content: center;
    }

    .numbers__icon_white {
        bottom: -697px;
    }

    .reviews {
        margin-bottom: 120px;
    }

    .reviews__slider_title {
        width: 100%;
    }

    .reviews .slick-dots {
        top: 300px;
    }

    .footer__fon_circle_4 {
        margin-left: 117px;
    }

    .reviews__fon_circle_1 {
        bottom: -224px;
        margin-left: 494px;
    }
	
	.pre__footer-frame {
		display: flex;
		flex-direction: column;
		text-align: center;
		align-items: center; 
	}
	
	.pre__footer-text {
		margin-top: 10%;
		display: flex;
    	align-items: center;
	}
	
	.pre__footer-block {
		text-align: center;
	}

}

/* 576-768px */

@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 32px;
        line-height: 40px;
    }

    h2 {
        text-align: center;
        line-height: 30px;
    }

    h3 {
        font-size: 15px;
        text-align: center;
    }

    h4 {
        font-size: 15px;
    }

    .header {
        background: #0A0A0A;
        padding-bottom: 127px;
    }

    .header__text {
        font-size: 22px;
        line-height: 28px;
        margin-top: 28px;
        margin-bottom: 40px;
    }

    .header__utp {
        margin-top: 60px;
    }

    .header__check {
        flex-direction: column;
        align-items: center;
    }

    .header__check_item {
        width: 300px;
        flex-direction: column;
    }

    .header__check_list {
        justify-content: center;
        position: relative;
        z-index: 10;
    }

    .header__check_text {
        text-align: center;
        margin-left: 0;
        margin-top: 20px;
    }

    .header__fon_min {
        background: url(../img/fon-9.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        height: 200%;
        width: 100%;
        top: 600px;
        left: 0;
    }

    .header__form {
        margin-top: 20px;
        width: 290px;
    }

    .header__form_title {
        font-size: 22px;
        line-height: 25px;
        margin-bottom: 8px;
    }

    .group input,
    .form__btn .btn {
        width: 250px;
    }

    .header__radio {
        font-size: 9px;
    }

    .header__menu,
    .header__sure,
    .numbers__sure,
    .form__sure,
    .after__card,
    .words__card,
    .modal__menu_phone {
        flex-direction: row !important;
    }

    .advantages__cards,
    .advantages__card {
        width: 290px;
    }

    .advantages__card_red_3 {
        background: linear-gradient(360deg, #FE4745 -73.48%, rgba(254, 71, 69, 0) 36.52%);
        border-radius: 0;
    }

    .advantages__card_red_2 {
        background: none;
    }

    .words__img_imac {
        display: flex;
        justify-content: center;
    }

    .words__foto_img {
        left: auto;
        right: auto;
        width: 290px;
    }

    .words__fon_circle_3 {
        top: 350px;
    }

    .words__foto_card {
        margin-top: 247px;
        margin-left: 17px;
    }

    .words__cards {
        justify-content: center;
    }

    .words__fon_circle_2,
    .result__fon_circle_6,
    .after__fon_circle_1,
    .result__fon_circle_3,
    .form__fon_circle_2,
    .client__subtitle br,
    .team__subtitle br,
    .numbers__form_title br,
    .reviews__fon_circle_4,
    .numbers__icon_white,
    .modal__radio br {
        display: none;
    }

    .after__name_img {
        right: auto;
        width: 100%;
        background-size: contain;
        background-position: center center;
        height: 360px;
        top: 200px;
        left: 40px;
    }

    .after__cards {
        margin-top: 300px;
        position: relative;
        z-index: 100;
        justify-content: center;
    }

    .after__name {
        top: 238px;
        right: 10px;
        z-index: 100;
        text-align: right;
        font-size: 13px;
    }

    .after__fon_circle_3 {
        right: 137px;
    }

    .after__card {
        width: 290px;
        height: 106px;
        margin-right: 0;
    }

    .result__img {
        position: absolute;
        width: 100%;
        margin-top: -1em;
        right: 0;
    }

    .result h2 {
        margin-top: 35px;
    }

    .result__cards {
        margin-top: 320px;
        justify-content: center;
    }

    .result__card {
        width: 290px;
    }

    .result {
        padding-bottom: 50px;
    }

    .form__link .group input,
    .analysis .form__btn .btn {
        width: 290px;
    }

    .form__fon_circle_4 {
        bottom: 7px;
    }

    .client {
        margin-top: 60px;
        padding-bottom: 060px;

    }

    .carousel__title {
        text-align: center;
    }

    .carousel__text {
        text-align: center;
        width: 100%;
    }

    .slider__item_card {
        padding-bottom: 150px;
    }

    .client .slick-dots {
        top: 989px;
        height: 10px;
        left: 35%;
    }

    .carousel__img {
        position: absolute;
        width: 290px;
        left: auto;
        box-shadow: none;
        border-radius: 20px;
        margin-top: 605px;
    }

    .contrast {
        height: 600px;
        margin-top: 70px;
    }

    .contrast__wrapper {
        width: auto;
    }

    .contrast__table {
        grid-template-columns: repeat(3, max-content);
    }

    .contrast__table-item {
        font-size: 14px;
        line-height: 18px;
    }

    .team {
        margin-top: 0;
    }

    .team__cards {
        margin-top: 30px;
        justify-content: center;
    }
	
	.d-flex {
		flex-direction: column;
    	align-content: center;
	}

    .team__card {
        margin-bottom: 110px;
		width: 60%;
    }

    .seo {
        padding-bottom: 529px;
    }

    .seo__text {
        text-align: center;
        height: 400px;
        width: 290px;
    }

    .text__center {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .seo .slick-dots {
        top: 550px;
        display: flex;
        justify-content: center;
    }

    .seo__btn .btn {
        width: 300px;
    }

    .seo__title {
        margin-top: 40px;
        width: 290px;
    }

    .seo__img {
        top: 790px;
        height: 462px;
        width: 100%;
        background-position: top center;
        background-size: cover;
        left: -80px;
    }

    .seo__btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .seo__name {
        left: 207px;
        top: 900px;
    }

    .numbers {
        z-index: 10;
        padding-bottom: 20px;
    }

    .numbers__left {
        background: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 10;
    }

    .numbers__successes {
        flex-direction: column;
        text-align: center;
    }

    .numbers__successes_text {
        font-size: 23px;
        line-height: 28px;
    }

    .numbers__successes_carousel {
        margin-left: 0;
    }

    .numbers__btn {
        width: 290px;
    }

    .numbers__fon_min {
        background: url(../img/fon-8.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        height: 63%;
        width: 130%;
        top: -100px;
        left: -100px;
        z-index: 1;
    }

    .numbers__form {
        position: relative;
        z-index: 10;
        left: 0;
    }

    .numbers__form {
        position: relative;
        z-index: 10;
        margin-top: 0px;
    }

    .numbers__form .group input {
        margin-left: 0;
        width: 290px;
    }

    .numbers__form .form__btn .btn,
    .reviews__title,
    .result h2,
    .client__title,
    .client__subtitle,
    .carousel__name {
        width: 290px;
    }

    .reviews__slider_link {
        position: relative;
        right: 0;
    }

    .reviews__item {
        padding: 25px 25px 40px 25px;
        width: 290px;
    }

    .reviews .slick-dots {
        top: 520px;
    }

    .reviews__fon_circle_1 {
        margin-left: 94px;
    }

    .footer__page {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .footer__right {
        align-items: center;
    }

    .footer__down {
        margin-top: 67px;
    }

    .modal__form_place {
        width: 290px;
        padding: 15px;
    }

    .modal__form_place .group input {
        width: 260px;
        margin-left: -2px;
    }

    .modal__form_place .btn {
        width: 260px;
    }

    .window__modal_2 .close {
        left: 169px;
        top: -1px;
    }

    .window__modal_1 {
        left: auto;
        display: flex;
        justify-content: center;
    }

    .spasibo {
        width: 290px;
    }

    .window__modal_1 .close_2 {
        left: 260px;
    }
}

/* 320-576px */

@media screen and (max-width: 576px) {
    .team__card {
        width: 290px;
        margin-bottom: 110px;
    }

    .contrast__table-item p {
        padding: 16px 8px;
    }
}
