* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --color-primary: #2b2726;
            --color-secondary: #7b7b7b;
            --color-border: #e5e5e5;
            --color-bg: #fff;
            --color-bg-light: #f9f9f9;
            --max-width: 1490px;
            --transition: 0.3s ease;
            --fwsb:500;
            --fwb:600;
            --fwub:700;
            --fs20:20px;
            --lh1_2:1.2;
            --lh1_4:1.4;
            --mw575:575px;
            --fs16:16px;
            --fs14:14px;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
            color: var(--color-primary);
            background: var(--color-bg);
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px ;
        }
        .container .container{
            padding: 0;
        }
        @media (max-width: 1200px) {
            .container {
            }
        }

        @media (max-width: 768px) {
            .container {
            }
        }
        .project-image-item img{
            width: 100%;
            object-fit: cover;
        }
        .text-content-block p{
            line-height: 28px;
            margin-bottom: 25px;
        }
        .project-image-block{
            margin-bottom: 20px;
        }
        .flex-between {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* ========== HEADER ========== */
        a{
            color: #006be7;
        }
        .image-caption {text-align: left;
    margin-top: -5px;
    color: #666;
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
}
        .article-meta{
            font-size: 12px;
            font-weight: 600;
        }
        .header {
            padding: 24px 0;
            border-bottom: 1px solid var(--color-border);
            position: sticky;
            top: 0;
            background: var(--color-bg);
            z-index: 100;
        }

        .logo {
            font-size: 16px;
            font-weight: 600;
            text-decoration: none;
            color: var(--color-primary);
            letter-spacing: 0.5px;
        }

        .logo span {
            font-weight: 400;
        }

        .nav {
            display: flex;
            gap: 40px;
            align-items: center;
        }

        .nav-link {
            text-decoration: none;
            color: var(--color-primary);
            font-size: 12px;
            font-weight: 600;
            transition: opacity var(--transition);
            text-transform: uppercase;
        }

        .nav-link:hover {
            opacity: 0.5;
        }

        .header-right {
            display: flex;
            gap: 24px;
            align-items: center;
            font-size: 12px;
        }

        .lang-switch {
            color: var(--color-primary);
            cursor: pointer;
                        font-weight: var(--fwub);

        }

        .contact-link {
            color: var(--color-primary);
            text-decoration: none;
            font-weight: var(--fwub);
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 4px;
            cursor: pointer;
            z-index: 201;
            position: relative;
        }

        .menu-toggle span {
            width: 20px;
            height: 2px;
            background: var(--color-primary);
            transition: var(--transition);
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* Mobile Menu */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #000;
            z-index: 200;
            padding: 0;
            opacity: 0;
            pointer-events: none;
            transition: opacity var(--transition);
            flex-direction: column;
        }

        .mobile-menu.active {
            display: flex;
            opacity: 1;
            pointer-events: all;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
        }

        .mobile-logo {
            font-size: 16px;
            font-weight: 600;
            text-decoration: none;
            color: #fff;
            letter-spacing: 0.5px;
        }

        .mobile-logo span {
            font-weight: 400;
        }

        .mobile-header-right {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .mobile-lang {
            color: #fff;
            font-size: 12px;
        }

        .menu-close {
            width: 24px;
            height: 24px;
            position: relative;
            cursor: pointer;
            flex-shrink: 0;
        }

        .menu-close::before,
        .menu-close::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 2px;
            background: #fff;
            top: 50%;
            left: 50%;
        }

        .menu-close::before {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .menu-close::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

        .mobile-nav {
            display: flex;
            flex-direction: column;
            gap: 0;
            padding: 40px 24px;
            flex: 1;
            overflow-y: auto;
        }

        .mobile-nav-link {
            font-size: 40px;
            text-decoration: none;
            color: #fff;
            font-weight: 400;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: opacity var(--transition);
        }

        .mobile-nav-link:hover {
            opacity: 0.6;
        }

        .mobile-nav-link:last-child {
            border-bottom: none;
        }

        .mobile-menu-footer {
            background: #fff;
            padding: 32px 24px;
            border-radius: 24px 24px 0 0;
            flex-shrink: 0;
        }

        .mobile-footer-text {
            font-size: 11px;
            color: var(--color-secondary);
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .mobile-contact-btn {
            display: block;
            width: 100%;
            padding: 16px 24px;
            background: #000;
            color: #fff;
            text-align: center;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            border-radius: 4px;
            transition: var(--transition);
        }

        .mobile-contact-btn:hover {
            opacity: 0.8;
        }

        @media (max-width: 968px) {
            .nav, .header-right {
                display: none;
            }
            
            .menu-toggle {
                display: flex;
            }
            
            .mobile-menu {
                display: flex;
            }
        }

        /* Page Header */
        .page-header {
            padding: 48px 0 40px;
        }


        .page-title {
            font-size: 48px;
            font-weight: 700;
            line-height: .8;
                text-transform: uppercase;
        }

        @media (max-width: 768px) {
            .page-title {
                font-size: 32px;
            }
        }

        /* Filters */
        .filters-section {
            padding-bottom: 64px;
            display: flex;
            align-items: flex-start;
            gap: 60px;
        }

        .filter-group {
            position: relative;
        }

        .filter-label {
            font-size: 12px;
            color: var(--color-secondary);
            font-weight: var(--fwsb);
            margin-bottom: 5px;
            display: block;
        }

        .filter-select-wrapper {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .filter-select {
            background: transparent;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            cursor: pointer;
            display: inline-block;
            font-weight: var(--fwb);
        }

        .filter-arrow {
            margin-left: 7px;
            transition: transform 0.3s ease;
            pointer-events: none;
        }

        .filter-select-wrapper.active .filter-arrow {
            transform: rotate(180deg);
        }

        .filter-dropdown {
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            min-width: 280px;
            background: var(--color-bg);
            border: 1px solid var(--color-border);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, opacity 0.3s ease;
            z-index: 10;
            opacity: 0;
        }

        .filter-dropdown.active {
            max-height: 320px;
            overflow-y: auto;
            opacity: 1;
        }

        .filter-option {
            padding: 10px 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
        }

        .filter-option:hover {
            background: var(--color-bg-light);
        }

        .filter-checkbox {
            width: 16px;
            height: 16px;
            border: 1px solid var(--color-border);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .filter-checkbox::after {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--color-primary);
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .filter-option.selected .filter-checkbox::after {
            opacity: 1;
        }

        .filter-option-text {
            font-size: 12px;
            user-select: none;
            font-weight: var(--fwb);
        }

        /* Selected Filters */
        .selected-filters {
            margin-left: auto;
            max-width: 400px;
            display: none;
        }

        .selected-filters.active {
            display: block;
        }

        .selected-filters .filter-label {
            text-align: right;
        }

        .selected-filters-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: flex-end;
            max-height: 160px;
            overflow-y: auto;
        }

        .selected-filter-tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 8px;
            background: var(--color-bg-light);
            font-size: 11px;
            gap: 6px;
            font-weight: var(--fwsb);
        }

        .selected-filter-remove {
            width: 12px;
            height: 12px;
            position: relative;
            cursor: pointer;
            flex-shrink: 0;
            opacity: 0.5;
            transition: opacity var(--transition);
        }

        .selected-filter-remove:hover {
            opacity: 1;
        }

        .selected-filter-remove::before,
        .selected-filter-remove::after {
            content: '';
            position: absolute;
            width: 8px;
            height: 1px;
            background: var(--color-primary);
            top: 50%;
            left: 50%;
        }

        .selected-filter-remove::before {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .selected-filter-remove::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

        /* Portfolio Grid */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            padding: 48px 0 80px;
        }

        .portfolio-item {
            cursor: pointer;
            transition: transform var(--transition);
        }

        .portfolio-item:hover {
            transform: translateY(-4px);
        }

        .portfolio-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
        }

        .portfolio-info {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: center;
        }

        .portfolio-title {
            font-size: 14px;
            font-weight: 500;
            line-height: 1.4;
            flex: 1;
        }

        .portfolio-year {
            font-size: 14px;
            color: var(--color-secondary);
            
            font-weight:var(--fwsb);
        }

        @media (max-width: 968px) {
            .filters-section {
                flex-direction: column;
                gap: 32px;
                width: 100%;
            }

            .filter-group {
                width: 100%;
            }

            .filter-select-wrapper {
                width: 100%;
            }

            .filter-select {
                width: 100%;
            }
            
            .filter-dropdown {
                width: 100%;
                min-width: 0;
            }
            
            .selected-filters {
                margin-left: 0;
                max-width: 100%;
                width: 100%;
            }

            .selected-filters .filter-label {
                text-align: left;
            }

            .selected-filters-list {
                justify-content: flex-start;
            }

            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
        }
        /* =========================================
   СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ ГЛАВНОЙ (HERO + HEADER)
   ========================================= */

/* 1. Прозрачный Хедер (Модификатор) */
.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 100;
}

/* Перекрашиваем элементы в белый ТОЛЬКО внутри header-transparent */
.header-transparent .logo,
.header-transparent .nav-link,
.header-transparent .lang-switch,
.header-transparent .contact-link {
    color: #fff;
}

.header-transparent .menu-toggle span {
    background: #fff;
}

/* Ховер эффекты для ссылок в хедере */
.header-transparent .nav-link:hover,
.header-transparent .contact-link:hover {
    opacity: 0.7;
}

/* 2. Hero Section */
.hero-section {
    position: relative;
    height: 100vh;           /* Высота на весь экран */
    min-height: 700px;       /* Минимальная высота чтобы не схлопнулось */
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

/* Затемнение (оверлей) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

/* Контейнер внутри Hero */
.hero-container {
    position: relative;
    z-index: 2;
    max-height: 100%;
    height: 100vh;
    width: 100%; /* Исправлено: контейнер должен занимать всю ширину ограничителя */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Весь контент прижат к низу */
    padding-bottom: 30px;
}

/* Обертка контента, чтобы управлять шириной */
.hero-content-wrapper {
    width: 100%;
}

/* Ряд с заголовком и кнопкой */
.hero-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Выравнивание по низу */
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 40px;
    margin-bottom: 30px;
    gap:35px;
}

/* Текстовый блок */
.hero-text-block {
    max-width: 820px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 80px; /* Крупный, как на скрине 1 */
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -1px;

}
.hero-title span{
    font-weight: 700;
    margin-right: 10px;
}
.hero-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* КНОПКА (Стиль как на скрине 1) */
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
        height: -webkit-fill-available;
    width: -webkit-fill-available;
    margin: 10px 0;
    padding: 0 50px;
    border: 1px solid #fff; /* Белая рамка */
    background: transparent; /* Прозрачный фон */
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 370px;
}

