 /* --- 1. БАЗОВЫЕ НАСТРОЙКИ --- */
        :root {
            --color-light-blue: #cbe7f2;
            --color-mint: #a2dabf;
            --color-lavender: #d4c4f1;
            --color-purple: #bc9bea;
            --color-peach: #fdc178;
            --color-brown: #95654e;
            --color-deep-indigo: #33316d;
            --color-line: #383673;
            --font-main: 'Rubik', sans-serif;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: var(--font-main);
            background-color: #fff;
            color: var(--color-deep-indigo);
            padding-top: 100px; /* Отступ под фиксированный хедер */
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }

        a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
        a:hover { opacity: 0.7; }
        ul { list-style: none; }
        button { border: none; background: none; cursor: pointer; padding: 0; }

        /* --- 2. HEADER ОБЩИЕ СТИЛИ --- */
        .header {
            position: fixed;
            top: 0; left: 0;
            width: 100%;
            height: 100px;
            background: #FFFFFF;
            box-shadow: 0px 4px 4px rgba(222, 222, 222, 0.25);
            z-index: 1000;
            display: flex;
            align-items: center;
        }

        .header-container {
			display: flex;
			align-items: center;
			justify-content: flex-start; 
			width: 100%;
			height: 100%;
			position: relative;
		}

        /* ЛЕВЫЙ БЛОК (Лого) */
        .header-left { z-index: 2; }
        .logo-svg {
            display: block;
            width: 217px;
            height: 47px;
        }

        /* СРЕДНИЙ БЛОК (Центральный контент) */
        .header-center {
			/* Убираем абсолютное позиционирование */
			position: static; 
			transform: none;
			left: auto;
			
			/* Сохраняем размеры */
			width: 728px;
			height: 67px;
			margin-left: auto;
			margin-right: auto;
			
			/* Остальные стили */
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			align-items: stretch;
			
			/* Добавим минимальные отступы, чтобы не слипался с лого и кнопкой */
			/* Если нужны жесткие 54px как в первом ТЗ, раскомментируй строку ниже: */
			/* margin-left: 54px; margin-right: 54px; */ 
		}

        /* ВЕРХНЯЯ ЧАСТЬ ЦЕНТРАЛЬНОГО БЛОКА */
        .top-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: auto;
            font-size: 12px;
            color: var(--color-line);
            padding-bottom: 3px; /* Отступ до линии */
        }

        /* Левая часть адреса */
        .top-left {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
        }
        .icon-placeholder-sm {
            width: 16px; height: 16px;
            background-color: var(--color-line);
            border-radius: 4px;
            display: inline-block;
        }

        /* Центральная часть (мессенджеры) */
        .top-center {
            display: flex;
            align-items: center;
            gap: 10px;
            width: auto;
        }
        .messenger-icon {
            width: 20px;
            height: 20px;
            background-color: var(--color-line);
            border-radius: 4px;
            display: block;
        }

        /* Правая часть (Телефон + Режим) */
        .top-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            justify-content: flex-end;
            text-align: right;
        }
        .phone-wrapper {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 16px;
            font-weight: 500;
        }
        .work-hours {
            font-size: 10px;
            margin-left: 8px;
            opacity: 0.9;
        }
        .icon-phone {
            width: 16px; height: 16px;
            background-color: var(--color-line);
            border-radius: 4px;
        }

        /* РАЗДЕЛИТЕЛЬ */
        .divider {
            width: 100%;
            height: 2px;
            background-color: var(--color-line);
            border-radius: 2px; /* Закругленные края */
            margin: 4px 0; /* Небольшой отступ сверху и снизу от контента */
        }

        /* НИЖНЯЯ ЧАСТЬ (МЕНЮ) */
        .bottom-row {
            display: flex;
            justify-content: space-between; /* Равномерно: первый слева, последний справа */
            align-items: center;
            height: auto;
            padding-top: 6px;
        }

        .menu-item {
            font-size: 14px;
            color: var(--color-line);
            font-weight: 500;
            white-space: nowrap;
        }

        /* МОБИЛЬНЫЕ ЭЛЕМЕНТЫ (Скрыты на десктопе) */
        .mobile-buttons-wrapper { display: none; }
        .burger-btn { display: none; }
        .burger-line {
            display: block; width: 36px; height: 2px;
            background-color: #383673; margin-bottom: 10px; border-radius: 2px;
        }
        .burger-btn { display: none; flex-direction: column; justify-content: center; width: 36px; }
        .burger-btn .burger-line:last-child { margin-bottom: 0; }

        
        .mob-btn-1 { background-color: #d4c4f1; }
        .mob-btn-2 { background-color: #a2dabf; }
        .icon-placeholder-lg {
            width: 24px; height: 24px;
            background-color: rgba(51, 49, 109, 0.3);
            border-radius: 4px;
        }
		.desktop-callback {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 195px;
			padding: 12px 20px; /* Подобрал по высоте, чтобы текст 14px смотрелся гармонично */
			
			background: linear-gradient(96.21deg, #A2DABF 36.48%, #FDC178 125.94%);
			box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
			border-radius: 20px;
			
			color: #FFFFFF;
			font-size: 14px;
			font-weight: 500;
			white-space: nowrap;
			transition: opacity 0.3s ease, transform 0.2s ease;
		}

		.btn-request:hover {
			opacity: 0.9;
			transform: translateY(-2px);
		}
		.hero {
			/* Общие параметры */
			background: linear-gradient(98.3deg, #BC9BEA -6.82%, #FDC178 89.71%);
			border-radius: 30px;
			width: 100%;
			
			/* Базовые стили (Десктоп по умолчанию) */
			margin-top: 40px; /* Отступ от header */
			padding: 40px;    /* Внутренний отступ */
		}
				/* Контейнер внутри секции для позиционирования левого и правого блока */
		.hero-wrapper {
			display: flex;
			justify-content: space-between;
			align-items: flex-start; /* Выравнивание по верху */
			gap: 40px; /* Отступ между левым и правым блоком на десктопе */
			width: 100%;
		}

		/* ================= ЛЕВЫЙ БЛОК ================= */
		.hero-left {
			padding: 20px; /* Десктоп */
			width: auto;
			flex: 1; /* Занимает доступное место */
			color: #FFFFFF;
		}

		.hero-left h1 {
			font-size: 48px;
			font-weight: 700;
			line-height: 1.2;
			margin: 0;
		}

		.hero-divider {
			width: 200px;
			height: 5px;
			background-color: #FFFFFF;
			border-radius: 5px; /* Закругленные края */
			margin-top: 45px;
			margin-bottom: 45px;
		}

		.hero-left h2 {
			font-size: 24px;
			font-weight: 500;
			line-height: 1.4;
			margin: 0;
		}

		.hero-btn {
			display: flex;
			align-items: center;
			justify-content: center;
			margin-top: 60px;
			
			background: #FFFFFF;
			box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.1);
			border-radius: 10px;
			
			color: #948BDB;
			font-size: 22px;
			font-weight: 700;
			text-align: center;
			text-decoration: none;
			
			/* Расчет высоты через padding вместо жесткой height */
			padding: 18px 40px; 
			width: fit-content; /* Ширина по контенту, но не меньше */
			min-width: 560px; /* Минимальная ширина как в ТЗ */
			
			transition: transform 0.2s, box-shadow 0.2s;
		}

		.hero-btn:hover {
			transform: translateY(-2px);
			box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.15);
		}

		/* ================= ПРАВЫЙ БЛОК (ФОРМА) ================= */
		.hero-right {
			/* Общие параметры */
			background: rgba(255, 255, 255, 0.25);
			
			border-radius: 20px;
			
			/* Десктоп */
			padding: 30px;
			max-width: 430px; /* Вместе с padding */
			width: 100%;
			flex-shrink: 0; /* Не сжимать */
			
			color: #FFFFFF; /* Текст внутри белый по ТЗ */
		}

		.hero-right h3 {
			font-size: 24px;
			font-weight: 700;
			text-align: center;
			margin: 0 0 20px 0;
		}

		.hero-form {
			display: flex;
			flex-direction: column;
			gap: 20px; /* Расстояние между полями */
		}

		.hero-form input {
			width: 100%;
			height: 50px; /* Итоговая высота */
			padding: 0 20px; /* Вычисляемый padding для высоты 50px при 16px шрифте */
			
			background: rgba(255, 255, 255, 0.51);
			border: none;
			border-radius: 10px;
			
			font-size: 16px;
			color: #888888;
			font-family: var(--font-main);
			outline: none;
			box-sizing: border-box;
		}

		.hero-form input::placeholder {
			color: #888888;
			opacity: 1;
		}

		.form-submit {
			width: 100%;
			padding: 15px 20px; /* Подбор под высоту и шрифт */
			height: auto;
			min-height: 50px;
			
			background: #FFFFFF;
			box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.1);
			border-radius: 10px;
			border: none;
			cursor: pointer;
			
			color: #948BDB;
			font-size: 20px;
			font-weight: 700;
			font-family: var(--font-main);
			text-align: center;
			
			transition: transform 0.2s;
		}

		.form-submit:hover {
			transform: translateY(-2px);
		}
		.section-cloud {
			position: relative;
			width: 100%;
			/* Градиент фона */
			background: linear-gradient(180deg, #F2F5FF 0%, #FFFFFF 104.51%);
			/* Добавим отступ сверху, равный высоте облака, чтобы контент не наезжал, 
			   но заголовок мы будем позиционировать абсолютно или через margin */
			padding-top: 188px; 
			padding-bottom: 60px; /* Базовый отступ снизу */
			overflow: hidden; /* Обрезаем выходящие края SVG на мобильных */
			margin-top:20px;
		}

		/* Псевдо-элемент для SVG облака */
		.section-cloud::before {
			content: '';
			position: absolute;
			top: 0;
			left: 50%;
			transform: translateX(-50%);
			
			/* Жесткая высота и ширина SVG */
			width: 1920px;
			height: 188px;
			
			/* Вставляем SVG как background-image. 
			   Замени URL на путь к твоему файлу или используй base64/inline SVG */
			background-image: url(../img/cloud.svg); 
			background-size: contain;
			background-repeat: no-repeat;
			background-position: center bottom;
			
			/* Цвет облака должен совпадать с началом градиента секции */
			/* Если SVG имеет свой цвет внутри файла, этот фильтр не нужен. 
			   Если SVG монохромное (черное), раскомментируй filter ниже: */
			/* filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0) brightness(0) contrast(0); */
			
			z-index: 1;
			pointer-events: none;
			    margin-top: -16px;
		}

		/* Контейнер внутри секции */
		.section-cloud .container {
			position: relative;
			z-index: 2; /* Контент выше облака */
		}
		/* Заголовок H2 (Десктоп и Планшет) */
		.section-cloud h2 {
			font-size: 48px;
			font-weight: 800; /* ExtraBold */
			color: #383673;
			margin: 0;
			   
			margin-top: -58px; /* Примерная коррекция, зависит от line-height */
			line-height: 1.2;
			text-align: center; /* Обычно такие заголовки центрируют, если не указано иное */
		}
/* Отступ контента от H2 */
.about-content {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    gap: 40px; /* Отступ между колонками */
    align-items: flex-start;
}

/* ЛЕВЫЙ БЛОК: ТЕКСТ */
.about-text {
    flex: 1;
    color: #383673;
    padding: 0; /* По умолчанию 0, добавим на мобильном */
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ПРАВЫЙ БЛОК: ГАЛЕРЕЯ */
.about-gallery {
    flex: 1;
    padding: 0; /* По умолчанию 0 */
}

/* Главное фото */
.gallery-main {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    max-height: 500px; /* Десктоп ограничение */
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-main:hover img {
    transform: scale(1.02);
}

/* Контейнер миниатюр */
.gallery-thumbs {
    margin-top: 40px;
    display: flex;
    justify-content: space-between; /* Равномерное распределение */
    gap: 10px; /* Небольшой базовый_gap, но основные отступы через justify-content */
    width: 100%;
}

.thumb-item {
    flex: 1; /* Растягиваем равномерно */
    aspect-ratio: 1 / 1; /* Квадратные миниатюры */
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.thumb-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumbs {
    padding: 0; 
}

.modal-overlay {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 49, 109, 0.9); /* Темный фон */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    user-select: none;
    -webkit-user-drag: none;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}

.modal-close:hover { color: #fdc178; }

.modal-prev, .modal-next {
	height: 100px;
    width: 100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    user-select: none;
}

.modal-prev:hover, .modal-next:hover {
    background: rgba(255,255,255,0.4);
}

.modal-prev { left: 20px; }
.modal-next { right: 20px; }


/* --- СЕКЦИЯ "ПОЧЕМУ ВЫБИРАЮТ НАС" --- */
.why-us-section {
    /* Отступы сверху от предыдущего блока */
    margin-top: 100px; /* Десктоп */
    
    /* Фон и радиус */
    background: radial-gradient(50% 50% at 50% 50%, #A2E4DE 0%, #A2DABF 100%);
    border-radius: 40px;
    
    /* Отступы по краям экрана */
    margin-left: 40px;
    margin-right: 40px;
    
    position: relative;
}

.why-us-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding:100px 0;
}

/* ================= ЛЕВЫЙ БЛОК (СТАТИЧНЫЙ) ================= */
.why-us-left {
    /* Механика липкого позиционирования */
    position: sticky;
    top: 140px; /* Отступ сверху при "прилипании" */
    
    width: calc(100% - 550px - 40px); /* Ширина = Все - ПравыйБлок - Отступ */
    color: #fff;
    flex-shrink: 0;
}

.why-us-left h2 {
    font-size: 76px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
    text-align: left;
}

.why-us-text {
    margin-top: 60px;
    font-size: 18px; /* Базовый размер, можно уточнить */
    line-height: 1.6;
    opacity: 0.9;
}
.why-us-text p { margin-bottom: 20px; }

/* ================= ПРАВЫЙ БЛОК (СКРОЛЛ) ================= */
.why-us-right {
    width: 550px; /* Макс ширина на десктопе */
    max-width: 100%;
    padding-top: 40px; /* Выравнивание начала карточек */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Карточки прижаты вправо */
}

/* ================= КАРТОЧКИ ================= */
.advantage-card {
    width: 90%; /* ~90% от ширины правого блока */
    padding: 40px 60px;
    border-radius: 40px;
    position: relative;
    margin-bottom: 60px; /* Отступ между карточками */
    
    /* Тени и прочее */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* Цвета фонов */
.card-1 { background: #E7F2FB; }
.card-2 { background: #E2E6FF; }
.card-3 { background: #FFF0DE; }

/* Нумерация (Круг) */
.card-number {
    position: absolute;
    top: 0;
    left: 0;
    
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    
    /* Центрирование круга относительно угла карточки */
    transform: translate(-50%, -50%); 
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 42px;
    font-weight: 700;
    color: #FDA23E;
    line-height: 1;
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Заголовок карточки */
.advantage-card h3 {
    text-align: center;
    color: #4EB1A9;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

/* Список преимуществ */
.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #33316d; /* Базовый цвет текста */
    line-height: 1.4;
}

.card-list li:last-child { margin-bottom: 0; }

/* Заглушка иконки галочки */
.check-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #4EB1A9; /* Цвет заглушки */
    border-radius: 50%;
    flex-shrink: 0;
    /* Сюда потом вставишь SVG через background-image или тегом img */
}
 /* Класс-помощник для скрытия мобильного центра на десктопе */
        .header-center-mobile { display: none; }
		


/* --- СЕКЦИЯ УСЛУГИ И ЦЕНЫ --- */

/* Заголовок (уже был у тебя, дублирую для контекста) */
.services-price-section h2 {
    font-size: 48px;
    font-weight: 800;
    color: #383673;
    margin-top: 120px;
    margin-bottom: 60px;
    text-align: center;
}

/* Описание */
.services-description {
    max-width: 850px;
    margin: 0 auto 60px; /* Отступ снизу до сетки */
    text-align: center;
    color: #383673;
    line-height: 1.6;
}

.services-description p {
    margin-bottom: 15px;
}
.services-description p:last-child { margin-bottom: 0; }

/* Обертка для сетки/слайдера */
.services-wrapper {
    position: relative;
    /* На мобильных добавим padding по бокам, чтобы стрелки вылезали, но контент не прилипал */
    padding: 0 10px; 
    margin: 0 -10px; /* Компенсация паддинга контейнера, если нужно на всю ширину внутри section */
}

/* Сетка */
.services-grid {
    display: grid;
    gap: 40px; /* Отступ между карточками */
    margin-top: 60px; /* Отступ от текста */
    
    /* Десктоп: 3 колонки */
    grid-template-columns: repeat(3, 1fr);
}

/* Карточка */
.service-card {
    background: #E7F2FB;
    border-radius: 40px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Чтобы карточки в ряду были одной высоты */
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 25px;
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 24px;
    color: #383673;
    font-weight: 700;
    margin: 0 0 30px 0;
}

.card-divider {
    width: 100%;
    height: 1px;
    background-color: #383673;
    margin-bottom: 30px;
}

/* Список услуг */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
    text-align: left; /* Текст списка слева, хоть карточка центрирована */
    padding-left: 10px; /* Небольшой отступ слева для красоты */
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px; /* Расстояние между иконками по высоте */
    font-size: 16px;
    color: #383673;
    line-height: 1.4;
}

.service-list li:last-child { margin-bottom: 0; }

/* Заглушка иконки 40x40 */
.list-icon-placeholder {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #383673; /* Цвет заглушки */
    border-radius: 8px;
    flex-shrink: 0;
}

/* Цены */
.price-old {
    font-size: 24px;
    color: #C0C0C0;
    text-decoration: line-through;
    margin-bottom: 10px;
    font-weight: 500;
}

.price-new {
    font-size: 36px;
    color: #5AD599;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Кнопка */
.card-btn {
    background-color: #FDC178;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    font-family: var(--font-main);
}

.card-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Стрелки навигации (скрыты на десктопе/планшете) */
.slider-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #5AD599;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: opacity 0.3s;
}

.slider-arrow:hover { opacity: 0.8; }

.services-price-section {
    position: relative; /* Чтобы круги позиционировались внутри */
    overflow: hidden;   /* Обрезает круги по border-radius секции */
    z-index: 0;         /* Контекст наложения */
	padding-bottom:120px;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1; /* Убираем на задний план, под контент */
    pointer-events: none; /* Чтобы не мешали кликам */
}

/* Ellipse 1: #E7F2FB, 0.3 opacity, слева сверху/посередине */
.circle-1 {
    width: 40vw;  /* Адаптивный размер вместо 546px */
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    background: #E7F2FB;
    opacity: 0.3;
    top: 10%;
    left: -5%;
}

/* Ellipse 2: #5AD599, 0.05 opacity, справа сверху */
.circle-2 {
    width: 30vw;
    height: 30vw;
    max-width: 450px;
    max-height: 450px;
    background: #5AD599;
    opacity: 0.05;
    top: 5%;
    right: -5%;
}

/* Ellipse 3: #E7F2FB, 0.3 opacity, справа ниже */
.circle-3 {
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    background: #E7F2FB;
    opacity: 0.3;
    bottom: 20%;
    right: -10%;
}

/* Ellipse 4: #E2E6FF, 0.3 opacity, большой снизу справа */
.circle-4 {
    width: 30vw;
    height: 30vw;
    max-width: 900px;
    max-height: 900px;
    background: #E2E6FF;
    opacity: 0.3;
    bottom: 1%;
    right: 10%;
}

/* Ellipse 5: #E7F2FB, 0.3 opacity, слева ниже */
.circle-5 {
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    background: #E7F2FB;
    opacity: 0.3;
    bottom: 36%;
    left: 5%;
}

/* Ellipse 6: #FDC178, 0.2 opacity, слева совсем внизу */
.circle-6 {
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    background: #FDC178;
    opacity: 0.2;
    bottom: 1%;
    left: -10%;
}
/* --- СЕКЦИЯ СПЕЦИАЛИСТЫ --- */

.specialists-section {
    /* Десктоп стили секции */
	width:100%;
	max-width:1280px;
    background: #FFFFFF;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.15);
    border-radius: 40px;
    padding: 60px;
    margin:0 auto;
    position: relative;
    overflow: hidden; /* Для обрезки контента внутри */
}

.specialists-section h2 {
    font-size: 48px;
    font-weight: 800;
    color: #383673;
    text-align: center;
    margin: 0;
}

/* Описание */
.specialists-description {
    max-width: 850px;
    margin: 60px auto 0; /* Десктоп отступ 60px */
    text-align: center;
    color: #383673;
    line-height: 1.6;
	z-index:1;
}

.specialists-description p {
    margin-bottom: 15px;
}
.spec-quote {
    display: flex;
    align-items: flex-start; /* Выравнивание по верху, чтобы кавычка не уезжала */
    gap: 12px; /* Расстояние между кавычкой и текстом */
    margin-top: 15px; /* Отступ сверху от должности */
	margin-bottom: 15px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.4); /* Легкий фон для выделения (опционально) */
    border-radius: 12px;
    color: var(--color-deep-indigo); /* Цвет текста как основной */
}

/* Декоративная кавычка */
.quote-icon {
    font-size: 48px; /* Крупный размер */
    line-height: 1;
    color: var(--color-purple); /* Цвет бренда (фиолетовый) */
    font-family: serif; /* Шрифт с засечками для красоты кавычки */
    font-weight: bold;
    margin-top: -5px; /* Чуть приподнять визуально */
    user-select: none; /* Чтобы нельзя было выделить как текст */
}
/* Обертка для сетки/слайдера */
.specialists-wrapper {
    position: relative;
    margin-top: 60px; /* Отступ от текста до карточек */
    padding: 0 10px; /* Чтобы стрелки могли вылезать */
    margin-left: -10px; /* Компенсация паддинга контейнера если нужно */
    margin-right: -10px;
}

/* Сетка */
.specialists-grid {
    display: grid;
    gap: 30px;
    /* Десктоп и Планшет: 2 колонки */
    grid-template-columns: repeat(2, 1fr);
}

/* Карточка */
.spec-card {
    background: #F1F1F1;
    border-radius: 40px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

/* Фото */
.spec-photo {
    width: 100%;
    max-width: 255px;
    height: auto;
    border-radius: 25px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Инфо блок */
.spec-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

/* ФИО (3 строки) */
.spec-info h3 {
    font-size: 22px;
    font-weight: 500;
    color: #383673;
    line-height: 1.2;
    margin: 0 0 15px 0;
    text-align: left;
}

/* Должность */
.spec-position {
    font-size: 16px;
    color: #4EB1A9;
    margin-bottom: 15px;
    text-align: left;
    font-weight: 400;
}

/* Стаж */
.spec-experience {
    font-size: 16px;
    color: #383673;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 400;
}

/* Кнопка */
.spec-btn {
    width: 100%;
    height: 40px;
    background: #FDC178;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    font-family: var(--font-main);
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Стрелки (скрыты на десктопе) */
.slider-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #5AD599;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.how-section{
	background:#BC9BEA;
	padding:270px 0 120px 0;
	margin-top:-150px;
}
.how-section h2{
	text-align:center;
	color:#fff;
	font-size:48px;
	font-weight:700;
}
.how-description{
	max-width: 850px;
    margin: 60px auto 0;
    text-align: center;
    color: #fff;
    line-height: 1.6;
}

.how-section {
    background: #BC9BEA;
    padding: 270px 0 270px 0;
    margin-top: -150px;
}

.how-section h2 {
    text-align: center;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 0;
}

.how-description {
    max-width: 850px;
    margin: 60px auto 0;
    text-align: center;
    color: #fff;
    line-height: 1.6;
    font-size: 18px;
}

.how-section h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 40px;
    color: #fff;
}

.how-description {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.how-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
	
}
.how-step.step-odd{
	background:url(../img/how/cloud-right.svg) 50% 0 no-repeat;
	background-size:contain;
}
.how-step.step-even{
	background:url(../img/how/cloud-left.svg) 50% 0 no-repeat;
	background-size:contain;
}
/* Контейнер одного шага */
.how-step {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Ограничение ширины контента */
	min-height:630px;
}

/* Номер в круге */
.step-number {
    position: absolute;
    top: 70px; /* Поднимаем номер над облаком */
    left: 50%;
    transform: translateX(-50%);
    width: 174px;
    height: 174px;
    background: #FFFFFF;
    border: 2px solid #FDA23E; /* Цвет границы из палитры */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 700;
    color: #FDA23E;
    z-index: 10;
}

/* КОНТЕНТ ШАГА (Флекс-контейнер) */
.step-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    padding-top: 175px; /* Место под номер */
}

/* Блок с картинкой (облако + стрелка) */
.step-image {
    flex: 0 0 45%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.step-image img{
    width: 100%;
    max-width: 455px; /* Максимальная ширина облака */
    height: auto;
    display: block;
}

/* Стрелка внутри картинки */
.step-number:before {
    position: absolute;
	content:'';
	top:180px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
	background:url(../img/how/arrow-bottom.svg) 0 0 no-repeat;
	width:52px;
	height:500px;
}

/* Текстовый блок */
.step-text {
    flex: 0 0 45%;
    color: #fff;
    padding-right: 100px;
}
.how-step.step-even .step-text {
	padding-left: 120px;
	padding-right:0;
}
.step-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #383673;
}

.step-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #383673;
}

/* =========================================
   ЛОГИКА ЧЕРЕДОВАНИЯ (БЕЗ ЗЕРКАЛИНИЯ)
   ========================================= */

/* НЕЧЕТНЫЕ ШАГИ (1, 3, 5...) 
   Порядок: Картинка (слева) - Текст (справа)
   Стандартный flow-row уже делает это, если картинка первая в HTML.
   Но у нас в HTML структура: .step-image потом .step-text.
   Значит для нечетных нам нужен обычный порядок.
*/
.step-odd .step-content {
    flex-direction: row; 
}

/* ЧЕТНЫЕ ШАГИ (2, 4, 6...)
   Порядок: Текст (слева) - Картинка (справа)
   Меняем направление флекса. Картинка уйдет вправо, текст влево.
   Ничего не зеркалится, просто меняется порядок колонок.
*/
.step-even .step-content {
    flex-direction: row-reverse;
}

/* Скрываем стрелку у последнего элемента, если нужно */
.how-step:last-child .step-number:before {
    display: none;
}
.common-bg-wrapper {
    width: 100%;
    position: relative;
    padding-bottom:70px;
	overflow: visible;
}

/* Слой для обрезки фона (картинка + градиент) */
.common-bg-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Обрезаем фон по краям блока */
    z-index: 0;
    pointer-events: none; /* Пропускаем клики сквозь фон */
}

/* СЛОЙ 1: Картинка */
.common-bg-inner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto; /* Высота подстроится под картинку, но нам нужно задать минимальную или использовать aspect-ratio, если важно */
    /* Хитрость: чтобы картинка была видна, зададим ей высоту 100% или больше, если она должна занимать весь блок, 
       НО так как у тебя background-size: 100% auto, она может схлопнуться, если высота родителя не задана явно под картинку.
       Лучший вариант для фоновой картинки "внизу": */
    min-height: 100%; 
    background-image: url('../img/bg-bottom.jpg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto; /* Ширина 100%, высота авто */
    z-index: 1;
}

/* СЛОЙ 2: Градиент (поверх картинки) */
.common-bg-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F2F5FF 0%, rgba(255, 255, 255, 0) 100%);
    /* Важно: градиент должен переходить в прозрачность, чтобы было видно картинку снизу, 
       либо в белый, если картинка тоже белая внизу. Судя по твоему коду, там был переход в белый. 
       Если нужно видеть картинку, замени конец градиента на transparent или rgba(255,255,255,0) */
    z-index: 2;
    pointer-events: none;
}

/* Секции */
.reviews-section, .contacts-section {
    width: 100%;
    max-width: 1280px;
    background: #FFFFFF;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.15);
    border-radius: 40px;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* Контент поверх фона */
	scroll-margin-top: 100px;
}

.reviews-section {
    top:-180px; /* Поднимаем на 180px вверх */
	padding:60px;
	position: relative;
}
.contacts-section {
    padding:60px;
	opacity:.9;
}
.reviews-section h2, .contacts-section h2 {
    font-size: 48px;
    font-weight: 800;
    color: #383673;
    text-align: center;
    margin: 0;
}
.reviews-description, .contacts-description {
    max-width: 850px;
    margin: 60px auto 0;
    text-align: center;
    color: #383673;
    line-height: 1.6;
    z-index: 1;
}
/* --- СЕКЦИЯ ОТЗЫВОВ --- */

.reviews-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 48px;
    color: #383673;
}

.reviews-description {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    color: #383673;
    line-height: 1.6;
}

.reviews-description p {
    margin-bottom: 15px;
}

/* Контейнер слайдера */
.reviews-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    /* Отступы под стрелки будут внутри кнопок */
}

/* Трек с отзывами */
.reviews-track {
    display: flex;
    gap: 30px; /* Отступ между карточками */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Скрыть скроллбар Firefox */
    padding: 20px 5px; /* Небольшой паддинг для тени */
    width: 100%;
    /* Центрирование контента, если отзывов мало */
    justify-content: flex-start; 
}

.reviews-track::-webkit-scrollbar {
    display: none; /* Скрыть скроллбар Chrome/Safari */
}

/* Карточка отзыва */
.review-card {
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 20px;
    padding: 30px;
    flex: 0 0 calc(50% - 15px); /* 2 карточки в ряд с учетом gap */
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Шапка карточки */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-info {
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-author {
    font-size: 24px;
    color: #383673;
    margin: 0;
    line-height: 1.2;
}

.review-date {
    font-size: 16px;
    color: #888888;
    margin-top: 5px;
}

.review-source {
    color: #383673;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.review-source:hover {
    opacity: 0.8;
}

/* Звезды */
.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
    margin-left: calc(62px + 30px); /* Выравнивание под текстом, как просили "Ниже аватара" но визуально под именем обычно, но в ТЗ "Ниже аватара на 15px". Сделаем строго по ТЗ: отступ слева равен ширине аватара, чтобы звезды были под именем? Нет, ТЗ: "Ниже аватара на 15px". Значит слева отступ 0? Перечитаем: "Слева сверху круглый аватар... Ниже аватара на 15 px звезды". Значит звезды начинаются от левого края карточки? Или под аватаром? Обычно под аватаром. Сделаем margin-left равным ширине аватара, чтобы было красиво под именем, но если строго "ниже аватара", то left:0. Давайте сделаем left:0, т.к. ТЗ конкретное. */
    margin-left: 0; 
    position: relative;
    left: 0; 
    /* Поправка: если звезды должны быть под аватаром, то margin-left: 0. Если под текстом - то 62+30. В ТЗ "Ниже аватара". Делаем 0. */
}

.review-text {
    font-size: 16px;
    color: #000000;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

/* Стрелки */
.reviews-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-arrow:hover {
    opacity: 0.7;
}

.reviews-arrow-left {
    left: -45px;
    margin-right: 15px; 
}

.reviews-arrow-right {
    right: -45px;
    margin-left: 15px;
}

/* Точки */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0; /* Точки ниже карточек на 30px, это margin-top контейнера точек */
}

.review-dot {
    width: 12px;
    height: 12px;
    background-color: #E6E6E6;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.review-dot.active {
    background-color: #383673; /* Активная точка цветом бренда */
}

/* Контакты - общие стили */
.contacts-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 60px;
    max-width: 1024px;
    margin: 60px auto;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contacts-description {
    text-align: center;
    margin-bottom: 40px;
    color: #383673;
}

.contacts-description p {
    font-size: 18px;
    line-height: 1.5;
}

/* Контейнер для двух колонок */
.contacts-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Левый блок с информацией */
.contacts-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-text {
    color: #383673;
    font-size: 20px;
    line-height: 1.4;
}

/* Правый блок с кнопками */
.contacts-actions {
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.route-button {
    width: 250px;
    height: 40px;
    background: #FDC178;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #383673;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	color:#fff;
}

.route-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}

.messengers {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.messenger-link {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    transition: transform 0.2s ease, background 0.2s ease;
}
.messenger-link img{
    width: 64px;
    height: 64px;
}
.messenger-link:hover {
    transform: scale(1.1);
    background: #e8e8e8;
}

.messenger-placeholder {
    font-size: 10px;
    color: #383673;
    text-align: center;
    line-height: 1.2;
}
.map-section {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.map-container {
  width: 100%;
  max-width: 100%;
  height: 350px;
  max-height: 350px;
  position: relative;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Placeholder while map is loading */
.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  z-index: 1;
}

.map-container.map-loaded::before {
  display: none;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Yandex Maps controls styling */
.map-container .ymaps-2-1-79-map {
  border-radius: 12px;
}

.map-container .ymaps-2-1-79-controls-pane {
  border-radius: 8px;
}
.footer {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, #BC9BEA 0%, #FDC178 100%);
  display: flex;
  align-items: center;
}

.footer__container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__logo img {
  display: block;
  max-height: 60px;
  width: auto;
}

.footer__copyright {
  color: #fff;
  font-size: 24px;
  text-align: center;
  flex: 1;
  padding: 0 20px;
  line-height: 1.3;
}

.footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer__social a {
  display: flex;
  align-items: center;
}

.footer__social img {
  width: 40px;
  height: 40px;
  display: block;
}
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(98.3deg, #BC9BEA -6.82%, #FDC178 89.71%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 40px;
    height: 40px;
}
/* Плавный переход цвета для всех пунктов */
.menu-item {
    transition: color 0.3s ease;
    cursor: pointer;
}

/* Активный пункт меню */
.menu-item.active {
    color: #A2DABF; /* Твой мятный цвет */
}
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Поверх всего */
    position: relative;
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333; /* Цвет линий бургера */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Анимация бургера в крестик при открытии */
.burger-btn.open .burger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}
.burger-btn.open .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-btn.open .burger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* --- Оверлей (темный фон) --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Мобильное меню (белое, 2/3 экрана) --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 66.66%; /* 2/3 экрана */
    max-width: 400px; /* Ограничение для больших экранов */
    height: 100vh;
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1002; /* Поверх оверлея */
    padding: 80px 40px 40px 40px; /* Отступ сверху для крестика */
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* --- Крестик закрытия (СЛЕВА в меню) --- */
.mobile-menu-close {
    position: absolute;
    top: 25px;
    left: 20px; /* Слева окна меню */
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
}

.mobile-menu-close span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    top: 50%;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-close span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
    transform: translateY(-50%) rotate(-45deg);
}

/* --- Пункты меню --- */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-item {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    color: #A2DABF; /* Ваш мятный цвет */
}
.burger-btn {
        display: none;
    }
}

/* --- Оверлей --- */
.modal-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Окно модальное (внешнее) --- */
.modal-window {
    max-width: 450px;
    max-height: 300px;
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    padding: 10px;
    width: 90%;
}

/* --- Внутренний блок --- */
.modal-inner {
    border: 1px solid #E6E6E6;
    border-radius: 30px;
    padding: 20px;
    position: relative;
}

/* --- Крестик закрытия (справа сверху внутри inner) --- */
.modal-close-form {
    position: absolute;
    top: 20px; /* Отступает от padding inner блока */
    right: 20px;
    width: 43px;
    height: 43px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.modal-close-form span {
    display: block;
    position: absolute;
    width: 43px;
    height: 1px;
    background-color: #888888;
    top: 50%;
    left: 0;
    transition: all 0.3s ease;
}

.modal-close-form span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
}

.modal-close-form span:nth-child(2) {
    transform: translateY(-50%) rotate(-45deg);
}

.modal-close-form:hover span {
    background-color: #383673;
}

/* --- Заголовок --- */
.modal-title {
    color: #383673;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 30px 0;
}

/* --- Поля ввода --- */
.modal-input {
    display: block;
    width: 100%;
    height: 50px;
    border: 3px solid #F1F1F1;
    background: #fff;
    border-radius: 10px;
    padding-left: 40px;
    font-size: 22px;
    color: #888888;
    margin-bottom: 20px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

.modal-input:focus {
    border-color: #A2DABF;
}

.modal-input::placeholder {
    color: #888888;
}

/* --- Нижняя секция (2 колонки) --- */
.modal-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

/* --- Текст соглашения (левая колонка) --- */
.modal-agreement {
    color: #888888;
    font-size: 10px;
    line-height: 1.3;
    flex: 1;
}

.modal-agreement a {
    color: #888888;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.modal-agreement a:hover {
    color: #383673;
}

/* --- Кнопка отправки (правая колонка) --- */
.modal-submit {
    width: 195px;
    height: 40px;
    background: linear-gradient(96.21deg, #A2DABF 36.48%, #FDC178 125.94%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}
/* Анимация подпрыгивания */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px); /* Подпрыгивает вверх на 20px */
    }
    60% {
        transform: translateY(-10px); /* Немного опускается */
    }
}

/* Класс, который запускает анимацию */
.animate-bounce {
    animation: bounce 1s ease;
    
    /* Опционально: добавим легкую тень во время прыжка для объема */
    transition: box-shadow 0.3s;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); 
}

/* Убираем тень после завершения анимации (опционально) */
.animate-bounce.finished {
    box-shadow: none; 
    /* Или верните оригинальную тень, если она была у блока .hero-right */
}
/* Добавляем стили для SVG внутри li */
.card-list li svg, .service-list li svg{
    width: 40px;       /* Фиксированная ширина */
    height: 40px;      /* Фиксированная высота */
    flex-shrink: 0;    /* ЗАПРЕТ НА СЖАТИЕ (главное решение) */
    flex-grow: 0;      /* Запрет на растягивание */
}


button.form-submit:disabled {
      background: #ccc;
      cursor: not-allowed;
    }

/* Оверлей */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #f9518c;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.message {
  font-size: 18px;
  color: #555;
  text-align: center;
  max-width: 80%;
}

