@font-face {
    font-family: SFProDisplay;
    src: url(../fonts/sfpro/SFProDisplay-Regular.ttf);
    font-weight: normal;
}
@font-face {
    font-family: SFProDisplay;
    src: url(../fonts/sfpro/SFProDisplay-Medium.ttf);
    font-weight: 600;
}
@font-face {
    font-family: SFProDisplay;
    src: url(../fonts/sfpro/SFProDisplay-Bold.ttf);
    font-weight: 700;
}
@font-face {
    font-family: SFProDisplay;
    src: url(../fonts/sfpro/SFProDisplay-Semibold.ttf);
    font-weight: 800;
}
@font-face {
    font-family: Kontora;
    src: url(../fonts/kontora/Kontora-Bold.otf);
    font-weight: 700;
}
* {
    outline: none;
}
body {
    display: block;
    margin: 0;
    font-family: SFProDisplay;
    font-weight: normal;
    font-size: 18px;
}
section,
header,
footer {
    padding: 0 15px;
}
h2 {
    font-size: 40px;
    font-family: SFProDisplay;
    margin: 0;
    font-weight: 600;
}
.contact h2 {
    margin-bottom: 30px;
    font-weight: bold;
}
.partners h2 {
    font-weight: bold;
}
h3 {
    margin: 0;
    font-size: 24px;
    font-family: SFProDisplay;
    font-weight: 600;
}
ul {
    margin: 0;
    list-style: none;
    padding: 0;
}
p {
    line-height: 22.5px;
    margin: 0;
    font-weight: 400;
}
ul {
    margin: 0;
    list-style: none;
    padding: 0;
}
p {
    line-height: 22.5px;
}
.header_section {
    margin-top: 50px;
    display: flex;
}
.header {
    display: flex;
    width: 100%;
}
.logo {
    background: url(/assets/img/logo.svg) no-repeat;
    background-size: contain;
    width: 33.33%;
    height: 33px;
    flex: 0 0 auto;
}
.nav {
    display: flex;
    flex: 1 1 51.6vw;
}
.nav ul li.active a {
    font-weight: 600;
}
.nav ul {
    display: flex;
    align-items: center;
    width: 100%;
}
.nav ul li:not(:last-child) {
    padding-right: 25px;
}
.nav ul a {
    color: #000;
    text-decoration: none;
    position: relative;
}
.nav ul li:nth-child(5) {
    flex: 1;
    text-align: end;
}
.nav ul li:last-child a {
    padding: 0;
    text-align: right;
    color: #557dfc;
    font-weight: bold;
}

.nav ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    left: 0;
    bottom: -5px;
    height: 1px;
    background-color: black;
    transition: all 0.2s;
}
.nav ul li:last-child a::after {
    background-color: #557dfc;
}
.nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
}

.hamburger__block {
    position: absolute;
    top: -5px;
    right: 25px;
    width: 40px;
    height: 30px;
    padding: 0;
    font-size: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    outline: none;
}

.hamburger__block::before,
.hamburger__block::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 8px;
    width: 17px;
    height: 2px;
    background-color: #000000;
    box-shadow: 0 5px 0 0 #000000, 0 10px 0 0 #000000;
    transition: all ease-in 0.4s;
}

.hamburger__text {
    position: relative;
    font-size: 14px;
    line-height: 125%;
    top: 4px;
    cursor: pointer;
}

/* hamburger menu */
.h-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    transform: translateX(100%);
    transition: transform ease-in 0.4s;
    z-index: 100;
}

.h-menu__wrapper {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background-color: #ffffff;
    width: 270px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 25px;
    padding-top: 50px;
    transform: translateX(100%);
    transition: transform ease-in 0.4s;
    overflow-y: scroll;
}

.h-menu__btn::before,
.h-menu__btn::after {
    content: "";
    position: absolute;
    background-color: #000000;
}

.h-menu__btn::before {
    width: 25px;
    height: 1px;
    top: 7px;
    right: -8px;
    transform: rotate(45deg);
}
.h-menu__btn::after {
    width: 25px;
    height: 1px;
    top: 7px;
    right: -8px;
    transform: rotate(-45deg);
}

.h-menu--active {
    transform: translateX(0);
}

.h-menu__wrapper--active {
    transform: translateX(0);
}

.h-menu__navblock {
    border-bottom: 1px solid #000;
    margin-bottom: 30px;
}

.h-menu .h-menu__navblock h2 {
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    margin-bottom: 15px;
}

.h-menu__btn {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 55px;
    right: 30px;
    border: 0;
    background-color: #ffffff;
    cursor: pointer;
}

.h-menu__nav li {
    margin-bottom: 2px;
}

.h-menu__nav li:hover {
    transform: scale(1.1) translateX(20px);
    transition: all 0.3s;
}

.h-menu__nav a {
    font-weight: 400;
    font-size: 14px;
    line-height: 125%;
    text-decoration: none;
    color: #000000;
}

.h-menu__nav li:last-child {
    margin-bottom: 25px;
}