.hero-btn:hover {
    background: #fff;
    color: #000;
}

/* Нижние ссылки */
.hero-footer-links {
    display: flex;
    gap: 50px;
}

.hero-footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.hero-footer-link:hover {
    opacity: 1;
}

.link-arrow {
    font-size: 14px;
    transform: rotate(-45deg); /* Стрелка по диагонали */
    display: inline-block;
}

/* =========================================
   АДАПТИВ HERO
   ========================================= */
@media (max-width: 1400px) {
    .hero-title { font-size: 70px; }
}
@media (max-width: 1200px) {
    .hero-title { font-size: 60px; }
}

@media (max-width: 992px) {
    .hero-main-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .hero-btn {
        width: 100%; /* Кнопка на всю ширину на планшете */
        margin-bottom: 0;
        max-width: -webkit-fill-available;
        height: 60px;
    }
    
    .hero-title { font-size: 50px; }
}

@media (max-width: 768px) {
    .hero-container {
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .hero-footer-links {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Исправление мобильного меню при прозрачном хедере */
    .mobile-menu {
        background: #000; /* Гарантированно черный фон */
    }
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    padding: 45px 0;
    background: #fff;
    overflow: hidden; /* Чтобы слайдер не вызывал гориз. скролл страницы */
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.title-bullet {
    font-size: 0.8em; /* Чуть крупнее текста */
    line-height: 1;
}.title-bullet::before{
    content: "⬣";
}

/* Обертка слайдера */
.services-slider-wrapper {
    position: relative;
    width: 100%;
}

/* Контейнер слайдов */
.services-container {
    display: flex;
    gap: 24px; /* Отступ между карточками */
    overflow-x: auto;
    padding-bottom: 40px; /* Место под скроллбар если он нативный (мы его скроем) */
    margin-bottom: -20px; /* Компенсация padding-bottom */
    
    /* Скрываем нативный скроллбар */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE */
    
    cursor: grab; /* Курсор "лапка" */
    scroll-behavior: smooth; /* Плавная прокрутка колесиком */
}

.services-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.services-container.active {
    cursor: grabbing; /* Курсор "сжатая лапка" при перетаскивании */
    scroll-behavior: auto; /* Отключаем плавность при драге для мгновенного отклика */
}

/* Карточка услуги */
.service-card {
    flex: 0 0 400px; /* Фиксированная ширина карточки, как на макете */
    background: #f4f4f4; /* Светло-серый фон как на скрине */
    height: 500px; /* Высота карточки */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s;
    user-select: none; /* Чтобы текст не выделялся при перетаскивании */
}

.service-card:hover {
    background: #ebebeb;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 30px;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    max-width: 280px;
}

.service-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Контейнер картинки */
.service-image-wrapper {
    width: 100%;
    display: flex;
    align-items: flex-end; /* Картинка прижата к низу */
    justify-content: center;
}

.service-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Картинка вписывается полностью, не обрезаясь (для изометрии) */
    /* Если нужны фото на весь блок, используй object-fit: cover и width: 100% */
    display: block;
    pointer-events: none; /* Чтобы картинку нельзя было "потащить" отдельно */
    width: 100%;
}

.slider-scrollbar {
    width: 100%;
    height: 20px; /* Область захвата чуть больше для удобства */
    margin-top: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.slider-scrollbar:hover .scrollbar-thumb,.scrollbar-thumb.active {
    height: 6px;
    background: #000 !important;
}
/* При перетаскивании (класс active добавляет JS) ползунок толстый и черный */
.scrollbar-thumb.active::before {
    content: "";
    padding: 7px 11px;
    position: absolute;
    border: 1px solid #eeeeee;
    width: 100%;
    height: 100%;
    margin: auto;
    left: -11px;
    right: 0px;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    border-radius: 50px;
}
/* Ползунок */
.scrollbar-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px; /* В покое такой же тонкий как линия */
    background: #000; /* Черный цвет */
    border-radius: 10px;
    cursor: grab;
    transition: height 0.2s ease, background 0.2s ease;
    z-index: 2;
}

.scrollbar-thumb:active {
    cursor: grabbing;
}

/* Адаптив */
@media (max-width: 768px) {
    .service-card {
        flex: 0 0 300px; /* Карточки уже на мобилке */
        height: 400px;
    }
    
    .service-title {
        font-size: 14px;
    }
    
    .service-image-wrapper {
        height: 180px;
    }
}
/* =========================================
   GRID FRAMEWORK (12 COLS)
   ========================================= */
.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Ровно 12 колонок */
    gap: 24px; /* Отступы между колонками (Gutter) */
    width: 100%;
}

/* Базовые классы для колонок (Desktop) */
.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* Утилиты для выравнивания внутри сетки */
.items-center { align-items: center; }
.items-start  { align-items: start; }
.items-end    { align-items: end; }

/* Адаптивность Фреймворка */

/* Tablet (меньше 968px) - перестраиваем в 2 колонки или на всю ширину */
@media (max-width: 968px) {
    .row {
        gap: 32px; /* Увеличиваем вертикальный отступ при переносе */
    }
    
    /* Класс .col-tab-12 принудительно растянет элемент на планшете */
    .col-tab-12 { grid-column: span 12 !important; }
    .col-tab-6  { grid-column: span 6 !important; }
}

/* Mobile (меньше 640px) - всё в одну колонку */
@media (max-width: 640px) {
    .row {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 20px;
    }
    
    /* На мобилке все колонки становятся 100% ширины автоматически */
    [class^="col-"] {
        grid-column: span 1 !important;
    }
}
/* =========================================
   ABOUT SECTION STYLES
   ========================================= */
.about-section {
    padding: 100px 0 120px;
    background: var(--color-bg);
}

.section-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-bullet {
    font-size: 20px;
    line-height: 1;
}

/* Типографика */
.about-main-title {
    font-size: 52px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.about-main-title span{
    font-weight: 700;
    font-style: oblique;
    
    margin-right: 7px;
}
.about-subtitle {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

/* Текст справа */
.about-text-content {
    margin-bottom: 50px;
}

.about-text-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

/* Статистика */
.about-stats-row {
    display: flex;
    gap: 80px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 85px;
    font-weight: 600;
    line-height: 1;
    
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
}

/* Адаптив для шрифтов (Layout адаптив уже в фреймворке) */
@media (max-width: 1200px) {
    .about-main-title { font-size: 42px; }
    .stat-number { font-size: 64px; }
}

@media (max-width: 640px) {
    .about-section { padding: 60px 0; }
    .about-main-title { font-size: 36px; }
    .about-subtitle { font-size: 14px; }
    
    .about-stats-row {
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .stat-number { font-size: 48px; }
    .stat-item { flex: 1 1 40%; }
}

/* =========================================
   STAGES SECTION (ЭТАПЫ РАБОТ)
   ========================================= */
.stages-section {
    padding: 0 0 100px;
    background: var(--color-bg);
    overflow: hidden; /* Скрываем вылезающий скролл */
}

.stages-slider-wrapper {
    position: relative;
    width: 100%;
}

/* Контейнер для карточек (Flex Row) */
.stages-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 40px; /* Место под скролл */
    margin-bottom: -20px;
    
    /* Скрытие нативного скроллбара */
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    cursor: grab;
    scroll-behavior: smooth;
}

.stages-container::-webkit-scrollbar {
    display: none;
}

.stages-container.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* КАРТОЧКА ЭТАПА */
.stage-card {
    flex: 0 0 624px;
    height: 320px;
    background: #f4f4f4; 
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s;
    user-select: none;
}

.stage-card:hover {
    background: #ebebeb;
}

/* Верхняя часть карточки */
.stage-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stage-number {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.stage-name {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-align: right;
    max-width: 50%;
}

/* Нижняя часть карточки */
.stage-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stage-desc {
    font-size: 14px;
    color: var(--color-secondary);
    font-weight: var(--fwsb);
}

.stage-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-primary);
    text-transform: lowercase;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: opacity 0.3s;
    text-decoration: underline;
    position: relative;
}

.stage-link:hover {
    opacity: 0.6;
}

/* SVG стрелка через ::after для избежания дублирования в HTML */
.stage-link::after {
    content: '';
    width: 8px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 0H8V6' fill='%232B2726'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    flex-shrink: 0;
}

/* Старый класс .stage-arrow для обратной совместимости (если используется в HTML) */
.stage-arrow {
    font-size: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* АДАПТИВНОСТЬ */

@media (max-width: 968px) {
    /* На планшете чуть уменьшаем, но сохраняем пропорцию */
    .stage-card {
        flex: 0 0 450px; 
        height: 280px;
    }
}

@media (max-width: 640px) {
    

    /* На мобилке - 100% ширины */
    .stage-card {
        flex: 0 0 100%; /* Карточка занимает всю доступную ширину */
        height: 260px;
        padding: 20px 25px;
    }
    
    .stages-container {
    }
}

/* =========================================
   ADVANTAGES SECTION (ПРЕИМУЩЕСТВА)
   ========================================= */
   /* Стили для специального темного слайда в Преимуществах */
.advantage-card.dark-card {
    background: #2b2726; /* Темный фон */
    color: #fff;
}
.advantage-card.dark-card:hover{
    background: #35302e;
}
.advantage-card.dark-card .advantage-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.advantage-card.dark-card .advantage-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
}

.advantage-card.dark-card .advantage-desc {
    color: #fff;
}

.advantage-arrow-icon svg {
    display: block;
}
.advantages-section {
    padding: 0 0 100px;
    background: var(--color-bg);
    overflow: hidden; /* Скрываем вылезающий скролл */
}

/* Подзаголовок (новый) */
.section-subtitle {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 800px;
    letter-spacing: -0.5px;
}

.advantages-slider-wrapper {
    position: relative;
    width: 100%;
}

/* Контейнер для карточек (Flex Row) */
.advantages-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 40px; /* Место под скролл */
    margin-bottom: -20px;
    
    /* Скрытие нативного скроллбара */
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    cursor: grab;
    scroll-behavior: smooth;
}

.advantages-container::-webkit-scrollbar {
    display: none;
}

.advantages-container.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* КАРТОЧКА ПРЕИМУЩЕСТВА */
.advantage-card {
    flex: 0 0 624px;
    height: 320px;
    background: #f4f4f4;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Номер вверху, текст внизу */
    transition: background 0.3s;
    user-select: none;
}

.advantage-card:hover {
    background: #ebebeb;
}

.advantage-number {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.advantage-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.advantage-title {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.advantage-desc {
    font-size: 14px;
    color: var(--color-secondary);
    max-width: 80%;
    line-height: 1.1;
    font-weight: 500;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .section-subtitle {
        font-size: 36px;
    }
}

@media (max-width: 968px) {
    /* На планшете чуть уменьшаем */
    .advantage-card {
        flex: 0 0 450px; 
        height: 280px;
    }
}

@media (max-width: 768px) {
     .section-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    
    .section-subtitle {
        font-size: 24px;
        margin-bottom: 32px;
    }

    /* На мобилке - 100% ширины */
    .advantage-card {
        flex: 0 0 100%; /* Карточка занимает всю доступную ширину */
        height: 260px;
        padding: 24px;
    }
    
    .advantages-container {
    }
    
    .advantage-desc {
        max-width: 100%;
    }
}
/* =========================================
   PROJECTS SECTION (НАШИ ПРОЕКТЫ)
   ========================================= */
.projects-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.projects-header-row {
    margin-bottom: 40px;
        flex-flow: row wrap;
}
.projects-header-row .section-title{
    margin-bottom: 0;
}
.btn-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: lowercase;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition);
    position: relative;
}

.btn-link:hover {
    opacity: 0.6;
}

/* SVG стрелка-треугольник через ::after - ТАКАЯ ЖЕ КАК В stage-link */
.btn-link::after {
    content: '';
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 0H10V7.5' fill='%232B2726'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition);
    display: inline-block;
    flex-shrink: 0;
}

.btn-link:hover::after {
    transform: translate(2px, -2px);
}

/* Старый класс для обратной совместимости */
.projects-view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition);
    position: relative;
}

