@media only screen and (max-width: 1024px) {
    section.top__screen {
        height: 50vh;
    }

    body {
        font-size: 10px;
    }

    .swiper-slide.partner__logo {
        /* height: 120px; */
    }

    section {
        margin-bottom: 80px;
    }
}

@media only screen and (max-width: 768px) {
    .projects__grid .projects__item:nth-child(2n), .projects__grid .projects__item:nth-child(3n), .projects__grid .projects__item:nth-child(4n), .projects__grid .projects__item:nth-child(5n), .projects__grid .projects__item:nth-child(6n), .projects__grid .projects__item:nth-child(7n), .projects__grid .projects__item:not(:nth-child(1)) {
        width: 100%;
        height: auto;
    }
    
    .projects__grid .projects__item:nth-child(2n) .projects__item__poster, .projects__grid .projects__item:nth-child(3n) .projects__item__poster, .projects__grid .projects__item:nth-child(4n) .projects__item__poster {
        height: 73vw !important;
    }

    
    section.top__screen {
        height: 70vh;
    }
    
    body {
        font-size: 14px;
    }
    
    .offer {
        max-width: 100%;
    }
    
    .section__header__info {
        max-width: 100%;
        gap: 20px;
    }
    
    h2.section__title,
    h1.section__title {
        max-width: 100%;
        font-size: 1.71em;
    }
    
    a.btn span {
        height: 47px;
        padding: 0 20px;
        width: 100%;
    }
    
    a.btn span.btn__icon {
        height: 47px;
        width: 47px;
        padding: 0;
    }
    
    a.btn {
        gap: 4px;
    }
 
    .word {
        font-size: 1.93em;
        -webkit-text-stroke: .5px var(--grey);
    }
    
    .area__media {
        height: 32vh;
    }
    
    .accordeon {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .accordeon__item__text {
        max-width: 100%;
    }
    
    .accordeon__item__header h3 {
        max-width: 100%;
        font-size: 1.28em;
    }
    
    .accordeon__item__header a {
        display: none;
    }
    
    .accordeon__media {
        display: none;
    }
    
    .accordeon__item:last-child {
        border-bottom: none;
    }
    
    p.projects__item__tag {
        top: 15px;
        right: 15px;
        padding: 12px;
    }
    
    .projects__item__poster {
        width: 100% !important;
        height: 73vw !important;
    }
    
    .projects__item:nth-child(2n), .projects__item:nth-child(3n), .projects__item:nth-child(4n), .projects__item:nth-child(5n), .projects__item:nth-child(6n), .projects__item:nth-child(7n) {
        width: 100%;
    }
    
    .projects__grid {
        gap: 40px;
    }
    
    .projects__item {
        gap: 10px;
    }
    
    .project__item__info {
        padding-bottom: 10px;
    }
    
    .blog__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    
    .blog_post__poster {
        height: 36vh;
    }
    
    a.blog__post {
        gap: 10px;
    }
    
    .blog__post__preview {
        gap: 10px;
    }
    
    section.contacts .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .contacts__form {
        width: 100%;
    }
    
    .contacts__info {
        gap: 40px;
    }
    
    .contacts__info__wrapper {
        border-bottom: 1px solid var(--grey);
        padding-bottom: 15px;
        gap: 15px;
    }
    
    input.form__submit {
        padding: 18px 0;
        margin-top: 15px;
    }
    
    form {
        gap: 25px;
        margin: 20px 0;
    }
    
    p.politics {
        font-size: .78em;
    }
    
    .form__input {
        padding-bottom: 9px;
    }
    
    .contacts__info__item a {
        font-size: 1.28em;
    }
    
    .footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    p.company__info {
        max-width: 50%;
    }
    
    .footer__top .column:nth-child(2) {
        flex-direction: column;
        gap: 10px;
        width: auto;
    }

    .footer__top .column:nth-child(2) nav {
        width: auto;
    }
    
    .footer__contacts {
        gap: 10px;
    }
    
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: auto;
    }

    .mob__active,
    .accordeon__mob__media,
    .little__title.mob {
        display: flex !important;
    }

    section.breadcrumb {
        margin-bottom: 30px;
    }
    
    .accordeon__item__list {
        max-width: 100%;
    }
    
    .accordeon__mob__media img {
        width: 100%;
    }

    .accordeon__mob__media .btn {
        width: 100%;
    }
    
    section {
        margin-bottom: 80px;
    }

    main.page {
        padding-top: 85px;
    }

    .person__list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    a.person__list__item img {
        height: 300px;
    }

    section.page__form .container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .page__form__media {
        width: 100%;
    }
    
    .page__form__wrapper {
        width: 100%;
        padding: 45px 20px;
    }
    
    .page__form__wrapper__inner {
        max-width: 100%;
    }
    
    .recent__projects .projects__grid, .projects__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    section.person__cart {
        background: var(--white);
    }
    
    .person__cart__wrapper {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .person__cart__photo {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    
    section.person__cart .container {
        border: none;
        padding: 40px 0;
        gap: 30px;
    }
    
    .person__cart__info {
        width: 100%;
        flex-direction: column;
        padding: 0;
        gap: 40px;
    }
    
    .col {
        width: 100%;
        gap: 40px;
    }
    
    p.person__status {
        margin: 0 0 20px 0;
    }
    
    .col__bottom {
        gap: 20px;
    }
    
    .description p {
        color: var(--black);
    }
    
    .description {
        gap: 20px;
    }
    
    p.person__name {
        display: none;
    }

    .section__header {
        gap: 40px;
    }

    section.top__media {
        height: 460px;
    }
    
    section.top__media h1.section__title {
        font-size: 1.39em;
        left: 20px;
        bottom: 40px;
    }
    
    .detail__project__top {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .detail__project__top .content {
        gap: 40px;
    }
    
    .section__footer__info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media {
        height: 220px;
    }
    
    .detail__project__media img:nth-child(3n-1), .detail__project__media img:nth-child(3n-2) {
        width: 100%;
        height: 220px;
    }
    
    .detail__project__media img:nth-child(3n) {
        height: 220px;
    }
    
    .slider.swiper {
        height: 220px;
    }
    
    .detail__project__slider .arrow {
        width: 25px;
        height: 25px;
    }
    
    .arrows {
        width: calc(100% - 20px);
    }
    
    .detail__project__slider .arrow svg {
        width: 12px;
        height: auto;
    }
    
    .slider__wrapper {
        height: 220px;
    }
    
    .swiper-slide.process__slider__item {
        width: 280px;
    }
    
    .swiper-slide.process__slider__item img {
        height: 220px;
    }
    
    .swiper-slide.process__slider__item p {
        font-size: 1em;
    }

    section.about {
        margin-bottom: 40px;
    }
    
    .video__wrapper {
        height: 280px;
    }
    
    span.play {
        width: 48px;
        height: 48px;
    }
    
    span.play svg {
        width: 18px;
        height: 18px;
    }
    
    section.market .section__content {
        flex-direction: column;
        gap: 40px;
    }
    
    section.market .section__content .section__content__left, section.market .section__content .section__content__right {
        max-width: 100%;
    }
    
    section.market .section__content .section__content__right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
    
    .content__list {
        width: 100%;
        gap: 20px;
    }
    
    .list__item__text {
        max-width: 100%;
    }
    
    .worth__wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .worth__wrapper .section__content__left {
        width: 100%;
        gap: 40px;
    }
    
    section.worth .content__list__item {
        flex-direction: column;
    }
    
    section.worth .content__list__item .list__item__text {
        max-width: 100%;
    }
    
    .worth__wrapper .section__content__right {
        width: 100%;
    }
    
    .worth__img {
        height: 220px;
        width: 100%;
    }
    
    section.worth .section__content {
        gap: 20px;
    }
    
    .worth__gallery img:nth-child(1), .worth__gallery img:nth-child(2) {
        width: 100%;
        height: 220px;
    }
    
    .worth__gallery img:nth-child(3) {
        height: 220px;
        object-fit: cover;
    }

    .post__container {
        max-width: 100%;
    }
    
    .post__slider .swiper {
        height: 220px;
    }
    
    .post__slider__nav {
        width: calc(100% - 20px);
    }
    
    .post__slider .arrow, .service__accordeon__slider__nav .arrow {
        width: 25px;
        height: 25px;
    }
    
    .post__slider .arrow svg, .service__accordeon__slider__nav .arrow svg {
        width: 12px;
    }

    section.service__work .section__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    section.service__work .section__content .description {
        max-width: 100%;
    }
    
    section.service__work .section__content .section__content__right {
        max-width: 100%;
    }
    
    section.service__work .section__content .section__content__right .content__list {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .service__slide__img {
        width: 50%;
    }
    
    .service__slide__content {
        width: 50%;
        padding: 25px;
        gap: 20px;
    }
    
    .service__slider__wrapper .swiper-slide {
        width: 580px;
        flex-direction: row-reverse;
        gap: 0;
        height: auto;
    }

    .service__accordeon .section__control {
        display: flex;
        width: 100%;
    }
    
    .service__accordeon__slider {
        height: 220px;
    }

    .service__accordeon__body {
        gap: 30px;
    }
    
    section.steps__header {
        margin-bottom: 40px;
    }
    
    .quiz__screen.main .right {
        display: none;
    }
    
    .quiz__screen.main .left {
        width: 100%;
        padding: 45px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }
    
    .quiz__screen.main {
        height: auto;
    }
    
    section.quiz {
        background: var(--white);
    }
    
    .screen__header {
        position: initial;
        gap: 45px;
    }
    
    h3.quiz__screen__title {
        font-size: 1.39em;
        line-height: 1.25;
    }
    
    .screen__info {
        gap: 20px;
    }
    
    button.quiz__btn.btn {
        margin-top: 15px;
        width: 100%;
        height: 47px;
        font-size: 16px;
    }

    .quiz__screen.question {
        gap: 25px;
    }
    
    .quiz__controls button {
        height: 45px;
        width: 100%;
    }
    
    .quiz__controls {
        width: 100%;
    }
    
    .question__list {
        gap: 10px;
    }
    
    .quiz__screen.question.final .right {
        display: none;
    }
    
    .quiz__screen.question.final .left {
        width: 100%;
        padding: 20px 0;
    }
    
    .quiz__screen.question.final .left .quiz__controls {
        margin-top: 40px;
    }
    
    .projects__grid .projects__item:nth-child(2n) .projects__item__poster, .projects__grid .projects__item:nth-child(3n) .projects__item__poster, .projects__grid .projects__item:nth-child(4n) .projects__item__poster {
        height: auto !important;
    }

    .steps__item__header__info {
        gap: 10px;
    }
    
    .steps__item__header {
        padding: 15px 0;
    }
    
    .steps__item__body__inner {
        padding: 0 0 30px 0;
    }
    
    p.header {
        font-size: 1.2em;
    }
    
    .steps__item__header__info span.num {
        font-size: 1em;
        width: 20px;
    }

    .tabs {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
        gap: 10px;
    }

    section.service__accordeon.full span.filter__item {
        display: inline;
    }
    
    section.service__accordeon.full .filter {
        border: none;
        padding: 0;
    }
    
    section.service__accordeon.full span.filter__arrow {
        display: none;
    }
    
    section.service__accordeon.full span.filter__item.disable {
        display: none;
    }

    h2.post__title {
        margin: 10px 0;
    }

    section.blog .section__control {
        display: flex;
    }
}

@media only screen and (max-width: 540px) {
    section.detail__project__process .container {
        padding-left: 12px;
    }

    nav.menu {
        display: none;
    }
    
    a.project__link {
        display: none;
    }
    
    a.logo {
        width: 96px;
        height: 28px;
    }

    header {
        padding: 18px 0;
        height: 65px;
    }
    
    .container {
        max-width: calc(100% - 24px);
        padding-top: 15px;
        gap: 40px;
    }
    
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3px;
        cursor: pointer;
        width: 18px;
        height: 12px;
        position: relative;
    }

    span.line {
        display: flex;
        width: 18px;
        height: 2px;
        background: var(--black);
        border-radius: 2px;
        transition: all .5s ease;
    }
    
    .burger.active span.line:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active span.line:nth-child(1) {
        position: absolute;
        transform: rotate(45deg);
    }
    
    .burger.active span.line:nth-child(3) {
        position: absolute;
        transform: rotate(-45deg);
    }

    .run__word__inner {
        animation: startLine 3s linear, marquee 7s linear 10s infinite;
        gap: 40px;
    }
    
    .run__word__list {
        padding: 30px 0 40px 0;
    }
    
    .area__media {
        height: 220px;
        margin-top: 20px;
    }

    h1.title {
        font-size: 1.5em;
        text-transform: uppercase;
        line-height: 1.1;
    }
    
    h1.title .default:nth-child(1), h1.title .default:nth-child(3) {
        justify-content: left;
        width: 100%;
    }
    
    h1.title .default:nth-child(2) {
        justify-content: right;
    }
    
    h1.title span {
        display: flex;
    }
    
    h1.title .default:nth-child(3) {
        margin-bottom: 25px;
    }
    
    span.little__title {
        font-size: 16px;
    }
    
    span.little__title.mob {
        margin-top: 10px;
    }
    
    .offer {
        padding: 40px 0;
        justify-content: flex-end;
    }
    
    a.btn {
        width: 100%;
    }
    
    a.btn span {
        width: calc(100% - 51px);
    }
    
    .accordeon__mob__media img {
        width: 100%;
        height: 220px;
    }
    
    .accordeon__mob__media a.btn span {
        width: 100%;
    }
    
    section.contacts {
        padding: 45px 0;
    }
    .modal.active {
        transform: translateY(0%);
    }
    
    .modal__nav__wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        padding-top: 65px;
        background: #0000001a;
        backdrop-filter: blur(5px);
    }
    
    header.nav__active {
        z-index: 9999;
    }
    
    .modal__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        justify-content: space-between;
        padding-bottom: 40px;
        gap: 80px;
        background: var(--white);
    }

    .modal__content nav.menu {
        display: flex;
        width: 100%;
    }
    
    .modal__content a.project__link {
        display: flex;
        font-size: 1.28em;
    }
    
    .modal__content nav.menu ul {
        flex-direction: column;
        width: 100%;
    }
    
    .modal__content nav.menu ul li {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 0;
        max-width: 250px;
        width: 100%;
    }
    
    .modal__content nav.menu ul li.active nav.inner {
        display: flex;
        position: initial;
        padding: 0;
        width: 100%;
        transform: none;
    }
    
    .modal__content nav.menu ul li.active nav.inner ul.second__level {
        box-shadow: none;
        background: transparent;
        padding: 0;
        gap: 15px;
    }
    
    .modal__content nav.menu ul li.active nav.inner ul.second__level li a {
        font-size: 1.28em;
        color: #6b6b6b !important;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    
    .modal__content nav.menu ul li a, .modal__content nav.menu ul li span {
        font-size: 1.28em;
        text-align: center;
        color: var(--black) !important;
        font-weight: 450;
    }

    nav.menu ul li:hover > nav.inner {
        display: none;
    }

    .blog__post__info span.icon {
        width: 24px;
        height: 24px;
    }
    
    .swiper-slide.partner__logo {
        /* padding: 20px; */
        font-size: .9em;
    }

    .arrow {
        display: flex;
    }

    .soc__links {
        gap: 12px;
    }
    
    .row {
        flex-direction: column;
        gap: 15px;
    }

    .person__list {
        grid-template-columns: repeat(1, 1fr);
    }
    
    a.person__list__item img {
        display: flex;
        height: 400px;
    }

    .page__form__media {
        display: none;
    }
    
    section.page__form .container {
        max-width: 100%;
    }

    .page__form__wrapper__inner form {
        gap: 25px;
    }

    .page__projects .projects__item .projects__item__poster .projects__item__name, .projects__grid .projects__item .projects__item__poster .projects__item__name {
        position: initial;
        font-size: 1em;
        color: var(--black);
        padding-bottom: 10px;
        border-bottom: 1px solid var(--grey);
    }

    .projects__item__poster {
        height: auto !important;
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .projects__item__poster img {
        height: 220px;
    }
    
    p.params {
        /* display: none; */
        font-size: .88em;
        flex-direction: column;
        gap: 0px;
        color: var(--grey);
    }

    .project__overlay {
        height: 220px;
        background: linear-gradient(0deg, rgba(8,80,107,1) 10%, rgba(19,154,204,0) 50%);
    }
    
    .recent__projects .projects__grid, .projects__grid {
        gap: 40px;
    }

    .reviews__slider .swiper-slide {
        padding: 30px 20px;
    }
    
    .reviews__logo {
        display: flex;
    }
    
    .reviews__text {
        font-size: 18px;
    }

    .reviews__slider {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .swiper {
        width: 100%;
    }
    
    .reviews__arrow {
        gap: 10px;
    }
    
    .reviews__arrow .arrow {
        width: 25px;
        height: 25px;
        background: var(--black);
        border-radius: 50%;
    }
    
    .reviews__arrow .arrow svg {
        width: 12px;
        height: auto;
    }

    a.projects__item__poster:hover > img {
        transform: none;
    }

    .section__control,
    section.blog .blog__control {
        display: none !important;
    }

    section.all__projects .section__control,
    section.blog .section__control {
        display: flex !important;
        width: 100%;
    }
    
    .section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .filter, .category {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border: 1px solid var(--black);
        padding: 16.5px 20px;
        width: 100%;
        position: relative;
        gap: 10px;
    }
    
    .filter__item,
    .category__item {
        display: none;
        order: 2;
    }
    
    .filter__item.active,
    .category__item.active {
        display: inline;
        order: 1;
    }
    
    span.filter__arrow {
        display: flex;
        width: 38px;
        height: 38px;
        position: absolute;
        top: 8px;
        right: 8px;
        background: url(/local/templates/space/img/filter__arrow.svg) no-repeat center;
        transition: all .5s ease;
    }

    .tag__list {
        justify-content: flex-end;
        top: 12px;
        right: 12px;
        gap: 5px;
        flex-wrap: wrap;
        max-width: 80%;
    }
    
    p.projects__item__tag {
        padding: 5px 12px;
    }

    .filter.active span.filter__arrow,
    .category.active span.filter__arrow {
        transform: rotate(180deg);
    }
    
    .filter.active .filter__item,
    .category.active .category__item {
        display: inline;
    }

    a.project__item__name {
        max-width: 90%;
    }

    section.blog.main__blog .section__control {
        display: none !important;
    }

    p.blog__post__title {
        font-size: 1.5em;
        line-height: 1.2;
    }

    .page__contacts .contacts__info__wrapper {
        width: 100%;
    }
    
    .page__contacts .contacts__info__item {
        width: 100%;
    }

    a.btn.top__btn {
        padding: 15px 0;
    }

    .partner__logo__wrapper {
        height: 100px;
        padding: 10px;
    }
}

