/* Посадочные под ниши: /for/vending/, /for/cyber/ и остальные.
   Оформление наследует каталог — отличается только шапка страницы и блок заявки. */

.niche {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.niche__head {
    padding: 18px 0 22px;
    border-bottom: 1px solid #E4E1E8;
}

.niche__crumbs {
    font-size: 12.5px;
    color: #8A8590;
    margin-bottom: 8px;
}

.niche__crumbs a {
    color: #8A8590;
    text-decoration: none;
}

.niche__crumbs a:hover {
    color: #FF4713;
}

.niche__title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.15;
    color: #2A2A2A;
    text-wrap: balance;
}

.niche__lead {
    margin: 0;
    max-width: 66ch;
    font-size: 15.5px;
    line-height: 1.5;
    color: #57535C;
}

/* Аргументы для того, кто пришёл с рекламы и нас ещё не знает */
.niche__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.niche__fact {
    border: 1px solid #E4E1E8;
    border-radius: 10px;
    padding: 13px 15px;
}

.niche__fact b {
    display: block;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-bottom: 3px;
    color: #2A2A2A;
}

.niche__fact span {
    font-size: 12.5px;
    color: #57535C;
    line-height: 1.35;
}

/* Ходовые разделы ниши — до общего списка товаров */
.niche__subs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin: 20px 0 0;
}

.niche__sub {
    border: 1px solid #E4E1E8;
    border-radius: 9px;
    padding: 12px 13px;
    text-decoration: none;
    color: #2A2A2A;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.niche__sub:hover {
    border-color: #FF4713;
}

.niche__sub b {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.niche__sub i {
    font-style: normal;
    font-size: 11.5px;
    color: #8A8590;
    font-variant-numeric: tabular-nums;
}

/* Заявка на подбор: реклама приводит тех, кто ещё выбирает поставщика */
.niche__cta {
    margin: 22px 0;
    background: #2A2A2A;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.niche__cta h2 {
    margin: 0 0 5px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.niche__cta p {
    margin: 0;
    max-width: 56ch;
    font-size: 13.5px;
    line-height: 1.5;
    color: #C4C4C4;
}

.niche__cta-btn {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    background: #FF4713;
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.niche__cta-btn:hover {
    background: #C4310A;
    color: #FFFFFF;
}

/* Перелинковка между нишами: и человеку, и поисковику */
.niche__other {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid #E4E1E8;
}

.niche__other-t {
    margin: 0 0 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8590;
}

.niche__other-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.niche__other-list a {
    border: 1px solid #E4E1E8;
    border-radius: 18px;
    padding: 7px 14px;
    font-size: 13px;
    color: #2A2A2A;
    text-decoration: none;
}

.niche__other-list a:hover {
    border-color: #FF4713;
    color: #FF4713;
}

@media (max-width: 900px) {
    .niche__facts,
    .niche__subs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .niche__title {
        font-size: 24px;
    }

    .niche__facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .niche__cta {
        padding: 18px;
    }

    .niche__cta-btn {
        width: 100%;
        justify-content: center;
    }
}