/* Стили для Cookie баннера */
.cookie-banner {
    position: fixed;
    bottom: 20px; /* Отступ снизу для десктопа */
    left: 50%;
    transform: translateX(-50%); /* Центрирование по горизонтали */
    
    width: auto; /* На случай очень узких экранов, но ограничим макс шириной */
    max-width: 50%; /* Максимальная ширина 50% для десктопов */
    
    background: linear-gradient(98.3deg, #BC9BEA -6.82%, #FDC178 89.71%); /* Ваш градиент из Hero */
    color: #fff;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, bottom 0.5s ease;
}

/* Класс для показа баннера */
.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.cookie-btn {
    background-color: #fff;
    color: #BC9BEA; /* Цвет текста кнопки под цвет градиента */
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Rubik', sans-serif;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Адаптивность для планшетов и мобильных (768px и меньше) */
@media (max-width: 768px) {
    .cookie-banner {
        left: 0;
        transform: none; /* Убираем центрирование трансформом */
        
        width: 100%; /* Полная ширина */
        max-width: 100%;
        
        bottom: -100%; /* Спрятан внизу за экраном изначально */
        border-radius: 20px 20px 0 0; /* Скругление только сверху */
        padding: 20px;
        flex-direction: column; /* Элементы друг под другом */
        text-align: center;
        gap: 15px;
    }

    .cookie-banner.show {
        bottom: 0; /* Выезжает на всю ширину вниз */
    }

    .cookie-content {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-text {
        font-size: 14px;
    }

    .cookie-btn {
        width: 100%;
        max-width: 200px;
    }
}