.h-menu__brief {
    cursor: pointer;
    align-items: center;
    color: #fff;
    display: flex;
    background: #2e2e2e;
    width: 100%;
    justify-content: space-around;
    padding: 21px 0;
    margin-bottom: 25px;
}

.h-menu p {
    margin: 0;
}

.h-menu__brief h2 {
    font-weight: bold;
    font-size: 18px;
    line-height: 100%;
    margin: 0;
}

.h-menu .h-menu__number {
    margin-bottom: 10px;
}

.h-menu .h-menu__mail {
    font-weight: 600;
    font-size: 14px;
    line-height: 125%;
    margin-bottom: 15px;
}

.h-menu__number a {
    color: #557dfc;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    line-height: 125%;
    position: relative;
}

.h-menu__number a::after {
    content: "";
    position: absolute;
    width: 0%;
    left: 0;
    bottom: -5px;
    height: 1px;
    background-color: #557dfc;
    transition: all 0.2s;
}

.h-menu__number a:hover::after {
    width: 100%;
}

.h-menu__socials {
    margin-bottom: 10px;
}

.h-menu__socials a {
    margin-right: 8px;
}

.h-menu__socials img:hover {
    cursor: pointer;
    filter: brightness(180%);
}

.h-menu__footer li {
    margin-bottom: 2px;
}

.h-menu__footer a {
    font-weight: 400;
    font-size: 14px;
    line-height: 125%;
    text-decoration: none;
    color: #000000;
    position: relative;
}

.h-menu__footer a::after {
    content: "";
    position: absolute;
    width: 0%;
    left: 0;
    bottom: -5px;
    height: 1px;
    background-color: #000000;
    transition: all 0.2s;
}

.h-menu__footer a:hover::after {
    width: 100%;
}

.product-vertical .aImageProduct {
    display: flex;
    justify-content: center;
}
.product-vertical .aImageProduct img {
    width: 163px;
    height: 128px;
}
.product-vertical .product-vertical__content {
    margin-top: 10px;
}
.product-vertical .product-vertical__content .product-vertical__title {
    color: #000;
    font-family: MullerBold;
    font-size: 18px;
    margin: 10px 0 15px;
}
.product-vertical .product-vertical__content .product-vertical__price {
    width: 100%;
    font-family: MullerBold;
    font-size: 24px;
    color: #fda527;
}

.portfolio {
    position: relative;
}
.portfolio::before {
    content: "";
    height: 100%;
    width: 111px;
    background: url(/assets/img/cases.svg) no-repeat left bottom;
    position: absolute;
    top: 0;
    left: 3vw;
}
.portfolio {
    margin-top: 100px;
    position: relative;
    padding: 0;
    padding-left: calc(50vw - 646px);
}
.portfolio .body-content {
    background: #edeff4;
    padding: 50px 0 90px 0;
    position: relative;
}
.portfolio .body-content h2 {
    padding-left: 220px;
    margin-bottom: 54px;
}
.portfolio .body-content .name h2 {
    padding-left: 0;
    margin-bottom: 0;
}
.owl-carousel .owl-div {
    width: 410px;
    height: 410px;
    position: relative;
}
.owl-carousel .owl-div img.cover {
    height: 100%;
    object-fit: cover;
}
.owl-carousel .owl-div.da-ff {
    width: auto;
    position: unset;
}
.owl-carousel .owl-div:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000e6;
}
.owl-carousel .owl-div.da-ff:before {
    content: none;
}

.owl-carousel .owl-div .name {
    padding: 22.4%;
    box-sizing: border-box;
    color: #fff;
    position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio .custom-nav {
    position: absolute;
    top: 94px;
    left: 1057px;
}
.portfolio .custom-nav .owl-prev {
    border: 0;
    background: url(/assets/img/nav-pre.svg);
    height: 8px;
    width: 35px;
    outline: none;
    cursor: pointer;
    margin-right: 10px;
}
.portfolio .custom-nav .owl-next {
    border: 0;
    background: url(/assets/img/nav-next.svg);
    height: 8px;
    width: 35px;
    outline: none;
    cursor: pointer;
}
.portfolio .owl-stage-outer {
    padding-left: 410px;
    margin-left: -190px;
}
.portfolio .owl-stage:hover {
    cursor: grab;
}
.portfolio .owl-stage:active {
    cursor: grabbing;
}
.portfolio .owl-item {
    opacity: 0;
    transition: opacity 0.3s;
}
.portfolio .owl-item.active {
    opacity: 1;
    transition: opacity 0.3s;
}

.contacts h2 {
    margin-top: 0;
    margin-bottom: 0;
}
.contacts p {
    color: #2e2e2e;
}
.contacts .left-block h2 {
    width: 280px;
    margin-bottom: 40px;
    line-height: 40px;
}
.contacts .right-block h2 {
    padding: 102px 0;
}
.contacts .content {
    display: flex;
    margin-top: 100px;
    justify-content: space-between;
}
.contacts .left-block {
    display: flex;
    flex-direction: column;
    width: 23.22%;
    justify-content: space-between;
}
.contacts .brief-open {
    cursor: pointer;
    align-items: center;
    color: #fff;
    display: flex;
    background: #2e2e2e;
    width: 66.7%;
    justify-content: space-around;
    margin-top: 7px;
}

/* Blog */
.contacts .inst-content {
    flex-direction: column;
    align-items: center;
}
.contacts .inst-content h2 {
    padding-bottom: 50px;
}
.contacts .inst-block {
    display: flex;
    gap: 50px 5%;
    flex-wrap: wrap;
    position: relative;
}
.contacts .img-block {
    width: 21%;
    height: 21%;
    /* padding-bottom: 70px; */
    position: relative;
    cursor: pointer;
}
.contacts .img-block img {
    width: 100%;
    height: 100%;
}
/* .contacts .img-block img:hover {
    transform: scale(1.15);
} */
.contacts .img-block .preview {
    display: none;
    z-index: 99;
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 32px;
    transition: all 1s ease;
}
.contacts .img-block .preview p {
    color: #fff;
    font-weight: 900;
}
.contacts .img-block:hover .preview {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(24, 24, 24, 0.75);
}

/*  */
.contacts .socials {
    display: flex;
    align-items: center;
    height: 100%;
}
.contacts .socials a:not(:last-child) {
    padding-right: 10px;
}
.contacts .socials a {
    max-height: 40px;
    max-width: 40px;
}
.contacts .socials p {
    margin: 0;
    padding-top: 5px;
}
.contacts .socials img:hover {
    cursor: pointer;
    filter: brightness(180%);
}
.contacts .left-block-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
}
.contacts .footer-left p {
    margin-bottom: 7px;
}
.contacts .footer-left .number {
    margin-top: 0;
}
.contacts p {
    font-weight: 600;
    max-width: 220px; /*margin-bottom: 13px; ;*/
}
.contacts p:last-child {
    margin: 0;
}

