/* ═══════════════════════════════════════════
   ABOUT — страница о бренде
   ═══════════════════════════════════════════ */

.page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    overflow: hidden;
    padding: 3px;
}

/* ─── Основной контент ─── */
.about-content {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 410px;
    grid-template-rows: 1fr;
    grid-template-areas: 'text img';
    gap: 24px;
}

.about-text-desktop {
    grid-area: text;
}

/* Мобильные текстовые блоки скрыты на десктопе */
.about-text-1,
.about-text-2 {
    display: none;
}

.about-img-wrap {
    grid-area: img;
}

/* Мобильные картинки скрыты на десктопе */
.about-img-mob {
    display: none;
}

/* ─── Текстовые блоки ─── */
.about-text-wrap {
    position: relative;
    min-height: 0;
}

.about-text {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.about-text-title {
    font-family: var(--font-kiril);
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
    line-height: 125%;
    text-transform: uppercase;
}

.about-text-body {
    font-family: var(--font-kiril);
    font-size: 20px;
    color: var(--text);
    line-height: 125%;
}

/* ─── Блок с картинкой (десктоп) ─── */
.about-img-wrap {
    position: relative;
}

.about-img {
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.about-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ═══════════════════════════════════════════
   ПЛАНШЕТ — ≤ 1200px
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .about-content {
        grid-template-columns: 1fr 320px;
        gap: 16px;
    }

    .about-text-title,
    .about-text-body {
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════
   МОБИЛЬ — ≤ 900px
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
    html,
    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .page {
        overflow: visible;
        flex: none;
        gap: 12px;
    }

    .page-back-wrap {
        display: none;
    }

    /* Сброс грида — вертикальная колонка */
    .about-content {
        display: flex;
        flex-direction: column;
        flex: none;
        gap: 24px;
        overflow: visible;
        margin-bottom: 50px;
    }

    /* Десктопный блок картинки скрыт */
    .about-img-wrap {
        display: none;
    }

    /* Десктопный текстовый блок скрыт */
    .about-text-desktop {
        display: none;
    }

    /* Порядок: img1 → text1 → img2 → text2 */
    .about-img-mob--1 {
        order: 1;
    }
    .about-text-1 {
        display: block;
        order: 2;
    }
    .about-img-mob--2 {
        order: 3;
    }
    .about-text-2 {
        display: block;
        order: 4;
    }

    /* ─── Мобильные блоки картинок ─── */
    .about-img-mob {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .about-img-mob-visual {
        position: relative;
        flex: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
    }

    .about-img-mob-photo {
        width: 80%;
        min-width: 350px;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 0 24px rgba(255, 238, 0, 0.4)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
    }

    .about-video-frame {
        position: relative;
        width: 100%;
        max-width: 350px;
        aspect-ratio: 9 / 16;
    }

    /* ─── Текстовые блоки ─── */
    .about-text {
        height: auto;
        overflow: visible;
        padding: 30px;
    }

    .about-text-title,
    .about-text-body {
        font-size: 14px;
        line-height: 1.55;
    }
}
