:root {
	--c-pink: #f9518c;
	--c-blue-dark: #35c0f5;
	--c-blue-active: #35C1F6; /* Из ТЗ для активного меню */
	--c-green-status: #36D396;
	--c-text-gray: #868E91;
	--c-text-main: #656363;
	--c-text-divider: #787777;
	--c-line: #EDEFF0;
	--c-purple-border: #A678E6;
	--c-white: #FFFFFF;
	--container-width: 1140px;
}

/* Глобальный сброс и защита от горизонтального скролла */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	font-family: 'Nunito', sans-serif;
	color: var(--c-text-main);
	background: var(--c-white);
	overflow-x: hidden; /* ГАРАНТИЯ: убирает любой горизонтальный скролл */
	min-height: 200vh; /* Для теста липкого хедера */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; height: auto; }

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
}

/* --- HEADER --- */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	background: var(--c-white);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
	z-index: 1000;
}



/* --- MODAL WINDOW --- */
.modal-overlay {
	position: fixed; top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 2000;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: 0.3s;
	padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-window {
	position: relative;
	background: var(--c-white);
	border-radius: 40px;
	padding: 40px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	max-width: 800px;
	width: 100%;
	/* Градиентная рамка */
	background-image: linear-gradient(var(--c-white), var(--c-white)), linear-gradient(92.04deg, #35C0F5 0%, #F9518C 100%);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	border: 5px solid transparent;
	
	transform: scale(0.9); transition: 0.3s;
}
.modal-overlay.active .modal-window { transform: scale(1); }

.modal-close {
	position: absolute; top: 25px; right: 25px;
	width: 25px; height: 25px; cursor: pointer; z-index: 10;
}
.modal-close::before, .modal-close::after {
	content: ''; position: absolute; top: 50%; left: 0;
	width: 100%; height: 3px; background: var(--c-text-main); border-radius: 2px;
}
.modal-close::before { transform: translateY(-50%) rotate(45deg); }
.modal-close::after { transform: translateY(-50%) rotate(-45deg); }

.modal-title {
	text-align: center; font-weight: 700; font-size: 48px;
	color: var(--c-text-main); margin-bottom: 30px;
}

.modal-form {
	display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative;
}

.form-input {
	width: 450px; max-width: 100%; height: 70px;
	background: var(--c-white);
	border: 5px solid #F1F1F1;
	border-radius: 10px;
	padding: 22px 22px 22px 38px;
	font-family: 'Nunito'; font-size: 22px; color: #888888; outline: none;
}
.form-input::placeholder { color: #888888; }

.form-agreement {
	text-align: center; font-size: 16px; color: #888888; margin-top: 10px; line-height: 1.4;
}
.form-agreement a { color: var(--c-blue-dark); text-decoration: underline; }

.btn-submit {
	width: 385px; max-width: 100%; height: 60px;
	border-radius: 20px;
	background: linear-gradient(92.04deg, rgba(162, 119, 230, 0.9) 0%, rgba(182, 123, 229, 0.9) 20%, rgba(200, 128, 229, 0.9) 45.01%, rgba(211, 131, 229, 0.9) 71.01%, rgba(215, 132, 229, 0.9) 100.01%);
	color: white; font-weight: 700; font-size: 24px;
	margin-top: 20px; cursor: pointer; transition: 0.3s;
}
.btn-submit:hover { opacity: 0.9; }

.modal-bg-img {
	position: absolute; bottom: 30px; left: 20px;
	width: 180px; height: 196px;
	background-image: url('../img/contact_07.png');
	background-size: cover; background-position: center;
	z-index: -1; pointer-events: none;
}
/* --- 6. МОДАЛЬНОЕ ОКНО --- */
.modal-overlay {
	position: fixed; top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 2000;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: 0.3s;
	padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-window {
	position: relative;
	background: var(--c-white);
	border-radius: 40px;
	padding: 40px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	max-width: 800px;
	width: 100%;
	/* Градиентная рамка */
	background-image: linear-gradient(var(--c-white), var(--c-white)), linear-gradient(92.04deg, #35C0F5 0%, #F9518C 100%);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	border: 5px solid transparent;
	
	transform: scale(0.9); transition: 0.3s;
	overflow-y: auto;
}
.modal-overlay.active .modal-window { transform: scale(1); }

.modal-close {
	position: absolute; top: 25px; right: 25px;
	width: 25px; height: 25px; cursor: pointer; z-index: 10;
}
.modal-close::before, .modal-close::after {
	content: ''; position: absolute; top: 50%; left: 0;
	width: 100%; height: 3px; background: var(--c-text-main); border-radius: 2px;
}
.modal-close::before { transform: translateY(-50%) rotate(45deg); }
.modal-close::after { transform: translateY(-50%) rotate(-45deg); }

.modal-title {
	text-align: center; font-weight: 700; font-size: 48px;
	color: var(--c-text-main); margin-bottom: 30px;
}

.modal-form {
	display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative;
}

.form-input {
	width: 450px; max-width: 100%; height: 70px;
	background: var(--c-white);
	border: 5px solid #F1F1F1;
	border-radius: 10px;
	padding: 22px 22px 22px 38px;
	font-family: 'Nunito'; font-size: 22px; color: #888888; outline: none;
}
.form-input::placeholder { color: #888888; }

.form-agreement {
	max-width: 420px;text-align: center; font-size: 14px; color: #888888;  line-height: 1.4;
}
.form-agreement a { color: var(--c-blue-dark); text-decoration: underline; }

.btn-submit {
	width: 385px; max-width: 100%; height: 60px;
	border-radius: 20px;
	background: linear-gradient(92.04deg, rgba(162, 119, 230, 0.9) 0%, rgba(182, 123, 229, 0.9) 20%, rgba(200, 128, 229, 0.9) 45.01%, rgba(211, 131, 229, 0.9) 71.01%, rgba(215, 132, 229, 0.9) 100.01%);
	color: white; font-weight: 700; font-size: 24px;
	margin-top: 20px; cursor: pointer; transition: 0.3s;
}
.btn-submit:hover { opacity: 0.9; }

.modal-bg-img {
	position: absolute; bottom: 10px; left: -30px;
	width: 180px; height: 196px;
	background-image: url('../img/contact_07.png');
	background-size: cover; background-position: center;
	z-index: 0; pointer-events: none;
}
/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    background-color: #F2F6F9;
    overflow: hidden; /* Чтобы декор не вылезал за края */
    display: flex;
    justify-content: center;
}

/* Контейнер внутри Hero */
.hero-container {
    position: relative;
    z-index: 2; /* Контент выше декора */
    text-align: center;
    padding-top: 40px; /* Отступ от хедера */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Декор: Правый верхний угол */
.hero-bg-top-right {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 770px;
    height: 553px;
    z-index: 1;
    pointer-events: none;
}
.hero-bg-top-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Декор: Левый нижний угол (Отраженный) */
.hero-bg-bottom-left {
    position: absolute;
    bottom: 0;
    left: -15px;
    width: 770px;
    height: 553px;
    z-index: 1;
    pointer-events: none;
    transform: scale(-1, -1); /* Отражение по вертикали и горизонтали */
}
.hero-bg-bottom-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Заголовок H1 */
.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 128px;
    line-height: 1.1;
    color: #F9518C;
    margin: 0;
    text-align: center;
}

/* Подзаголовок */
.hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #35C0F5;
    margin: 30px 0 0 0; /* Отступ сверху 30px */
    text-align: center;
}

/* Кнопка Hero */
.hero-btn {
    margin: 30px 0 0 0; /* Отступ сверху 30px */
    width: 650px;
    height: 100px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(92.04deg, rgba(162, 119, 230, 0.9) 0%, rgba(182, 123, 229, 0.9) 20%, rgba(200, 128, 229, 0.9) 45.01%, rgba(211, 131, 229, 0.9) 71.01%, rgba(215, 132, 229, 0.9) 100.01%);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    
    /* Текст кнопки */
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-btn:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.3));
}

.hero-btn:active {
    transform: translateY(1px);
}

/* Изображение под кнопкой */
.hero-image-wrapper {
    margin-top: -40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-main-img {
    max-width: 950px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px; /* Опционально для красоты */
}
.hero-clouds-overlay {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: auto; /* Или фиксированная высота, если нужно */
    z-index: 3; /* Поверх декора (figure_01), но проверь, не перекрывает ли оно кнопку */
    pointer-events: none; /* Чтобы клики проходили сквозь облака, если они перекроют кнопку */
    display: flex;
    justify-content: center;
}

.hero-clouds-overlay img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- ABOUT SECTION: COMMON STYLES --- */

.about-section {
    position: relative;
    width: 100%;
    padding: 80px 0 200px 0; /* Базовый отступ сверху/снизу */
    background-color: #FFFFFF; /* Основной фон, круги будут поверх или через background-image */
}

/* Декоративные круги (общие настройки) */
.about-bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0; /* Позади контента */
    pointer-events: none;
}

/* Круги для ПК (видны только на больших экранах через media query в pc.css, здесь только цвета/размеры) */
.about-bg-circle.top-left {
    width: 500px;
    height: 500px;
    background-color: #AF85E8;
    opacity: 0.1;
    top: 0;
    left: -100px;
}

.about-bg-circle.bottom-right {
    width: 500px;
    height: 500px;
    background-color: #F9518C;
    opacity: 0.15;
    bottom: -100px;
    right: -100px;
}

/* Круги для мобильных (скрыты по умолчанию, покажем в mobile.css) */
.about-bg-circle.mobile-circle-1,
.about-bg-circle.mobile-circle-2 {
    display: none;
    width: 120px;
    height: 120px;
    background-color: #35C0F5;
    opacity: 0.15;
}

.about-container {
    position: relative;
    z-index: 1; /* Контент выше кругов */
	
}

.about-content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Левый блок */
.about-left-block {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.about-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #656363;
    margin: 0;
    text-align: left;
}

.about-text {
    margin-top: 30px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px; /* Базовый размер, можно уточнить */
    line-height: 1.5;
    color: #656363; /* Или 787676, если нужно темнее */
}

.about-text p {
    margin-bottom: 15px;
}

/* Сетка преимуществ */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

.feature-card {
    background: #F2F6F9;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    /* Высота будет подстраиваться под контент, но можно задать min-height если нужно */
}

.feature-icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 18px;
    color: #787676;
    margin: 0 0 5px 0;
    text-align: left;
}

.feature-desc {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #787676;
    margin: 0;
    text-align: left;
}

/* Кнопка (базовая, размеры уточним в pc.css) */
.about-btn {
    margin-top: 40px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(92.04deg, rgba(162, 119, 230, 0.9) 0%, rgba(182, 123, 229, 0.9) 20%, rgba(200, 128, 229, 0.9) 45.01%, rgba(211, 131, 229, 0.9) 71.01%, rgba(215, 132, 229, 0.9) 100.01%);
    color: #FFFFFF;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    align-self: flex-start; /* Прижать влево */
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-btn:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.3));
}