.swiper-container {
    width: 890px;
    height: 470px;
    position: relative;
}
.swiper-slide {
    height: 440px;
    width: 230px;
}
.swiper-slide img {
    max-width: 230px;
    max-height: 340px;
    margin-bottom: 50px;
}

.screen-5 .swiper-slide .text {
    padding-left: 50px;
    position: relative;
}
.screen-5 .swiper-slide .text::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 1px;
    display: block;
    background-color: #000;
    left: 0px;
    top: 45px;
}
.swiper-slide-active {
    transform: translateY(25px);
    transition: transform 0.4s;
}
.swiper-slide .text {
    display: none;
}
.swiper-slide-active .text {
    display: block;
}
.swiper-navigation {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 380px;
}

.screen-5 .content {
    margin-right: 80px;
}

.arrow {
    display: flex;
    position: relative;
    justify-content: flex-end;
    align-items: center;
}
.arrow::before {
    content: "";
    transition: all 0.5s;
    position: absolute;
    width: 35px;
    height: 20%;
    background-color: #fff;
}
.arrow::after {
    content: "";
    transform: rotate(-45deg);
    transition: all 0.5s;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: flex;
    padding: 3px;
}
.arrow-black::before {
    background-color: #000;
}
.arrow-black::after {
    border-color: #000;
}
.brief-open:hover .arrow::before {
    width: 100px;
}
.brief-open:hover .arrow::after {
    transform: rotate(-45deg) translate(45px, 45px);
}
.brief-open .arrow::before {
    left: -28px;
}

.footer {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 60px;
}
.footer .nav-2 {
    display: flex;
    padding-top: 20px;
    margin-bottom: 100px;
}
.footer .nav-2 ul li {
    font-weight: normal;
    font-size: 14px;
    color: #2e2e2e;
}
.footer .nav-2 ul li:last-child {
    flex: 1;
    text-align: end;
}
.footer .nav-2 ul li a {
    color: #2e2e2e;
    font-weight: 400;
}
.footer .nav-2 ul li:last-child::before {
    content: "©";
    padding-right: 5px;
}
.footer .nav-2 ul li:not(:last-child) {
    padding-right: 48px;
}
.footer .nav-2 ul li a::after {
    background-color: #2e2e2e;
}
.footer .nav-block {
    width: 100%;
}

.footer .mobile-nav {
    display: none;
}

.modal {
    transition: all 0.3s ease-in-out;
    display: flex;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 9998;
}
.modal-active {
    transition: all 0.3s ease-in-out;
    display: flex;
    visibility: visible;
    opacity: 1;
}
.modal .modal-block {
    width: 96%;
    max-width: 1188px;
    max-height: 500px;
    background-color: #edeff4;
    /* overflow: scroll; */
}
.modal .modal-container {
    padding: 30px 48px 50px 48px;
}
.modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /*margin-top: 30px;*/
}
.modal .modal-header h2 {
    color: #2e2e2e;
    font-size: 40px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}
.modal .modal-header h3 {
    font-family: Kontora;
    color: rgba(255, 255, 255, 0.35);
    font-size: 55px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}
