:root {
        --grandar-slate: #6B848B;
        --grandar-slate-dark: #4F6369; 
        --grandar-gold: #C0A983;
        --grandar-gold-hover: #ad8f65;
        --bg-light: #F9F9F7;
        --text-main: #000;
		--bs-secondary-color: rgba(33, 37, 41, 1);
    }

/* Базовый размер шрифта для всей страницы (16px) */
html {
	font-family: Arial, Helvetica, sans-serif;
	min-height: 100%; /* Именно min-height, чтобы контент мог растягиваться */
	height: auto;
	font-size: 16px;
	-webkit-overflow-scrolling: touch; /* Плавный скролл для iOS */ 
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-main);
    background-color: #fff;
    overflow-x: hidden;
	min-height: 100%; /* Именно min-height, чтобы контент мог растягиваться */
	height: auto;
	-webkit-overflow-scrolling: touch; /* Плавный скролл для iOS */
    }

/* Настройки для заголовков и текста */
h1, .h1 { font-family: Arial, Helvetica, sans-serif; font-size: 3rem;     line-height: 1.1; font-weight: 700; margin-bottom: 1.5rem; }
h2, .h2 { font-family: Arial, Helvetica, sans-serif; font-size: 2.25rem;  line-height: 1.2; font-weight: 600; margin-bottom: 1.25rem; }
h3, .h3 { font-family: Arial, Helvetica, sans-serif; font-size: 1.75rem;  line-height: 1.3; font-weight: 600; margin-bottom: 1rem; }
h4, .h4 { font-family: Arial, Helvetica, sans-serif; font-size: 1.5rem;   line-height: 1.4; font-weight: 600; margin-bottom: 1rem; }
h5, .h5 { font-family: Arial, Helvetica, sans-serif; font-size: 1.25rem;  line-height: 1.4; font-weight: 500; margin-bottom: 0.75rem; }
h6, .h6 { font-family: Arial, Helvetica, sans-serif; font-size: 1rem;     line-height: 1.5; font-weight: 500; margin-bottom: 0.5rem; }

p, .p { 
	font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 1rem; 
}

small, .small { font-family: Arial, Helvetica, sans-serif; font-size: 0.875rem; line-height: 1.4; }

/* --- АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ (До 768px) --- */
@media (max-width: 768px) {
    h1, .h1 { font-family: Arial, Helvetica, sans-serif; font-size: 2rem; }    /* ~32px (чтобы не прыгало в Telegram) */
    h2, .h2 { font-family: Arial, Helvetica, sans-serif; font-size: 1.75rem; } /* ~28px */
    h3, .h3 { font-family: Arial, Helvetica, sans-serif; font-size: 1.5rem; }  /* ~24px */
    h4, .h4 { font-family: Arial, Helvetica, sans-serif; font-size: 1.3rem; }  /* ~21px */
    h5, .h5 { font-family: Arial, Helvetica, sans-serif; font-size: 1.15rem; } /* ~18px */
    h6, .h6 { font-family: Arial, Helvetica, sans-serif; font-size: 1rem; }    /* Оставляем 16px для читабельности */
    
    p, .p { 
        font-family: Arial, Helvetica, sans-serif; 
		font-size: 0.9375rem; /* ~15px - стандарт для мобильных текстов */
        line-height: 1.5; 
    }
}

/* --- index.php?page= --- */
.content-card {
		background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        padding: 3rem;
        margin-top: -50px; /* Было -100px. Уменьшаем, чтобы текст не скрывался */
		position: relative; /* Убеждаемся, что карточка тоже позиционирована */
		z-index: 1;         /* Она должна быть ниже заголовка */
		/* box-shadow: 0 15px 35px rgba(0,0,0,0.1); Было, если все норм удалить */
		box-shadow: 0 -35px 35px rgba(0, 0, 0, 0.1);
	}
/* --- index.php?page= --- */
.content-card-sh {
		box-shadow: 0 15px 35px rgba(0,0,0,0.1);
	}
