/* =====================================================================
   style.css — ОСНОВНЫЕ СТИЛИ (десктоп)
   ---------------------------------------------------------------------
   Под каждый бренд проще всего менять блок :root ниже — там цвета,
   шрифт и базовые размеры. Остальное подстроится автоматически.

   Шрифт берётся из fonts/stylesheet.css через переменную --font-brand.
   ===================================================================== */

/* ===================================================================
   ПЕРЕМЕННЫЕ — ГЛАВНЫЙ ПУЛЬТ УПРАВЛЕНИЯ ВНЕШНИМ ВИДОМ
   =================================================================== */
:root {
  /* --- Шрифт бренда (имя должно совпадать с font-family в fonts/stylesheet.css) --- */
  --font-brand: 'ChangAnunitype', 'Segoe UI', Tahoma, sans-serif;

  /* --- Цвета --- */
  --color-primary:      #0B457F;   /* Changan Blue (Pantone 2154C) — основной */
  --color-primary-dark: #0060A5;   /* альтернативный основной (наведение, акцент) */
  --color-accent:       #FF9632;   /* Changan Orange (Pantone 715C) — выгода, бейджи */
  --color-dark:         #3C4650;   /* Changan Dark — основной тёмный текст */
  --color-text:         #3C4650;   /* основной текст */
  --color-muted:        #5F7891;   /* приглушённый текст (Pantone 5415C) */
  --color-faint:        #A0B9B9;   /* второстепенный текст (Pantone 550C) */
  --color-bg:           #ffffff;   /* фон страницы (белый) */
  --color-bg-soft:      #DDE1E1;   /* фон карточек и выделенных областей (Pantone 649C) */
  --color-border:       #c7cfd3;   /* границы (приглушённее, чем bg-soft) */

  /* --- Размеры --- */
  --header-h: 150px;               /* высота шапки (по ТЗ — 150px) */
  --header-cell: 150px;            /* размер квадрата в шапке */
  --container: 1200px;             /* макс. ширина контента */
  --radius: 0;                     /* скругление карточек (0 = строгие углы) */
  --radius-sm: 0;                  /* мелкое скругление мелких элементов */
  --radius-btn: 15px;              /* скругление кнопок и значков-плашек */
  --shadow: 0 2px 14px rgba(5, 20, 31, 0.10);
  --shadow-lg: 0 6px 28px rgba(5, 20, 31, 0.16);

  /* --- Подложки поверх фоновой фотографии --- */
  --panel-light: #ffffff;                  /* светлая карточка */
  --panel-soft:  #DDE1E1;                  /* мягкая светлая подложка секций */
  --overlay:     rgba(255, 255, 255, 0.75); /* СВЕТЛЫЙ оверлей для фото-фона */
}

/* ===================================================================
   СБРОС И БАЗА
   =================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-brand);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);   /* белый фон страницы */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.burger-btn {
  display: none;
}

/* ===================================================================
   ФОНОВАЯ ФОТОГРАФИЯ
   ---------------------------------------------------------------
   На белой теме фоновое фото показывается ТОЛЬКО в двух блоках:
   главном (hero) и блоке выбора авто (form-section).
   Сам элемент #page-bg больше не используется как фон страницы —
   скрипт пишет URL фотографии в CSS-переменную --bg-image, которую
   подхватывают .hero::before и .form-section::before.
   =================================================================== */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* затемнение для читаемости текста */
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.page-bg--empty {
  background: #ffffff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Общий заголовок секций — тёмный на белой теме */
.section-title {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 36px;
}

/* ===================================================================
   КНОПКИ
   =================================================================== */
.btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-btn);
  padding: 15px 32px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--color-dark);
}

/* ===================================================================
   1. ШАПКА
   ---------------------------------------------------------------
   Высота 150px, во всю ширину.
   Слева — три "квадрата" 150px (логотип + подпись).
   Справа — телефоны и адрес.
   =================================================================== */
.site-header {
  height: var(--header-h);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 10;
}

