/* ============================================
   ABOUT PAGE - HERO
   ============================================ */
.about-page-hero { 
    position: relative; 
    min-height: 75vh; /* Увеличили высоту для воздуха */
    display: flex; 
    align-items: flex-end; /* Прижимаем контент ближе к низу, как на втором скриншоте */
    overflow: hidden; 
    background: #000; 
    padding-top: 160px; 
    padding-bottom: 70px; /* Отступ снизу для текста */
}

.about-page-hero__bg { 
    position: absolute; 
    inset: 0; 
    z-index: 0; 
}

.about-page-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transform: scale(1.555);
    object-position: 0% 15%;
    transform-origin: left top;
}

.about-page-hero__overlay { 
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, #000000, rgb(0 0 0 / 22%), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.about-page-hero__inner { 
    position: relative; 
    z-index: 2;
    width: 100%;
}

.about-page-hero__title { 
    font-size: clamp(40px, 6vw, 64px); 
    font-weight: 300; 
    color: var(--color-white); 
    line-height: 1.1; 
    margin-bottom: 20px; 
    letter-spacing: 0.5px; 
}

.about-page-hero__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    width: 750px;
    text-align: justify;
}

/* --- ИСТОРИЯ (Таймлайн сверху) --- */
.about-history {
    background: #000;
    padding: 100px 0 80px;
    color: var(--color-white);
}

.about-history__title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 80px; /* Увеличили отступ до линии */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-history__timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 20px;
}

/* Главная горизонтальная линия */
.about-history__timeline::before {
    content: "";
    position: absolute;
    top: 45px; /* Высота, на которой проходят центры кружков */
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--color-primary);
    z-index: 1;
}

.about-history__item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    max-width: 260px;
}

/* Общие стили кружка */
.about-history__dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000;
    border: 3px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px; /* Отступ до текста */
    position: relative;
}

/* Залитые кружки с годами */
.about-history__dot.is-filled {
    width: 84px;
    height: 84px;
    background: #111; /* Темный фон внутри */
    border-width: 4px;
    margin-top: -6px; /* Компенсация размера */
    margin-left: -6px;
    margin-bottom: 34px;
}

.about-history__year {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white); /* Год белый */
}

/* Пустой кружок (промежуточный) */
.about-history__item.is-empty .about-history__dot {
    width: 24px;
    height: 24px;
    border-width: 3px;
    margin-top: 12px; /* Центрирование по линии */
    margin-bottom: 52px;
}

/* Связующая вертикальная линия от кружка к тексту */
.about-history__dot::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 24px;
    background: var(--color-primary);
}

/* Скрываем линию для пустого кружка (опционально, на скриншоте её не видно) */
.about-history__item.is-empty .about-history__dot::after {
    display: none;
}

/* Текст */
.about-history__content {
    padding: 0 0 0 50px;
}

.about-history__text {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

/* Бесконечность */
.about-history__item--infinity {
    max-width: 280px;
}

.about-history__infinity {
    height: 60px;
    display: flex;
    align-items: center;
    margin-top: -6px;
    margin-bottom: 34px;
    position: relative;
}

/* --- АДАПТИВ ДЛЯ ИСТОРИИ --- */
@media (max-width: 1024px) {
    .about-history__timeline {
        flex-direction: column;
        gap: 40px;
        padding-top: 0;
        padding-left: 30px;
    }

    /* Переворачиваем линию вертикально */
    .about-history__timeline::before {
        top: 0;
        bottom: 0;
        left: 24px; /* Центр кружка по вертикали */
        right: auto;
        width: 2px;
        height: 100%;
    }

    .about-history__item {
        flex-direction: row;
        align-items: flex-start;
        max-width: 100%;
    }

    .about-history__dot {
        margin-bottom: 0;
        margin-right: 24px;
        flex-shrink: 0;
    }
    
    .about-history__dot.is-filled {
        margin-top: 0;
        margin-left: 0;
        width: 48px;
        height: 48px;
    }
    
    .about-history__item.is-empty .about-history__dot {
        margin-top: 12px;
    }

    /* Убираем вертикальные связующие линии на мобильных */
    .about-history__dot::after {
        display: none;
    }

    .about-history__infinity {
        margin-right: 24px;
        margin-top: 0;
        margin-bottom: 0;
        width: 48px;
        justify-content: center;
        flex-shrink: 0;
    }

    .about-history__content {
        padding-top: 8px;
    }
}

/* --- ПРЕИМУЩЕСТВА (Круглая картинка + иконки) --- */
.about-advantages {
    background: #000;
    padding: 80px 0 100px;
    color: var(--color-white);
}

.about-advantages__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.about-advantages__media {
    position: relative;
}

.about-advantages__img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: contain;
    filter: grayscale(100%);
    display: block;
}

.about-advantages__title {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    margin-left: -150px;
}

/* Сетка списка */
.about-advantages__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px 24px;
}

/* Пункт списка */
.about-advantages__list li {
    font-size: 18px;
    color: rgba(150, 149, 149, 0.85);
    line-height: 1.5;
    display: flex;
    align-items: center; /* Выравниваем иконку и текст по центру */
    gap: 12px; /* Расстояние между иконкой и текстом */
}

/* Обнуляем псевдоэлемент, так как теперь есть SVG */
.about-advantages__list li::before {
    content: none;
}

