.s-a-title {
    color: rgb(255, 255, 255);
    font-size: 48px;
    font-weight: 500;
    line-height: 59px;
    max-width: 320px;
    margin-left: -3px;
}
.second-any .container {
    width: 100%;
}
.s-a-headline  {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.s-a-headline p {
    color: rgba(255, 255, 255, 0.1);
    font-size: 206px;
    font-weight: 800;
    line-height: 251px;
}
.s-a-headline > p:nth-child(1) {
    margin-left: -17px;
}
.s-a-headline > p:nth-child(4) {
    margin-right: -7px;
}
.third-any .container {
    display: flex;
    justify-content: space-between;
    margin-top: -257px;
}
.ta-left {
    min-width: 150px;
}
.ta-img {
    padding-bottom: 5px;
}
.ta-left-txt {
    font-size: 15px;
    font-weight: 300;
    line-height: 18px;
    color: #FFFFFF;
}
.ta-right p {
    margin-top: -14px;
    font-size: 60px;
    font-weight: 600;
    line-height: 73px;
    color: #FFFFFF;
}
.ta-right p span {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    display: block;
    max-width: 450px;
}
.fa-headline {
    background: linear-gradient(90.00deg, rgb(66, 227, 172),rgb(72, 255, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-size: 40px;
    font-weight: 700;
    line-height: 49px;
    text-align: left;
}
.fa-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    padding: 40px 0 60px 0;
}
.fa-btn {
    width: 423px;
    height: 63px;
    display: block;
}
.fa-btn img:hover {
    width: 432px;
    height: auto;
}
.navigation span {

}
.artop {
    display: block;
    width: 17px;
    height: 2px;
    background: linear-gradient(90.00deg, rgb(66, 227, 172) 0%, rgb(42, 255, 255) 100%);
    transform: rotate(45deg);
}
.arbtm {
    display: block;
    width: 17px;
    height: 2px;
    background: linear-gradient(90.00deg, rgb(66, 227, 172) 0%, rgb(42, 255, 255) 100%);
    transform: rotate(-45deg);
    margin-top: 10px;
}
.navigation a {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding-bottom: 33px;
    opacity: 0.4;
}
.nav-ar {
    padding-right: 15px;
}
.navigation .nav-a {
    opacity: 1;
}
.fourth-any .container {
    width: 100%;
}
.navigation p {
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1px;
}
.navigation a:hover  {
    opacity: 1;
}
.f-slide {
    width: 100%;
}
.scroll-container {
    background: url(https://igit.spb.ru/img/front-page-ani/1-1.png);
    background-size: cover;
    background-position: center;
}
.fifth-any {
    height: 100%;
    width: 589px;
    background: #000;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    box-sizing: border-box;
    color: #fff;
    margin-right: auto;
}
.second-p-all {
    background: url(https://igit.spb.ru/img/front-page-ani/2-1.jpg);
    background-size: cover;
    background-position: center;
}
.b-panel {
    height: 100%;
    width: 589px;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    box-sizing: border-box;
    color: #fff;
    margin-right: auto;
}
.panel .container {
    width: 100%;
}
.third-p-all {
    background: url(https://igit.spb.ru/img/front-page-ani/3-1.png);
    background-size: cover;
    background-position: center;
}
.fourth-p-all {
    background: url(https://igit.spb.ru/img/front-page-ani/4-1.png);
    background-size: cover;
    background-position: center;
}
.start-inner {
    padding-top: 318px;
}
.direction-box {
    width: 306px;
    height: 200px;
    display: block;
    border: 1px solid #1abc9c;
    padding: 20px 0 30px 30px;
}
.direction-box-headline {
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    background: linear-gradient(90.00deg, rgb(66, 227, 172), rgb(72, 255, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.direction-box-headline img {
    padding-right: 17px;
}
.direction-box-txt {
    font-family: Montserrat;
    font-size: 12px;
    line-height: 14px;
    font-weight: normal;
}
.direction-box-btn  {
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
    background: linear-gradient(90.00deg, rgb(66, 227, 172), rgb(72, 255, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 247px;
}
.direction-box-hidden {
    padding-top: 20px;
}
.directions .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 254px 0 254px 0;
}
section.directions > div > a:nth-child(1) {
    border-left: unset;
    border-top: unset;
    border-bottom: unset;
}
section.directions > div > a:nth-child(2) {
    border-top: unset;
    border-left: unset;
    border-bottom: unset;
}
section.directions > div > a:nth-child(3) {
    border: unset;
}
section.directions > div > a:nth-child(4) {
    border-left: unset;
}
section.directions > div > a:nth-child(5) {
    border-left: unset;
}
section.directions > div > a:nth-child(6) {
    border-right: unset;
    border-left: unset;
}
section.directions > div > a:nth-child(7) {
    border-left: unset;
    border-bottom: unset;
    border-top: unset;
}
section.directions > div > a:nth-child(8) {
    border-bottom: unset;
    border-left: unset;
    border-top: unset;
}
section.directions > div > a:nth-child(9) {
    border-right: unset;
    border-bottom: unset;
    border-left: unset;
    border-top: unset;
}
.lorem-text {

    border-radius: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}
.lorem-text-box {
    cursor: pointer;
}
.lorem-text-box.active,
.lorem-text-box.hover {
    position: relative;
}
.lorem-text-box.active::after,
.lorem-text-box.hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #42E3AC, #48FFFF);
}
.lorem-text-wrap.gl:after {
    opacity: 0.4;
}

.lorem-text-box  {
    height: 100px;
    width: 172px;
}
.lorem-text-wrap {
    font-size: 22px;
    line-height: 1.45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1220px;
}
.lorem-text-hidden {
    padding-top: 140px;
    height: 85px;
}
.lorem-text-wrap .s-btn {
    margin-top: 0;
}
.op-ib p {
    font-size: 15px;
    height: 110px;
    max-width: 226px;
}
.hidden {
    width: 1220px;
}
.s,
.n,
.ve,
.vn,
.op {
    display: none;
}
.s.active,
.n.active,
.ve.active,
.vn.active,
.op.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.op-ib {
    padding-left: 100px;
    height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.op-ib.start {
    padding-left: 0;
}

.direction-box-hidden {
    display: none;
}
.direction-box-hidden.active{
    display: block;
}
/* Базовый стиль */
.directions {
    transition: background 0.3s ease;
}
.directions {
    background: url('../img/pzdc/1.png') center/cover no-repeat;
}
/* Фоны */
.directions.bg-1 {
    background: url('../img/pzdc/1.png') center/cover no-repeat;
}

.directions.bg-2 {
    background: url('../img/pzdc/2.png') center/cover no-repeat;
}

.directions.bg-3 {
    background: url('../img/pzdc/3.png') center/cover no-repeat;
}
.directions.bg-4 {
    background: url('../img/pzdc/4.png') center/cover no-repeat;
}
.directions.bg-5 {
    background: url('../img/pzdc/5.png') center/cover no-repeat;
}
.directions.bg-6 {
    background: url('../img/pzdc/6.png') center/cover no-repeat;
}
.directions.bg-7 {
    background: url('../img/pzdc/7.png') center/cover no-repeat;
}
.directions.bg-8 {
    background: url('../img/pzdc/8.png') center/cover no-repeat;
}
.direction-box:hover {
    background: rgba(0, 0, 0, 0.5);
}
.ffm-slider {
    display: none !important;
}
.lorem-text-fm-slider {
    display: none !important;
}
.fm-slider {
    display: none;
}
.fm-slider-wrap {
    display: none;
}
.fm-directions {
    display: none;
}
.video-wrapper {
    position: relative;
}
.video-wrapper img {
    position: absolute;
    z-index: 99999999999999999999999999999999999999999999;
    top: 850px;
    display: block;
    left: 50%;
}
.fm-exbg {
    display: none;
}

@media (max-width: 540px) {
    .video-wrapper video {
        margin: 0 auto;
    }
    .s-a-headline p {
        font-size: 125px;
        line-height: 140px;
    }
    .ta-left {
        display: none;
    }
    .ta-right {
        margin-top: 235px;
    }
    .ta-right p {
        margin: 0;
        font-size: 32px;
        line-height: 38px;
    }
    .ffm-slide {
        width: 100%;
        height: 812px;
        background-size: 100% !important;
        background-repeat: no-repeat !important;
    }
    .ffm-slide.first {
        background: url("../img/ffm/ffm1.png");
    }
    .ffm-slide.third {
        background: url("../img/ffm/ffm2.png");
    }
    .ffm-slide.fifth {
        background: url("../img/ffm/ffm3.png");
    }
    .ffm-slide.seven {
        background: url("../img/ffm/ffm4.png");
    }
    .ffm-slider {
        margin-top: 85px;
        display: block !important;
    }

    .fa-headline {
        margin-top: 257px;
        font-size: 32px;
        line-height: 36px;
    }
    .fa-title {
        font-size: 16px;
        line-height: 18px;
    }
    .fa-btn img {
        max-width: 349px;
    }
    .horizontal-scroll {
        display: none;
    }
    .directions {
        display: none;
    }
    .lorem-text-wrap.gl {
        display: none;
    }
    .lorem-text-hidden {
        display: none;
    }
    .lorem-text-fm-slider {
        display: block !important;
    }
    .lorem-text-fm-slider {
        max-height: 300px;
    }
    .lorem-text-box {
        width: 100%;
    }
    .lorem-text-box  {
        height: 100px;
        width: 172px !important;
    }
    .lorem-text-fm-slider .lorem-text-box {
        width: 100%;
    }
    .fm-slider {
        display: block;
    }
    .fm-slide-img-box img {
        width: 55px;
    }
    .fm-slide-img-box .op-ib {
        width: 150px;
        height: 195px;
        padding: 0;
        text-align: center;
    }
    .fm-slide-img-box {
        display: flex;
        flex-wrap: wrap;
        padding-top: 40px;
    }
    .op-ib p {
        font-size: 13px !important;
        font-weight: 400;
        line-height: 16px;
        font-family: Montserrat;
    }
    .fm-slider-headline {
        text-align: center;
        padding-bottom: 24px;
        font-size: 16px;
        letter-spacing: 1px;
        width: 261px;
        margin: 0 auto;
        font-family: Montserrat;
    }
    .fm-slider-slide {
        max-width: 300px;
        margin: 0 auto;
    }
    .fm-slider-headline.gl::after {
        height: 3px !important;
    }
    .fm-slider {
        position: relative;
    }
    /*.fm-slider:before {*/
    /*    content: "";*/
    /*    position: absolute;*/
    /*    left: 0;*/
    /*    top: 78px;*/
    /*    width: 100%;*/
    /*    height: 1px;*/
    /*    background: linear-gradient(to right, #42E3AC, #48FFFF);*/
    /*}*/
    .fm-slider-wrap {
        /*margin-top: -200px;*/
    }
    .center-text {
        font-size: 32px !important;
        font-weight: 700 !important;
        line-height: 39px !important;
        padding: 0 !important;
        width: 80%;
    }
    .fm-slide-img-box > div:nth-child(5) {
        margin: -37px auto 0 auto;
        height: 175px;
        width: 200px;
    }
    .fm-slider-wrap {
        position: relative;
        padding-top: 75px;
        z-index: 1;
    }

    .fm-slider-wrap::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("../img/ffm/fms.png") no-repeat;
        background-size: 100% 104%;
        opacity: 0.5; /* Настройка прозрачности */
        z-index: -1;
    }
    .custom-center-text {
        font-size: 32px !important;
        font-weight: 700 !important;
        line-height: 39px !important;
        padding: 0 !important;
        width: 80%;
    }
    .custom-center-text br {
        display: none;
    }
    #sumid_btm-btn {
        margin-top: 20px;
    }
    .fm-slider .slick-prev,
    .fm-slider .slick-next {
        display: block !important;
        position: absolute;
        color: transparent;
        z-index: 999999;
    }
    .fm-slider .slick-next {
        top: 285px;
        right: 0;
    }
    .fm-slider .slick-prev {
        margin-top: 285px;
        margin-left: 20px;
    }
    .fm-slider .slick-prev:before {
        content: '';
        background: url(../img/ffm/arr.png);
        width: 13px;
        height: 26px;
        display: block;
        transform: rotate(180deg);
        position: absolute;
        cursor: pointer;
    }
    .fm-slider .slick-next:before {
        content: '';
        background: url(../img/ffm/arr.png);
        width: 13px;
        height: 26px;
        display: block;
        position: absolute;
        cursor: pointer;
    }
    .fm-directions {
        height: 850px;
    }
    .fm-slider-wrap {
        display: block;
        height: 850px;
    }
    .fm-directions {
        display: block;
    }
    .fm-direction-headline  {
        display: flex;
        align-items: center;
    }
    .fm-direction-headline span {
        color: rgb(255, 255, 255);
        font-size: 11px;
        font-weight: 500;
        line-height: 13px;
        padding-left: 17px;
        font-family: 'Montserrat';
    }
    .fm-directions-hiden p {
        color: rgb(255, 255, 255);
        font-size: 11px;
        font-weight: 500;
        line-height: 13px;
        font-family: 'Montserrat';
    }
    .fm-direction-box {
        margin-left: auto;
        padding-bottom: 10px;
        padding-top: 10px;
        max-width: 300px;
        margin-right: auto;
    }
    .direction-box-btn.gbb {
        font-size: 11px;
        padding: 10px 15px;
        font-family: 'Montserrat';
    }






    .fm-directions {
        transition: background-color 0.3s ease;
    }

    /* скрытие вложенного контента по умолчанию */
    .fm-directions-hiden {
        display: none;
    }

    /* активный блок показывает скрытый текст */
    .fm-direction-box.active .fm-directions-hiden {
        display: block;
        padding-top: 20px;
    }

    /* Фоны — применяются к .fm-directions в зависимости от активного блока */

    .fm-directions {
        background-size: 100% 100% !important;
        background-repeat: no-repeat !important;
        padding: 140px 0;
    }

    .fm-directions.bg-oil {
        background: url("../img/ffm/1.jpg");
    }

    .fm-directions.bg-industry {
        background: url("../img/ffm/2.jpg");
    }

    .fm-directions.bg-public {
        background: url("../img/ffm/3.jpg");
    }

    .fm-directions.bg-construction {
        background: url("../img/ffm/4.jpg");
    }

    .fm-directions.bg-banking {
        background: url("../img/ffm/5.jpg");
    }

    .fm-directions.bg-insurance {
        background: url("../img/ffm/8.jpg");
    }

    .fm-directions.bg-fmcg {
        background: url("../img/ffm/6.jpg");
    }

    .fm-directions.bg-logistics {
        background: url("../img/ffm/7.jpg");
    }

    /*.fm-direction-box.fmcg.gl::after,*/
    /*.gl::after {*/
    /*    content: "";*/
    /*    position: absolute;*/
    /*    left: 0 !important;*/
    /*    bottom: 0 !important;*/
    /*    width: 100% !important;*/
    /*    height: 1px !important; !* Толщина подчеркивания *!*/
    /*    background: linear-gradient(to right, #42E3AC, #48FFFF) !important;*/
    /*    display: block!important;*/
    /*}*/
    .fm-direction-headline {
        padding-left: 11px;
    }
    .scroll-section {
        display: none;
    }
    .fm-exbg {
        position: relative;
        height: 850px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .fm-exbg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../img/ffm/fms.png) no-repeat;
        background-size: 100% 104%;
        opacity: 0.9;
        z-index: -1;
    }
    .fm-exbg-center-text {
        font-size: 32px;
        font-weight: 700;
        line-height: 39px;
        padding: 0;
        width: 80%;
        text-align: center;
    }
    .fm-exbg {
        display: flex;
    }
}
