@media (max-width: 1540px){
    .header-menu__list li a {
        padding-left: calc((100vw - 1200px) / 2);
    }
    .header-menu__close  {
        margin-left: calc((100vw - 1200px) / 2);
    }
}

@media (max-width: 1264px){
    .header-menu {
        width: 60%;
    }
    .header-menu__list li a {
        padding-left: 32px;
    }
    .header-menu__close  {
        margin-left: 32px;
    }
    .head-3d {
        height: 60vw;
        top: 5vw;
    }
    .head-inner::after, .head-inner::before {
        width: 236px;
    }
    .footer {
        background-size: auto 106px;
    }
    .preview-imgs__item {
        height: calc((100vw - 64px)/2)!important; 
    }
    .preview-imgs__item-img {
        height: calc((100vw - 64px)/2);
    }

    .preview-videos__item {
        height: calc((100vw - 64px)/2)!important; 
    }
    .preview-videos__item-video {
        height: calc((100vw - 64px)/2);
    }
    .aboutus-list__item-numbers {
        font-size: 104px;
        line-height: 104px;
    }
}



@media (max-width: 1110px){
    .head-3d {
        height: 50vw;
        top: 20vw;
    }
    .aboutus-list__item-numbers {
        font-size: 84px;
        line-height: 84px;
    }
    .reviews-inner {
        min-height: 980px;
    }
    .reviews-info__inner {
        position: static;
        left: auto;
        top: auto;
    }
    .reviews-swiper {
        padding: 62px 0 106px 0 !important;
    }
    .review-2 {
        top: 180px;
    }
    .review-3 {
        bottom: 82px;
    }
    .review-4 {
        bottom: -83px;
    }
    .reviews-slide__item.item-1 {
        top: -16px;
    }
    .reviews-slide__item.item-2 {
        top: 26px;
    }
    .reviews-slide__item.item-3 {
        top: 44px;
    }
    .reviews-slide__item.item-4 {
        bottom: -110px;
    }
    .reviews-slide__item.item-2,
    .reviews-slide__item.item-4 {
        margin: 0 0 0 auto;
    }
    .reviews {
        padding-top: 90px;
        padding-bottom: 120px;
        background: url(../images/review-bg-dollar-1.webp) left 60px bottom 312px / 159px auto no-repeat, 
        url(../images/review-bg-board-2.webp) right 62px bottom 38px / 217px auto no-repeat, 
        url(../images/review-bg-board-1.webp) right 105px top 340px / 205px auto no-repeat, 
        url(../images/review-bg-dollar-2.webp) left 44px top 41px / 205px auto no-repeat;
    }
    .testimonial-name {
        width: 50%;
        padding-right: 40px;
    }
    .testimonial-descr {
        width: 50%;
        padding-left: 40px;
    }
}

@media (max-width: 1024px){
    .footer-nav {
        flex-wrap: wrap;
    }
    .footer-social__list {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 78px;
        order: 1;
    }
    .footer-social__list > li {
        margin-left: 0;
    }
    .footer-social__item {
        text-decoration: underline;
    }
    .footer-menu {
        order: 2;
    }
    .footer-btn {
        order: 3;
    }
}


