 /* Сброс базовых стилей */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Montserrat', sans-serif; color: #fff; overflow-x: hidden; }

        /* =========================================
           ЕДИНЫЙ КОНТЕЙНЕР ДЛЯ ИДЕАЛЬНОЙ ЛИНИИ
           ========================================= */
        .container {
            max-width: 1300px; /* Максимальная ширина контента */
            width: 100%;
            margin: 0 auto;
            padding: 0 40px; /* Отступы по бокам */
        }

        /* =========================================
           ШАПКА (Вставлять в header.php)
           ========================================= */
        .header { background-color: #fff; padding: 15px 0; position: relative; z-index: 100; }
        .header-flex { display: flex; justify-content: space-between; align-items: center; }
        
        .logo-wrapper { text-decoration: none; display: block; }
        .logo-wrapper svg { display: block; max-width: 150px; height: auto; }
        
        .desktop-nav { flex: 1; display: flex; justify-content: flex-end; padding-right: 50px; }
        .nav-list { display: flex; list-style: none; gap: 35px; }
        .nav-list a { text-decoration: none; color: #333; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s; }
        .nav-list a:hover { color: #888; }
        
        .burger-btn { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; width: 32px; height: 18px; padding: 0; z-index: 101; }
        .burger-line { background-color: #000; height: 2px; border-radius: 1px; transition: all 0.3s; }
        .burger-line.line-1 { width: 70%; align-self: flex-start; }
        .burger-line.line-2 { width: 100%; }
        .burger-line.line-3 { width: 100%; }
        
        .mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: #fff; z-index: 999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s ease; }
        .mobile-menu.active { right: 0; }
        .mobile-close-btn { position: absolute; top: 30px; right: 5%; background: none; border: none; font-size: 45px; color: #000; cursor: pointer; line-height: 0.5; padding: 10px; font-weight: 300; }
        .mobile-nav-list { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 30px; }
        .mobile-nav-list a { text-decoration: none; color: #000; font-size: 1.2rem; font-weight: 600; text-transform: uppercase; transition: opacity 0.3s; }
        
        @media (max-width: 1100px) { .desktop-nav { display: none; } }

        /* =========================================
           ХЕРО ЭКРАН (Контент страницы)
           ========================================= */
        .hero-wrapper {
            display: flex;
            flex-direction: column;
        }

        /* Главный блок с фоном */
        .hero-main {
            position: relative;
            background-image: url("https://design-mate.ru/upload/images/post/post_13206.jpg?1755020210");
            background-size: cover;
            background-position: center;
            min-height: 75vh;
            display: flex;
            align-items: center;
        }

        /* Градиентное затемнение, как на скриншоте (плотное слева, прозрачное справа) */
        .hero-main::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            width: 100%;
            padding: 40px 0;
            animation: fadeIn 1s ease-out forwards;
        }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

        .hero-title {
            font-size: 40px;
            font-weight: 600;
            line-height: 1.15;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        /* Специфичный бежево-серый цвет для "В МОСКВЕ" */
        .hero-title span { color: #d1cbc1; }

        .hero-subtitle {
            font-size: 16.2px;
            font-weight: 400;
            margin-bottom: 25px;
        }

        /* Тонкая линия разделитель над кнопкой */
        .hero-divider {
            width: 100%;
            max-width: 233px;
            height: 1px;
            background-color: rgba(255, 255, 255, 0.4);
            margin-bottom: 30px;
        }

        .btn-primary {
            background-color: #fff;
            color: #000;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            padding: 16px 11px;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: opacity 0.3s;
        }
        .btn-primary:hover { opacity: 0.8; }

        /* =========================================
           БЕЛЫЙ БЛОК КОНТАКТОВ (Продолжение херо)
           ========================================= */
        .hero-bottom-bar {
            background-color: #fff;
            color: #000;
            padding: 25px 0;
        }
        
        .bottom-bar-flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        /* Блок соцсетей */
        .social-block { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
        .social-icons-row { display: flex; gap: 15px; align-items: center; }
        .social-icons-row a { display: inline-flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
        .social-icons-row a:hover { opacity: 0.6; }
        .social-text { font-size: 0.6rem; color: #999; font-weight: 500; }

        /* Блок телефона */
        .contact-block { display: flex; flex-direction: column; align-items: center; }
        .phone-number { font-size: 1.15rem; font-weight: 600; color: #000; text-decoration: none; margin-bottom: 5px; }
        .work-hours { font-size: 0.65rem; color: #888; font-weight: 500; }

        /* Блок формы */
        .form-block { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 480px; }
        .form-row { display: flex; width: 100%; margin-bottom: 8px; gap: 15px;}
        .phone-input { flex: 1; border: 1px solid #ddd; padding: 12px 15px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; outline: none; }
        .phone-input::placeholder { color: #bbb; }
        .btn-submit { background-color: #222; color: #fff; border: none; padding: 12px 25px; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 600; cursor: pointer; text-transform: uppercase; white-space: nowrap; transition: background-color 0.3s; }
        .btn-submit:hover { background-color: #000; }
        .disclaimer-text { font-size: 0.55rem; color: #999; line-height: 1.3; font-weight: 400; }
        .disclaimer-text a { color: #999; text-decoration: underline; }

        /* Адаптивность */
        @media (max-width: 900px) {
            .bottom-bar-flex { flex-direction: column; align-items: center; text-align: center; gap: 35px; }
            .social-block { align-items: center; }
            .form-block { align-items: center; max-width: 100%; }
            .form-row { flex-direction: column; gap: 10px; }
            .phone-input { width: 100%; }
            .btn-submit { width: 100%; }
            .disclaimer-text { text-align: center; }
            .hero-divider { max-width: 100%; }
        }

/* =========================================
   БЛОК СТОРИС (REALITY)
   ========================================= */
.blog-block-player-section {
    padding: 60px 0;
    background-color: #f5f5f5; /* Фон как у всего сайта */
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

/* Обертка для выравнивания с остальным контентом */
.blog-block-player-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.blog-block-player-header {
    margin-bottom: 30px;
}

.blog-block-player-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Выделение слова "Сторисы" цветом, как в главном баннере */
.blog-block-player-header span {
    font-weight: 400;
    color: #888;
}

/* Сетка для видео (4 в ряд) */
.blog-block-player-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Карточка с видео */
.blog-block-player-item {
    position: relative;
    aspect-ratio: 9 / 16; /* Пропорции вертикального видео */
    background-color: #111;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 10px;
}

/* Легкий эффект при наведении */
.blog-block-player-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-block-player-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85; /* Слегка затемняем неактивные видео */
    transition: opacity 0.3s ease;
}

/* Кнопка Play */
.blog-block-player-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px; /* Сделал саму кнопку чуть больше (было 60) */
    height: 65px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Настройки иконки внутри кнопки */
.blog-block-player-btn svg {
    width: 40px; /* Увеличили иконку (было 24px) */
    height: 40px;
    fill: #000;
    transform: translateX(3px); /* Оптическое выравнивание треугольника по центру круга */
}
/* ==== Состояние "Воспроизведение" ==== */
.blog-block-player-item.is-playing .blog-block-player-video {
    opacity: 1; /* Убираем затемнение при проигрывании */
}

.blog-block-player-item.is-playing .blog-block-player-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8); /* Кнопка исчезает с уменьшением */
    pointer-events: none;
}

/* ==== Адаптивность ==== */
@media (max-width: 1024px) {
    .blog-block-player-grid {
        grid-template-columns: repeat(2, 1fr); /* По 2 в ряд на планшетах */
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .blog-block-player-container {
        padding: 0 20px;
    }
    .blog-block-player-grid {
        grid-template-columns: repeat(2, 1fr); /* Оставляем 2 в ряд на телефонах, чтобы смотрелось как в Instagram */
        gap: 10px;
    }
.blog-block-player-btn {
        width: 50px;
        height: 50px;
    }
    .blog-block-player-btn svg {
        width: 24px;
        height: 24px;
        transform: translateX(2px);
    }
}

/* =========================================
   БЛОК ФОРМЫ (Contact Form 7)
   ========================================= */
.contact-form-wrapper {
    max-width: 800px;
    margin: 60px auto; /* Внешние отступы (сверху и снизу) */
    padding: 50px 60px; /* Внутренние отступы (сверху/снизу и по бокам) */
    background-color: #ffffff; /* Белый фон формы */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04); /* Очень мягкая и современная тень */
    border-radius: 4px; /* Едва заметное скругление углов, можно убрать (0px), если нужны строгие углы */
    font-family: 'Montserrat', sans-serif;
    color: #000;
}

  

/* Заголовок и подзаголовок */
.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-header h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Если нужно выделить цветом, как в "Сторисы" */
.contact-form-header h2 span {
    font-weight: 400;
    color: #888;
}

.form-p-contant {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
    line-height: 1.5;
	text-wrap-style: balance;
}

/* Сетка формы */
.cf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки */
    gap: 25px;
}

/* Обертка поля */
.cf7-field {
    display: flex;
    flex-direction: column;
}

/* Лейблы */
.cf7-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: #222;
	display: block;
}

/* Поля ввода (учитываем обертки CF7 и классы) */
.cf7-tel, 
.cf7-field input[type="text"], 
.cf7-field input[type="tel"] {
    width: 100%;
    border: 1px solid #ddd;
    padding: 15px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    background-color: #fff;
    color: #000;
    outline: none;
    transition: border-color 0.3s ease;
}

.cf7-tel:focus, 
.cf7-field input[type="text"]:focus, 
.cf7-field input[type="tel"]:focus {
    border-color: #000;
}

.cf7-tel::placeholder, 
.cf7-field input::placeholder {
    color: #bbb;
}

/* Чекбоксы согласия */
.cf7-acceptance {
    grid-column: 1 / -1; /* Растягиваем на обе колонки */
    font-size: 0.75rem;
    color: #888;
    line-height: 1.6;
    margin-top: 10px;
}

/* Специфичные фиксы для чекбоксов Contact Form 7 */
.cf7-acceptance .wpcf7-list-item {
    margin: 0 0 10px 0;
    display: block;
}
.cf7-acceptance .wpcf7-list-item label {
     display: flex;
    align-items: center;
}

.wpcf7-list-item-label {
	 display: flex;
    align-items: center;
	font-weight: 400;
}
.cf7-acceptance input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #000; /* Черный цвет для активного чекбокса (современные браузеры) */
}

.cf7-acceptance a {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.3s;
	margin-left: 5px;
}

.cf7-acceptance a:hover {
    opacity: 0.6;
}

/* Кнопка отправки */
.cf7-form .wpcf7-submit, /* Дефолтный класс CF7 */
.cf7-submit {
    grid-column: 1 / -1; /* Растягиваем на обе колонки */
    background-color: #222;
    color: #fff;
    border: none;
    padding: 18px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.cf7-form .wpcf7-submit:hover,
.cf7-submit:hover {
    background-color: #000;
}

/* Сообщения об ошибках или успешной отправке CF7 */
.wpcf7 form .wpcf7-response-output {
    grid-column: 1 / -1;
    margin: 20px 0 0 0;
    padding: 15px;
    font-size: 0.85rem;
    border-radius: 0;
    font-weight: 500;
}
/* =========================================
   СООБЩЕНИЯ ОБ ОШИБКАХ И УСПЕХЕ CF7
   ========================================= */

/* Общие стили для плашки уведомления (заменяют ваши базовые) */
.wpcf7 form .wpcf7-response-output {
    grid-column: 1 / -1; /* Растягиваем на всю ширину сетки */
    margin: 20px 0 0 0;
    padding: 16px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 4px; /* Соответствует border-radius формы */
    border: 1px solid transparent; /* Убираем жирную дефолтную рамку CF7 */
    text-align: center;
    transition: all 0.3s ease;
	text-wrap-style: balance;
}

/* 1. Ошибка валидации (когда поля не заполнены или заполнены неверно) */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #fef2f2; /* Очень светлый красный фон */
    color: #991b1b; /* Темно-красный текст */
    border-color: #fecaca; /* Мягкая красная рамка */
}

/* 2. Успешная отправка */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #f0fdf4; /* Очень светлый зеленый фон */
    color: #166534; /* Темно-зеленый текст */
    border-color: #bbf7d0; /* Мягкая зеленая рамка */
}

/* 3. Ошибка сервера или спам-блокировка */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    background-color: #fffbeb; /* Светло-желтый/оранжевый фон */
    color: #92400e; /* Темно-оранжевый текст */
    border-color: #fde68a; /* Желтая рамка */
}

/* Стили для маленьких подсказок об ошибках прямо под инпутами */
.wpcf7-not-valid-tip {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #dc2626; /* Акцентный красный */
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

/* Подсветка поля, если в нем ошибка (опционально, делает границу красной) */
.wpcf7 form .wpcf7-not-valid {
    border-color: #fca5a5 !important;
}
/* =========================================
   Адаптивность для мобильных устройств
   ========================================= */
@media (max-width: 768px) {
    .cf7-form {
        grid-template-columns: 1fr; /* Переводим в 1 колонку */
        gap: 20px;
    }
    
    .contact-form-wrapper {
        margin: 40px 15px; /* На мобилках делаем небольшие отступы по краям экрана */
        padding: 40px 25px; /* Уменьшаем внутренние отступы карточки */
    }
}
@media (max-width: 520px) {
.wpcf7-list-item-label {
	display: block;
}

	.cf7-acceptance a {
		margin-left: 0px;
	}
	
	.hero-bottom-bar .form-row p {
    display: block !important;
}
}

@media (max-width: 440px) {
    .cky-notice-des {
        overflow: hidden !important;
    }
}


.cky-btn-accept {
	background-color: #fff !important;
    color: #000 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
	border-color: #888 !important;
}

.cookie-a {
	color: #999 !important;
	text-decoration-color: #999 !important;
}

.hero-bottom-bar .form-row p {
	display: flex;
}

.hero-bottom-bar .form-row .wpcf7-not-valid-tip {
	display:none;
}

.wpcf7-spinner {
	display: none;
}

/* =========================================
   БЛОК ПРЕИМУЩЕСТВ (Advantages Compact)
   ========================================= */
.advantages-compact {
    background-color: #fff; /* Белый фон блока */
    color: #000;
    padding: 60px 40px; /* Внутренние отступы */
    margin: 40px auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); /* Очень легкая тень для выделения на фоне #f5f5f5 */
    width: 100%;
	border-radius: 15px;
}

.advantages-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

/* Левая часть (Текст) */
.advantages-left {
    flex: 0 0 45%;
}

.advantages-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Золотистый акцентный цвет (взят из вашей иконки) */
.advantages-title span {
    color: #888; 
}

.advantages-subtitle {
    font-size: clamp(0.9rem, 1vw, 1rem);
    color: #666;
    line-height: 1.5;
    font-weight: 400;
}

/* Правая часть (Цифры) */
.advantages-right {
    flex: 1;
}

.advantages-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Анимация появления для элементов */
.advantage-item {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.advantage-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Задержка для эффекта "лесенки" при появлении */
.advantage-item:nth-child(1) { transition-delay: 0.1s; }
.advantage-item:nth-child(2) { transition-delay: 0.3s; }
.advantage-item:nth-child(3) { transition-delay: 0.5s; }

.advantage-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: #888;
    line-height: 1;
    margin-bottom: 10px;
}

.advantage-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 0.5px;
    max-width: 140px;
    line-height: 1.4;
}

/* Нижний блок доверия */
.advantages-bottom {
    border-top: 1px solid #eaeaea;
    padding-top: 30px;
}

.trust-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trust-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.5px;
}

.trust-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.trust-text span {
    font-weight: 600;
    color: #000;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 900px) {
    .advantages-compact {
        padding: 40px 25px;
    }
    
    .advantages-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .advantages-left {
        flex: none;
        width: 100%;
    }

    .advantages-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .advantage-item {
        align-items: center;
        text-align: center;
        flex: 1 1 40%; /* По 2 элемента в ряд на планшете */
    }

    .advantage-label {
        max-width: 100%;
    }

    .trust-block {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .advantage-item {
        flex: 1 1 100%; /* По 1 элементу в ряд на телефоне */
    }
    .advantages-compact {
        padding: 30px 20px;
    }
}


 /* 1. Верхняя светлая часть (Шапка) */
        .history-top-section {
            background-color: #ffffff; /* Белый фон как на макете */
            padding: 50px 0;
        }

        .history-header-flex {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .history-header-flex h2 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600; /* Semi bold */
            font-size: clamp(1.8rem, 2.5vw, 2.2rem);
            color: #000;
            text-transform: uppercase;
            margin: 0;
            white-space: nowrap; /* Чтобы заголовок не разбивался */
        }

        .history-header-flex p {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-size: clamp(0.85rem, 1vw, 0.95rem);
            color: #666;
            line-height: 1.5;
            margin: 0;
            max-width: 400px;
        }

        /* 2. Нижняя темная часть (Карточки) */
        .history-bottom-section {
            background-color: #1b1b1b; /* Темный фон на всю ширину */
            padding: 60px 0 80px 0;
        }

        .history-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 4 колонки */
            gap: 25px;
        }

        /* Карточка истории */
        .history-card {
            display: flex;
            flex-direction: column;
        }

        /* Обертка для картинки и кнопки */
        .history-image-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 3 / 4; /* Пропорции вертикальных картинок */
            background-color: #333;
            margin-bottom: 20px;
            overflow: hidden;
        }

        .history-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .history-card:hover .history-image-wrapper img {
            transform: scale(1.05); /* Легкий зум при наведении */
        }

        /* Кнопка "Читать статью" поверх картинки */
        .btn-read-article {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 40px); /* Отступы по бокам внутри картинки */
            background-color: #ffffff;
            color: #000000;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            font-size: 0.85rem;
            text-align: center;
            padding: 15px 0;
            text-decoration: none;
            transition: background-color 0.3s ease;
            z-index: 2;
        }

        .btn-read-article:hover {
            background-color: #e0e0e0;
        }

        /* Тексты под картинкой */
        .history-card h3 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600; /* Semi bold */
            font-size: 1.1rem;
            color: #ffffff;
            margin: 0 0 8px 0;
            line-height: 1.3;
        }

        .history-card p {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-size: 0.75rem;
            color: #a0a0a0; /* Серый текст для описания */
            margin: 0;
            line-height: 1.4;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .history-grid {
                grid-template-columns: repeat(2, 1fr); /* По 2 карточки на планшете */
                gap: 40px 20px;
            }
        }

        @media (max-width: 768px) {
            .history-header-flex {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            .history-header-flex h2 {
                white-space: normal;
            }
            .history-top-section {
                padding: 40px 0;
            }
            .history-bottom-section {
                padding: 40px 0 60px 0;
            }
        }

        @media (max-width: 550px) {
            .history-grid {
                grid-template-columns: 1fr; /* По 1 карточке на телефоне */
            }
            .history-image-wrapper {
                aspect-ratio: 4 / 5; /* Чуть менее вытянутые на мобильных */
            }
            .container {
                padding: 0 20px;
            }
        }

/* Слайдер */
.slider-container {
    position: relative;
    width: 100%;
}

.slider-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3 / 4; /* Вертикальные карточки */
    display: block;
    background-color: #111;
}

.slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.slide-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* Градиент затемнения снизу */
.card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px 25px;
    pointer-events: none; /* Чтобы клик проходил на карточку */
}

.card-overlay a {
    text-decoration: none;
    pointer-events: auto;
    width: 100%;
}

/* Делаем всю карточку кликабельной */
.card-overlay a::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
}

.card-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s;
}

.slide-card:hover .card-title {
    color: #d1cbc1; /* Легкий бежевый акцент при наведении */
}

/* Навигация (скрыта на ПК) */
.slider-nav {
    display: none;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1024px) {
    .history-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .content-right {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .history-block-section {
        padding: 60px 0;
    }
    
    /* Меняем сетку на Flex для работы слайдера */
    .slider-wrapper {
        display: flex;
        gap: 15px; /* Зазор между слайдами */
    }
    
    .slide-card {
        flex: 0 0 calc(50% - 7.5px); /* Ровно 2 карточки на экране с учетом gap */
    }

    /* Включаем кнопки навигации */
    .slider-nav {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }

    .slider-nav button {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 1px solid #ddd;
        background: #fff;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-nav button svg {
        width: 24px;
        height: 24px;
    }

    .slider-nav button:hover:not(:disabled) {
        border-color: #888;
        color: #888;
    }

    .slider-nav button:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }
}

@media (max-width: 576px) {
    .slide-card {
        flex: 0 0 100%; /* 1 карточка на телефоне */
    }
    .history-block .buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-history-primary, .btn-history-secondary {
        width: 100%;
    }
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ЧАСТЫЕ ВОПРОСЫ"
   ========================================= */
.faq-section {
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

.faq-header-block {
    text-align: center;
    margin-bottom: 50px;
}

.faq-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
}

.faq-title span {
    color: #888; /* Серый акцент, как в истории */
    font-weight: 400;
}

/* Контейнер для двух колонок */
.faq-container {
    width: 100%;
}

.faq-rows {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Стили отдельного вопроса */
.faq-element {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); /* Очень мягкая тень */
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-element:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.faq-element-title {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: background-color 0.3s ease;
}

/* Иконка-стрелка */
.faq-arrow {
    flex: 0 0 20px;
    height: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Управление цветом стрелки через CSS */
.faq-arrow svg path {
    fill: #222; /* Цвет под текст вопроса */
    transition: fill 0.3s ease;
}

/* Текст вопроса */
.faq-question-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
}

/* Скрытый ответ (по умолчанию) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); /* Плавное схлопывание */
}

.faq-answer-content {
    padding: 0 30px 25px 70px; /* Отступ слева, чтобы текст был под вопросом, а не под стрелкой */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Стили для списков внутри ответа */
.faq-answer-content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.faq-answer-content li {
    margin-bottom: 8px;
}

/* =========================================
   АКТИВНОЕ СОСТОЯНИЕ (Открытый вопрос)
   ========================================= */
.faq-element.active .faq-arrow {
    transform: rotate(90deg); /* Поворачиваем стрелку */
}

.faq-element.active .faq-arrow svg path {
    fill: #888; /* Меняем цвет стрелки на акцентный при открытии */
}

.faq-element.active .faq-answer {
    max-height: 1000px; /* Большое значение для плавного открытия */
    transition: max-height 0.6s ease-in-out;
}

.faq-element.active .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s; /* Легкая задержка для красоты */
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 900px) {
    .faq-rows {
        flex-direction: column;
        gap: 15px; /* Уменьшаем расстояние между колонками, так как они теперь друг под другом */
    }
}

@media (max-width: 600px) {
    .faq-element-title {
        padding: 20px;
    }
    .faq-arrow {
        margin-right: 15px;
    }
    .faq-question-text {
        font-size: 0.95rem;
    }
    .faq-answer-content {
        padding: 0 20px 20px 55px;
        font-size: 0.9rem;
    }
    .faq-section {
        padding: 60px 0;
    }
}

 .envo-footer {
        background-color: #1a1a1a;
        color: #ffffff;
        font-family: 'Montserrat', sans-serif;
        padding: 60px 0 0 0;
    }

    /* --- ВЕРХНЯЯ ЧАСТЬ (3 колонки) --- */
    .envo-footer-top {
        display: grid;
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 40px;
        align-items: flex-start;
        margin-bottom: 50px;
    }

    /* Левая колонка: Бренд */
    .envo-footer-brand {
        display: flex;
        flex-direction: column;
    }

    .envo-footer-logo {
        margin-bottom: 20px;
        display: block;
    }

    .envo-footer-logo svg {
        max-width: 180px;
        height: auto;
    }

    .envo-footer-desc {
        font-size: 0.85rem;
        color: #d1d1d1;
        line-height: 1.6;
        max-width: 300px;
        margin-bottom: 20px; /* Отступ до реквизитов */
    }

    /* Блок реквизитов */
    .envo-footer-requisites {
        font-size: 0.75rem;
        color: #888888;
        line-height: 1.5;
    }
    .envo-footer-requisites p {
        margin: 0 0 4px 0;
    }

    /* Центральная колонка: Форма */
    .envo-footer-form-block {
        display: flex;
        flex-direction: column;
        padding-top: 10px;
    }

    .envo-footer-form-title {
        font-size: 0.95rem;
        font-weight: 500;
        color: #ffffff;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .envo-footer-form-wrap {
        margin-bottom: 15px;
    }

    /* СТИЛИ ДЛЯ CONTACT FORM 7 */
    .envo-footer-form-wrap .wpcf7 form {
        display: flex;
        gap: 15px;
        align-items: flex-start;
        width: 100%;
    }

    .envo-footer-form-wrap .wpcf7-form-control-wrap {
        flex: 1;
    }

    .envo-footer-form-wrap .wpcf7 input[type="tel"],
    .envo-footer-form-wrap .wpcf7 input[type="text"] {
        width: 100%;
        background-color: #ffffff;
        border: none;
        padding: 16px 20px;
        color: #000000;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.9rem;
        outline: none;
        border-radius: 2px;
    }

    .envo-footer-form-wrap .wpcf7 input::placeholder {
        color: #888;
    }

    .envo-footer-form-wrap .wpcf7-submit {
        background-color: #ffffff;
        color: #000000;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        padding: 16px 35px;
        border: none;
        border-radius: 2px;
        cursor: pointer;
        letter-spacing: 0.5px;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .envo-footer-form-wrap .wpcf7-submit:hover {
        background-color: #e0e0e0;
    }

    /* Подсказки об ошибках CF7 */
    .envo-footer-form-wrap .wpcf7-not-valid-tip {
        font-size: 0.75rem;
        color: #ff6b6b;
        margin-top: 5px;
    }
    .envo-footer-form-wrap .wpcf7-response-output {
        margin: 10px 0 0 0;
        padding: 10px;
        font-size: 0.85rem;
        border: 1px solid #d8b872;
        color: #d8b872;
    }

    /* Правая колонка: Контакты */
    .envo-footer-contacts {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        padding-top: 10px;
    }

    .envo-footer-phone {
        font-size: 1.4rem;
        font-weight: 500;
        color: #ffffff;
        text-decoration: none;
        margin-bottom: 5px;
        transition: color 0.3s ease;
        letter-spacing: 1px;
    }

    .envo-footer-phone:hover {
        color: #d8b872;
    }

    .envo-footer-email {
        font-size: 0.95rem;
        color: #d1d1d1;
        text-decoration: none;
        margin-bottom: 15px;
        transition: color 0.3s ease;
    }

    .envo-footer-email:hover {
        color: #ffffff;
    }

    .envo-footer-address {
        font-size: 0.9rem;
        color: #d1d1d1;
        line-height: 1.5;
        margin-bottom: 0; 
    }

    /* --- БЛОК НАВИГАЦИИ (Ссылки под формой) --- */
    .envo-footer-nav {
        grid-column: 2 / 4; /* Занимает место под формой и контактами */
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .envo-footer-nav-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 30px; /* 10px по вертикали при переносе, 30px по горизонтали */
    }

    .envo-footer-nav-row a {
        color: #d1d1d1;
        text-decoration: none;
        font-size: 0.85rem;
        transition: color 0.3s ease;
        white-space: nowrap;
    }

    .envo-footer-nav-row a:hover {
        color: #ffffff;
    }

    /* --- НИЖНЯЯ ЧАСТЬ (Копирайт, ссылки, соцсети) --- */
    .envo-footer-bottom {
        border-top: 1px solid #333333;
        padding: 25px 0;
    }

    .envo-footer-bottom-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .envo-footer-copy {
        font-size: 0.8rem;
        color: #d1d1d1;
        flex: 1;
    }

    .envo-footer-links {
        flex: 2;
        text-align: center;
        font-size: 0.8rem;
    }

    .envo-footer-links a {
        color: #d1d1d1;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .envo-footer-links a:hover {
        color: #ffffff;
    }

    .envo-footer-links span {
        color: #666;
        margin: 0 10px;
    }

    /* Блок оплаты в нижней части */
    .envo-footer-payment {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        flex: 1; /* Позволяет блоку занимать правую треть */
    }

    .envo-footer-payment-icons {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .envo-footer-payment-icons img {
        height: 20px;
        width: auto;
        filter: brightness(0) invert(1); 
        opacity: 0.9;
    }

    /* =========================================
       АДАПТИВНОСТЬ
       ========================================= */
    @media (max-width: 1024px) {
        .envo-footer-top {
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
        .envo-footer-brand {
            grid-column: 1 / -1;
            align-items: center;
            text-align: center;
        }
        .envo-footer-desc {
            max-width: 100%;
        }
        .envo-footer-requisites {
            text-align: center;
        }
        .envo-footer-nav {
            grid-column: 1 / -1; /* Навигация на всю ширину */
            align-items: center;
        }
        .envo-footer-nav-row {
            justify-content: center;
        }
    }

    @media (max-width: 900px) {
        .envo-footer-bottom-flex {
            flex-direction: column;
            text-align: center;
            gap: 25px;
        }
        .envo-footer-copy, 
        .envo-footer-links, 
        .envo-footer-payment {
            flex: auto;
            text-align: center;
            justify-content: center;
            align-items: center;
        }
        .envo-footer-links span {
            display: none;
        }
        .envo-footer-links a {
            display: block;
            margin-bottom: 10px;
        }
    }

    @media (max-width: 768px) {
        .envo-footer-top {
            grid-template-columns: 1fr;
        }
        .envo-footer-contacts {
            align-items: center;
            text-align: center;
        }
        .envo-footer-form-wrap .wpcf7 form {
            flex-direction: column;
            align-items: stretch;
        }
        .envo-footer-form-wrap .wpcf7-submit {
            width: 100%;
        }
        .envo-footer-form-title {
            text-align: center;
        }
        .envo-footer-nav-row {
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }
    }

    @media (max-width: 480px) {
        .container {
            padding: 0 20px;
        }
        .envo-footer {
            padding-top: 40px;
        }
    }
/* =========================================
   СТИЛИ ДЛЯ БЛОКА "МЫ В СОЦИАЛЬНЫХ СЕТЯХ"
   ========================================= */
.social-section {
    background-color: #fff; /* Белый фон для контраста, если предыдущий блок был серым */
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

/* Декоративный элемент (по желанию, сейчас скрыт/минимален) */
.social-decoration {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #888; /* Фирменный акцент */
    opacity: 0.2;
}

/* Шапка блока */
.social-header {
    text-align: center;
    margin-bottom: 60px;
}

.social-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.social-header h2 span {
    color: #888; /* Серый акцент для слова "МЕДИА-УПОМИНАНИЯ" */
    font-weight: 400;
}

.social-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

/* Контент и сетка */
.social-content {
    width: 100%;
}

.mentions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.mentions-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.mentions-title span {
    color: #000;
}

/* Плашка со статистикой */
.stat-badge {
    background-color: #f5f5f5; /* Фирменный серый фон сайта для плашки */
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: #222;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Сетка карточек */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 колонок для ПК */
    gap: 20px;
}

/* Карточка соцсети */
.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 20px;
    background-color: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-8px); /* Плавное поднятие при наведении */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
}

/* Логотип */
.platform-logo {
    height: 45px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo img {
    max-height: 100%;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.platform-card:hover .platform-logo img {
    opacity: 0.8; /* Легкое приглушение логотипа при наведении */
}

/* Тексты в карточке */
.platform-name {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

.platform-stats {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.platform-stats strong {
    color: #222;
    font-weight: 700;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 в ряд на планшетах */
    }
}

@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 в ряд на мобильных */
    }
    
    .mentions-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .platforms-grid {
        grid-template-columns: 1fr; /* 1 в ряд на узких экранах */
    }
    
    .mentions-header {
        align-items: center;
        text-align: center;
    }
    
    .social-section {
        padding: 50px 0;
    }
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "БЛОГ ПРО ДИЗАЙН"
   ========================================= */
.blog-block-section {
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

/* Шапка блока */
.blog-block-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-block-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.blog-block-header h2 span {
    color: #888; /* Фирменный серый акцент */
    font-weight: 400;
}

/* Сетка карточек */
.blog-block-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки для ПК */
    gap: 30px;
}

/* Анимация появления */
.blog-block-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.blog-block-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Задержка для плавного появления друг за другом */
.blog-block-item:nth-child(1) { transition-delay: 0.1s; }
.blog-block-item:nth-child(2) { transition-delay: 0.3s; }
.blog-block-item:nth-child(3) { transition-delay: 0.5s; }

/* Сама карточка */
.blog-block-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-block-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Изображение поста */
.blog-block-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-block-card:hover .blog-block-image {
    transform: scale(1.05); /* Плавное увеличение картинки при наведении */
}

/* Контент карточки */
.blog-block-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.blog-block-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
    margin: 0 0 20px 0;
}

/* Мета-данные (дата и просмотры) */
.blog-block-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Прижимает мета-блок к низу карточки */
    border-top: 1px solid #eaeaea;
    padding-top: 15px;
}

.blog-block-meta-item {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Ссылка на весь блок */
.blog-block-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    text-decoration: none;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1024px) {
    .blog-block-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px) {
    .blog-block-section {
        padding: 60px 0;
    }
    .blog-block-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        gap: 20px;
    }
    .blog-block-image {
        height: 200px;
    }
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ОТЗЫВЫ"
   ========================================= */
.reviews-compact {
    background-color: #fff; /* Белый фон, если предыдущий блок был серым */
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы фона (опционально, можно оставить пустыми или задать легкие круги/линии) */
.reviews-bg {
    position: absolute;
    background-color: #f5f5f5;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
}
.reviews-bg-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}
.reviews-bg-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
}

/* Шапка блока */
.reviews-block-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.reviews-block-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.reviews-block-header h2 span {
    color: #888; /* Фирменный серый акцент */
    font-weight: 400;
}

.reviews-block-header p {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

/* Раскладка: виджет слева, текст справа */
.reviews-layout {
    display: flex;
    gap: 50px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

/* Левая часть: виджет отзывов */
.widget-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.widget-container {
    position: relative;
    padding: 15px; /* Отступ для декоративных уголков */
    background: #fff;
    height: 100%;
    min-height: 500px;
}

/* Декоративные рамки (уголки) */
.widget-frame {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid #888; /* Акцентный цвет уголков */
}

.frame-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.frame-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.frame-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.frame-br { bottom: 0; right: 0; border-left: none; border-top: none; }

.yandex-widget {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.yandex-widget iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    box-sizing: border-box;
    display: block;
}

.yandex-widget a {
    position: absolute;
    bottom: -30px; /* Скрываем техническую ссылку яндекса, но оставляем для SEO */
    left: 0;
    opacity: 0;
    pointer-events: none;
}

/* Правая часть: Список преимуществ */
.benefits-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefits-title-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    color: #222;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    color: #888; /* Фирменная серая галочка */
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
}

.benefit-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 5px 0;
}

.benefit-text p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Кнопка действия */
.action-button {
    background-color: #222;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 18px 35px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.action-button:hover {
    background-color: #888; /* Наведение цвета акцента */
}

.action-note {
    font-size: 0.75rem;
    color: #999;
    margin-top: 12px;
    font-weight: 400;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 900px) {
    .reviews-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .widget-side {
        order: 2; /* На планшетах виджет опускаем вниз, текст наверх */
    }
    
    .benefits-box {
        order: 1;
    }
    
    .action-button {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .reviews-compact {
        padding: 60px 0;
    }
    
    .widget-container {
        padding: 10px;
    }
    
    .yandex-widget iframe {
        min-height: 400px;
    }
}

     .work-steps-section {
            background-color: white;
            padding: 80px 0;
            color: #000;
            font-family: 'Montserrat', sans-serif;
        }

        /* Шапка блока */
        .work-steps-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .work-steps-header h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 600;
            text-transform: uppercase;
            line-height: 1.2;
            margin: 0 0 15px 0;
        }

        .work-steps-header h2 span {
            color: #555; /* Можно выделить слово, если нужно */
        }

        .work-steps-subtitle {
            font-size: clamp(0.9rem, 1.2vw, 1rem);
            color: #666;
            line-height: 1.5;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Сетка карточек (5 колонок) */
        .work-steps-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            grid-auto-rows: 1fr; /* Одинаковая высота всех рядов */
            gap: 20px;
            margin-bottom: 40px;
        }

        /* Карточка шага */
        .work-step-card {
            background-color: #fff;
            border-radius: 4px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
            display: flex;
            flex-direction: column;
            position: relative;
            /* ВАЖНО: overflow: hidden убран, чтобы стрелочки были видны за пределами карточки */
            
            /* Начальное состояние для анимации */
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
        }

        /* Эффект при наведении на уже появившуюся карточку */
        .work-step-card.visible:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        }

        /* Задержка появления для эффекта лесенки */
        .work-step-card:nth-child(1) { transition-delay: 0.1s, 0.1s, 0s; }
        .work-step-card:nth-child(2) { transition-delay: 0.2s, 0.2s, 0s; }
        .work-step-card:nth-child(3) { transition-delay: 0.3s, 0.3s, 0s; }
        .work-step-card:nth-child(4) { transition-delay: 0.4s, 0.4s, 0s; }
        .work-step-card:nth-child(5) { transition-delay: 0.5s, 0.5s, 0s; }
        .work-step-card:nth-child(6) { transition-delay: 0.6s, 0.6s, 0s; }
        .work-step-card:nth-child(7) { transition-delay: 0.7s, 0.7s, 0s; }

        /* Состояние: Карточка появилась */
        .work-step-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* =========================================
           МИНИМАЛИСТИЧНЫЕ СТРЕЛОЧКИ У НОМЕРА
           ========================================= */
        .step-number {
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px; /* Отступ между номером и стрелкой */
        }

        .work-step-card.arrow-to-right .step-number::after {
            content: '';
            display: block;
            flex: 1; /* Тянется на все свободное пространство до конца карточки */
            height: 14px;
            /* Комбинированный фон: SVG-наконечник справа и CSS-линия слева */
            background-image: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14' fill='none'%3E%3Cpath d='M1 1L7 7L1 13' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
                linear-gradient(to right, #666666, #666666);
            background-position: right center, left center;
            background-repeat: no-repeat, no-repeat;
            background-size: 8px 14px, calc(100% - 2px) 2px;
            opacity: 0.5;
        }

        /* Линия с точкой для последнего шага */
        .work-step-card.final-step-line .step-number::after {
            content: '';
            display: block;
            flex: 1; /* Тянется на все свободное пространство до конца карточки */
            height: 14px;
            /* Комбинированный фон: SVG-точка справа и CSS-линия слева */
            background-image: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'%3E%3Ccircle cx='4' cy='4' r='4' fill='%23666666'/%3E%3C/svg%3E"),
                linear-gradient(to right, #666666, #666666);
            background-position: right center, left center;
            background-repeat: no-repeat, no-repeat;
            background-size: 8px 8px, calc(100% - 4px) 2px;
            opacity: 0.5;
        }

        /* Модификаторы размеров для Grid */
        .step-tall {
            grid-row: span 2; /* Занимает 2 ряда в высоту */
        }

        .step-wide {
            grid-column: span 2; /* Занимает 2 колонки в ширину */
        }

        /* Внутреннее наполнение карточки */
        .step-content {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .step-number-text {
            font-size: 0.8rem;
            font-weight: 700;
            color: #888; /* Фирменный серый */
            background-color: #f5f5f5;
            padding: 6px 14px;
            border-radius: 20px;
            display: inline-block;
            letter-spacing: 1px;
        }

        .step-icon {
            margin-bottom: 30px;
        }

        .step-info {
            margin-top: auto; /* Прижимаем текст к низу карточки (важно для step-tall) */
        }

        .step-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #222;
            line-height: 1.3;
        }

        .step-description {
            font-size: 0.85rem;
            color: #666;
            line-height: 1.5;
        }

        /* Информационная панель внизу */
        .steps-info-panel {
            background-color: #fff;
            border: 1px solid #eaeaea;
            padding: 25px 40px;
            text-align: center;
            border-radius: 4px;
            font-size: 0.95rem;
            font-weight: 500;
            color: #444;
        }

        .steps-info-panel p {
            margin: 0;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .work-steps-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
            }
            
            .step-tall {
                grid-row: auto;
                grid-column: span 2; /* Делаем первую карточку широкой */
            }
            
            .step-wide {
                grid-column: span 2;
            }
        }

        @media (max-width: 600px) {
            .work-steps-section {
                padding: 60px 0;
            }
            
            .work-steps-grid {
                grid-template-columns: 1fr; /* 1 колонка на мобилках */
            }
            
            .step-tall, .step-wide {
                grid-column: span 1;
            }
            
            .steps-info-panel {
                padding: 20px;
                font-size: 0.9rem;
            }
        }

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ГАРАНТИЯ"
   ========================================= */
.garantia-section {
    position: relative;
    background-color: #fff; /* Чередуем фон: белый */
    padding: 100px 0;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    overflow: hidden;
}

/* Картинка с абсолютным позиционированием (на фоне справа) */
.garantia-image-absolute {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    z-index: 0;
    pointer-events: none; /* Чтобы картинка не перекрывала клики по тексту */
}

.garantia-image-frame {
    position: relative;
    width: 100%;
}

.garantia-image-frame img {
    width: 100%;
    height: auto;
    opacity: 0.15; /* Делаем картинку полупрозрачной, как стильный фон-подложку */
    filter: grayscale(100%); /* Обесцвечиваем для строгости, убрать если нужен цвет */
    transition: opacity 0.5s ease;
}

/* Основной контент поверх картинки */
.garantia-content {
    position: relative;
    z-index: 2;
}

/* Заголовки */
.garantia-titles {
    margin-bottom: 25px;
}

.garantia-title-h1 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 500;
    color: #888; /* Фирменный серый акцент */
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.garantia-title-h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #222;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.1;
}

/* Описание */
.garantia-description {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #444;
    line-height: 1.6;
    max-width: 850px;
    margin: 0 0 50px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Сетка преимуществ */
.garantia-advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на ПК */
    gap: 40px;
    margin-bottom: 50px;
}

.garantia-advantage {
    background: #fcfcfc;
    padding: 35px 30px;
    border-radius: 4px;
    border-left: 3px solid #888; /* Акцентная левая линия */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.garantia-advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.garantia-advantage-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.garantia-advantage-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Разделитель */
.garantia-divider {
    width: 100%;
    height: 1px;
    background-color: #eaeaea;
    margin: 0 0 40px 0;
}

/* Кнопка */
.garantia-buttons {
    display: flex;
}

.garantia-button-secondary {
    background-color: #222;
    color: #fff;
    padding: 18px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.garantia-button-secondary:hover {
    background-color: #888; /* Ховер в фирменный цвет */
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1024px) {
    .garantia-advantages {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
    }
    .garantia-image-absolute {
        opacity: 0.08; /* Делаем еще прозрачнее на планшетах, чтобы не мешала тексту */
        right: -10%;
    }
}

@media (max-width: 768px) {
    .garantia-section {
        padding: 60px 0;
    }
    .garantia-advantages {
        grid-template-columns: 1fr; /* 1 колонка на мобилках */
        gap: 20px;
    }
    .garantia-button-secondary {
        width: 100%;
    }
    .garantia-advantage {
        padding: 25px 20px;
    }
    .garantia-image-absolute {
        display: none; /* На телефонах фоновую картинку лучше скрыть для чистоты */
    }
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ВИДЕО-ОТЗЫВЫ"
   ========================================= */
.video-otzyvy-section {
    background-color: #f5f5f5; /* Чередуем фон: светло-серый */
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

/* Шапка блока */
.video-otzyvy-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-otzyvy-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.video-otzyvy-header h2 span {
    color: #888; /* Фирменный серый акцент */
    font-weight: 400;
}

.video-otzyvy-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

/* Сетка карточек */
.video-otzyvy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на ПК */
    gap: 30px;
}

/* Карточка отзыва */
.video-otzyvy-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-otzyvy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Блок с видео */
.video-otzyvy-video {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* Пропорции вертикального видео */
    background-color: #111;
    cursor: pointer;
    overflow: hidden;
}

.video-otzyvy-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-otzyvy-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.video-otzyvy-video:hover .video-otzyvy-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-otzyvy-video.playing .video-otzyvy-overlay {
    background: rgba(0, 0, 0, 0); /* Убираем затемнение при воспроизведении */
}

/* Кнопка Play */
.video-otzyvy-play-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-otzyvy-play-circle i {
    font-size: 20px;
    color: #222;
    margin-left: 4px; /* Легкое визуальное выравнивание иконки play */
    transition: color 0.3s ease;
}

.video-otzyvy-play-circle i.fa-pause {
    margin-left: 0; /* Для паузы выравнивание строго по центру */
}

.video-otzyvy-video:hover .video-otzyvy-play-circle {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-otzyvy-video:hover .video-otzyvy-play-circle i {
    color: #888; /* Меняем цвет иконки на фирменный при наведении */
}

/* Скрытая кнопка (когда играет видео) */
.video-otzyvy-play-circle.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    pointer-events: none;
}

/* Контентная часть карточки */
.video-otzyvy-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-otzyvy-client {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.video-otzyvy-client h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.video-otzyvy-client p {
    font-size: 0.85rem;
    font-weight: 500;
    color: #888; /* Фирменный серый */
    margin: 0;
}

.video-otzyvy-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1024px) {
    .video-otzyvy-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px) {
    .video-otzyvy-section {
        padding: 60px 0;
    }
    .video-otzyvy-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        gap: 20px;
    }
    .video-otzyvy-play-circle {
        width: 55px;
        height: 55px;
    }
    .video-otzyvy-play-circle i {
        font-size: 16px;
    }
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "НАШИ УСЛУГИ"
   ========================================= */
.our-services {
    background-color: #fff; /* Чередуем фон: белый */
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

/* Шапка блока */
.our-services-header {
    text-align: center;
    margin-bottom: 40px;
}

.our-services-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
    color: #222;
}

/* Вкладки (Табы) */
.tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.tab-btn {
    background-color: #f5f5f5;
    border: none;
    color: #666;
    padding: 12px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #eaeaea;
    color: #222;
}

.tab-btn.active {
    background-color: #222;
    color: #fff;
}

/* Сетка услуг */
.our-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на ПК */
    gap: 30px;
    margin-bottom: 50px;
    min-height: 300px; /* Предотвращает скачки высоты при пустом табе */
}

/* Карточка услуги */
.service-card {
    opacity: 0; /* Начальное состояние для JS анимации */
}

/* Класс анимации, который добавляется через JS */
.service-card.fade-in {
    animation: serviceFadeIn 0.5s ease forwards;
}

@keyframes serviceFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-content {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3; /* Единые пропорции для всех картинок */
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-overlay {
    position: absolute;
    inset: 0;
    /* Градиент для читаемости текста */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    transition: background 0.3s ease;
    z-index: 1;
}

/* Эффекты при наведении на карточку */
.service-card-content:hover .service-image {
    transform: scale(1.05);
}

.service-card-content:hover .service-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 60%);
}

/* Текст на карточке */
.service-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 60px; /* Отступ справа, чтобы текст не налезал на стрелку */
    z-index: 2;
}

.service-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Иконка стрелки */
.service-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 2;
}

.service-card-content:hover .service-arrow {
    background-color: #888; /* Фирменный серый акцент */
    color: #fff;
    transform: translate(5px, -5px); /* Легкий сдвиг по диагонали */
}

/* Сообщение "Пусто" */
.services-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background-color: #fcfcfc;
    border-radius: 6px;
    border: 1px dashed #ddd;
}

.services-empty h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #222;
}

.services-empty p {
    color: #888;
    margin: 0;
    font-size: 0.95rem;
}

/* Нижняя кнопка */
.our-services-button {
    text-align: center;
}

.service-button {
    display: inline-block;
    background-color: transparent;
    color: #222;
    border: 1px solid #222;
    padding: 16px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.service-button:hover {
    background-color: #888;
    border-color: #888;
    color: #fff;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1024px) {
    .our-services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px) {
    .our-services {
        padding: 60px 0;
    }
    .our-services-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        gap: 20px;
    }
    .tab-btn {
        width: 100%; /* Кнопки табов на всю ширину для удобства пальца */
    }
    .service-card-content {
        aspect-ratio: 16 / 9; /* Делаем картинки чуть шире на мобильных */
    }
}

   /* =========================================
           БЛОК ВИДЕО КОМАНДЫ
           ========================================= */
        .team-video-wrapper {
            width: 100%;
            margin: 0px 0 0px 0; /* Отступы сверху и снизу от видео */
			background: white;
			padding-top: 60px;
        }

.team-video-wrapper-studio {
	            margin: 0px 0 0px 0; /* Отступы сверху и снизу от видео */

}

        .team-video-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background-color: #111;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            cursor: pointer;
        }

        .team-video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Кастомная кнопка Play */
        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 75px;
            height: 75px;
background-color: rgba(255, 255, 255, 0.9);
			border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .play-btn svg {
            width: 24px;
            height: 24px;
            fill: #222;
            margin-left: 4px; /* Легкое визуальное выравнивание треугольника */
            transition: fill 0.3s ease;
        }

        .team-video-container:hover .play-btn {
            transform: translate(-50%, -50%) scale(1.1); /* Увеличение при наведении */
        }

   

        /* Состояние "играет" */
        .team-video-container.playing .play-btn {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.5);
            pointer-events: none;
        }


        /* =========================================
           БЛОК "ЛУЧШИЕ СПЕЦИАЛИСТЫ"
           ========================================= */
        .team-members-section {
            background-color: #fff;
            padding: 80px 0 20px 0; /* Добавлен верхний отступ, так как блок теперь идет первым */
        }

        /* Шапка блока (Заголовок слева, текст справа) */
        .team-header-flex {
            display: flex;
            align-items: center; /* Выравнивание по центру по вертикали */
            gap: 30px;
            margin-bottom: 50px;
        }

        .team-header-flex h2 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600; /* Semi bold */
            font-size: clamp(1.8rem, 2.5vw, 2.2rem);
            color: #000;
            text-transform: uppercase;
            margin: 0;
            white-space: nowrap; /* Заголовок в одну строку */
        }

        .team-header-flex p {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-size: 0.85rem;
            color: #444;
            line-height: 1.4;
            margin: 0;
            max-width: 320px;
        }

        /* Сетка карточек */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 колонки на ПК */
            gap: 50px 30px; /* Отступ между рядами 50px, между колонками 30px */
        }

        /* Карточка специалиста */
        .team-card {
            display: flex;
            flex-direction: column;
        }

        .team-card-image {
            width: 100%;
            aspect-ratio: 1 / 1; /* Квадратные фото как на макете */
            background-color: #f5f5f5;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .team-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .team-card:hover .team-card-image img {
            transform: scale(1.03); /* Легкий эффект приближения при наведении */
        }

        .team-card h3 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600; /* Semi bold */
            font-size: 1.2rem;
            color: #000;
            margin: 0 0 5px 0;
        }

        .team-card-position {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-size: 0.85rem;
            color: #444;
            margin: 0 0 5px 0;
        }

        .team-card-brief {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-style: italic; /* Курсив как на макете */
            font-size: 0.75rem;
            color: #888;
            line-height: 1.4;
            margin: 0;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
            }
        }

        @media (max-width: 768px) {
            .team-header-flex {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            .team-header-flex h2 {
                white-space: normal;
            }
            .team-header-flex p {
                max-width: 100%;
            }
            .team-video-wrapper {
                margin: 0px 0 50px 0;
				padding-top: 40px;
            }
        }

        @media (max-width: 550px) {
            .container {
                padding: 0 20px;
            }
            .team-grid {
                grid-template-columns: 1fr; /* 1 колонка на телефоне */
                gap: 40px;
            }
            .team-card-image {
                aspect-ratio: 4 / 5; /* Делаем фото чуть вытянутыми на мобильных для красоты */
            }
            .play-btn {
                width: 60px;
                height: 60px;
            }
            .play-btn svg {
                width: 20px;
                height: 20px;
            }
        }
.team-video-container .play-btn svg {
	width: 40px;
    height: 40px;
    fill: #000;
    margin-left: 4px;
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ЦЕНЫ И ПОРТФОЛИО"
   ========================================= */
.pricing-section {
    background-color: #fff; /* Белый фон */
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Декоративный элемент на фоне */
.pricing-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-color: #f5f5f5;
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: 0;
}

/* Шапка блока */
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.pricing-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: #222;
}

.pricing-title span {
    color: #888; /* Фирменный акцент */
    font-weight: 400;
}

.pricing-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.pricing-description {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

/* Контейнер с ценами и картинкой */
.pricing-container {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.pricing-content {
    flex: 1;
}

/* Список преимуществ */
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    border-left: 3px solid #888; /* Акцентная линия слева */
    padding-left: 20px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.feature-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Кнопка */
.pricing-button {
    background-color: #222;
    color: #fff;
    padding: 18px 35px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.pricing-button:hover {
    background-color: #888;
}

/* Картинка с плавающими бейджиками */
.pricing-image {
    flex: 1;
    position: relative;
}

.pricing-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.decoration-1 {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    background-color: #888;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.decoration-2 {
    position: absolute;
    top: 30px;
    left: -30px;
    background-color: #222;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.price-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 4px;
    border-left: 4px solid #888;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.price-badge .label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.price-badge .value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
}

.price-badge .value span {
    color: #888;
}

/* =========================================
   СЕКЦИЯ ПОРТФОЛИО
   ========================================= */
.projects-examples {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.examples-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки на ПК */
    gap: 20px;
}

.example-card {
    background-color: #111; /* Темные карточки для премиального вида */
    color: #fff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.example-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.example-card:hover .example-image img {
    transform: scale(1.05);
}

.example-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.example-name-link-case {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.example-name-link-case:hover {
    color: #888 !important;
}

.example-details {
    display: flex;
    flex-direction: column; /* На узких карточках лучше в столбик, или flex-wrap */
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
}

.example-details:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.example-detail {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.example-detail span {
    font-weight: 600;
    color: #fff;
    text-align: right;
}

/* Кнопка "Смотреть кейс" */
.case-button {
    display: inline-block;
    margin-top: auto;
    padding-top: 15px;
    color: #888; /* Фирменный серый акцент вместо золотого */
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.case-button::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #888;
    transition: transform 0.3s ease;
    transform: scaleX(1);
    transform-origin: left;
}

.case-button:hover::after {
    transform: scaleX(0);
}

.case-button:hover {
    color: #fff;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1200px) {
    .examples-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .pricing-container {
        flex-direction: column;
    }
    
    .pricing-image {
        width: 100%;
        margin-top: 40px;
    }
    
    .decoration-2 {
        left: 10px;
    }
    
    .price-badge {
        right: 10px;
    }
    
    .pricing-button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .examples-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобилках */
    }
    
    .price-badge .value {
        font-size: 1.3rem;
    }
}

<style>
/* =========================================
   СТИЛИ ДЛЯ БЛОКА "СТИЛИ ИНТЕРЬЕРА"
   ========================================= */
.styles-section {
    background-color: #f5f5f5; /* Чередуем фон: светло-серый */
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

/* Шапка блока */
.styles-header {
    text-align: center;
    margin-bottom: 50px;
}

.styles-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
    color: #222;
}

.styles-header__title span {
    color: #888; /* Фирменный серый акцент */
    font-weight: 400;
}

/* Сетка карточек */
.styles-grid {
    width: 100%;
}

.styles-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на ПК */
    gap: 30px;
}

/* Карточка стиля */
.style-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Начальное состояние для анимации */
    opacity: 0;
    transform: translateY(20px);
}

/* Эффект появления */
.style-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Эффект при наведении */
.style-card.visible:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Изображение стиля */
.style-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Пропорции картинки */
    overflow: hidden;
}

.style-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.style-card:hover .style-image img {
    transform: scale(1.05); /* Плавное приближение картинки */
}

/* Текстовая часть карточки */
.style-info {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-top: 1px solid #eaeaea;
}

.style-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.style-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #888; /* Фирменный серый */
    opacity: 0.7;
}

.style-name {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Иконка-стрелка */
.style-arrow {
    font-size: 1.5rem;
    color: #888;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.style-card:hover .style-arrow {
    transform: translateX(5px); /* Сдвиг стрелочки вправо */
    color: #222;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1024px) {
    .styles-row {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px) {
    .styles-section {
        padding: 60px 0;
    }
    .styles-row {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        gap: 20px;
    }
    .style-image {
        aspect-ratio: 16 / 9; /* Более широкие картинки на телефонах */
    }
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "КВИЗ"
   ========================================= */
.quiz-section {
    background-color: #fff; /* Белый фон */
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы фона */
.quiz-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.decor-line-1 {
    position: absolute;
    width: 150%;
    height: 1px;
    background-color: rgba(136, 136, 136, 0.1);
    top: 30%;
    left: -25%;
    transform: rotate(-3deg);
}

.decor-line-2 {
    position: absolute;
    width: 150%;
    height: 1px;
    background-color: rgba(136, 136, 136, 0.1);
    bottom: 20%;
    left: -25%;
    transform: rotate(4deg);
}

/* Контейнер квиза поверх декораций */
.quiz-container {
    position: relative;
    z-index: 1;
    max-width: 900px !important; /* Делаем квиз чуть уже для комфортного чтения */
}

/* Заголовок квиза */
.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 15px 0;
    color: #222;
}

.quiz-header h2 span {
    color: #888; /* Фирменный серый акцент */
    font-weight: 400;
}

.quiz-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    line-height: 1.5;
}

/* Прогресс-бар */
.quiz-progress {
    background-color: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-bar {
    height: 6px;
    background-color: #eaeaea;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #888; /* Фирменный акцент прогресса */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Блок вопросов */
.quiz-questions {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.question-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px 0;
}

.question-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Варианты ответов */
.answer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.option-input {
    display: none; /* Скрываем стандартный радио-инпут */
}

/* Кастомный дизайн ответов */
.option-label {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border: 2px solid #eaeaea;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.option-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #222;
}

/* Кружок радио-кнопки */
.option-label::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background-color: #fff;
}

/* Эффекты при наведении и выборе */
.option-label:hover {
    border-color: #ccc;
    background-color: #fff;
}

.option-input:checked + .option-label {
    border-color: #888; /* Фирменный акцент */
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.option-input:checked + .option-label::before {
    border: 6px solid #888; /* Толстая рамка имитирует закрашенный кружок */
    background-color: #fff;
}

/* Навигация (кнопки Вперед/Назад) */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.quiz-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 30px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-next {
    background-color: #222;
    color: #fff;
    margin-left: auto; /* Прижимает вправо, если кнопка Назад скрыта */
}

.btn-next:hover:not(:disabled) {
    background-color: #888;
}

.btn-next:disabled {
    background-color: #eaeaea;
    color: #aaa;
    cursor: not-allowed;
}

.btn-prev {
    background-color: transparent;
    color: #222;
    border: 1px solid #ddd;
}

.btn-prev:hover {
    border-color: #888;
    color: #888;
}

/* Экран завершения */
.quiz-completion {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease forwards;
}

.completion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 3px solid #888;
    color: #888;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.completion-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.completion-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.feedback-form-qwiz {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 768px) {
    .quiz-progress {
        padding: 15px 20px;
    }
    .quiz-questions {
        padding: 30px 25px;
    }
    .answer-options {
        grid-template-columns: 1fr; /* В одну колонку на планшетах */
    }
}

@media (max-width: 480px) {
    .quiz-section {
        padding: 60px 0;
    }
    .quiz-questions {
        padding: 25px 15px;
    }
    .quiz-navigation {
        flex-direction: column-reverse; /* Кнопка назад будет снизу */
        gap: 15px;
    }
    .quiz-button {
        width: 100%;
        text-align: center;
    }
    .btn-next {
        margin-left: 0;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ЧТО ВХОДИТ В УСЛУГУ"
   ========================================= */
  .envo-service-section {
            background-color: #1b1b1b; /* Темный фон из макета */
            padding: 100px 0;
            color: #ffffff;
        }

        /* Шапка блока */
        .envo-service-header-block {
            margin-bottom: 60px;
        }

        .envo-service-header {
            font-size: clamp(1.8rem, 3vw, 2.2rem);
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            line-height: 1.3;
            margin: 0 0 25px 0;
            color: #ffffff;
            letter-spacing: 0.5px;
        }

        .envo-service-description {
            font-size: clamp(0.95rem, 1.2vw, 1.05rem);
            font-weight: 400; /* Regular */
            line-height: 1.6;
            color: #d1d1d1;
            max-width: 950px;
            margin: 0;
        }

        /* Сетка карточек (3 колонки) */
        .envo-service-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 50px 30px;
            margin-bottom: 70px;
        }

        /* Карточка услуги */
        .envo-service-card {
            display: flex;
            flex-direction: column;
        }

        .envo-service-card-title {
            font-size: 1.3rem;
            font-weight: 600; /* Semi bold */
            color: #ffffff;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .envo-service-card-image {
            width: 100%;
            aspect-ratio: 4 / 3; /* Горизонтальные пропорции для скриншотов */
            background-color: #2a2a2a;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .envo-service-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .envo-service-card:hover .envo-service-card-image img {
            transform: scale(1.05); /* Плавное увеличение картинки при наведении */
        }

        /* Кнопка заказа внизу */
        .envo-service-cta {
            text-align: center;
        }

        .envo-service-button {
            background-color: #ffffff;
            color: #000000;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            padding: 18px 45px;
            border: none;
            border-radius: 2px;
            cursor: pointer;
            letter-spacing: 0.5px;
            transition: background-color 0.3s ease, color 0.3s ease;
            display: inline-block;
        }

        .envo-service-button:hover {
            background-color: #e0e0e0;
            color: #000000 !important; /* Явно запрещаем тексту становиться белым */
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .envo-service-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .envo-service-section {
                padding: 80px 0;
            }
            .envo-service-description br {
                display: none; /* Убираем жесткие переносы строк на планшетах */
            }
        }

        @media (max-width: 600px) {
            .envo-service-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .envo-service-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .envo-service-header {
                font-size: 1.5rem;
            }
            .envo-service-header br {
                display: none;
            }
            .envo-service-button {
                width: 100%;
            }
        }
 .envo-pricing-section {
            background-color: #ffffff; /* Белый фон */
            padding: 100px 0;
            color: #000000;
        }

        /* Шапка блока */
        .envo-pricing-header-wrap {
            display: flex;
            align-items: flex-start;
            margin-bottom: 60px;
        }

        .envo-pricing-header {
            font-size: clamp(2rem, 3.5vw, 2.3rem);
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            line-height: 1.2;
            margin: 0;
            color: #111111;
            flex: 1.2;
        }

        .envo-pricing-subtitle {
            font-size: clamp(0.95rem, 1.2vw, 1.05rem);
            font-weight: 400; /* Regular */
            line-height: 1.6;
            color: #666666;
            margin: 0;
            flex: 0.8;
            padding-top: 10px; /* Визуальное выравнивание со второй строкой заголовка */
        }

        /* Основная сетка (Текст слева, Картинка справа) */
        .envo-pricing-grid {
            display: grid;
            grid-template-columns: 1fr 1.1fr; /* Правая колонка чуть шире */
            gap: 60px;
            margin-bottom: 60px;
            align-items: center;
        }

        /* --- Левая колонка (Текст) --- */
        .envo-pricing-text-content {
            display: flex;
            flex-direction: column;
        }

        .envo-pricing-intro {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #444444;
            margin-bottom: 25px;
        }

        .envo-pricing-intro:last-of-type {
            margin-bottom: 40px;
        }

        .envo-pricing-list {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .envo-pricing-item h4 {
            font-size: 1rem;
            font-weight: 600; /* Semi bold */
            color: #222222;
            margin-bottom: 10px;
        }

        .envo-pricing-item p {
            font-size: 0.9rem;
            font-weight: 400; /* Regular */
            color: #666666;
            line-height: 1.5;
            margin: 0;
        }

        /* --- Правая колонка (Изображение) --- */
        .envo-pricing-image-wrap {
            border-radius: 2px;
            position: relative;
            padding: 80px 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .envo-pricing-image-wrap img {
            width: 100%;
            max-width: 550px;
            height: auto;
            display: block;
            filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15)); /* Тень для эффекта объема */
        }

        .envo-pricing-badge {
            position: absolute;
            top: 40px;
            right: 0;
            background-color: #1b1b1b; /* Темный фон плашки */
            color: #ffffff;
            padding: 20px 35px;
            text-align: center;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .envo-pricing-badge span {
            display: block;
            font-size: 0.85rem;
            font-weight: 400;
            margin-bottom: 8px;
            color: #e0e0e0;
        }

        .envo-pricing-badge strong {
            display: block;
            font-size: 1.6rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        /* Кнопка заказа внизу */
        .envo-pricing-cta {
            text-align: center;
        }

        .envo-pricing-button {
            background-color: transparent;
            color: #000000;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            padding: 18px 45px;
            border: 1px solid #000000;
            border-radius: 2px;
            cursor: pointer;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .envo-pricing-button:hover {
            background-color: #000000;
            color: #ffffff !important;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .envo-pricing-grid {
                grid-template-columns: 1fr;
                gap: 50px;
            }
            .envo-pricing-image-wrap {
                padding: 100px 30px 60px;
            }
        }

        @media (max-width: 768px) {
            .envo-pricing-section {
                padding: 80px 0;
            }
            .envo-pricing-header-wrap {
                flex-direction: column;
                gap: 20px;
                margin-bottom: 40px;
            }
            .envo-pricing-subtitle {
                padding-top: 0;
            }
            .envo-pricing-header br {
                display: none; /* Убираем перенос строки в заголовке на мобильных */
            }
        }

        @media (max-width: 600px) {
            .envo-pricing-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .envo-pricing-badge {
                padding: 15px 20px;
                top: 20px;
            }
            .envo-pricing-badge span {
                font-size: 0.75rem;
            }
            .envo-pricing-badge strong {
                font-size: 1.3rem;
            }
            .envo-pricing-button {
                width: 100%;
            }
        }

  .envo-contract-section {
            background-color: #1b1b1b; /* Темный фон на всю ширину экрана */
            width: 100%;
            margin: 100px 0; /* Отступы от других секций сайта */
        }

        .envo-contract-card {
            display: flex;
            align-items: stretch;
            width: 100%; /* Карточка занимает 100% ширины */
            /* Убрали border-radius и box-shadow, так как блок теперь прилегает к краям экрана */
        }

        /* Левая колонка (Изображение) */
        .envo-contract-image {
            width: 50%;
            position: relative;
            min-height: 500px; /* Задали минимальную высоту, чтобы блок смотрелся массивно */
        }

        .envo-contract-image img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Правая колонка (Текст) */
        .envo-contract-content {
            width: 50%;
            padding: 80px 5%; /* Используем проценты для боковых отступов */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        /* НОВЫЙ КЛАСС: Ограничитель ширины текста */
        .envo-contract-text-inner {
            max-width: 550px; /* Ширина текста остается такой же, как была в контейнере */
            width: 100%;
        }

        .envo-contract-title {
            font-size: clamp(1.8rem, 2.5vw, 2.2rem);
            font-weight: 600; /* Semi bold */
            line-height: 1.3;
            color: #ffffff;
            margin: 0 0 30px 0;
        }

        .envo-contract-desc {
            font-size: 0.95rem;
            font-weight: 400; /* Regular */
            line-height: 1.6;
            color: #d1d1d1; /* Светло-серый текст */
            margin: 0 0 40px 0;
        }

        /* Кнопка */
        .envo-contract-btn {
            background-color: #ffffff;
            color: #000000;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            padding: 18px 45px;
            border: none;
            border-radius: 2px;
            cursor: pointer;
            letter-spacing: 0.5px;
            transition: background-color 0.3s ease;
            display: inline-block;
            text-decoration: none;
        }

        .envo-contract-btn:hover {
            background-color: #e0e0e0;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .envo-contract-content {
                padding: 60px 40px;
            }
        }

        @media (max-width: 900px) {
            .envo-contract-card {
                flex-direction: column;
            }
            .envo-contract-image {
                width: 100%;
                min-height: 400px;
            }
            .envo-contract-image img {
                position: relative;
                height: 400px;
            }
            .envo-contract-content {
                width: 100%;
                padding: 60px 40px;
                align-items: center; /* Центрируем на планшетах/мобильных */
                text-align: center;
            }
        }

        @media (max-width: 600px) {
            .envo-contract-section {
                margin: 60px 0;
            }
            .envo-contract-image {
                min-height: 250px;
            }
            .envo-contract-image img {
                height: 250px;
            }
            .envo-contract-content {
                padding: 50px 20px;
            }
            .envo-contract-title {
                font-size: 1.5rem;
            }
            .envo-contract-btn {
                width: 100%;
            }
        }
/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ПРАВКИ БЕСПЛАТНО"
   ========================================= */
      /* =========================================
           БЛОК "ВНЕСЕМ ПРАВКИ В ПРОЕКТ"
           ========================================= */
        .project-revisions-section {
            background-color: #ffffff; /* Светлый фон из макета */
            padding: 100px 0;
            overflow: hidden;
        }

        /* Шапка блока */
        .project-revisions-header {
            text-align: center;
            margin-bottom: 50px;
			    margin-left: 13%;
        }

        .project-revisions-title {
            font-size: 38px;
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
            color: #000000;
			text-align: left;
        }

        .project-revisions-subtitle {
            font-size: 0.95rem;
            font-weight: 400; /* Regular */
            line-height: 1.6;
            color: #666666;
            max-width: 850px;
			text-align: left;
        }

        /* Блок со статистикой */
        .project-revisions-stats {
            display: flex;
            margin-top: 40px;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 25px 35px;
            border: 1px solid #dddddd;
            text-align: left;
            width: 100%;
            max-width: 490px;
        }

        /* Убираем двойную границу между блоками */
        .stat-item:first-child {
            border-right: none;
        }

        .stat-value {
            font-size: 2.2rem;
            font-weight: 600;
            color: #000000;
            white-space: nowrap;
        }

        .stat-label {
            font-size: 0.85rem;
            font-weight: 400;
            color: #666666;
            line-height: 1.4;
        }

        /* Сетка изображений */
        .project-revisions-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .comparison-item {
            position: relative;
            width: 100%;
        }

        .comparison-image {
            position: relative;
            width: 100%;
            aspect-ratio: 4 / 3; /* Пропорции как на макете */
            overflow: hidden;
            border-radius: 4px;
        }

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

        /* Ярлыки "До/После" */
        .comparison-label {
            position: absolute;
            top: 25px;
            left: 25px;
            background-color: #2a2a2a;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 0.95rem;
            font-weight: 600;
            z-index: 10;
        }

        .comparison-label.before {
            color: #ff6b6b; /* Красноватый цвет для 'До' */
        }

        .comparison-label.after {
            color: #4ade80; /* Зеленоватый цвет для 'После' */
        }

        /* Всплывающие комментарии (Правки) */
        .revision-comments {
            position: absolute;
            inset: 0;
            pointer-events: none;
        }

        .revision-comment {
            position: absolute;
            background-color: #222222;
            color: #ffffff;
            padding: 15px 20px;
            border-radius: 8px;
            font-size: 0.85rem;
            line-height: 1.5;
            max-width: 240px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .revision-comment.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .revision-comment strong {
            display: block;
            font-weight: 700;
            margin-bottom: 5px;
            font-size: 0.95rem;
        }

        /* Позиционирование комментариев */
        .revision-comment-1 { top: 20%; left: 10%; }
        .revision-comment-2 { bottom: 15%; left: 10%; }
        .revision-comment-3 { top: 20%; right: 5%; }
        .revision-comment-4 { bottom: 25%; right: 10%; }

        /* Галочка успешного завершения */
        .revision-approved {
            position: absolute;
            top: 25px;
            right: 25px;
            width: 70px;
            height: 70px;
            background-color: #4ade80;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: scale(0);
            box-shadow: 0 5px 15px rgba(74, 222, 128, 0.4);
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10;
        }

        .revision-approved.visible {
            transform: scale(1);
        }

        .revision-approved svg {
            width: 35px;
            height: 35px;
            fill: #ffffff;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 900px) {
            .project-revisions-comparison {
                grid-template-columns: 1fr;
            }
            .project-revisions-stats {
                flex-direction: column;
                align-items: center;
            }
			.stat-item:first-child {
				border-right: 1px solid #dddddd;
			}
            .stat-item {
                border-right: 1px solid #dddddd;
                border-bottom: none;
                max-width: 100%;
                justify-content: center;
                text-align: center;
                flex-direction: column;
                gap: 10px;
            }
            .stat-item:last-child {
                border-bottom: 1px solid #dddddd;
            }
			  .project-revisions-header {
			    margin-left: 0%;
        }
        }

        @media (max-width: 600px) {
            .project-revisions-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .revision-comment {
                padding: 10px 15px;
                font-size: 0.75rem;
                max-width: 180px;
            }
            .revision-comment-1 { top: 15%; left: 5%; }
            .revision-comment-2 { bottom: 10%; left: 5%; }
            .revision-comment-3 { top: 15%; right: 5%; }
            .revision-comment-4 { bottom: 15%; right: 5%; }
        }

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "О НАШЕЙ СТУДИИ"
   ========================================= */
    /* =========================================
           БЛОК: О НАШЕЙ СТУДИИ
           ========================================= */
        .about-studio-section {
            padding: 80px 0;
            background-color: #fff;
        }

        /* --- ВЕРХНЯЯ ЧАСТЬ (Текст + Видео) --- */
        .studio-top-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            margin-bottom: 80px;
            align-items: start;
        }

        .studio-text-col h2 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600; /* Semi bold */
            font-size: clamp(1.8rem, 2.5vw, 2.2rem);
            text-transform: uppercase;
            margin-bottom: 40px;
            color: #000;
        }

        .studio-text-col p {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-size: 0.95rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 20px;
        }

        .studio-video-col {
            width: 100%;
        }

        .studio-video-frame {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background-color: #000;
            cursor: pointer;
            overflow: hidden;
        }

        .studio-video-frame img.video-poster,
        .studio-video-frame video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
        }

        .studio-video-frame video {
            z-index: 1;
        }

        .studio-video-frame img.video-poster {
            z-index: 2;
            transition: opacity 0.3s ease;
        }

        .studio-video-frame img.video-poster.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .play-btn svg {
            width: 20px;
            height: 20px;
            fill: #fff;
            margin-left: 4px; /* Визуальное выравнивание треугольника */
        }
   .studio-video-frame .play-btn svg {
            width: 40px;
            height: 40px;
            fill: #000;
            margin-left: 4px; /* Визуальное выравнивание треугольника */
        }
        .studio-video-frame:hover .play-btn {
            transform: translate(-50%, -50%) scale(1.05);
        }

        .studio-video-frame.playing .play-btn {
            opacity: 0;
            pointer-events: none;
        }


        /* --- НИЖНЯЯ ЧАСТЬ (Фото + Дизайнер) --- */
        .designer-bottom-grid {
            display: grid;
            grid-template-columns: 0.8fr 1.2fr; /* Левая колонка чуть уже */
            gap: 60px;
            margin-bottom: 60px;
            align-items: start;
        }

        .designer-photo img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .designer-info h3 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600; /* Semi bold */
            font-size: 1.4rem;
            color: #000;
            margin-bottom: 8px;
        }

        .designer-subtitle {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 25px;
        }

        .designer-bio {
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-size: 0.95rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 30px;
        }

        .education-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600; /* Semi bold */
            font-size: 1.05rem;
            color: #000;
            margin-bottom: 15px;
        }

        .education-list {
            list-style-type: none; /* Убираем стандартные маркеры, чтобы сделать свои красивые */
            padding-left: 0;
            margin-bottom: 30px;
        }

        .education-list li {
            position: relative;
            padding-left: 20px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 400; /* Regular */
            font-size: 0.9rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 20px;
        }

        /* Кастомный квадратный маркер */
        .education-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 5px;
            height: 5px;
            background-color: #000;
        }

        /* Подложка для цитаты */
        .quote-box {
            background-color: #efeee4; /* Требуемый цвет подложки */
            padding: 35px 35px 35px 70px;
            position: relative;
        }

        .quote-box::before {
            content: '“';
            font-family: Georgia, serif;
            font-size: 6rem;
            color: #d8d6cd;
            position: absolute;
            top: 20px;
            left: 15px;
            line-height: 1;
        }

        .quote-box p {
            font-family: 'Montserrat', sans-serif;
            font-style: italic;
            font-weight: 400;
            font-size: 0.9rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 15px;
            position: relative;
            z-index: 2;
        }

        .quote-box p:last-child {
            margin-bottom: 0;
        }

        /* --- КНОПКА --- */
        .studio-action {
            text-align: center;
            margin-top: 50px;
        }

        .btn-outline {
            display: inline-block;
            background-color: transparent;
            color: #000;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            padding: 16px 45px;
            border: 1px solid #000;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-outline:hover {
            background-color: #000;
            color: #fff;
        }


        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 900px) {
            .studio-top-grid {
                grid-template-columns: 1fr;
                gap: 40px;
                margin-bottom: 60px;
            }
            .designer-bottom-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .designer-photo {
                max-width: 500px;
                margin: 0 auto;
            }
        }

        @media (max-width: 600px) {
            .about-studio-section {
                padding: 50px 0;
            }
            .container {
                padding: 0 20px;
            }
            .quote-box {
                padding: 25px 20px 25px 50px;
            }
            .quote-box::before {
                font-size: 4rem;
                left: 10px;
                top: 25px;
            }
            .btn-outline {
                width: 100%;
            }
        }
/* =========================================
   МОДАЛЬНОЕ ОКНО (Дипломы)
   ========================================= */
.diploma-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.diploma-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.diploma-modal.active .modal-image {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
    line-height: 1;
}

.modal-close:hover {
    color: #888;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 900px) {
    .designer-profile-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .designer-left-column {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .designer-main-image {
        max-width: 400px;
    }
    
    .designer-video-section {
        order: -1; /* На планшетах можно поднять видео над кнопкой */
    }
}

@media (max-width: 600px) {
    .designer-section {
        padding: 60px 0;
    }
    
    .designer-cta-button {
        width: 100%;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        background-color: rgba(0,0,0,0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

 /* =========================================
           БЛОК "РЕАЛИЗОВАННЫЙ ОБЪЕКТ"
           ========================================= */
        .project-section {
            background-color: #1b1b1b; /* Темный фон по запросу */
            padding: 100px 0;
            color: #ffffff;
        }

        /* Шапка блока */
        .project-header-block {
            text-align: left; /* Выравнивание по левому краю как на макете */
            margin-bottom: 50px;
        }

        .project-header {
            font-size: clamp(1.8rem, 3vw, 2.2rem);
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            line-height: 1.2;
            margin: 0 0 20px 0;
            color: #ffffff;
            letter-spacing: 0.5px;
        }

        .project-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.3rem); /* Увеличенный размер как на макете */
            font-weight: 400; /* Regular */
            font-style: italic; /* Курсив как на макете */
            color: #cccccc; /* Светло-серый */
            text-transform: none;
            margin-bottom: 25px; /* Увеличенный отступ */
        }

        .project-description {
            font-size: clamp(1rem, 1.5vw, 1.15rem); /* Увеличенный размер для хорошей читаемости */
            font-weight: 400; /* Regular */
            line-height: 1.7; /* Увеличенный межстрочный интервал */
            color: #e6e6e6; /* Почти белый, светлее подзаголовка */
            max-width: 800px;
            margin: 0;
        }

        /* Сетка этапов (3 колонки) */
        .project-stages {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 60px;
        }

        /* Карточка этапа */
        .stage {
            background-color: #2a2a2a; /* Чуть светлее фона для выделения карточки */
            border-radius: 6px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
            gap: 20px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .stage:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

        .stage-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #ffffff;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Обертка для медиа-контента */
        .stage-media-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 4 / 5; /* Вертикальные пропорции */
            border-radius: 4px;
            overflow: hidden;
            background-color: #111;
        }

        .stage-media-wrapper img, 
        .stage-media-wrapper video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .stage:hover .stage-media-wrapper img {
            transform: scale(1.05); /* Плавное увеличение картинки при наведении */
        }

        /* Контейнеры для видео этапа */
        .image-container {
            width: 100%;
            height: 100%;
        }

        .video-container {
            display: none;
            width: 100%;
            height: 100%;
            background-color: #000;
        }

        .video-container.visible {
            display: block;
        }

        /* Кнопка Play */
        .team-video-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 65px;
            height: 65px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 5;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .team-video-play svg {
            width: 40px;
            height: 40px;
            fill: #111;
            margin-left: 4px;
            transition: fill 0.3s ease;
        }

        .team-video-play.pause-icon svg {
            margin-left: 0; /* Убираем отступ для иконки паузы, чтобы она была по центру */
        }

        .stage:hover .team-video-play {
            transform: translate(-50%, -50%) scale(1.1);
        }

     

        .team-video-play.playing {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.5);
            pointer-events: none;
        }

        /* Кнопка заказа внизу */
        .project-cta {
            text-align: center;
        }

        .project-button {
            background-color: #ffffff;
            color: #000000;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            padding: 18px 45px;
            border: none;
            border-radius: 2px;
            cursor: pointer;
            letter-spacing: 0.5px;
            transition: background-color 0.3s ease;
            display: inline-block;
        }

        .project-button:hover {
            background-color: #e0e0e0;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 900px) {
            .project-stages {
                grid-template-columns: repeat(2, 1fr);
            }
            .stage:last-child {
                grid-column: span 2; /* Последняя карточка на всю ширину в планшетной версии */
                max-width: 500px;
                margin: 0 auto;
                width: 100%;
            }
        }

        @media (max-width: 600px) {
            .project-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .project-stages {
                grid-template-columns: 1fr;
            }
            .stage:last-child {
                grid-column: span 1;
            }
            .project-header-block br {
                display: none; /* Убираем жесткие переносы строк на мобильных экранах */
            }
            .project-button {
                width: 100%;
            }
        }

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "НАША КОМАНДА (ВИДЕО)"
   ========================================= */
.team-video-section {
    background-color: #fff; /* Белый фон для чередования */
    padding: 80px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

/* Шапка блока */
.team-video-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-video-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 15px 0;
    color: #222;
}

.team-video-title span {
    color: #888; /* Фирменный серый акцент */
    font-weight: 400;
}

.team-video-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

/* Контейнер для видео */
.team-video-container {
    max-width: 1000px; /* Ограничиваем максимальную ширину видео, чтобы оно не было слишком огромным */
    margin: 0 auto;
}

.team-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Стандартные пропорции видео */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    background-color: #111;
    cursor: pointer;
}

.team-video-frame:focus {
    outline: 2px solid #888; /* Фирменный фокус при навигации с клавиатуры */
    outline-offset: 4px;
}

/* Постер видео */
.team-video-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.team-video-poster.hidden {
    opacity: 0;
    pointer-events: none;
}

.team-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Само видео */
#mainVideoPlayer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Кнопка Play */
.team-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-video-play i {
    font-size: 24px;
    color: #222;
    margin-left: 4px; /* Легкое визуальное выравнивание треугольника */
    transition: color 0.3s ease;
}

.team-video-frame:hover .team-video-play {
    transform: translate(-50%, -50%) scale(1.1); /* Увеличение при наведении */
}

.team-video-frame:hover .team-video-play i {
    color: #888; /* Акцентный цвет при наведении */
}

/* Состояние "играет" */
.team-video-frame.playing .team-video-play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    pointer-events: none;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 600px) {
    .team-video-section {
        padding: 60px 0;
    }
    
    .team-video-play {
        width: 60px;
        height: 60px;
    }
    
    .team-video-play i {
        font-size: 20px;
    }
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ЦИТАТА ДИЗАЙНЕРА"
   ========================================= */
.quote-section {
    background-color: #f5f5f5; /* Светло-серый фон для чередования */
    padding: 100px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.quote-container {
    max-width: 900px; /* Ограничиваем ширину для лучшей читабельности текста */
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Декоративная кавычка на заднем фоне */
.quote-container::before {
    content: '“';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12rem;
    color: #888; /* Фирменный акцент */
    opacity: 0.1; /* Очень легкая прозрачность, чтобы не мешать тексту */
    font-family: Georgia, serif; /* Шрифт с засечками для красивых кавычек */
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.quote-main {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 500;
    line-height: 1.6;
    color: #222;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    font-style: italic; /* Курсив для цитаты */
}

/* Подпись */
.quote-signature {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Разделительная линия над именем */
.quote-signature::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #888; /* Фирменный акцент */
    margin: 0 auto 20px auto;
}

.quote-signature span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #888;
    text-transform: none; /* Убираем капс для должности */
    margin-top: 8px;
    letter-spacing: 0;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 768px) {
    .quote-section {
        padding: 80px 0;
    }
    
    .quote-container::before {
        font-size: 8rem;
        top: -40px;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 60px 0;
    }
}

   .portfolio-section {
            background-color: #fff; /* Белый фон */
            padding: 100px 0;
            color: #000;
            font-family: 'Montserrat', sans-serif;
        }

        /* Шапка блока: Заголовок слева, описание справа */
        .portfolio-header {
            display: flex;
            align-items: center;
            gap: 40px;
            margin-bottom: 40px;
        }

        .portfolio-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 600;
            text-transform: uppercase;
            line-height: 1.1;
            margin: 0;
            color: #222;
            flex: 0 0 auto;
        }

        .portfolio-title span {
            color: #888; /* Фирменный серый акцент */
        }

        .portfolio-subtitle {
            font-size: clamp(0.9rem, 1.2vw, 1rem);
            color: #666;
            line-height: 1.5;
            margin: 0;
            max-width: 550px;
        }

        /* Сетка карточек: 3 колонки, 2 ряда, тонкие границы (gap).
           Она занимает 100% ширины так как вынесена из .container */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px; /* Очень тонкий отступ между картинками, как на макете */
            margin-bottom: 50px;
            width: 100%;
        }

        /* Карточка проекта */
        .portfolio-item {
            position: relative;
            display: block;
            aspect-ratio: 4 / 3; /* Пропорции картинок */
            overflow: hidden;
            text-decoration: none;
            color: #fff;
            background-color: #eaeaea; /* Фон, пока грузится картинка */
            
            /* Анимация появления */
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .portfolio-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .portfolio-item img:hover {
            filter: brightness(0.6);
        }

        /* Градиент внизу для читаемости текста */
        .portfolio-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 40px 30px 25px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            pointer-events: none;
        }

        .portfolio-type {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.8;
            margin-bottom: 5px;
            transition: transform 0.4s ease;
        }

        .portfolio-name {
            font-size: 1.15rem;
            font-weight: 600;
            text-transform: uppercase;
            line-height: 1.3;
            transition: transform 0.4s ease;
        }

        /* Эффекты при наведении */
        .portfolio-item:hover img {
            transform: scale(1.05); /* Увеличение картинки */
        }

        .portfolio-item:hover .portfolio-type {
            transform: translateY(-3px);
        }

        .portfolio-item:hover .portfolio-name {
            transform: translateY(-3px);
        }

        /* Кнопка внизу */
        .portfolio-footer {
            text-align: center;
        }

        .btn-outline {
            display: inline-block;
            background-color: transparent;
            color: #222;
            border: 1px solid #888;
            padding: 18px 45px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

        .btn-outline:hover {
            background-color: #888;
            color: #fff;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
            }
        }

        @media (max-width: 768px) {
            .portfolio-header {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }
            .portfolio-grid {
                grid-template-columns: 1fr; /* 1 колонка на мобилках */
                gap: 15px; /* Увеличиваем отступ, так как они друг под другом */
            }
            .portfolio-item {
                aspect-ratio: 16 / 10;
            }
            .btn-outline {
                width: 100%;
                box-sizing: border-box;
            }
        }
/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ОЖИДАНИЕ И РЕАЛЬНОСТЬ"
   ========================================= */
/* =========================================
           БЛОК "ОЖИДАНИЕ И РЕАЛЬНОСТЬ" (ТЕМНЫЙ)
           ========================================= */
        .before-after-section {
            background-color: #1b1b1b; /* Темный фон из макета */
            padding: 80px 0;
            color: #ffffff;
            overflow: hidden;
        }

        /* Шапка блока */
        .before-after-header {
            margin-bottom: 50px;
            max-width: 900px;
        }

        .before-after-header h2 {
            font-size: 30px; /* Увеличено до 30px по запросу */
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
            color: #ffffff;
        }

        .before-after-header h3 {
            font-size: clamp(1.5rem, 2.5vw, 1.8rem);
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: 20px;
            color: #ffffff;
        }

        .before-after-header p {
            font-size: 0.95rem;
            font-weight: 400;
            line-height: 1.6;
            color: #d1d1d1;
            margin: 0;
        }

        /* Сетка слайдеров */
        .sliders-grid {
            display: grid;
            grid-template-columns: 1fr 1fr; /* 2 колонки */
            gap: 40px;
            margin-bottom: 50px;
        }

        .slider-wrapper {
            position: relative;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        .before-after-container {
            position: relative;
            width: 100%;
            aspect-ratio: 4 / 5; /* Вертикальные пропорции как на макете */
            background-color: #222;
            overflow: hidden;
            border-radius: 2px;
        }

        /* Изображения слайдера */
        .before-image, .after-image {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
        }

        .before-image {
            z-index: 2;
            clip-path: inset(0 50% 0 0); /* Половина изображения по умолчанию */
            will-change: clip-path;
        }

        .after-image {
            z-index: 1;
        }

        /* Ярлыки над картинками */
        .image-labels {
            position: absolute;
            top: 20px;
            left: 0;
            width: 100%;
            z-index: 10;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            pointer-events: none;
        }

        .image-label {
            background: rgba(17, 17, 17, 0.85); /* Темно-серый полупрозрачный фон */
            padding: 8px 16px;
            font-size: 0.8rem;
            font-weight: 500;
            color: #ffffff;
            backdrop-filter: blur(4px);
        }

        /* Ползунок */
        .slider-handle {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 2px; /* Тонкая линия */
            background-color: #d8b872; /* Золотистый цвет линии */
            z-index: 3;
            transform: translateX(-50%);
            cursor: ew-resize;
        }

        .slider-handle::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            background-color: #d8b872; /* Золотистый кружок */
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0,0,0,0.4);
            /* SVG иконка стрелочек влево-вправо */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3E%3Cpath d='M8 14l-4-4 4-4v3h8V6l4 4-4 4v-3H8v3z'/%3E%3C/svg%3E");
            background-size: 20px;
            background-position: center;
            background-repeat: no-repeat;
            transition: transform 0.2s ease;
        }

        .slider-handle:hover::after,
        .slider-handle:active::after {
            transform: translate(-50%, -50%) scale(1.1);
        }

        /* Компактный видео-блок */
        .video-promo-card {
            background-color: #141414; /* Очень темный фон карточки */
            border: 1px solid #2a2a2a;
            border-radius: 4px;
            padding: 20px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin: 0 auto 50px auto;
            max-width: 900px;
            cursor: pointer;
            transition: border-color 0.3s ease;
        }

        .video-promo-card:hover {
            border-color: #fff;
        }

        .video-promo-left {
            display: flex;
            align-items: center;
            gap: 25px;
            flex: 1;
        }

        .video-thumbnail {
            position: relative;
            width: 120px;
            height: 70px;
            background-color: #333;
            border-radius: 4px;
            overflow: hidden;
            flex-shrink: 0;
            background-image: url('../images/postervideo.png'); /* Восстановлен правильный путь к обложке */
            background-size: cover;
            background-position: center;
        }

        .video-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 36px;
            height: 36px;
