@import url("../fonts/font.css");
@import url("reset.css");

:root {
    --red: #EE312F;
}

/*------------------------Global------------------------*/
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.57;
    color: #222831;
    background: #fff;
    overflow-x: hidden;
}

a {
    color: #d8ddf2;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
    max-width: max-content;
    aspect-ratio: attr(width) / attr(height);
}

input,
button,
textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

input:not([type=checkbox]):not([type=radio]),
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input:focus,
textarea:focus,
button:focus {
    outline: none;
}

b {
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1140px;
    padding: 0 15px;
    margin: 0 auto;
}

.btn {
    background: transparent;
    border: 0;
    height: 48px;
    line-height: 48px;
    padding: 0 24px;
    font-weight: 700;
    transition: 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn img {
    margin-right: 12px;
}

.btn-red {
    background: #F02D2D;
    color: #fff;
}

.btn-red:hover {
    background: rgba(238, 49, 47, 0.75);
}

.btn-white {
    background: #FFFFFF;
    color: #222831;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.75);
}

.btn-white-border {
    border: 1px solid #FFFFFF;
    color: #fff;
}

.btn-white-border:hover {
    color: #222831;
    background: #fff;
}

.section {
    padding: 192px 0;
}

.section-page {
    padding: 224px 0 192px;
}

.title-section {
    font-weight: 800;
    font-size: 48px;
    line-height: 59px;
    color: #222831;
    margin-bottom: 96px;
}

.title-section.white-title {
    color: #fff;
}

.inform-box {
    background: #F9F9F9;
    padding: 48px;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-gap: 24px;
    align-items: center;
}

.inform-box.inform-dark {
    background: #222831;
    color: rgba(255, 255, 255, 0.75);
}

/*------------------------Preloader------------------------*/

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: #232B33;
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-image {
    width: 300px;
    height: 300px;
    background: url(../images/preloader.gif) no-repeat;
    background-size: contain;
}

.loaded {
    transition: opacity 0.3s;
    visibility: visible;
    opacity: 1;
}

/*------------------------ Topbar ------------------------*/

.topbar {
    position: fixed;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 9;
    transition: 0.3s;
}

.topbar.active,
.topbar.p-active,
.topbar.open-active {
    background: #222831;
}

.topbar .header_menu {
    display: flex;
    justify-content: space-between;
}

.topbar .header_menu .link_menu {
    display: flex;
    align-items: center;
}

.topbar .header_menu .link_menu li {
    margin-right: 28px;
}

.topbar .header_menu .link_menu li:last-child {
    margin-right: 0;
}

.topbar .header_menu .link_menu li a {
    display: flex;
    align-items: center;
    color: #fff;
}

.topbar .header_menu .link_menu li a svg,
.topbar .header_menu .link_menu li a img {
    margin-right: 12px;
}

.topbar .header_menu .link_menu li a svg path {
    transition: 0.2s;
}

.topbar .header_menu .link_menu li a:hover svg path {
    stroke: #F02D2D;
}

.topbar .open_menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: -100%;
    left: 0;
    background: #222831;
    width: 100%;
    height: calc(100% - 80px);
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.topbar .open_menu.active {
    visibility: visible;
    opacity: 1;
    top: 80px;
}

.topbar .open_menu li {
    margin: 24px 0;
}

.topbar .open_menu li a {
    font-weight: 700;
    transition: 0.2s;
    color: #fff;
}

.topbar .open_menu li a:hover {
    color: var(--red);
}

.topbar .header_menu .nav-link .close,
.topbar.open-active .header_menu .nav-link .bar {
    display: none;
}

.topbar.open-active .header_menu .nav-link .close {
    display: block;
}

.topbar .load-ben-m {
    display: none;
}

/*------------------------ Header ------------------------*/

.header_box {
    position: relative;
    min-height: 100vh;
}

.header_box video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
}

.header_box:after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(34, 40, 49, 0.75), rgba(34, 40, 49, 0.75));
    z-index: -1;
}

.header_box .head-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    color: #fff;
    padding: 55px 0;
}