@media (max-width: 834px){
    .header-menu {
        width: 100%;
    }
    .head-3d {
        height: 50vw;
        top: 20vw;
    }
    .footer {
        background-size: auto 82px;
    }
    .footer-menu > li {
        margin-right: 36px;
    }
    .head-top {
        flex-direction: column;
        height: calc(100% - 160px);
    }
    .head-top h1 {
        padding-top: 89px;
        padding-bottom: 10px;
        position: relative;
    }
    .head-top h1::after {
        content: '';
        display: block;
        width: 255px;
        height: 1px;
        background-color: rgb(255, 255, 255, 0.6);
        position: absolute;
        bottom: 0;
        left: -35px;
    }
    .head-botton {
        height: 160px;
        align-items: flex-end;
    }
    .head-descr {
        align-self: flex-end;
        position: relative;
    }
    .head-descr::after {
        content: '';
        display: block;
        width: 255px;
        height: 1px;
        background-color: rgb(255, 255, 255, 0.6);
        position: absolute;
        bottom: 25px;
        right: -35px;
    }
    .head-inner::after, .head-inner::before {
        display: none;
    }
    .head-botton h2 {
        width: calc(100% - 240px);
    }



    .preview {
        padding-bottom: 40px;
    }
    .preview-logos {
        padding-top: 20px;
        padding-bottom: 22px;
    }
    .preview-logos__item {
        margin: 40px 39px;
        max-height: 42px;
    }
    .preview-imgs .swiper-button-prev,
    .preview-imgs .swiper-button-next {
        display: none;
    }

    h2 {
        font-size: 38px;
        line-height: 40px;
    }
    .h2-title {
        max-width: 65%;
    }
    .hints {
        justify-content: space-between;
    }
    .title-hint {
        padding-right: 0;
        text-align: right;
    }
    .h2-title img {
        max-height: 38px;
    }
    .aboutus {
        padding-top: 40px;
        padding-bottom: 90px;
    }
    .aboutus-list {
        flex-direction: column;
    }
    .aboutus-list__item {
        width: 100%;
        margin-right: 0;
        min-height: 150px;
        margin-bottom: 24px;
    }
    .aboutus-list__item:last-child {
        margin-bottom: 0;
    }
    .aboutus-list__item {
        flex-direction: row;
    }
    .aboutus-list__item-title {
        max-width: 129px;
    }
    .aboutus-list__item-numbers {
        font-size: 124px;
        line-height: 124px;
    }
    .services {
        padding-top: 90px;
        padding-bottom: 90px;
    }
    .services-item__img {
        width: 162px;
        min-width: 162px;
        border-radius: 3px;
        height: 82px;
    }
    .services-item {
        padding-left: 25%;
    }
    .cases {
        padding-top: 90px;
        padding-bottom: 90px;
    }
    .contacts {
        padding-top: 90px;
    }
    .contacts .hints {
        justify-content: flex-start;
    }
    .case-preview .swiper-button-next {
        right: 9%;
    }
    .case-preview .swiper-button-prev {
        left: 9%;
    }
    .testimonial {
        padding-bottom: 90px;
    }
}

