

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', sans-serif;
            color: white;
        }

  /* --- HEADER: Прозрачный и Статичный --- */
.header {
    position: absolute; /* Лежит поверх контента, не двигается при скролле */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* Полная прозрачность */
    padding: 10px 40px 10px 50px; /* Больше воздуха сверху и снизу */
}

.header-container {
    margin: 0 auto;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Логотип --- */
.brand {
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* --- Навигация и Языки (Правая часть) --- */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 50px; /* Большой отступ между меню и языками */
}

.nav-desktop {
    display: flex;
    gap: 35px;
}

/* Общий стиль для ссылок и кнопок языков */
.nav-link, .lang-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #333; /* Если у тебя темный фон, замени на #fff (белый) */
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* --- ЭФФЕКТ НАВЕДЕНИЯ (Линия снизу) --- */
/* Применяем и к меню, и к языкам для идеального дизайна */
.nav-link::after, .lang-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%; /* Линия растет из центра */
    background-color: #000; /* Цвет линии (черный или твой фирменный) */
    transition: width 0.3s ease, left 0.3s ease;
}

/* Hover эффект */
.nav-link:hover::after, .lang-btn:hover::after {
    width: 100%;
    left: 0;
}

/* Активное состояние языков (Линия всегда видна) */
.lang-btn.active {
    color: #000;
    font-weight: 800;
}

.lang-btn.active::after {
    width: 100%;
    left: 0;
    background-color: #000;
}

/* Разделитель перед языками убрал, чтобы было чисто */
.lang-switcher {
    display: flex;
    gap: 15px;
}

/* --- Бургер (Скрыт на ПК) --- */
.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
}

.burger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #333; /* Цвет полосок бургера */
    transition: .25s ease-in-out;
}