.header_box .head-wrapper .head-info {
    align-self: center;
}

.header_box .head-wrapper .head-info h1 {
    font-weight: 800;
    font-size: 64px;
    line-height: 78px;
}

.header_box .head-wrapper .head-info h1 span {
    display: block;
    font-weight: 400;
    color: #F02D2D;
}

.header_box .head-wrapper .head-info .head-desc {
    padding: 32px 0 24px;
    max-width: 444px;
}

.header_box .head-wrapper .head-job {
    align-self: end;
    justify-self: end;
    max-width: 445px;
    width: 100%;
    background: rgba(34, 40, 49, 0.75);
    padding: 24px;
}

.header_box .head-wrapper .head-job .title-box {
    display: flex;
    font-weight: 800;
    font-size: 24px;
    justify-content: space-between;
}

.header_box .head-wrapper .head-job .job-item {
    padding: 24px 0;
}

.header_box .head-wrapper .head-job .job-item .title {
    color: #F02D2D;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.header_box .head-wrapper .head-job .btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
}

/*------------------------ Service Box ------------------------*/

.service_box .service_wrap {
    display: grid;
    grid-template-columns: minmax(300px, 445px) 1fr;
    grid-gap: 125px;
    align-items: start;
}

.service_box .service_wrap .service_item {
    background: #222831;
}

.service_box .service_wrap .service_item .info {
    background: #222831;
    padding: 48px;
}

.service_box .service_wrap .service_item .info .desc {
    font-size: 18px;
    line-height: 27px;
    color: #fff;
    margin-bottom: 24px;
}

.service_box .service_wrap .service_list .list-item {
    border-bottom: 1px solid #222831;
    padding-bottom: 48px;
    margin-bottom: 48px;
}

.service_box.service_p_box .service_wrap .service_item .info .desc ul,
.service_box.service_p_box .service_wrap .service_list .list-item {
    white-space: break-spaces;
}

.service_box .service_wrap .service_list .list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.service_box .service_wrap .service_list .list-item .title {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 24px;
    text-transform: lowercase;
}

.service_box .service_wrap .service_list .list-item .title:first-letter {
    text-transform: capitalize;
}

/*------------------------ Benefits Box ------------------------*/

.benefits_box {
    background: #222831;
    color: #fff;
    padding: 144px 0 344px;
}

.benefits_box .benefits_items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 48px 30px;
}

.benefits_box .benefits_items .item .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1C2F42;
}

.benefits_box .benefits_items .item .title {
    word-break: break-word;
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    margin: 16px 0 8px;
}

.benefits_box .benefits_items .item .desc {
    opacity: 0.7;
}

/*------------------------ Team Box ------------------------*/

.team_box {
    padding: 0;
}

.team_box .team-wrap {
    position: relative;
    margin-top: -200px;
    background: #F9F9F9;
    padding: 48px 48px 48px 500px;
    overflow: hidden;
}

.team_box .team-wrap .team-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 445px;
    height: 100%;
}

.team_box .team-wrap .team-bg img {
    position: absolute;
    height: 120%;
    width: auto;
    top: -40px;
    right: 0;
}

.team_box .team-wrap .title-section {
    margin-bottom: 24px;
}

.team_box .team-wrap .desc {
    margin-bottom: 24px;
    color: rgba(34, 40, 49, 0.75);
}

/*------------------------ Team Box ------------------------*/

.contasts_box .team-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 125px;
}

.contasts_box .team-items .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contasts_box .team-items .item .name {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 8px;
}

.contasts_box .team-items .item .position {
    font-size: 18px;
    margin-bottom: 24px;
}

.contasts_box .team-items .item ul {
    color: rgba(34, 40, 49, 0.75);
}

/*------------------------ Team Box ------------------------*/

.footer {
    background: #222831;
    padding: 96px 0;
    color: #fff;
}

.footer .footer-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 125px;
}

.footer .footer-wrap .footer-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.footer .footer-wrap .footer-info .contacts {
    margin: 48px 0;
}