.projects-view-all-link:hover {
    opacity: 0.6;
}

/* SVG стрелка-треугольник через ::after */
.projects-view-all-link::after {
    content: '';
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 0H10V7.5' fill='%232B2726'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition);
    display: inline-block;
    flex-shrink: 0;
}

.projects-view-all-link:hover::after {
    transform: translate(2px, -2px);
}

/* Карточка проекта */
.project-card {
    display: block;
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Важно для ::after */
}

/* Градиент-оверлей для читаемости текста */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    transition: background var(--transition);
}

.project-card:hover::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.8) 100%);
}

/* Контент карточки (поверх оверлея) */
.project-card-top,
.project-card-bottom,
.project-arrow-link {
    position: relative;
    z-index: 2;
}

.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-category {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    max-width: 80%;
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
}

.project-number {
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.project-desc {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    max-width: 480px;
}

/* Круглая кнопка со стрелкой */
.project-arrow-link {
    position: absolute;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    
    /* Всегда видна */
    transform: scale(1);
    opacity: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-card:hover .project-arrow-link {
    transform: scale(1.1);
}
/* АДАПТИВНОСТЬ */
@media (max-width: 1135px) {
    .project-card{
        height: 300px;
    }
   
}

@media (max-width: 968px) {
   .project-card{
        height: 240px;
    }
}

@media (max-width: 768px) {
    
}

@media (max-width: 640px) {
    
}
/* Адаптивность для карточек (на мобилке) */
@media (max-width: 640px) {
    .projects-section {
        padding: 60px 0;
    }
    
    .project-card {
        padding: 24px;
    }
    .hero-title {
        font-size: 30px;
    }
    .project-arrow-link {
        /* На мобилке стрелка видна всегда */
        opacity: 1;
        transform: scale(1);
        width: 44px;
        height: 44px;
        font-size: 20px;
        bottom: 24px;
        right: 24px;
    }
    
     .project-desc {
        max-width: 85%; /* Оставляем место для стрелки */
    }
}
/* =========================================
   BLOG SECTION (НОВОСТИ И БЛОГ)
   ========================================= */

.blog-section {
    padding: 100px 0;
    background: var(--color-bg);
}

/* --- Стили Карточки (Desktop Base) --- */
.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    height: 450px; /* Фиксированная высота для ПК, как требовалось */
    padding: 32px;
    border: 1px solid var(--color-border); /* Тонкая рамка */
    background: #fff;
    
    text-decoration: none;
    color: var(--color-primary);
    transition: box-shadow var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #000; /* При наведении рамка темнеет */
}

/* Верхняя часть (Заголовок + Картинка) */
.blog-card-top {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    max-width: 100%;
    margin-bottom: 24px;
}

/* Контейнер картинки */
.blog-card-image {
    flex-grow: 1; /* Занимает свободное место по центру */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.blog-card-image img {
    max-width: 100%;
    max-height: 200px; /* Ограничение высоты картинки внутри карточки */
    object-fit: contain;
}

/* Футер карточки (Дата + Теги) */
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto; /* Прижимаем к низу */
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid transparent; /* Резерв места */
}

.blog-date {
    font-weight: var(--fwb);
    font-size: var(--fs14);
    color: var(--color-primary);
}

.blog-tags {
    color: var(--color-secondary);
    text-align: right;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.blog-tags-article{
    margin-bottom: 2rem;
}
.blog-tag-article{
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
}
.tag-bold {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--color-primary); /* Подчеркивание как на скрине */
}

/* =========================================
   АДАПТИВНОСТЬ БЛОГА
   ========================================= */

@media (max-width: 968px) {
    /* На планшете карточки становятся во всю ширину (из-за col-tab-12),
       но высоту можно сделать меньше, так как текст растянется */
    .blog-card {
        height: auto;
        min-height: 250px;
    }
}

@media (max-width: 640px) {
    .blog-section {
        padding: 60px 0;
    }

    /* Логика трансформации карточки для мобилки (см. скрин 2) */
    .blog-card {
        height: auto; /* Высота по содержимому */
        min-height: 0;
        padding: 24px;
    }

    /* Меняем направление на горизонтальное для верхней части */
    .blog-card-top {
        flex-direction: row; 
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 40px; /* Отступ до даты */
    }

    /* Заголовок занимает левую часть */
    .blog-card-title {
        font-size: 16px;
        margin-bottom: 0;
        flex: 1; /* Занимает все место, если нет картинки */
    }

    /* Картинка переезжает вправо */
    .blog-card-image {
        flex: 0 0 100px; /* Фиксированная ширина картинки на мобильном */
        height: 100px;   /* Квадратная область */
        margin-bottom: 0;
        align-items: flex-start; /* Прижимаем к верху */
        justify-content: flex-end;
    }

    /* Если в карточке есть картинка, заголовок не должен на неё налезать */
    .blog-card-image ~ .blog-card-title, /* хак селектора, или просто полагаемся на flex */
    .blog-card-top:has(.blog-card-image) .blog-card-title {
        max-width: calc(100% - 110px);
    }

    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right top;
    }
}

