@media (min-width: 701px) {

    body:has(.section__hero) .nav__menu ul {
        padding: 0;
        background: transparent;
    }

    body:has(.section__hero) .fixed .nav__menu ul {
        background: #fff;
        padding: 24px;
    }

    .nav__menu ul {
        position: absolute;
        right: 0;
        top: 100%;
        padding: 24px;
        border-radius: 4px;
        background: #fff;
        display: flex;
        z-index: 2;
    }

    .menu-active .nav__menu ul {
        opacity: 1;
        top: calc(100% + 24px);
        visibility: visible;
    }

}

@media (min-width: 1281px) {
    .pol a:hover {
        color: #801F76;
        transition: all .4s ease;
    }

    .footer__form button:hover {
        background: #A52F99;
        transition: all .4s ease;
    }

    .footer__form button:hover img {
        filter: brightness(0) invert(1);
        transition: all .4s ease;
    }

    .top:hover {
        background: #801F76;
        transition: all .4s ease;
    }

    .accordion__header:hover {
        color: #A52F99;
        transition: all .4s ease;
    }

    .btn:hover {
        background: #902985;
        box-shadow: 0 10px 15px -3px rgba(19, 19, 22, .1), 0 4px 6px -2px rgba(19, 19, 22, .05);
        transition: all .4s ease;
    }

    .about__list-content .btn:hover {
        color: #fff;
    }

    .about__list-content .btn:hover img {
        filter: brightness(0) invert(1);
        transition: all .4s ease;
    }

    .breadcrumps span a:hover {
        color: #801F76;
    }

    .btn.wt:hover {
        background: #FFFFFF;
        color: #1B1B18;
    }

    .btn.wt img {
        transition: all .4s ease;
    }

    .btn.wt:hover img {
        transform: rotate(45deg);
        transition: all .4s ease;
    }

    .form input:not([type="submit"]):hover::placeholder,
    .form textarea:hover::placeholder {
        color: #525149;
        transition: all .4s ease;
    }

    .social a:hover {
        box-shadow: 0 10px 15px -3px rgba(19, 19, 22, .1), 0 4px 6px -2px rgba(19, 19, 22, .05);
        transition: all .4s ease;
    }

    .swiper-btn:hover {
        transition: all .4s ease;
        box-shadow: 0 10px 15px -3px rgba(19, 19, 22, .1), 0 4px 6px -2px rgba(19, 19, 22, .05);
    }

    body:not(.menu-active):has(.section__hero) header .logo:hover {
        filter: brightness(1) invert(0);
    }

    .nav__control a:hover,
    .nav__menu ul a:hover,
    .lang a:hover {
        color: #A52F99 !important;
        transition: all .8s ease;
    }

    .footer a:not(.med):not(.btn):hover {
        color: #A52F99 !important;
        transition: all .8s ease;
    }

    .footer a:not(.med):not(.btn):hover span {
        background: #A52F99;
        transition: all .8s ease;
    }

    .footer a:not(.med):not(.btn):hover span img {
        filter: brightness(0) invert(1);
    }

    .footer__main .tel:hover {
        font-weight: 600 !important;
        color: #A52F99;
        transition: all .4s ease;
    }

    .footer__main > div > a:not(.tel):hover {
        color: #A52F99;
        transition: all .4s ease;
    }

    .footer__item:hover span img {
        transform: rotate(45deg);
        transition: all .4s ease;
    }

    .modal .close:hover {
        transform: rotate(180deg);
        filter: brightness(0);
    }

    .hero__btns .btn:nth-child(1):hover {
        background: #A52F99;
        border-color: #A52F99;
    }

    .blog__header a:hover {
        background: #A52F99 !important;
        color: #fff !important;
    }

    .blog__header a.active:hover {
        color: #fff;
        background: #8E2483;
    }

    .blog__item:hover .h6 {
        color: #A52F99;
        transition: all .4s ease;
    }

    .bottom a:hover::after {
        transform: rotate(45deg);
        transition: all .4s ease;
    }

    .pagination a:hover {
        background: #A52F99;
        color: #fff;
        transition: all .4s ease;
    }

    .pagination a:hover img {
        filter: brightness(0) invert(1);
        transition: all .4s ease;
    }

    .services__list ul a:hover {
        color: #A52F99;
        transition: all .4s ease;
    }

    .services__list ul a:hover::before {
        color: #1B1B18;
        transition: all .4s ease;
    }

    .services__item:hover .h4,
    .dod__item:hover .h6 {
        color: #A52F99;
        transition: all .4s ease;
    }

    .services__item:hover button,
    .dod__item:hover button,
    .services__item:hover > div > a {
        background: #A52F99;
        transition: all .4s ease;
    }

    .services__item:hover button img,
    .dod__item:hover button img,
    .services__item:hover > div > a img {
        filter: brightness(0) invert(1);
        transition: all .4s ease;
    }

    .swiper2 .swiper-slide:hover {
        border-color: #A52F99;
        transition: all .4s ease;
    }

    .proj .btn:hover,
    .ser__btns .btn:nth-child(2):hover {
        color: #801F76;
        transition: all .8s ease;
    }

    .tabs__header span:hover {
        color: #A52F99;
        transition: all .4s ease;
    }

    .res__item:hover .btn {
        background: #A52F99;
        transition: all .4s ease;
    }

    .swiper1.items .swiper-slide:hover .work__content .btn {
        background: #A52F99;
    }

    .swiper1.items .swiper-slide:hover .work__content .btn img {
        filter: brightness(0) invert(1);
    }

    .res__item:hover .btn img {
        filter: brightness(0) invert(1);
        transition: all .4s ease;
    }

    main:has(.section__gar) .task__item:hover .btn {
        background: #A52F99;
    }

    main:has(.section__gar) .task__item:hover .btn img {
        filter: brightness(0) invert(1);
    }

    .contact__item a:hover span,
    a.contact__item:hover span {
        color: #A52F99;
        transition: all .4s ease;
    }

}

