@media (min-width: 1240px) {
    .directions__img-wrapper, .directions__item-title, .directions__item-description {
        display: none;
    }
    .directions__list, .directions__text {
        flex-direction: column;
        width: 760px;
        gap: 0;
    }

    .directions__text {
        padding-left: 15px;
    }

    .directions__items {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        position: relative;
    }

    .directions__link {
        display: block;
        background-image: none;
        color: #fff;
        font-size: 18px;
        line-height: 24px;
        font-weight: 400;
        cursor: pointer;
        width: 100%;
        padding: 20px 15px;
        border-radius: 5px;
        position: relative;
    }

    .directions__link::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 15px;
        width: calc(100% - 30px);
        height: 1px;
        background-color: #141E39;
    }

    .directions__link:hover {
        background-color: #3985F7;
        color: #fff;
    }

    .directions__link:hover::after {
        display: none;
    }

    .directions__item {
        width: 100%;
        padding: 0;
    }

    .directions__tooltip {
        display: block;
        position: absolute;
        left: 0;
        width: 260px;
    }

    .directions__tooltip .directions__img-wrapper, .directions__tooltip .directions__item-description {
        display: block;
    }

}

@media (max-width: 1240px){
    .direction-content__container, .about-content__container {
        padding: 60px 20px;
    }
    .hero__callback {
        right: 20px;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__content {
        width: 585px;
        padding-right: 60px;
    }

    .company-values__wrapper {
        padding: 60px 20px;
    }

    .company-values__tabs {
        width: 630px;
        max-width: calc(100% - 300px);
    }

    .header__menu-toggle {
        display: block;
        width: 32px;
        height: 32px;
        background: url('../img/menu.svg') 50% 50% no-repeat;
        cursor: pointer;
    }

    .header__nav {
        display: none;
    }

    .parners__text {
        width: 480px;
    }

    .directions__title {
        width: 25%;
    }

    .directions__text {
        width: 630px;
    }

    .services__container {
        padding: 40px 20px;
    }

    .services__list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .services__item {
        width: 48%;
    }

    .services__item span {
        background: url('../img/link.svg') -5px 50% no-repeat;
    }

    .services__link {
        padding-left: 105px;
    }
    .footer__logo img {
        max-width: 200px;
        width: 100%;
    }
    .footer__email {
        margin-top: 15px;
    }
    .footer__contacts-about a {
        font-size: 15px;
        color: #fff;
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 20px;
        text-decoration: none;
    
    }
    .footer__wrapper {
        flex-direction: column;
    }
    .footer__phone {
        margin-bottom: 0;
    }
    .footer__phone {
        margin-top: 20px;
    }
    .copyright-wrapper {
        margin-top: 13px;
    }

    .footer__left {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 38px;
    }

    .footer__contacts-social {
        margin-top: 0;
    }

    .callback__container {
        padding: 40px 20px;
    }

    .project-slide .container {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 60px 20px;
        gap: 220px;
        justify-content: stretch;
    }

    .project-slide__attributes {
        width: calc(100% - 200px);
        gap: 20px;
    }

    .project-slide__content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        align-items: flex-end;
    }

    .project-slide__title {
        width: 51%;
    }

    .project-slide__description {
        width: 50%;
        margin-bottom: 0;
    }

    .service-hero__text, .service-hero__img, .service-content__img, .service-content__content {
        width: calc(50% - 20px);
    }

}

@media (max-width: 960px){
    .direction-content__container {
        flex-direction: column;
    }

    .about-content__container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about-content__title {
        margin-bottom: 0;
    }

    .direction-content__img {
        width: 100%;
    }

    .cases__list-item {
        width: 48%;
    }

    .partners-list__open {
        color: #89B8FF;
    }

    .directions__bg {
        display: none;
    }

    .projects__slider .swiper-navigation {
        top: 40%;
    }
}