/* =========================================
   CONTACTS PAGE STYLES
   ========================================= */

.contacts-page {
    padding-top: 60px;
    background: #fff;
}

/* Огромный заголовок */
.page-main-title {
    font-size: 80px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 80px;
    line-height: 1;
}

/* Отступы внутри сетки */
.contacts-grid {
    margin-bottom: 100px;
}

/* Блок контактов (группа инфо + ссылка) */
.contact-block {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-block:last-child {
    margin-bottom: 0;
}

/* Значения (Телефон, Почта, Адрес) */
.contact-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Ссылки-действия (Заказать звонок и т.д.) */
.contact-action-link {
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s, border-color 0.3s;
}

.contact-action-link:hover {
    opacity: 0.7;
    border-color: #000;
}

/* Иконка "курсора" рядом со ссылкой (как на макете) */
.action-cursor {
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L3.5 10.5L6 6L10.5 3.5L1 1Z' fill='black' stroke='black' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    transform: rotate(90deg); /* Поворот чтобы было похоже на скрин */
}

/* Соцсети в строку */
.social-links-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.social-text-link {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 2px solid #000; /* Жирное подчеркивание */
    line-height: 1.2;
    transition: opacity 0.3s;
}

.social-text-link:hover {
    opacity: 0.6;
}

/* --- КАРТА --- */
.map-full-width {
    width: 100%;
    height: 600px; /* Высота карты */
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

/* Хак для темной карты: инвертируем цвета стандартной карты */
.map-full-width iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Инверсия + ЧБ + Контраст = Темная стильная карта */
    filter: grayscale(100%) invert(92%) contrast(83%);
    pointer-events: all;
}

/* Если нужно затемнить еще сильнее */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    pointer-events: none;
}