/* Правый блок (Галерея) */
.about-right-block {
    width: calc(40% - 30px); /* Учет gap */
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.about-right-block img{
	border-radius:30px;
}
.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    display: block;
    object-fit: cover;
    /* На ПК они просто друг под другом, слайдер только на мобильных */
}

/* Стили слайдера (скрыты на ПК, работают на мобильных) */
.gallery-slider-container {
    display: none; /* По умолчанию скрыт, включаем в mobile.css */
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.gallery-track-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.gallery-track {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.gallery-track .gallery-img {
    min-width: 100%;
    height: auto;
    border-radius: 30px;
}

.gallery-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #BBA4ED;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    transition: background 0.3s;
}

.gallery-arrow:hover {
    background-color: #A277E6;
}

.gallery-arrow svg {
    display: block;
}

/* --- ОБЛАКО ПЕРЕХОД (В конце секции О центре) --- */
.about-cloud-transition {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2; /* Поверх кругов и контента, если нужно перекрыть, или 1 если под */
    pointer-events: none;
    display: flex;
    justify-content: center;
    line-height: 0; /* Убирает лишние отступы у img */
}

.about-cloud-transition img {
    width: 100%;
    max-width: 100%; /* Или фиксированная ширина, если картинка огромная */
    height: auto;
    object-fit: contain;
    /* Если облако должно быть строго внизу и перекрывать край, margin-bottom можно не ставить */
    /* Если нужно сместить его чуть ниже края секции, используй transform или margin */
    transform: translateY(1px); /* Микро-коррекция, чтобы убрать щель в 1px */
}

/* --- СЕКЦИЯ ПОЧЕМУ МЫ --- */
.why-section {
    position: relative;
    width: 100%;
    background-color: #AF85E8; /* Фиолетовый фон из ТЗ */
    padding-top: 20px; /* Отступ сверху, чтобы контент не прилип к облаку, если облако внутри prev section */
    /* Если облако будет внутри этой секции со смещением вверх, padding-top нужно увеличить */
    overflow: hidden;
}

.why-container {
    position: relative;
    z-index: 2;
    /* Пока пусто, контент добавим следующим шагом */
}



/* Утилитарный класс для скрытия заголовков (если нужен) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* --- WHY US SECTION: COMMON STYLES --- */

.why-section {
    position: relative;
    width: 100%;
    background-color: #AF85E8;
    padding: 60px 0 0 0; /* Отступ сверху, снизу 0 так как там облако */
    overflow: hidden;
}

/* Фоновые круги (Белые, полупрозрачные) */
.why-bg-circle {
    position: absolute;
    border-radius: 50%;
    background-color: #FFFFFF;
    opacity: 0.15; /* Среднее значение из диапазона 10-20% */
    z-index: 0;
    pointer-events: none;
}

/* Расположение кругов (ПК версии, большие) */
.why-bg-circle.circle-large-1 {
    width: 400px;
    height: 400px;
    top: 0;
    left: -100px;
}

.why-bg-circle.circle-large-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: -50px;
}

