  

        * { 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: #ffffff; /* Если у тебя темный фон, замени на #fff (белый) */
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgb(151, 151, 151);
}

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

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

/* Разделитель перед языками убрал, чтобы было чисто */
.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: #ffffff; /* Цвет полосок бургера */
    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); background-color:rgb(43, 43, 43); }
.burger.active span:nth-child(2) { opacity: 0; left: -60px; background-color:rgb(43, 43, 43);}
.burger.active span:nth-child(3) { top: 9px; transform: rotate(-135deg); background-color:rgb(43, 43, 43);}

/* --- Адаптив --- */
@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; }

/* --- КНОПКА НАВЕРХ --- */
.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;
    }
}

.hero{
    background-image:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/tobias-keller-2ecH5Lw3zSk-unsplash.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    align-items: end;
    justify-content: left;  
    padding-left: 50px;
    padding-bottom: 20px;  
}
.hero p{
    font-size: 130px;
    color: #ffffff;
    font-weight: 600;
    font-family: Alegreya;
}
/* Общие настройки страницы услуг */
body {
    background-color: #fff;
    color: #333;
}


/* СЕТКА УСЛУГ */
.services-container {
    padding: 100px 10%;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}
.service-text b{
    font-family: Spectral;
    font-size: 25px;
}
.service-number {
    font-family: 'Alegreya', serif;
    font-size: 80px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    display: block;
    margin-bottom: -40px;
}

.service-text h2 {
    font-family: 'Spectral', serif;
    font-size: 36px;
    margin-bottom: 10px;
    position: relative;
}

.service-text p {
    font-size: 22px;
    line-height: 1.7;
    color: #2f2f2f;
    margin-bottom: 25px;
    font-family: Raleway;
}

.service-text ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.service-text ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
        font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 400;
}

.service-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 2px;
    background-color: #ff0000; /* Красная линия как акцент */
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
    object-position: left;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* БЛОК CTA */
.cta-section {
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
     padding: 70px 100px 0 100px;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:linear-gradient(rgba(0, 0, 0, 0.337), rgba(0, 0, 0, 0.6)), url('../img/anders-jilden-Sc5RKXLBjGg-unsplash.jpg');
}

.cta-section h2 {
    font-family: 'Spectral', serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}
.atc{
    color: #ffffff;
    font-size: 18px;
    font-weight: 300;
}
.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: 992px) {
    .service-item, .service-item.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .service-text ul li {
        text-align: left;
    }

    .hero-content h1 {
        font-size: 40px;
    }
}
/* --- ВСТУПИТЕЛЬНЫЙ БЛОК УСЛУГ --- */
.services-intro {
    padding: 100px 5% 80px; /* Большой верхний отступ из-за абсолютного хедера */
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Декоративная линия слева от текста на десктопе */
.intro-line {
    width: 2px;
    height: 100px;
    background-color: #ff0000;
    margin-bottom: 30px;
}

.intro-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff0000;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.intro-title {
    font-family: 'Spectral', serif;
    font-size: clamp(32px, 5vw, 54px); /* Адаптивный размер шрифта */
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 25px;
    max-width: 900px;
    font-weight: 700;
}

.intro-description {
    font-family: Raleway;
    font-size: 22px;
    line-height: 1.8;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
}

/* Декоративная фигура на фоне */
.intro-shape-gray {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: #f4f4f4;
    border-radius: 0 0 0 50px; /* Закругление как на форме */
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
}

/* Адаптив */
@media (max-width: 768px) {
    .services-intro {
        padding: 120px 5% 50px;
    }
    .intro-title {
        font-size: 28px;
    }
    .intro-description {
        font-size: 16px;
    }
    .intro-line {
        height: 60px;
    }
}
/* --- СЕКЦИЯ ОТРАСЛЕВАЯ ЭКСПЕРТИЗА --- */
.expertise-section {
    padding: 0 5% 150px 5%;
   ; /* Светлый фон для отделения от других секций */
    color: #1a1a1a;
}

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

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.expertise-left .tag {
    color: #ff0000;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

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

.expertise-right .summary-lead {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 25px;
    color: #1a1a1a;
    font-family: Raleway;
}

.expertise-right .summary-details p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Список преимуществ */
.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #1a1a1a;
}

.expertise-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 2px;
    background-color: #ff0000; /* Красная линия как акцент */
}

/* Адаптивность */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .expertise-title {
        font-size: 32px;
    }
}
@media (max-width: 900px){
        .cta-section div{
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 750px){
    .cta-section{
        padding: 50px;
    }
}
@media (max-width: 630px){
        .cta-section{
        padding: 50px 10px;
        background-position: bottom;
    }
}
@media (max-width: 700px){
    .hero p{
        font-size: 80px;
    }
    .hero{
        justify-content: center;
        padding: 0;
        align-items: center;
    }
}
@media (max-width: 500px){
    .services-intro, .services-container, .expertise-section{
        padding: 30px 15px;
    }
    .hero{
        margin-bottom: 40px;
        height: 300px;
        justify-content: left;
        align-items: end;
        padding: 10px;
    }
    .cta-section{
        margin-top: 50px;
    }
    .service-item {
        margin-bottom: 50px;
    }
   
}
@media (max-width: 450px){
        .hero p{
        font-size: 70px;
        
    }
}