/* Стили для самих SVG, чтобы они не сплющивались */
.about-advantages__list svg {
    flex-shrink: 0;
    display: block;
}

/* Адаптив */
@media (max-width: 1024px) {
    .about-advantages__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-advantages__img {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-advantages__list {
        grid-template-columns: 1fr; /* В одну колонку на мобильных */
    }
}

/* --- ПРОИЗВОДСТВО --- */
.about-production { 
    position: relative;
    background: #000;
    color: #fff; 
    padding-bottom: 80px;
    overflow: hidden;
}

/* Контейнер для фонового изображения и заголовка */
.about-production__bg-wrap {
    position: relative;
    width: 100%;
    height: 600px; /* Высота верхней части с картинкой */
    overflow: hidden;
}

.about-production__bg { 
    position: absolute; 
    inset: 0;
}

.about-production__bg-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.75; 
    display: block;
    object-position: 0% 27%;
}

.about-production__overlay { 
    position: absolute; 
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%); 
}

/* Заголовок поверх картинки */
.about-production__inner { 
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 3; 
}

.about-production__title { 
    font-size: clamp(28px, 3.5vw, 48px); 
    font-weight: 300; 
    color: var(--color-white); 
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin: 0;
}

/* Зеленая волна в нижней части фонового блока */
.about-production__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 3;
    pointer-events: none;
}

.line-green-adb {
    width: 100%;
    height: 100%;
    display: block;
}

/* Контейнер шагов: поднимаем вверх, чтобы круги пересекали зеленую волну */
.about-production__steps-container {
    position: relative;
    z-index: 4;
    margin-top: -130px; 
}

.about-production__steps { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 12px;
}

.about-production__step { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    flex: 1;
}

.about-production__step-img { 
    width: 175px; 
    height: 175px; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 3px solid #7BAF21; /* Зеленая обводка под цвет волны */
    background: #111; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

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

.about-production__step p { 
    font-size: 18px; 
    color: rgba(255, 255, 255, 0.9); 
    text-align: center; 
    margin-top: 14px; 
    font-weight: 400; 
    line-height: 1.3;
    max-width: 130px;
}

/* Текст-описание в самом низу */
.about-production__desc { 
    position: relative;
    z-index: 4;
    font-size: 18px; 
    color: rgba(255, 255, 255, 0.7); 
    line-height: 1.6; 
    text-align: center; 
    max-width: 900px; 
    margin: 60px auto 0; 
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1024px) {
    .about-production__steps-container {
        margin-top: 30px;
    }
    .about-production__steps { 
        flex-wrap: wrap; 
        justify-content: center;
        gap: 30px;
    }
    .about-production__step { 
        flex: 0 0 22%; 
    }
}

@media (max-width: 600px) {
    .about-production__step { 
        flex: 0 0 42%; 
    }
    .about-production__step-img { 
        width: 95px; 
        height: 95px; 
    }
}

/* --- КЛИЕНТЫ --- */
.about-clients { background: #000; padding: 100px 0; color: var(--color-white); }
.about-clients__title { font-size: clamp(28px, 3.5vw, 48px); font-weight: 300; color: var(--color-white); line-height: 1.2; margin-bottom: 60px; text-transform: uppercase; letter-spacing: 2px; }
.about-clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; max-width: 1000px; margin: 0 auto; }
.about-clients__item { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.about-clients__item img { max-width: 160px; max-height: 160px; width: auto; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); }
.about-clients__item p { font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 1.4; margin: 0; max-width: 220px; }

/* --- НАГРАДЫ (Белые карточки) --- */
.about-awards { background: #000; padding: 100px 0 120px; color: var(--color-white); }
.about-awards__title { font-size: clamp(28px, 3.5vw, 48px); font-weight: 300; color: var(--color-white); line-height: 1.2; margin-bottom: 60px; text-transform: uppercase; letter-spacing: 2px; }
.about-awards__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.about-awards__grid img { width: 100%; height: auto; display: block; background: #FFF; border-radius: 4px; transition: transform 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.about-awards__grid img:hover { transform: scale(1.05); }

/* --- АДАПТИВ --- */
@media (max-width: 1024px) {
    .about-history__timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; padding-top: 0; }
    .about-history__timeline::before { display: none; }
    .about-history__dot { position: relative; top: 0; margin-bottom: 16px; }
    .about-advantages__inner { grid-template-columns: 1fr; gap: 40px; }
    .about-advantages__img { margin: 0 auto; }
    
    .about-production__steps { flex-wrap: wrap; justify-content: center; gap: 30px; }
    .about-production__steps::before { display: none; }
    .about-production__step { width: 30%; }
    
    .about-clients__grid { grid-template-columns: repeat(2, 1fr); }
    .about-awards__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .about-page-hero { min-height: auto; padding: 120px 0 60px; }
    .about-history, .about-advantages, .about-production, .about-clients, .about-awards { padding: 60px 0; }
    .about-history__timeline { grid-template-columns: 1fr; }
    .about-advantages__list { grid-template-columns: 1fr; }
    
    .about-production__step { width: 45%; }
    .about-production__step-img { width: 100px; height: 100px; }
    
    .about-clients__grid { grid-template-columns: 1fr; }
    .about-awards__grid { grid-template-columns: repeat(2, 1fr); }
}