.why-bg-circle.circle-small-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    opacity: 0.1;
}

.why-bg-circle.circle-small-2 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 15%;
    opacity: 0.1;
}

.why-container {
    position: relative;
    z-index: 2;
}

.why-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 100px 0; /* Отступ снизу 100px до карточек */
}

/* Сетка карточек */
.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 140px; /* Большой отступ между карточками */
    margin-bottom: 60px; /* Отступ снизу до облака */
}

/* Карточка */
.why-card {
    position: relative;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 40px 30px;
    z-index: 1;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

/* Цифра на фоне (без изменений) */
.card-number {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 350px;
    line-height: 1;
    color: #D7EDFA;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* Контейнер для верхней части: Иконка + Заголовок */
.card-header-row {
    display: flex;
    align-items: flex-start; /* Выравнивание по верхнему краю */
    margin-bottom: 20px; /* Отступ до текста описания */
    position: relative;
    z-index: 2;
}

/* Иконка */
.card-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0; /* Запрещаем иконке сжиматься */
    display: block;
}

/* Заголовок */
.card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #656363;
    margin: 0;
    padding-left: 15px; /* Тот самый отступ 15px справа от иконки */
    line-height: 1.2;
    /* Гарантируем, что текст не вылезет влево */
    text-align: left; 
    width: calc(100% - 65px); /* Опционально: ограничиваем ширину, чтобы перенос был корректным (50px иконка + 15px отступ) */
}

/* Текст описания */
.card-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.5;
    text-align: left;
    /* Самое важное: добавляем такой же отступ слева, как у заголовка, 
       чтобы текст начинался ровно под началом заголовка, а не под иконкой */
    padding-left: 65px; /* 50px (ширина иконки) + 15px (отступ) */
}

/* Нижнее облако  */
.why-cloud-bottom {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: center;
    line-height: 0;
}

.why-cloud-bottom img {
    width: 100%;
    max-width: 100%;
    height: auto;
	transform: scale(-1);
}
/* --- SERVICES SECTION: COMMON STYLES --- */

