/* DEBUG_LOGO_2026 */
/* ========================================================= */
/* 1. ПОДКЛЮЧЕНИЕ ШРИФТОВ И ОБЩИЕ СБРОСЫ СТИЛЕЙ             */
/* ========================================================= */

/* --- Ваши шрифты --- */
@font-face {
	src: url(../fonts/OrpheusBold.otf);
	font-family: "OrpheusBold";
}
@font-face {
	src: url(../fonts/bebas2.ttf);
	font-family: "bebas";
}
@font-face {
	src: url(../fonts/MyriadPro-BoldCond_0.otf);
	font-family: "MyriadProBold";
}
@font-face {
	src: url(../fonts/isabel-black.otf);
	font-family: "isabel-black";
}
@font-face {
	src: url(../fonts/Makler_Deco.ttf);
	font-family: "Makler Deco";
}
@font-face {
	src: url(../fonts/Montserrat-Bold.ttf);
	font-family: "Montserrat";
	font-weight: 700;
}
@font-face {
	src: url(../fonts/Montserrat-SemiBold.ttf);
	font-family: "Montserrat";
	font-weight: 600;
}
@font-face {
	src: url(../fonts/Montserrat-Regular.ttf);
	font-family: "Montserrat";
	font-weight: 400;
}

/* --- Общие сбросы и базовые стили --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box; /* Стандартизирует расчет размеров блоков */
}

body {
	color: #2b2a29;
	background-color: #ffffff;
	font-family: "Montserrat", sans-serif; /* Добавляем запасной шрифт */
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

img {
	border: none;
	max-width: 100%;
	height: auto;
	display: block; /* Убирает лишние отступы под изображениями */
}

ul, ol {
	list-style: none;
}

input, button, textarea, select {
	font-family: inherit;
	border: none;
	outline: none;
	background: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

button {
	cursor: pointer;
}

/* --- Общий контейнер-ограничитель для контента --- */
.container,
.header-container,
.new-footer-container,
.about-us-container,
.license-container,
.main-advantages-container {
    width: 100%;
    max-width: 1750px; /* << НОВОЕ ЗНАЧЕНИЕ (было 1200px) */
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px; /* Немного увеличим боковые отступы */
    padding-right: 20px;
}


/* ========================================================= */
/* HEADER V2 (современный, без смены палитры/шрифтов)        */
/* ========================================================= */

.main-header{
  background:#000;
  border-bottom:1px solid #222;
  padding: 16px 0;
}

.header-container--v2{
  max-width:1750px;
  margin:0 auto;
  padding:0 15px;
  display:flex;
  align-items:center;
  gap: 28px;
}

/* Лого слева */
.header-logo--v2{
  flex-shrink:0;
  display:flex;
  align-items:center;
  margin-right: 28px;
}
.header-logo--v2 img{
  width: 320px;         /* <-- регулируйте размер лого */
  height:auto;
  display:block;
}

/* Меню */
.header-nav--v2{
  flex: 1;
}
.header-menu{
  display:flex;
  align-items:center;
  gap: 34px;
  margin:0;
  padding:0;
  list-style:none;
}

.header-menu__link{
  color:#fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 0;
  position: relative;
  white-space: nowrap;
}
.header-menu__link::after{
  content:'';
  position:absolute;
  left:0; bottom:3px;
  width:0; height:2px;
  background:#ffcc0a;
  transition: width .25s ease;
}
.header-menu__link:hover::after{
  width:100%;
}

/* Dropdown */
.header-menu__item--dropdown{
  position: relative;
}
.header-menu__link--dropdown{
  display:flex;
  align-items:center;
  gap: 8px;
}
.header-menu__caret{
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffcc0a;
  border-bottom: 2px solid #ffcc0a;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform .2s ease;
}

.header-dropdown{
  position:absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background:#0b0b0b;
  border:1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px;
  margin-top: 0px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  display:none;
  z-index: 9999;
}
.header-dropdown__link{
  display:block;
  padding: 10px 12px;
  border-radius: 10px;
  color:#fff;
  font-weight:600;
  font-size: 14px;
  text-transform: none;
}
.header-dropdown__link:hover{
  background: rgba(255,204,10,.14);
  color:#ffcc0a;
}

/* Открытие dropdown при наведении */
.header-menu__item--dropdown:hover .header-dropdown{
  display:block;
}
.header-menu__item--dropdown:hover .header-menu__caret{
  transform: rotate(225deg);
}

/* Правый блок */
.header-right-block--v2{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 18px;
  flex-shrink:0;
}
.header-phone--v2{
  color:#fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  opacity: .95;
}
.header-phone--v2:hover{
  color:#ffcc0a;
}

.header-personal-link--v2{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#ffcc0a;
  color:#000;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  border:2px solid #ffcc0a;
  transition: all .2s ease;
  white-space: nowrap;
}
.header-personal-link--v2:hover{
  background: transparent;
  color:#ffcc0a;
}

/* Бургер (по умолчанию скрыт) */
.header-burger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  align-items:center;
  justify-content:center;
  flex-direction: column;
  gap: 6px;
}
.header-burger span{
  width: 22px;
  height: 2px;
  background: #ffcc0a;
  display:block;
}

/* Мобильное меню */
.header-mobile{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  display:none;
  z-index: 99999;
  padding: 18px;
}
.header-mobile.is-open{
  display:block;
}
.header-mobile__inner{
  max-width: 520px;
  width: 100%;
  height: 100%;
  background:#000;
  border:1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  padding: 16px;
  overflow:auto;
}
.header-mobile__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.header-mobile__logo img{
  width: 220px;
  height:auto;
  display:block;
}
.header-mobile__close{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color:#fff;
  font-size: 18px;
  font-weight: 800;
}

.header-mobile__links{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.header-mobile__link{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  color:#fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}
.header-mobile__link:hover{
  border-color: rgba(255,204,10,.45);
  color:#ffcc0a;
}

/* Аккордеон Услуги */
.header-mobile__group{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  overflow:hidden;
}
.header-mobile__accordion{
  width:100%;
  text-align:left;
  padding: 12px 12px;
  color:#fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.header-mobile__caret{
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffcc0a;
  border-bottom: 2px solid #ffcc0a;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.header-mobile__accordion.is-open .header-mobile__caret{
  transform: rotate(225deg);
}
.header-mobile__submenu{
  display:none;
  padding: 6px 10px 12px 10px;
  background:#0b0b0b;
}
.header-mobile__submenu.is-open{ display:block; }
.header-mobile__submenu a{
  display:block;
  padding: 10px 10px;
  border-radius: 10px;
  color:#fff;
  font-weight:600;
  font-size: 14px;
}
.header-mobile__submenu a:hover{
  background: rgba(255,204,10,.14);
  color:#ffcc0a;
}

.header-mobile__bottom{
  margin-top: 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.header-mobile__phone{
  color:#fff;
  font-size: 16px;
  font-weight: 800;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
}
.header-mobile__phone:hover{ color:#ffcc0a; border-color: rgba(255,204,10,.45); }

.header-mobile__cabinet{
  display:flex;
  align-items:center;
  gap:10px;
  background:#ffcc0a;
  color:#000;
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 900;
  border:2px solid #ffcc0a;
}
.header-mobile__cabinet:hover{
  background: transparent;
  color:#ffcc0a;
}

/* Адаптив */
@media (max-width: 1100px){
  .header-logo--v2 img{ width: 260px; }
  .header-menu{ gap: 22px; }
  .header-phone--v2{ display:none; } /* чтобы не теснило */
}

@media (max-width: 920px){
  .header-nav--v2{ display:none; }
  .header-right-block--v2{ display:none; }
  .header-burger{ display:flex; margin-left:auto; }
  .main-header{ padding: 14px 0; }
  .header-container--v2{ gap: 12px; }
  .header-logo--v2 img{ width: 230px; }
}

/* =========================================================
   УВЕЛИЧЕНИЕ ШАПКИ ТОЛЬКО ДЛЯ ПК/НОУТ/ПЛАНШЕТОВ
   ВСТАВИТЬ В САМЫЙ КОНЕЦ ЭТОГО ЖЕ ФАЙЛА
   ========================================================= */

/* Планшеты/ноуты (920–1199px) — чуть больше */
@media (min-width: 920px) and (max-width: 1199px){
  .main-header{ padding: 18px 0; }     /* выше шапка */
  .header-logo--v2 img{ width: 340px; } /* лого больше (было 320) */
  .header-menu__link{ font-size: 17px; }
}

/* ПК (>=1200px) — заметно больше */
@media (min-width: 1200px){
  .main-header{ padding: 22px 0; }
  .header-logo--v2 img{ width: 420px; } /* <-- главный размер лого на ПК */
  .header-menu{ gap: 44px; }
  .header-menu__link{ font-size: 18px; padding: 12px 0; }

  .header-phone--v2{ font-size: 18px; }
  .header-personal-link--v2{ font-size: 16px; padding: 14px 18px; }
}

/* ========================================================= */
/* 3. ГЛАВНЫЙ СЛАЙДЕР (ВЕРСИЯ С ТОЧНЫМИ ПРОПОРЦИЯМИ)         */
/* ========================================================= */

.main-slider-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Контейнер слайдера */
.main-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #e9e9e9;
}

.main-slider-container {
    width: 100%;
    /* Убираем фиксированную высоту */
}

/* --- САМОЕ ГЛАВНОЕ ПРАВИЛО ДЛЯ СОХРАНЕНИЯ ПРОПОРЦИЙ --- */
.swiper-wrapper {
    /* Задаем пропорции, как у вашей картинки (1920 / 550) */
    aspect-ratio: 1920 / 550;
}

.swiper-slide {
    display: block;
    overflow: hidden;
}

.swiper-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* << ИЗМЕНЕНИЕ: Гарантирует, что изображение впишется полностью */
}


/* --- СТИЛИ ДЛЯ СТРЕЛОК НАВИГАЦИИ (ВЕРСИЯ БЕЗ ФОНА) --- */
.main-slider .swiper-button-prev,
.main-slider .swiper-button-next {
    /* Убираем фон и тени */
    background-color: transparent;
    box-shadow: none;

    /* Стили для самой иконки-стрелки */
    color: #ffffff; /* Белый цвет стрелки */
    width: 60px; /* Увеличиваем кликабельную область */
    height: 60px;
    
    /* Добавляем легкую тень для читаемости на светлом фоне */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

    transition: all 0.3s ease;
}

/* Эффекты при наведении */
.main-slider .swiper-button-prev:hover,
.main-slider .swiper-button-next:hover {
    color: #ffcc0a; /* Ваш фирменный желтый */
    transform: scale(1.15); /* Делаем анимацию чуть заметнее */
}

/* Увеличиваем размер самой стрелочки */
.main-slider .swiper-button-prev::after,
.main-slider .swiper-button-next::after {
    font-size: 10px; /* << Увеличили размер */
   /* font-weight: bold;*/
}

/* Позиционирование стрелок */
.main-slider .swiper-button-prev {
    left: 1px;
}
.main-slider .swiper-button-next {
    right: 1px;
}

/* --- СТИЛИ ДЛЯ ПАГИНАЦИИ (ТОЧЕК) --- */
.main-slider .swiper-pagination {
    bottom: 15px !important;
}
.main-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    opacity: 0.7;
    margin: 0 5px !important;
}
.main-slider .swiper-pagination-bullet-active {
    background-color: #ffcc0a;
    transform: scale(1.2);
    opacity: 1;
}

/* ========================================================= */
/* 4. СЕКЦИЯ 'CASH4GOLD - ЭТО' (ФИНАЛЬНАЯ ВЕРСИЯ)            */
/* ========================================================= */

.about-us-section {
	padding-top: 0px;
    padding-bottom: 100px;
	background-color: #fff;
}

/* --- Заголовок --- */
.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: #000;
}
.section-title .accent-color {
    color: #000;
}

/* --- Основная разметка блока --- */
.about-us-layout {
    display: flex;
    gap: 30px;
    align-items: stretch; /* Важно для одинаковой высоты колонок */
    height: 800px; /* Фиксированная высота всего блока */
}

/* --- Левая колонка: Преимущества --- */
.about-us-features {
    width: 30%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    /* << ИЗМЕНЕНИЕ: Вместо space-between ставим flex-start и добавляем gap */
    justify-content: flex-start; 
    gap: 20px; /* << Отступ между карточками */
}

.feature-card {
    background-color: #ffcc0a;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.about-us-features .feature-card:not(:last-child) {
    margin-bottom: 20px;
}

.feature-card__icon img {
    width: 100px; /* << АККУРАТНЫЙ РАЗМЕР ИКОНКИ */
    height: 100px;
    flex-shrink: 0;
}

.feature-card__text {
    /* Контейнер для текста */
}
.feature-card__title {
    font-size: 28px; /* Чуть меньше для баланса */
    font-weight: 700;
    color: #DD2A1B;
}
.feature-card__description {
    font-size: 22px;
    color: #000;
    line-height: 1.3;
}

/* --- Правая колонка: Галерея Swiper --- */
.about-us-gallery {
    width: 70%;
    min-width: 0; /* Хак для flexbox */
}

/* Основной слайдер (верхний) */
.about-gallery-main {
    height: 85%; /* Занимает 80% высоты галереи */
    width: 100%;
    border-radius: 16px;
    margin-bottom: 15px;
}
.about-gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Слайдер с миниатюрами (нижний) */
.about-gallery-thumbs {
    height: 20%; /* Занимает оставшуюся часть */
}
.about-gallery-thumbs .swiper-slide {
    opacity: 0.6;
    transition: opacity 0.3s;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
	aspect-ratio: 1 / 1; 
}
.about-gallery-thumbs .swiper-slide:hover {
    opacity: 1;
}
.about-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 3px solid #ffcc0a;
}
.about-gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================================= */
/* 5. СЕКЦИЯ С ЛИЦЕНЗИЯМИ                                    */
/* ========================================================= */

