/* ===== CSS Переменные цветовой гаммы ===== */
:root {
    /* Основной цвет */
    --color-primary: #1B365D;
    
    /* Оттенки основного цвета */
    --color-primary-light: #2E5A88;
    --color-primary-lighter: #4A7AB3;
    --color-primary-dark: #0F1F3A;
    --color-primary-darker: #07101C;
    
    /* Вторичные цвета (на основе основного) */
    --color-secondary: #2A4A73;
    --color-secondary-light: #3D6B9E;
    --color-accent: #1B365D;
    
    /* Цвета для фонов */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-muted: #F1F5F9;
    --bg-dark: var(--color-primary);
    
    /* Цвета текста */
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;
    
    /* Цвета границ */
    --border-color: #D1D5DB;
    --border-light: #E5E7EB;
    
    /* Тени */
    --shadow-color: rgba(27, 54, 93, 0.1);
    --shadow-color-strong: rgba(27, 54, 93, 0.3);
}

/* Базовые стили */
body {
    font-family: 'Inter', sans-serif;
}

/* Акцентный цвет - новая палитра на основе #1B365D */
.accent-color {
    color: var(--color-primary);
}

.bg-accent {
    background-color: var(--color-primary);
}

.hover-bg-accent:hover {
    background-color: var(--color-primary-light);
}

/* Анимация волнистого круга */
.wave-circle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wave-circle::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Плавающая карточка */
.floating-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Ссылки навигации */
.nav-link {
    transition: color 0.3s ease;
    color: #000000 !important;
}

/* Фикс для отображения меню на ноутбуках с масштабированием */
.desktop-nav {
    display: none !important;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex !important;
    }
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

/* Основная кнопка */
.btn-primary {
    transition: all 0.3s ease;
    font-size: 1.1rem !important;
    padding: 18px 32px !important;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(27, 54, 93, 0.45);
}

.btn-primary .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(5px);
}

/* Вторичная кнопка */
.btn-secondary {
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(27, 54, 93, 0.45);
}

/* Иконка стрелки */
.arrow-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
    transform: translate(2px, -2px);
}

/* ===== Стили для секции "Проблемы" ===== */

/* 1. Обертка карточки - содержит декоративную верхнюю границу */
.folder-card-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    padding-top: 50px;
    margin-top: -50px;
    z-index: 10;
}   

/* 2. Зеленая окантовка */
.folder-tab {
    position: relative;
    width: 100%;
    height: 6px;
}

/* Левая часть синей вкладки (высота 50px) */
.folder-tab-left {
    position: absolute;
    top: -25px;
    left: 0;
    width: 31%;
    height: 80px;
    background-color: var(--color-primary);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    z-index: 1;
}


/* Правая часть синей линии (высота 25px) */
.folder-tab-right {
    position: absolute;
    top: 0;
    left: 30%;
    width: 70%;
    height: 35px;
    background-color: var(--color-primary);
    border-top-right-radius: 16px;
    z-index: 1;
}

/* ===== 3. Белая вкладка (перекрывает зеленый фон внутри) ===== */

.folder-white-tab {
    position: relative;
    width: 100%;
    height: 0;
}

/* Левая часть белой вкладки (чуть ниже зеленой, чтобы оставить зеленый бортик) */
/* Левая часть белой вкладки */
.folder-white-tab-left {
    position: absolute;
    /* Было -25px. Поставим -18px, чтобы опустить белую плашку ниже 
       и сделать зелёный бортик сверху более широким и заметным */
    top: -25px; 
    left: 0px;
    width: 30%;
    height: 50px; /* Уменьшили высоту на 3px, чтобы снизу ничего не вылезло */
    background-color: #ffffff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    z-index: 3;
}