.services-section {
    position: relative;
    width: 100%;
    background-color: #F2F6F9; /* Тот же фон, что у Hero */
    display: flex;
    justify-content: center;
    padding: 200px 0;
}
.services-section::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: url('../img/cloud-why.svg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    
    transform: scaleY(-1);
    z-index: 2;
    pointer-events: none;
}
/* Контейнер внутри Services */
.services-container {
    position: relative;
    z-index: 2; /* Контент выше декора */
    text-align: center;
    padding-top: 40px; /* Базовый отступ сверху */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1140px; /* Ограничиваем контейнер */
    margin: 0 auto;
}

/* Декор: Правый верхний угол */
.services-bg-top-right {
    position: absolute;
    top: 0;
    right: -15px;
    width: 770px;
    height: 553px;
    z-index: 1;
    pointer-events: none;
}

.services-bg-top-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Декор: Левый нижний угол (Отраженный) */
.services-bg-bottom-left {
    position: absolute;
    bottom: 0;
    left: -15px;
    width: 770px;
    height: 553px;
    z-index: 1;
    pointer-events: none;
    transform: scale(-1, -1); /* Отражение по вертикали и горизонтали, как в Hero */
}

.services-bg-bottom-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Утилитарный класс для скрытия заголовков (если нужен) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}
/* --- SERVICES SECTION: COMMON STYLES --- */

.services-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #656363;
    text-align: center;
    margin-top: 50px;
}

.services-description {
    max-width: 850px;
    margin: 50px auto 0 auto; /* Отступ сверху 50px, центровка */
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #656363;
    line-height: 25px;
}

.services-description p {
    margin-bottom: 15px;
}
.services-description p:last-child {
    margin-bottom: 0;
}

/* Общие стили для карточки (база) */
.service-card, .service-card-slide {
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    padding: 45px 20px 40px 20px; /* Верхний отступ 45, нижний под кнопку ~40 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
}

.service-icon {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 25px;
}

.service-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #F9518C;
    margin: 0 0 10px 0;
    line-height: 1.2;
    min-height: 100px; /* Фиксируем высоту заголовка, чтобы кнопки были на одном уровне (опционально) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Специфика для длинного заголовка "Подготовка к школе" */
.service-title[style*="line-height"] {
    line-height: 34px; 
}

.service-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #070807;
    margin: 0 0 25px 0;
    min-height: 24px; /* Резерв места если текст появится */
}

.service-price-old {
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #656363;
    text-decoration: line-through;
    margin: 0 0 10px 0;
}

.service-price-new {
    font-family: 'Nunito', sans-serif;
    font-size: 48px;
    font-weight: 800; /* Extrabold */
    color: #F9518C;
    margin: 0 0 25px 0;
}

.service-btn {
    width: 100%;
    border: none;
    border-radius: 50px;
    background: linear-gradient(92.04deg, rgba(162, 119, 230, 0.9) 0%, rgba(182, 123, 229, 0.9) 20%, rgba(200, 128, 229, 0.9) 45.01%, rgba(211, 131, 229, 0.9) 71.01%, rgba(215, 132, 229, 0.9) 100.01%);
    color: #FFFFFF;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 20px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    margin-top: auto;
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.service-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Стили слайдера (скрыты на ПК) */
.services-slider-container {
    display: none;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    padding: 0 10px; /* Место для стрелок */
}

.services-track-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.services-track {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.services-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #BBA4ED;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    transition: background 0.3s;
    margin: 0 5px;
}

.services-arrow:hover {
    background-color: #A277E6;
}

.services-arrow svg {
    display: block;
}
/* --- ОБЛАКО ПЕРЕХОД (Внизу секции Услуги) --- */
.services-cloud-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2; /* Поверх фона, но под контентом следующего блока если он будет наезжать */
    pointer-events: none;
    display: flex;
    justify-content: center;
    line-height: 0; /* Убирает отступы у изображения */
}

.services-cloud-bottom img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    
}
	/* --- SPECIALISTS SECTION: COMMON STYLES --- */

.specialists-section {
    position: relative;
    width: 100%;
    background-color: #D7EDFA; /* Светло-голубой фон */
    overflow: hidden;
	padding-bottom: 200px;
}

.specialists-container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Заголовок */
.specialists-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #656363;
    margin: 0;
    text-align: center;
}

/* Описание */
.specialists-description {
    max-width: 850px;
    margin: 50px auto 0 auto; /* Отступ сверху 50px */
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #656363;
    line-height: 25px;
}

.specialists-description p {
    margin-bottom: 15px;
}
.specialists-description p:last-child {
    margin-bottom: 0;
}

/* --- ОБЛАКО ПЕРЕХОД (Через ::after) --- */
.specialists-section::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: url('../img/cloud-specialists-bottom.svg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

/* --- SPECIALISTS SECTION: DECOR STYLES --- */

.specialists-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Позади контента */
    pointer-events: none; /* Чтобы декор не перехватывал клики */
    overflow: hidden;
}

.decor-item {
    position: absolute;
    display: block;
}

/* 1. Белое сердце (на весь экран) */
.decor-heart {
    width: 30%;
    height: auto;
    left: 10%;
    top: 2%;
}

/* 2. Голубой вектор (Figma: left 9.2%, top 17.27%) */
.decor-vector-1 {
    left: 80%;
    top: 5%;
    width: 215px;
    height: auto;
}