.footer .footer-wrap .menu {
    font-weight: 700;
    font-size: 14px;
}

.footer .footer-wrap .menu li:not(:last-child) {
    margin-bottom: 24px;
}

.footer .footer-wrap .menu li a {
    transition: 0.2s;
}

.footer .footer-wrap .menu li a:hover {
    color: var(--red)
}

.footer .footer-wrap .load-offer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.footer .footer-wrap .load-offer .footer-iso {
    width: 128px;
    margin-bottom: 16px;
}

/*------------------------ About Page ------------------------*/

.about_p_box .about-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 125px;
}

.about_p_box .about-items .item .name {
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    margin-bottom: 24px;
}

/*------------------------ Team Page ------------------------*/

.team_p_box .list-item {
    max-width: 445px;
    width: 100%;
}

/*------------------------ Service Page ------------------------*/

.service_p_box .service_wrap {
    margin-bottom: 96px;
}

.service_p_box .service_wrap:last-child {
    margin-bottom: 0;
}

.service_p_box .service_wrap .desc .name {
    font-weight: 800;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 24px;
}

/*------------------------ Team Page ------------------------*/

.job_p_box .job_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 96px;
}

.job_item {
    background: #F9F9F9;
    padding: 48px;
}

.job_item .title {
    font-weight: 800;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 24px;
}

.job_item .job-section {
    margin-bottom: 16px;
}

.job_item .job-section .title-small {
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
}

/*------------------------ Modal ------------------------*/

.body-hidden {
    overflow: hidden;
}

.modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0D0D0D;
    opacity: 0.75;
}

.modal .modal-body {
    position: relative;
    z-index: 1001;
    width: 100%;
    max-width: 540px;
    background: #F9F9F9;
    -webkit-transition: 0.1s;
    -o-transition: 0.1s;
    transition: 0.1s;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.modal .modal-body .close-modal {
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 9;
}

.modal .modal-body .close-modal:hover svg g {
    opacity: 1;
}

.modal .modal-body .close-modal:hover svg path {
    stroke: #222831;
}

.modal.active .modal-body {
    transform: scale(1);
}

/*------------------------ Adaptive ------------------------*/

@media (max-width: 1140px) {}

@media (max-width: 992px) {}

@media (max-width: 768px) {

    .topbar .logo .logo-text {
        display: none;
    }

    .section {
        padding: 96px 0;
    }

    .benefits_box {
        padding: 96px 0 256px;
    }

    .header_box .head-wrapper .head-info h1 {
        font-size: 48px;
        line-height: 59px;
    }

    .title-section {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 48px;
    }

    .service_box .service_wrap {
        grid-template-columns: 1fr;
        grid-gap: 48px;
    }

    .head-job,
    .load-ben {
        display: none;
    }

    .benefits_box .benefits_items {
        grid-template-columns: 1fr;
        grid-gap: 48px;
    }

    .contasts_box .team-items {
        grid-template-columns: 1fr;
        grid-gap: 48px;
    }

    .contasts_box {
        text-align: center;
    }

    .team_box .team-wrap {
        padding: 368px 48px 48px 48px;
        margin-top: -150px;
    }

    .team_box .team-wrap .team-bg {
        width: 100%;
        height: 320px;
    }

    .team_box .team-wrap .team-bg img {
        height: 100%;
        width: auto;
        top: -40px;
        left: -100px;
    }

    .team_box {
        padding: 0;
    }

    .footer .footer-wrap {
        grid-template-columns: 1fr;
        grid-gap: 48px;
    }

    .footer .footer-wrap .load-offer {
        justify-self: start;
    }

    .topbar .load-ben-m {
        display: block;
    }

    .section-page {
        padding: 176px 0 96px;
    }

    .about_p_box .about-items {
        grid-template-columns: 1fr;
        grid-gap: 48px;
    }

    .team_p_box .list-item {
        max-width: 100%;
    }

    .job_p_box .job_wrap {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 500px) {
    .inform-box {
        grid-template-columns: 1fr;
    }
}