/* Правая белая часть (накрывает зеленую 25px панель, оставляя только верхнюю линию) */
/* Правая белая часть */
.folder-white-tab-right {
    position: absolute;
    /* Увеличиваем top (было 4px). Установим 10px или 12px, 
       чтобы опустить белый блок и сделать зелёную линию толще */
    top: 4px; 
    left: 30%;
    width: 70%;
    /* Обязательно возвращаем высоту (например, 20px), чтобы блок работал */
    height: 25px; 
    background-color: #ffffff;
    border-top-right-radius: 16px;
    z-index: 2;
}

/* 4. Основная карточка */
.folder-card {
    position: relative;
    background-color: #ffffff;
    /* ОПУСКАЕМ ВЕСЬ БЕЛЫЙ БЛОК НИЖЕ: 
       Чем больше значение, тем толще зеленая линия сверху! */
    margin-top: 16px; 
    border-radius: 16px 16px 16px 16px;
    overflow: visible !important;
    z-index: 1;
    isolation: isolate;
    will-change: transform;
}


/* 4. Контентный блок */
.card-light-block {
    background-color: transparent; 
    padding: 2rem 2rem 2rem 2rem;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;   
}
/* Нижний синий блок */
.card-accent-block {
    background-color: #1B365D;
    padding: 2rem;
    border-radius: 16px 16px 16px 16px;
}

/* Номер шага (оставлен для обратной совместимости) */
.step-number {
    color: #1B365D;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Иконка шага */
.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(27, 54, 93, 0.08);
    border-radius: 12px;
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

/* Заголовок карточки */
.card-title {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.3;
}

/* Описание карточки */
.card-description {
    color: #6b7280;
    line-height: 1.7;
}

.card-description strong {
    color: #374151;
    font-weight: 600;
}

/* Подзаголовок результата */
.result-subtitle {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

/* Основной текст результата */
.result-main-text {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Вторичный текст результата */
.result-secondary-text {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.6;
}

/* ===== Стили для модального окна ===== */

/* Оверлей модального окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Контент модального окна */
.modal-content {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Кнопка закрытия */
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    color: var(--text-muted);
}

.modal-close-btn:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-close-btn svg {
    width: 24px;
    height: 24px;
}

/* Заголовок модального окна */
.modal-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Форма в модальном окне */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-form .form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.modal-form .form-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--bg-primary);
}

.modal-form .form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
}

.modal-form .form-input::placeholder {
    color: var(--text-light);
}

/* Кнопка отправки в модальном окне */
.modal-submit-btn {
    margin-top: 0.5rem;
    width: 100%;
}

/* Скрытое состояние */
.hidden {
    display: none !important;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .modal-overlay {
        padding: 0.5rem;
    }

    .modal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-subtitle {
        font-size: 0.85rem;
    }

    .modal-form .form-input {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }
}
/* --- Плавный внутренний угол для СИНЕЙ окантовки --- */
.folder-tab-left::after {
    content: '';
    position: absolute;
    right: -16px; 
    
    /* ⬆️ ПОДНИМАЕМ ВВЕРХ: Увеличь это число (например, 25px, 28px, 30px), 
       пока угол не встанет идеально на уровень нижней синей линии */
    bottom: 25px; 
    
    width: 16px;
    height: 16px;
    
    /* ТУТ УКАЖИ СВОЙ СИНИЙ ЦВЕТ вместо #1C355E */
    background: radial-gradient(circle at top right, transparent 16px, #1C355E 16.5px);
    z-index: 1;
}

/* --- Плавный внутренний угол для БЕЛОЙ вкладки --- */
.folder-white-tab-left::after {
    content: '';
    position: absolute;
    right: -16px;
    
    /* ⬆️ ПОДНИМАЕМ ВВЕРХ: Это значение должно быть чуть меньше, чем у синего блока 
       (разница равна толщине твоей верхней синей линии) */
    bottom: 13px; 
    
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at top right, transparent 16px, #ffffff 16.5px);
    z-index: 3;
}
/* Анимация появления при скролле */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    overflow: visible;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Плавные переходы для всех интерактивных элементов */
* {
    scroll-behavior: smooth;
}

/* ===== Стили для секции "Обо мне" ===== */

/* Основная секция */
.about-section {
    background-color: #F8F9FA;
    font-family: 'Inter', sans-serif;
}

/* Заголовок секции */
.about-title {
    color: #1F2937;
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 5rem;
    font-weight: 700;
    text-align: center;
}

.about-title .font-bold:last-child {
    color: var(--color-primary);
    font-weight: 800;
}

/* Grid-раскладка для основного контента */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

/* Левая колонка */
.about-left-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Список с кастомными маркерами */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: #1F2937;
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* Блок цитаты */
.about-quote {
    position: relative;
    background-color: rgba(27, 54, 93, 0.05);
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1rem;
}

.quote-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quote-icon {
    color: var(--color-primary);
    font-size: 2rem;
    line-height: 1;
}

.quote-text {
    color: #1F2937;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.quote-bold {
    font-weight: 700;
}

.quote-highlight {
    border-bottom: 2px solid var(--color-primary);
}

/* Центральная колонка - фото */
.about-center-col {
    display: flex;
    justify-content: center;
}

.photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 20px;
}