/* 3. Фиолетовый вектор (Figma: left 5.42%, top 55.28%, transform matrix(-1...)) */
.decor-vector-2 {
    left: 3.42%;
    top: 33.28%;
    width: 464px;
    height: auto;
}

/* 4. Розовый вектор (Figma: left 56.09%, top 60.5%) */
.decor-vector-3 {
    left: 56.09%;
    top: 60.5%;
    width: 690px;
    height: auto;
}
/* --- SPECIALISTS CARDS: COMMON STYLES --- */

/* Контейнер сетки (ПК) */
.specialists-grid-pc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px; /* Отступ 70px по вертикали и горизонтали */
    margin-top: 70px;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

/* Базовая структура карточки */
.spec-card, .spec-card-slide {
    box-sizing: border-box;
    border-radius: 30px;
    padding: 3px; /* Толщина рамки 3px */
    /* Градиентная рамка через фон родителя */
    background: linear-gradient(180deg, #F6528D 0%, #38BEF3 100%);
    position: relative;
    /* Убираем абсолютное позиционирование из ТЗ, так как оно сломает сетку. 
       Используем обычное потоковое позиционирование для сетки. */
}

/* Внутренняя часть карточки (фон и контент) */
.spec-card-inner {
    background: linear-gradient(90deg, #EADBF3 0%, #ADE2FF 100%);
    border-radius: 27px; /* Чуть меньше внешнего радиуса (30 - 3) */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 20px 30px 20px; /* Верхний отступ 45px под фото */
    box-sizing: border-box;
    text-align: center;
}

/* Фото специалиста */
.spec-photo-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    padding: 10px; /* Толщина рамки фото 10px */
    /* Та же градиентная рамка, что и у карточки */
    background: linear-gradient(180deg, #F6528D 0%, #38BEF3 100%);
    margin-bottom: 25px;
    flex-shrink: 0;
}

.spec-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background-color: #fff; /* Подложка, если фото прозрачное */
}

/* Имя и должность */
.spec-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.spec-position {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #51A4CE;
    margin: 0 0 20px 0;
}

/* Список преимуществ */
.spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left; /* Текст списка слева, но центрирован внутри карточки блоком */
    width: 100%;
    max-width: 400px; /* Ограничим ширину списка для красоты */
    margin-left: auto;
    margin-right: auto;
}

.spec-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.spec-list li:last-child {
    margin-bottom: 0;
}

.spec-check {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-right: 20px; /* Отступ текста от иконки 20px */
}

.spec-list li span {
    font-size: 18px;
    color: #000000;
    line-height: 1.4;
}

/* Кнопка */
.spec-btn {
    margin-top: auto; /* Прижать к низу, если высота карточек разная */
    width: 100%;
    max-width: 385px;
    height: 60px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(92.04deg, rgba(162, 119, 230, 0.9) 0%, rgba(182, 123, 229, 0.9) 20%, rgba(200, 128, 229, 0.9) 45.01%, rgba(211, 131, 229, 0.9) 71.01%, rgba(215, 132, 229, 0.9) 100.01%);
    color: #FFFFFF;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 18px; /* Как в услугах */
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.spec-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.specialists-slider-container{
	display:none;
}
/* --- HOW WE WORK SECTION: COMMON STYLES --- */

.how-work-section {
    position: relative;
    width: 100%;
    background-color: #F2F6F9; /* Тот же фон, что у Услуг и Hero */
    padding: 80px 0 0 0; /* Отступ сверху, снизу пока 0 */
    
}

.how-work-container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Заголовок (стили как в "Услуги и цены") */
.how-work-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #656363;
    margin: 0;
    text-align: center;
}

/* Описание (стили как в "Услуги и цены") */
.how-work-description {
    max-width: 850px;
    margin: 50px auto 0 auto; /* Отступ сверху 50px */
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #656363;
    line-height: 25px;
}

.how-work-description p {
    margin-bottom: 15px;
}
.how-work-description p:last-child {
    margin-bottom: 0;
}
/* --- HOW WE WORK: TIMELINE STYLES --- */

/* Обертка таймлайна */
.timeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 150px auto 0; /* Отступ сверху от текста */
    display: block; /* На ПК блочная структура */
}

/* Центральная вертикальная линия */
.timeline-center-line {
    position: absolute;
    top: 15px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    background-color: #F6528D;
    z-index: 1;
    border-radius: 5px;
	height: 80%;
}

/* Общий стиль шага */
.timeline-step {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    margin-bottom: 100px; /* Вертикальный отступ между шагами */
}

/* ЛЕВЫЙ шаг */
.step-left {
    float: left; /* Или flex, но float проще для разделения 50/50 */
    clear: both;
    align-items: flex-end; /* Прижимаем контент к центру (вправо) */
    padding-right: 30px; /* Отступ от линии до контента */
}

/* ПРАВЫЙ шаг */
.step-right {
    float: right;
    clear: both;
    align-items: flex-start;
    padding-left: 30px;
}

/* Флажок (розовая плашка) */
.timeline-flag {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-bottom: -160px; /* Наложение на круг: поднимаем флажок вверх */
    z-index: 3;
}

.flag-inner {
    display: flex;
    align-items: center;
    background: #F6528D;
    height: 85px;
	width: 495px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(246, 82, 141, 0.3);
}

/* Скругление и направление для ЛЕВОГО флажка */
.step-left .flag-inner {
    border-radius: 20px 20px 0 20px;
    justify-content: center;
}