/* =========================================
   АДАПТИВНОСТЬ КОНТАКТОВ
   ========================================= */

@media (max-width: 968px) {
    .page-main-title {
        font-size: 60px;
        margin-bottom: 60px;
    }
}

@media (max-width: 640px) {
    .contacts-page {
        padding-top: 40px;
    }

    .page-main-title {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .contacts-grid {
        margin-bottom: 60px;
        /* На мобильном col-tab-12 сделает колонки вертикальными,
           добавим gap для вертикального отступа между ними */
        row-gap: 40px; 
    }

    /* На мобилке отступы внутри блоков поменьше */
    .contact-block {
        margin-bottom: 40px;
    }

    .contact-value,
    .social-text-link {
        font-size: 20px;
    }
    
    .map-full-width {
        height: 400px; /* Карта поменьше на телефоне */
    }
}
a.service-card{
    text-decoration: none;
    color: inherit;
}

/* Hero Video Modal */
.hero-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.hero-modal-overlay.active {
    display: flex;
}
.hero-modal-container {
    position: relative;
    width: 90%;
    max-width: 1280px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.hero-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.hero-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
#heroVideoIframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
}
/* Loader Styles */
.hero-modal-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #111;
    color: #fff;
    z-index: 5;
}
.hero-modal-loader p {
    margin-top: 15px;
    font-size: 14px;
    color: #aaa;
    font-family: 'Montserrat', sans-serif;
}
.hero-loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: #fff;
    animation: hero-spin 1s ease-in-out infinite;
}
@keyframes hero-spin {
    to { transform: rotate(360deg); }
}
/*
 =========================================
   BLOG PAGE STYLES
   ========================================= */

/* Breadcrumb */
.blog-slide-item a{
    text-decoration: none ;
}
.blog-slide-item a:hover{
    text-decoration: underline;
}
.breadcrumb {
    padding: 32px 0 5px;
}

.breadcrumb a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.6;
}



/* ========== BLOG SLIDER ========== */
.blog-slider-wrapper {
    margin-bottom: 80px;
    position: relative;
    width: 100%;
}

.blog-slides-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 40px;
    margin-bottom: -20px;
    
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    cursor: grab;
    scroll-behavior: smooth;
    user-select: none;
}

.blog-slides-container::-webkit-scrollbar {
    display: none;
}

.blog-slides-container.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

.blog-slide-item {
    flex: 0 0 auto;
    user-select: none;
    width: min-content;
}

.blog-slide-item img {
    height: 320px;
    width: auto;
    max-width: none;
    object-fit: cover;
    display: block;
    pointer-events: none;
    margin-bottom: 16px;
        min-width: 300px;
}