.photo-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-color: var(--color-primary);
    border-radius: 16px;
    transform: rotate(-3deg);
    z-index: 0;
}

/* 1. Новый контейнер, который работает как окно с фиксированным размером */
.photo-crop {
    position: relative;
    z-index: 1;
    overflow: hidden; /* Обрезает все, что выходит за рамку */
    border: 6px solid #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3 / 4; /* Фиксирует пропорции портрета (можно настроить) */
}

/* 2. Масштабирование самого изображения */
.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.45) translateX(-15px) translateY(12px); /* Увеличение снимка в 1.6 раза */
    transform-origin: center bottom; /* Фокусировка на верхней части портрета */
}

/* Правая колонка - статистика */
.about-right-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #6B7280;
    margin-top: 0.25rem;
}

/* ===== Медиа-запросы для мобильной версии ===== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .about-right-col {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-around;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Порядок на мобильных: текст со списком, затем фото, затем статистика, затем цитата */
    .about-left-col {
        order: 1;
    }

    .about-center-col {
        order: 2;
    }

    .about-right-col {
        order: 3;
        flex-direction: row;
        justify-content: space-around;
        gap: 1.5rem;
    }

    .about-quote {
        order: 4;
    }

    .photo-wrapper {
        max-width: 280px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-right-col {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .stat-item {
        align-items: center;
        text-align: center;
    }

    .quote-photo-placeholder {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
}

/* ===== Стили для секции "Основная задача в работе" ===== */

/* Главный контейнер с фоном */
.main-task-container {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1200');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Заголовок */
.main-task-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

.main-task-title .font-bold {
    font-weight: 700;
}

.main-task-title .font-normal {
    font-weight: 400;
}

/* Список задач */
.main-task-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Элемент списка */
.task-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Маркер (белый круг) */
.task-marker {
    width: 12px;
    height: 12px;
    min-width: 12px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

/* Текст задачи */
.task-text {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Позиционирование "лесенкой" на десктопе */
.task-item-first {
    align-self: flex-start;
}

.task-item-center {
    align-self: center;
}

.task-item-end {
    align-self: flex-end;
}

/* ===== Медиа-запросы для мобильной версии ===== */

@media (max-width: 768px) {
    .main-task-container {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .main-task-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Сбрасываем лесенку на мобильных */
    .task-item-first,
    .task-item-center,
    .task-item-end {
        align-self: flex-start;
    }

    .task-text {
        font-size: 1rem;
    }

    .main-task-list {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-task-container {
        padding: 1.5rem 1rem;
    }

    .main-task-title {
        font-size: 1.25rem;
    }

    .task-text {
        font-size: 0.95rem;
    }

    .task-marker {
        width: 10px;
        height: 10px;
        min-width: 10px;
    }
}

/* ===== Стили для секции "Преимущества" ===== */

.advantages-section {
    background-color: var(--bg-primary);
    font-family: 'Inter', sans-serif;
}

/* Шапка секции */
.advantages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

/* Заголовок */
.advantages-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
}

.title-bold {
    font-weight: 700;
}

.title-light {
    font-weight: 400;
    color: var(--text-secondary);
}

/* Бейдж */
.advantages-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    white-space: nowrap;
}

.badge-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.badge-text {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.badge-bold {
    font-weight: 700;
}

/* Сетка карточек */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Карточка преимущества */
.advantage-card {
    padding: 24px;
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Иконка карточки */
.card-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.card-icon-svg {
    width: 48px;
    height: 48px;
}

/* Заголовок карточки */
.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.4;
    margin: 0;
}

/* Описание карточки */
.card-description {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
}

.hero-background-image {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-background-image::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("bg1.png");
    background-size: cover;
    background-position: center;

    filter: blur(3px);
    -webkit-filter: blur(3px);
    /* z-index: -1; */
}

/* .block-blur{
    background-color: rgba(255, 255, 255, 0.4); 
} */
/* ===== Медиа-запросы для адаптивности ===== */

/* Планшеты */
@media (max-width: 992px) {
    .advantages-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .advantages-title {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .advantage-card {
        padding: 20px;
    }
}

/* Телефоны */
@media (max-width: 600px) {
    .advantages-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .advantages-header {
        margin-bottom: 2rem;
        gap: 1rem;
    }

    .advantages-title {
        font-size: 1.5rem;
    }

    .advantages-badge {
        padding: 0.6rem 1rem;
    }

    .badge-text {
        font-size: 0.85rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantage-card {
        padding: 16px;
        gap: 0.75rem;
    }

    .card-icon,
    .card-icon-svg {
        width: 40px;
        height: 40px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.9rem;
    }
}

/* ===== Стили для секции "Отзывы" ===== */

.reviews-section {
    background-color: var(--bg-secondary);
    font-family: 'Inter', sans-serif;
}

/* Заголовок */
.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

/* Сетка отзывов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Карточка отзыва */
.review-card {
    background-color: var(--bg-primary);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-color-strong);
}

/* Шапка отзыва */
.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

/* Аватар */
.reviewer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Информация о клиенте */
.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.reviewer-business {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Звёзды рейтинга */
.review-stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

/* Текст отзыва */
.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 12px 0;
    font-style: italic;
}

/* Дата отзыва */
.review-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .reviews-title {
        font-size: 2rem;
    }
}

/* Адаптивность для телефонов */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .review-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .reviews-title {
        font-size: 1.5rem;
    }

    .review-header {
        gap: 12px;
    }

    .reviewer-avatar {
        width: 48px;
        height: 48px;
    }

    .reviewer-name {
        font-size: 1rem;
    }

    .reviewer-business {
        font-size: 0.8rem;
    }

    .review-stars {
        font-size: 1.1rem;
    }

    .review-text {
        font-size: 0.9rem;
    }
}

/* ===== Стили для секции "Услуги" ===== */

.services-section {
    background-color: var(--bg-primary);
    font-family: 'Inter', sans-serif;
}

/* Бегущая строка - увеличенный размер */
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: var(--color-primary);
    padding: 20px 0;
    position: relative;
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: ticker-scroll 40s linear infinite;
    will-change: transform;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-content span {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    padding-right: 0;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

/* Заголовок секции */
.services-title {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: left;
}

.services-title strong {
    font-weight: 700;
}

.title-secondary {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Сетка карточек */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Карточка услуги */
.service-card {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

/* Индикаторы (точки) */
.card-indicators {
    display: flex;
    gap: 8px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
}

/* Название услуги */
.service-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Описание услуги */
.service-description {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Блок результата */
.service-result {
    margin-bottom: 1.5rem;
}

.result-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

.result-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Подвал карточки */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

/* Блок цены */
.price-block {
    background-color: var(--bg-primary);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    white-space: nowrap;
}

/* Кнопка услуги */
.service-button {
    background-color: var(--color-primary);
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.service-button:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
}

/* Кнопка с иконкой WhatsApp */
.service-button-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
}

/* ===== Медиа-запросы для адаптивности ===== */

/* Планшеты */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-title {
        font-size: 2.5rem;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .price-block {
        text-align: center;
    }

    .service-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ticker-wrapper {
        padding: 14px 0;
    }

    .ticker-content span {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 20px;
    }

    .ticker-wrapper {
        padding: 10px 0;
    }

    .ticker-content span {
        font-size: 1rem;
    }
}

/* ===== Стили для секции "Кейсы" ===== */

.cases-section {
    background-color: var(--bg-primary);
    font-family: 'Inter', sans-serif;
}

/* Заголовок секции */
.cases-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: left;
}

.cases-title .title-bold {
    font-weight: 700;
}

.cases-title .title-light {
    font-weight: 400;
    color: var(--text-secondary);
}

/* Навигация (Табы) */
.cases-tabs {
    display: flex;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.case-tab {
    flex: 1;
    padding: 12px 24px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    border-right: 1px solid var(--color-primary);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.case-tab:last-child {
    border-right: none;
}

.case-tab.active {
    background-color: var(--color-primary);
    color: var(--text-white);
}

.case-tab:hover:not(.active) {
    background-color: var(--bg-secondary);
}

/* Карточка кейса - обертка */
.case-card-wrapper {
    position: relative;
}

/* Скрытые карточки */
.case-card-wrapper.hidden {
    display: none;
}

/* Стили для контента внутри card-light-block */
.case-card-wrapper .card-light-block {
    padding: 40px;
}

/* Заголовок кейса */
.case-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Вводный список */
.case-intro-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.case-intro-list li {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Блок "Что сделали" */
.case-actions {
    margin-bottom: 2rem;
}

.actions-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Grid для списка действий */
.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.action-item {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.action-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* Блок "Результат" */
.case-result {
    margin-top: 2rem;
}

.result-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.result-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* ===== Медиа-запросы для адаптивности ===== */

/* Планшеты и мобильные */
@media (max-width: 768px) {
    .cases-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Табы с горизонтальным скроллом */
    .cases-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .case-tab {
        min-width: 120px;
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .case-card-wrapper .card-light-block {
        padding: 24px;
    }

    .case-heading {
        font-size: 1.5rem;
    }

    /* Список действий в 1 колонку */
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cases-title {
        font-size: 1.5rem;
    }

    .case-card-wrapper .card-light-block {
        padding: 20px;
    }

    .case-heading {
        font-size: 1.25rem;
    }

    .case-tab {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* ===== Стили для CTA-секции бесплатной консультации ===== */

.consultation-cta-section {
    background-color: var(--bg-muted);
    font-family: 'Inter', sans-serif;
}

/* Контент внутри card-light-block */
.consultation-cta-section .card-light-block {
    padding: 40px;
}

/* Grid раскладка */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Левая колонка - текст */
.cta-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Заголовок */
.cta-main-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
}

.cta-main-title .title-bold {
    font-weight: 700;
}

.cta-main-title .title-accent {
    color: var(--color-primary);
    font-weight: 700;
}

/* Описание */
.cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Список преимуществ */
.cta-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 2px;
}

.cta-benefits-list li span {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Правая колонка - форма */
.cta-form-col {
    display: flex;
    flex-direction: column;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.form-input::placeholder {
    color: var(--text-light);
}

/* Кнопка отправки */
.cta-submit-btn {
    display: flex;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    margin-top: 0.5rem;
}

.cta-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-color-strong);
}

.cta-submit-btn .btn-text {
    background-color: var(--color-primary);
    color: var(--text-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 24px;
    border-radius: 8px 0 0 8px;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.cta-submit-btn .btn-icon {
    background-color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}

.cta-submit-btn .btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-white);
}

/* Дисклеймер */
.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* ===== Медиа-запросы для адаптивности ===== */

/* Планшеты */
@media (max-width: 992px) {
    .cta-grid {
        gap: 30px;
    }

    .cta-main-title {
        font-size: 2rem;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .consultation-cta-section .card-light-block {
        padding: 24px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-main-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-submit-btn .btn-text {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .cta-submit-btn .btn-icon {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .consultation-cta-section .card-light-block {
        padding: 20px;
    }

    .cta-main-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 0.95rem;
    }

    .form-input {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .cta-submit-btn .btn-text {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .cta-submit-btn .btn-icon {
        padding: 12px 14px;
    }

    .cta-submit-btn .btn-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== Стили для секции "Футер / Контакты" ===== */

.footer-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1920');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    overflow: hidden;
}

/* Темный градиент поверх фона */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 0;
}

/* Контент поверх градиента */
.footer-section > div {
    position: relative;
    z-index: 1;
}

/* Блок контента (смещен вправо) */
.footer-content-wrapper {
    max-width: 50%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Заголовок футера */
.footer-title {
    font-size: 3rem;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
    text-align: left;
}

.footer-title .title-highlight {
    font-weight: 700;
}

/* Описание футера */
.footer-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    position: relative;
    padding-left: 1.5rem;
}

/* Кастомный буллит (точка) слева */
.footer-description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

/* Блок соцсетей */
.social-links-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0.5rem;
}

/* Новая ссылка соцсети */
.social-link-new {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    max-width: fit-content;
}

.social-link-new:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.social-link-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: #FFFFFF;
}

.social-link-label {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Нижняя строка футера */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Логотип */
.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFFFFF;
    letter-spacing: 0.05em;
}

/* Ссылки футера */
.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}


.footer-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ===== Медиа-запросы для адаптивности ===== */

/* Планшеты */
@media (max-width: 992px) {
    .footer-content-wrapper {
        max-width: 70%;
    }

    .footer-title {
        font-size: 2.5rem;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .footer-section {
        border-radius: 0;
    }

    .footer-content-wrapper {
        max-width: 100%;
    }

    .footer-title {
        font-size: 2rem;
        text-align: center;
    }

    .footer-description {
        text-align: center;
        padding-left: 0;
    }

    .footer-description::before {
        display: none;
    }

    .social-links-group {
        align-items: center;
    }

    .social-link-new {
        max-width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 1.75rem;
    }

    .footer-description {
        font-size: 0.95rem;
    }

    .social-link-new {
        padding: 10px 16px;
    }

    .social-link-icon {
        width: 20px;
        height: 20px;
    }

    .social-link-label {
        font-size: 0.85rem;
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-link {
        font-size: 0.8rem;
    }
}

/* ===== Фоновые декоративные элементы главного экрана ===== */

.hero-bg-element {
    position: absolute;
    z-index: 0;
    pointer-events: none; /* Чтобы картинки не перекрывали клики по ссылкам и кнопкам */
    width: 350px;
    max-width: 350px;
    height: 700px;
    top: 35%; 
    opacity: 0.9;
    filter: blur(4px); /* Сделал размытие чуть сильнее (4px вместо 2px), чтобы картинки не отвлекали от текста */
    object-fit: contain;
}

/* Позиционирование левой картинки */
.hero-bg-left {
    left: 0px; /* Чуть сдвинул за край экрана, чтобы смотрелось естественнее */
}

/* Позиционирование правой картинки */
.hero-bg-right {
    right: 0px;
}

/* ===== Смещение главного фото (Екатерины) вверх ===== */

.hero-image-shifted {
    margin-top: -80px;
    transition: margin-top 0.3s ease; /* Плавный скачок при изменении размера окна браузера */
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .hero-image-shifted {
        margin-top: -30px;
    }
}

/* На мобильных телефонах смещение лучше убирать, чтобы блоки не наезжали друг на друга */
@media (max-width: 768px) {
    .hero-image-shifted {
        margin-top: 0;
    }
}