.modal .modal-header .modal-close {
    cursor: pointer;
}
.modal form {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}
.modal form .modal-left {
    width: 65%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.modal form .modal-left input {
    width: 43%;
    margin-bottom: 25px;
    padding: 10px;
    padding-left: 18px;
    background-color: #fff;
    border: none;
    height: 30px;
}
.modal form .modal-left textarea {
    width: 100%;
}
.modal form textarea {
    resize: none;
    height: 150px;
    padding: 10px 18px;
    border: none;
    background-color: #fff;
    font-family: SFProDisplay;
    font-size: 18px;
}

.modal form input::-webkit-input-placeholder {
    color: #2e2e2e;
    font-size: 18px;
    font-weight: 400;
}
.modal form input::-moz-placeholder {
    color: #2e2e2e;
    font-size: 18px;
    font-weight: 400;
}
.modal form textarea::-webkit-input-placeholder {
    color: #2e2e2e;
    font-size: 18px;
    font-weight: 400;
}
.modal form textarea::-moz-placeholder {
    color: #2e2e2e;
    font-size: 18px;
    font-weight: 400;
}
.modal form select option {
    color: #2e2e2e;
    font-size: 18px;
}
.modal form select {
    color: #2e2e2e;
    font-size: 18px;
}
.modal form .modal-right {
    display: flex;
    width: 30.5%;
    flex-direction: column;
    justify-content: space-between;
}

.modal form .modal-right .brief-input {
    display: none;
}
.modal form .add-file {
    padding: 0;
    background-color: #fff;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.modal form .add-file-label {
    margin-top: 15px;
    cursor: pointer;
    font-size: 14px;
}

.modal.modal-changed form .modal-right a {
    font-size: 18px;
    font-weight: 700;
    color: #2e2e2e;
    text-decoration: none;
    padding-left: 30px;
    background: url(/assets/img/download-img.svg) no-repeat left center;
}
.modal.modal-changed form .modal-right p {
    background: url(/assets/img/clip.svg) no-repeat left center;
    padding-left: 30px;
    margin-top: 40px;
}

.modal form select {
    height: 30px;
    width: 43%;
    padding: 10px;
    padding-left: 18px;
    border: none;
    box-sizing: content-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("/assets/img/plus.svg"); /*заменить на css желательно*/
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    outline: 0;
    cursor: pointer;
}

.modal .modal-right-top p {
    margin: 0;
    font-weight: 600;
}
.modal .modal-right-header {
    width: 80%;
}
.modal .modal-right-top {
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: space-between;
}
.modal .socials {
    display: flex;
    align-items: center;
    height: 100%;
}
.modal .socials a:not(:last-child) {
    padding-right: 10px;
}
.modal .socials a {
    max-height: 40px;
    max-width: 40px;
}
.modal .socials p {
    margin: 0;
    padding-top: 5px;
}
.modal .socials img:hover {
    cursor: pointer;
    filter: brightness(180%);
}
.modal .right-block-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
    margin-top: 30px;
}
.modal .footer-left p {
    margin-bottom: 7px;
}
.modal .footer-left .number {
    margin-top: 0;
}

.brief-btn {
    display: flex;
    cursor: pointer;
    transition: all 0.5s;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 21px 0;
    border: 1px solid #000;
    width: 100%;
    align-items: center;
    justify-content: space-around;
}

/*hover*/
.brief-btn:hover {
    background-color: #2e2e2e;
    color: #fff;
    border-color: #fff;
}
.brief-btn:hover .arrow-black::after {
    border-color: #fff;
}
.brief-btn:hover .arrow-black::before {
    background-color: #fff;
    width: 60px;
}

/**/

label.brief-btn {
    margin-top: 13px;
}

.swiper-container {
    width: 890px;
    height: 470px;
    position: relative;
}
.swiper-slide {
    height: 440px;
    width: 230px;
    transition: transform 0.8s;
}
.swiper-slide img {
    max-width: 230px;
    max-height: 340px;
    margin-bottom: 50px;
}
.team .swiper-slide-active,
.team .swiper-slide .swiper-slide-active {
    transform: translateY(25px) !important;
    transition: transform 0.8s;
}
.swiper-slide .text {
    display: none;
}
.swiper-slide-active .text {
    display: block;
}
.swiper-navigation {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 380px;
}

/* Статьи */
.articles {
    margin: 100px 0;
}
.bread-crumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.articles h2 {
    text-align: center;
    margin-bottom: 80px;
}
.articles .content {
    width: 100%;
}
.articles .content img {
    width: 100%;
    object-fit: cover;
}
.articles .content img.img {
    height: 300px;
    margin-bottom: 30px;
}
.articles .content figure {
    margin: 0;
}