.header-home-link {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.header-left {
  display: flex;
  align-items: center;
  height: 100%;
}
.header-logo-img {
  width: var(--header-cell);
  height: var(--header-cell);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.header-logo-img img { max-height: 100%; width: auto; object-fit: contain; }

.header-logo-text {
  width: calc(var(--header-cell) * 2);
  height: var(--header-cell);
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .5px;
  color: var(--color-dark);
  padding-left: 10px;
}

.header-right {
  display: flex;
  gap: 30px;
}
.header-contact {
  text-align: right;
}
.header-phone {
  display: block;
  font-weight: 700;
  font-size: 22px;
  color: var(--color-dark);
  white-space: nowrap;
}
.header-phone:hover { color: var(--color-primary); }
.header-address {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 4px;
}

/* ===================================================================
   2. ГЛАВНЫЙ ДИНАМИЧЕСКИЙ БЛОК (HERO)
   ---------------------------------------------------------------
   В блоке остаётся фоновое фото — задаётся через CSS-переменную
   --bg-image, которую скрипт пишет на этом элементе (см. script.js).
   Поверх фото — светлый оверлей для читаемости тёмного текста.
   =================================================================== */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  color: var(--color-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-left { min-width: 0; }
.hero-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 18px;
  text-transform: uppercase;
  color: var(--color-dark);
}
.hero-text {
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 28px;
  max-width: 520px;
}

/* Главная форма в hero */
.hero-form {
  background: var(--panel-light);
  border-radius: var(--radius-btn);
  padding: 28px;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-form-title {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 4px;
}
.hero-form .form-input {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
}
.hero-form .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31,102,123,.15);
}
.hero-form .form-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--color-muted);
}
.hero-form .form-agree input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--color-primary); }
.hero-form .form-agree a { color: var(--color-primary); text-decoration: underline; }
.hero-form .form-error { color: #c0392b; font-size: 13px; min-height: 16px; }
.hero-form .btn { width: 100%; }

/* Окно "Спасибо" для главной формы */
.hero-success {
  display: none;
  background: var(--panel-light);
  border-radius: var(--radius-btn);
  padding: 36px 28px;
  max-width: 440px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.hero-success.form-success--show { display: block; }

/* Правая колонка — фото авто */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-car-img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.20));
}

/* ===================================================================
   3. ИНФОРМАЦИОННЫЙ БЛОК (promo)
   ---------------------------------------------------------------
   На белой теме — белый фон. Серая подложка остаётся только у
   секции «Преимущества», чтобы блоки чередовались.
   =================================================================== */
.promo-section {
  background: var(--color-bg);
  padding: 70px 40px;
}
.promo-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  color: var(--color-dark);
}
.promo-title {
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: var(--color-dark);
}
.promo-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.promo-description {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 720px;
  margin: 0 auto 28px;
}
.promo-btn { font-size: 17px; padding: 16px 44px; }

/* ===================================================================
   ПРЕИМУЩЕСТВА — секция с полупрозрачным фоном
   ---------------------------------------------------------------
   Фон выделяет блок, но связан с фоновым фото (полупрозрачный).
   =================================================================== */
.advantages-section {
  padding: 80px 40px;
  background: var(--panel-soft);
}
.advantages-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* по 2 в ряд */
  gap: 1px;                                /* тонкая линия-разделитель между карточками */
  background: var(--color-border);         /* цвет разделителей */
  border: 1px solid var(--color-border);
}
.advantage-card {
  background: var(--panel-light);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.advantage-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-btn);   /* скругление как у кнопок */
}
.advantage-icon svg { width: 30px; height: 30px; }
.advantage-icon img { width: 32px; height: 32px; object-fit: contain; }
.advantage-title {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
}
.advantage-text {
  font-size: 15px;
  color: var(--color-muted);
}

/* ===================================================================
   4. АВТОМОБИЛИ
   =================================================================== */
.cars-section {
  padding: 80px 40px;
  width: 100%;
  background: #fff;
}

.cars-section .section-title,
.cars-section .cars-stage,
.cars-section .cars-cta {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

/* Динамическая зона: сетка ИЛИ pop-up.
   Ограничена разделителями сверху/снизу — видно, что блок динамический. */
.cars-stage {
  position: relative;
  padding: 40px 0;
  border-top: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
}

/* --- Сетка карточек --- */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  padding-top: 16px;   /* запас под бейдж "★ Выбор дилера" выделенной карточки */
}
.cars-stage--popup .cars-grid { display: none; }   /* при открытом pop-up прячем сетку */