@media (max-width: 1900px) {
    .footer__items {
        width: calc(100% + 33px);
        margin-right: -33px;
    }

    .footer__pol {
        width: calc(100% + 40px);
        margin-right: -30px;
        margin-left: -10px;
    }

    .footer__pol::before {
        content: '';
        position: absolute;
        top: 0;
        height: 100%;
        left: 50%;
        width: 100vw;
        background: #fff;
        z-index: -1;
        transform: translate(-50%, 0);
    }

    .lang-en .hero h1 {
        height: 270px;
    }
}

@media (max-width: 1600px) {

    /* Footer */
    .footer__main > div:not(.footer__items) {
        width: calc(100% - 328px);
    }

    .footer__main > div:not(.footer__items):nth-child(2) {
        width: 296px;
    }

    /* Services */
    .services__list {
        width: 416px;
    }

    .services__items {
        width: calc(100% - 416px);
    }

    /* Article */
    .article .pol__header,
    .article .pol__content {
        max-width: 896px;
    }

    .article__header-img {
        width: calc(100% - 950px);
    }

    .lang-en .hero h1 {
        height: 240px;
    }

}

@media (max-width: 1440px) {

    /* Hero */
    .hero h1 {
        height: 250px;
    }

    .lang-en .hero h1 {
        height: 230px;
    }

    .hero__btns {
        margin-bottom: -25px;
    }

    .hero h1 span {
        font-size: 56px;
        top: -150px;
    }

    /* Pol */
    .pol__content,
    .pol__header {
        max-width: 896px;
    }

    .pol__content {
        padding-right: 115px;
    }

    /* Proj */
    .section__proj .container > img {
        width: 480px;
    }

    .section__proj .container .proj {
        width: calc(100% - 480px);
    }

    .top {
        width: 48px;
        height: 48px;
    }

}

