/* Страница «Заказная разработка» (industry) */

/* Первый экран: на мобильном декор встаёт между кнопкой и цифрами */

.industry-hero {
    display: flex;
    flex-direction: column;
    padding: 135px 0 161px;
    background-color: #fdf0de;
}

.industry-hero .product-hero__decor {
    order: 1;
    height: 277px;
    margin-top: 49px;
}

.industry-hero__facts {
    order: 2;
    margin-top: 24px;
}

.industry-hero__title {
    font-size: var(--fs-h5);
    line-height: 1.08;
}

.industry-hero__button {
    min-height: 40px;
    margin-top: 32px;
    padding: 8px 24px;
    font-size: var(--fs-caption);
}

.industry-hero .product-hero__leaf--corner {
    top: 564px;
    left: calc(var(--x) - 120px);
    width: 181px;
    transform: rotate(90deg);
}

.industry-hero .product-hero__leaf--top {
    top: -63px;
}

.industry-hero .product-hero__leaf--left {
    top: -17px;
}

.industry-hero .product-hero__leaf--right {
    top: 87px;
    left: calc(var(--x) + 270px);
    width: 303px;
}

.industry-hero .product-hero__image {
    top: 0;
    left: calc(var(--x) + 48px);
    width: 264px;
}

.industry-stats {
    display: grid;
    grid-template-columns: repeat(2, 140px);
    gap: 24px 25px;
}

.industry-stats__item:last-child {
    grid-column: 1 / -1;
}

.industry-stats__value {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    color: var(--color-ink);
}

.industry-stats__label {
    margin-top: 12px;
    font-size: var(--fs-caption);
    line-height: 1.38;
    color: var(--color-text);
}

.industry-hero__industries {
    margin-top: 16px;
}

@media (min-width: 980px) {
    .industry-hero {
        display: block;
        padding: 233px 0 158px;
    }

    .industry-hero .product-hero__decor {
        height: auto;
        margin: 0;
    }

    .industry-hero__facts {
        display: grid;
        grid-template-columns: 920px 1fr;
        margin-top: 151px;
    }

    .industry-hero__title {
        max-width: 651px;
        font-size: var(--fs-h2);
    }

    .industry-hero__button {
        min-height: 48px;
        margin-top: 48px;
        padding: 12px 32px;
        font-size: var(--fs-body);
    }

    .industry-hero .product-hero__leaf--corner {
        top: 698px;
        left: -8px;
        width: 510px;
    }

    .industry-hero .product-hero__leaf--top {
        left: auto;
        right: 4px;
    }

    .industry-hero .product-hero__leaf--left {
        left: -210px;
    }

    .industry-hero .product-hero__leaf--right {
        top: 370px;
        left: auto;
        right: -8px;
        width: 410px;
    }

    .industry-hero .product-hero__image {
        top: 104px;
        left: calc(var(--x) + 616px);
        width: 552px;
    }

    .industry-stats {
        grid-template-columns: 196px 196px 232px;
        column-gap: 112px;
    }

    .industry-stats__item:last-child {
        grid-column: auto;
    }

    .industry-stats__value {
        font-size: var(--fs-display);
    }

    .industry-stats__label {
        margin-top: 16px;
        font-size: var(--fs-body);
    }

    .industry-hero__industries {
        margin-top: 0;
    }
}

/* Клиенты — белая панель со скруглённым верхом поверх первого экрана */

.industry-clients {
    position: relative;
    margin-top: -32px;
    padding: 97px 0 63px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background-color: var(--color-white);
}

@media (min-width: 980px) {
    .industry-clients {
        margin-top: -96px;
        padding: 96px 0 94px;
        border-radius: 96px 96px 0 0;
    }

    .industry-clients .clients {
        grid-template-columns: repeat(4, 172px);
        column-gap: 69px;
    }
}

/* Проблематика: снизу скруглена поверх видео */

.industry-problems {
    --side-decor-shift: 22px;

    position: relative;
    z-index: 1;
    isolation: isolate;
    padding: 64px 0 63px;
    border-top: 1px solid var(--color-line);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    background-color: var(--color-white);
}

@media (min-width: 980px) {
    .industry-problems {
        padding: 96px 0 100px;
        border-radius: 0 0 96px 96px;
    }
}

/* Утверждение */

.industry-statement {
    --statement-accent: #f26924;

    position: relative;
    z-index: 1;
    padding: 88px 0 86px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background-color: var(--color-white);
}

@media (min-width: 980px) {
    .industry-statement {
        padding: 112px 0 120px;
        border-radius: 96px 96px 0 0;
    }
}

/* Сферы применения */

.industry-spheres {
    padding-bottom: 93px;
}

/* Проекты */

.industry-projects {
    padding-bottom: 80px;
}

.industry-projects__title {
    margin-bottom: 64px;
}

.industry-projects .project + .project {
    margin-top: 130px;
}

@media (min-width: 980px) {
    .industry-projects__title {
        margin-bottom: 112px;
    }

    .industry-projects .project + .project {
        margin-top: 160px;
    }
}

/* Звено и Форма */

.industry-systems {
    padding-bottom: 96px;
}

.industry-systems__text {
    max-width: 754px;
    margin-top: 12px;
    line-height: 1.31;
    color: var(--color-ink);
}

.industry-systems .systems {
    margin-top: 41px;
}

@media (min-width: 980px) {
    .industry-systems__text {
        font-size: var(--fs-lead);
        line-height: 1.3;
    }

    .industry-systems .systems {
        margin-top: 65px;
    }
}

/* Каталог тренажеров */

.industry-catalog {
    padding: 88px 0 96px;
    background-color: var(--color-surface);
}

.industry-catalog__lead {
    max-width: 846px;
    margin-top: 16px;
    line-height: 1.31;
    color: var(--color-ink);
}

.industry-catalog .trainers {
    margin-top: 40px;
}

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

@media (min-width: 980px) {
    .industry-catalog {
        padding-top: 196px;
    }

    .industry-catalog__title {
        max-width: 748px;
    }

    .industry-catalog__lead {
        margin-top: 24px;
        font-size: var(--fs-lead);
        line-height: 1.3;
    }

    .industry-catalog .trainers {
        margin-top: 56px;
    }

    .industry-catalog__more {
        margin-top: 48px;
    }
}

/* Разработка VR-тренажеров: серая панель, скруглённая снизу */

.industry-development {
    border-top: 1px solid var(--color-line);
    background-color: var(--color-surface);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.industry-development__grid {
    display: grid;
    padding-block: 64px 80px;
}

.industry-development__image {
    width: 100%;
    margin-top: 24px;
    border-radius: var(--radius-md);
}

.industry-development__lead {
    margin-top: 24px;
    font-size: var(--fs-title);
    line-height: 1.3;
    color: var(--color-ink);
}

.industry-development .checklist {
    margin-top: 46px;
}

.industry-development__more {
    margin-top: 32px;
    text-align: center;
}

@media (min-width: 980px) {
    .industry-development {
        border-radius: 0 0 96px 96px;
    }

    .industry-development__grid {
        grid-template-columns: 518px 554px;
        justify-content: space-between;
        padding-block: 96px 104px;
    }

    .industry-development__image {
        grid-column: 2;
        grid-row: 1 / 3;
        margin-top: 58px;
        border-radius: var(--radius-md);
    }

    .industry-development__lead {
        max-width: 486px;
        font-size: var(--fs-lead);
    }

    .industry-development .checklist {
        margin-top: 31px;
    }

    .industry-development__more {
        grid-column: 1 / -1;
        margin-top: 48px;
    }
}