/* Скругление и направление для ПРАВОГО флажка */
.step-right .flag-inner {
    border-radius: 0 20px 20px 0;
    justify-content: center;
}

.step-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 34px; /* Подбираем под размер плашки */
    margin: 0;
    white-space: nowrap;
}

.step-icon {
	position:absolute;
    height: 80px;
    width: auto;
    margin: 0 15px;
    object-fit: contain;
}

/* КРУГ */
.timeline-circle {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    /* Градиентная рамка 3px */
    padding: 10px; 
    background: linear-gradient(180deg, #F6528D 0%, #38BEF3 100%);
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.circle-content {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 0 40px;
    box-sizing: border-box;
    text-align: center;
}

.circle-content p {
    font-family: 'Nunito', sans-serif;
    font-size: 26px;
    line-height: 1.4;
    color: #000000;
    margin: 0;
}

/* Очистка флоатов */
.timeline-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ (Скрыта на ПК) --- */
.timeline-mobile-wrapper {
    display: none;
}
.flag-right{
	left: -34px;
}



/* Создаем градиентный блок через ::after */
.how-work-section::after {
    content: '';
    display: block;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, #F2F6F9 21.03%, #FFFFFF 86.41%);
    position: relative;
    z-index: 1;
}

/* --- REVIEWS SECTION: COMMON STYLES --- */

.reviews-section {
    position: relative;
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 0;
}

/* Фоновые звезды */
.reviews-bg-star {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3; /* Базовая, переопределим ниже */
}

.reviews-bg-star img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Координаты из ТЗ (примерные, так как % заданы странно в ТЗ, адаптируем под логику) */
/* Звезда 1: Большая, слева сверху */
.star-large {
    top: 5%;
    left: 5%;
    width: 635px;
    height: 635px;
    opacity: 0.3;
}

/* Звезда 2: Средняя, справа сверху (смещена) */
.star-medium {
    top: 15%;
    right: 10%;
    width: 235px;
    height: 235px;
    opacity: 0.5;
}

/* Звезда 3: Маленькая, слева снизу */
.star-small {
    bottom: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    opacity: 0.2;
}

.reviews-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Заголовок и текст (как в других блоках) */
.reviews-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #656363;
    margin: 0 0 50px 0;
}

.reviews-description {
    max-width: 850px;
    margin: 0 auto 80px auto;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 25px;
    color: #656363;
    text-align: center;
}

.reviews-description p {
    margin-bottom: 15px;
}

/* --- SLIDER WRAPPER (ПК) --- */
/* Обертка слайдера теперь выходит ЗА пределы контейнера 1140px */
.reviews-slider-wrapper {
    position: relative;
    width: 100%;
    /* Убираем ограничения ширины, чтобы стрелки могли выйти за края */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

/* Стрелки: Абсолютное позиционирование относительно центра экрана */
.reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background-color: #BBA4ED;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
    
    /* Вычисляем позицию: 
       Центр экрана (50%) + половина контейнера (570px) + отступ 40px */
}

/* Левая стрелка */
.prev-arrow {
    left: calc(50% - 570px - 125px - 40px); 
    /* Объяснение: 50% (центр) - 570 (половина контейнера) - 125 (ширина стрелки) - 40 (отступ) */
    /* Но проще так: центр экрана минус (половина контейнера + половина стрелки + отступ) */
    left: calc(50% - 570px - 62.5px - 63px);
}

/* Правая стрелка */
.next-arrow {
    right: auto; /* Сброс */
    left: calc(50% + 570px + 40px);
    /* Объяснение: центр экрана + половина контейнера + отступ (начало стрелки) */
    /* Чтобы центрировать саму кнопку: left: calc(50% + 570px + 40px - 62.5px); но мы хотим чтобы она начиналась после отступа? 
       В ТЗ: "отступает от правой карточки вправо 40px". 
       Значит край карточки (570px от центра) + 40px воздух + начало стрелки.
       Центр стрелки будет: 570 + 40 + 62.5.
    */
    left: calc(50% + 570px + 24px);
}

.reviews-arrow svg {
    width: 30px;
    height: 50px;
    stroke: white;
    stroke-width: 3;
}

.reviews-arrow:hover {
    background-color: #A277E6;
    transform: translateY(-50%) scale(1.05);
}

/* Трек: ровно 1140px по центру */
.reviews-track-wrapper {
    width: 1140px;
    max-width: 100%; /* На случай если экран меньше 1140 (хотя у нас медиа запрос переключит) */
    overflow: hidden;
    padding: 30px 40px; /* Запас сверху/снизу и по бокам для тени (20px тень + 10-20px запас) */
    margin: -30px -40px; /* Компенсируем padding, чтобы ширина блока осталась прежней */
    box-sizing: border-box;
}

.reviews-track {
    display: flex;
    gap: 90px; /* Отступ между карточками */
    transition: transform 0.5s ease;
    /* Ширина трека считается автоматически */
}

/* Карточка: ЖЕСТКАЯ ФИКСАЦИЯ ШИРИНЫ */
.review-card {
    /* Формула из ТЗ: (1140 - 90) / 2 = 525px */
    width: 495px; 
    flex-shrink: 0; /* Запрещаем сжиматься */
    
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    padding: 40px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

/* Фото с градиентной рамкой */
.review-photo-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(180deg, #F6528D 0%, #38BEF3 100%);
    margin-bottom: 30px;
}

.review-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.review-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #000000;
    margin: 0 0 10px 0;
}

.review-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 50px;
    justify-content: center;
}