@media (max-width: 768px) {
    .footer-social__list {
        flex-direction: column-reverse;
    }
    .head-3d {
        top: 218px;
    }
    .cases-item__img {
        height: 264px;
    }
    .reviews {
        padding-top: 90px;
        padding-bottom: 120px;
        background: url(../images/review-bg-dollar-1.webp) left 5% bottom 249px / 134px auto no-repeat, 
        url(../images/review-bg-dollar-2.webp) left 5% top 147px / 152px auto no-repeat;
    }
    .contacts-inner {
        flex-direction: column;
    }
    .contacts-left {
        padding-right: 0;
        padding-bottom: 24px;
    }
    .case {
        flex-direction: column;
    }
    .case-info {
        width: 100%;
        margin-bottom: 37px;
        margin-right: 0;
    }
    .case-additional {
        width: 100%;
        align-items: flex-start;
    }
    .case-tools {
        padding-right: 0;
        padding-bottom: 37px;
    }
    
    .review-1 {
        transform: rotate(-2deg);
        left: 2%;
        max-width: 96%;
    }
    .review-2 {
        transform: rotate(5deg);
        right: 2%;
        max-width: 96%;
    }
    .review-3 {
        transform: rotate(-4deg);
        left: 2%;
        max-width: 96%;
    }
    .review-4 {
        transform: rotate(5.8deg);
        right: 2%;
        max-width: 96%;
    }
}
@media (max-width: 640px) {
    .reviews-slide__item {
        width: 100%;
    }
    .reviews-slide__item.item-odd {
        margin-right: 0;
        margin-bottom: 24px;
    }
    .reviews-slide__inner {
        flex-direction: column;
    }
    .swiper .swiper-button-next, .swiper .swiper-button-prev {
        display: none;
    }
    .swiper .swiper-button-next, .swiper .swiper-button-next  {
        display: none;
    }
    .reviews-slide__item.item-odd {
        transform: rotate(4.58deg);
    }
    .reviews-slide__item.item-even {
        transform: rotate(-2.31deg);
    }
    .testimonial-inner {
        flex-direction: column;
    }
    .testimonial-name {
        width: 100%;
        padding-right: 0;
        padding-bottom: 15px;
    }
    .testimonial-descr {
        width: 100%;
        padding-left: 0;
        padding-top: 33px;
    }
    .testimonial-name::after {
        width: 100%;
        height: 1px;
        right: 0;
        top: auto;
        bottom: 0;
        background: rgb(255, 255, 255);
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.5) 100%);
    }
    .modal-content {
        width: calc(100% - 60px);
        padding: 28px 20px;
    }
    .modal-contact__item {
        padding: 14px 30px;
    }
    .reviews-slide__item.item-1 {
        transform: rotate(-4deg);
    }
    .reviews-slide__item.item-2 {
        transform: rotate(4deg);
    }
    .reviews-slide__item.item-3 {
        transform: rotate(-1deg);
    }
    .reviews-slide__item.item-4 {
        bottom: -83px;
        transform: rotate(5.8deg);
    }
}
@media (max-width: 520px) {
    .head {
        padding-bottom: 80px;
    }
    .head-3d {
        height: 74vw;
        top: 300px;
    }
    .container {
        padding-left: 28px;
        padding-right: 28px;
    }
    .header {
        padding-top: 29px;
    }
    .header-menu__link {
        width: 33px;
        height: 33px;
    }
    .header-menu__link img {
        max-height: 18px;
    }
    .header-btn {
        display: none;
    }
    .header-lang {
        width: 33px;
        height: 33px;
        font-size: 10px;
        line-height: 15px;
    }
    .header-menu {
        padding-top: 29px;
    }
    .header-menu__close {
        width: 33px;
        height: 33px;
        margin-left: 28px;
    }
    .header-menu__close img {
        max-height: 12px;
    }
    .header-menu__list li a {
        padding: 9px 33px 10px 28px;
        font-size: 16px;
        line-height: 19px;
    }
    .footer {
        padding-top: 50px;
        background-size: calc(100% - 56px) auto;
    }
    .footer-social {
        flex-direction: column;
        padding-top: 14px;
        padding-bottom: 35px;
    }
    .footer-social__list {
        margin-bottom: 0;
        padding-bottom: 25px;
        border-bottom: 1px solid #404245;
    }
    .footer-social__item {
        margin-left: 0;
    }
    .footer-logo {
        padding-bottom: 14px;
    }
    .footer-menu {
        flex-direction: column;
        padding-top: 17px;
    }
    .footer-nav {
        padding-top: 17px;
        padding-bottom: 17px;
    }
    .footer-btn {
        padding-right: 0;
        align-self: flex-end;
    }
    .footer-btn {
        min-width: 142px;
    }
    .footer-additional {
        padding-top: 42px;
        padding-bottom: 134px;
    }
    .footer-address {
        margin-bottom: 57px;
    }



    .head-top {
        flex-direction: column-reverse;
        height: auto;
    }
    .head-descr {
        padding-top: 40px;
        padding-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .head-descr::after {
        width: 100%;
        bottom: 0;
        right: 0;
    }
    .head-descr__numbers {
        margin-bottom: 0;
        font-size: 28px;
        line-height: 34px;
    }
    .head-top h1 {
        padding-top: 20px;
        padding-bottom: 16px;
        font-size: 22px;
        line-height: 27px;
    }
    .head-top h1::after {
        display: none
    }
    .head-inner {
        justify-content: flex-start;
        position: relative;
        height: calc(100vh - 72px);
    }
    .head-botton {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    .head-botton h2 {
        width: 100%;
        max-width: 338px;
        line-height: 22px;
        display: none;
    }
    .head-btn {
        min-width: calc(100% - 56px);
        position: absolute;
        left: 28px;
        bottom: 0;
    }

    .preview {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    .preview-logos__item {
        margin: 15px 24px 9px;
        max-height: 29px;
    }
    .preview-imgs__item {
        height: calc((100vw - 56px)/2)!important; 
    }
    .preview-imgs__item-img {
        height: calc((100vw - 56px)/2);
    }


    .aboutus {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    .h2-title {
        max-width: 100%;
    }
    .title-hint {
        display: none;
    }
    .title-wrap {
        margin-bottom: 40px;
    }
    h2 {
        font-size: 24px;
        line-height: 29px;
    }
    .h2-title img {
        max-height: 26px;
        bottom: -6px;
    }
    .hints {
        justify-content: flex-start;
        margin-bottom: 26px;
    }
    .hints-number {
        margin-right: 62px;
    }
    h4 {
        font-size: 18px;
    }
    .aboutus-list__item {
        min-height: 134px;
    }
    .aboutus-list__item-numbers {
        font-size: 80px;
        line-height: 80px;
        align-self: flex-end;
    }
    .services {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .services-item__img {
        width: 88px;
        min-width: 88px;
        height: 45px;
    }
    .services-item {
        padding-left: 20%;
        min-height: 100px;
    }
    .services-item__title {
        font-size: 24px;
        line-height: 29px;
    }
    .services-item__text {
        font-weight: normal;
        font-size: 12px;
        line-height: 18px;
    }
    .services-mob__text {
        display: block;
        text-align: right;
        margin-top: 24px;
        color: #6D6D6D;
    }
    .services-btn {
        margin: 24px 0 0 0;
        min-width: 100%;
    }
    .cases {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .cases-item {
        padding-bottom: 15px;
    }
    .cases-item__img {
        height: 197px;
    }
    .cases-item h4 {
        margin-top: 10px;
        font-size: 16px;
    }
    .cases-item h5 {
        margin-top: 0;
        font-size: 16px;
    }

    .reviews {
        padding-top: 50px;
        padding-bottom: 50px;
        background: none;
    }
    .reviews-swiper {
        padding: 62px 0 12px 0 !important;
    }
    .reviews-inner::before {
        content: '';
        display: block;
        width: 84px;
        height: 76px;
        background: url(../images/review-bg-dollar-2.webp) center / 84px auto no-repeat;
        position: absolute;
        top: 116px;
        right: 0;
        z-index: 6;
    }
    .reviews-inner::after {
        content: '';
        display: block;
        width: 67px;
        height: 57px;
        background: url(../images/review-bg-dollar-1.webp) center / 74px auto no-repeat;
        position: absolute;
        bottom: 129px;
        left: 0;
        z-index: 6;
    }
    .reviews-item {
        width: 100%;
        padding: 18px 20px;
        position: relative;
        margin-bottom: 20px;
    }
    .review-1 {
        right: auto;
        top: auto;
        left: auto;
        transform: rotate(-6.5deg);
        z-index: 3;
    }
    .review-2 {
        right: auto;
        top: auto;
        transform: rotate(1.9deg);
        z-index: 4;
    }
    .review-3 {
        bottom: auto;
        top: auto;
        left: auto;
        transform: rotate(-3deg);
        z-index: 1;
    }
    .review-4 {
        bottom: auto;
        top: auto;
        right: auto;
        transform: rotate(1.82deg);
        z-index: 2;
    }
    .reviews-details {
        width: 36%;
        padding-left: 17px;
    }
    .reviews-descr {
        width: 64%;
        padding-right: 17px;
        font-size: 16px;
    }
    .reviews-descr span {
        font-size: 16px;
    }
    .read-more {
        font-size: 12px;
    }
    .reviews-info__inner {
        margin: 0 auto 41px;
    }
    .reviews-info__title {
        font-size: 24px;
        line-height: 26px;
        margin-bottom: 14px;
    }
    .contacts-inner {
        padding-bottom: 45px;
    }
    .contacts {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .contacts-btn {
        min-width: 100%;
    }

    .preview-videos__item {
        height: calc((100vw - 56px)/2)!important; 
        min-height: 292px;
    }
    .preview-videos__item-video {
        height: calc((100vw - 56px)/2);
        min-height: 292px;
    }
    .swiper .swiper-button-next:after, .swiper .swiper-button-prev:after {
        font-size: 26px;
    }
    .case-preview {
        padding-top: 123px;
    }
    .case-preview .swiper-button-next {
        right: 3%;
    }
    .case-preview .swiper-button-prev {
        left: 3%;
    }
    .case-info {
        width: 100%;
        margin-right: 0;
    }
    .case-title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 10px;
    }
    .case-descr {
        margin-bottom: 37px;
    }
    .case-details li {
        margin-right: 9px;
        min-width: auto;
        width: calc(33% - 6px);
    }
    .case-details li:last-child {
        margin-right: 0;
    }
    .case-btn {
        min-width: 100%;
    }
    .testimonial {
        padding-bottom: 50px;
    }
    .testimonial-inner {
        padding: 40px 40px;
    }
    .testimonial-name__img {
        width: 80px;
        min-width: 80px;
        height: 80px;
    }
    .testimonial-descr {
        font-size: 16px;
    }
    .modal-contact {
        flex-direction: column;
    }
    .modal-contact__item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
        justify-content: center;
    }
    .modal-contact__item:last-child {
        margin-bottom: 0;
    }
    .modal-title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 14px;
    }
    .modal-subtitle {
        margin-bottom: 24px;
    }
    .modal-content {
        padding: 28px 36px;
    }
}



@media (max-width: 480px) {
    .reviews-slide__inner {
        padding: 0px 10px;
    }
    .review-1, .review-2, .review-3, .review-4 {
        max-width: 100%; 
    }
    .reviews-details > span {
        padding: 4px 4px;
    }
}
@media (max-width: 440px) {
    .testimonial-inner {
        padding: 40px 20px;
    }
    .testimonial-name__img {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
}