.mb-block {
    margin-top: 56px;
}

.modal__container {
    width: auto;
}

@media (max-width: 1560px) {
    .container {
        max-width: 1240px;
    }

    .black__section {
        justify-content: center;
        gap: 97px;
    }

    .testing__results {
        margin-top: 80px;
    }

    .mb-block {
        margin-top: 42px;
    }

    .protocols__list,
    .platforms__list {
        margin-top: 42px;
    }

    .testing__config,
    .testing__results {
        margin-top: 42px;
    }

    .deploy__info {
        margin-top: 42px;
    }

    .modern-ui__list {
        margin-top: 42px;
    }

    .import-substitution__list {
        margin: 42px 0 0 0;
    }
}

@media (max-width: 1440px) {
    .container {
        max-width: 960px;
    }

    .block-2 h3 {
        font-size: 23px;
    }

    .press__item {
        width: calc(33% - 16px);
    }


}

@media (max-width: 1240px) {
    .modern-ui {
        padding-bottom: 0 !important;
    }

    .promo__bg--4 {
        left: 100px;
        width: 50%;
        height: 50%;
        bottom: 0;
        top: inherit;
    }

    .section-padding {
        padding: 80px 0 80px 0;
    }

    .demonstration {
        padding: 150px 0;
    }

    .achievements-section {
        padding-bottom: 80px;
    }

    .block-infos {
        width: 235px;
        height: 269px;
        top: -94px;
        right: -10px;
    }

    .block-infos img {
        width: 80%;
    }

    .block-infos p {
        font-size: 14px;
    }
}

@media (max-width: 1140px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .bg {
        right: 0;
    }

    .block-infos {
        right: 0;
    }
}

@media(max-width: 1080px) {
    .import-substitution__company-logos ul:nth-child(4) li {
        max-width: 100%;
    }

    .import-substitution__company-logos ul:nth-child(4) li:last-child {
        width: 100%;
    }

    .import-substitution__company-logos ul:nth-child(4) li:last-child img {
        width: auto;
    }

    .block-title {
        font-size: 32px;
        /* text-align: center; */
    }

    .block-infos {
        top: -124px;
        right: 0;
    }

    .bg-info-block {
        max-width: 90%;
        padding: 16px;
        bottom: -80px;
    }
}