.blog-slide-caption {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Адаптив */
@media (max-width: 968px) {
    .blog-slide-item img {
        height: 280px;
    }
}

@media (max-width: 640px) {
    .blog-slides-container {
        gap: 12px;
    }
    
    .blog-slide-item img {
        height: 240px;
    }
}

/* ========== BLOG FILTER SECTION ========== */
.blog-filter-section {
    display: flex;
    gap: 80px;
    padding: 48px 0;
}

.blog-filter-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.blog-filter-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.blog-filter-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-filter-item {
    font-size: 16px;
    color: var(--color-secondary);
    cursor: pointer;
    transition: color var(--transition);
    font-weight: var(--fwsb);
}

.blog-filter-item:hover,
.blog-filter-item.active {
    color: var(--color-primary);
}

/* Blog Content */
.blog-content {
    flex: 1;
}

.blog-item {
    display: flex;
    gap: 75px;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
}

.blog-item:first-child {
    padding-top: 0;
}

.blog-image {
    width: 325px;
    height: 225px;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.blog-title-text {
    font-size: var(--fs20);
    font-weight: var(--fwb);
    line-height: var(--lh1_4);
    max-width: var(--mw575);
    flex: 1;
    padding-right: 24px;
}

.blog-description {
    font-size: var(--fs16);
    color: var(--color-secondary);
    line-height: var(--lh1_2);
    margin-bottom: 16px;
    max-width: var(--mw575);
    font-weight: var(--fwsb);
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: var(--fs14);
    color: var(--color-secondary);
    margin-top: auto;
    font-weight: var(--fwsb);
    justify-content: space-between;
}

/* Mobile Filter Toggle */
.blog-mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-align: left;
    margin-bottom: 24px;
    position: relative;
}

.blog-mobile-filter-toggle::after {
    content: '▼';
    position: absolute;
    right: 20px;
    font-size: 10px;
    transition: transform var(--transition);
}

.blog-mobile-filter-toggle.active::after {
    transform: rotate(180deg);
}

.blog-mobile-filter-list {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-light);
    margin-bottom: 24px;
}

.blog-mobile-filter-list.active {
    display: flex;
}

/* Адаптивность для средних экранов */
@media (max-width: 1200px) {
    .blog-image {
        width: 280px;
        height: 195px;
    }
    
    .blog-item {
        gap: 50px;
    }
}

@media (max-width: 968px) {
    .blog-filter-section {
        flex-direction: column;
        gap: 0;
        padding: 24px 0;
    }

    .blog-filter-sidebar {
        width: 100%;
    }

    .blog-filter-list {
        display: none;
    }

    .blog-mobile-filter-toggle {
        display: block;
    }
    
    .blog-image {
        width: 240px;
        height: 165px;
    }
    
    .blog-item {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .blog-item {
        flex-direction: column;
        gap: 16px;
    }

    .blog-image {
        width: 100%;
        height: 220px;
    }

    .blog-header {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .blog-title-text {
        padding-right: 0;
    }

    .blog-date {
        align-self: flex-start;
    }
}

/* =========================================
   SERVICES PAGE STYLES
   ========================================= */

/* Page Subtitle */
.page-subtitle {
    font-size: 14px;
    color: var(--color-secondary);
    font-weight: 400;
    margin-bottom: 8px;
    font-weight: var(--fwsb);
}

/* Services Page Grid (для страницы услуг) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.services-grid .service-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
}

.services-grid .service-card:hover {
    transform: translateY(-4px);
}

.services-grid .service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-grid .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-grid .service-header {
        display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
    align-items: center;
}

.services-grid .service-content {
    color: #fff;
}

.services-grid .service-category {
    font-size: var(--fs16);
    font-weight: var(--fwb);
    color: #fff;
    text-transform: uppercase;
}

.services-grid .service-description {
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    max-width: 480px;
    font-weight: var(--fwsb);
}

.services-grid .service-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}

/* ========== ACCORDION SECTION ========== */
.accordion-section {
    margin-bottom: 120px;
    padding-top: 80px;
    border-top: 1px solid var(--color-border);
}

.accordion-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.accordion-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 48px;
}

.accordion-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.accordion-title {
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
}

.accordion-intro {
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* Стили для ссылок внутри accordion-intro удалены - теперь используется .btn-link */

@media (max-width: 968px) {
    .accordion-header {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .accordion-title {
        font-size: 24px;
    }
    
    .accordion-section {
        margin-bottom: 80px;
        padding-top: 60px;
    }
}

/* Accordion Items */
.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-trigger {
    width: 100%;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.accordion-trigger:hover .accordion-label {
    opacity: 0.6;
}

.accordion-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    transition: opacity var(--transition);
    text-transform: uppercase;
}

.accordion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.accordion-trigger:hover .accordion-icon {
    background: #e5e5e5;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--color-primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-item.active .accordion-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-item.active .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content-inner {
    padding: 0 0 28px 0;
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.8;
}
/* =========================================
   PROJECT PAGE STYLES (СТРАНИЦА ПРОЕКТА)
   ========================================= */

/* Модификатор для Hero-секции проекта */
.project-hero {
    /* Можно задать другое затемнение, если нужно, но пока используем стандартное */
}

/* Контейнер для текстов внизу слева */
.project-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px; /* Отступ между надзаголовком и заголовком */
    margin-bottom: 40px; /* Отступ от нижнего края контейнера */
}

/* Надзаголовок (маленький текст: ОФИСНЫЙ КОМПЛЕКС...) */
.project-hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Заголовок проекта (большой текст) */
.project-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 80px; /* Такой же размер как на главной */
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
}

/* === АДАПТИВ СТРАНИЦЫ ПРОЕКТА === */

@media (max-width: 1200px) {
    .project-hero-title { font-size: 60px; }
}

@media (max-width: 768px) {
    .project-hero-content {
        margin-bottom: 20px;
        gap: 12px;
    }

    .project-hero-subtitle {
        font-size: 12px;
    }

    .project-hero-title {
        font-size: 40px;
        line-height: 1.1;
    }
}
/* =========================================
   PROJECT SHOWCASE (ГАЛЕРЕЯ ПРОЕКТА)
   ========================================= */
.project-showcase {
}

/* Typography */
.project-subtitle {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 48px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 40px;
    line-height: 1.1;
}

/* Wrapper */
.project-gallery-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

/* Slider Container */
.project-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 40px; /* Отступ под скролл */
    margin-bottom: -50px; /* Компенсация */
    
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    cursor: grab;
    scroll-behavior: smooth;
    height: 500px; /* Фиксированная высота ряда */
}

