

/* Start:/bitrix/templates/lcon_clean/css/pages/company.css?178749826112184*/
/*
 * Страница «О компании».
 * Почти идентична лендингу: hero, stats+features, trust+бренды, команда,
 * сертификаты, примеры, CTA и футер переиспользуются из style.css / landing.css.
 * Здесь — только уникальные секции (заявление, направление, тёмная сетка
 * «Сегодня ЭЛКОН», «Про фабрику QCM», статистика «Производство в Китае»).
 * Анимация появления при скролле — общая, см. assets/css/features/reveal.css
 * и assets/js/reveal.js.
 */

/* ===================================================================
   Заявление (крупный центрированный текст)
   =================================================================== */
.statement {
    max-width: 948px;
    margin: 0 auto;
    font-size: clamp(24px, 3.6vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    color: var(--color-text);
}

/* ===================================================================
   Отдельное направление (текст — фото — текст)
   =================================================================== */
.direction {
    display: grid;
    grid-template-columns: 1fr 734px 1fr;
    gap: 48px;
    align-items: stretch;
}

.direction__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.direction__col--start { justify-content: flex-start; padding-top: 60px; }
.direction__col--end   { justify-content: flex-end; text-align: right; padding-bottom: 40px; }

.direction__lead {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.44px;
    color: var(--color-text);
}

.direction__text {
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0.36px;
    color: var(--color-text);
}

.direction__text a {
    color: var(--color-teal);
    text-decoration: underline;
}

.direction__media {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    height: 712px;
    padding: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--color-white);
}

.direction__media img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Затемняющий градиент поверх фото, но под текстом (::before на контейнере —
   на <img> псевдоэлемент не рендерится). */
.direction__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .1) 100%);
}

.direction__media-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.48px;
}

.direction__media-title a { color: #fff; text-decoration: underline; }

.direction__media-text {
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0.36px;
    color: rgba(255, 255, 255, .9);
}

/* ===================================================================
   «Сегодня ЭЛКОН — это не просто поставка» (тёмная сетка)
   =================================================================== */
.today {
    position: relative;
}

.today__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 356px));
    justify-content: space-between;
    column-gap: 24px;
    row-gap: clamp(120px, 15vw, 260px);
}

.today__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 956px;
    max-width: 90%;
    font-size: clamp(40px, 5.4vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.6px;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, .6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
}

.today__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.today__img {
    aspect-ratio: 356 / 320;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #2c333b center / cover no-repeat;
}

.today__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.today__card:hover .today__img img { transform: scale(1.05); }

.today__card-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.48px;
    color: var(--color-white);
}

.today__card-text {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.16px;
    color: rgba(255, 255, 255, .6);
}

/* ===================================================================
   «Про фабрику QCM» (фото-карточка + текст)
   =================================================================== */
.qcm-about {
    display: grid;
    grid-template-columns: minmax(0, 832px) 1fr;
    gap: 120px;
    align-items: center;
}

.qcm-about__media {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 24px;
    aspect-ratio: 1 / 1;
    padding: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--color-white);
}

.qcm-about__media img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qcm-about__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .1) 100%);
}

.qcm-about__media-title {
    font-size: clamp(28px, 3.4vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-white);
}

.qcm-about__media-text {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.48px;
}

.qcm-about__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qcm-about__heading {
    font-size: clamp(28px, 2.6vw, 40px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.8px;
    color: var(--color-text);
}

.qcm-about__text p {
    font-size: clamp(18px, 1.7vw, 24px);
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0.48px;
    color: var(--color-text);
}

.qcm-about__text b { font-weight: 500; }

/* ===================================================================
   «Производство в Китае» — бенто-статистика
   =================================================================== */
.china__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 63px;
    margin-bottom: 63px;
}

.china__title {
    flex: 1;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
}

.china__actions { display: flex; gap: 16px; }

.china-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 237px;
    gap: 16px;
    grid-template-areas:
            "big     big   tall  fifty"
            "country years tall  nine";
}

.china-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0; /* не даём длинным словам «распирать» grid-дорожки */
    padding: 40px;
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--color-stroke);
    border-radius: var(--radius-md);
}

.china-card__num {
    font-size: clamp(44px, 4.4vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(29, 33, 47, .4) 0%, #1D212F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.china-card__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
    overflow-wrap: break-word; /* длинные слова переносятся, а не выходят за карточку */
    hyphens: auto;
}

.china-card--big     { grid-area: big; }
.china-card--tall    { grid-area: tall; }
.china-card--fifty   { grid-area: fifty; }
.china-card--country { grid-area: country; }
.china-card--years   { grid-area: years; }
.china-card--nine    { grid-area: nine; }

/* ===================================================================
   Адаптив
   =================================================================== */
@media (max-width: 1200px) {
    .direction {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .direction__col--start { order: 3; padding-top: 0; }
    .direction__col--end { order: 1; padding-bottom: 0; text-align: left; }
    .direction__col--end .direction__lead,
    .direction__col--end .direction__text { text-align: left; }

    .direction__media {
        order: 2;
        height: auto;
        aspect-ratio: 16 / 11;
        min-height: 360px;
        /* В стопке заголовок сверху карточки, текст снизу (как в макете) */
        justify-content: space-between;
    }

    .qcm-about {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* В стопке текстовый блок «Про фабрику QCM» идёт перед фото-карточкой */
    .qcm-about__text { order: 1; }
    .qcm-about__media { order: 2; }

    .china-bento {
        grid-auto-rows: 200px;
        grid-template-areas:
                "big   big"
                "tall  fifty"
                "tall  nine"
                "country years";
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .today__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Заголовок больше не поверх карточек — выносим наверх, но оставляем
       по центру, как в мобильном макете. */
    .today__title {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-bottom: 32px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    /* На мобильном «заявление» выравнивается по левому краю (см. макет 13202-13937) */
    .statement { font-size: 28px; text-align: left; }

    .direction__lead { font-size: 18px; }
    .direction__text { font-size: 16px; }

    .direction__media {
        aspect-ratio: auto;
        min-height: 420px;
        padding: 24px;
        border-radius: var(--radius-md);
    }

    .direction__media-title { font-size: 20px; }
    .direction__media-text { font-size: 15px; }

    .today__grid {
        grid-template-columns: 1fr;
    }

    .today__title { font-size: 32px; margin-bottom: 8px; }

    /* В одну колонку карточки идут «зигзагом»: чётные — по правому краю */
    .today__card:nth-of-type(even) { text-align: right; }

    .qcm-about__media {
        padding: 24px;
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-md);
    }

    .qcm-about__media-text { font-size: 18px; }

    .china__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 24px;
    }

    .china__actions { width: 100%; flex-direction: column; }
    .china__actions .btn { width: 100%; }
    .china__actions .btn-dark { order: -1; }

    .china-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        grid-template-areas:
                "big     big"
                "country country"
                "nine    nine"
                "tall    tall"
                "fifty   years";
    }

    .china-card {
        min-height: 180px;
        padding: 24px 16px;
    }
}

/* End */
/* /bitrix/templates/lcon_clean/css/pages/company.css?178749826112184 */