@media(max-width: 1062px) {
    .import-substitution__list {
        gap: 24px;
    }

    .import-substitution__item {
        gap: 24px;
    }

    .import-substitution__company-logos ul li {
        width: calc(50% - 4px);
    }

    /* .import-substitution__company-logos ul:nth-child(2) li:last-child {
        width: 100%;
    }

    .import-substitution__company-logos ul:nth-child(4) li:last-child {
        width: 100%;
    } */



    .achievements__item {
        width: calc(50% - 10px);
    }

    .achievements__list li:nth-child(2) {
        width: calc(66% - 5px);
    }

    .achievements-3 .achievements__list li:nth-child(1),
    .achievements-3 .achievements__list li:nth-child(2) {
        width: calc(50% - 10px);
    }

    .achievements__list-second li {
        width: calc(50% - 10px);
    }

    .achievements__list-second li:nth-child(1) {
        width: calc(66% - 5px);
    }



    .deploy__achievements {
        margin-top: 80px;
    }



    .catalog-list li {
        width: calc(50% - 4px) !important;
    }

    .catalog-list li img {
        width: auto !important;
    }

    .catalog-list li:last-child {
        width: 100% !important;
    }

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

@media(max-width: 1024px) {
    .platforms__list {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width: 980px) {
    .config__list {
        flex-wrap: wrap;
    }

    .config__item {
        width: calc(33% - 12px);
    }

    .config__list li:nth-child(4) {
        flex-basis: 100%;
    }

    .results__value {
        font-size: 50px;
    }

    .results__description {
        max-width: 230px;
    }

    .bg {
        top: -64px;
        right: 0;
    }

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

@media (max-width: 910px) {
    .promo__title {
        font-size: 45px;
    }

    .promo__subtitle {
        font-size: 20px;
    }

    .import-substitution__list {
        margin: 32px 0 0 0;
    }

    .demonstration {
        padding: 120px 0;
    }

    .press__item {
        width: calc(50% - 16px);
    }


}

@media (max-width: 855px) {
    .partners__header {
        gap: 20px;
    }

    .container {
        padding: 0 16px;
    }

    .navigation-menu--desktop {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .burger-menu {
        display: flex;
    }

    .promo {
        padding: 84px 0 0 0;
    }

    .promo__content {
        flex-direction: column;
    }

    .promo__title {
        text-align: center;
        font-size: 50px;
    }

    .promo__subtitle {
        text-align: center;
        font-size: 24px;
    }

    .promo__text {
        text-align: center;
    }

    .import-substitution__list {
        margin: 24px 0 0 0;
    }

    .protocols__item {
        gap: 16px;
        height: auto;
        min-height: 99px;
        flex-direction: column;
        padding: 16px;
    }

    .platforms__item {
        padding: 16px;
    }


    .protocols__item h3 {
        width: 100%;
    }

    .protocols__item h3,
    .protocols__item p {
        margin-top: 0;
    }

    .protocols__list,
    .platforms__list {
        margin-top: 24px;
    }

    .modern-ui__list {
        margin-top: 24px;
    }

    .testing__config,
    .testing__results {
        margin-top: 24px;
    }

    .deploy__info {
        margin-top: 24px;
    }

    .testing__results {
        margin-top: 80px;
    }

    .black__section {
        gap: 42px;
    }

    .testing__config {
        padding: 16px;
    }

    .mb-block {
        margin-top: 24px;
    }

    .testing__results {
        padding: 16px;
    }

    .results__value,
    .config__value {
        font-size: 45px;
        line-height: 55px;
    }

    .results__description {
        font-size: 14px;
        max-width: 230px;
    }

    .info-deploy__block {
        padding: 16px;
    }

    .promo__buttons {
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .modal__container {
        max-width: calc(100% - 32px) !important;
    }

    .second-bg {
        padding: 60px 0;
    }

    .promo__bg--3 {
        width: 100%;
    }

    .import-substitution__list {
        gap: 16px;
        flex-direction: column;
    }

    .import-substitution__item {
        gap: 16px;
    }

    .import-substitution__company-logos ul li {
        width: calc(33% - 4px);
    }

    .block-1 {
        padding: 0 16px;
    }

    .block-2,
    .block-3,
    .block-4 {
        padding: 24px;
    }

    .import-substitution__text {
        font-size: 18px;
        padding: 0;
    }

    .section-padding {
        padding: 60px 0 44px 0;
    }

    .achievements {
        padding-top: 44px;
    }

    .demonstration {
        padding: 60px 0;
    }

    .block-infos {
        display: none;
    }

    .import-substitution__heading {
        /* text-align: center; */
    }

    .achievements__list {
        gap: 16px;
    }

    .application-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .application__content h2 {
        padding: 24px;
    }

    .application-wrapper {
        padding: 0 0 24px 0;
    }

    .application__list {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: scroll;
        width: 100%;
        padding: 0;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE и Edge */
    }

    .application__list::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .mobile-only {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
        justify-content: flex-end;
        padding: 0 16px;
    }

    .mobile-only img {
        width: 16px;
        height: 16px;
    }

    .mobile-only p {
        color: #415465;
        font-size: 14px;
    }

    .mobile-only svg path {
        stroke: #415465;
        animation: slide 1.5s ease-in-out infinite alternate;
        -webkit-animation: slide 1.5s ease-in-out infinite alternate;
    }

    @keyframes slide {
        0% {
            transform: translateX(-3px);
        }

        7% {
            transform: translateX(3px);
        }

        14% {
            transform: translateX(-3px);
        }

        100% {
            transform: translateX(-3px);
        }
    }


    .application__info-block {
        width: calc(100% - 64px);
        padding: 16px 16px;
        margin: 0 auto;
    }

    .application__item p {
        white-space: nowrap;
    }

    .application__info-block p {
        margin-top: 16px;
    }

    .protocols__list {
        gap: 16px;
    }

    .footer__navigation {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        flex-wrap: wrap;
    }

    .footer__menu {
        flex-wrap: wrap;
    }

    .footer__menu-list {
        flex: 1 1 42%;
        align-items: center;
    }

    .footer__partner-button {
        flex-basis: 100%;
        /* max-width: 219px; */
    }

    .footer__copyright {
        margin-top: 40px;
        text-align: center;
    }

    .achievements-3 {
        padding: 60px 0;
    }

    .config__item {
        min-width: inherit;
        min-height: inherit;
        padding: 16px;
        width: calc(33% - 42px);
    }

    .config__list li:nth-child(4) {
        flex-basis: 100%;
    }

    .results__list {
        flex-direction: column;
        gap: 16px;
    }

    .results__description {
        max-width: inherit;
    }

    .block-title {
        line-height: 40px;
    }

    .deploy__info {
        flex-wrap: wrap;
    }

    .info-deploy__block {
        width: 100%;
    }

    .achievements-deploy__list {
        padding: 0;
    }

    .modern-ui__list {
        flex-direction: column;
        gap: 16px;
    }

    .image-li {
        justify-content: center;
    }

    .modern-ui__image,
    .second-image img {
        max-width: 420px;
    }


    .modern-ui__list li:nth-child(1) .modern-ui__description,
    .admin__item p {
        max-width: 100%;
    }

    .modern-ui__list.admin li:nth-child(1) {
        order: 2;
    }

    .modern-ui__list.admin {
        margin-top: 64px;
    }

    .bg {
        top: -64px;
        right: 0;
    }

    .image-li {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .bg-info-block {
        max-width: 420px;
        position: relative;
        bottom: 0;
    }

    .import-substitution__company-logos ul:nth-child(4) li:last-child {
        width: calc(33% - 4px);
    }

    .import-substitution__company-logos ul:nth-child(4) li:last-child img {
        width: 90%;
    }



    .press__filter {
        flex-wrap: wrap;
    }

    /* .achievements {
        padding-bottom: 16px !important;
    } */
    .protocols {
        padding: 60px 0 0 0;
    }
}

@media(max-width: 640px) {
    .config__item {
        padding: 8px;
        width: calc(33% - 26px);
    }
}

@media(max-width: 588px) {
    .achievements__item {
        width: 100%;
    }

    .achievements__list li:nth-child(2) {
        width: 100%;
    }

    .achievements__list li:nth-child(1) {
        width: 100%;
    }

    .achievements__list-second li {
        width: 100%;
    }

    .achievements__list-second li:nth-child(1) {
        width: 100%;
        order: 2;
    }

    .achievements__list-second li:nth-child(2) {
        width: 100%;
        order: 1;
    }

    .achievements__list-second li:nth-child(2) h2 br {
        display: none;
    }

    .achievements__list-second li:nth-child(3) {
        order: 3;
    }

    .achievements__list-second li:nth-child(4) {
        order: 4;
    }

    .achievements__list-second li:nth-child(5) {
        order: 5;
    }

    .achievements__list-second li:nth-child(6) {
        order: 6;
    }

    .achievements__list-second li:nth-child(7) {
        order: 7;
    }

    .achievements__list-second li:nth-child(8) {
        order: 8;
    }

    .protocols__list {
        grid-template-columns: repeat(1, 1fr);
    }

    .protocols__list li:nth-child(1) {
        order: 1;
    }

    .protocols__list li:nth-child(2) {
        order: 4;
    }

    .protocols__list li:nth-child(3) {
        order: 2;
    }

    .protocols__list li:nth-child(4) {
        order: 5;
    }

    .protocols__list li:nth-child(5) {
        order: 3;
    }

    .protocols__list li:nth-child(6) {
        order: 6;
    }

    .achievements-3 .achievements__list li:nth-child(1),
    .achievements-3 .achievements__list li:nth-child(2) {
        width: 100%;
    }
}

@media(max-width: 550px) {
    .press__item {
        width: 100%;
    }
}

@media (max-width: 488px) {
    .block-title {
        font-size: 26px;
    }

    .import-substitution__heading {
        /* text-align: center; */
    }

    .import-substitution__company-logos ul li {
        width: calc(50% - 4px);
    }

    .import-substitution__company-logos ul:nth-child(2) li:last-child {
        width: 100%;
    }

    .import-substitution__company-logos ul:nth-child(4) li:last-child {
        width: 100%;
    }

    .import-substitution__company-logos ul:nth-child(4) li:last-child img {
        width: auto;
    }

    .pagination__arrow {
        width: 32px;
        height: 32px;
    }

    .pagination__page {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }


}

@media (max-width: 460px) {
    .pagination__page {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .pagination__arrow {
        width: 30px;
        height: 30px;
        box-sizing: border-box;
    }

    .pagination__arrow svg {
        width: 16px;
        height: 14px;
    }

    .promo__content {
        gap: 16px;
    }

    .promo__title {
        font-size: 45px;
    }

    .promo__subtitle {
        font-size: 20px;
    }

    .promo__desc {
        flex-shrink: 0;
        flex-grow: 0;
        width: 100%;
    }

    .promo__buttons {
        flex-direction: column;
    }

    .promo__text {
        margin-bottom: 20px;
    }

    .promo__button--demo,
    .promo__button--materials {
        width: 100%;
    }

    .import-substitution__text {
        font-size: 16px;
    }

    .black__section h2 {
        font-size: 42px;
    }
}

@media(max-width: 400px) {
    .footer__menu-list {
        flex: 1 1 100%;
    }

    .footer__partner-button {
        max-width: 219px;
    }

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

    .black__section h2 {
        font-size: 32px;
    }

    .config__value {
        font-size: 38px;
    }

    .achievements-deploy__list {
        flex-direction: column;
    }

    .achievements-deploy__item {
        width: 100%;
    }
}

@media (max-width: 340px) {
    .promo__title {
        font-size: 42px;
    }
}

@media(max-width: 460px) {
    .promo__image img:nth-child(2) {
        max-width: 100%;
    }

    .promo__image img:nth-child(3) {
        max-width: calc(100% - 30px);
    }

    .promo__image img:nth-child(4) {
        max-width: calc(100% - 60px);
    }

    .promo__image img:nth-child(5) {
        max-width: calc(100% - 90px);
    }
}