.review-stars img {
    width: 40px;
    height: 40px;
}

.review-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #000000;
    line-height: 1.5;
    margin: 0 0 0 0; /* Без отступа снизу, так как подпись сразу */
}

.review-signature {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #000000;
    margin-top: 10px;
}

/* Пагинация */
.reviews-pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.pag-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #D9D9D9;
    cursor: pointer;
    transition: background 0.3s;
}

.pag-dot.active {
    background-color: #BBA4ED;
}
/* --- CONTACTS SECTION: PC STYLES --- */

.contacts-section {
    position: relative;
    width: 100%;
    height: 400px; /* Фиксированная высота для ПК */
    background-color: #F2F6F9; /* Цвет фона (подстраховка) */
}

/* Градиент для мобильных (скрыт на ПК) */
.contacts-mobile-gradient {
    display: none;
}

/* Контейнер поверх карты */
.contacts-container {
    position: absolute;
    top: 0;
    left: 50%;
    /* Сдвигаем контейнер так, чтобы блок 550px был слева, а центр карты смещен вправо */
    /* По ТЗ: Блок слева. Карта центрируется программно, но визуально метка должна быть правее блока. */
    /* Мы просто позиционируем блок абсолютно внутри контейнера или используем flex */
    
    width: 1140px;
    max-width: 100%;
    height: 100%;
    transform: translateX(-50%); /* Центрируем сам контейнер 1140px */
    z-index: 2; /* Поверх карты */
    pointer-events: none; /* Чтобы клики проходили сквозь пустые места контейнера к карте */
    display: flex;
    align-items: center; /* Вертикальное центрирование блока (25px отступ учтем в паддинге секции или margin) */
}

/* Информационный блок (белая карточка) */
.contacts-info-block {
    width: 550px;
    height: 350px;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    padding: 30px;
    box-sizing: border-box;
    
    /* Позиционирование внутри контейнера */
    /* По ТЗ: отступает сверху 25px и снизу 25px. Высота секции 400, блока 350. 400-350=50. 50/2 = 25. 
       Значит просто vertical center через flex-align-items: center у родителя работает идеально. */
    
    pointer-events: auto; /* Возвращаем клики для блока (чтобы выделять текст и жать ссылки) */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacts-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 36px; /* Подберем размер, чтобы влезло (в ТЗ не указан, ставим гармоничный) */
    color: #656363;
    margin: 0 0 25px 0;
    text-align: left;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #656363;
}

.contact-row:last-of-type {
    margin-bottom: 30px; /* Отступ до мессенджеров */
}

.contact-icon {
    width: 30px; /* Размер иконок подгоним под стиль */
    height: auto;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Мессенджеры */
.contacts-messengers {
    display: flex;
    justify-content: center; /* По центру блока */
    gap: 15px;
}

.contacts-messengers img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s;
}

.contacts-messengers a:hover img {
    transform: scale(1.1);
}

/* Сама карта */
.contacts-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* --- FOOTER STYLES (PC) --- */

.site-footer {
    width: 100%;
    height: 200px; /* Фиксированная высота для ПК */
    background: linear-gradient(90deg, #EA4F7D 0%, #42BCED 100%);
    display: flex;
    align-items: center; /* Вертикальное центрирование контента */
    color: #FFFFFF;
    overflow: hidden;
}

.footer-container {
    display: flex;
    justify-content: space-between; /* Распределяем блоки: лево, центр, право */
    align-items: center;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

.footer-block {
    display: flex;
    align-items: center;
}

/* Левый блок */
.footer-left {
    justify-content: flex-start;
    flex: 1;
}

.footer-logo {
    height: 100px;
    width: auto;
    display: block;
}

/* Центральный блок */
.footer-center {
    justify-content: center;
    flex: 1;
}

.footer-copyright {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

/* Правый блок */
.footer-right {
    justify-content: flex-end;
    flex: 1;
}

.footer-socials {
    display: flex;
    gap: 15px; /* Отступ между иконками */
}

.social-link img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s, opacity 0.3s;
    display: block;
}

.social-link:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}
/* --- BACK TO TOP BUTTON (PC) --- */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 999; /* Поверх всего, кроме модальных окон (у них 1000+) */
    
    /* Градиент в стиле кнопок сайта */
    background: linear-gradient(92.04deg, rgba(162, 119, 230, 0.9) 0%, rgba(215, 132, 229, 0.9) 100%);
    box-shadow: 0px 4px 15px rgba(162, 119, 230, 0.4);
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    opacity: 0; /* Скрыта по умолчанию */
    visibility: hidden;
    transform: translateY(20px); /* Чуть смещена вниз */
    transition: all 0.4s ease;
}

/* Состояние видимости */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ховер эффект */
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(162, 119, 230, 0.6);
    background: linear-gradient(92.04deg, rgba(162, 119, 230, 1) 0%, rgba(215, 132, 229, 1) 100%);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 3;
    transition: transform 0.3s;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}
/* Для ПК версии меню */
.main-menu a.active {
    color: #35C1F6 !important; /* Цвет активного пункта из ТЗ */
    /* Можно добавитьtransition, если его нет в базовых стилях ссылок */
    transition: color 0.3s ease;
}

/* Если нужно, чтобы активный пункт был и в мобильном меню того же цвета */
.mobile-nav a.active {
    color: #35C1F6 !important;
}

