/* ============================================================
   Страница: Новая главная (index_new)
   layout: main_ds_2025 | дизайн-система ds2025
   Mobile-first: 320 -> 576/750 -> 992 -> 1200
   ============================================================ */

/* ---------- Hero ---------- */
.promo {
    display: flex;
    align-items: center;
    min-height: 100%;
}
.new_promo .promo__content {
    height: auto;
    padding-top: 48px;
    padding-bottom: 320px;
    background-image: var(--promo_bg) !important;
    background-position: bottom 48px center;
    background-repeat: no-repeat;
    background-size: 280px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.new_promo .promo__content > * {
    margin: 0;
}
.new_promo .button {
    gap: 0;
}
.promo__btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.promo__btn-txt--mob {
    display: none;
}
@media (max-width: 575px) {
    .promo__btn-txt {
        display: none;
    }
    .promo__btn-txt--mob {
        display: inline;
    }
}
@media (min-width: 576px) {
    .promo__btns {
        flex-direction: row;
        width: auto;
    }
}
@media (min-width: 576px) {
    .new_promo .promo__content {
        padding: 72px 0;
        align-items: flex-start;
        background-image: none !important;
    }
}
@media (min-width: 700px) {
    .new_promo .promo__content {
        padding: 72px 227px 72px 0;
        background-image: var(--promo_bg) !important;
        background-position: calc(100% + 227px) center;
        background-size: 452px;
        margin-right: var(--negindent_sm);
    }
}
@media (min-width: 1200px) {
    .new_promo .promo__content {
        padding: 72px 0;
        margin-right: 0;
        min-height: 500px;
        justify-content: center;
        background-size: 574px 500px;
        background-position: right center;
    }
    .new_promo .promo__content > * {
        max-width: 574px;
    }
}

/* ---------- Заголовок секции ---------- */
.ct-section__title {
    margin-bottom: 32px;
}
@media (min-width: 992px) {
    .ct-section__title {
        margin-bottom: 42px;
    }
}

/* ---------- Преимущества ---------- */
.benef_blue_cicrle {
    width: 48px;
    height: 48px;
    line-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: var(--bg_accent_blue_strong, #498EF5);
}
.card_benefit {
    position: relative;
    min-height: 154px;
    padding: var(--space8_m) var(--space8_m) var(--space8_m) 0;
    background: var(--bg_neutral1);
    border-radius: 16px;
    overflow: hidden;
}
.card_benefit svg {
    position: absolute;
    top: -26px;
    left: -14px;
}
@media (min-width: 992px) {
    .card_benefit {
        padding: var(--space8_d) var(--space8_d) var(--space8_d) 0;
        border-radius: 24px;
    }
    .card_benefit svg {
        top: -20px;
        left: -14px;
    }
}

/* ---------- Карточки отраслей ---------- */
.ct-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.ct-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-height: 220px;
    padding: 20px;
    background: var(--bg_neutral1);
    border-radius: 16px;
    overflow: hidden;
}
.ct-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
}
.ct-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ct-card__text {
    color: var(--body2);
}
.ct-card__btn {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.ct-card:hover .ct-card__btn {
    background: var(--bg_black);
    border-color: var(--bg_black);
}
.ct-card:hover .ct-card__btn svg path {
    stroke: var(--white);
}
.ct-card__img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 136px;
    height: 100px;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
}
@media (min-width: 576px) {
    .ct-cards {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .ct-card--half {
        grid-column: span 2;
    }
    .ct-cards--industries .ct-card--half {
        grid-column: span 1;
    }
}
@media (min-width: 992px) {
    .ct-card {
        border-radius: 24px;
    }
}
@media (min-width: 1200px) {
    .ct-card {
        padding: 24px;
        gap: 24px;
    }
    .ct-card__img {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
        background-size: auto;
        background-position: right bottom;
    }
    .ct-card--half .ct-card__img {
        background-position: right center;
    }
    .ct-card--half .ct-card__body {
        margin-right: 178px;
    }
    .ct-cards--industries {
        grid-template-columns: repeat(6, 1fr);
        gap: 32px;
    }
    .ct-cards--industries .ct-card--third {
        grid-column: span 2;
    }
    .ct-cards--industries .ct-card--half {
        grid-column: span 3;
    }
}

/* ---------- CTA ---------- */
.ct-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    background: var(--bg_accent_blue_lite);
    border-radius: 16px;
    padding: 38px 24px 0 24px;
    overflow: hidden;
}
.ct-cta__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
.ct-cta__img {
    position: relative;
    z-index: 1;
}
.ct-cta__pic {
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
}
.ct-cta .button {
    width: 100%;
}
@media (min-width: 700px) {
    .ct-cta {
        padding: 38px;
    }
    .ct-cta__img {
        position: absolute;
        bottom: 0;
        right: -66px;
        z-index: 1;
        height: 100%;
        display: flex;
    }
    .ct-cta__pic {
        margin: 0;
        width: auto;
    }
    .ct-cta .button {
        width: auto;
    }
}
@media (min-width: 992px) {
    .ct-cta {
        border-radius: 24px;
        padding: 48px;
    }
}
@media (min-width: 1200px) {
    .ct-cta__img {
        right: 0;
    }
}

/* ---------- Статистика ---------- */
.ct-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.ct-stat {
    padding: 24px;
    border-radius: 8px;
    background: var(--bg_accent_blue_lite);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ct-stat__num {
    font-family: var(--font_roboto);
    font-weight: 500;
    font-size: 32px;
    line-height: 1.1;
    color: var(--accent_blue);
}
.ct-stat__label {
    font-size: 16px;
    line-height: 1.4;
    color: var(--body);
}
@media (min-width: 576px) {
    .ct-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
@media (min-width: 1200px) {
    .ct-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
    .ct-stat {
        padding: 32px;
        border-radius: 16px;
    }
    .ct-stat__num {
        font-size: 52px;
    }
    .ct-stat__label {
        font-size: 18px;
    }
}
