/* ============================================================
   Контентзавод — стили для products_contentzavod.html
   Общие компоненты (.ss-hero, .ss-about и др.) из salesynergy.css
   ============================================================ */

body.contentzavod-page {
    background-color: #ffffff;
}

/* Расстояние между блоками */
.contentzavod-page .ss-about,
.contentzavod-page .ss-audience,
.contentzavod-page .ss-results,
.contentzavod-page .ss-process,
.contentzavod-page .pt-process,
.contentzavod-page .ss-tech,
.contentzavod-page .cz-features,
.contentzavod-page .ss-screenshots,
.contentzavod-page .ss-cases,
.contentzavod-page .ss-pricing,
.contentzavod-page .ss-reviews,
.contentzavod-page .ss-faq,
.contentzavod-page .ss-ecosystem {
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Hero */
.article-hero--contentzavod {
    position: relative;
    overflow: hidden;
    padding: 140px 16px 80px;
    background-color: transparent;
}

/* Стили .cz-features перенесены в salesynergy.css (общий) */

/* ============================================================
   Экосистема — тёмная секция с горизонтальным флоу
   ============================================================ */
.cz-ecosystem {
    background: #f9f9f9;
    padding: 80px 0;
}

.cz-ecosystem__container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.cz-ecosystem__top {
    margin-bottom: 56px;
}

.cz-ecosystem__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FF6B00;
    margin-bottom: 12px;
}

.cz-ecosystem__title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0;
}

.cz-ecosystem__flow {
    display: flex;
    align-items: center;
    gap: 0;
    border-top: 1px solid #e5e5e5;
}

.cz-ecosystem__arrow {
    color: #cccccc;
    font-size: 24px;
    padding: 0 4px;
    flex-shrink: 0;
    user-select: none;
}

.cz-ecosystem__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 32px 24px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s;
    min-width: 0;
}

.cz-ecosystem__item:hover {
    border-bottom-color: #FF6B00;
    background: rgba(0,0,0,0.03);
}

.cz-ecosystem__item--active {
    border-bottom-color: #FF6B00;
    cursor: default;
}

.cz-ecosystem__item--active:hover {
    background: transparent;
}

.cz-ecosystem__item-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FF6B00;
}

.cz-ecosystem__item-name {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    display: block;
    line-height: 1.2;
}

.cz-ecosystem__item-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .cz-ecosystem__flow {
        flex-direction: column;
        align-items: stretch;
    }

    .cz-ecosystem__arrow {
        transform: rotate(90deg);
        text-align: center;
        padding: 4px 0;
    }

    .cz-ecosystem__item {
        padding: 20px 0;
        border-bottom: none;
        border-left: 2px solid transparent;
        padding-left: 16px;
    }

    .cz-ecosystem__item:hover,
    .cz-ecosystem__item--active {
        border-left-color: #FF6B00;
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .cz-ecosystem {
        padding: 56px 16px;
    }

    .cz-ecosystem__container {
        padding: 0;
    }

    .cz-ecosystem__title {
        font-size: 26px;
    }
}

/* ============================================================
   КАК РАБОТАЕМ — карточки с декоративным номером (из product-template.css)
   ============================================================ */
.pt-process {
    margin-top: 100px;
    padding: 0;
    background: #ffffff;
}

.pt-process__container {
    max-width: 1160px;
    margin: 0 auto;
}

.pt-process__title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0 0 48px;
}

.pt-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pt-process__card {
    position: relative;
    background: #f5f5f5;
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pt-process__num {
    position: absolute;
    top: -8px;
    right: 12px;
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    color: #e8e8e8;
    letter-spacing: -4px;
    user-select: none;
    pointer-events: none;
}

.pt-process__name {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.3;
    padding-top: 56px;
    position: relative;
    z-index: 1;
}

.pt-process__desc {
    font-size: 16px;
    line-height: 1.65;
    color: #666666;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .pt-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pt-process {
        padding: 56px 16px;
    }

    .pt-process__container { padding: 0; }

    .pt-process__title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .pt-process__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pt-process__num { font-size: 80px; }

    .pt-process__name {
        font-size: 17px;
        padding-top: 48px;
    }
}
