/* ========================================================================== */
/* ======================= СТИЛИ ДЛЯ СТРАНИЦЫ "О НАС" ======================= */
/* ========================================================================== */


.hero-about {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/bg1.891f0eae3315.JPG");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-about-content {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    position: relative;
    z-index: 10;
}

/* === АНИМАЦИИ === */
@keyframes slideUpFromWhite {
    0% {
        transform: translateY(150px);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.scroll-anim-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.scroll-anim-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-page-title {
    color: #ffffff;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;


    transform: translateY(150px);
    opacity: 0;
    animation: slideUpFromWhite 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

/* Секция с основным текстом */
.about-main-section {
    background-color: #ffffff;
    padding: 100px 0 140px 0;
    width: 100%;
    position: relative;
    z-index: 5;
}

.about-narrow-container {
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
}

.about-text-wrapper {
    max-width: 100%;
}

.about-text-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 30px 0;
}

.about-text-wrapper p {
    font-size: 19px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}


.about-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 100px;
    width: 100%;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
    line-height: 1;
}

.stat-line {
    width: 100%;
    height: 2px;
    background-color: #0033a0;
    margin-bottom: 20px;
}

.stat-label {
    font-size: 16px;
    font-weight: 800;
    color: #000000;
}

.about-divider {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin-top: 80px;
}


.about-features {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-features .feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 10px 0;
}

.about-features .feature-item p {
    color: #000000;
}

.about-conclusion {
    margin-top: 80px;
}

/* ========================================================================== */
/* ======================== MEDIA QUERIES (ИЗ ВАШЕГО КОДА) ================== */
/* ========================================================================== */

@media (max-width: 992px) {
    .header .main-nav, .header .lang-switcher {
        display: none;
    }

    .burger-btn {
        display: block;
    }

    .about-page-title {
        font-size: 52px;
    }

    .about-main-section {
        padding: 80px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 40px;
        margin-top: 50px;
    }

    .stat-item {
        max-width: 220px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 44px;
        margin-bottom: 16px;
    }

    .about-divider {
        margin-top: 50px;
    }

    .about-text-wrapper h2 {
        font-size: 32px;
    }

    .about-text-wrapper p {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .mobile-menu {
        padding: 30px 20px;
        width: 60%;
    }

    .mobile-logo {
        font-size: 26px;
    }

    .mobile-nav a {
        font-size: 24px;
    }

    .about-page-title {
        font-size: 42px;
    }

    .about-text-wrapper h2 {
        font-size: 28px;
    }

    .about-text-wrapper p {
        font-size: 16px;
    }

    .hero-about-content {
        padding-bottom: 40px;
    }

    .about-stats {
        flex-direction: column;
        gap: 40px;
        margin-top: 50px;
    }

    .stat-item {
        max-width: 220px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 44px;
        margin-bottom: 16px;
    }

    .about-divider {
        margin-top: 50px;
    }

    .about-features {
        gap: 30px;
        margin-top: 60px;
    }

    .about-features .feature-item h3 {
        font-size: 18px;
    }

    .about-conclusion {
        margin-top: 60px;
    }
}