@media (max-width: 768px){

    .about-content__container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .project-hero__content, .project__attributes {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .partners-list__wrapper {
        height: 415px;   
    }

    .contacts-content__container {
        flex-direction: column;
    }

    .contacts-content__column {
        width: 100%;
    }

    .project-hero__content > div, .project__attribute {
        width: 100%;
    }

    .project-slide__attributes {
        display: none;
    }

    .service-hero__content, .service-content .container {
        flex-direction: column;
    }

    .service-hero__text, .service-hero__img, .service-content__img, .service-content__content {
        width: 100%;
    }

    .service .hero__description {
        padding-right: 0;
    }

    .project-slide .container {
        padding-top: 410px
    }

    .project-slide__content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }

    .project-slide__title, .project-slide__description {
        width: 100%;
    }

    .project-slide__description {
        margin-bottom: 20px;
    }

    .offices__list {
        flex-direction: row;
    }

    .callback__offices {
        width: 100%;
    }

    .offices__item {
        width: calc(50% - 20px);
    }

    .callback__container {
        flex-direction: column;
    }

    .hero__content {
        padding-top: 350px;
        padding-bottom: 60px;
    }

    .hero__callback {
        bottom: 60px;
    }

    .services__list {
        flex-direction: column;
    }

    .services__item {
        width: 100%;
    }

    .services__content, .steps__content {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .services__text {
        width: 100%;
        max-width: 100%;
    }
    

    .header__contacts, .header__langs {
        display: none;
    }

    .company-values__wrapper {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .mobile-menu::before {
        height: 100%;
    }

    .company-values__value {
        display: none;
    }

    .company-values__tabs {
        width: 100%;
        max-width: 100%;
    }

    .parners__content {
        flex-direction: column;
        gap: 30px;
    }

    .parners__text {
        width: 100%;
    }

    .directions__text {
        width: 100%;
    }

    .directions__list {
        justify-content: space-between;
    }

    .directions__item {
        width: 48%;
    }

    .directions__content {
        flex-direction: column;
        gap: 30px;
    }

    .directions {
        padding-bottom: 60px;
    }

    .footer__columns {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer__columns > .footer__column {
        width: calc(50% - 20px);
    }

    .footer-cl__wrapper-bottom {
        display: none;
    }

    .footer-cl__wrapper {
        width: 100%;
        gap: 20px;
    }

    .footer-cl__wrapper .footer__contacts-about, .footer-cl__wrapper .footer__contacts-contacts, .footer-cl__wrapper .footer__contacts-contacts > * {
        display: block;
    }

    .footer-cl__column {
        width: 48%;
    }

    .footer-cl {
        width: 100%;
    }

    .footer__contacts-about a, .copyright-wrapper__item {
        text-align: left;
    }

    .footer__column-title_link {
        margin-bottom: 30px;
    }
}

@media (max-width: 600px){

    .project__hero .breadcrumbs {
        margin-bottom: 40px;
    }

    .contacts-content__item {
        margin-bottom: 15px;
    }

    .contacts-content__container {
        gap: 30px;
    }

    .company-values__subtitle, .partners__subtitle, .directions__subtitle, .services__subtitle, .steps__subtitle, .offices__title, .form__title {
        font-size: 28px;
    }

    .partners-list__wrapper {
        height: 535px;   
    }

    .cases__title {
        font-size: 36px;
    }

    .cases__list-items {
        flex-direction: column;
    }

    .cases__list-tab {
        font-size: 13px;
    }

    .cases__list-item {
        width: 100%;
    }

    .offices__list {
        flex-direction: column;
    }

    .offices__item {
        width: 100%;
    }

    .callback__container {
        gap: 40px;
    }

    .hero__content {
        width: 100%;
        padding-right: 0;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__description {
        font-size: 18px;
        padding-right: 60px;
    }

    .hero__callback {
        bottom: 30px;
    }

    .partners__list {
        gap: 20px;
    }

    .partners__item {
        width: calc(50% - 20px);
        padding: 20px;
    }

    .partners__item img {
        height: 100%;
        max-width: 100%;
    }

    .directions__item {
        width: 100%;
    }

   

}

.a2__gradient {
    background: none !important;
    position: relative;
}
.a2__gradient::before {
    top: 0;
    content: '';
    border-radius: inherit;
    background: radial-gradient(103.18% 92.14% at 50% 77.11%, #030913 0%, #030913 59%, #10223C 79.5%, #263F63 100%);
    height: 420px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
}

.a2__gradient--inverse {
    background: none !important;
    position: relative;
}
.a2__gradient--inverse::before {
    bottom: 0;
    content: '';
    border-radius: 30px 30px 0 0 ;
    background: radial-gradient(103.18% 92.14% at 50% 77.11%, #030913 0%, #030913 59%, #10223C 79.5%, #263F63 100%);
    transform: matrix(1, 0, 0, -1, 0, 0);
    height: 420px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
}
.mobile {
    display: none !important;
}
.footer__contacts-social {
    margin-bottom: 20px;
}
.no-mobile {
    display: flex !important;
    flex-direction: column;
}
.footer__logo .copyright-wrapper {
    margin-top: 10px;
}
.footer-cl__wrapper {
    flex-direction: column;
    align-items: flex-end;
}
.footer__logo .copyright-wrapper__item {
    margin-bottom: 0;
text-align: left;
}
@media(max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    .mobile {
        display: flex !important;
        flex-direction: column;
    }
    .no-mobile {
        display: none !important;
    }
    .copyright-wrapper__item {
        margin: 0;
    }
    .footer__contacts-social {
        margin-bottom: 0;
    }
}

@media(max-width: 1024px) and (min-width: 640px) {
    .footer__columns {
        flex-wrap: wrap;
        gap: 20px;
        display: grid;
        grid-template-columns: 2fr 2fr 1fr;
    }
    .footer__columns > .footer__column {
    width: 100%;
    }
    .footer-cl__wrapper {
        align-items: unset;
    }
    .footer__column-title, .footer__column-title_link {
    white-space: nowrap;
    }
    .footer-cl__column:last-child a, .footer__column-title_link {
        text-align: right;
    }
}
@media(max-width: 640px) {
    .footer-cl__wrapper {
        align-items: flex-start;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .footer-cl__column {
        width: 45%;
    }
}