/* ============================================================
   Production Chess — шахматка «Производство и контроль»
   ============================================================ */

.production-chess {
    background: var(--color-white);
    padding: 80px 120px 64px;
}

.production-chess__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Single row ── */
.production-chess__row {
    display: flex;
    align-items: center;
    gap: 64px;
}

.production-chess__row--reverse {
    flex-direction: row-reverse;
}

/* ── Image ── */
.production-chess__image {
    flex-shrink: 0;
    width: 590px;
    height: 496px;
    overflow: hidden;
}

.production-chess__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Content (text + optional stats) ── */
.production-chess__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-width: 0;
    height: 496px;
    justify-content: center;
}

/* ── Text ── */
.production-chess__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.production-chess__title {
    font-family: var(--font-neo);
    font-size: 48px;
    font-weight: 400;
    line-height: 58px;
    letter-spacing: -1.8px;
    color: var(--color-black);
    margin: 0;
}

.production-chess__desc {
    font-family: var(--font-inter);
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
    color: var(--color-text-muted);
    margin: 0;
}

/* ── Stats (ISO / IATF) ── */
.production-chess__stats {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.production-chess__stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.production-chess__stat-value {
    font-family: var(--font-neo);
    font-size: 48px;
    font-weight: 400;
    line-height: 58px;
    letter-spacing: -1.8px;
    color: var(--color-black);
}

.production-chess__stat-label {
    font-family: var(--font-inter);
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
    color: var(--color-text-muted);
}

/* ── Tablet ── */
@media (max-width: 1170px) {
    .production-chess {
        padding: 64px 48px;
    }

    .production-chess__image {
        width: 45%;
        height: 380px;
    }

    .production-chess__content {
        height: auto;
    }

    .production-chess__title {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -1px;
    }

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

    .production-chess__stat-value {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -1px;
    }

    .production-chess__stat-label {
        font-size: 16px;
        line-height: 24px;
    }

    .production-chess__stats {
        gap: 32px;
    }
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .production-chess {
        padding: 32px 24px;
    }

    .production-chess__inner {
        gap: 32px;
    }

    /* All rows stack: image top, text below */
    .production-chess__row,
    .production-chess__row--reverse {
        flex-direction: column;
        gap: 24px;
    }

    .production-chess__image {
        width: 100%;
        height: 200px;
        flex-shrink: unset;
    }

    .production-chess__content {
        height: auto;
    }

    .production-chess__title {
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 0;
    }

    .production-chess__desc {
        font-size: 14px;
        line-height: 22px;
    }

    .production-chess__stats {
        gap: 32px;
    }

    .production-chess__stat-value {
        font-size: 24px;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: 0;
    }

    .production-chess__stat-label {
        font-size: 16px;
        line-height: 21px;
    }
}