background-color: rgba(255, 255, 255, 0.9);
			border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-play-btn svg {
            width: 14px;
            height: 14px;
            fill: #111;
            margin-left: 2px;
        }

        .video-promo-text h4 {
            font-size: 1.05rem;
            font-weight: 600;
            color: #ffffff;
            margin: 0 0 5px 0;
        }

        .video-promo-text p {
            font-size: 0.85rem;
            color: #a0a0a0;
            margin: 0;
        }

        .video-duration {
            border: 1px solid #333;
            padding: 8px 15px;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: 500;
            color: #fff; /* Золотистый цвет текста */
        }

        /* Кнопка внизу */
        .action-button-container {
            text-align: center;
        }

        .btn-primary-white {
            display: inline-block;
            background-color: #ffffff;
            color: #000000;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            padding: 18px 45px;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
            text-decoration: none;
        }

        .btn-primary-white:hover {
            background-color: #e0e0e0;
        }

        /* =========================================
           МОДАЛЬНОЕ ОКНО ДЛЯ ВИДЕО (ВОССТАНОВЛЕНО)
           ========================================= */
        .video-modal {
            position: fixed;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .video-modal.active {
            display: flex;
            opacity: 1;
        }

        .video-modal-content {
            position: relative;
            width: 100%;
            max-width: 800px;
            background: #111;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.5);
            transform: scale(0.95);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .video-modal.active .video-modal-content {
            transform: scale(1);
        }

        .video-modal-video video {
            width: 100%;
            max-height: 70vh;
            display: block;
            outline: none;
        }

        .video-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            backdrop-filter: blur(5px);
            transition: background 0.3s ease;
            z-index: 10;
        }

        .video-modal-close:hover {
            background: rgba(255,255,255,0.4);
        }

        .video-modal-close svg {
            width: 24px;
            height: 24px;
            fill: #fff;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 900px) {
            .sliders-grid {
                grid-template-columns: 1fr; /* Один слайдер в ряд */
            }
            .video-promo-card {
                flex-direction: column;
                align-items: flex-start;
            }
            .video-duration {
                align-self: flex-start;
                margin-left: 145px; /* Выравнивание под текстом */
            }
        }

        @media (max-width: 600px) {
            .before-after-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .image-labels {
                display: none; /* Скрываем ярлыки на мобильных для чистоты картинки */
            }
            .video-promo-left {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            .video-thumbnail {
                width: 100%;
                height: 180px;
            }
            .video-duration {
                margin-left: 0;
            }
            .btn-primary-white {
                width: 100%;
            }
        }

/* Ползунок */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #fff;
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: #888; /* Фирменный акцент */
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    /* SVG иконка стрелочек влево-вправо через data-uri */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 14l-4-4 4-4v3h8V6l4 4-4 4v-3H8v3z'/%3E%3C/svg%3E");
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.slider-handle:hover::after,
.slider-handle:active::after {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Компактный видео-блок поверх слайдера */
.video-mini-block {
    position: absolute;
    bottom: -25px;
    right: 40px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid #888;
}

.video-mini-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.video-mini-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-mini-preview {
    width: 50px;
    height: 50px;
    background-color: #111;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url('../images/postervideo.png'); /* Постер для превью */
    background-size: cover;
    background-position: center;
}

.video-mini-play-btn {
    width: 30px;
    height: 30px;
    background-color: rgba(136, 136, 136, 0.9); /* Серый акцент */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Клик ловится родительским блоком */
}

.video-mini-play-btn svg {
    width: 12px;
    height: 12px;
    fill: #fff;
    margin-left: 2px;
}

.video-mini-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
}

.video-mini-subtitle {
    font-size: 0.75rem;
    color: #666;
}

.video-mini-duration {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    margin-left: 10px;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 20px;
}

/* Модальное окно для видео */
.video-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-video video {
    width: 100%;
    max-height: 70vh;
    display: block;
    outline: none;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
    z-index: 10;
}

.video-modal-close:hover {
    background: rgba(255,255,255,0.4);
}

.video-modal-close svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.video-modal-info {
    padding: 20px 25px;
    background: #fff;
}

.video-modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

.video-modal-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 1024px) {
    .before-after-block {
        flex-direction: column;
        gap: 50px;
    }
    
    .before-after-slider {
        width: 100%;
    }
    
    .video-mini-block {
        bottom: -20px;
        right: 20px;
    }
}

@media (max-width: 600px) {
    .before-after-section {
        padding: 60px 0;
    }
    
    .image-labels {
        display: none; /* Скрываем ярлыки на мобильных, чтобы не перекрывать суть картинки */
    }
    
    .before-after-stats {
        flex-direction: row;
        gap: 30px;
        border-left: none;
        padding-left: 0;
        border-top: 3px solid #888;
        padding-top: 20px;
    }
    
    .video-mini-block {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
    
    .before-after-cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .before-after-stats {
        flex-direction: column;
        gap: 15px;
    }
}

.btn-primary {
            background-color: #fff;
            color: #000;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            padding: 16px 11px;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: opacity 0.3s;
        }

        .btn-primary:hover {
            opacity: 0.8;
        }

      .dream-interior-section {
            width: 100%;
            padding: 60px 0; 
        }

        /* Теперь контейнер флексбокса занимает всю ширину экрана */
        .dream-interior-flex {
            display: flex;
            align-items: stretch;
            flex-wrap: wrap;
            background-color: #1b1b1b; 
            width: 100%; /* Растягиваем на 100% */
            overflow: hidden; 
        }

        /* Левая колонка с изображением (50% ширины экрана) */
        .dream-interior-image {
            flex: 1 1 50%;
            min-height: 450px;
        }

        .dream-interior-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Правая колонка с контентом (50% ширины экрана) */
        .dream-interior-content {
            flex: 1 1 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            /* Хитрая формула: справа отступ рассчитывается так, чтобы текст выравнивался по границе вашего .container (1200px) */
            padding-top: 60px;
            padding-bottom: 60px;
            padding-left: 70px;
            padding-right: max(20px, calc((100vw - 1200px) / 2 + 20px));
            box-sizing: border-box;
        }

        .dream-interior-content h2 {
            font-weight: 600; 
            font-size: 20px;            
            line-height: 1.4;
            color: #ffffff;
            margin-top: 0;
            margin-bottom: 20px;
            letter-spacing: 0.3px;
        }

        .dream-interior-content p {
            font-weight: 400; 
            font-size: 14px;
            line-height: 1.6;
            color: #d1d1d1;
            margin-bottom: 35px;
            letter-spacing: 0.2px;
        }

        /* Стили для белой кнопки (добавил базовые, так как их не было в коде) */
        .btn-primary {
            display: inline-block;
            background-color: #fff;
            color: #1b1b1b;
            border: none;
            padding: 18px 45px;
            font-family: inherit;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background-color: #e0e0e0;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr); 
            }
        }

        @media (max-width: 900px) {
            .dream-interior-flex {
                flex-direction: column; /* Блоки становятся друг под другом */
            }
            .dream-interior-image {
                min-height: auto; /* Фиксируем высоту картинки для мобильных */
            }
            .dream-interior-content {
                /* Выравниваем текст по центру/краям контейнера на планшетах и мобильных */
                padding: 50px max(20px, calc((100vw - 1200px) / 2 + 20px));
            }
            /* Отключаем жесткие переносы на узких экранах */
            .dream-interior-content br {
                display: none; 
            }
        }

        @media (max-width: 768px) {
            .portfolio-header {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }
            .portfolio-grid {
                grid-template-columns: 1fr; 
                gap: 15px; 
            }
            .portfolio-item {
                aspect-ratio: 16 / 10;
            }
            .btn-outline {
                width: 100%;
                box-sizing: border-box;
            }
            .dream-interior-section {
                padding: 40px 0;
            }
            .dream-interior-content {
                padding: 40px 20px;
            }
            .btn-primary.popmake-404 {
                width: 100%; 
                text-align: center;
                box-sizing: border-box;
            }
        }

     /* =========================================
           БЛОК "ВИДЕО ОТЗЫВЫ"
           ========================================= */
 /* =========================================
           БЛОК "ВИДЕО ОТЗЫВЫ"
           ========================================= */
        .envo-reviews-section {
            background-color: #f5f5f5; /* Светло-серый фон */
            padding: 100px 0;
            color: #000000;
        }

        /* --- Шапка блока --- */
        .envo-reviews-header-block {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-bottom: 60px;
        }

        .envo-reviews-title {
            font-size: clamp(2rem, 3.5vw, 2.8rem);
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            line-height: 1.2;
            margin: 0 0 40px 0;
            color: #111111;
            letter-spacing: 0.5px;
        }

        .envo-reviews-intro {
            max-width: 800px;
            text-align: left;
            background-color: #ffffff;
            padding: 40px 50px;
            border-radius: 6px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            border-left: 4px solid #888; /* Фирменный акцент */
        }

        .envo-reviews-quote {
            font-size: 1.2rem;
            font-weight: 600;
            font-style: italic;
            color: #222;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .envo-reviews-desc {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 25px;
        }

        .envo-reviews-list-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: #222;
            margin-bottom: 10px;
        }

        .envo-reviews-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .envo-reviews-list li {
            position: relative;
            padding-left: 20px;
            font-size: 0.95rem;
            color: #444;
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .envo-reviews-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 9px;
            width: 6px;
            height: 6px;
            background-color: #888;
            border-radius: 50%;
        }

        /* --- Сетка видео --- */
        .envo-reviews-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .envo-reviews-card {
            background-color: #ffffff;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .envo-reviews-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }

        /* Блок с видео */
        .envo-reviews-video-wrap {
            position: relative;
            width: 100%;
            aspect-ratio: 9 / 16; /* Вертикальные видео */
            background-color: #111;
            cursor: pointer;
            overflow: hidden;
        }

        /* Явная обложка поверх видео для надежности */
        .envo-reviews-poster {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
            transition: opacity 0.3s ease;
        }

        .envo-reviews-video-wrap video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            z-index: 0;
        }

        .envo-reviews-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.2);
            transition: background 0.3s ease;
            pointer-events: none;
            z-index: 2;
        }

        .envo-reviews-video-wrap:hover .envo-reviews-overlay {
            background: rgba(0, 0, 0, 0.4);
        }

        .envo-reviews-video-wrap.playing .envo-reviews-overlay,
        .envo-reviews-video-wrap.playing .envo-reviews-poster {
            background: rgba(0, 0, 0, 0);
            opacity: 0;
            pointer-events: none;
        }

        /* Кнопка Play/Pause */
        .envo-reviews-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 65px;
            height: 65px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .envo-reviews-play-btn svg {
            width: 40px;
            height: 40px;
            fill: #222;
            transition: fill 0.3s ease;
        }

        .envo-reviews-play-btn.play-icon svg {
            margin-left: 4px; /* Выравнивание треугольника */
        }

        .envo-reviews-play-btn.pause-icon svg {
            margin-left: 0;
        }

        .envo-reviews-video-wrap:hover .envo-reviews-play-btn {
            transform: translate(-50%, -50%) scale(1.1);
        }

    
        .envo-reviews-video-wrap.playing .envo-reviews-play-btn {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.5);
            pointer-events: none;
        }

        /* Текстовая часть карточки */
        .envo-reviews-content {
            padding: 25px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .envo-reviews-client {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eaeaea;
        }

        .envo-reviews-client h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: #222;
            margin: 0 0 5px 0;
            text-transform: uppercase;
        }

        .envo-reviews-client p {
            font-size: 0.85rem;
            font-weight: 500;
            color: #888;
            margin: 0;
        }

        .envo-reviews-text {
            font-size: 0.9rem;
            color: #444;
            line-height: 1.6;
            font-style: italic;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .envo-reviews-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .envo-reviews-section {
                padding: 80px 0;
            }
            .envo-reviews-intro {
                padding: 30px;
            }
            .envo-reviews-title {
                margin-bottom: 30px;
            }
            .envo-reviews-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            /* На планшете ограничиваем ширину карточек, чтобы они не были гигантскими */
            .envo-reviews-card {
                max-width: 500px;
                margin: 0 auto;
                width: 100%;
            }
        }

        @media (max-width: 600px) {
            .envo-reviews-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .envo-reviews-intro {
                padding: 25px 20px;
            }
            .envo-reviews-quote {
                font-size: 1.05rem;
            }
            .envo-reviews-desc, .envo-reviews-list li {
                font-size: 0.9rem;
            }
        }

   /* =========================================
           БЛОК "ПОРТФОЛИО"
           ========================================= */
        .envo-portfolio-section {
            background-color: #ffffff;
            padding: 100px 0;
            color: #111111;
        }

        /* --- Шапка блока --- */
        .envo-portfolio-header-wrap {
            margin-bottom: 60px;
            max-width: 800px;
        }

        .envo-portfolio-title {
            font-size: clamp(1.8rem, 3vw, 2.2rem);
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            line-height: 1.2;
            margin: 0 0 25px 0;
            color: #111111;
            letter-spacing: 0.5px;
        }

        .envo-portfolio-desc {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #444444;
            margin: 0 0 20px 0;
        }

        .envo-portfolio-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .envo-portfolio-list li {
            position: relative;
            padding-left: 15px;
            font-size: 0.95rem;
            color: #444444;
            line-height: 1.6;
            margin-bottom: 5px;
        }

        /* Стилизация буллитов под точку как на макете */
        .envo-portfolio-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            top: 0;
            color: #444;
        }

        /* --- Сетка карточек --- */
        .envo-portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .envo-portfolio-card {
            background-color: #f5f4ef; /* Светло-бежевый фон карточки */
            border-radius: 4px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
        }

        .envo-portfolio-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .envo-portfolio-card:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        }

        .envo-portfolio-image {
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background-color: #eaeaea;
        }

        .envo-portfolio-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .envo-portfolio-card:hover .envo-portfolio-image img {
            transform: scale(1.05);
        }

        /* Текстовая часть карточки */
        .envo-portfolio-content {
            padding: 30px 20px 40px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .envo-portfolio-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: #111111;
            text-align: center;
            margin: 0 0 30px 0;
        }

        /* Блоки с характеристиками */
        .envo-portfolio-group {
            margin-bottom: 25px;
        }

        .envo-portfolio-group:last-of-type {
            margin-bottom: 40px; /* Отступ перед кнопкой */
        }

        .envo-portfolio-row {
            display: flex;
            align-items: stretch;
        }

        /* Левая колонка (названия) */
        .envo-portfolio-label {
            flex: 1;
            text-align: right;
            padding-right: 15px;
            border-right: 1px solid #d1d1d1; /* Вертикальная разделительная линия */
            font-style: italic;
            font-size: 0.85rem;
            color: #555555;
            padding-top: 6px;
            padding-bottom: 6px;
        }

        /* Правая колонка (значения) */
        .envo-portfolio-value {
            flex: 1;
            text-align: left;
            padding-left: 15px;
            font-weight: 600;
            font-size: 0.85rem;
            color: #222222;
            padding-top: 6px;
            padding-bottom: 6px;
        }

        /* Кнопка "Смотреть кейс" */
        .envo-portfolio-btn {
            display: inline-block;
            margin: auto auto 0; /* Прижимаем к низу по центру */
            background-color: #ffffff;
            color: #222222;
            border: 1px solid #bbbbbb;
            padding: 15px 35px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

        .envo-portfolio-btn:hover {
            background-color: #222222;
            color: #ffffff;
            border-color: #222222;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .envo-portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .envo-portfolio-section {
                padding: 80px 0;
            }
            .envo-portfolio-desc br {
                display: none;
            }
        }

        @media (max-width: 600px) {
            .envo-portfolio-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .envo-portfolio-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .envo-portfolio-title {
                font-size: 1.5rem;
            }
        }

 /* =========================================
           БЛОК "НАШ БЛОГ В СТОРИС"
           ========================================= */
        .envo-stories-section {
            background-color: #ffffff; /* Белый фон */
            padding: 100px 0;
            color: #111111;
        }

        /* Шапка блока */
        .envo-stories-header {
            margin-bottom: 40px;
            text-align: left; /* Выравнивание по левому краю по макету */
        }

        .envo-stories-title {
            font-size: clamp(1.8rem, 3vw, 2.2rem);
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            line-height: 1.2;
            margin: 0 0 15px 0;
            color: #111111;
            letter-spacing: 0.5px;
        }

        .envo-stories-desc {
            font-size: 0.95rem;
            font-weight: 400; /* Regular */
            line-height: 1.5;
            color: #444444;
            max-width: 550px;
            margin: 0;
        }

        /* Сетка видео (4 колонки) */
        .envo-stories-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px; /* Небольшой отступ между историями */
        }

        /* Карточка с видео */
        .envo-stories-item {
            position: relative;
            aspect-ratio: 9 / 16; /* Пропорции вертикального видео */
            background-color: #1b1b1b;
            border-radius: 4px;
            cursor: pointer;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .envo-stories-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .envo-stories-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.85; /* Слегка затемняем, чтобы кнопка читалась лучше */
            transition: opacity 0.3s ease;
            display: block;
        }

        /* Кнопка Play по центру */
        .envo-stories-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
           background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        }

        .envo-stories-play-btn svg {
            width: 40px;
            height: 40px;
            fill: #111111; /* Темная иконка play */
            margin-left: 4px; /* Оптическое выравнивание треугольника */
        }

        .envo-stories-item:hover .envo-stories-play-btn {
            transform: translate(-50%, -50%) scale(1.05);
            background-color: rgba(255, 255, 255, 0.9);
			
        }

        /* ==== Состояние "Воспроизведение" ==== */
        .envo-stories-item.is-playing .envo-stories-video {
            opacity: 1; /* Убираем затемнение при проигрывании */
        }

        .envo-stories-item.is-playing .envo-stories-play-btn {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.8);
            pointer-events: none;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .envo-stories-grid {
                grid-template-columns: repeat(4, 1fr); /* На планшетах тоже можно 4, либо 2 */
                gap: 15px;
            }
        }

        @media (max-width: 900px) {
            .envo-stories-grid {
                grid-template-columns: repeat(2, 1fr); /* По 2 в ряд на планшетах */
                gap: 20px;
            }
            .envo-stories-section {
                padding: 80px 0;
            }
        }

        @media (max-width: 600px) {
            .envo-stories-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .envo-stories-grid {
                grid-template-columns: repeat(2, 1fr); /* На телефонах 2 в ряд для эффекта историй */
                gap: 10px;
            }
            .envo-stories-play-btn {
                width: 50px;
                height: 50px;
            }
            .envo-stories-play-btn svg {
                width: 16px;
                height: 16px;
            }
            .envo-stories-desc br {
                display: none; /* Убираем жесткий перенос на мобильных */
            }
        }