.burger span:nth-child(1) { top: 0px; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

/* Анимация крестика */
.burger.active span:nth-child(1) { top: 9px; transform: rotate(135deg); }
.burger.active span:nth-child(2) { opacity: 0; left: -60px; }
.burger.active span:nth-child(3) { top: 9px; transform: rotate(-135deg); }

/* --- Адаптив --- */
@media (max-width: 900px) {
    .nav-desktop, .lang-switcher { display: none; }
    .burger { display: block; }
}

/* Мобильное меню остается прежним по стилю, но нужно скрыть overflow */
.nav-mobile {
    position: fixed;
    top: 0; right: 0; width: 100%; height: 100vh;
    background: #fff;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1001;
}
.nav-mobile.active { transform: translateX(0); }
.mobile-links { display: flex; flex-direction: column; gap: 20px; text-align: center; margin-bottom: 30px; }
.nav-mobile a { font-size: 22px; color: #333; text-decoration: none; font-weight: 500; }
.mobile-lang { display: flex; gap: 20px; }
.lang-btn-mob { font-size: 18px; color: #999; cursor: pointer; }
.lang-btn-mob.active { color: #000; text-decoration: underline; }
        .hero{
            background-image: url('../img/lance-anderson-QdAAasrZhdk-unsplash.jpg');
            height:776px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-start;
            flex-direction: column;
            justify-content: center;
            padding-left: 70px;
            position: relative;
            
        }
        .hero__container{
           
            z-index: 1;
            margin-bottom: 100px;
        }
        .hero__title{
            font-size: 70px;
            color: #2f2f3a;
            font-family: Arial, Helvetica, sans-serif;
            width: 600px;
            text-align: right;
            font-style: italic;
        }
        .hero__title b{
            font-weight:400;
        }

        .hero__description{
            font-weight: 300;
            padding-left: 10px;
            font-size: 18px;
             width: 600px;
             margin-top: 10px;
             margin-bottom: 25px;
             color: #212932;
             font-style: italic;
        }
        .hero__actions{
            padding-left: 10px;
            margin-top: 15px;
            display: flex;
            gap: 10px;
        }
        .btn{
            background: none;
            border: none;
            color:white; 
            font-size: 18px;
            padding: 10px;
        }
        .btn--primary{
            background-color: rgb(64, 156, 38);
            transition: 0.2s;
            border-radius: 30px;
            padding: 10px 30px;
        }
        .btn--primary:hover{
            background-color: rgb(47, 98, 33);
        }
        .btn--secondary{
            background-color: rgb(223, 23, 23);
            padding: 10px 30px;
            text-decoration: none;
        }
        .btn--secondary:hover{
            background-color: rgb(116, 35, 35);
            transition: 0.2s;
        }
        .leftugol{
            display: flex;
            position: absolute;
            bottom: 0;
            left: 0;
        }
        .card{
            background-color: #1f1f1f5b;
            padding: 40px 30px;
            width:300px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .card p{
            font-weight: 300;
            font-style: italic;
        }
        .card a{
            color: white;
            margin-top: auto;
        }
        .card4 a{ 
            color: #181818;
        }
        .card2{
            background-color: #2c2c2cb1;
        }
        .card3{
            background-color: #727272c3;
        }
        .card4{
            background-color: rgba(255, 255, 255, 0.758);
            color: #181818;
        }
        .section2{
            display: flex;
            align-items: center;
            padding: 150px 90px;
            color: #181818;
            text-align: left;
            gap: 100px;

        }
        .section2 p{
            font-size: 22px;
            line-height: 1.6;
            font-family: Raleway;
        }
        .section2 img{
            width: 500px;
            object-fit: cover;
            height: 400px;
            z-index: 1;
            border-bottom-right-radius: 20px;
             box-shadow: 0 4px 20px rgba(0, 0, 0, 0.195);
        }
        .figure1{
            background-color: rgb(223, 23, 23);
            position: absolute;
            width: 300px;
            height: 100px;
            right: 0;
            transform: translate(20px, -30px);
            z-index: -1;
        }
        .figure2{
            background-color: rgb(170, 170, 170);
            position: absolute;
            width: 300px;
            height: 100px;
            bottom: 0;
            left: 0;
            transform: translate(-20px, 30px);
            z-index: -1;
        }

        .sec22{
            position: relative;
        }
        .sec21{
            width: 650px;
        }
        .section2 h3{
            font-size: 35px;
             font-family: Spectral;
             padding-bottom: 20px;
        }
        .section3{
            display: flex;
            align-items: center;
            padding: 0 80px 50px 80px;
            gap: 150px;
        }
        .section3 b{
            font-size: 35px;
            z-index: 1;
            color: #181818;
            margin-bottom: 20px;
            font-family: Spectral;
        }
        .section3 p{
            color: #343434;
            font-size: 22px;
            line-height: 1.6;
            font-family: Raleway;
        }
        .sec32{
            flex-direction: column;
            display: flex;
            gap: 9px;
        }
        .sec31{
            position: relative;
        }
        .section3 img{
            width: 500px;
            border-top-left-radius: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.195);
        }
        .figure3{
            width: 100px;
            height: 300px;
            background-color: rgb(223, 23, 23);
            z-index: -1;
            position: absolute;
            right: 0;
            transform: translate(20px, -20px);
        }
        .figure4{
            width: 100px;
            height: 300px;
            background-color: rgb(139, 139, 139);
            z-index: -1;
            position: absolute;
            left: 0;
            bottom: 0;
            transform: translate(-20px, 20px);

        }
         .section4{
            display: flex;
            color: #181818;
            align-items: center;
            justify-content: center;
            height: 600px;
            gap: 50px;
         }
         .section4 p{
            width: 550px;
            font-size: 22px;
         }
         .section4 img{
            height: 450px;
            width: 350px;
   
         }
         .section4 h3{
            font-size: 35px;
            font-family: Cormorant Infant;
            margin-bottom: 30px;
            
            text-align: right;
            border-bottom: 2px solid red;
            width: 400px;
            padding-bottom: 30px;
            margin-left: auto;
         }
         .section4{
            font-size: 20px;
            font-weight: 300;
         } 
       .section5 {
    width: 100%;
    height: 650px;
    overflow: hidden;
        position: relative;
}

.about-section {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            margin: 0 auto;
            padding: 0 80px 50px 80px;
            align-items: center;
            margin-bottom: 100px;
            gap: 50px;
 }
        .about-text{
            border-right: 2px solid red;
            padding-right: 40px;
            flex-direction: column;
            display: flex;
            gap: 30px;
        }
        /* Левая часть (Текст) */
        
        .about-text h2 {
            font-size: 35px;
            font-weight: 700;
            margin-top: 0;
            letter-spacing: -0.02em;
            color: #111;
             font-family: Spectral;
        }
        .about-text b{
            color: rgb(69, 69, 69);
            font-family: Alegreya;
            font-weight: 700;
            font-size: 30px;
        }
        .about-text p {
            font-size: 22px;
            line-height: 1.3;
            font-weight: 300;
            color: #474747;
            max-width: 600px;
        }

        /* Правая часть (Цифры) */
        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Две колонки */
            gap: 40px;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
        }

        .stat-number-wrapper {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;            /* Убираем лишнее пространство сверху/снизу */
    margin-bottom: 8px;
    color: #111;
    display: flex;
    font-family: sans-serif;
    align-items: center;       /* ЗАМЕНИТЬ baseline на center */
}

        .stat-label {
            font-size: 17px;
            color: #303030;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 300;
        }

        /* Адаптив для мобильных */
        @media (max-width: 768px) {
            .about-section {
                gap: 40px;
                padding: 40px 20px;
            }
            
            .about-text h2 {
                font-size: 36px;
            }

            .stats-grid {
                gap: 30px;
            }
            
            .stat-number-wrapper {
                font-size: 36px;
            }
        }
.cards {
    display: flex;
    width: 100%;
    height: 100%;
}

.section5-card {
    position: relative;
    flex: 1; /* Все карточки одной ширины */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Плавное расширение */
    cursor: pointer;
    overflow: hidden;
}
.section5 h2{
    color: rgb(0, 0, 0);
    padding: 10px;
    font-weight: 400;
    font-size:40px;
    font-family: Spectral;
    text-align: center;
    margin-bottom: 30px;
}
.section5-card:last-child {
    border-right: none;
}

/* СЛОЙ ЗАТЕМНЕНИЯ */
.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Легкое затемнение в покое */
    transition: background 0.5s ease;
    z-index: 1;
}

/* КОНТЕНТ */
.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    color: #fff;
    z-index: 2; /* Текст лежит ПОВЕРХ затемнения */
    white-space: nowrap; /* Чтобы текст не прыгал */
}

.section5-card h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    font-family: Cormorant Infant;
    border-bottom:2px solid brown;
    padding-bottom: 10px;
}