@media (max-width: 768px) {
	.content-card {
    padding: 1rem;
}
}
.btn-outline-secondary
	{
		--bs-btn-color: #000;
	}
/* --- АНИМАЦИИ --- */
.reveal {
        position: relative;
        transform: translateY(40px);
        opacity: 0;
        transition: all 0.8s ease-out;
	}
.reveal.active {
        transform: translateY(0);
        opacity: 1;
    }
/* --- HEADER --- */
.header-top {
        padding: 15px 0;
		background-color: #fff;
        box-shadow: 0 1px 0 rgba(0,0,0,0.05);
        z-index: 1030;
        position: relative;
		 
    }
.contact-info a { text-decoration: none; color: var(--bs-secondary-color); transition: 0.3s; }

.contact-info a:hover { color: var(--grandar-gold); }
.social-icon {
        display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
        background: linear-gradient(135deg, var(--bs-secondary-color), var(--grandar-slate-dark)); 
        color: white !important; 
        margin-left: 8px; transition: 0.4s; text-decoration: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		border-radius: 50% !important; /* делает иконку круглой */
		overflow: hidden;
    }
.social-icon:hover { 
        background: linear-gradient(135deg, var(--grandar-gold), #d4b881); 
        box-shadow: 0 4px 10px rgba(192, 169, 131, 0.4);
    }
.social-icon i { border-radius: 50% !important; font-size: 1.6em; padding-top: 2px;}
.social-icon-f {
        display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
        background: #2c3539; 
        color: white !important;
        margin-left: 8px; transition: 0.4s; text-decoration: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		border-radius: 50% !important; /* делает иконку круглой */
    }
.social-icon-f:hover { 
        background: linear-gradient(135deg, var(--grandar-gold), #d4b881); 
        box-shadow: 0 4px 10px rgba(192, 169, 131, 0.4);
    }
.social-icon-f i { border-radius: 50% !important; font-size: 1.6em; padding-top: 2px;}
/* --- NAVIGATION --- */
.navbar-custom { background-color: var(--grandar-slate-dark); padding: 0;}
.navbar-custom .nav-link {
        color: rgba(255,255,255, 1); padding: 18px 25px !important; text-transform: uppercase;
        font-size: 0.8rem; letter-spacing: 1px; border-right: 1px solid rgba(255,255,255, 0.08);
        position: relative;  
    }
.navbar-custom .nav-link::after {
		content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
        background-color: var(--grandar-gold); transform: scaleX(0); transition: 0.3s;
    }
.navbar-custom .nav-link:hover::after, .navbar-custom .nav-link.active::after { transform: scaleX(1); }
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active { color: #fff; background-color: rgba(255,255,255,0.05); }
/* Убираем стандартную стрелочку выпадающего списка */
.dropdown-toggle::after {
    display: none;
}
/* Добавляем свою маленькую иконку-шеврон (опционально) */
.dropdown-toggle::before {
    content: '\F282'; /* Код иконки bi-chevron-down */
    font-family: 'bootstrap-icons';
    font-size: 0.7rem;
    margin-right: 5px;
    vertical-align: middle;
    opacity: 0.7;
}

.dropdown-menu {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 0px;
    backdrop-filter: blur(10px);         /* Размытие фона под меню */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Мягкая глубокая тень */
    padding: 12px 0;
    margin-top: 0px !important;
}

.dropdown-item {
    border-radius: 6px;
    margin: 0 8px; /* Небольшой отступ от краев, чтобы айтем не прилипал */
    width: calc(100% - 16px);
}
.dropdown-menu::after {
    content: "";
    position: absolute;
    top: -20px; /* Заполняет пустоту сверху */
    left: 0;
    right: 0;
    height: 20px;
}

.dropdown-item:hover {
    background-color: var(--grandar-gold);
    color: #000;
    padding-left: 25px; /* Эффект смещения при наведении */
}

/* Стиль золотой кнопки в меню */
.nav-btn-gold {
    background-color: var(--grandar-gold) !important;
    color: black !important;
    padding: 8px 20px !important;
    display: flex !important;
    align-items: center;
    transition: transform 0.2s ease, shadow 0.2s ease !important;
}

.nav-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-lang {
	font-size: 14px;
	padding: 4px 12px;
	transition: all 0.3s;
	border: 1px solid rgba(0,0,0,0.1);
}
.btn-lang.active {
	background: rgba(0,0,0,0.05);
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
	font-weight: bold;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

        /* --- HERO --- */
        .hero-section {
            /* Новое фото: Порт/Контейнеры в тумане для атмосферы 
            background: linear-gradient(rgba(45, 55, 60, 0.75), rgba(45, 55, 60, 0.6)), 
                        url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');*/
            background-size: cover; background-position: center;
              height: 100vh; /* Фоллбэк */
			height: calc(var(--vh, 1vh) * 80); /* Идеально ровные 80% высоты без прыжков */
            display: flex; align-items: center; color: white; text-align: center;
			 overflow: hidden;
        }
		/* Включаем параллакс только на десктопах */
		@media (min-width: 992px) {
			.hero-section {
				background-attachment: fixed;
				overflow: hidden;
			}
		}
		@media (max-width: 768px) {
			.hero-section {
				/* Вместо 80dvh ставим фиксированную высоту */
				height: 450px !important; 
				min-height: 450px !important;
				overflow: hidden;
			}
		}
        .hero-title { text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
		.video-container {
		  position: relative;
		  width: 100%;
		  height: 550px !important; /* Высота на весь экран */
		  min-height: 550px !important;
		   
		  display: flex;
		  align-items: center;
		  justify-content: center;
		}

		.background-video {
		  position: absolute;
		  top: 0;
		  left: 0;
		  width: 100%;
		  height: 100%;
		  object-fit: cover; /* Видео заполнит контейнер, не растягиваясь */
		  z-index: -2; /* Уводит видео на задний план */
		}
		.video-container::after {
		  content: "";
		  position: absolute;
		  top: 0; left: 0; width: 100%; height: 100%;
		  background: rgba(0, 0, 0, 0.4); /* Темный слой 40% */
		  z-index: -1;
		}
		.content {
		  z-index: 1;
		  color: white;
		  text-align: center;
		}
        /* --- BUTTONS --- */
        .btn-grandar {
            background: linear-gradient(to right, var(--grandar-gold), #b39b72);
            color: #fff; padding: 14px 35px; border-radius: 2px;
            text-decoration: none; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px;
            transition: 0.4s; border: none; position: relative; z-index: 1;
        }
        .btn-grandar:hover { 
            background: linear-gradient(to right, #b39b72, var(--grandar-gold));
            box-shadow: 0 5px 15px rgba(192, 169, 131, 0.4); 
            transform: translateY(-2px); color: #fff;
        }
        
        .btn-outline-dark {
            border: 2px solid var(--text-main); color: var(--text-main);
            transition: 0.3s;
        }
        .btn-outline-dark:hover { background-color: var(--text-main); color: #fff; }

        /* --- SECTIONS --- */
		.section {position: relative; padding:80px 0; }
		.result-box {background:#fff;border-radius:16px;padding:30px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
        .section-title { position: relative; display: inline-block; margin-bottom: 2rem; color: var(--bs-secondary-color); }
        .section-title::after { content: ''; display: block; width: 60px; height: 3px; background-color: var(--grandar-gold); margin: 15px auto 0; transition: width 0.3s; }
        .section-title:hover::after { width: 100px; } /* Анимация линии */
        .section-title.text-start::after { margin: 15px 0 0; }
		
		/* --- НОВЫЙ НАСЫЩЕННЫЙ ФОН --- */
		.bg-pattern-rich {
			 
			/* Фоновый цвет: плотный светло-серый с голубым оттенком (под стиль Slate) */
			background-color: #E6EBED; 
			
			/* Размер сетки: более плотная (20px вместо 30px) для насыщенности */
			background-size: 20px 20px;
			
			/* Границы сверху и снизу для четкого разделения секций */
			border-top: 1px solid #d1d9dd;
			border-bottom: 1px solid #d1d9dd;
		}

        /* Карточки услуг */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Контент начинается сверху */
    padding: 40px 30px;
    background: #fff;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

/* Эта магия вытолкнет кнопку в самый низ */
.service-card > div:last-child {
    margin-top: auto; 
    padding-top: 25px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--grandar-gold);
}

.service-icon {
    font-size: 3rem;
    color: var(--grandar-gold);
    margin-bottom: 20px;
}

.badge-custom {
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

        /* --- FEATURES --- */
        .feature-box { padding: 20px; transition: 0.3s; }
        .feature-box:hover .feature-icon-circle { background-color: var(--grandar-gold); color: #fff; transform: rotateY(360deg); }
        .feature-icon-circle {
            width: 70px; height: 70px; background-color: #fff; border: 1px solid var(--grandar-gold);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            color: var(--grandar-gold); font-size: 1.8rem; margin-bottom: 10px;
            transition: 0.6s; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
		
		/* Features */
        .feature-box {
            padding: 30px;
        background: #ffffff;
        border: 1px solid #eee;
        transition: all 0.3s ease;
        text-align: center;
        height: 100%;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        transition: all 0.3s ease;
        }
        
        .feature-box:hover {
            transform: translateY(-7px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        border-color: var(--grandar-gold);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 15px;
        }

    .mission-box {
        border-left: 4px solid var(--grandar-gold);
        padding-left: 20px;
        margin-top: 30px;
        font-style: italic;
    }
    
    .accent-text {
        color: #000;
        font-weight: 600;
    }
		
/* Современные карточки этапов */
.step-item {
    position: relative;
    padding: 30px;
    background: #f8f9fa;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid #dee2e6; /* Нейтральная полоса */
}

.step-item:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-left-color: var(--grandar-gold); /* Золотая при наведении */
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0,0,0,0.1); /* Огромная прозрачная цифра на фоне */
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.step-item h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--grandar-slate);
    position: relative;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #000;
}

.step-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--grandar-gold);
    font-weight: bold;
}

.result-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 40px;
    margin-top: 60px;
    position: relative;
     
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Декоративний елемент — золота лінія зверху */
.result-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--grandar-gold);
}

.result-icon-check {
    width: 50px;
    height: 50px;
    background: rgba(255, 193, 7, 0.1); /* Дуже світле золото */
    color: var(--grandar-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.result-card h5 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: #4F6369;
}
.client-type-card {
    padding: 25px 15px;
    border-radius: 12px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.client-type-card:hover {
    background: #fff;
    border-color: var(--grandar-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.client-icon {
    font-size: 1.8rem;
    color: var(--grandar-gold);
    margin-bottom: 15px;
    display: block;
}

/* Эффект разделителя между колонками на десктопе */
@media (min-width: 768px) {
    .client-border-end {
        border-right: 1px dashed #ddd;
    }
}
        /* --- CALCULATOR --- */
.calculator-section {
            /* Фото: Абстрактная карта или темный склад */
            background: linear-gradient(rgba(45, 55, 60, 0.9), rgba(45, 55, 60, 0.85)),
                        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2072&q=80');
            background-size: cover; background-position: center;
            padding: 90px 0; color: white;
			 
        }
		/* Включаем параллакс только на десктопах */
		@media (min-width: 992px) {
			.calculator-section {
				background-attachment: fixed;
			}
		}
.calc-card {
    background: #ffffff;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    color: #333;
}
@media (max-width: 768px) {
.calc-card {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
}
.form-label {
    letter-spacing: 0.5px;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--grandar-gold);
    box-shadow: none;
}

/* Красивое табло цены */
.price-display {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border: 1px dashed var(--grandar-gold);
}

.btn-calc-main {
    background: var(--grandar-gold);
    border: none;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-calc-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}
		
		.progress-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: relative;
		margin-top: 50px;
		}
		.progress-step {
		text-align: center;
		flex: 1;
		position: relative;
		}
		.step-circle {
		line-height: 0px;
		font-weight: bold;
		z-index: 2;
		position: relative;
		}
		.step-active .step-circle { background: #4F6369; color: white; }
		.step-label {
		margin-top: 8px;
		}
		.step-icon {
    width: 50px;
    height: 50px;
    background: #fff;
	color: #a39c9c;
    border: 2px solid #a39c9c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.4rem;
    transition: 0.4s;
}

.progress-step .step-active .step-icon {
    border-color: var(--grandar-gold);
    background: #4F6369;
    color: #4F6369;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}

.arrow {
	display: block;
    position: absolute;
    top: 15px;        /* Отрегулируйте под себя */
    left: 20px;       /* Отрегулируйте под себя */
    
    width: 50px !important;  /* ПРИНУДИТЕЛЬНАЯ ШИРИНА ТИРЕ */
    height: 4px;             /* Толщина тире */
    background-color: #6c757d; 
    
    z-index: 10;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
@media (max-width: 768px) {
	.arrow {
    width: 20px !important; 
}
}
.arrow.visible {
    opacity: 1;
}

/* Добавим плавности и для сообщения */
#step_mes {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease-out;
    display: block !important; /* Всегда блок, но прозрачный */
}

#step_mes.visible {
    opacity: 1;
    transform: translateY(0);
}

.arrow::after {
    content: '';
    position: absolute;
    
    /* Центрируем треугольник вертикально относительно линии 4px */
    top: 50%;
    transform: translateY(-50%);
    
    /* Ставим треугольник точно в конец линии */
    right: -12px; 
    
    border: 6px solid transparent;
    border-left-color: #6c757d;
    
    width: 0;
    height: 0;
}

        /* --- CALLBACK FORM --- */
        .callback-form-container {
		border: 1px solid #beccdb;
            margin: 40px auto 0; padding: 35px;
            background-color: #fff; 
        }
        .callback-input {
            border: 1px solid #ddd; padding: 12px 15px; border-radius: 4px; width: 100%; transition: 0.3s;
        }
        .callback-input:focus { border-color: var(--grandar-gold); outline: none; }
		
        /* Footer */
        .footer {
            background: #2c3539;
            color: white;
            padding: 60px 0 20px;
			 
        }
        
        .footer h5 {
            color: var(--grandar-gold);
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .footer a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .footer a:hover {
            color: white;
            padding-left: 5px;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 40px;
            padding-top: 20px;
            text-align: center;
        }
		
		.marker-bg {
			position: relative;
			z-index: 1;
			color: white; 
			width: fit-content; 
			padding: 6px 8px;
			margin: 0 auto; /* Центрирует сам блок с текстом */ 
			background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); 
			background-origin: border-box; /* или padding-box, text */ 
			background-clip: padding-box; /* или border-box, text */ 
			background-size: 100% 100%; 
			background-repeat: no-repeat; 
			box-decoration-break: clone; /* Важно для переносов */
		}

		.marker-bg::before {
		  content: "";
		  position: absolute;
		  top: 0; left: -5px; right: -5px; bottom: 0;
		  background-color: #4F6369;
		  z-index: -1;
		  transform: rotate(-1deg) skew(5deg); /* Слегка кривим фон */
		  border-radius: 2px;
		}
		
		
		    /* Улучшаем список: превращаем его в иконки-чекбоксы */
    .benefit-list {
        list-style: none;
        padding: 0;
        margin: 30px 0;
    }
    .benefit-list li {
        position: relative;
        padding-left: 35px;
        margin-bottom: 15px;
        font-weight: 500;
        color: #333;
        display: flex;
        align-items: center;
    }
    .benefit-list li::before {
        content: "\F26A"; /* Иконка check-circle из Bootstrap Icons */
        font-family: "bootstrap-icons";
        position: absolute;
        left: 0;
        color: #4F6369;
        font-size: 1.2rem;
    }

    /* Видео-контейнер с эффектом "плавающей" рамки */
    .video-wrapper {
        position: relative;
        padding: 10px;
    }
    .video-wrapper::before {
        content: "";
        position: absolute;
        top: -10px;
        right: -10px;
        width: 100px;
        height: 100px;
        border-top: 4px solid var(--grandar-gold);
        border-right: 4px solid var(--grandar-gold);
        z-index: 1;
    }
    .video-container2 {
		position: relative;
		  width: 100%;
		  display: flex;
		  align-items: center;
		  justify-content: center;
	
         
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        transform: perspective(1000px) rotateY(0deg);
        transition: 0.5s ease;
    }
    .video-container2:hover {
		transform: perspective(1000px) rotateY(-5deg); /* Легкий 3D эффект */
    }

    /* Кнопка с нашей красивой стрелкой */
    .btn-main {
        background: #1a1a1a;
        color: white !important;
        padding: 15px 30px;
        border-radius: 8px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        font-weight: 600;
        transition: 0.3s;
    }
    .btn-main:hover {
        background: var(--grandar-gold);
        color: black !important;
    }
    .btn-main svg {
        margin-left: 10px;
        transition: 0.3s;
    }
    .btn-main:hover svg {
        transform: translateX(5px);
    }

.icon-container{
position: fixed;
right: -46%;
top: 80%;
  width: 100%;
  height: 60px;
}
.icon{
background: #7E3661;
  cursor: pointer;
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  margin: 0 12px;
  border-radius: 30px;
  }
 .icon i{
    position: relative;
    z-index: 2; /* Иконка выше всех */
    color: white;
    font-size: 43px;
    display: block; /* Чтобы margin работал корректно */
    text-align: center;
  }
  /* Новый элемент для пульсации */
.pulse-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background: #7E3661;
  z-index: 0; /* Под эффектами наведения */
  pointer-events: none; /* Чтобы не мешал клику */
  animation: pulse-out 2s infinite;
}

@keyframes pulse-out {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.8); /* Увеличивается за пределы кнопки */
    opacity: 0;
  }
}

.icon-rotate{
  box-shadow: inset 0 0 0 1px #7E3661;
  &::after, &::before{
    border: 0px solid transparent;
  }
  &:hover::before{
    transition:
      border-top-width 0.3s ease,
      border-top-color 0.3s ease;
    border-width: 60px;
    border-top-color: #7E3661;
  }
  &:hover::after{
    transition:
      border-left-width 0.3s ease,
      border-left-color 0.3s ease;
    border-width: 60px;
    border-left-color: #7E3661;
  }
  &:hover{
    transition: background 0.001s ease 0.3s;
    background: #7E3661;
  }

}
.accordion-button
 {
background-color: #f5f5f5;
 }
.accordion-button:not(.collapsed)
 {
    background-color: #E6EBED;
}
.accordion-item:not(:first-of-type) {
    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}
.alert-primary {
	--bs-alert-color: #052c65;
    --bs-alert-bg: #E6EBED;
}
/* Основной контейнер для списка предложений */
.autocomplete-suggestions {
    border: 1px solid #d4d4d4;
    background: #fff;
    position: absolute;
    z-index: 999;
}

/* Каждый отдельный город в списке */
.autocomplete-suggestion {
    padding: 10px;
    cursor: pointer; /* ДОБАВЛЯЕТ ПАЛЕЦ */
    transition: background 0.2s;
}

/* Подсветка города при наведении мышки */
.autocomplete-suggestion:hover {
    background-color: #e9e9e9; 
}
.feature-box:hover .feature-icon-circle {
    color: black;
}
.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    text-decoration: none;
    color: #0d6efd; /* Цвет Bootstrap primary или ваш основной */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link svg {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #0a58ca; /* Чуть темнее при наведении */
}

.service-link:hover svg {
    transform: translateX(5px); /* Анимация стрелки */
}

/* Страница сервис детали  */
        .detail-header {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
			 /* height: 550px !important;Высота на весь экран */
			min-height: 240px !important;
            display: flex;
            align-items: center;
            color: white;
            position: relative; 
			/*z-index: 2;  Убедимся, что заголовок выше карточки */
			display: flex;          /* Включаем Flexbox */
			align-items: center;    /* Центрирование по вертикали */
			justify-content: center; /* Центрирование по горизонтали */
			 
        }
		
        .service-full-icon {
            font-size: 5rem;
            color: #ffc107; /* Ваш золотой цвет */
            margin-bottom: 1.5rem;
        }

		.service-header-icon {
			font-size: 4rem; /* Размер иконки, когда она рядом с заголовком */
			color: #ffc107; /* Ваш золотой цвет */
		}
		.video-controls {position: absolute; right: 20px; z-index: 30; top: -20px;}
		.video-controls2 {position: absolute; bottom: 20px; right: 20px; z-index: 30; }
/* Страница сервис детали  */
@media (max-width: 768px) {
.icon-container {
    right: -36%;
	z-index: 999;
}
.navbar-collapse {
    flex-basis: 0%;
}
.navbar-custom .nav-link
{
    border-right: 0px;
}
.mephone {
    position: absolute;
        right: 20px;
        top: 30px;
    }
.progress-container {
    align-items: normal;
}
.step-icon {
    width: 35px;
    height: 35px;
}
.step-label {
    font-size: 0.8em;
}
.mobi-center {
    text-align: center !important;
}
.video-controls {right: 20px; z-index: 30; position: absolute; top: -20px;}
        }
.logo-animation-container {
    position: absolute;
    /* Растягиваем фон на весь родительский блок hero-section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center; /* Центрируем содержимое по вертикали */
    
    background: rgba(0, 0, 0, 0.3); /* Затемнение */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: all 0.8s ease-in-out;
}

/* Чтобы поднять логотип, не двигая сам фон оверлея: */
.rotating-logo {
    width: 500px; 
    max-width: 85%;
    margin-top: -50px; /* Двигаем логотип вверх, фон при этом не шевелится */
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
    animation: appearRotate 2.2s cubic-bezier(0.17, 0.67, 0.83, 0.67) forwards;
}

/* Для мобильных просто меняем отступ */
@media (max-width: 768px) {
    .rotating-logo {
        width: 240px;
        margin-top: -80px; /* На мобилках поднимаем еще выше */
    }
}

/* Класс для плавного исчезновения ВСЕГО оверлея (включая блюр и темный фон) */
.logo-animation-container.fade-out {
    opacity: 0;
    backdrop-filter: blur(0px);
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
}

/* Начальное состояние текста: скрыт и чуть ниже */
.initial-hidden {
    opacity: 0 !important;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease, visibility 1s;
}

/* Состояние, когда текст должен появиться */
.initial-hidden.show-content {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(0);
}


@keyframes appearRotate {
    0% {
        transform: scale(0.3) rotate(-200deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) rotate(15deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}
/* Подсветка активного пункта в выпадающем списке */
.dropdown-item.active {
    background-color: var(--grandar-gold) !important;
    color: #fff !important;
}

/* Контейнер для прижатия к правому краю */
.footer-right-block {
    display: flex;
    width: 100%;
    margin-top: 20px;
}

.ameu-status-container {
    display: flex;
    align-items: center; /* Центрирует текст относительно высоты логотипа */
    gap: 20px;
}

/* Блок с текстом в две строки */
.ameu-text-side {
    display: flex;
    flex-direction: column;
    text-align: right; /* Текст прижат к логотипу (справа) */
}

.ameu-label {
    font-size: 14px;
    color: #fff;
    opacity: 0.8;
    line-height: 1.2;
}

.ameu-name {
    font-size: 22px; /* Крупное название АМЕУ */
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Белая карточка логотипа */
.ameu-badge {
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.ameu-img-fixed {
    height: 35px; /* Солидный размер */
    width: auto;
}

.ameu-card-link:hover .ameu-badge {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Адаптация для мобильных (на телефонах обычно лучше по центру) */
@media (max-width: 768px) {
    .footer-right-block {
        justify-content: center;
    }
    .ameu-status-container {
        flex-direction: row; /* Оставляем в строку, если место позволяет */
        gap: 15px;
    }
    .ameu-text-side {
        text-align: left;
    }
}

        .error-container { text-align: center; background: white; padding: 60px; box-shadow: 0 15px 35px rgba(0,40,80,0.1); }
        .error-code { font-size: 120px; font-weight: 900; color: #002850; line-height: 1; margin-bottom: 20px; position: relative; }
        .error-code span { color: #0d6efd; }
        .truck-icon { font-size: 5rem; margin-bottom: 20px; display: inline-block; animation: drive 3s infinite linear; }
        @keyframes drive {
            0% { transform: translateX(-20px); }
            50% { transform: translateX(20px); }
            100% { transform: translateX(-20px); }
        }
        .btn-home { background: #002850; color: white; padding: 12px 35px; border-radius: 50px; font-weight: 600; transition: 0.3s; }
        .btn-home:hover { background: #0d6efd; color: white; transform: scale(1.05); }
		
		
    .blog-card { border-radius: 0px; transition: 0.3s; height: 100%; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
    .blog-img { height: 220px; object-fit: cover; border-radius: 0px; }
    .date-badge { font-size: 0.8rem; color: #6c757d; }
    .category-tag { font-size: 0.7rem; text-transform: uppercase; color: #0d6efd; font-weight: bold; letter-spacing: 1px; }
	
	
	    .post-content { line-height: 1.8; font-size: 1rem; color: #000; }
    .post-header { background-size: cover; background-position: center; height: 200px; position: relative; border-radius: 0px; margin-bottom: 30px; }
    .post-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 20px; border-radius: 0px; color: white; }
    .sidebar-card { border: none; background: #f8f9fa; border-radius: 0px; }
	
	    .contact-icon { width: 50px; height: 50px; background: #e7f1ff; color: #0d6efd; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
    .map-container { height: 450px; border-radius: 15px; overflow: hidden; border: 1px solid #dee2e6; }
    .messenger-btn { transition: 0.3s; }
    .messenger-btn:hover { opacity: 0.8; transform: translateY(-2px); }
	
	    .faq-header { background: #002850; color: white; padding: 80px 0; }
    .accordion-button:not(.collapsed) { background-color: #E6EBED; border-radius: 0px !important; color: #000; }
    .accordion-item { border: none; margin-bottom: 15px; border-radius: 0px !important; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .sidebar-support { background: #f8f9fa; border-radius: 0px; border: 1px dashed #dee2e6; }
	
	
	    .region-card { transition: transform 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .region-card:hover { transform: translateY(-10px); }
    .icon-box { font-size: 2.5rem; color: #0d6efd; margin-bottom: 20px; }
	
	    .review-card { border-radius: 0px; background: #fff; transition: 0.3s; margin-bottom: 20px;}
    .review-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-5px); }
    .quote-icon { font-size: 2rem; color: #000; }
    .stars { color: #ffc107; font-size: 0.9rem; }
    .bg-reviews { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
	
	
	    .team-card { transition: all 0.3s ease; border: none; border-radius: 0px; overflow: hidden; background: #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.1);}
    .team-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
    .team-img-wrapper { position: relative; height: 270px; overflow: hidden; }
    .team-img-wrapper img {text-align: center; margin-top: 25px; width: 150px; height: 150px; object-fit: cover; border-radius: 50%;}
    .social-overlay { position: absolute; bottom: 0px; left: 0; right: 0; background: rgba(13, 110, 253, 0.9); transition: 0.3s; padding: 10px; text-align: center; }
    .team-card:hover { bottom: 0; }
	
		.accordion{--bs-accordion-btn-focus-border-color: #C0A983; --bs-accordion-btn-focus-box-shadow: #C0A983;}
    .career-hero { background: #002850; color: white; padding: 60px 0; }
    .job-card { transition: 0.3s; }
    .job-card:hover { background-color: #f8faff;}
	.job-card .show { border-left: 4px solid #0d6efd;}
    .form-section { background: #fdfdfd; border: 1px solid #eee; border-radius: 10px; }