/* Плавная прокрутка якоря */
html {
    scroll-behavior: smooth;
}

.bitrix .h2 {
    margin-bottom: 36px;
}

.black_bg {
    background: url('/site/templates/default/imgs/linearbg.png') repeat center;
    color: #fff;
}


/* Паддинги секций на мобилке */

@media screen and (max-width: 767px) {
    #fullpage-disabled > *:not(:first-child) {
        padding: 50px 0;
    }

    .bitrix .h2 {
        margin-bottom: 24px;
    }
}

* {
    min-height: 0;
    min-width: 0;
}

/* Первый экран */

#fullpage-disabled > *:first-child {
    height: auto;
    overflow: hidden;
}

.head__wrapper {
    padding-top: 206px;
    position: relative;
}

.head {
    background: url(/site/templates/default/imgs/bghead-our-cases.jpg) no-repeat center center/cover;
    min-height: auto;
    height: auto;
}

.head__container {
    max-width: 1366px;
    padding: 0 20px;
    margin: 80px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.hashtag__container {
    margin: 38px 0 58px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.hashtag__item {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: center;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 40px;
    color: #E4E5EA;
    border: 1px solid #A5A6A8;
}

.head__container .left {
    max-width: 492px;
    min-height: 506px; /* Если убрать то слайдер будет скакать из-за отрицательного марджина у слайдов */
    z-index: 10;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.head__container .right {
    max-width: 651px;
}

.bitrix__slider_item {
    width: 651px;
    height: 476px;
    border-radius: 16px;
    object-fit: cover;
    transform: scale(0.8);
    opacity: 0;
    transition: 1s;
    margin: 0 -20px -48px;
}

.bitrix__slider_item.slick-active, .bitrix__slider_item.slick-current {
    transition: 1s;
    transform: scale(1);
    opacity: 1;
    margin: 0 -20px 0;
}

.bitrix__slider .slick-active ~ img {
    opacity: 0.4;
}

.head__description {
    line-height: 28px;
}

.head__container .mobile {
    display: none;
    margin-top: 38px;
}

@media screen and (max-width: 1062px) {
    .head__container {
        flex-direction: column;
    }

    .head__container .mobile {
        display: block;
    }

    .head__container .desktop {
        display: none;
    }

    .head__container .left {
        min-height: auto;
    }

    .head__container .right {
        max-width: 100%;
    }

    .hashtag__container {
        margin: 38px 0;
    }

    .bitrix__slider_item {
        margin: 0;
        opacity: 0.6;
    }

    .bitrix__slider_item.slick-active, .bitrix__slider_item.slick-current {
        margin: 0;
    }
}

@media screen and (max-width: 1023px) {
    .head__container {
        margin-top: 0;
    }
}

@media screen and (max-width: 767px) {
    .bitrix__slider_item {
        max-width: 318px;
        width: auto;
        height: 278px;
        margin: 0;
    }

    .bitrix__slider_item.slick-active {
        margin: 0;
    }

    .head__container .left {
        max-width: 100%;
    }

    .head__container .mobile {
        margin: 0 auto;
    }

    .hashtag__container {
        gap: 16px;
    }

    .head.pd {
        padding: 90px 0;
    }
}

/* Битрикс24 помогает бизнесу работать */

.helper {
    overflow: hidden;
    background: url('/site/templates/default/imgs/bitrix/bg-chips.png') no-repeat center center/cover;
}

.helper .container {
    position: relative;
}

.helper-chips__container {
    overflow-x: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.helper-chips__item {
    color: #000;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    display: flex;
    padding: 14px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 40px;
    background: #E4E5EA;
    transition: all .2s linear;
    cursor: pointer;
    white-space: nowrap;
    min-width: fit-content;
}

.helper-chips__item.active,
.helper-chips__item:hover {
    background: #36C0C2;
}

.helper .content {
    margin-top: 50px;
}

.helper .content-item {
    display: none;

    grid-template-columns: 340px minmax(300px, 856px);
    row-gap: 32px;
    column-gap: 24px;
}

.helper .content-item.active {
    display: grid;
}

.helper .content-item img {
    width: 100%;
    max-width: 856px;
    height: auto;
    object-fit: contain;
}

.helper .content-item ul {
}

.helper .content-item ul li {
    position: relative;
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%; /* 27.2px */
    text-transform: uppercase;

    margin: 0 0 30px;
}

.helper .content-item ul li:before {
    content: '';
    background: #36C0C2;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: -4px;
}

@media screen and (max-width: 1000px) {
    .helper .content {
        margin-top: 24px;
    }

    .helper .content-item {
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    .helper .content-item img {
        min-height: auto;
        order: -1;
    }

    .helper-chips__container {
        margin: 0 -16px;
        /*position: absolute;*/
        /*top: 610px;*/
        /*left: 16px;*/
        -ms-overflow-style: none;  /* IE и Edge */
        scrollbar-width: none;  /* Firefox */
    }

    /* Скрываем scrollbar для Chrome, Safari и Opera */
    .helper-chips__container::-webkit-scrollbar {
        display: none;
    }

    .helper .content-item ul li {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        text-transform: none;
        line-height: 170%; /* 27.2px */
        margin: 0 0 12px;
    }
}



/* Почему мы надежный партнер */

.partner__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    row-gap: 32px;
    column-gap: 24px;
}

.partner__card-large {
    grid-column: span 3;
}

.partner__card {
    position: relative;
    border-radius: 16px;
    background: #fff;
    padding: 28px 32px;
    min-height: 278px;
    overflow: hidden;
}

.partner__card_title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    color: #000;
    z-index: 2;
}

.partner__card_desc {
    color: #000;
    position: relative;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    z-index: 2;
}

.partner__card-large .partner__card_desc {
    max-width: 64%;
}

.partner__card_image {
    max-width: 312px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.partner__card_image-mob {
    display: none;
}

@media screen and (max-width: 1000px) {
    .partner__cards {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 24px;
    }

    .partner__card-large {
        grid-column: auto;
    }

    .partner__card_image-desk {
        display: none;
    }

    .partner__card_image-mob {
        display: block;
    }

    .partner__card_desc {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .partner__card {
        padding: 16px;
    }

    .partner__card_title {
        font-size: 16px;
        line-height: 24px;
    }

    .partner__card_desc {
        font-size: 14px;
        line-height: 24px;
    }
}

/* Блок со списком кейсов */


.cases__list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(8, 1fr);
}

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

.quesion-wrap a {
    text-decoration: none;
    color: #fff;
}


.case__item {
    border-radius: 16px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all .4s ease-in-out;
    background-size: 300% 100%;
    z-index: 2;
}

.case__item:hover {
    background-position: 100% 0;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.case__item.large {
    grid-column: span 2;
    grid-row: span 4;
}

.case__item.medium {
    grid-column: span 2;
    grid-row: span 2;
}

.case__item.small {
    grid-column: span 1;
    grid-row: span 2;
}

@media screen and (max-width: 1250px) {
    .case__item.small {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.case__item.medium .case__image {
    max-width: 200px;
}

.case__item.small .case__image {
    max-width: 100px;
}

.case__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 49px;
    margin-bottom: 24px;
}

.kalyanich {
    background-image: linear-gradient(to right, #DFBE4A, #e43603, #fa7199, #DFBE4A);
    box-shadow: 0 2px 15px 0 rgba(229, 66, 10, 0.75);
}

.radio {
    background-image: linear-gradient(to right, #fff, #dfc8ff, #e3d4fa, #F1E8FF);
    box-shadow: 0 4px 15px 0 rgba(223, 200, 255, 0.75);
}


.bar-service {

    background-image: linear-gradient(to right, #29323c, #485563, #2b5876, #4e4376);
    box-shadow: 0 4px 15px 0 rgba(45, 54, 65, 0.75);
    color: #fff;
}

.perspektiva {
    background-image: linear-gradient(to right, #63c9f3, #95cff3, #80d4f1, #d0e9fa);
    box-shadow: 0 4px 15px 0 rgba(176, 235, 253, 0.75);
}

.sovet-metrologov {
    background-image: linear-gradient(to right, #0ba360, #3cba92, #30dd8a, #2bb673);
    box-shadow: 0 4px 15px 0 rgba(23, 168, 108, 0.75);
}

.hi-tech {
    background-image: linear-gradient(to right, #25aae1, #5ab8ec, #5ca7dc, #4B9ED5);
    box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);
    color: #fff;
}

.ostrov {
    background-image: linear-gradient(to right, #FFC8AB, #ff9a44, #ef9d43, #e75516);
    box-shadow: 0 4px 15px 0 rgba(252, 104, 110, 0.75);
}

.bar-uchebniy {
    background-image: linear-gradient(to right, #FFA0A1, #ec8c69, rgba(239, 50, 120, 0.74), #FBB03B);
    box-shadow: 0 4px 15px 0 rgba(236, 116, 149, 0.75);
}

.csm {
    background-image: linear-gradient(to right, #009245, #54A692, #00A8C5, #D9E021);
    box-shadow: 0 4px 15px 0 rgba(83, 176, 57, 0.75);
    color: #fff;
}

.case__subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    max-width: 474px;
}

.case__image {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.case__item_long-row .case__image {
    top: 48px;
    bottom: 36px;
    right: 36px;
}

.csm .case__image {
    top: 24px;
    bottom: 36px;
    right: 36px;
}

@media screen and (max-width: 1062px) {
    .asite_btn.mobile {
        margin-top: 36px;
    }
}

@media screen and (max-width: 894px) {
    .case__item.large,
    .case__item.medium,
    .case__item.small {
        grid-column: span 4;
        grid-row: span 2;
    }

    .case__item.large .case__image,
    .case__item.medium .case__image,
    .case__item.small .case__image {
        max-width: 100px;
    }

    .cases__list {

    }
}

@media screen and (max-width: 730px) {
    .case__item {
        padding: 24px;
    }

    .case__item_long-row .case__image {
        top: auto;
        right: 0;
        bottom: 0;
    }

    .case__image {
        max-width: 50%;
    }

    .case__title {
        font-size: 22px;
        font-weight: 700;
        line-height: 38px;
        margin-bottom: 16px;
    }

    .case__subtitle {
        font-size: 14px;
    }
}

/* Какой результат вы получите */

.result__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    gap: 40px;
}

.result__card {
    text-decoration: none;
    color: #000;
    box-shadow: 0px 5px 30px 0px #00000014;
    border-radius: 16px;
    min-height: 512px;
    padding: 32px 16px;
    background: #F5F5F5;

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: all 0.3s linear;
}

.bg {
    position: absolute;
    border-radius: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    transition: all 0.3s linear;
}

.result__card:focus {
    background-color: #54DDDF;
}

.result__card:focus .result__card_button {
    background: #36C0C2;
}

.result__card_button:focus {
    background: #36C0C2;
}

.result__card_button:focus ~ .bg {
    background-color: #54DDDF;
}

.result__card_container {
    z-index: 2;
}

@media screen and (max-width: 1062px) {
    .result__cards {
        gap: 16px;
    }

    .result__card_container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .result__card {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.result__card_icon {
    min-height: 63px;
    max-width: 120px;
    margin-bottom: 42px;
}

.result__card_title {
    margin-bottom: 30px;
    color: #000;
}

.result__card_desc {
    color: #000;
    text-align: center;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%; /* 27.2px */
}

.result__card_desc li {
    font-size: 16px;
}

.result__card_desc li::marker {
    content: '';
}

.result__card_button {
    position: relative;
    transition: all 0.3s linear;
    padding: 16px 58px;
    border-radius: 16px;

    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    transition: all 0.3s linear;
}

.result__card_button::before {
    content: "\f178";
    font-family: "fontawesome";
    position: absolute;
    top: 50%;
    left: 44px;
    transform: translateY(-50%) rotate(90deg);
    font-size: 20px;
    transition: .3s;
    color: #000;
}

.result__card:hover {
    background: #36C0C2;
}

.result__card:hover .result__card_button {
    box-shadow: 0px 5px 30px 0px #00000014;
    background: #54DDDF;
}

.result__arrow {
    display: none;
}

@media screen and (max-width: 1172px) {
    .result__cards {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .result__card {
        min-height: auto;
        text-align: left;
    }

    .result__card_icon {
        margin-bottom: 24px;
    }

    .result__card_desc {
        display: none;
    }

    .result__card_button {
        display: none;
    }

    .result__card_title {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .result__arrow {
        display: block;
        max-width: 18px;
    }
}

/* Демонастрация продукта */

.banner__container {
    padding: 100px 36px;
    background: #20212E;
    border-radius: 16px;
    color: #fff;
}

h2.banner__title {
    margin-bottom: 0;
    color: #fff;
    max-width: 800px;
}

.banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.banner__text {
    max-width: 660px;
}

.banner-form {
    display: none;
    border-radius: 0;
    overflow: hidden;
}

.banner-form .b24-form-sign {
    display: none;
}

.banner-form .b24-form-control-desc {
    color: #fff;
}

.banner-form .b24-form-wrapper {
    max-width: 100%;
    box-shadow: none !important;
}

.banner-form .b24-form-padding-side {
    padding: 0;
}

.button {
    cursor: pointer;
    padding: 14px 34px;
    border-radius: 36px;
    z-index: 10;
    white-space: nowrap;

    transition: all .2s linear;
}

.button:hover {
    background: #cacaca;
}

.white__button {
    color: #000;
    background: #EFF0F0;
}

.b24-form-wrapper.b24-form-border-bottom {
    background: #20212E;
    color: #fff;
    border: none !important;
}

.b24-form-wrapper.b24-form-border-bottom input,
.b24-form-wrapper.b24-form-border-bottom textarea {
    background: #EFF0F0;
    color: #20212E;
    border: none !important;
}

.b24-form-control-alert.b24-form-control-checkbox, .b24-form-control-alert.b24-form-control-radiobox, .b24-form-control-alert.b24-form-control-file, .b24-form-control-alert.b24-form-control-list .b24-form-control, .b24-form-control-alert.b24-form-control-string .b24-form-control, .b24-form-control-alert.b24-form-control-text .b24-form-control {
    background-color: #EFF0F0 !important;
}

.banner-form .b24-form-style-modern .b24-form-control-text .b24-form-control {
    border-bottom: 1px solid #184694;
}

.banner-form .b24-form-control-string .b24-form-control,
.banner-form .b24-form-control-list .b24-form-control,
.banner-form .b24-form-control-text .b24-form-control,
.banner-form .b24-form-control-select .field-item {
    color: #fff;
}

.banner-form .b24-form-btn {
    max-width: fit-content;
    padding: 16px 36px;
    color: #003676;
    background: #EFF0F0;
    border-radius: 36px;
    font-weight: 400;
}

.banner-form .b24-form-btn:hover {
    background: #cacaca;
}

@media screen and (max-width: 1023px) {
    .banner__container {
        padding: 50px 28px;
    }
}

@media screen and (max-width: 767px) {
    .banner__content {
        flex-direction: column;
    }

    .banner__title {
        margin-bottom: 8px;
    }

    .banner__text {
        margin-bottom: 12px;
    }
}