.project-slider::-webkit-scrollbar {
    display: none;
}

.project-slider.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Slides & Images */
.project-slide {
    flex: 0 0 auto; /* Не сжимать */
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* Чтобы картинку не тянуло как файл */
}

/* Размеры слайдов для имитации сетки */
.slide-wide {
    width: 700px; /* Широкий слайд */
}

.slide-medium {
    width: 500px; /* Средний */
}

.slide-tall {
    width: 350px; /* Узкий/Вертикальный */
}


/* Custom Drag Cursor Icon (Замена стандартного курсора) */
.drag-cursor-area {
    position: fixed;
    width: 50px;
    height: 50px;
    border: 1px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    color: #fff;
    font-size: 20px;
    /* background: rgba(0, 0, 0, 0.3); */
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.15s, transform 0.1s;
    transform: translate(-50%, -50%);
}

/* Показываем кастомный курсор когда мышь в области слайдера */
.project-slider:hover .drag-cursor-area {
    opacity: 1;
}

/* Визуальное взаимодействие при клике (уменьшение) */
.project-slider.active .drag-cursor-area {
    transform: translate(-50%, -50%) scale(0.85);
}
.drag-icon {
    display: contents;
}
/* Specific Scrollbar Style */
.project-scrollbar {
    margin-top: 20px;
    border-top: 1px solid #e5e5e5; /* Линия на всю ширину */
    height: 2px; /* Тонкая линия */
    background: transparent;
}

.scrollbar-track {
    width: 100%;
    height: 2px;
    background: #e5e5e5;
    position: relative;
    border-radius: 2px;
}



/* Adaptive */
@media (max-width: 968px) {
    .project-slider {
        height: 350px;
    }
    
    .slide-wide { width: 500px; }
    .slide-medium { width: 350px; }
    .slide-tall { width: 250px; }
    
    .project-title { font-size: 32px; }
}

@media (max-width: 640px) {
    .project-slider {
        height: 260px;
        gap: 12px;
    }
    
    .slide-wide, .slide-medium, .slide-tall {
        width: 85vw; /* На мобилке почти во весь экран */
    }
}
.project-text-section{
    padding: 40px 0 40px;
}
.project-gallery-section{
        padding: 70px 0 0px;
}
.project-heading-section {
    margin-bottom: -65px;
}

/* Добавляем это ко всем твоим контейнерам слайдеров */
.services-container, 
.stages-container, 
.advantages-container,
.blog-slides-container,
.project-slider {
    /* Включаем прилипание по оси X */
    scroll-snap-type: x mandatory; 
    /* Плавность прокрутки браузером */
    scroll-behavior: smooth; 
    /* Важно: убираем это при Drag (в JS будем переключать), иначе будет дергаться */
}

/* При перетаскивании мышью отключаем прилипание и плавность, 
   чтобы слайдер следовал строго за курсором */
.services-container.active, 
.stages-container.active,
.advantages-container.active,
.blog-slides-container.active,
.project-slider.active {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

/* Добавляем это к карточкам (элементам слайдера) */
.service-card, 
.stage-card, 
.blog-slide-item,
.project-slide,
.advantage-card {
    /* Точка прилипания - левый край */
    scroll-snap-align: start;
    /* Запрещаем браузеру останавливаться "между" слайдами */
    scroll-snap-stop: always; 
}

/* --- НОВЫЙ БЛОК: ИНФОРМАЦИЯ И КОМАНДА --- */
.details-section {
    padding: 80px 0 100px;
    background: #fff;
}

.details-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    row-gap: 16px;
    column-gap: 20px;
}