.mascot{
	position:absolute;
	width:250px;
	height:250px;
	z-index: 5;
	animation: floatUpAndDown 3s ease-in-out infinite;
}
.mascot.mascot-01{
	top:-150px;
	left:120px;
	background:url(../img/about_01.png) 0 0 no-repeat;
	background-size: cover;
}
.mascot.mascot-02{
	bottom: -70px;
    right: 20%;
	background:url(../img/why_02.png) 0 0 no-repeat;
	background-size: cover;
}
.mascot.mascot-03{
	top:150px;
	left:195px;
	background:url(../img/services_icon_03.png) 0 0 no-repeat;
	background-size: cover;
}
.mascot.mascot-04{
	bottom: -70px;
    right: 15%;
	background:url(../img/specialists_04.png) 0 0 no-repeat;
	background-size: cover;
}
.mascot.mascot-05{
	top: -130px;
    left: 100px;
	background:url(../img/who_05.png) 0 0 no-repeat;
	background-size: cover;
}
.mascot.mascot-06{
	top: -130px;
    right: 100px;
	background:url(../img/reviews_06.png) 0 0 no-repeat;
	background-size: cover;
}
.mascot.mascot-07{
	width: 150px;
    height: 163px;
    top: -130px;
    left: 0;
    background: url(../img/contact_07.png) 0 0 no-repeat;
    background-size: cover;
}
@keyframes floatUpAndDown {
    0%, 100% {
        transform: translateY(0); /* Начальная позиция */
    }
    50% {
        transform: translateY(-15px); /* Поднимаем вверх на 15px */
    }
}

/* Оверлей процесса отправки */
.submit-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 3000; /* Выше модальных окон */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.submit-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Лоадер (спиннер) */
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #F9518C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Сообщение об успехе */
.success-message {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    color: #333;
    max-width: 80%;
    line-height: 1.5;
    display: none; /* Скрыто по умолчанию */
}

.submit-overlay.show-message .loader { display: none; }
.submit-overlay.show-message .success-message { display: block; }
.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(162, 119, 230, 0.4);
}

/* Стили для ЗАБЛОКИРОВАННОЙ кнопки */
.btn-submit:disabled {
    background: #cccccc !important; /* Серый фон */
    cursor: not-allowed; /* Курсор запрета */
    opacity: 0.6; /* Полупрозрачность */
    transform: none !important; /* Отмена анимации подъема */
    box-shadow: none !important;
    pointer-events: none; /* Блокировка кликов */
}
.messenger-link:hover{
	opacity:.6;
	margin-top:-2px;
}
/* --- COOKIE BANNER STYLES (UPDATED) --- */

.cookie-banner {
    position: fixed;
    bottom: -100%; /* Скрыто внизу за пределами экрана */
    
    /* Центрирование для десктопа */
    left: 50%;
    transform: translateX(-50%); /* Сдвиг на 50% собственной ширины влево для идеального центра */
    
    width: 90%; /* На всякий случай оставляем отступы по краям на очень узких ПК */
    max-width: 50%; /* МАКСИМАЛЬНАЯ ШИРИНА НА ДЕСКТОПЕ (по ТЗ) */
    
    background: #FFFFFF;
    box-shadow: 0px -4px 20px rgba(0, 0, 0, 0.15); /* Тень чуть ярче для всплывающего эффекта */
    border-radius: 20px 20px 0 0; /* Скругление верхних углов */
    
    z-index: 9999;
    padding: 25px 30px;
    box-sizing: border-box;
    
    /* Плавный выезд */
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s ease;
    border: 1px solid #f0f0f0;
}

/* Класс для показа */
.cookie-banner.show {
    bottom: 0;
    /* Transform сохраняем для центрирования на ПК */
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: 'Nunito', sans-serif;
}

.cookie-text {
    font-size: 16px;
    line-height: 1.5;
    color: #656363;
    margin: 0;
    flex: 1;
}

.cookie-text b {
    font-weight: 700;
    color: #333;
}

.cookie-text a {
    color: #F6528D; /* Фирменный розовый */
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-text a:hover {
    color: #E03E76;
}

.cookie-btn {
    flex-shrink: 0;
    background: linear-gradient(92.04deg, rgba(162, 119, 230, 0.9) 0%, rgba(215, 132, 229, 0.9) 100%);
    color: #FFFFFF;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(162, 119, 230, 0.4);
    background: linear-gradient(92.04deg, #A277E6 0%, #D784E5 100%);
}

/* --- АДАПТИВ (Мобильные и Планшеты <= 768px) --- */
@media (max-width: 768px) {
    .cookie-banner {
        /* Сбрасываем центрирование и ширину */
        left: 0;
        right: 0;
        transform: none; /* Убираем сдвиг */
        width: 100%;     /* 100% ширины экрана */
        max-width: 100%;
        
        border-radius: 0; /* Убираем скругление, чтобы было вплотную к краям */
        padding: 20px 15px;
        bottom: -100%; /* Скрываем так же */
    }

    .cookie-banner.show {
        bottom: 0;
        transform: none;
    }

    .cookie-content {
        flex-direction: column; /* Элементы друг под другом */
        text-align: center;
        gap: 15px;
    }

    .cookie-text {
        font-size: 14px;
        width: 100%;
    }

    .cookie-btn {
        width: 100%; /* Кнопка на всю ширину для удобного нажатия */
        padding: 14px;
    }
}