.card-desc {
    font-size: 50px;
    opacity: 0;
    max-height: 0; /* Скрыто */
    transform: translateY(20px);
    white-space: normal; /* Описание может переноситься */
    transition: all 0.8s ease;
    font-weight: 300;
}

/* --- ЭФФЕКТЫ ПРИ НАВЕДЕНИИ --- */

.section5-card:hover {
    flex: 2.5; /* Карточка расширяется */
}

/* При наведении затемняем именно ЭТУ карточку сильно */
.section5-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.8); /* Фон почти черный, чтобы читать текст */
}

/* Показываем описание */
.section5-card:hover .card-desc {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}
/* БЛОК CTA */
.cta-section {
    background:linear-gradient(rgba(123, 123, 123, 0.338), rgba(0, 0, 0, 0.658)), url('../img/detail-shot-patterned-wall.jpg') ;
    background-position: 20% 25%;
    background-size: cover;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
     padding: 50px 100px 0 100px;
    justify-content: center;
}

.cta-section h2 {
    font-family: 'Spectral', serif;
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
}
.cdiv{
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 5px;
    border-top: 1px solid rgb(255, 255, 255);
}
.cdiv a{
    color: red;
}

/* Адаптив для футера */
@media (max-width: 768px) {
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/* --- КНОПКА НАВЕРХ --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 0, 0, 0.88); /* Ваш фирменный красный */
    color: white;
    border: none;
    border-radius: 5px; /* Слегка скругленные углы в стиле кнопок Hero */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0; /* Скрыта по умолчанию */
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: rgba(255, 0, 0, 1);
    transform: translateY(-5px); /* Небольшой прыжок вверх при наведении */
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* --- СЕКЦИЯ ФИНАЛЬНОГО ВЫВОДА --- */
.final-conclusion {
    padding: 120px 5%;
    background-color: #ffffff;
    color: #1a1a1a;
}

.conclusion-container {
    max-width: 1200px;
    margin: 0 auto;
}

.conclusion-line {
    width: 100%;
    height: 1px;
    background-color: #1a1a1a;
    margin-bottom: 60px;
    opacity: 0.1;
}

.conclusion-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.tag {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff0000;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.conclusion-title {
    font-family: 'Spectral', serif;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    color: #1a1a1a;
}

.summary-lead {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.summary-details p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

/* Ссылка с анимацией */
.conclusion-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff0000;
    transition: 0.3s ease;
}

.conclusion-link svg {
    transition: transform 0.3s ease;
}

.conclusion-link:hover {
    color: #ff0000;
}

.conclusion-link:hover svg {
    transform: translateX(10px);
}

/* Адаптив */
@media (max-width: 992px) {
    .conclusion-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .conclusion-title {
        font-size: 32px;
    }
    .summary-lead {
        font-size: 18px;
    }
}
@media (max-width: 1200px) {
    .section2{
        padding:120px 50px;
        gap: 50px;
    }
    .section3{
        padding:0 50px 80px 50px;
        gap: 50px;
    }
    .about-section{
        padding:50px 50px 80px 50px;
        gap: 50px;
    }
}

@media (max-width: 1000px) {
    .section2 img{
        width: 400px;
        height: 600px;
    }

    .section3 img{
        width: 400px;
        height: 600px;
        object-fit: cover;
    }
    .stats-grid{
        display: flex;
        flex-direction: column;
        
    }
    .section5 {
        height: auto !important; /* Позволяем секции растягиваться */
        padding: 50px 0;
        overflow: visible; /* Ничего не прячем */
    }

    .cards {
        flex-direction: column; /* Перестраиваем в колонну */
        height: auto !important;
        display: flex;
    }

    .section5-card {
        width: 100% !important;
        height: 200px !important; /* Базовая высота всех карточек */
        flex: none !important; /* Отключаем автоматический флекс */
        transition: height 0.5s ease; /* Анимация будет идти по высоте */
    }

    /* ЭФФЕКТ: при наведении карточка растет в высоту */
    .section5-card:hover {
        height: 350px !important; /* Высота активной карточки */
        flex: none !important;
    }

    .card-content {
        white-space: normal !important; /* Разрешаем перенос текста */
        opacity: 1 !important; /* Делаем текст видимым всегда или при ховере */
    }
    
    /* Если текст внутри скрыт и должен появляться только при ховере */
    .section5-card .card-description {
        display: none;
    }
    .section5-card:hover .card-description {
        display: block;
    }
}
@media (max-width: 900px){
    .section2{
        flex-direction: column;
        text-align: center;
    }
    .section2 img{
        width: 600px;
        height: 400px;
    }
    .sec21{
        margin-bottom: 20px;
    }
        .section3{
        flex-direction: column ;
        text-align: center;
    }
    .section3 img{
        width: 600px;
        height: 400px;
    }
    .sec31{
        margin-bottom: 20px;
    }
    .hero{
        height: 600px;
        padding: 0 40px;
    }
    .hero__container{
        margin-bottom: 0;
    }
    .cta-section div{
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 750px){
    .hero__container{
        flex-direction: column;
        align-items: center;
    justify-content: center;
    display: flex;        
    }

    .hero__title{
        text-align: center;
        width: 100%;
    }
     .hero__description{
        width: 100%;
        text-align: center;
     }
     .section2 img{
        width: 100%;
     }
          .section3 img{
        width: 100%;
     }
     .about-section{
        flex-direction: column;
     }
     .stats-grid{
        flex-direction: row;
        gap: 10px;
     }
     .stat-number-wrapper{
        width: 100px;
        align-items: center;
        justify-content: center;
     }
     .about-text{
        border-right: none;
        border-bottom: 2px solid red;
        padding-right: 0;
        margin-right: 0;
        padding-bottom: 50px;
     }
     .stat-item{
        flex: 1;
     }
     .cta-section{
        padding: 50px;
     }
}
@media (max-width: 700px){
    .sec21 {
        width: 100%;
    }
        .sec31 {
        width: 100%;
    }
}
@media (max-width: 630px){
    .hero__title{
        font-size: 50px;
    }
        .section5-card:hover {
        height: 500px !important; /* Высота активной карточки */
        flex: none !important;
    }
    .section5 h2{
        margin-top: 0;
    }
    .cta-section{
        padding: 50px 10px;
        background-position: bottom;
    }
}
@media (max-width: 550px){
    .stats-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        justify-content: center;
    }
    .section2 p{
        font-size: 17px;
        
    }
    .section3 b{
        font-size: 25px;
    }
    .section3 p{
        font-size: 17px;
    }
    .about-text p{
        font-size: 17px;
    }
    .about-section {
        margin-bottom: 0;
    }

}
@media (max-width: 500px){
    .section2, .section3, .section4{
        padding: 40px;
    }
    .section5{
        padding: 20px 0;
    }
    .section5 h2{
        font-size: 40px;
        margin-bottom: 10px;
    }.tag{
        font-size: 16px;
    }
}
@media (max-width: 450px){
     .hero__title{font-size: 40px; color: #ffffff;}
     .hero__description{
        font-size: 15px;
        color: white;
     }
     .hero{
        height: 500px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.337), rgba(0, 0, 0, 0.6)), url('../img/lance-anderson-QdAAasrZhdk-unsplash.jpg');
        margin-bottom: 50px;
        padding: 0;
     }
     .hero__container{
        margin-bottom: 0;
     }

    .card-desc{
        font-size: 40px;
    }
    .section5-card:hover{
        height: 300px !important;
        
    }
    .card-desc{
        font-size: 30px ;
    }
     .section2, .section3, .section4,   .about-section{
        padding: 20px;
}
        .figure1{
            background-color: rgb(223, 23, 23);
            position: absolute;
            width: 250px;
            height: 100px;
            right: 0;
            transform: translate(10px, -10px);
            z-index: -1;
        }
        .figure2{
            background-color: rgb(170, 170, 170);
            position: absolute;
            width: 250px;
            height: 100px;
            bottom: 0;
            left: 0;
            transform: translate(-10px, 10px);
            z-index: -1;
        }
                .figure3{
            background-color: rgb(223, 23, 23);
            position: absolute;
            width: 100px;
            height: 250px;
            right: 0;
            transform: translate(10px, -10px);
            z-index: -1;
        }
        .figure4{
            background-color: rgb(170, 170, 170);
            position: absolute;
            width: 100px;
            height: 250px;
            bottom: 0;
            left: 0;
            transform: translate(-10px, 10px);
            z-index: -1;
        }
        .stats-grid{
            margin-bottom: 30px;
        }
	        .final-conclusion {
            padding: 40px 5%;
        }
}