.info-label {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.info-value {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
}

.team-grid {
    display: flex;
    gap: 60px;
}

.team-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-member {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* Адаптив нового блока */
@media (max-width: 968px) {
    .details-section {
        padding: 60px 0;
    }
    .info-grid {
        grid-template-columns: 1fr;
        row-gap: 8px;
        margin-bottom: 40px;
    }
    .team-grid {
        flex-direction: column;
        gap: 24px;
    }
}

/* --- ИСПРАВЛЕНИЕ СКРОЛЛБАРА В СЛАЙДЕРЕ ПРОЕКТА --- */
.project-scrollbar {
    margin-top: 24px;
    border-top: none; /* Убираем тонкую линию */
    height: 12px;     /* Возвращаем высоту блока */
    background: transparent;
}

/* Стили трека (серой полоски) */
.project-scrollbar .scrollbar-track {
    background: #e5e5e5;
    height: 2px;
    width: 100%;
    position: relative;
    transition: height 0.3s ease;
    border-radius: 2px;
}

/* При наведении увеличиваем высоту, как на главной */
.project-scrollbar:hover .scrollbar-track,
.project-scrollbar .scrollbar-thumb.active {
    height: 6px;
}
/* 
=========================================
   FOOTER (МИНИМАЛИСТИЧНЫЙ В СТИЛЕ UNTITLED UI)
   ========================================= */
.footer {
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Основная часть футера */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

/* Брендинг */
.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo span {
    font-weight: 400;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* Навигация */
.footer-nav {
    display: flex;
    gap: 80px;
    flex: 1;
    justify-content: flex-end;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 140px;
}

.footer-nav-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer-link {
    font-size: 14px;
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 400;
}

.footer-link:hover {
    color: var(--color-primary);
}

/* Нижняя часть футера */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 400;
}



.footer-legal-link {
    font-size: 13px;
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 400;
}

.footer-legal-link:hover {
    color: var(--color-primary);
}

/* АДАПТИВНОСТЬ ФУТЕРА */
@media (max-width: 968px) {
    .footer {
        padding: 48px 0 24px;
        margin-top: 60px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 48px;
    }
    
    .footer-nav {
        gap: 40px;
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 0 24px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-nav-col {
        min-width: 0;
    }
}

/* =========================================
   MODAL (МИНИМАЛИЗМ В СТИЛЕ UNTITLED UI)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 540px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--color-secondary);
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

.modal-container iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: none;
}

/* Адаптив модалки */
@media (max-width: 640px) {
    .modal-container {
        padding: 32px 24px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 20px;
    }
}

/* =========================================
   BLOG TAGS
   ========================================= */
.blog-tag {
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
    color: var(--color-secondary);
}

.blog-tag:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* =========================================
   LANG SWITCH WITH ACTIVE STATE
   ========================================= */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-option {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    transition: opacity 0.3s;
}

.lang-option:hover {
    opacity: 0.7;
}

.lang-option.active {
        border-bottom: 1px solid rgb(0 0 0 / 50%);
}

.lang-separator {
    color: var(--color-primary);
    font-size: 12px;
}

/* =========================================
   FOOTER V2 (КАК НА СКРИНЕ UNTITLED UI)
   ========================================= */
.footer-v2 {
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 48px 0 32px;
    margin-top: 100px;
}

.footer-v2-brand {
    margin-bottom: 32px;
}

/* Навигация слева, соцсети справа */
.footer-v2-nav-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-v2-links,
.footer-v2-social {
    display: flex;
    gap: 24px;
}

/* Нижняя часть - копирайт и политика */
.footer-v2-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    /* border-top: 1px solid var(--color-border); */
}

.footer-copyright {
    font-size: 14px;
    color: var(--color-secondary);
}

.footer-legal {
    display: flex;
    gap: 10px;
}
.breadcrumb-nav{
    font-size: 12px;
    margin-bottom: 50px;
}
.breadcrumb-items a{
    color:inherit;
}
/* Адаптив футера V2 */
@media (max-width: 968px) {
    .footer-v2 {
        padding: 40px 0 24px;
        margin-top: 60px;
    }
    
    .footer-v2-nav-row {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-v2-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .footer-v2 {
        padding: 32px 0 24px;
    }
    
    .footer-v2-links,
    .footer-v2-social {
        flex-direction: column;
        gap: 16px;
    }
}

/* =========================================
   CONTACT BUTTON VISUAL EFFECTS
   ========================================= */
.contact-link,
.mobile-contact-btn,
.hero-btn {
    position: relative;
    overflow: hidden;
}

.contact-link::before,
.mobile-contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-link:active::before,
.mobile-contact-btn:active::before {
    width: 300px;
    height: 300px;
}

.contact-link.loading,
.mobile-contact-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* =========================================
   MODAL LOADER (ПРЕЛОАДЕР)
   ========================================= */
.modal-loader {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-loader p {
    font-size: 14px;
    color: var(--color-secondary);
}

.modal-container iframe {
    display: none;
}
/* =========================================
   PROJECT TEXT BLOCKS
   ========================================= */
.project-heading-row {
    margin-top: 60px;
}

.project-text-row p {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-text-row p:last-child {
    margin-bottom: 0;
}

@media (max-width: 968px) {
    .project-heading-row {
        margin-top: 40px;
    }

    .project-text-row {
        gap: 20px;
    }

    .project-text-row p {
        margin-bottom: 15px;
    }
}

/* =========================================
   PROJECT ACCORDION MODIFIERS
   ========================================= */
.accordion-project .accordion-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accordion-project .accordion-icon {
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 0;
}

.accordion-project .accordion-trigger:hover .accordion-icon {
    background: transparent;
    opacity: 0.6;
}

.accordion-project .accordion-icon::before {
    width: 8px;
    height: 1px;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-project .accordion-icon::after {
    width: 8px;
    height: 1px;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.accordion-project .accordion-item.active .accordion-icon::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.accordion-project .accordion-item.active .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content-inner {
    padding: 0 0 28px 0;
    color: var(--color-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================
   PROJECT ATTRIBUTES TYPOGRAPHY & COMPONENTS
   ========================================= */
   .project-attributes-section{
    padding: 80px 0 80px;
    background: #fff;
   }
.attr-small-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 24px;
    font-weight: 500;
}

.attr-main-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-primary);
    margin: 0;
    max-width: 80%;
}

.attr-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 16px;
}

.attr-metric-label {
        font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
}

.attr-metric-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

@media (max-width: 640px) {
    .attr-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.right-arr,
.left-arr {
    position: absolute;
    color: black;
    font-weight: 600;
}

.right-arr {
    right: -15px;
}

.left-arr {
    left: -15px;
}

/* Подписи к изображениям (Медиа блок) */
.project-image-caption {
    position: absolute;
    padding: 10px 15px;
    z-index: 10;
    pointer-events: none;
    line-height: 1.4;
    max-width: 100%;
}

.caption-top-left {
    top: 0;
    left: 0;
}

.caption-top-right {
    top: 0;
    right: 0;
}

.caption-bottom-left {
    bottom: 0;
    left: 0;
}

.caption-bottom-right {
    bottom: 0;
    right: 0;
}

.caption-italic {
    font-style: italic;
}


/* =========================================
   PROJECT HERO ВНУТРЯНКА
   ========================================= */

.project-hero-title-custom {
    text-transform: none !important;
}

.project-hero-desc {
    max-width: 650px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
}

.project-hero-metrics {
    display: flex;
    gap: 60px;
    margin-top: 48px;
    color: #fff;
}

.project-hero-metrics .hero-metric-value {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-hero-metrics .hero-metric-value span {
    font-size: 14px;
    font-weight: 400;
}

.project-hero-metrics .hero-metric-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .project-hero-metrics {
        flex-direction: column;
        gap: 24px;
    }
}




.form-container {
            padding: 0;
        }

        .form-title {
            font-size: 24px;
            font-weight: 600;
            color: #2b2726;
            margin-bottom: 8px;
        }

        .form-subtitle {
            font-size: 14px;
            color: #7b7b7b;
            margin-bottom: 32px;
            font-weight: 400;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            font-size: 13px;
            font-weight: 500;
            color: #2b2726;
            margin-bottom: 8px;
            display: block;
        }

        .required {
            color: #e74c3c;
        }

        .form-input {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #e5e5e5;
            border-radius: 6px;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            color: #2b2726;
            transition: border-color 0.3s;
        }

        .form-input:focus {
            outline: none;
            border-color: #2b2726;
        }

        .form-input::placeholder {
            color: #7b7b7b;
            opacity: 0.5;
        }

        .form-submit {
            width: 100%;
            padding: 14px 24px;
            background: #2b2726;
            color: #fff;
            border: none;
            border-radius: 6px;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: opacity 0.3s;
            margin-top: 8px;
        }

        .form-submit:hover {
            opacity: 0.9;
        }

        .form-submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .success-message {
            display: none;
            text-align: center;
            padding: 40px 20px;
        }

        .success-message.show {
            display: block;
        }

        .success-icon {
            font-size: 48px;
            color: #27ae60;
            margin-bottom: 16px;
        }

        .success-text {
            font-size: 18px;
            font-weight: 600;
            color: #2b2726;
            margin-bottom: 8px;
        }

        .success-subtext {
            font-size: 14px;
            color: #7b7b7b;
        }