.car-card {
  position: relative;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Выделенная карточка (select: true в chat.js) */
.car-card--select {
  border: 4px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.car-select-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  box-shadow: var(--shadow);
  z-index: 3;
}

.car-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  z-index: 2;
}
/* у выделенной карточки тег опускаем ниже — чтобы не лез под центральную плашку */
.car-card--select .car-tag { top: 18px; }
.car-img {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.car-img img { max-height: 100%; width: auto; object-fit: contain; }
.car-name {
  font-weight: 700;
  font-size: 22px;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.car-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}
/* Кнопка "Подробнее" — компактная, залитая, со стрелкой */
.car-more {
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #fff;
  background: var(--color-dark);
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.car-more:hover { background: var(--color-primary); }
.car-more-arrow {
  font-size: 15px;
  line-height: 1;
}
/* у выделенной карточки кнопка сразу акцентного цвета */
.car-card--select .car-more { background: var(--color-primary); }
.car-card--select .car-more:hover { background: var(--color-primary-dark); }

/* --- Pop-up (разворот карточки внутри блока) --- */
.car-popup {
  display: none;
  background: var(--panel-light);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
}
.cars-stage--popup .car-popup { display: block; }   /* показываем только когда открыт */

.car-popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  font-size: 26px;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
}
.car-popup-close:hover { background: var(--color-primary); color: #fff; }

.car-popup-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.car-popup-img {
  background: var(--color-bg-soft);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.car-popup-img img { max-height: 320px; width: auto; object-fit: contain; }

/* --- Слайдер фото --- */
.slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-track {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide {
  display: none;
  width: 100%;
  text-align: center;
}
.slide--active { display: block; }
.slide img { max-height: 300px; width: auto; margin: 0 auto; object-fit: contain; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(5,20,31,.7);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-btn);
  z-index: 2;
}
.slider-arrow:hover { background: var(--color-primary); }
.slider-arrow--prev { left: 0; }
.slider-arrow--next { right: 0; }

.slider-dots {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
}
.slider-dot--active { background: var(--color-primary); }

.car-popup-name {
  font-weight: 700;
  font-size: 32px;
  color: var(--color-dark);
}
.car-popup-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 6px 0 24px;
}
.car-popup-block { margin-bottom: 24px; }
.car-popup-subtitle {
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

/* Характеристики */
.car-specs { display: flex; flex-direction: column; gap: 8px; }
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.spec-label { color: var(--color-muted); }
.spec-value { font-weight: 700; color: var(--color-dark); }

/* Цвета */
.car-colors { display: flex; flex-wrap: wrap; gap: 12px; }
.color-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  cursor: pointer;
  position: relative;
}
.color-dot--active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary);
}
.color-dot--other {
  background: repeating-linear-gradient(45deg, #ddd, #ddd 4px, #fff 4px, #fff 8px);
  color: var(--color-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-color-name {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  min-height: 18px;
}

/* Опции */
.car-options { display: flex; flex-direction: column; gap: 10px; }
.option-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.option-item input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--color-primary); cursor: pointer; }

.car-disclaimer {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 24px;
  line-height: 1.4;
}

.car-popup-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.car-popup-cta .btn { min-width: 280px; }

/* Кнопка под блоком авто */
.cars-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.cars-cta .btn { min-width: 320px; }

/* ===================================================================
   ФОРМА «ВЫБОР АВТО» — c фоновой фотографией
   ---------------------------------------------------------------
   В блоке остаётся фоновое фото (CSS-переменная --bg-image),
   поверх него светлый оверлей, сама карточка формы белая.
   =================================================================== */
.form-section {
  position: relative;
  padding: 80px 40px;
  overflow: hidden;
}
.form-box {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  background: var(--panel-light);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-btn);
}
/* Логотип над формой — компактный, без фона и разделителя */
.form-logo {
  text-align: center;
  margin-bottom: 20px;
}
.form-logo img {
  width: auto;
  height: 75px;
  max-width: 300px;

  margin: 0 auto;
  display: block;
  object-fit: contain;
}
.form-box .section-title {
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-dark);
  text-shadow: none;
}
.form-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 16px;
  margin-bottom: 28px;
}
.form-selected {
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  margin: 0 0 24px;
  font-size: 15px;
}
.form-selected:empty { display: none; }
.selected-row { padding: 3px 0; }
.selected-row b { color: var(--color-dark); }

.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-input {
  font-family: inherit;
  font-size: 16px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  background: var(--color-bg-soft);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 102, 123, .15);
}
.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-muted);
}
.form-agree input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--color-primary); }
.form-agree a { color: var(--color-primary); text-decoration: underline; }

.form-error {
  color: #c0392b;
  font-size: 14px;
  min-height: 18px;
}
#form-submit { width: 100%; }

/* Окно "Спасибо" */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success--show { display: block; }
.form-success-title {
  font-weight: 700;
  font-size: 30px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.form-success-text { color: var(--color-muted); font-size: 16px; }

/* ===================================================================
   5. О БРЕНДЕ — секция БЕЗ фона (просвечивает фоновое фото)
   ---------------------------------------------------------------
   Текст лежит на тёмной полупрозрачной подложке для читаемости.
   =================================================================== */
/* ===================================================================
   5. О БРЕНДЕ — секция с полупрозрачным фоном
   ---------------------------------------------------------------
   Фон на всю ширину секции; контент ограничен по центру.
   Текст дополнительно лежит на более тёмной подложке.
   =================================================================== */
.brand-section {
  padding: 80px 40px;
  background: var(--panel-soft);
}
/* внутренний контейнер ограничивает ширину контента */
.brand-section > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.brand-section .section-title { color: var(--color-dark); }
.brand-text {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
  color: var(--color-muted);
  background: var(--panel-light);
  padding: 32px 36px;
  border: 1px solid var(--color-border);
}
.brand-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.brand-img {
  overflow: hidden;
  box-shadow: var(--shadow);
}
.brand-img img { width: 100%; height: 280px; object-fit: cover; }

/* ===================================================================
   6. ПОДВАЛ
   =================================================================== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.8);
  padding: 50px 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-org-text { font-size: 14px; line-height: 1.7; }
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,.8);
}
.footer-link:hover { color: #fff; text-decoration: underline; }

/* ===================================================================
   COOKIE / СОГЛАСИЕ
   =================================================================== */
.cookie-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(5,20,31,.1);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.cookie-bar--show { display: flex; }
.cookie-text { font-size: 14px; max-width: 800px; }
.cookie-text a { color: var(--color-primary); text-decoration: underline; }
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  white-space: nowrap;
  padding: 12px 32px;
}
.cookie-btn:hover { background: var(--color-primary-dark); }