.license-section {
	padding-top: 100px;
    padding-bottom: 100px;
	background-color: #fff;
}
.license-container {
    max-width: 1750px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 60px;
}
.license-info { width: 45%; }
.license-title { font-size: 40px; font-weight: 700; margin-bottom: 15px; }
.license-subtitle { font-size: 18px; line-height: 1.6; margin-bottom: 40px; }
.license-badges { display: flex; gap: 20px; align-items: center; }
.license-badges img { height: 80px; width: auto; }
.license-docs { width: 55%; display: flex; gap: 30px; justify-content: center; }
.doc-item { display: block; width: 45%; }
.doc-item img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.doc-item:hover img {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


/* ========================================================= */
/* 6. СЕКЦИЯ "НАШИ ПРЕИМУЩЕСТВА"                             */
/* ========================================================= */

.main-advantages-section {
	padding-top: 100px;
    padding-bottom: 100px;
	background-color: #fff;
}
.advantages-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}
.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 80px;
}
.advantage-item-header {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    padding: 12px 35px;
    margin-bottom: 25px;
    border-radius: 30px 0;
    background: linear-gradient(to right, #efc825, rgba(239, 200, 37, 0));
}
.advantage-item ul {
    list-style: none;
}
.advantage-item li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
	font-size: 22px;
}
.advantage-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    background-color: #DD2A1B;
    border-radius: 50%;
}

/* ========================================================= */
/* 7. СЕКЦИЯ "ОНЛАЙН-ОЦЕНКА" (ТОЛЬКО ФОН)                    */
/* ========================================================= */

.online-evaluation-section {
	padding-top: 100px;
    padding-bottom: 100px;
	background-color: #fff;
}

/* --- Основной контейнер с фоном --- */
.evaluation-block-wrapper {
    max-width: 1750px;
    margin: 0 auto;
    position: relative;
    
    background-image: url('../img/evaluation-bg.png'); /* << Укажите путь к вашему фону */
    background-size: 100% 100%;
    background-repeat: no-repeat;

    /* Сохраняем пропорции фона */
    aspect-ratio: 1200 / 350;

    /* Выравниваем контент внутри */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    border-radius: 20px;
    overflow: hidden;
}

/* --- Центральный контент --- */