footer .form-row p {
	display:flex;
}

    @media (max-width: 900px) {
     footer .form-row p {
	display:flex;
		     flex-direction: column;
}
		footer .form-row .wpcf7-submit {
    margin-left: 0px !important;
}
        }

footer .form-row .wpcf7-submit {
	margin-left: 10px;
}

       /* =========================================
           БЛОК "СТИЛИ ИНТЕРЬЕРА"
           ========================================= */
        .envo-styles-section {
            background-color: #ffffff;
            padding: 100px 0;
            color: #111111;
        }

        /* Шапка блока */
        .envo-styles-header {
            margin-bottom: 50px;
            text-align: left;
        }

        .envo-styles-title {
            font-size: clamp(1.8rem, 3vw, 2.2rem);
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            line-height: 1.2;
            margin: 0 0 20px 0;
            color: #111111;
            letter-spacing: 0.5px;
        }

        .envo-styles-desc {
            font-size: 0.95rem;
            font-weight: 400; /* Regular */
            line-height: 1.6;
            color: #444444;
            max-width: 800px;
            margin: 0;
        }

        /* Сетка стилей (4 колонки) */
        .envo-styles-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 50px;
        }

        /* Карточка стиля */
        .envo-style-card {
            position: relative;
            display: block;
            aspect-ratio: 4 / 5; /* Вертикальные пропорции как на макете */
            background-color: #eaeaea;
            overflow: hidden;
            text-decoration: none;
            
            /* Начальное состояние для анимации */
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
        }

        .envo-style-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .envo-style-card:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
            z-index: 2;
        }

        .envo-style-image {
            width: 100%;
            height: 100%;
        }

        .envo-style-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .envo-style-card:hover .envo-style-image img {
            transform: scale(1.05); /* Плавное увеличение при наведении */
        }

        /* Темная плашка с названием стиля */
        .envo-style-name {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #1b1b1b; /* Темный фон плашки */
            color: #ffffff;
            text-align: center;
            padding: 15px 10px;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: background-color 0.3s ease;
            z-index: 2;
        }

        .envo-style-card:hover .envo-style-name {
            background-color: #000000;
        }

        /* Кнопка действия */
        .envo-styles-cta {
            text-align: center;
        }

        .envo-styles-btn {
            background-color: #1b1b1b;
            color: #ffffff;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            padding: 18px 45px;
            border: none;
            border-radius: 2px;
            cursor: pointer;
            letter-spacing: 0.5px;
            transition: background-color 0.3s ease;
            display: inline-block;
        }

        .envo-styles-btn:hover {
            background-color: #333333;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .envo-styles-grid {
                grid-template-columns: repeat(2, 1fr); /* По 2 колонки на планшетах */
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .envo-styles-section {
                padding: 80px 0;
            }
            .envo-styles-desc br {
                display: none; /* Убираем жесткий перенос на мобильных */
            }
        }

        @media (max-width: 600px) {
            .envo-styles-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .envo-styles-grid {
                grid-template-columns: 1fr; /* В одну колонку на телефонах */
                gap: 20px;
            }
            .envo-style-card {
                aspect-ratio: 1 / 1; /* Квадратные карточки на мобильных для экономии высоты */
            }
            .envo-styles-btn {
                width: 100%;
            }
        }


        /* =========================================
           БЛОК "МЫ В СОЦИАЛЬНЫХ СЕТЯХ"
           ========================================= */
        .envo-social-section {
            background-color: #ffffff;
            padding: 100px 0;
            color: #111111;
        }

        /* Шапка блока */
        .envo-social-header {
            margin-bottom: 50px;
            text-align: left;
        }

        .envo-social-title {
            font-size: clamp(1.8rem, 3vw, 2.2rem);
            font-weight: 600; /* Semi bold */
            text-transform: uppercase;
            line-height: 1.2;
            margin: 0 0 15px 0;
            color: #111111;
            letter-spacing: 0.5px;
        }

        .envo-social-desc {
            font-size: 0.95rem;
            font-weight: 400; /* Regular */
            line-height: 1.6;
            color: #444444;
            max-width: 600px;
            margin: 0;
        }

        /* Сетка иконок (9 колонок) */
        .envo-social-grid {
            display: grid;
            grid-template-columns: repeat(9, 1fr);
            gap: 15px;
            align-items: end; /* Выравнивание по нижнему краю (по тексту) */
        }

        /* Карточка соцсети */
        .envo-social-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #111111;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .envo-social-item:hover {
            transform: translateY(-5px);
            opacity: 0.8;
        }

        .envo-social-icon {
            width: 65px;
            height: 65px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
        }

        .envo-social-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Чтобы логотипы не обрезались */
            display: block;
        }

        .envo-social-name {
            font-size: 0.9rem;
            font-weight: 500;
            text-align: center;
            line-height: 1.2;
            color: #111111;
            white-space: nowrap;
        }

        /* =========================================
           АДАПТИВНОСТЬ
           ========================================= */
        @media (max-width: 1024px) {
            .envo-social-grid {
                grid-template-columns: repeat(5, 1fr); /* По 5 в ряд на планшетах */
                gap: 40px 20px;
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            .envo-social-section {
                padding: 80px 0;
            }
        }

        @media (max-width: 600px) {
            .envo-social-section {
                padding: 60px 0;
            }
            .container {
                padding: 0 20px;
            }
            .envo-social-grid {
                grid-template-columns: repeat(3, 1fr); /* По 3 в ряд на смартфонах */
                gap: 30px 15px;
            }
            .envo-social-icon {
                width: 50px;
                height: 50px;
            }
            .envo-social-name {
                font-size: 0.8rem;
                white-space: normal; /* Разрешаем перенос длинных слов на мобильных */
            }
        }

.feedback-form-qwiz .cf7-field {
	margin-bottom: 10px;
}

    /* ========================================
        СТИЛИ БЛОКА ГАЛЕРЕИ .case-uslugi-section
        ======================================== 
        */
        .case-uslugi-section {
            padding: 0px 0 80px 0;
            background-color: #ffffff;
            margin-top: 0px;
        }

        /* Шапка */
        .case-uslugi-header {
            text-align: left; /* Выравнивание по левому краю как на макете */
            margin-bottom: 50px;
        }

        .case-uslugi-overtitle {
            font-size: 14px;
            font-weight: 600;
            color: #888888;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 12px;
        }

        .case-uslugi-title {
         font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 25px 0;
    color: #111111;
    letter-spacing: 0.5px;
        }

        .case-uslugi-subtitle {
      
            max-width: 1000px;
         font-size: 0.95rem;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 20px 0;
        }

        /* Сетка картинок */
        .case-uslugi-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px; /* Немного увеличим отступы для "воздуха" */
        }

        /* Отдельный элемент галереи */
        .case-uslugi-item {
            position: relative;
            display: block;
            border-radius: 0; /* ОСТРЫЕ УГЛЫ как на макете */
            overflow: hidden;
            aspect-ratio: 4 / 3; /* Пропорции фото */
            background-color: #f5f5f5;
            text-decoration: none;
            box-shadow: none; /* УБРАНЫ ТЕНИ для плоского дизайна */
            transform: translateZ(0); 
        }

        .case-uslugi-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Более плавная анимация */
        }

        /* Ховер эффект: легкое увеличение картинки */
        .case-uslugi-item:hover img {
            transform: scale(1.04);
        }

        /* Иконка зума при наведении */
        .case-uslugi-zoom {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .case-uslugi-item:hover .case-uslugi-zoom {
            opacity: 1;
        }

        .case-uslugi-zoom svg {
            width: 40px;
            height: 40px;
            fill: #ffffff;
            transform: translateY(10px);
            transition: transform 0.4s ease;
        }

        .case-uslugi-item:hover .case-uslugi-zoom svg {
            transform: translateY(0);
        }

        /* Адаптив для сетки */
        @media (max-width: 992px) {
            .case-uslugi-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .case-uslugi-grid {
                grid-template-columns: 1fr;
            }
            .case-uslugi-title {
                font-size: 32px; /* Уменьшаем огромный заголовок на мобильных */
            }
            .case-uslugi-section {
                padding: 20px 0 20px 0;
            }
        }

        /* ========================================
        СТИЛИ МОДАЛЬНОГО ОКНА (ГАЛЕРЕИ)
        ======================================== 
        */
        .case-uslugi-modal {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.95); /* Более темный фон */
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0s 0.3s, opacity 0.3s ease;
        }

        /* Класс для открытия модалки */
        .case-uslugi-modal.is-open {
            visibility: visible;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .case-uslugi-modal-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .case-uslugi-modal-img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
            user-select: none;
            box-shadow: none;
            opacity: 0;
            transform: scale(0.98);
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        /* Анимация появления самой картинки */
        .case-uslugi-modal.is-open .case-uslugi-modal-img {
            opacity: 1;
            transform: scale(1);
        }

        /* Кнопки модального окна */
        .case-uslugi-modal-btn {
            position: absolute;
            background: transparent; /* Убрали кружки у кнопок для минимализма */
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
            color: rgba(255, 255, 255, 0.6);
            transition: color 0.2s, transform 0.2s;
            z-index: 10000;
        }

        .case-uslugi-modal-btn:hover {
            color: #ffffff;
            transform: scale(1.1);
        }

        .case-uslugi-modal-btn svg {
            width: 36px;
            height: 36px;
            fill: currentColor;
        }

        .case-uslugi-modal-close {
            top: 20px;
            right: 20px;
        }

        .case-uslugi-modal-prev {
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
        }
        .case-uslugi-modal-prev:hover {
            transform: translateY(-50%) scale(1.1);
        }

        .case-uslugi-modal-next {
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
        }
        .case-uslugi-modal-next:hover {
            transform: translateY(-50%) scale(1.1);
        }

        /* Адаптив кнопок для мобильных */
        @media (max-width: 768px) {
            .case-uslugi-modal-btn svg { width: 28px; height: 28px; }
            .case-uslugi-modal-prev { left: 5px; }
            .case-uslugi-modal-next { right: 5px; }
            .case-uslugi-modal-close { top: 10px; right: 10px; }
        }