/* =========================================================
   KARABULUT HOMEPAGE — 08 ÜRETİM TESİSİ
   ========================================================= */
.kb-production {
    width: 100%;
    background: var(--kb-white);
    padding: 52px 0 58px;
    overflow: hidden;
}

.kb-production__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(430px, .92fr);
    gap: 66px;
    align-items: center;
}

.kb-production__media-side,
.kb-production__content-side {
    min-width: 0;
}

.kb-production__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.kb-production__gallery-item {
    aspect-ratio: 1 / 1.02;
    overflow: hidden;
    background: #e8e9eb;
}

.kb-production__gallery-image,
.kb-production__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.kb-production__gallery-image {
    object-fit: cover;
}

.kb-production__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7e8ea;
}

.kb-production__placeholder-logo {
    width: auto;
    height: auto;
    max-width: 34%;
    max-height: 34%;
    opacity: .16;
    filter: grayscale(1);
}

.kb-production__capabilities {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.kb-production__capability {
    min-width: 0;
}

.kb-production__capability-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.kb-production__capability-icon-image {
    display: block;
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: grayscale(1);
}

.kb-production__capability-icon-fallback {
    display: block;
    width: 34px;
    height: 34px;
    border: 2px solid #707070;
    border-radius: 4px;
    opacity: .45;
}

.kb-production__capability-label {
    max-width: 90px;
    font-family: var(--kb-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.08;
    text-transform: uppercase;
    color: var(--kb-text);
}

.kb-production__content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.kb-production__title {
    margin: 0;
    max-width: 620px;
    font-family: var(--kb-font);
    font-size: clamp(38px, 3.3vw, 48px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    color: var(--kb-text);
}

.kb-production__stats {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-top: 66px;
}

.kb-production__stat {
    position: relative;
    min-width: 0;
    padding: 0 25px;
    text-align: center;
    flex: 1 1 0;
}

.kb-production__stat:nth-child(1) {
    flex-grow: .9;
}

.kb-production__stat:nth-child(2) {
    flex-grow: 1.35;
}

.kb-production__stat:nth-child(3) {
    flex-grow: .95;
}

.kb-production__stat:first-child {
    padding-left: 0;
}

.kb-production__stat:last-child {
    padding-right: 0;
}

.kb-production__stat + .kb-production__stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 1px;
    background: #777;
}

.kb-production__stat-value {
    font-family: var(--kb-font);
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: var(--kb-text);
}

.kb-production__stat-label {
    margin-top: 7px;
    font-family: var(--kb-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--kb-text);
}

.kb-production__button {
    align-self: flex-end;
    min-width: 300px;
    min-height: 36px;
    margin-top: 72px;
    padding-top: 8px;
    padding-bottom: 7px;
    justify-content: space-between;
    font-size: var(--kb-home-cta-font-size);
    font-weight: var(--kb-home-cta-font-weight);
}

.kb-production__button-arrow {
    margin-left: 28px;
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 1120px) {
    .kb-production__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
        gap: 42px;
    }

    .kb-production__title {
        font-size: 42px;
    }

    .kb-production__stats {
        margin-top: 48px;
    }

    .kb-production__stat {
        padding: 0 12px;
    }

    .kb-production__stat:nth-child(1) {
        flex-grow: .88;
    }

    .kb-production__stat:nth-child(2) {
        flex-grow: 1.42;
    }

    .kb-production__stat:nth-child(3) {
        flex-grow: .9;
    }

    .kb-production__stat-value {
        font-size: 23px;
    }

    .kb-production__capabilities {
        gap: 7px;
    }

    .kb-production__capability-label {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .kb-production {
        padding: 42px 0 48px;
    }

    .kb-production__inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .kb-production__content-side {
        order: -1;
    }

    .kb-production__title {
        max-width: 650px;
        font-size: clamp(34px, 7vw, 46px);
    }

    .kb-production__stats {
        margin-top: 34px;
    }

    .kb-production__button {
        align-self: flex-start;
        margin-top: 34px;
    }
}

@media (max-width: 680px) {
    .kb-production {
        padding: 34px 0 40px;
    }

    .kb-production__gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .kb-production__gallery-item {
        aspect-ratio: 16 / 10;
    }

    .kb-production__capabilities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .kb-production__capability-label {
        max-width: 110px;
        font-size: 13px;
    }

    .kb-production__stats {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .kb-production__stat,
    .kb-production__stat:first-child,
    .kb-production__stat:last-child {
        padding: 15px 0;
        text-align: left;
    }

    .kb-production__stat + .kb-production__stat::before {
        top: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 1px;
    }

    .kb-production__stat-value {
        white-space: normal;
        font-size: 26px;
    }

    .kb-production__button {
        width: 100%;
        min-width: 0;
    }

    .kb-production__button {
        min-height: 40px;
    }
}

/* English production statistics: reserve more room for “20,000 m² / month”. */
.kb-lang-en .kb-production__stat:nth-child(1) {
    flex-grow: .82;
}

.kb-lang-en .kb-production__stat:nth-child(2) {
    flex-grow: 1.62;
}

.kb-lang-en .kb-production__stat:nth-child(3) {
    flex-grow: .86;
}

.kb-lang-en .kb-production__stat-value {
    font-size: clamp(20px, 1.65vw, 26px);
}

@media (max-width: 680px) {
    .kb-lang-en .kb-production__stat-value {
        font-size: 23px;
    }
}