.evaluation-content {
    position: relative;
    z-index: 2;
    
    /* Создаем полупрозрачную подложку */
    background: rgba(0, 0, 0, 0.2); /* << Полупрозрачный черный. Можете поиграть со значением 0.2 (от 0 до 1) */
    
    padding: 30px 50px; /* Отступы внутри подложки */
    border-radius: 20px;
    
    /* Эффект "матового стекла" (опционально, но очень красиво) */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.evaluation-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff; /* << ТЕКСТ ДЕЛАЕМ БЕЛЫМ для контраста */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* << Тень для лучшей читаемости */
}
.evaluation-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    color: #ffffff; /* << ТЕКСТ ДЕЛАЕМ БЕЛЫМ */
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.evaluation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.evaluation-buttons .btn {
    min-width: 240px;
    padding: 16px 20px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-black { background-color: #000; color: #fff; }
.btn-white { background-color: #fff; color: #000; }
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Стили для картинок телефона и кольца полностью удалены */

/* ========================================================= */
/* 8. СЕКЦИЯ С АДРЕСАМИ (ФИНАЛЬНАЯ ВЕРСИЯ)                   */
/* ========================================================= */

.addresses-section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}
.all-addresses-link {
    display: block;
    text-align: center;
    margin-top: 40px;
    font-weight: 600;
    color: #000;
}
.main-addresses-layout {
    display: flex;
    gap: 30px;
    height: 550px;
}
.main-map-column {
    width: 50%;
    border-radius: 12px;
    overflow: hidden;
}
.main-list-column {
    width: 50%;
    overflow-y: auto;
    padding-right: 10px;
}
.address-item {
    background-color: #ffcc0a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}
.address-item__details-link {
    position: absolute;
    top: 22px;
    right: 20px;
    z-index: 2;
    background-color: #DD2A1B;
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.arrow-icon { transition: transform 0.3s; }
.address-item__details-link:hover .arrow-icon { transform: translateX(5px); }
.address-item__main-content {
    cursor: pointer;
    padding-right: 140px;
}
.address-item__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.address-item__title {
    color: #000;
    font-weight: 700;
    font-size: 18px;
}
.address-item__arrow {
    width: 10px; height: 10px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.address-item.expanded .address-item__arrow {
    transform: rotate(135deg);
}
.address-item__address-line {
    color: #333;
    font-size: 15px;
}
.address-item__body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
}
.address-item.expanded .address-item__body {
    max-height: 200px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.address-item__body p {
    font-size: 15px;
    color: #000;
    margin-bottom: 16px;
}
.custom-balloon {
    font-family: "Montserrat", sans-serif;
}
.custom-balloon h4 { margin: 0 0 10px 0; font-size: 16px; font-weight: 600; }
.balloon-content p { margin: 0 0 8px 0; font-size: 14px; line-height: 1.5; }

/* ========================================================= */
/* 8.1. СТИЛИ ДЛЯ КАСТОМНЫХ КЛАСТЕРОВ НА КАРТЕ                */
/* ========================================================= */
.custom-cluster {
	pointer-events: auto; /* &#8592; разрешаем клики */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #BF0D0D; /* красный */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}
.custom-cluster:hover { transform: scale(1.1); }

.custom-cluster-number {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #FFCB00; /* желтый центр */
    color: #000;
    font-weight: 500;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
}

.custom-cluster--small { width: 44px; height: 44px; }
.custom-cluster--small .custom-cluster-number { width: 34px; height: 34px; font-size: 14px; }

.custom-cluster--medium { width: 54px; height: 54px; }
.custom-cluster--medium .custom-cluster-number { width: 42px; height: 42px; font-size: 16px; }

.custom-cluster--large { width: 66px; height: 66px; }
.custom-cluster--large .custom-cluster-number { width: 52px; height: 52px; font-size: 18px; }





/* ========================================================= */
/* АДАПТИВ ДЛЯ МОБИЛЬНЫХ */
/* ========================================================= */
@media (max-width: 992px) {
  .main-addresses-layout {
    flex-direction: column;
    height: auto;
  }
  .main-map-column, .main-list-column {
    width: 100%;
    height: 400px;
  }
  .main-list-column {
    height: auto;
    max-height: 500px;
  }
}

@media (max-width: 600px) {
  .addresses-section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .address-item {
    padding: 15px;
  }
  .address-item__details-link {
    top: 15px;
    right: 15px;
    padding: 6px 12px;
  }
  .custom-balloon {
    min-width: 220px;
  }
}



/* ========================================================= */
/* 9. ПОДВАЛ (FOOTER)                                        */
/* ========================================================= */

.new-footer {
    background-color: #000000;
    color: #a9a9a9;
    padding: 60px 0;
    font-size: 14px;
}
.new-footer-container {
    max-width: 1750px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.footer-col-logo { width: 25%; }
.footer-logo img { max-width: 350px; margin-bottom: 20px; }
.footer-copyright-text { font-size: 12px; color: #777; line-height: 1.6; }
.footer-col-menu { width: 20%; }
.footer-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-col-menu a {
    margin-bottom: 10px;
    display: block;
}
.footer-col-menu a:hover {
    color: #efc825;
}
.footer-col-contacts { width: 25%; }
.footer-contacts .contact-item {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}
.footer-socials {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}
.footer-socials a:hover {
    opacity: 0.8;
}


/* ========================================================= */
/* 10. СТИЛИ ДЛЯ НОВОСТЕЙ                                    */
/* ========================================================= */

/* --- Общие стили для карточки новости --- */
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.news-card__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-card__date {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.news-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1; /* Заголовок занимает все доступное место */
}
.news-card__link {
    font-weight: 600;
    color: #000;
    margin-top: auto; /* Прижимает ссылку к низу карточки */
}
.news-card__link:hover {
    color: #DD2A1B;
}

/* --- Стили для блока на главной --- */
.home-news-section {
    padding: 100px 0;
}
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 новости в ряд */
    gap: 30px;
}
.all-news-link-wrapper {
    text-align: center;
    margin-top: 50px;
}
.btn-more {
    background: #000;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
}
.btn-more:hover {
    background: #DD2A1B;
    color: #fff;
}

/* --- Стили для страницы /news/ --- */
.news-list-page .news-card {
    margin-bottom: 30px;
}
.news-detail-page .news-detail-image {
    border-radius: 16px;
    margin-bottom: 30px;
}
.news-detail-page .news-detail-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}
.news-detail-page .news-detail-content {
    font-size: 18px;
    line-height: 1.8;
}

/* ========================================================= */
/* 10. АДАПТИВНОСТЬ (ОЧИЩЕННАЯ ВЕРСИЯ)                       */
/* ========================================================= */

@media (max-width: 1200px) {
    .about-us-layout {
        height: 700px;
    }

    .feature-card__title {
        font-size: 24px;
    }

    .feature-card__description {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .about-us-layout {
        flex-direction: column;
        height: auto;
        gap: 40px;
    }

    .about-us-features {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .feature-card {
        width: calc(50% - 15px);
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .about-us-features .feature-card:not(:last-child) {
        margin-bottom: 0;
    }

    .about-us-gallery {
        width: 100%;
        height: 500px;
    }

    .license-container {
        flex-direction: column;
        gap: 40px;
    }

    .license-info,
    .license-docs {
        width: 100%;
        text-align: center;
    }

    .license-badges {
        justify-content: center;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .evaluation-block-wrapper {
        aspect-ratio: auto;
        height: 260px;
        background-size: cover;
        background-position: center;
    }

    .evaluation-content {
        padding: 20px;
        margin: 0 15px;
        width: calc(100% - 30px);
        box-sizing: border-box;
    }

    .evaluation-title {
        font-size: 32px;
    }

    .evaluation-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .evaluation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .evaluation-buttons .btn {
        min-width: 200px;
    }

    .main-addresses-layout {
        flex-direction: column;
        height: 800px;
    }

    .main-map-column,
    .main-list-column {
        width: 100%;
    }

    .main-map-column {
        height: 400px;
        order: 2;
    }

    .main-list-column {
        height: 350px;
        order: 1;
        margin-bottom: 30px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .address-item {
        margin-bottom: 15px;
    }

    .home-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .new-footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-col-logo,
    .footer-col-menu,
    .footer-col-contacts {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container,
    .header-container,
    .new-footer-container,
    .about-us-container,
    .license-container,
    .main-advantages-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-slider-section {
        padding-top: 50px;
        padding-bottom: 20px;
    }

    .about-us-section {
        padding-top: 0;
        padding-bottom: 40px;
    }

    .license-section,
    .main-advantages-section,
    .online-evaluation-section,
    .home-news-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .main-slider .swiper-wrapper {
        aspect-ratio: 16 / 9;
    }

    .main-slider .swiper-pagination {
        display: none !important;
    }

    .main-slider .swiper-slide-image {
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }

    .section-title,
    .advantages-title,
    .license-title,
    .addresses-section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .about-us-features {
        flex-direction: column;
    }

    .feature-card {
        width: 100%;
        flex-direction: row;
        text-align: left;
    }

    .about-us-gallery {
        height: 400px;
    }

    .license-docs {
        flex-direction: column;
        align-items: center;
    }

    .doc-item {
        width: 80%;
        margin-bottom: 20px;
    }

    .evaluation-block-wrapper {
        height: auto;
        min-height: 240px;
        padding: 18px 0;
    }

    .evaluation-content {
        padding: 16px 14px;
        margin: 0 10px;
        width: calc(100% - 20px);
    }

    .evaluation-title {
        font-size: 26px;
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .evaluation-subtitle {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 18px;
    }

    .evaluation-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-addresses-layout {
        height: 600px;
    }

    .main-map-column {
        height: 250px;
    }

    .main-list-column {
        height: 250px;
    }

    .all-news-link-wrapper {
        margin-top: 30px;
    }

    .footer-logo img {
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .container,
    .header-container,
    .new-footer-container,
    .about-us-container,
    .license-container,
    .main-advantages-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .main-slider-section {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .about-us-section,
    .license-section,
    .main-advantages-section,
    .online-evaluation-section,
    .home-news-section {
        padding-bottom: 30px;
    }

    .main-slider {
        border-radius: 15px;
    }

    .main-slider .swiper-wrapper {
        aspect-ratio: 4 / 3;
    }

    .main-slider .swiper-slide-image {
        max-height: 250px;
    }

    .section-title,
    .advantages-title,
    .license-title,
    .addresses-section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .feature-card {
        padding: 12px;
        gap: 8px;
        margin-bottom: 15px;
    }

    .feature-card__icon img {
        width: 50px;
        height: 50px;
    }

    .feature-card__title {
        font-size: 16px;
    }

    .feature-card__description {
        font-size: 14px;
    }

    .about-us-gallery {
        height: 300px;
    }

    .advantage-item-header {
        font-size: 18px;
        padding: 10px 20px;
    }

    .advantage-item li {
        font-size: 16px;
    }

    .evaluation-block-wrapper {
        height: auto;
        min-height: 230px;
        padding: 16px 0;
    }

    .evaluation-content {
        padding: 14px 12px;
    }

    .evaluation-title {
        font-size: 22px;
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .evaluation-subtitle {
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 14px;
    }

    .evaluation-buttons {
        gap: 8px;
    }

    .evaluation-buttons .btn {
        min-width: 160px;
        padding: 10px 15px;
        font-size: 12px;
    }

    .main-addresses-layout {
        height: 700px;
    }

    .main-map-column {
        height: 300px;
    }

    .main-list-column {
        height: 300px;
    }

    .address-item {
        padding: 12px;
        margin-bottom: 15px;
    }

    .address-item__details-link {
        position: static;
        margin-top: 10px;
        display: inline-flex;
        font-size: 12px;
        padding: 6px 12px;
    }

    .address-item__main-content {
        padding-right: 0;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .news-card__content {
        padding: 20px;
    }

    .main-slider .swiper-button-prev,
    .main-slider .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .main-slider .swiper-button-prev::after,
    .main-slider .swiper-button-next::after {
        font-size: 6px;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .main-slider .swiper-slide-image {
        max-height: 200px;
    }

    .section-title,
    .advantages-title,
    .license-title,
    .addresses-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .about-us-layout {
        gap: 20px;
    }

    .advantages-grid {
        gap: 20px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        padding: 10px;
        margin-bottom: 12px;
    }

    .license-badges {
        flex-direction: column;
        gap: 15px;
    }

    .doc-item {
        width: 100%;
    }

    .evaluation-block-wrapper {
        height: auto;
        min-height: 220px;
        padding: 14px 0;
    }

    .evaluation-title {
        font-size: 19px;
        line-height: 1.15;
    }

    .evaluation-subtitle {
        font-size: 13px;
        line-height: 1.3;
    }

    .evaluation-buttons .btn {
        min-width: 145px;
        padding: 9px 12px;
        font-size: 11px;
    }

    .main-addresses-layout {
        height: 650px;
    }

    .main-map-column {
        height: 250px;
    }

    .main-list-column {
        height: 250px;
    }
}

/* ========================================================= */
/* ДОПОЛНИТЕЛЬНЫЕ ФИКСЫ                                      */
/* ========================================================= */

.main-list-column::-webkit-scrollbar {
    width: 6px;
}

.main-list-column::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.main-list-column::-webkit-scrollbar-thumb {
    background: #ffcc0a;
    border-radius: 10px;
}

.main-list-column::-webkit-scrollbar-thumb:hover {
    background: #e6b800;
}

/* Делаем мобильное меню новой шапки всегда поверх контента */
.header-mobile {
    z-index: 999999;
}


/* ========================================================= */
/* HOTFIX: мобильный слайдер без пустого серого блока        */
/* ========================================================= */
@media (max-width: 768px) {
  .main-slider {
    background-color: transparent !important;
  }

  .main-slider-container,
  .main-slider .swiper,
  .main-slider .swiper-wrapper,
  .main-slider .swiper-slide {
    height: auto !important;
    min-height: 0 !important;
  }

  .main-slider .swiper-wrapper {
    aspect-ratio: auto !important;
  }

  .main-slider .swiper-slide-image {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}

@media (max-width: 576px) {
  .main-slider-section {
    padding-bottom: 10px !important;
  }
}


/* ===== Evaluation mobile text clipping fix ===== */
@media (max-width: 768px) {
    .online-evaluation-section .evaluation-block-wrapper {
        align-items: center;
    }

    .online-evaluation-section .evaluation-content {
        max-width: calc(100% - 20px);
    }

    .online-evaluation-section .evaluation-title,
    .online-evaluation-section .evaluation-subtitle {
        word-break: normal;
        overflow-wrap: break-word;
    }
}


/* ========================================================= */
/* V4 FIX: УМЕНЬШАЕМ СТРЕЛКИ СЛАЙДЕРА НА МОБИЛЬНЫХ           */
/* ========================================================= */
@media (max-width: 768px) {
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    width: 28px !important;
    height: 28px !important;
  }

  .main-slider .swiper-button-prev::after,
  .main-slider .swiper-button-next::after {
    font-size: 18px !important;
  }

  .main-slider .swiper-button-prev {
    left: 6px !important;
  }

  .main-slider .swiper-button-next {
    right: 6px !important;
  }
}

@media (max-width: 576px) {
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    width: 22px !important;
    height: 22px !important;
  }

  .main-slider .swiper-button-prev::after,
  .main-slider .swiper-button-next::after {
    font-size: 14px !important;
  }

  .main-slider .swiper-button-prev {
    left: 4px !important;
  }

  .main-slider .swiper-button-next {
    right: 4px !important;
  }
}

@media (max-width: 400px) {
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    width: 18px !important;
    height: 18px !important;
  }

  .main-slider .swiper-button-prev::after,
  .main-slider .swiper-button-next::after {
    font-size: 12px !important;
  }
}


/* ========================================================= */
/* V5 FIX: ЕЩЕ КОМПАКТНЕЕ И СТРОГО ПО ЦЕНТРУ ПО ВЕРТИКАЛИ    */
/* ========================================================= */
@media (max-width: 768px) {
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    width: 20px !important;
    height: 20px !important;
    top: 50% !important;
    margin-top: 0 !important;
    transform: translateY(-50%) !important;
  }

  .main-slider .swiper-button-prev::after,
  .main-slider .swiper-button-next::after {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .main-slider .swiper-button-prev {
    left: 8px !important;
  }

  .main-slider .swiper-button-next {
    right: 8px !important;
  }

  .main-slider .swiper-button-prev:hover,
  .main-slider .swiper-button-next:hover {
    transform: translateY(-50%) scale(1.08) !important;
  }
}

@media (max-width: 576px) {
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    width: 16px !important;
    height: 16px !important;
  }

  .main-slider .swiper-button-prev::after,
  .main-slider .swiper-button-next::after {
    font-size: 11px !important;
  }

  .main-slider .swiper-button-prev {
    left: 6px !important;
  }

  .main-slider .swiper-button-next {
    right: 6px !important;
  }
}

@media (max-width: 400px) {
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    width: 14px !important;
    height: 14px !important;
  }

  .main-slider .swiper-button-prev::after,
  .main-slider .swiper-button-next::after {
    font-size: 9px !important;
  }

  .main-slider .swiper-button-prev {
    left: 5px !important;
  }

  .main-slider .swiper-button-next {
    right: 5px !important;
  }
}


/* ========================================================= */
/* V6 FIX: ГЛАВНАЯ — БЛОК АДРЕСОВ В СТИЛЕ ОТДЕЛЬНОЙ СТРАНИЦЫ */
/* ========================================================= */

/* Карточка адреса на главной — визуально как .address-card */
.address-item {
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%) !important;
    border-radius: 16px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    border: 3px solid #ffcc0a !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
}

.address-item:hover {
    border-color: #ffd700 !important;
    box-shadow: 0 10px 25px rgba(255, 204, 10, 0.2) !important;
    transform: translateY(-4px);
}

.address-item__details-link {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 2 !important;
    background-color: #DD2A1B !important;
    color: #fff !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 6px 16px rgba(221, 42, 27, 0.25) !important;
}

.address-item__details-link:hover {
    background-color: #000 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.address-item__main-content {
    padding-right: 165px !important;
}

.address-item__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

.address-item__address-line,
.address-item__body p {
    color: #333 !important;
}

.address-item__header {
    margin-bottom: 12px !important;
}

.address-item__body {
    transition: all 0.35s ease !important;
}

.address-item.expanded .address-item__body {
    border-top: 1px solid rgba(0,0,0,0.08) !important;
}

.address-item__arrow {
    width: 9px !important;
    height: 9px !important;
    border-left: 2px solid #000 !important;
    border-bottom: 2px solid #000 !important;
}

/* Ссылка в балуне — тот же фирменный красный */
.custom-balloon a,
.balloon-content a,
.ymaps-2-1-79-balloon a {
    color: #DD2A1B !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.custom-balloon a:hover,
.balloon-content a:hover,
.ymaps-2-1-79-balloon a:hover {
    color: #b91f14 !important;
    text-decoration: underline !important;
}

/* Планшеты */
@media (max-width: 768px) {
    .address-item {
        padding: 20px !important;
    }

    .address-item__main-content {
        padding-right: 0 !important;
    }

    .address-item__details-link {
        position: static !important;
        margin-top: 12px !important;
        display: inline-flex !important;
        border-radius: 10px !important;
        box-shadow: none !important;
    }

    .address-item__title {
        font-size: 18px !important;
    }
}

/* Телефоны */
@media (max-width: 576px) {
    .address-item__details-link {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* ========================================================= */
/* V7 FIX: СВЕТЛО-СЕРЫЙ ФОН ВМЕСТО БЕЛОГО                    */
/* ========================================================= */

/* Общий фон сайта */
body {
  background-color: #f3f3f3 !important;
}

/* Основные секции */
.main-slider-section,
.about-us-section,
.license-section,
.main-advantages-section,
.online-evaluation-section,
.addresses-section,
.home-news-section,
.all-addresses-page {
  background-color: #f3f3f3 !important;
}

/* Секции/блоки, где раньше был белый фон */
.main-slider,
.news-card,
.news-card__content,
.news-list-page,
.news-detail-page {
  background-color: #f3f3f3;
}

/* Подвал оставляем без изменений */


/* ========================================================= */
/* V8 FIX: ГЛАВНАЯ — АККУРАТНАЯ КНОПКА "ПОДРОБНЕЕ" НА МОБИЛЕ */
/* ========================================================= */

/* Планшеты и телефоны: не делаем кнопку полосой на всю ширину */
@media (max-width: 768px) {
    .address-item {
        padding-top: 56px !important;
    }

    .address-item__details-link {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        left: auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin-top: 0 !important;
        padding: 8px 12px !important;
        border-radius: 999px !important;
        font-size: 11px !important;
        line-height: 1 !important;
        box-shadow: 0 4px 10px rgba(221, 42, 27, 0.18) !important;
        justify-content: center !important;
    }

    .address-item__main-content {
        padding-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .address-item {
        padding-top: 52px !important;
    }

    .address-item__details-link {
        top: 14px !important;
        right: 14px !important;
        width: auto !important;
        padding: 7px 11px !important;
        font-size: 10px !important;
        border-radius: 999px !important;
    }
}

@media (max-width: 400px) {
    .address-item {
        padding-top: 50px !important;
    }

    .address-item__details-link {
        top: 12px !important;
        right: 12px !important;
        padding: 6px 10px !important;
        font-size: 10px !important;
    }
}


/* ========================================================= */
/* V9 FIX: НАДПИСЬ "ВСЕ АДРЕСА НА КАРТЕ" БЛИЖЕ К КАРТЕ       */
/* ========================================================= */
@media (max-width: 992px) {
    .main-addresses-layout {
        height: auto !important;
        gap: 18px !important;
    }

    .main-map-column {
        height: 260px !important;
        margin-bottom: 0 !important;
    }

    .main-list-column {
        height: auto !important;
        max-height: 320px !important;
        margin-bottom: 0 !important;
    }

    .all-addresses-link {
        margin-top: 18px !important;
    }
}

@media (max-width: 576px) {
    .main-addresses-layout {
        gap: 14px !important;
    }

    .main-map-column {
        height: 220px !important;
    }

    .main-list-column {
        max-height: 280px !important;
    }

    .all-addresses-link {
        margin-top: 14px !important;
    }
}


/* ========================================================= */
/* V10 PREMIUM HEADER: ПРЕМИАЛЬНАЯ ШАПКА В НОВОМ СТИЛЕ       */
/* Основано на существующем HEADER V2                        */
/* ========================================================= */

.main-header{
  position: relative !important;
  background: transparent !important;
  border-bottom: 0 !important;
  padding: 20px 0 10px !important;
  overflow: visible !important;
}

.main-header::before{
  content: "";
  position: absolute;
  inset: 10px 20px auto 20px;
  height: calc(100% - 10px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 24%, rgba(255,204,10,.18), transparent 18%),
    radial-gradient(circle at 92% 88%, rgba(221,42,27,.18), transparent 12%),
    linear-gradient(135deg, #050505 0%, #111111 58%, #191919 100%);
  box-shadow: 0 20px 48px rgba(0,0,0,.16);
  border: 1px solid rgba(255,204,10,.12);
  pointer-events: none;
  z-index: 0;
}

.header-container--v2{
  position: relative;
  z-index: 2;
  max-width: 1750px;
  margin: 0 auto;
  min-height: 92px;
  padding: 0 34px !important;
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-container--v2::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at 84% 22%, rgba(255,204,10,.14), transparent 18%),
    radial-gradient(circle at 92% 82%, rgba(221,42,27,.14), transparent 12%),
    linear-gradient(135deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.header-logo--v2{
  position: relative;
  z-index: 2;
  margin-right: 24px;
}

.header-logo--v2 img{
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.16));
}

.header-menu{
  gap: 18px !important;
  position: relative;
  z-index: 2;
}

.header-menu__item{
  position: relative;
}

.header-menu__link{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px !important;
  border-radius: 999px;
  color: rgba(255,255,255,.92) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .25s ease;
  border: 1px solid transparent;
}

.header-menu__link::after{
  display: none !important;
}

.header-menu__link:hover{
  color: #ffcc0a !important;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,204,10,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.header-menu__item--dropdown:hover > .header-menu__link{
  color: #ffcc0a !important;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,204,10,.14);
}

.header-menu__caret{
  width: 7px;
  height: 7px;
  border-right: 2px solid #ffcc0a;
  border-bottom: 2px solid #ffcc0a;
}

.header-dropdown{
  top: calc(100% + 10px) !important;
  min-width: 310px;
  padding: 12px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(18,18,18,.98) 0%, rgba(9,9,9,.98) 100%) !important;
  border: 1px solid rgba(255,204,10,.12) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.30) !important;
  backdrop-filter: blur(10px);
}

.header-dropdown__link{
  border-radius: 12px !important;
  padding: 11px 13px !important;
  font-size: 14px !important;
}

.header-dropdown__link:hover{
  background: rgba(255,204,10,.10) !important;
  color: #ffcc0a !important;
}

.header-right-block--v2{
  gap: 12px !important;
  position: relative;
  z-index: 2;
}

.header-phone--v2{
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.01);
}

.header-phone--v2:hover{
  color: #ffcc0a !important;
  border-color: rgba(255,204,10,.20);
  background: rgba(255,255,255,.05);
}

.header-personal-link--v2{
  min-height: 46px;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffcc0a 0%, #f1be05 100%) !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255,204,10,.28) !important;
  box-shadow: 0 14px 26px rgba(255,204,10,.14);
}

.header-personal-link--v2:hover{
  transform: translateY(-1px);
  background: #fff0ad !important;
  color: #111 !important;
}

.header-burger{
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.04) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.01);
}

.header-burger span{
  background: #ffcc0a !important;
  border-radius: 999px;
}

.header-mobile{
  background: rgba(0,0,0,.78) !important;
  backdrop-filter: blur(6px);
}

.header-mobile__inner{
  background:
    radial-gradient(circle at top right, rgba(255,204,10,.14), transparent 28%),
    linear-gradient(135deg, #050505 0%, #111111 58%, #191919 100%) !important;
  border: 1px solid rgba(255,204,10,.12) !important;
  border-radius: 24px !important;
}

.header-mobile__logo img{
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.14));
}

.header-mobile__link,
.header-mobile__accordion,
.header-mobile__phone{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08) !important;
}

.header-mobile__cabinet{
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffcc0a 0%, #f1be05 100%) !important;
  color: #111 !important;
}

.header-mobile__cabinet:hover{
  background: #fff0ad !important;
  color: #111 !important;
}

@media (min-width: 1200px){
  .main-header{
    padding: 22px 0 12px !important;
  }

  .header-container--v2{
    min-height: 100px;
    padding: 0 40px !important;
  }

  .header-logo--v2 img{
    width: 390px !important;
  }

  .header-menu{
    gap: 20px !important;
  }

  .header-menu__link{
    font-size: 16px !important;
  }
}

@media (max-width: 1199px){
  .main-header::before{
    inset: 8px 16px auto 16px;
    border-radius: 28px;
  }

  .header-container--v2{
    min-height: 82px;
    padding: 0 24px !important;
  }

  .header-logo--v2 img{
    width: 300px !important;
  }

  .header-menu{
    gap: 10px !important;
  }

  .header-menu__link{
    padding: 9px 12px !important;
    font-size: 14px !important;
  }

  .header-phone--v2{
    padding: 0 14px;
    font-size: 14px !important;
  }

  .header-personal-link--v2{
    padding: 0 16px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 920px){
  .main-header{
    padding: 14px 0 8px !important;
  }

  .main-header::before{
    inset: 6px 12px auto 12px;
    border-radius: 24px;
  }

  .header-container--v2{
    min-height: 72px;
    padding: 0 18px !important;
    gap: 12px !important;
  }

  .header-logo--v2 img{
    width: 220px !important;
  }

  .header-burger{
    display: flex !important;
    margin-left: auto !important;
  }
}

@media (max-width: 576px){
  .main-header::before{
    inset: 6px 10px auto 10px;
    border-radius: 22px;
  }

  .header-container--v2{
    min-height: 68px;
    padding: 0 14px !important;
  }

  .header-logo--v2 img{
    width: 180px !important;
  }

  .header-burger{
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 400px){
  .header-logo--v2 img{
    width: 150px !important;
  }

  .header-container--v2{
    min-height: 64px;
    padding: 0 12px !important;
  }
}


/* ========================================================= */
/* V11 FIX: ЕДИНЫЙ ЦВЕТ ШАПКИ И БЕЗ ЗАЗОРА У DROPDOWN        */
/* ========================================================= */

/* Убираем ощущение двух разных слоев в шапке */
.main-header::before{
  background:
    radial-gradient(circle at 82% 24%, rgba(255,204,10,.16), transparent 18%),
    radial-gradient(circle at 92% 88%, rgba(221,42,27,.14), transparent 12%),
    linear-gradient(135deg, #050505 0%, #111111 58%, #191919 100%) !important;
}

.header-container--v2::before{
  background: transparent !important;
}

/* Лого-зона без отдельного темного пятна */
.header-logo--v2,
.header-logo--v2 a{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Dropdown сразу под пунктом "Услуги", без воздушного зазора */
.header-dropdown{
  top: 100% !important;
  margin-top: 0 !important;
}

/* Чтобы при наведении не было разрыва между пунктом и dropdown */
.header-menu__item--dropdown{
  padding-bottom: 0 !important;
}


/* ========================================================= */
/* V12 FIX: КРАСИВАЯ АДАПТАЦИЯ ПРЕМИАЛЬНОЙ ШАПКИ НА ВСЕХ     */
/* ЭКРАНАХ                                                   */
/* ========================================================= */

/* Большие ноутбуки */
@media (max-width: 1440px) {
  .header-container--v2{
    padding: 0 28px !important;
    gap: 18px !important;
  }

  .header-logo--v2{
    margin-right: 10px !important;
  }

  .header-logo--v2 img{
    width: 360px !important;
  }

  .header-menu{
    gap: 8px !important;
  }

  .header-menu__link{
    min-height: 42px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
  }

  .header-phone--v2{
    min-height: 44px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  .header-personal-link--v2{
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }
}

/* Небольшие ноутбуки */
@media (max-width: 1280px) {
  .main-header{
    padding: 16px 0 10px !important;
  }

  .main-header::before{
    inset: 8px 14px auto 14px !important;
    border-radius: 28px !important;
  }

  .header-container--v2{
    min-height: 82px !important;
    padding: 0 22px !important;
    gap: 14px !important;
  }

  .header-logo--v2 img{
    width: 320px !important;
  }

  .header-nav--v2{
    min-width: 0 !important;
  }

  .header-menu{
    gap: 4px !important;
  }

  .header-menu__link{
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    letter-spacing: .02em !important;
  }

  .header-right-block--v2{
    gap: 10px !important;
  }

  .header-phone--v2{
    min-height: 42px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  .header-personal-link--v2{
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}

/* Компактные десктопы / большие планшеты в landscape */
@media (max-width: 1100px) {
  .header-container--v2{
    min-height: 76px !important;
    padding: 0 18px !important;
    gap: 12px !important;
  }

  .header-logo--v2{
    margin-right: 6px !important;
  }

  .header-logo--v2 img{
    width: 280px !important;
  }

  .header-menu__link{
    min-height: 38px !important;
    padding: 7px 9px !important;
    font-size: 12px !important;
  }

  .header-phone--v2{
    display: none !important;
  }

  .header-personal-link--v2{
    min-height: 40px !important;
    padding: 0 13px !important;
    font-size: 12px !important;
  }
}

/* Планшеты и мобильные — уже бургер, но делаем аккуратнее */
@media (max-width: 920px) {
  .main-header{
    padding: 12px 0 8px !important;
  }

  .main-header::before{
    inset: 6px 12px auto 12px !important;
    border-radius: 24px !important;
  }

  .header-container--v2{
    min-height: 70px !important;
    padding: 0 16px !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .header-logo--v2{
    margin-right: 0 !important;
  }

  .header-logo--v2 img{
    width: 220px !important;
    max-width: 100% !important;
  }

  .header-burger{
    display: flex !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .header-mobile{
    padding: 14px !important;
  }

  .header-mobile__inner{
    max-width: 460px !important;
    border-radius: 22px !important;
    padding: 14px !important;
  }

  .header-mobile__logo img{
    width: 200px !important;
  }

  .header-mobile__top{
    margin-bottom: 12px !important;
  }

  .header-mobile__links{
    gap: 8px !important;
  }

  .header-mobile__link,
  .header-mobile__accordion{
    min-height: 46px !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }

  .header-mobile__submenu a{
    padding: 10px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }

  .header-mobile__phone,
  .header-mobile__cabinet{
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }
}

/* Обычные телефоны */
@media (max-width: 576px) {
  .main-header{
    padding: 10px 0 6px !important;
  }

  .main-header::before{
    inset: 6px 10px auto 10px !important;
    border-radius: 22px !important;
  }

  .header-container--v2{
    min-height: 64px !important;
    padding: 0 14px !important;
  }

  .header-logo--v2 img{
    width: 180px !important;
  }

  .header-burger{
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  .header-burger span{
    width: 20px !important;
  }

  .header-mobile{
    padding: 10px !important;
  }

  .header-mobile__inner{
    max-width: 100% !important;
    border-radius: 20px !important;
    padding: 12px !important;
  }

  .header-mobile__logo img{
    width: 170px !important;
  }

  .header-mobile__close{
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  .header-mobile__link,
  .header-mobile__accordion{
    min-height: 44px !important;
    font-size: 12px !important;
    padding: 10px 11px !important;
  }

  .header-mobile__submenu a{
    font-size: 12px !important;
    padding: 9px 10px !important;
  }

  .header-mobile__phone,
  .header-mobile__cabinet{
    min-height: 44px !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
  }
}

/* Очень маленькие телефоны */
@media (max-width: 400px) {
  .main-header::before{
    inset: 5px 8px auto 8px !important;
    border-radius: 20px !important;
  }

  .header-container--v2{
    min-height: 60px !important;
    padding: 0 12px !important;
  }

  .header-logo--v2 img{
    width: 155px !important;
  }

  .header-burger{
    width: 38px !important;
    height: 38px !important;
  }

  .header-mobile__logo img{
    width: 155px !important;
  }
}


/* ========================================================= */
/* V13 FIX: НА МАЛЕНЬКИХ ЭКРАНАХ БОЛЬШЕ ВОЗДУХА ПО БОКАМ     */
/* ========================================================= */

@media (max-width: 920px) {
  .main-header {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .main-header::before {
    left: 10px !important;
    right: 10px !important;
  }

  .header-container--v2 {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 576px) {
  .main-header {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .main-header::before {
    left: 12px !important;
    right: 12px !important;
  }

  .header-container--v2 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header-logo--v2 {
    padding-left: 2px !important;
  }
}

@media (max-width: 400px) {
  .main-header {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .main-header::before {
    left: 12px !important;
    right: 12px !important;
  }

  .header-container--v2 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}


/* ========================================================= */
/* V14 FIX: БОЛЬШЕ ВОЗДУХА ДЛЯ НОУТБУКОВ                     */
/* ========================================================= */

@media (min-width: 921px) and (max-width: 1440px) {
  .main-header {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .main-header::before {
    left: 18px !important;
    right: 18px !important;
  }

  .header-container--v2 {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

@media (min-width: 921px) and (max-width: 1280px) {
  .main-header {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .main-header::before {
    left: 20px !important;
    right: 20px !important;
  }

  .header-container--v2 {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  .header-logo--v2 {
    margin-right: 14px !important;
  }
}


/* ========================================================= */
/* V15 FIX: НА ПОГРАНИЧНЫХ ШИРИНАХ ТЕЛЕФОН НЕ ЛЕЗЕТ НА МЕНЮ  */
/* ========================================================= */

/* Для некоторых ноутбучных ширин скрываем телефон раньше,
   чтобы он не наезжал на "О НАС" и кнопку ЛК */
@media (min-width: 921px) and (max-width: 1180px) {
  .header-phone--v2 {
    display: none !important;
  }

  .header-right-block--v2 {
    gap: 8px !important;
  }

  .header-personal-link--v2 {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  .header-menu {
    gap: 2px !important;
  }

  .header-menu__link {
    padding: 8px 9px !important;
    font-size: 12px !important;
  }
}

/* Чуть шире — просто уменьшаем телефон, не скрывая его */
@media (min-width: 1181px) and (max-width: 1260px) {
  .header-phone--v2 {
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  .header-right-block--v2 {
    gap: 8px !important;
  }

  .header-personal-link--v2 {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  .header-menu__link {
    padding: 8px 9px !important;
    font-size: 12px !important;
  }
}


/* ========================================================= */
/* V16 FIX: НА ПОГРАНИЧНЫХ ШИРИНАХ ТЕЛЕФОН = ИКОНКА ТРУБКИ   */
/* ========================================================= */

@media (min-width: 921px) and (max-width: 1260px) {
  .header-phone--v2 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    position: relative !important;
  }

  .header-phone--v2::before {
    content: "✆";
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #ffcc0a !important;
    display: block !important;
  }

  .header-phone--v2:hover {
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(255,204,10,.24) !important;
  }

  .header-right-block--v2 {
    gap: 8px !important;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .header-personal-link--v2 {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  .header-menu {
    gap: 2px !important;
  }

  .header-menu__link {
    padding: 8px 9px !important;
    font-size: 12px !important;
  }
}

@media (min-width: 1181px) and (max-width: 1260px) {
  .header-personal-link--v2 {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  .header-menu__link {
    padding: 8px 9px !important;
    font-size: 12px !important;
  }
}


/* ========================================================= */
/* V17 FIX: БОЛЬШАЯ ИКОНКА И БЕЗ НАЕЗДА НА МЕНЮ              */
/* ========================================================= */

/* На самых проблемных ноутбучных ширинах телефон скрываем полностью,
   чтобы он точно не наезжал на пункт "О НАС" */
@media (min-width: 921px) and (max-width: 1140px) {
  .header-phone--v2 {
    display: none !important;
  }

  .header-right-block--v2 {
    gap: 10px !important;
  }

  .header-personal-link--v2 {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  .header-menu {
    gap: 2px !important;
  }

  .header-menu__link {
    padding: 8px 8px !important;
    font-size: 12px !important;
  }
}

/* На чуть более широких разрешениях оставляем именно иконку,
   но делаем её крупнее и не даём сжиматься */
@media (min-width: 1141px) and (max-width: 1260px) {
  .header-phone--v2 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    position: relative !important;
  }

  .header-phone--v2::before {
    content: "✆";
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #ffcc0a !important;
    display: block !important;
    transform: translateY(-1px);
  }

  .header-phone--v2:hover {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,204,10,.24) !important;
  }

  .header-right-block--v2 {
    gap: 10px !important;
  }

  .header-personal-link--v2 {
    min-height: 44px !important;
    padding: 0 15px !important;
    font-size: 12px !important;
  }

  .header-menu {
    gap: 3px !important;
  }

  .header-menu__link {
    padding: 8px 8px !important;
    font-size: 12px !important;
  }
}


/* ========================================================= */
/* V18 FIX: ИКОНКА ТРУБКИ НА ВЕСЬ КРУГ                       */
/* ========================================================= */
@media (min-width: 1141px) and (max-width: 1260px) {
  .header-phone--v2 {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
  }

  .header-phone--v2::before {
    font-size: 30px !important;
    line-height: 48px !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
  }
}


/* ========================================================= */
/* V19 FIX: НОВАЯ АККУРАТНАЯ SVG-ИКОНКА ТЕЛЕФОНА             */
/* ========================================================= */
@media (min-width: 1141px) and (max-width: 1260px) {
  .header-phone--v2::before {
    content: "" !important;
    width: 48px !important;
    height: 48px !important;
    display: block !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.62a2 2 0 0 1-.45 2.11L8 9.94a16 16 0 0 0 6.06 6.06l1.49-1.23a2 2 0 0 1 2.11-.45c.84.29 1.72.5 2.62.62A2 2 0 0 1 22 16.92Z' stroke='%23ffcc0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    transform: none !important;
    line-height: 0 !important;
  }
}


/* ========================================================= */
/* V20 FIX: DROPDOWN "УСЛУГИ" НЕ ПРОПАДАЕТ ПРИ НАВЕДЕНИИ     */
/* ========================================================= */

/* Делаем у пункта меню зону-мостик до dropdown */
.header-menu__item--dropdown {
  position: relative !important;
  padding-bottom: 14px !important;
  margin-bottom: -14px !important;
}

/* У dropdown не должно быть разрыва сверху */
.header-dropdown {
  top: calc(100% - 2px) !important;
  margin-top: 0 !important;
  z-index: 10001 !important;
}

/* Прозрачный мостик между кнопкой и выпадающим меню */
.header-menu__item--dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 18px;
  background: transparent;
}

/* Если у dropdown узкий anchor, расширим безопасную зону */
.header-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  top: -16px;
  width: 100%;
  height: 16px;
  background: transparent;
}

/* Для надежности открываем и по фокусу внутри */
.header-menu__item--dropdown:hover .header-dropdown,
.header-menu__item--dropdown:focus-within .header-dropdown {
  display: block !important;
}


/* ========================================================= */
/* V21 FIX: DROPDOWN НЕ СЛИВАЕТСЯ С КОНТЕНТОМ СТРАНИЦЫ       */
/* ========================================================= */

.header-dropdown{
  background: linear-gradient(180deg, rgba(10,10,10,1) 0%, rgba(16,16,16,0.995) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255,204,10,.18) !important;
  box-shadow:
    0 22px 46px rgba(0,0,0,.40),
    0 0 0 1px rgba(255,204,10,.06) inset !important;
}

.header-dropdown::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.header-dropdown__link{
  position: relative;
  z-index: 2;
  color: #fff !important;
}

.header-dropdown__link:hover{
  background: rgba(255,204,10,.12) !important;
}

/* На случай если какой-то контент страницы имеет слишком высокий слой */
.main-header,
.header-container--v2,
.header-menu__item--dropdown,
.header-dropdown{
  z-index: 10002 !important;
}


/* =========================================================
   MOBILE FIX: на телефонах скрываем стрелки главного слайдера
   и оставляем свайп пальцем
   ========================================================= */
@media (max-width: 768px) {
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}




/* ========================================================= */
/* V25 FINAL: НАДЕЖНАЯ ПОДЛОЖКА ЧЕРЕЗ ВНЕШНИЙ PNG-ФАЙЛ       */
/* ========================================================= */

/*
  Почему так:
  - на части ПК встроенные data:image в огромном CSS отрабатывают нестабильно;
  - это очень похоже на вашу историю с шапкой на одних и тех же компьютерах;
  - поэтому здесь подложка вынесена в отдельный PNG-файл и подключается обычным URL.
*/

/* Базовый фон и скролл */
html, body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body {
  background-color: #f3f3f3 !important;
}

/* Единый вертикальный ритм главной */
.main-page-content > .main-slider-section,
.main-page-content > .about-us-section,
.main-page-content > .online-evaluation-section,
.main-page-content > .main-advantages-section,
.main-page-content > .main-addresses-section,
.main-page-content > .main-yandex-reviews-section,
.main-page-content > .home-news-section,
.main-page-content > .license-section {
  margin: 0 !important;
}

.main-page-content > .main-slider-section {
  padding-top: 32px !important;
  padding-bottom: 56px !important;
}

.main-page-content > .about-us-section,
.main-page-content > .online-evaluation-section,
.main-page-content > .main-advantages-section,
.main-page-content > .main-addresses-section,
.main-page-content > .main-yandex-reviews-section,
.main-page-content > .home-news-section,
.main-page-content > .license-section {
  padding-top: 0 !important;
  padding-bottom: 56px !important;
}

/* Лишние внутренние внешние отступы premium-оберток */
.c4g-about-premium-v3,
.c4g-online-eval-premium,
.c4g-advantages-premium,
.c4g-main-reviews-premium {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Самый надежный способ подложки — обычный PNG-файл */
.main-page-content {
  position: relative !important;
  background-color: #f3f3f3 !important;
  background-image: url('/upload/main-page-underlay-yellow-diamonds.v25.png?v=25') !important;
  background-repeat: repeat !important;
  background-size: 980px 820px !important;
  background-position: center top !important;
  isolation: isolate !important;
}

/* Все секции главной прозрачные, чтобы фон был виден */
.main-page-content > .main-slider-section,
.main-page-content > .about-us-section,
.main-page-content > .online-evaluation-section,
.main-page-content > .main-advantages-section,
.main-page-content > .main-addresses-section,
.main-page-content > .main-yandex-reviews-section,
.main-page-content > .home-news-section,
.main-page-content > .license-section {
  background-color: transparent !important;
  background-image: none !important;
  position: relative !important;
  z-index: 1 !important;
}

.main-page-content > .main-slider-section > .container,
.main-page-content > .about-us-section > .container,
.main-page-content > .online-evaluation-section > .container,
.main-page-content > .main-advantages-section > .container,
.main-page-content > .main-addresses-section > .container,
.main-page-content > .main-yandex-reviews-section > .container,
.main-page-content > .home-news-section > .container,
.main-page-content > .license-section > .container {
  position: relative !important;
  z-index: 1 !important;
}

/* Вторичные отступы заголовков */
.main-page-content > .home-news-section .section-title,
.main-page-content > .main-addresses-section .addresses-section-title {
  margin-bottom: 32px !important;
}

.c4g-main-reviews-premium__head {
  margin-bottom: 18px !important;
}

.main-addresses-filters {
  margin: 0 0 20px !important;
}

.all-addresses-link {
  margin-top: 22px !important;
}

/* Адаптив */
@media (max-width: 1200px) {
  .main-page-content {
    background-size: 760px 635px !important;
  }

  .main-page-content > .main-slider-section {
    padding-top: 26px !important;
    padding-bottom: 44px !important;
  }

  .main-page-content > .about-us-section,
  .main-page-content > .online-evaluation-section,
  .main-page-content > .main-advantages-section,
  .main-page-content > .main-addresses-section,
  .main-page-content > .main-yandex-reviews-section,
  .main-page-content > .home-news-section,
  .main-page-content > .license-section {
    padding-bottom: 44px !important;
  }

  .main-page-content > .home-news-section .section-title,
  .main-page-content > .main-addresses-section .addresses-section-title {
    margin-bottom: 28px !important;
  }
}

@media (max-width: 768px) {
  .main-page-content {
    background-size: 560px 470px !important;
  }

  .main-page-content > .main-slider-section {
    padding-top: 22px !important;
    padding-bottom: 34px !important;
  }

  .main-page-content > .about-us-section,
  .main-page-content > .online-evaluation-section,
  .main-page-content > .main-advantages-section,
  .main-page-content > .main-addresses-section,
  .main-page-content > .main-yandex-reviews-section,
  .main-page-content > .home-news-section,
  .main-page-content > .license-section {
    padding-bottom: 34px !important;
  }

  .main-addresses-filters {
    margin: 0 0 16px !important;
  }

  .all-addresses-link {
    margin-top: 16px !important;
  }
}

@media (max-width: 576px) {
  .main-page-content {
    background-size: 420px 352px !important;
  }

  .main-page-content > .main-slider-section {
    padding-top: 18px !important;
    padding-bottom: 28px !important;
  }

  .main-page-content > .about-us-section,
  .main-page-content > .online-evaluation-section,
  .main-page-content > .main-advantages-section,
  .main-page-content > .main-addresses-section,
  .main-page-content > .main-yandex-reviews-section,
  .main-page-content > .home-news-section,
  .main-page-content > .license-section {
    padding-bottom: 28px !important;
  }

  .main-page-content > .home-news-section .section-title,
  .main-page-content > .main-addresses-section .addresses-section-title {
    margin-bottom: 24px !important;
  }
}




/* ========================================================= */
/* V26 FIX: ПОДЛОЖКА НАПРЯМУЮ НА СЕКЦИЯХ ГЛАВНОЙ             */
/* ========================================================= */

/*
  Почему v25 мог не сработать даже при рабочем URL картинки:
  - сама картинка по пути доступна;
  - значит проблема не в /upload/...png;
  - проблема в том, что фон висел на .main-page-content, а секции главной
    выше по каскаду всё равно имели свой собственный сплошной фон.
  Поэтому здесь подложка ставится прямо на секции главной.
*/

.main-page-content {
  background-image: none !important;
  background-color: transparent !important;
}

.main-page-content::before,
.main-page-content::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

/* Подложка теперь идет прямо на секциях */
.main-slider-section,
.about-us-section,
.online-evaluation-section,
.main-advantages-section,
.main-addresses-section,
.main-yandex-reviews-section,
.home-news-section {
  background-color: #f3f3f3 !important;
  background-image: url('/upload/main-page-underlay-yellow-diamonds.v25.png?v=26') !important;
  background-repeat: repeat !important;
  background-size: 980px 820px !important;
  background-position: center top !important;
}

/* Внутренние premium-блоки оставляем прозрачными */
.c4g-about-premium-v3,
.c4g-online-eval-premium,
.c4g-advantages-premium,
.c4g-main-reviews-premium {
  background: transparent !important;
}

@media (max-width: 1200px) {
  .main-slider-section,
  .about-us-section,
  .online-evaluation-section,
  .main-advantages-section,
  .main-addresses-section,
  .main-yandex-reviews-section,
  .home-news-section {
    background-size: 760px 635px !important;
  }
}

@media (max-width: 768px) {
  .main-slider-section,
  .about-us-section,
  .online-evaluation-section,
  .main-advantages-section,
  .main-addresses-section,
  .main-yandex-reviews-section,
  .home-news-section {
    background-size: 560px 470px !important;
  }
}

@media (max-width: 576px) {
  .main-slider-section,
  .about-us-section,
  .online-evaluation-section,
  .main-advantages-section,
  .main-addresses-section,
  .main-yandex-reviews-section,
  .home-news-section {
    background-size: 420px 352px !important;
  }
}




/* ========================================================= */
/* V27 FINAL FIX: ПОДЛОЖКА С ТОЙ ЖЕ СПЕЦИФИЧНОСТЬЮ, ЧТО И V25 */
/* ========================================================= */

/*
  Корень проблемы:
  - в style.css уже есть правило из v25:
    .main-page-content > .main-slider-section,
    .main-page-content > .about-us-section,
    ...
    { background-image: none !important; }

  - в v26 подложка задавалась более слабым селектором:
    .main-slider-section,
    .about-us-section,
    ...
    { background-image: url(...) !important; }

  Из-за этого v25 выигрывал по специфичности и фон обнулялся.
  Здесь подложка задаётся тем же уровнем специфичности, что и правило v25,
  поэтому она наконец должна появиться.
*/

/* Сам main-page-content без своей картинки */
.main-page-content {
  background-image: none !important;
  background-color: transparent !important;
}

.main-page-content::before,
.main-page-content::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

/* Подложка на секциях главной — тем же селектором, что и конфликтующее правило */
.main-page-content > .main-slider-section,
.main-page-content > .about-us-section,
.main-page-content > .online-evaluation-section,
.main-page-content > .main-advantages-section,
.main-page-content > .main-addresses-section,
.main-page-content > .main-yandex-reviews-section,
.main-page-content > .home-news-section {
  background-color: #f3f3f3 !important;
  background-image: url('/upload/main-page-underlay-yellow-diamonds.v25.png?v=27') !important;
  background-repeat: repeat !important;
  background-size: 980px 820px !important;
  background-position: center top !important;
}

/* Внутренние обёртки оставляем прозрачными */
.c4g-about-premium-v3,
.c4g-online-eval-premium,
.c4g-advantages-premium,
.c4g-main-reviews-premium {
  background: transparent !important;
}

/* Надёжно поднимаем контент */
.main-page-content > .main-slider-section > .container,
.main-page-content > .about-us-section > .container,
.main-page-content > .online-evaluation-section > .container,
.main-page-content > .main-advantages-section > .container,
.main-page-content > .main-addresses-section > .container,
.main-page-content > .main-yandex-reviews-section > .container,
.main-page-content > .home-news-section > .container {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 1200px) {
  .main-page-content > .main-slider-section,
  .main-page-content > .about-us-section,
  .main-page-content > .online-evaluation-section,
  .main-page-content > .main-advantages-section,
  .main-page-content > .main-addresses-section,
  .main-page-content > .main-yandex-reviews-section,
  .main-page-content > .home-news-section {
    background-size: 760px 635px !important;
  }
}

@media (max-width: 768px) {
  .main-page-content > .main-slider-section,
  .main-page-content > .about-us-section,
  .main-page-content > .online-evaluation-section,
  .main-page-content > .main-advantages-section,
  .main-page-content > .main-addresses-section,
  .main-page-content > .main-yandex-reviews-section,
  .main-page-content > .home-news-section {
    background-size: 560px 470px !important;
  }
}

@media (max-width: 576px) {
  .main-page-content > .main-slider-section,
  .main-page-content > .about-us-section,
  .main-page-content > .online-evaluation-section,
  .main-page-content > .main-advantages-section,
  .main-page-content > .main-addresses-section,
  .main-page-content > .main-yandex-reviews-section,
  .main-page-content > .home-news-section {
    background-size: 420px 352px !important;
  }
}