@media screen and (min-width: 319.98px) and (max-width: 479.98px) {
    section,
    header,
    footer {
        padding: 0 calc(50vw - 150px);
    }
    .portfolio {
        padding-left: calc(50vw - 160px);
    }
    .logo {
        width: 53.7%;
    }
    .header_section {
        margin-top: 35px;
    }
    .header .nav ul li a {
        display: none;
    }
    .hamburger {
        display: block;
        position: relative;
    }
    p {
        font-size: 14px;
        line-height: 17.5px;
    }
    h2 {
        font-weight: 600;
        font-size: 24px;
    }
    .content__social {
        display: block;
    }

    .portfolio {
        margin-top: 50px;
    }
    .portfolio .body-content {
        padding: 45px 10px 70px;
    }

    .portfolio .body-content {
        padding-bottom: 50px;
        position: relative;
    }

    .portfolio .body-content h2 {
        padding-left: 0;
        margin-top: 0;
        margin-bottom: 45px;
    }

    .portfolio .custom-nav {
        position: absolute;
        left: 230px;
        top: 45px;
    }

    .portfolio .owl-carousel {
        width: 300px;
    }

    .portfolio .owl-carousel .owl-div {
        width: auto;
    }

    .portfolio .owl-stage-outer {
        padding: 0;
        margin: 0;
    }
    .swiper-slide {
        height: 440px;
    }
    .swiper-slide img {
        max-width: 250px;
        max-height: 374px;
        margin-bottom: 25px;
    }
    .swiper-container {
        width: 525px;
        position: relative;
        left: -135px;
    }
    .swiper-slide-active {
        transform: translateY(0);
    }
    .contacts {
        margin-top: 50px;
    }
    .contacts .content:first-child {
        flex-direction: column;
        margin-top: 0;
    }
    .contacts .inst-content {
        margin-top: 50px;
    }

    .contacts .inst-content h2 {
        padding-bottom: 30px;
        line-height: 20px;
    }

    .contacts .inst-content .img-block {
        width: 100%;
        padding-bottom: 30px;
        max-height: 298px;
    }

    .contacts .inst-content .img-block:nth-child(3) {
        display: none;
    }
    .contacts .inst-content .img-block:nth-child(4) {
        display: none;
    }
    .contacts .inst-content .img-block:nth-child(5) {
        display: none;
    }
    .contacts .inst-content .img-block:nth-child(6) {
        display: none;
    }
    .contacts .inst-content .img-block:nth-child(7) {
        display: none;
    }
    .contacts .inst-content .img-block:nth-child(8) {
        display: none;
    }
    .contacts .left-block {
        width: 100%;
        margin-bottom: 50px;
    }
    .contacts .left-block p {
        max-width: unset;
    }

    .contacts .left-block h2 {
        margin-bottom: 20px;
        width: 100%;
        line-height: 24px;
    }

    .contacts .brief-open {
        margin-top: 0;
    }

    .contacts .left-block-footer {
        width: 100%;
    }

    .contacts .right-block {
        width: 100%;
        padding: 32px 35px;
        justify-content: space-between;
        box-sizing: border-box;
        flex-direction: column;
    }

    .contacts .right-block h2 {
        padding: 0;
        font-size: 30px;
        width: 100%;
    }
    .contacts .right-block .arrow {
        margin-top: 30px;
        align-self: flex-end;
    }
    .contacts .right-block .arrow::before {
        right: 0;
        width: 100px;
        left: unset;
    }

    .brief-open:hover .arrow::after {
        transform: rotate(-45deg) translate(0, 0);
    }

    .nav ul {
        justify-content: flex-end;
    }
    .header_section .nav ul li:not(:last-child) {
        display: none;
    }
    .nav ul li a {
        font-size: 14px;
    }

    .nav ul li {
        line-height: 14px;
    }

    .footer {
        margin-top: 0;
        margin-bottom: 30px;
    }

    .footer .nav-1 {
        display: none;
    }
    .footer .logo {
        display: none;
    }
    .footer .nav-2 {
        display: none;
    }

    .footer .mobile-nav {
        display: flex;
    }
    .footer .mobile-nav ul {
        justify-content: center;
    }
    .footer .mobile-nav ul li:not(:last-child) {
        display: none;
    }
    .footer .mobile-nav .company-link {
        color: #2e2e2e;
        font-weight: 400;
        font-size: 14px;
    }

    /* modal */
    .modal .modal-block {
        max-width: 300px;
        overflow: scroll;
    }
    .modal .modal-container {
        padding: 30px 10px;
    }
    .modal .modal-content {
        flex-direction: column;
    }
    .modal .modal-header h2 {
        font-size: 28px;
        line-height: 100%;
    }
    .modal .modal-header h3 {
        display: none;
    }
    .modal form .modal-left {
        width: 100%;
        margin-bottom: 40px;
    }
    .modal form .modal-right {
        width: 100%;
    }
    .modal form .modal-right p {
        font-size: 18px;
        line-height: 125%;
    }
    .modal .modal-right-header {
        width: 100%;
    }
    .modal .modal-right-top {
        margin-bottom: 25px;
    }
    .modal form .modal-left input {
        padding: 5px 10px;
        width: 100%;
    }
    .modal form .modal-left select {
        width: 100%;
        margin-bottom: 25px;
    }
    .modal form textarea {
        height: 106px;
    }
    .modal .right-block-footer {
        margin-top: 10px;
        flex-direction: column;
        align-items: start;
    }
}