@media (max-width: 1440px) and (min-width: 1281px) {

    /* Work */
    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__content {
        width: calc(716px + (840 - 716) * ((100vw - 992px) / (1212 - 992)));
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__img {
        width: calc(200px + (330 - 200) * ((100vw - 992px) / (1212 - 992)));
    }
}

@media (max-width: 1330px) {

    /* About */
    .about__content {
        max-width: 840px;
        width: 100%;
    }

    /* Res */
    .res__items,
    .task__items {
        max-width: 840px;
    }

    /* way */
    .way__swiper .swiper-slide ul {
        max-width: 840px;
    }

    .spanScroll .header .h2 {
        margin-left: auto;
    }
}

@media (max-width: 1280px) {

    /* Hero */
    .hero__btns {
        margin-bottom: -50px;
    }

    /* Footer */
    .footer__logo,
    .footer__main {
        width: 100%;
    }

    .footer__main {
        border-left: none;
        border-top: 1px solid #DBD8C4;
        width: calc(100% + 64px);
        margin: 32px -32px 0;
        padding: 32px 32px 0;
    }

    .footer__main > div:not(.footer__items):nth-child(1) {
        padding-left: 0;
    }

    .footer__pol {
        width: 100%;
        margin-right: 0px;
        margin-left: 0px;
    }

    .footer__pol li {
        width: 50%;
    }

    .footer__pol li:nth-child(2n+2) {
        border-right: none;
    }

    .footer__pol li a {
        justify-content: flex-start;
        text-align: left;
        padding: 32px;
    }

    .footer__copy p {
        width: 50%;
    }

    .footer__copy a {
        width: 50%;
        border-left: none;
    }

    .footer__items {
        width: calc(100% + 66px);
        margin: 32px -33px 0;
    }

    /* Blog */
    .blog__items > div {
        width: 33.3%;
    }

    .blog__items > div:nth-child(n+4) {
        display: none;
    }

    main:has(>.section__blog:first-of-type) .blog__items > div {
        display: block !important;
    }

    /* Services */
    .services__list {
        display: none;
    }

    .services__items {
        width: 100%;
    }

    .about__logo {
        display: none;
    }

    /* Work */
    .work__content {
        width: calc(716px + (840 - 716) * ((100vw - 992px) / (1212 - 992)));
    }

    .task__items {
        max-width: calc(686px + (810 - 686) * ((100vw - 992px) / (1212 - 992)));
    }

    .work__img {
        width: calc(190px + (300 - 190) * ((100vw - 992px) / (1212 - 992)));
    }

    .work__swiper:has(.res__item)::before {
        content: unset;
    }

    .work__swiper:has(.res__item) .swiper2 {
        display: none;
    }

    .work__swiper:has(.res__item) .swiper1 {
        width: 100%;
    }

    .work:has(.proc) .header {
        margin-bottom: 32px !important;
    }

    /* Res */
    .res__container {
        flex-direction: column;
    }

    .res__items {
        max-width: 100%;
        /* top: 96px; */
        margin-top: 32px;
    }

    .tabs__header {
        width: 100%;
        flex-direction: row;
    }

    .tabs__header span {
        width: calc(50% - 32px);
        border-bottom: none;
        border-right: 1px dashed #F1F0E8;
    }

    .tabs__header span:last-child {
        border-right: none;
        width: calc(50% + 32px);
        padding-left: 64px;
    }

    /* Article */
    .article .pol__header,
    .article .pol__content {
        max-width: 700px;
    }

    .article__header-img {
        width: calc(100% - 764px);
    }

    /* way */
    .way__swiper .swiper-slide ul {
        margin-left: 48px;
    }

    .about__list-container {
        flex-direction: column;
    }

    .about__list-container .about__list {
        width: 100%;
        margin: 0;
    }

    .about__list-container .about__list .h6 {
        margin-bottom: 48px;
    }

    .about__list-content .btn {
        margin-bottom: 28px;
    }

    /* info */
    .about__container {
        flex-direction: column-reverse;
    }

    .info__aside {
        width: 100%;
    }

    .info__content {
        width: 100%;
    }

    .info__content .about__content .about__list {
        margin-left: 0;
        width: 100%;
    }

    .info__content .about__content:nth-child(n+2)::before {
        left: 0;
        width: 100%;
    }

    .info__content .about__content:nth-child(2n+2)::after {
        left: -30px;
    }

}

@media (max-width: 1212px) {

    /* About */
    .about__content {
        max-width: calc(686px + (840 - 686) * ((100vw - 992px) / (1212 - 992)));
    }

    .spanScroll .header .h2 {
        margin-left: 25%;
    }
}

@media (max-width: 1170px) {

    /* Hero */
    .hero h1 {
        height: 240px;
    }

    .hero__btns {
        margin-bottom: -75px;
    }

    .hero h1 span {
        font-size: 32px;
        top: -160px;
    }

    .lang-en .hero h1 {
        height: 210px;
        margin-top: 30px;
    }

    .lang-en .hero h1 span {
        top: -140px;
    }

    .nav__control {
        position: relative;
        top: 0;
        left: 0;
        transform: unset;
    }

    .nav__menu ul {
        position: fixed;
        right: 30px;
        top: 88px !important;
        z-index: 19;
        width: 240px;
        padding-top: 52px !important;
    }

    body:has(.section__hero) header:not(.fixed) .nav__menu ul {
        top: 32px !important;
        padding-top: 0 !;
    }

    .nav__menu {
        margin: 0;
    }

    .nav__menu .search {
        display: flex;
        position: fixed;
        top: 88px;
        right: 32px;
        width: 240px;
        z-index: 20;
        transition: all .4s all;
        opacity: 0;
        visibility: hidden;
    }

    .menu-active .nav__menu .search {
        opacity: 1;
        visibility: visible;
        transition: all .4s all;
    }

    body:not(.menu-active):has(.section__hero) header .nav {
        align-items: center;
    }
}

@media (max-width: 1110px) {

    /* Default */
    h1,
    .h2,
    h2 {
        font-size: 36px;
    }

    h4,
    .h4 {
        font-size: 24px;
    }

    /* Footer */
    .footer__item {
        width: 50%;
        height: unset;
    }

    .footer__item p {
        margin-bottom: 32px;
    }

    .footer__item:nth-child(3n+3) {
        border-right: 1px solid #DBD8C4;
    }

    .footer__item:nth-child(2n+2) {
        border-right: none;
    }

    /* Article */
    .article .pol__header,
    .article .pol__content {
        max-width: 100%;
        padding: 0;
    }

    .article__header {
        flex-direction: column;
    }

    .article__header-img {
        width: 224px;
        margin-bottom: 16px;
    }

    /* Gar */
    .gar__swiper {
        overflow: unset;
    }

    /* Ser */
    .ser .header {
        flex-direction: column;
    }

    .ser .header .h2 {
        max-width: 100%;
    }

    .ser__content {
        max-width: 100%;
        margin-left: 0;
    }

}

@media (max-width: 992px) {

    /* Default */
    #smooth-content {
        padding-bottom: 0;
    }

    /* Hero */
    .hero h1 {
        height: 235px;
    }

    .hero__btns {
        margin-bottom: -100px;
    }

    .hero h1 span {
        font-size: 26px;
        top: -170px;
    }

    /* Footer */
    .footer__main > div:not(.footer__items):nth-child(2) {
        width: 100%;
    }

    .footer__main .wpcf7 {
        margin: 24px 0;
    }

    .footer__main > div:not(.footer__items) {
        width: 100%;
        margin: 0;
    }

    .footer__main .social {
        margin-top: 348px;
    }

    .footer__main:has(.wpcf7-response-output) .social {
        margin-top: 388px;
    }

    .footer__main > div:not(.footer__items):nth-child(2) {
        position: relative;
        top: -368px;
        height: 0;
    }

    .footer__main > div:not(.footer__items):nth-child(2):has(.wpcf7-response-output) {
        top: -410px;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__img {
        width: calc(100% - 450px);
    }

    /* Feat */
    .header {
        flex-direction: column;
    }

    .header .h2 {
        max-width: 100%;
    }

    .header span {
        width: 100%;
        margin-top: 0;
        margin-bottom: 16px;
    }

    .about__list-content .btn {
        margin-bottom: 0;
    }

    .spanScroll .header span {
        position: relative;
        top: 0 !important;
        left: 0 !important;
        padding-bottom: 0 !important;
    }

    .about.spanScroll .header span {
        padding-bottom: 0px;
    }

    .spanScroll .header .h2 {
        margin-left: 0;
    }

    .feat__items > div {
        width: 100%;
    }

    .anim-logo-wrap {
        display: none;
    }

    /* Blog */
    .blog__items > div {
        width: 50%;
    }

    /* Change in prod */
    .blog__items > div:nth-child(1) {
        display: none;
    }

    /* Dod */
    .dod__items > div {
        width: 100%;
    }

    .dod__img img {
        display: none;
    }

    /* About */
    .about__container {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 32px;
    }

    .about .header {
        margin-bottom: 32px;
    }

    .about__content {
        max-width: 100%;
    }

    .about__content:has(.about__list) {
        margin-top: -20px;
    }

    .about__list {
        width: 100%;
        margin-left: 0;
        margin-top: 16px;
    }

    /* Work */
    .swiper1 .swiper-slide {
        flex-direction: column-reverse;
    }

    .work__content {
        width: 100%;
    }

    .work__img {
        width: 100%;
        height: 320px;
    }

    .work .swiper-btns {
        bottom: 360px;
    }

    .work__swiper:has(.res__item) .swiper1 .swiper-slide {
        flex-direction: row;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide {
        flex-direction: column-reverse;
    }

    /* Pol */
    .pol__content {
        padding-right: 0;
    }

    .pol .blog__line {
        margin: 50px 0 64px;
    }

    /* Proj */
    .section__proj .container > img {
        width: 256px;
    }

    .section__proj .container .proj {
        width: calc(100% - 256px);
    }

    /* Task */
    .task__items {
        max-width: 100%;
    }

    .task__items.items {
        max-width: unset;
        width: calc(100% + 8px);
        margin-left: -4px;
    }

    /* Contact */
    .contact__item a {
        width: 100%;
    }

    /* Proc */
    .section__proc .about__logo {
        display: none;
    }

    /* Team */
    .team__items > div {
        width: 50%;
    }

    /* faq */
    .accordion {
        max-width: 100%;
        margin-top: 32px;
        display: inline-block;
    }

    /* info */
    .info__content .about__content:nth-child(2n+2)::after {
        height: calc(100% + 128px);
        top: -64px;
    }

    .info__content .about__content {
        margin-top: 128px;
    }

    .feat__item {
        height: 260px;
    }

    .about__logo {
        display: none;
    }

    .section__work:has(.swiper1) .swiper2 {
        overflow: unset;
    }

    .section__work:has(.swiper1) .swiper2 .swiper-slide {
        height: 144px;
        padding: 27px 32px;
    }

    .dod__img {
        background-attachment: unset !important;
    }

    .way__swiper .swiper-slide {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 48px;
    }

    .way__swiper .swiper-slide ul {
        max-width: 100%;
        margin-left: 0;
    }

    .section__proj .container {
        gap: 20px;
    }

    .section__proj .container .proj {
        width: calc(100% - 276px);
    }

    .nav .search {
        position: fixed;
        right: 80px;
        z-index: 99;
    }

    .burger {
        margin-left: 60px;
    }

}

@media (max-width: 768px) {

    /* Default */
    .container {
        padding: 0 16px;
    }

    .nav .search {
        right: 65px;
    }

    /* Footer */
    .footer__item {
        width: 100%;
        border-right: none !important;
    }

    .footer__item:has(>img) {
        display: none;
    }

    .footer {
        padding: 0 32px;
    }

    /* Feat */
    .feat__items {
        width: calc(100% + 32px);
        margin: 0 -16px;
    }

    /* Services */
    .services__item {
        flex-direction: column;
    }

    .services__item > div {
        padding: 32px 16px;
        height: fit-content !important;
    }

    .services__item button,
    .services__item > div > a {
        margin-top: 24px;
    }

    .services__item > img {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 384px !important;
        border-radius: 0 0 4px 4px;
    }

    /* Contact */
    .contact__items > div {
        width: 100%;
    }

    .swiper1.items > div {
        width: 100%;
    }

    .swiper1.items > div:nth-child(n+2) {
        display: none;
    }

    .swiper1.items .work__img {
        margin-bottom: 32px;
    }

    .swiper2 .swiper-slide {
        height: 166px;
        padding: 0;
    }

    .top {
        right: 16px;
        bottom: 16px;
        width: 36px;
        height: 36px;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__img {
        width: calc(100% - 400px);
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__content .h4,
    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__content p {
        max-width: 380px;
        width: 100%;
    }
}

@media (max-width: 700px) {

    /* About */
    .about__items > div {
        width: 50%;
    }

    /* Proj */
    .section__proj .container > img {
        width: 100%;
        height: auto;
    }

    .section__proj .container .proj {
        width: 100%;
        padding-bottom: 32px;
    }

    .task__item .h6 {
        height: fit-content !important;
    }

    main:has(.section__gar) .task__items > div {
        width: 100%;
    }

    /* Nav */
    .nav__control a {
        display: none;
    }

    .nav__control {
        margin-left: auto;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all .4s ease;
        background: #F1F0E8;
        padding: 76px 16px 16px;
        flex-direction: column;
        z-index: -1;
    }

    .nav__menu .search {
        position: relative;
        top: 0;
        width: 100%;
        right: 0;
        margin: 8px 0 16px;
        min-height: 40px;
    }

    .nav__menu::before {
        content: '';
        width: 100%;
        top: 0;
        left: 0;
        position: fixed;
        height: 76px;
        background: #F1F0E8;
        z-index: 2;
    }

    .menu-active,
    html:has(.menu-active) {
        overflow: hidden;
    }

    .menu-active .nav__menu {
        opacity: 1;
        visibility: visible;
        z-index: 0;
        transition: all .4s ease;
    }

    .nav__menu ul {
        position: relative;
        top: 0 !important;
        padding-top: 0 !important;
        right: 0 !important;
        opacity: 0;
        visibility: hidden;
        order: 1;
        text-align: left;
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .menu-active .nav__menu ul {
        opacity: 1;
        visibility: visible;
    }

    .nav__menu ul a {
        font-size: 24px;
    }

    .nav__menu .lang {
        order: 2;
        margin: 0 0 auto;
    }

    .nav__menu .hero__btns {
        order: 3;
        width: 100%;
        display: flex;
        margin-bottom: 0px;
        margin-top: 24px;
        order: 3;
        flex-direction: column;
        width: 100%;
    }

    body:has(.section__hero) header:not(.fixed) .nav__control {
        opacity: 1;
        visibility: visible;
    }

    header,
    header.fixed {
        padding: 22px 0;
    }

    body:has(.zaglusha) .footer__main .tel {
        font-size: 20px;
    }

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

    /* Hero */
    .hero h1 {
        height: 230px;
        order: 1;
    }

    .hero__btns {
        margin-bottom: 0px;
        margin-top: 24px;
        order: 3;
        flex-direction: column;
        width: 100%;
    }

    .hero h1 span {
        font-size: 24px;
        top: -180px;
    }

    .hero__tel {
        width: 100%;
        margin-top: 16px;
        position: relative;
        bottom: 0;
        right: 0;
        order: 2;
    }

    .section__proj .container {
        height: fit-content;
        min-height: unset;
        max-height: unset;
    }

    .task__items.items > div {
        width: 100%;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__content {
        min-height: fit-content;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__img {
        margin-top: 0;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__content .h4,
    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__content p {
        max-width: 100%;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__content {
        margin-bottom: 50px;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__img {
        width: 100%;
    }

    .work__swiper:has(.proc) .swiper-btns {
        bottom: 310px !important;
        right: auto !important;
        left: 0;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__content .num {
        position: relative;
        width: 100%;
        margin-bottom: 16px;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide {
        flex-direction: column-reverse;
    }

}

@media (max-width: 650px) {

    /* Footer */
    .footer__pol,
    .footer__copy {
        width: calc(100% + 64px);
        margin: 0 -32px;
    }

    .footer__pol li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #DBD8C4;
    }

    .footer__pol li:last-child {
        border-bottom: none;
    }

    .footer__copy p {
        border-bottom: 1px solid #DBD8C4;
    }

    .footer__copy p,
    .footer__copy a {
        width: 100%;
        padding: 16px 32px;
    }

    .footer__main .tel {
        font-size: 20px;
    }

}

@media (max-width: 600px) {

    /* Default */
    body {
        font: 14px "Google Sans", sans-serif;
        line-height: 1.4;
    }

    .h2,
    h2,
    h1 {
        font-size: 30px;
    }

    .h3,
    h3 {
        font-size: 24px;
    }

    .h4,
    h4 {
        font-size: 20px;
    }

    .h5,
    h5 {
        font-size: 18px;
    }

    section {
        padding: 32px 0;
    }

    .section__cowork {
        padding-bottom: 64px;
    }

    .section__feat {
        padding-top: 64px;
    }

    .section__blog {
        padding-top: 64px;
    }

    .about__list {
        padding: 24px 16px;
    }

    main:has(.section__proj) .section__services {
        padding-top: 64px;
    }

    .section__dod {
        padding: 32px 0 0;
    }

    .section__about {
        padding-top: 64px;
    }

    .section__work:has(.swiper2),
    .section__work:has(.swiper1.items) {
        padding: 64px 0;
        margin-top: 32px;
    }

    main:has(.swiper1.items) .section__cowork {
        margin-top: 32px;
    }

    .section__res {
        padding-top: 64px;
    }

    .section__map {
        padding: 64px 0 32px;
        margin-top: 32px;
    }

    .section__task {
        padding-top: 64px;
    }

    .section__task:has(.dod__img) {
        padding: 32px 0 0;
    }

    main:has(.section__contact) .section__map {
        margin-top: 0;
        padding: 32px 0;
    }

    main:has(.section__gallery) .section__way {
        padding: 64px 0 0;
        margin-top: 32px;
    }

    .section__faq {
        margin-top: 32px;
    }

    .section__pol {
        padding: 32px 0 64px;
    }

    .section__error {
        padding: 64px 0 32px;
    }

    .section__gar,
    main:has(.section__gar) .section__about {
        margin-top: 32px;
    }

    body:has(.section__hero).menu-active header .logo {
        filter: brightness(1) invert(0);
    }

    body:has(.section__hero) header a:not(.btn) {
        color: #181818;
        transition: all .4s ease;
    }

    .services__item p {
        display: none;
    }

    /* Modal */
    .form > p {
        width: 100%;
    }

    .modal > p {
        font-size: 16px;
    }

    /* cowork */
    .cowork {
        padding: 64px 16px;
    }

    /* Feat */
    .feat__item {
        height: 200px;
        padding: 32px 16px;
    }

    .feat__item p {
        display: none;
    }

    .feat__item .h6 {
        margin-bottom: 0;
    }

    /* Blog */
    .blog__items > div {
        width: 100%;
    }

    .bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 32px;
    }

    .blog__line {
        margin-bottom: 72px;
    }

    main:has(>.section__blog:first-of-type) .blog__items > div {
        padding-bottom: 48px;
    }

    /* Work */
    .work__content {
        padding: 32px 16px;
    }

    .work__content p {
        font-size: 16px;
        -webkit-line-clamp: 8;
    }

    .work__swiper:has(.res__item) .swiper1 .swiper-slide {
        flex-direction: column;
        height: fit-content;
    }

    .work__swiper:has(.res__item) .swiper1 .swiper-slide .work__img {
        min-height: 218px;
    }

    .work__control {
        flex-direction: column-reverse;
        margin-top: 32px;
    }

    .work__control .bottom {
        width: 100%;
        margin-top: 32px;
    }

    /* Error */
    .section__error {
        padding: 128px 0 16px;
    }

    /* Pol */
    .pol {
        font-size: 16px;
    }

    /* Proj */
    .section__proj > img:not(.blog__line) {
        height: calc(100vh - 400px);
        min-height: 256px;
    }

    .proj {
        padding: 32px 16px;
        position: relative;
        bottom: 0;
    }

    .section__proj {
        padding: 0;
        max-height: fit-content;
        height: fit-content;
        min-height: fit-content;
    }

    .proj p {
        padding-right: 32px;
    }

    /* Res */
    /* .res__items {
        top: 200px;
    } */

    .tabs__header {
        flex-direction: column;
    }

    .tabs__header span {
        width: 100% !important;
        border-bottom: 1px dashed #F1F0E8;
        border-right: none;
    }

    .tabs__header span:last-child {
        padding-left: 18px;
    }

    .res__item {
        flex-direction: column;
        height: fit-content;
    }

    .swiper1:has(.res__item) {
        align-items: flex-end !important;
    }

    .swiper1:has(.res__item),
    .swiper1:has(.res__item) .swiper-slide {
        height: fit-content !important;
    }

    .res__item .work__img {
        width: 100%;
        height: 250px !important;
        border-right: none;
        border-radius: 4px 4px 0 0;
        border-bottom: 1px solid #DBD8C4;
    }

    .res__item .work__content span {
        margin-bottom: 48px;
    }

    .res__item .work__content .btn {
        margin-top: 0;
    }

    .section__res {
        padding-top: 64px;
    }

    /* Map */
    .section__map {
        margin-top: 32px;
        padding: 64px 0 32px;
    }

    .map__link:has(.map__content) {
        min-height: 347px;
    }

    .map__link:has(.map__content) > img {
        min-height: 347px;
    }

    .map__content {
        position: relative;
        left: 0;
        bottom: 0;
        margin: 24px 32px 0;
        max-width: calc(100% - 64px);
    }

    /* Team */
    .team__items > div {
        width: 100%;
    }

    main:has(.section__team) .task__items > div {
        width: 100%;
    }

    main:has(.section__team) .task__item-img {
        margin-bottom: 32px;
    }

    /* way */
    .way__swiper .swiper-slide {
        flex-direction: column;
        gap: 32px;
    }

    .way__swiper .swiper-slide span {
        font-size: 24px;
    }

    .way__swiper .swiper-btns {
        position: relative;
        margin-top: 32px;
    }

    /* faq */
    .accordion__header {
        padding: 24px 16px;
        font-size: 16px;
    }

    .accordion__content {
        padding: 0 16px;
    }

    .accordion__item.active .accordion__content {
        padding: 0 16px 24px;
        margin-top: -15px;
    }

    .services__item > img {
        height: 240px !important;
    }

    .section__work:has(.swiper1) .swiper2 .swiper-slide {
        height: fit-content;
        padding: 22px 16px;
    }

    .section__work:has(.swiper1) .swiper2 .swiper-slide img {
        height: 40px;
        width: fit-content;
    }

    .work__review {
        display: none;
    }

    .work__content span {
        width: 100%;
    }

    .work__content .btn {
        margin-top: 12px;
    }

    .work .swiper-btns {
        right: 16px;
    }

    .blog__item p {
        display: none;
    }

    .footer__item p {
        /* display: none; */
        margin-bottom: 0;
    }

    .footer__item span {
        margin-top: 32px;
    }

    .work__control .swiper-btns {
        right: 0;
    }

    main:has(.section__task) .feat__item {
        height: 224px;
    }

    main:has(.section__task) .feat__items p {
        display: block;
        margin-top: 8px;
    }

    .nav .search {
        position: fixed;
        right: 65px;
        z-index: 99;
    }

    .nav .search.active {
        width: calc(100% - 80px);
    }
}

@media (max-width: 520px) {
    .work__img {
        min-height: 300px;
    }

    .work .swiper-btns {
        bottom: 340px;
    }

    /* Ser */
    .ser__btns {
        flex-direction: column;
    }

}

@media (max-width: 480px) {

    /* cowork */
    .cowork .h3 br {
        display: block;
    }

    /* About */
    .about__items > div {
        width: 100%;
    }

    /* Pol */
    .pol h1 {
        font-size: 24px;
    }

    .work__swiper:has(.proc) .swiper1 .swiper-slide .work__img {
        min-height: 170px !important;
        height: 170px !important;
    }

    .work__swiper:has(.proc) .swiper-btns {
        bottom: 200px !important;
    }

    .zaglusha p {
        font-size: 14px;
    }

    body:has(.zaglusha) .footer__main .tel {
        font-size: 18px;
    }

    .h2,
    h2,
    h1 {
        font-size: 24px;
    }

    .breadcrumps span > span {
        display: none;
    }

    .breadcrumps span > span:has(a):nth-last-child(2) {
        display: inline-flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .breadcrumps span > span:has(a):nth-last-child(2)::after {
        content: '';
        width: 4px;
        height: 8px;
        transform: rotate(180deg);
        margin-bottom: 2px;
        filter: brightness(0) saturate(100%) invert(23%) sepia(43%) saturate(3828%) hue-rotate(285deg) brightness(92%) contrast(87%);
        background: url(../img/swiper-arrow.svg) center center / 100% 100% no-repeat;
    }
}

@media (max-width: 440px) {
    .hero h1 span {
        top: -160px;
    }

    .hero h1 {
        height: 250px;
    }

    .services__item > img {
        height: 180px !important;
    }

    .contact__item span {
        font-size: 16px;
    }
}

@media (max-width: 400px) {

    .footer__main:has(.wpcf7-response-output) .social {
        margin-top: 408px;
    }

    .footer__main > div:not(.footer__items):nth-child(2):has(.wpcf7-response-output) {
        top: -430px;
    }

}