@media screen and (min-width: 479.98px) and (max-width: 767.98px) {
    section,
    header,
    footer {
        padding: 0 calc(50vw - 220px);
    }
    .header_section {
        margin-top: 35px;
    }
    .logo {
        width: 36.6%;
    }
    .hamburger {
        display: block;
        position: relative;
    }
    .header .nav ul li:last-child {
        position: relative;
        right: 50px;
        bottom: 2px;
    }
    .portfolio {
        padding-left: calc(50vw - 240px);
    }
    p {
        font-size: 14px;
        line-height: 17.5px;
    }
    h2 {
        font-weight: 600;
        font-size: 36px;
    }
    .portfolio {
        margin-top: 30px;
    }
    .portfolio .body-content {
        padding: 50px 40px 70px 20px;
        max-width: 440px;
        padding-right: calc(50vw - 220px);
    }
    .portfolio .body-content h2 {
        padding-left: 0;
        margin-top: 0;
        line-height: 26px;
        margin-bottom: 50px;
    }
    .portfolio .custom-nav {
        left: 379px;
        top: 50px;
    }
    .portfolio .owl-carousel .owl-div {
        width: auto;
    }
    .portfolio .owl-stage-outer {
        padding: 0;
        margin: 0;
    }
    .swiper-slide .text {
        display: block;
    }
    .swiper-slide-active {
        transform: translateY(0);
    }

    .swiper-container {
        width: 560px;
        position: relative;
        left: -130px;
    }
    .screen-5 .custom-nav {
        display: none;
    }

    .contacts {
        margin-top: 50px;
    }
    .contacts .content:first-child {
        flex-direction: column;
        margin-top: 0;
    }

    .contacts .inst-content {
        margin-top: 50px;
        margin-bottom: 30px;
    }

    .contacts .inst-content h2 {
        padding-bottom: 30px;
        font-size: 24px;
        line-height: 18px;
    }

    .contacts .inst-content .img-block {
        width: 46.5%;
        padding-bottom: 30px;
        max-height: 206px;
    }

    .contacts .inst-content .img-block:nth-child(5) {
        display: none;
    }
    .contacts .inst-content .img-block:nth-child(6) {
        display: none;
    }
    .contacts .inst-content .img-block:nth-child(7) {
        display: none;
    }
    .contacts .inst-content .img-block:nth-child(8) {
        display: none;
    }
    .contacts .left-block {
        width: 100%;
        margin-bottom: 50px;
    }
    .contacts .left-block p {
        max-width: unset;
    }

    .contacts .left-block h2 {
        margin-bottom: 15px;
        width: 100%;
        line-height: 26px;
    }

    .contacts .left-block-footer {
        width: 67%;
        margin-top: 5px;
    }

    .contacts .left-block-footer .number {
        margin-bottom: 15px;
    }

    .contacts .brief-open {
        margin-top: 0;
    }

    .contacts .right-block {
        width: 100%;
        padding: 50px 45px;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .contacts .right-block h2 {
        padding: 0;
        font-size: 30px;
        width: 50%;
    }

    .brief-open:hover .arrow::after {
        transform: rotate(-45deg) translate(0, 0);
    }
    .brief-open:hover .arrow::before {
        width: 35px;
    }

    .nav ul {
        justify-content: flex-end;
    }
    .header_section .nav ul li:not(:last-child) {
        display: none;
    }
    .nav ul li a {
        font-size: 14px;
    }
    .footer {
        margin-top: 30px;
    }

    .footer .nav ul {
        justify-content: space-between;
    }
    .footer .nav ul li {
        padding: 0 !important;
    }
    .footer .nav-1 li:nth-last-child(-n + 2) {
        display: none;
    }

    .footer .nav-2 {
        margin-bottom: 20px;
    }
    .footer .nav-2 ul li a {
        font-size: 12px;
    }
    .footer .nav-2 ul li:last-child {
        display: none;
    }

    .footer .mobile-nav {
        display: flex;
    }
    .footer .mobile-nav .company-link {
        font-size: 14px;
    }

    .footer .logo {
        display: none;
    }
    .footer {
        margin-bottom: 50px;
        margin-top: 0;
    }
    .footer .mobile-nav .company-link {
        color: #2e2e2e;
        font-weight: 400;
    }
    .footer .mobile-nav ul li:nth-child(2) a {
        color: #557dfc;
        font-weight: 700;
    }

    /* modal */
    .modal .modal-block {
        max-width: 440px;
        overflow: scroll;
    }
    .modal .modal-container {
        padding: 30px 10px;
    }
    .modal .modal-content {
        flex-direction: column;
    }
    .modal .modal-header h2 {
        font-weight: 600;
        font-size: 40px;
        line-height: 100%;
    }
    .modal .modal-header h3 {
        display: none;
    }
    .modal form .modal-left {
        width: 100%;
        margin-bottom: 40px;
    }
    .modal form .modal-right {
        width: 100%;
    }
    .modal form .modal-right p {
        font-size: 18px;
        line-height: 125%;
    }
    .modal .modal-right-header {
        width: 100%;
    }
    .modal .modal-right-top {
        margin-bottom: 25px;
    }
    .modal form .modal-left input {
        padding: 10px 20px;
        width: 100%;
        font-size: 18px;
        line-height: 100%;
        font-family: SFProDisplay;
    }
    .modal form .modal-left select {
        width: 100%;
        margin-bottom: 25px;
        font-size: 18px;
        line-height: 100%;
        font-family: SFProDisplay;
    }
    .modal form .modal-left textarea {
        height: 150px;
    }
    .modal form textarea {
        height: 106px;
    }
    .modal .right-block-footer {
        margin-top: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    .modal .right-block-footer .footer-left {
        margin-right: 14px;
    }
    .modal label.brief-btn {
        margin-top: 30px;
        margin-bottom: 10px;
    }
}
@media screen and (min-width: 767.98px) and (max-width: 991.98px) {
    section,
    header,
    footer {
        padding: 0 calc(50vw - 360px);
    }
    .header .logo {
        width: 22.5%;
    }
    .hamburger {
        display: block;
        position: relative;
    }
    .header .nav ul li:last-child {
        position: relative;
        right: 50px;
        bottom: 2px;
    }
    .portfolio {
        padding-left: calc(50vw - 360px);
    }
    p {
        font-size: 14px;
        line-height: 18.5px;
        margin-bottom: 18px;
    }
    h2 {
        font-weight: 600;
        font-size: 24px;
    }
    .portfolio {
        margin-top: 80px;
    }
    .portfolio .body-content {
        padding-bottom: 100px;
        padding-top: 40px;
    }
    .portfolio .body-content h2 {
        padding-left: 70px;
        margin-top: 0;
        margin-bottom: 40px;
    }
    .portfolio {
        padding-left: calc(50vw - 360px);
    }
    .portfolio .custom-nav {
        left: 530px;
        top: 38px;
    }
    .portfolio .owl-carousel .owl-div {
        width: 255px;
    }
    .portfolio .owl-stage-outer {
        padding-left: 180px;
        margin-left: -110px;
    }
    .swiper-container {
        width: 435px;
        height: 355px;
        position: relative;
    }
    .swiper-slide {
        height: 350px;
    }
    .swiper-slide img {
        max-width: 135px;
        max-height: 203px;
        margin-bottom: 30px;
    }
    .swiper-slide-active {
        transform: translateY(15px);
    }
    .swiper-slide .text {
        display: none;
    }
    .swiper-slide-active .text {
        display: block;
    }
    .swiper-navigation {
        display: flex;
        justify-content: space-between;
        position: relative;
        top: 230px;
    }

    /* contacts */
    .contacts .brief-open {
        margin-top: 0;
    }

    .contacts .left-block {
        width: 41%;
    }
    .contacts .left-block p {
        max-width: unset;
    }

    .contacts .left-block h2 {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 100%;
        width: 160px;
    }

    .contacts .inst-content h2 {
        line-height: 18px;
    }

    .contacts .inst-content .img-block {
        padding-bottom: 40px;
        max-height: 150px;
    }

    .contacts .right-block {
        padding: 50px 45px;
        width: 37%;
        justify-content: space-between;
    }

    .contacts .right-block h2 {
        padding: 0;
        font-size: 30px;
        width: 50%;
    }

    .brief-open:hover .arrow::after {
        transform: rotate(-45deg) translate(0, 0);
    }
    .brief-open:hover .arrow::before {
        width: 35px;
    }

    .nav ul {
        justify-content: flex-end;
    }
    .header_section .nav ul li:not(:last-child) {
        display: none;
    }
    .nav ul li a {
        font-size: 14px;
    }

    .footer {
        margin-top: 60px;
    }

    .footer .nav-2 {
        margin-bottom: 55px;
    }
    .footer .nav-2 ul li a {
        font-size: 12px;
    }
    .footer .nav-2 .company-link {
        font-size: 14px;
    }
    .footer .nav-2 ul li:not(:last-child) {
        padding-right: 40px;
    }
    .footer .nav-2 ul li:nth-last-child(-n + 2) {
        padding-right: 0;
    }
    .footer .logo {
        display: none;
    }
    .logo {
        width: 17%;
        margin-right: 115px;
    }

    /* modal */
    .modal .modal-container {
        padding: 40px 30px 36px 30px;
    }
    .modal .modal-block {
        max-width: 718px;
        max-height: 623px;
    }
    .modal .modal-header h2 {
        font-size: 40px;
        line-height: 100%;
    }
    .modal .modal-content {
        display: flex;
        flex-direction: column;
    }
    .modal form .modal-left {
        width: 100%;
        margin-bottom: 35px;
    }
    .modal form .modal-right {
        flex-direction: row;
        width: 100%;
    }
    .modal .modal-header h3 {
        display: none;
    }
    .modal form textarea {
        height: 106px;
    }
    .modal .right-block-footer {
        margin-top: 10px;
        flex-direction: row;
        justify-content: start;
    }
    .modal .right-block-footer .footer-left {
        margin-right: 14px;
    }
    .modal .modal-right-top {
        width: 50%;
    }
    .modal .modal-right-bottom {
        width: 300px;
    }
}

@media screen and (min-width: 991.98px) and (max-width: 1291.98px) {
    section,
    header,
    footer {
        padding: 0 calc(50vw - 480px);
    }
    .h-menu {
        display: none;
    }
    p {
        font-size: 14px;
        line-height: 18.5px;
        margin-bottom: 18px;
    }
    .portfolio {
        margin-top: 90px;
    }
    .portfolio .body-content {
        padding-bottom: 140px;
        padding-top: 60px;
    }
    .portfolio .body-content h2 {
        padding-left: 70px;
        margin-top: 0;
        font-size: 30px;
    }
    .portfolio {
        padding-left: calc(50vw - 480px);
    }
    .portfolio .custom-nav {
        left: 768px;
        top: 68px;
    }
    .portfolio .owl-carousel .owl-div {
        width: 310px;
    }
    .portfolio .owl-stage-outer {
        padding-left: 180px;
        margin-left: -110px;
    }
    .swiper-container {
        width: 640px;
        height: 355px;
        position: relative;
    }
    .swiper-slide {
        height: 350px;
    }
    .swiper-slide img {
        max-width: 180px;
        max-height: 270px;
        margin-bottom: 30px;
    }
    .swiper-slide-active {
        transform: translateY(15px);
        transition: transform 0.4s;
    }
    .swiper-slide .text {
        display: none;
    }
    .swiper-slide-active .text {
        display: block;
    }
    .swiper-navigation {
        display: flex;
        justify-content: space-between;
        position: relative;
        top: 300px;
    }
    .contacts .brief-open {
        margin-top: 0;
    }
    .contacts .content {
        margin-top: 90px;
    }
    .contacts .left-block {
        width: 30.22%;
    }
    .contacts .left-block h2 {
        font-size: 30px;
        line-height: 100%;
        margin-bottom: 10px;
    }
    .contacts .left-block p {
        margin: 0;
    }
    .contacts .right-block {
        padding: 60px 60px;
        width: 48%;
        justify-content: space-between;
    }
    .contacts .right-block h2 {
        padding: 0;
        font-size: 30px;
    }
    .brief-open:hover .arrow::before {
        width: 100px;
    }
    .brief-open:hover .arrow::after {
        transform: rotate(-45deg) translate(0, 0);
    }
    .brief-open .arrow::before {
        left: unset;
        right: 0;
    }
    .contacts .inst-content h2 {
        line-height: 26px;
    }
    .contacts .inst-content {
        margin-top: 100px;
    }
    .contacts .inst-content .img-block {
        padding-bottom: 50px;
        max-height: 200px;
    }
    .footer {
        margin-top: 50px;
    }

    .nav ul li:not(:last-child) {
        padding-right: 30px;
    }
    .nav ul li a {
        font-size: 14px;
    }
    .footer .nav-2 ul li a {
        font-size: 12px;
    }
    .footer .nav-2 .company-link {
        font-size: 14px;
    }
    .footer .nav-2 ul li {
        padding-right: 50px;
    }
    .footer .nav-2 ul li:nth-last-child(-n + 2) {
        padding-right: 0;
    }
    .logo {
        width: 17%;
        margin-right: 115px;
    }

    /* modal */
    .modal .modal-container {
        padding: 40px 30px 36px 30px;
    }
    .modal .modal-block {
        max-width: 960px;
        max-height: 599px;
    }
    .modal .modal-header h2 {
        font-size: 40px;
        line-height: 100%;
    }
    .modal .modal-content {
        display: flex;
        flex-direction: column;
    }
    .modal form .modal-left {
        width: 100%;
        margin-bottom: 15px;
    }
    .modal form .modal-right {
        flex-direction: row;
        width: 100%;
    }
    .modal .modal-header h3 {
        font-weight: bold;
        font-size: 38px;
        line-height: 50px;
        padding-right: 10px;
    }
    .modal form textarea {
        height: 150px;
    }
    .modal .right-block-footer {
        margin-top: 10px;
        flex-direction: row;
        justify-content: start;
    }
    .modal .right-block-footer .footer-left {
        margin-right: 14px;
    }
    .modal .modal-right-top {
        width: 50%;
    }
    .modal .modal-right-bottom {
        width: 330px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .modal form .modal-left input {
        font-size: 18px;
        line-height: 100%;
        font-family: SFProDisplay;
    }
    .modal form .modal-left select {
        font-size: 18px;
        line-height: 100%;
        font-family: SFProDisplay;
    }
    .modal form .modal-right .brief-btn {
        width: 330px;
        padding: 15px 0;
    }
    .modal .modal-right-top .modal-right-header {
        margin-bottom: 25px;
    }
    .modal form .add-file-label {
        margin-top: 0;
    }
    .modal .modal-right-header {
        width: 100%;
    }
}

@media (min-width: 1291.98px) {
    section,
    header,
    footer {
        padding: 0 calc(50vw - 646px);
    }
    .h-menu {
        display: none;
    }
    .portfolio {
        padding-left: calc(50vw - 646px);
    }
}

@media (max-width: 1535px) {
    /* УБИРАЕМ CASES  */
    .portfolio::before {
        display: none;
    }
}

@media (max-width: 1640px) {
    /* ФИКСИРУЕМ CASES  */
    .portfolio::before {
        left: 10px;
    }
}

/* Большие экраны ----------- */
@media (min-width: 1824px) {
    section,
    header,
    footer {
        padding: 0 calc(50vw - 646px);
    }
    .portfolio {
        padding-left: calc(50vw - 646px);
    }
}
