/* ============================================================
   ШРИФТЫ САЙТА: Montserrat (заголовки) + Open Sans (текст)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* Основной текст — Open Sans */
body,
p, li, span:not([class*="fa-"]), div, td, th, small, strong, b, em, label,
input, textarea, select, ::placeholder,
.catalog-item .item-title, .catalog-item .item-desc,
.card-text, .event-meta, .footer-text-block, .footer-links-list a,
.cal-event-item .event-text, .placeholder-icon,
.afisha-promo-desc, .poster-more-link,
.service-name, .promo-capsule-desc,
.cal-status-badge, .cal-day, .calendar-weekdays span, .cal-month-title,
.lang-tab, .phone-subtext, .brand-meta-line, .topbar-seasonal-strip {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* Заголовки — Montserrat */
h1, h2, h3, h4, h5, h6,
.brand-main-title, .brand-subtitle, .section-main-title,
.projects-title, .footer-title, .catalog-category-title,
.event-card .card-title, .nav-link, .astroid-nav .nav-link, .navbar-nav .nav-link,
.btn, button, input[type="submit"], input[type="button"],
.btn-sitemap-custom, .service-name,
.promo-capsule-title, .promo-capsule-badge,
.afisha-promo-title, .afisha-all-btn, .poster-title-text,
.event-date-badge .day, .event-date-badge .month, .afisha-date-badge,
.header-icon-btn, #btn-accessible, .phone-digits,
.brand-badge-year, .seasonal-badge, .seasonal-topic-title,
.catalog-title, .calendar-main-title, .library-calendar-card .card-title,
.calendar-header .month-title, .header-search-box .search-pill-btn {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* Веса для заголовков */
h1, .brand-main-title { font-weight: 900 !important; letter-spacing: -0.5px !important; }
h2, .section-main-title { font-weight: 800 !important; letter-spacing: -0.3px !important; }
h3, .projects-title, .calendar-main-title { font-weight: 800 !important; letter-spacing: 0.2px !important; }
h4, h5, h6 { font-weight: 700 !important; }
.brand-subtitle { font-weight: 700 !important; }

/* Меню и кнопки — плотнее */
.astroid-nav .nav-link,
.navbar-nav .nav-link { font-weight: 700 !important; letter-spacing: 0.1px !important; }
.btn, button, .btn-sitemap-custom, .afisha-all-btn { font-weight: 700 !important; letter-spacing: 0.2px !important; }

/* Моноширинные */
code, pre, kbd, samp, .monospace { font-family: 'Courier New', Consolas, Monaco, monospace !important; }

/* Font Awesome — не переопределяем */
i[class*="fa-"]::before,
i.fas::before, i.far::before, i.fab::before,
i.fa-solid::before, i.fa-brands::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
}


/* ============================================================
   1. ТОПБАР (СЕЗОННАЯ ПОЛОСА)
   ============================================================ */
.topbar-seasonal-strip { font-size: 0.88rem !important; width: 100%; }

.seasonal-badge {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  padding: 3px 10px !important;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
}
.seasonal-badge i { color: #ffffff; }

.seasonal-topic-title { color: #ffffff !important; font-weight: 700; letter-spacing: 0.3px; }
.seasonal-quote-text {
  color: #fde68a !important;
  font-style: italic;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 10px;
  margin-left: 5px;
}

.topbar-link { color: #e2e8f0 !important; text-decoration: none !important; font-weight: 500; transition: color 0.2s ease; }
.topbar-link:hover { color: #f59e0b !important; }
.topbar-divider { color: rgba(255, 255, 255, 0.3) !important; }


/* ============================================================
   2. ШАПКА САЙТА
   ============================================================ */
.site-header {
  background: #ffffff !important;
  padding: 12px 0 !important;
  border-bottom: none !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
  position: relative;
  z-index: 100;
}

.site-header::before {
  content: "" !important;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D97706 0%, #f59e0b 50%, #D97706 100%);
  z-index: 5;
  pointer-events: none;
}

.brand-block { gap: 20px; width: 100% !important; justify-content: center !important; }

.brand-subtitle {
  font-size: 1.05rem !important;
  color: #d97706 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.brand-main-title {
  margin: 0 !important;
  font-size: 2.7rem !important;
  font-weight: 700 !important; 
  color: #000000 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.header-right-box,
.header-right-section {
  background: #f8fafc !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
}

/* Переключатель языков в шапке */
.topbar-lang-switch { font-weight: 700; font-size: 0.85rem; }
.lang-tab {
  color: #1e293b !important;
  text-decoration: none !important;
  padding: 2px 4px;
  transition: color 0.2s ease;
}
.lang-tab:hover { color: #d97706 !important; }
.lang-tab.active { color: #d97706 !important; font-weight: 800; }

/* Кнопки-иконки в шапке */
.header-icon-buttons { display: flex !important; align-items: center !important; gap: 10px !important; }

.header-icon-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 46px !important;
  padding: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  text-decoration: none !important;
  font-size: 1.3rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05) !important;
}
.header-icon-btn i { transition: color 0.25s ease !important; }

/* Telegram */
.header-icon-btn-telegram i { color: #229ed9 !important; }
.header-icon-btn-telegram:hover {
  background: #229ed9 !important;
  border-color: #229ed9 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(34, 158, 217, 0.35);
}
.header-icon-btn-telegram:hover i { color: #ffffff !important; }

/* Instagram */
.header-icon-btn-instagram i { color: #e1306c !important; }
.header-icon-btn-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: #dc2743 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(220, 39, 67, 0.35);
}
.header-icon-btn-instagram:hover i { color: #ffffff !important; }

/* Слабовидящие */
.header-icon-btn-accessible i { color: #d97706 !important; }
.header-icon-btn-accessible:hover {
  background: #d97706 !important;
  border-color: #d97706 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.35);
}
.header-icon-btn-accessible:hover i { color: #ffffff !important; }

#btn-accessible {
  width: 52px !important;
  height: 46px !important;
  padding: 0 !important;
}

/* Адаптив шапки */
@media (max-width: 992px) {
  .brand-main-title { font-size: 1.4rem !important; white-space: normal !important; }
  .brand-subtitle { font-size: 0.78rem !important; }
  .site-header { padding: 10px 0 !important; }
  .site-header::before { height: 3px; }
  .header-icon-btn { width: 42px !important; height: 38px !important; font-size: 1rem !important; }
}
@media (max-width: 576px) {
  .brand-main-title { font-size: 1.1rem !important; }
  .brand-subtitle { font-size: 0.7rem !important; letter-spacing: 0.8px; }
  .header-icon-buttons { gap: 6px !important; }
}


/* ============================================================
   3. СЕКЦИЯ НАВИГАЦИИ — СЕРАЯ (в тон футеру)
   ============================================================ */
.astroid-nav-container,
.main-navigation-row,
#astroid-header,
.astroid-header-section {
  background-color: #4E4F50 !important;
  border-bottom: 2px solid #3A3B3C !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  min-height: auto !important;
}

.astroid-header-section .container,
.astroid-header-section .container-fluid,
.astroid-header-section .row,
.astroid-header-section [class*="col-"],
.astroid-header-section .astroid-column,
.astroid-header-section .astroid-module-position,
.astroid-header-section .moduletable {
  background-color: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Кнопка "Карта сайта" — прозрачная с белой рамкой */
.btn-sitemap-custom {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 22px !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
}

.btn-sitemap-custom i {
  color: #D97706 !important;
  transition: color 0.2s ease !important;
}

.btn-sitemap-custom:hover {
  background-color: #D97706 !important;
  color: #ffffff !important;
  border-color: #D97706 !important;
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.4) !important;
}

.btn-sitemap-custom:hover i {
  color: #ffffff !important;
}

.utility-a-position,
.utility-a-position .mod-custom,
.utility-a-position .mod-custom > *,
.astroid-header-section .astroid-column:has(.btn-sitemap-custom),
.astroid-header-section .astroid-module-position:has(.btn-sitemap-custom) {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

/* Главное меню — белый текст на сером */
.astroid-nav .nav-item,
.navbar-nav .nav-item {
  background: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.astroid-nav .nav-link,
.navbar-nav .nav-link,
.astroid-nav .nav-item > a {
  background-color: transparent !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  padding: 6px 14px !important;
  line-height: 1.2 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
}

.astroid-nav .nav-link:hover,
.navbar-nav .nav-link:hover,
.astroid-nav .nav-item:hover > a {
  color: #ffffff !important;
  background-color: rgba(217, 119, 6, 0.4) !important;
}

.astroid-nav .nav-item.active > a,
.astroid-nav .nav-link.active,
.navbar-nav .active > .nav-link,
.navbar-nav .nav-link.active {
  background-color: #D97706 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.4) !important;
}

/* Выпадающие списки */
.astroid-nav .dropdown-menu {
  background-color: #3A3B3C !important;
  border: 1px solid #2A2B2C !important;
  border-top: 3px solid #D97706 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
  border-radius: 8px !important;
  padding: 6px 0 !important;
}

.astroid-nav .dropdown-item {
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  font-size: 0.92rem !important;
}

.astroid-nav .dropdown-item:hover {
  background-color: #D97706 !important;
  color: #ffffff !important;
}

/* Поиск */
.header-search-box {
  margin: 0 !important;
}

.header-search-box .search-pill-wrapper {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 30px !important;
  padding: 2px 2px 2px 14px !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
}

.header-search-box .search-pill-wrapper:focus-within {
  border-color: #D97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25) !important;
}

.header-search-box .search-pill-input {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  color: #1e293b !important;
  font-size: 0.9rem !important;
  width: 100% !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  line-height: 1.3 !important;
}

.header-search-box .search-pill-btn {
  background-color: #D97706 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.9rem !important;
  transition: background-color 0.2s ease !important;
}

.header-search-box .search-pill-btn:hover {
  background-color: #b84112 !important;
}

.astroid-header-section .d-flex.flex-row.justify-content-between {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
}


/* ============================================================
   4. КАРТОЧКА "ИНФОРМАЦИОННЫЕ РЕСУРСЫ"
   ============================================================ */
.catalog-card .catalog-header { display: none !important; }

.catalog-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden !important;
  height: 550px !important;
  padding: 17px 19px !important;
  display: flex !important;
  flex-direction: column !important;
}

.catalog-card .card-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.catalog-section-group {
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  justify-content: center !important;
}

.catalog-category-title {
  background: linear-gradient(135deg, #D97706 0%, #D97706 100%) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 9px 15px !important;
  border-radius: 8px !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25) !important;
}
.catalog-category-title i { color: #ffffff !important; font-size: 1.1rem !important; }

.catalog-item {
  display: block;
  text-decoration: none !important;
  padding: 7px 11px !important;
  border-radius: 6px !important;
  margin-bottom: 3px !important;
  background-color: transparent;
  transition: all 0.2s ease !important;
}
.catalog-item .item-title {
  display: block;
  font-size: 1.05rem !important;
  font-weight: 660 !important;
  color: #656565 !important;
  line-height: 1.4 !important;
}
.catalog-item .item-desc {
  display: block;
  font-size: 0.87rem !important;
  color: #64748b !important;
  margin-top: 2px !important;
  line-height: 1.3 !important;
}
.catalog-item:hover {
  background-color: #fff7ed !important;
  transform: translateX(4px);
}
.catalog-item:hover .item-title { color: #D97706 !important; }

.catalog-divider { height: 1px; background: #f1f5f9; margin: 7px 0 !important; }

.catalog-section-group .mb-2,
.catalog-section-group .mb-1 { margin-bottom: 0 !important; }


/* ============================================================
   5. ГЛАВНЫЙ БАННЕР
   ============================================================ */
#mainBannerCarousel,
.carousel-inner {
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.hero-banner-wrap {
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
  cursor: pointer;
  position: relative;
}
.hero-banner-wrap img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.hero-banner-wrap:hover img { transform: scale(1.05) !important; filter: brightness(1.03) !important; }
.hero-banner-wrap:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 35px rgba(217, 119, 6, 0.22) !important;
}


/* ============================================================
   6. ПОЛЕЗНЫЕ РЕСУРСЫ И СЕРВИСЫ
   ============================================================ */

/* Заголовок модуля */
.services-title-module {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 10px;
  text-align: center;
  position: relative;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  overflow: hidden;
}
.services-title-module::before,
.services-title-module::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  border-radius: 2px;
  max-width: 120px;
}
.services-title-module::before {
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,1) 100%);
}
.services-title-module::after {
  background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,1) 100%);
}
.services-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.services-title-text {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.services-title-module:hover .services-title-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08) rotate(5deg);
}

/* Оранжевый фон + сетка 2×3 */
.services-wrapper {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%) !important;
  padding: 12px !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.25) !important;
  box-sizing: border-box !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.services-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  height: 100% !important;
  min-height: 550px !important;
  align-items: stretch !important;
  padding: 0 !important;
}

.services-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  height: 100% !important;
}

/* Карточка сервиса */
.service-card {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px 8px !important;
  min-height: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.service-icon-box {
  width: 68px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #fff7ed !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.9rem !important;
  color: #d97706 !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease !important;
}
.service-name {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.2 !important;
  text-align: center !important;
  transition: color 0.3s ease !important;
  word-break: break-word;
}
.service-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.18) !important;
  border-color: #d97706 !important;
}
.service-card:hover .service-icon-box {
  background: #d97706 !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}
.service-card:hover .service-name { color: #d97706 !important; }

/* Карточка "Библиобус" */
.service-card-image { padding: 10px 8px !important; gap: 10px !important; }
.service-card-img {
  width: 52px !important;
  height: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, filter 0.3s ease !important;
}
.service-card-image:hover .service-card-img {
  transform: scale(1.1) !important;
  filter: invert(48%) sepia(94%) saturate(1968%) hue-rotate(2deg) brightness(93%) contrast(96%) !important;
}
.service-card-image .service-icon-box { display: none !important; }


/* ============================================================
   7. КАРУСЕЛЬ АФИШ "ПРОЕКТЫ"
   ============================================================ */

/* Заголовок "ПРОЕКТЫ" */
.afisha-title-header {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}
.afisha-title {
  color: #ffffff !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin: 0 !important;
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 12px !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
.afisha-title::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 0; left: 0; right: 0;
  height: 3px !important;
  background-color: #ffffff !important;
  border-radius: 2px !important;
}

.afisha-carousel-section {
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.afisha-slider-wrap {
  width: 100% !important;
  flex: 1 1 auto !important;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
}
.afisha-nav-header { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 0; }

.afisha-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #4E4F50;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.afisha-arrow:hover {
  background: #6b7280 !important;
  color: #ffffff !important;
  border-color: #6b7280 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 14px rgba(107, 114, 128, 0.35) !important;
}

.afisha-track {
  display: flex !important;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 2px 28px 2px;
  flex: 1 1 auto !important;
  align-items: flex-start !important;
}
.afisha-track::-webkit-scrollbar { display: none; }

.afisha-item {
  flex: 0 0 260px !important;
  width: 260px !important;
  min-width: 260px !important;
  max-width: 260px !important;
}

.afisha-poster-card {
  width: 260px !important;
  height: 368px !important;
  display: block !important;
  position: relative !important;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  cursor: pointer;
  box-sizing: border-box !important;
}
.poster-bg-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: brightness(0.92) contrast(1.04) !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease !important;
}
.afisha-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(78, 79, 80, 0.92);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid rgba(217, 119, 6, 0.75);
  z-index: 3;
  transition: all 0.3s ease;
}
.poster-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 75% !important;
  background: linear-gradient(
    to top,
    rgba(78, 79, 80, 0.95) 0%,
    rgba(78, 79, 80, 0.85) 30%,
    rgba(78, 79, 80, 0.65) 55%,
    rgba(78, 79, 80, 0.30) 75%,
    rgba(78, 79, 80, 0.08) 90%,
    transparent 100%
  ) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 20px 16px 18px 16px !important;
  z-index: 2;
  transition: padding-bottom 0.3s ease, background 0.3s ease;
}
.poster-title-text {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 6px;
}
.poster-more-link {
  color: #f59e0b !important;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.9;
  transition: all 0.25s ease;
}
.afisha-poster-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
  border-color: #d97706;
}
.afisha-poster-card:hover .poster-bg-img { transform: scale(1.08); filter: brightness(0.97) contrast(1.06) !important; }
.afisha-poster-card:hover .afisha-date-badge { background: #d97706; color: #ffffff; }
.afisha-poster-card:hover .poster-overlay { padding-bottom: 20px; }
.afisha-poster-card:hover .poster-more-link { opacity: 1; color: #ffffff !important; }

/* ============================================================
   7.1. ПРОМО-КАРТОЧКА «МЕРОПРИЯТИЯ НА МЕСЯЦ»
   ============================================================ */

/* Обёртка — растягивается на всю высоту колонки Astroid */
.afisha-promo-section {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;        /* Центрируем по вертикали */
  justify-content: stretch !important;
}

/* Сама карточка */
.afisha-promo-card {
  width: 100% !important;
  height: auto !important;
  min-height: 368px !important;
  align-self: stretch !important;

  background: linear-gradient(145deg, #5C5D5E 0%, #757677 100%) !important;
  border-radius: 14px !important;
  border-top: 4px solid #d97706 !important;
  padding: 28px 22px !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
  box-sizing: border-box !important;
}

/* Иконка-календарь в углу */
.afisha-promo-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Заголовок «МЕРОПРИЯТИЯ НА МЕСЯЦ» */
.afisha-promo-title {
  color: #ffffff !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 10px;
}

/* Описание */
.afisha-promo-desc {
  color: #cbd5e1 !important;
  font-size: 0.92rem !important;
  line-height: 1.4 !important;
  margin: 0;
}

/* Кнопка «Вся афиша» */
.afisha-all-btn {
  background: #d97706 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.afisha-all-btn:hover {
  background: #ffffff !important;
  color: #656565 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Адаптив */
@media (max-width: 992px) {
  .afisha-promo-card {
    min-height: 300px !important;
  }
}


/* ============================================================
   8. ЛЕНТА МЕРОПРИЯТИЙ (КАРУСЕЛЬ)
   ============================================================ */

/* Утилиты */
.bg-emerald { background-color: #656565 !important; color: #ffffff; }
.text-emerald { color: #d97706 !important; }
.btn-outline-emerald { color: #d97706; border-color: #d97706; transition: all 0.3s ease; }
.btn-outline-emerald:hover { background-color: #d97706; color: #ffffff; }
.hover-emerald { transition: color 0.2s ease; }
.hover-emerald:hover { color: #d97706 !important; }

/* Убираем лишние отступы */
.events-section {
  padding-top: 0 !important;
  padding-bottom: 20px !important;
}
.events-section .container-fluid { padding-top: 0 !important; }

/* Белая плашка вокруг карусели */
.events-carousel-container {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 20px 24px 24px 24px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.events-carousel-wrap { position: relative; margin-top: 0 !important; padding-top: 0 !important; }

.events-nav-header {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding-top: 0 !important;
}
.events-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #4E4F50;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.events-arrow:hover {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
}

.events-track {
  display: flex !important;
  gap: 20px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  padding: 0 2px 12px 2px !important;
  margin-top: 0 !important;
}
.events-track::-webkit-scrollbar { display: none !important; }

/* Карточка мероприятия */
.event-card-compact {
  flex: 0 0 340px !important;
  width: 340px !important;
  min-width: 340px !important;
  max-width: 340px !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.event-card-compact:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.18) !important;
  border-color: #d97706 !important;
}
.event-card-compact .event-img-wrap {
  height: 200px !important;
  min-height: 200px !important;
  position: relative !important;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.event-card-compact .placeholder-icon {
  font-size: 4.5rem !important;
  color: #cbd5e1 !important;
  opacity: 0.8 !important;
  transition: all 0.3s ease !important;
}
.event-card-compact:hover .placeholder-icon {
  transform: scale(1.1) !important;
  color: #f37920 !important;
  opacity: 1 !important;
}
.event-card-compact .event-date-badge {
  position: absolute !important;
  bottom: 14px !important;
  left: 14px !important;
  background: rgba(78, 79, 80, 0.92) !important;
  color: #ffffff !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  text-align: center !important;
  line-height: 1.1 !important;
  backdrop-filter: blur(4px) !important;
  z-index: 2 !important;
}
.event-card-compact .event-date-badge .day {
  display: block !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
}
.event-card-compact .event-date-badge .month {
  display: block !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.event-tag {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: rgba(78, 79, 80, 0.92) !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  z-index: 2 !important;
}
.event-card-compact .event-body {
  padding: 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex: 1 1 auto !important;
}
.event-card-compact .event-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
}
.event-card-compact .event-meta i {
  color: #d97706 !important;
  margin-right: 5px !important;
}
.event-card-compact .event-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color 0.3s ease !important;
}
.event-card-compact:hover .event-title { color: #d97706 !important; }


/* ============================================================
   9. ПРОМО-КАПСУЛЫ
   ============================================================ */
.promo-capsule {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-height: 90px;
  padding: 16px 18px;
  border-radius: 14px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4a4a4a 0%, #6b6b6b 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.promo-capsule::before {
  content: "";
  position: absolute;
  top: -60%; left: -60%;
  width: 60%; height: 220%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(243,121,32,0.45) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  transition: left .6s ease;
  pointer-events: none;
}
.promo-capsule:hover::before { left: 130%; }
.promo-capsule-icon {
  font-size: 2rem;
  flex-shrink: 0;
  color: #f37920;
  transition: transform .3s ease, color .3s ease;
}
.promo-capsule-content { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.promo-capsule-badge {
  display: inline-block;
  align-self: flex-start;
  background: #f37920;
  color: #ffffff;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.promo-capsule-title {
  color: #ffffff;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  transition: color .3s ease;
}
.promo-capsule-desc {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
}
.promo-capsule:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: #f37920;
  background: linear-gradient(135deg, #3a3a3a 0%, #575757 100%);
}
.promo-capsule:hover .promo-capsule-icon { transform: scale(1.2) rotate(-5deg); color: #ffa04d; }
.promo-capsule:hover .promo-capsule-title { color: #ffd9b3; }


/* ============================================================
   10. ПРОЕКТЫ (старая секция)
   ============================================================ */
.projects-title {
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding: 0 0 14px 0;
  margin: 0;
}
.projects-title::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 0; left: 0; right: 0;
  height: 3px !important;
  background-color: #ffffff !important;
  border-radius: 2px !important;
}

.projects-slider { position: relative; padding: 0 44px; }
.projects-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 18px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.projects-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }

.projects-track { display: flex; gap: 16px; padding: 0 4px; }

.project-card {
  flex: 0 0 auto;
  width: calc((100% - 48px) / 4);
  min-height: 180px;
  padding: 22px 16px;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #4a4a4a 0%, #6b6b6b 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.project-card::before {
  content: "";
  position: absolute;
  top: -60%; left: -60%;
  width: 60%; height: 220%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(243,121,32,0.45) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  transition: left .6s ease;
  pointer-events: none;
}
.project-card:hover::before { left: 130%; }
.project-icon { font-size: 2.9rem; color: #f37920; margin-bottom: 12px; transition: transform .3s ease, color .3s ease; }
.project-title { color: #fff; font-weight: 700; font-size: 1rem; margin: 0; line-height: 1.3; transition: color .3s ease; }
.project-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: #f37920;
  background: linear-gradient(135deg, #3a3a3a 0%, #575757 100%);
}
.project-card:hover .project-icon { transform: scale(1.2) rotate(-5deg); color: #ffa04d; }
.project-card:hover .project-title { color: #ffd9b3; }

.projects-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background-color: #f37920;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: background-color .25s ease, transform .25s ease, opacity .25s ease;
  z-index: 2;
}
.projects-arrow:hover { background-color: #d9650f; transform: translateY(-50%) scale(1.1); }
.projects-arrow-prev { left: 0; }
.projects-arrow-next { right: 0; }


/* ============================================================
   11. ФУТЕР
   ============================================================ */
.banners-section-wrapper,
#astroid-footer,
#astroid-footer-1,
.footer-section,
.astroid-footer-section,
#astroid-footer .container,
#astroid-footer .container-fluid,
#astroid-footer .row,
#astroid-footer [class*="col-"] {
  background-color: #F1F5F9 !important;
  color: #F1F5F9 !important;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* Полоса между соцбаннерами и футером */
.banners-section-wrapper {
  border-bottom: 3px solid rgba(60, 67, 71, 0.86) !important;
  padding-bottom: 24px !important;
  margin-bottom: 0 !important;
}

/* Заголовки футера */
.footer-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff !important;
  margin-bottom: 12px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  display: inline-block !important;
  position: relative !important;
}
.footer-title::after {
  content: "" !important;
  display: block !important;
  width: 600px !important;
  height: 2px !important;
  background-color: #ffffff !important;
  margin-top: 6px !important;
  border-radius: 2px !important;
}

/* Правый блок — 380px */
.footer-3-position .footer-title::after,
#mod-custom257 .footer-title::after {
  width: 380px !important;
  max-width: 100% !important;
}

/* "ОЦЕНИТЕ НАС" — по ширине текста */
#mod-custom255 .footer-title::after,
.footer-1-position .footer-title::after {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.footer-text-block { font-size: 15px !important; line-height: 1.7 !important; color: #cbd5e1 !important; }
.footer-text-block p { margin-bottom: 8px !important; }
.footer-text-block strong { color: #ffffff !important; }

.footer-links-list { list-style: none; padding-left: 0; margin-bottom: 18px; }
.footer-links-list li { margin-bottom: 8px; }
.footer-links-list a,
#astroid-footer a:not(.social-icon-btn) {
  color: #f59e0b !important;
  text-decoration: none;
  font-size: 14.5px !important;
  font-weight: 500;
  transition: all 0.2s ease;
}
.footer-links-list a:hover,
#astroid-footer a:not(.social-icon-btn):hover {
  color: #ffffff !important;
  text-decoration: underline;
}

#astroid-footer p,
#astroid-footer span,
#astroid-footer div,
#astroid-footer li { color: #cbd5e1 !important; }

/* Соцкнопки в футере */
.footer-social-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  height: 100%;
  min-height: 250px;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none !important;
  font-size: 28px;
  color: #ffffff !important;
  position: relative;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.footer-social-btn i { position: relative; z-index: 2; transition: transform 0.35s ease; color: #ffffff !important; }
.footer-social-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
  transition: left 0.6s ease;
  z-index: 1;
}
.footer-social-btn:hover::before { left: 100%; }

.footer-social-telegram { background: linear-gradient(135deg, #229ed9 0%, #0088cc 100%); }
.footer-social-telegram:hover {
  background: linear-gradient(135deg, #26a5e4 0%, #0099e6 100%);
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 12px 24px rgba(34, 158, 217, 0.45);
}
.footer-social-telegram:hover i { transform: scale(1.15); }

.footer-social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer-social-instagram:hover {
  background: linear-gradient(45deg, #f5a04a 0%, #f07a4a 25%, #ea3655 50%, #da2e75 75%, #c92b9a 100%);
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 12px 24px rgba(220, 39, 67, 0.45);
}
.footer-social-instagram:hover i { transform: scale(1.15); }


/* ============================================================
   12. РЕЖИМ ДЛЯ СЛАБОВИДЯЩИХ
   ============================================================ */
body.a11y-mode {
  background: #000000 !important;
  color: #ffffff !important;
  font-size: 120% !important;
  line-height: 1.7 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.2px !important;
}

body.a11y-mode,
body.a11y-mode .astroid-container,
body.a11y-mode .astroid-layout,
body.a11y-mode .astroid-wrapper,
body.a11y-mode .astroid-section,
body.a11y-mode .astroid-row,
body.a11y-mode .astroid-column,
body.a11y-mode .astroid-module-position,
body.a11y-mode .moduletable,
body.a11y-mode main,
body.a11y-mode section,
body.a11y-mode header,
body.a11y-mode footer,
body.a11y-mode aside,
body.a11y-mode article {
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  background-image: none !important;
}

body.a11y-mode .card,
body.a11y-mode .catalog-card,
body.a11y-mode .library-calendar-card,
body.a11y-mode .event-card,
body.a11y-mode .service-card,
body.a11y-mode .project-card,
body.a11y-mode .promo-capsule,
body.a11y-mode .promo-banner,
body.a11y-mode .footer-social-btn {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #666666 !important;
  box-shadow: none !important;
  background-image: none !important;
}

body.a11y-mode p,
body.a11y-mode li,
body.a11y-mode span,
body.a11y-mode div,
body.a11y-mode h1, body.a11y-mode h2, body.a11y-mode h3,
body.a11y-mode h4, body.a11y-mode h5, body.a11y-mode h6,
body.a11y-mode td, body.a11y-mode th, body.a11y-mode label,
body.a11y-mode strong, body.a11y-mode b, body.a11y-mode small,
body.a11y-mode .text-muted {
  color: #ffffff !important;
  text-shadow: none !important;
}

body.a11y-mode h1 { font-size: 1.9em !important; margin-bottom: 0.5em !important; }
body.a11y-mode h2 { font-size: 1.6em !important; margin-bottom: 0.5em !important; }
body.a11y-mode h3 { font-size: 1.35em !important; margin-bottom: 0.4em !important; }
body.a11y-mode h4 { font-size: 1.2em !important; margin-bottom: 0.4em !important; }
body.a11y-mode h5 { font-size: 1.1em !important; }

body.a11y-mode a,
body.a11y-mode a *,
body.a11y-mode a:visited,
body.a11y-mode a:visited * {
  color: #ffeb3b !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  background: transparent !important;
}
body.a11y-mode a:hover,
body.a11y-mode a:hover *,
body.a11y-mode a:focus,
body.a11y-mode a:focus * {
  color: #ffffff !important;
  background: #333333 !important;
  outline: 2px solid #ffeb3b !important;
  outline-offset: 2px !important;
}

body.a11y-mode i,
body.a11y-mode .fas, body.a11y-mode .far, body.a11y-mode .fab,
body.a11y-mode .fa-solid, body.a11y-mode .fa-brands { color: inherit !important; }

body.a11y-mode img {
  filter: grayscale(100%) contrast(1.15) !important;
  border: 1px solid #666666 !important;
  background: #111111 !important;
}
body.a11y-mode .state-symbols img,
body.a11y-mode .brand-block img {
  border: none !important;
  filter: grayscale(100%) contrast(1.2) !important;
}

body.a11y-mode .btn,
body.a11y-mode button,
body.a11y-mode input[type="submit"],
body.a11y-mode input[type="button"] {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffeb3b !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
}
body.a11y-mode .btn:hover,
body.a11y-mode button:hover,
body.a11y-mode input[type="submit"]:hover {
  background: #ffeb3b !important;
  color: #000000 !important;
  border-color: #ffeb3b !important;
}
body.a11y-mode .btn:hover *,
body.a11y-mode button:hover * { color: #000000 !important; }

body.a11y-mode input,
body.a11y-mode textarea,
body.a11y-mode select {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffeb3b !important;
  padding: 8px 12px !important;
  font-size: 1em !important;
}
body.a11y-mode input::placeholder,
body.a11y-mode textarea::placeholder { color: #999999 !important; }

body.a11y-mode .astroid-header-section,
body.a11y-mode #astroid-header,
body.a11y-mode #astroid-sticky-header {
  background: #000000 !important;
  border-bottom: 2px solid #ffeb3b !important;
}
body.a11y-mode .astroid-nav .nav-link,
body.a11y-mode .navbar-nav .nav-link,
body.a11y-mode .astroid-nav .nav-item > a {
  color: #ffffff !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}
body.a11y-mode .astroid-nav .nav-link:hover,
body.a11y-mode .astroid-nav .nav-item:hover > a {
  color: #000000 !important;
  background: #ffeb3b !important;
  border-color: #ffeb3b !important;
}
body.a11y-mode .astroid-nav .nav-item.active > a,
body.a11y-mode .astroid-nav .nav-link.active {
  background: #ffeb3b !important;
  color: #000000 !important;
}
body.a11y-mode .btn-sitemap-custom {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffeb3b !important;
}
body.a11y-mode .btn-sitemap-custom:hover {
  background: #ffeb3b !important;
  color: #000000 !important;
}
body.a11y-mode .btn-sitemap-custom:hover i { color: #000000 !important; }

body.a11y-mode .search-pill-wrapper {
  background: #000000 !important;
  border: 2px solid #ffeb3b !important;
}
body.a11y-mode .search-pill-input { color: #ffffff !important; background: transparent !important; }
body.a11y-mode .search-pill-btn { background: #ffeb3b !important; color: #000000 !important; }

body.a11y-mode .topbar-lang-switch {
  background: #000000 !important;
  border: 2px solid #666666 !important;
}
body.a11y-mode .lang-tab { color: #ffffff !important; }
body.a11y-mode .lang-tab:hover,
body.a11y-mode .lang-tab.active {
  color: #000000 !important;
  background: #ffeb3b !important;
  border-radius: 4px;
  padding: 2px 6px;
}

body.a11y-mode footer,
body.a11y-mode .banners-section-wrapper,
body.a11y-mode .footer-section,
body.a11y-mode .astroid-footer-section {
  background: #000000 !important;
  border-top: 2px solid #ffeb3b !important;
}
body.a11y-mode .footer-title {
  color: #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
}
body.a11y-mode .footer-title::after { background-color: #ffffff !important; }
body.a11y-mode .footer-links-list a,
body.a11y-mode footer a:not(.footer-social-btn) {
  color: #ffeb3b !important;
  background: transparent !important;
}
body.a11y-mode .footer-links-list a:hover {
  color: #ffffff !important;
  background: #333333 !important;
}
body.a11y-mode .footer-social-btn {
  border: 2px solid #ffffff !important;
  background: #000000 !important;
}
body.a11y-mode .footer-social-btn i { color: #ffffff !important; }
body.a11y-mode .footer-social-btn:hover {
  background: #ffeb3b !important;
  border-color: #ffeb3b !important;
}
body.a11y-mode .footer-social-btn:hover i { color: #000000 !important; }

body.a11y-mode #mod-custom255 img {
  filter: grayscale(100%) contrast(1.2) !important;
  border: 2px solid #ffffff !important;
}

body.a11y-mode .event-img-placeholder,
body.a11y-mode .placeholder-icon {
  background: #000000 !important;
  color: #ffffff !important;
}
body.a11y-mode .placeholder-icon { color: #999999 !important; }
body.a11y-mode .event-date-badge {
  background: #000000 !important;
  border: 1px solid #ffeb3b !important;
  color: #ffffff !important;
}
body.a11y-mode .event-date-badge .day { color: #ffeb3b !important; }
body.a11y-mode .event-date-badge .month { color: #ffffff !important; }

body.a11y-mode .badge,
body.a11y-mode [class*="badge"] {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #ffeb3b !important;
}

body.a11y-mode .catalog-category-title {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffeb3b !important;
}
body.a11y-mode .catalog-category-title i { color: #ffeb3b !important; }

body.a11y-mode .library-calendar-card .card-header,
body.a11y-mode .calendar-top-bar {
  background: #000000 !important;
  color: #ffffff !important;
  border-bottom: 2px solid #ffeb3b !important;
}
body.a11y-mode .calendar-main-title,
body.a11y-mode .calendar-main-title *,
body.a11y-mode .library-calendar-card .card-header * { color: #ffffff !important; }

body.a11y-mode .cal-day { color: #ffffff !important; background: transparent !important; }
body.a11y-mode .cal-day:hover { background: #333333 !important; color: #ffeb3b !important; }
body.a11y-mode .cal-day.cal-today,
body.a11y-mode .cal-day.active {
  background: #ffeb3b !important;
  color: #000000 !important;
  font-weight: 800 !important;
}
body.a11y-mode .calendar-weekdays span { color: #ffffff !important; }
body.a11y-mode .calendar-weekdays .weekend { color: #ff6b6b !important; }

body.a11y-mode .catalog-item:hover { background: #333333 !important; transform: none !important; }
body.a11y-mode .catalog-item:hover .item-title { color: #ffeb3b !important; }

body.a11y-mode .cal-event-item {
  background: #000000 !important;
  border: 2px solid #666666 !important;
}
body.a11y-mode .cal-event-item:hover { border-color: #ffeb3b !important; }
body.a11y-mode .cal-event-item .event-badge {
  background: #000000 !important;
  color: #ffeb3b !important;
  border: 1px solid #ffeb3b !important;
}
body.a11y-mode .cal-event-item .event-text { color: #ffffff !important; }

body.a11y-mode .catalog-card,
body.a11y-mode .library-calendar-card,
body.a11y-mode .event-card,
body.a11y-mode .service-card,
body.a11y-mode .project-card,
body.a11y-mode .promo-capsule {
  background-image: none !important;
  box-shadow: none !important;
}
body.a11y-mode .service-icon-box {
  background: #000000 !important;
  border: 2px solid #ffeb3b !important;
}
body.a11y-mode .service-icon-box i { color: #ffeb3b !important; }

body.a11y-mode #btn-accessible,
body.a11y-mode .header-icon-btn-accessible {
  background: #ffeb3b !important;
  border-color: #ffeb3b !important;
  box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.4) !important;
}
body.a11y-mode #btn-accessible i,
body.a11y-mode .header-icon-btn-accessible i { color: #000000 !important; }

body.a11y-mode .btn-normal-version {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  background: #ffeb3b !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}
body.a11y-mode .btn-normal-version:hover { background: #ffffff !important; transform: translateY(-2px); }
body.a11y-mode .btn-normal-version i { color: #000000 !important; }

body.a11y-mode [class*="bg-"],
body.a11y-mode [style*="background"] { background-image: none !important; }

body,
body * { transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }


/* ============================================================
   13. АДАПТИВНОСТЬ
   ============================================================ */
@media (max-width: 992px) {
  .header-right-box { align-items: flex-start !important; margin-top: 15px; }
  .header-contacts-group { text-align: left !important; }
  .header-subcontacts { justify-content: flex-start !important; }

  .afisha-promo-card { min-height: 300px !important; }

  .section-main-title { font-size: 1.3rem; }
  .promo-capsule { min-height: 80px; padding: 14px 16px; }
  .promo-capsule-icon { font-size: 1.7rem; }

  .event-card-compact {
    flex: 0 0 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
  }
  .event-card-compact .event-img-wrap { height: 180px !important; min-height: 180px !important; }
  .event-card-compact .placeholder-icon { font-size: 4rem !important; }
  .event-card-compact .event-title { font-size: 1.05rem !important; }

  .project-card { width: calc((100% - 32px) / 3); }

  .services-title-text { font-size: 1.25rem; }
  .services-title-module::before,
  .services-title-module::after { max-width: 80px; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .service-icon-box { width: 60px; height: 60px; font-size: 1.6rem; margin-bottom: 10px; }
  .service-name { font-size: 1.1rem !important; }
}

@media (max-width: 768px) {
  .brand-main-title { font-size: 1.35rem !important; }
  .brand-subtitle { font-size: 0.75rem !important; }
  .brand-divider { display: none; }

  .project-card {
    width: calc((100% - 16px) / 2);
    min-height: 160px;
    padding: 18px 14px;
  }
  .project-icon { font-size: 2rem; }
  .project-title { font-size: 0.95rem; }
}

@media (max-width: 576px) {
  .event-img-wrap { height: 160px; }
  .placeholder-icon { font-size: 3rem; }

  .promo-capsule { min-height: 70px; padding: 12px 14px; }
  .promo-capsule-icon { font-size: 1.5rem; }
  .promo-capsule-title { font-size: 0.92rem; }
  .promo-capsule-desc { font-size: 11.5px; }

  .event-card-compact {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }
  .event-card-compact .event-img-wrap { height: 150px !important; min-height: 150px !important; }
  .event-card-compact .placeholder-icon { font-size: 3rem !important; }
  .event-card-compact .event-title { font-size: 0.95rem !important; }
  .event-card-compact .event-meta { font-size: 0.78rem !important; gap: 10px !important; }

  .services-title-module { gap: 10px; padding: 14px 6px; }
  .services-title-icon { width: 34px; height: 34px; font-size: 0.95rem; }
  .services-title-text { font-size: 1rem; letter-spacing: 0.5px; white-space: normal; }
  .services-title-module::before,
  .services-title-module::after { max-width: 40px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 10px; border-radius: 10px 10px 0 0; }
  .service-icon-box { width: 48px; height: 48px; font-size: 1.3rem; margin-bottom: 8px; }
  .service-name { font-size: 0.95rem !important; }
}

@media (max-width: 480px) {
  .projects-slider { padding: 0 36px; }
  .project-card { width: 100%; min-height: 140px; }
  .project-title { font-size: 0.9rem; }
  .projects-arrow { width: 32px; height: 32px; font-size: 0.85rem; }
}


/* ============================================================
   ПОДЪЁМ БЛОКА "ПРОЕКТЫ" + КАРУСЕЛИ АФИШ
   ============================================================ */

/* 1. Родительская секция Astroid — убираем верхний отступ */
.astroid-section:has(.afisha-carousel-section) {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 2. Обёртка карусели — убираем отступы */
.afisha-carousel-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.afisha-slider-wrap {
  padding-top: 20 !important;
  margin-top: 0 !important;
}

/* 3. Заголовок "ПРОЕКТЫ" — минимальный отступ */
.afisha-title-header {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.afisha-title {
  padding-bottom: 10px !important;      /* Отступ под полоску */
  margin-bottom: 0 !important;
}

/* 4. Стрелки — минимальный отступ */
.afisha-nav-header {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  padding-top: 0 !important;
}

/* 5. Лента карточек — убираем верхний padding */
.afisha-track {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ============================================================
   ЗАГОЛОВОК "МЕРОПРИЯТИЯ И СОБЫТИЯ" + КНОПКА СПРАВА
   ============================================================ */

.services-title-module.events-title-module {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 18px 10px !important;
  position: relative !important;
}

/* Кнопка "Все мероприятия" — справа */
.services-title-module.events-title-module .events-title-btn {
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 6px 16px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.services-title-module.events-title-module .events-title-btn:hover {
  background: #ffffff !important;
  color: #D97706 !important;
  border-color: #ffffff !important;
}

/* Иконка в кнопке */
.services-title-module.events-title-module .events-title-btn i {
  color: inherit !important;
}

/* Мобильная версия — кнопка вниз */
@media (max-width: 992px) {
  .services-title-module.events-title-module {
    flex-direction: column !important;
    padding: 14px 10px 60px 10px !important;
  }
  .services-title-module.events-title-module .events-title-btn {
    position: absolute !important;
    right: 50% !important;
    top: auto !important;
    bottom: 12px !important;
    transform: translateX(50%) !important;
  }
}


/* ============================================================
   ЦЕНТРИРУЕМ ГЛАВНОЕ МЕНЮ (ul.astroid-nav)
   ============================================================ */

/* 1. Родительский контейнер с меню — растягиваем и центрируем */
.astroid-header-section .astroid-column:has(.astroid-nav) {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
}

.astroid-header-section .astroid-module-position:has(.astroid-nav) {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

/* 2. Сам список меню — flex, центрируем */
.astroid-nav,
ul.astroid-nav.d-none.d-lg-flex {
  display: flex !important;
  justify-content: center !important;      /* ← Центрируем пункты */
  align-items: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: auto !important;
  gap: 0 !important;
}

/* 3. Пункты меню — не растягиваются */
.astroid-nav > li.nav-item {
  flex: 0 0 auto !important;
  width: auto !important;
}

/* ============================================================
   СКРЫВАЕМ ПУСТОЙ СЛУЖЕБНЫЙ БЛОК ASTROID В ШАПКЕ
   ============================================================ */

/* Все пустые блоки Astroid в шапке — принудительно скрываем */
.header-right-section,
.header-right-block,
.header-block-item,
.astroid-header-section .header-right-section,
.astroid-header-section .header-right-block,
.astroid-header-section .header-block-item {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

.astroid-nav .nav-link,
.navbar-nav .nav-link,
.astroid-nav .nav-item > a {
  border-radius: 0 !important;
}

/* ============================================================
   ЛЕГКОЕ ОПУСКАНИЕ "КАРТА САЙТА" И ПОИСКА (на 2px)
   ============================================================ */

/* Кнопка "Карта сайта" — опускаем на 2px */
.btn-sitemap-custom {
  margin-top: 3px !important;
}

/* Поисковая строка — опускаем на 2px */
.header-search-box {
  margin-top: 3px !important;
}

/* ============================================================
   УБИРАЕМ ВРЕМЯ И ЛОКАЦИЮ ИЗ КАРТОЧЕК МЕРОПРИЯТИЙ
   ============================================================ */

.event-card-compact .event-meta {
  display: none !important;
}
.footer-email-link {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-email-link:hover {
  color: #f59e0b !important;
  text-decoration: underline !important;
}

/* ГЕРБ И ФЛАГ — одинаковый размер */
.header-symbols-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-symbol-img {
  height: 52px !important;
  max-height: 52px !important;
  max-width: 70px !important;         /* Флаг тоже сжимаем */
}

.header-symbol-img:hover {
  transform: scale(1.05);
}

/* ГЕРБ — крупнее флага (усиленный селектор) */
.header-symbol-img.header-symbol-emblem {
  height: 60px !important;
  max-height: 60px !important;
  max-width: 60px !important;
  margin-top: -4px !important;
  margin-bottom: -4px !important;
}

/* ============================================================
   БЛОК "АДРЕС И КОНТАКТЫ" — в едином стиле с остальной карточкой
   ============================================================ */

.catalog-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}

.catalog-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.05rem !important;        /* Как у ссылок */
  font-weight: 600 !important;          /* Полужирный, как у ссылок */
  color: #565656 !important;            /* Тёмный, как у ссылок */
  line-height: 1.4 !important;
}

.catalog-contact-item i {
  color: #d97706 !important;            /* Оранжевая иконка */
  font-size: 1rem !important;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  margin-top: 4px;
}

.catalog-contact-item span {
  flex: 1;
}

/* ============================================================
   СОЦСЕТИ + ВИДЖЕТЫ В ФУТЕРЕ
   ============================================================ */

.footer-social-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 100%;
  min-height: 250px;
}

/* Группа соцсетей — в ряд */
.footer-social-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Сам блок виджета "Качество услуг" */
.footer-quality-widget {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-quality-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.footer-quality-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
}

/* Счётчик Яндекс.Метрики — скрыт */
.footer-metrica {
  display: none;
}

/* ============================================================
   ВИДЖЕТ "КАЧЕСТВО УСЛУГ" В ФУТЕРЕ
   ============================================================ */

.footer-quality-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Общая обёртка виджета */
.footer-quality-widget .widget {
  background: #5C5D5E;       /* Синий фон, как на старом сайте */
  color: #ffffff;
  border-radius: 10px;
  padding: 16px 20px;
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-quality-widget .widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Ссылка на качество-услуг.бел */
.footer-quality-widget .rp-link {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-quality-widget .rp-link a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-quality-widget .rp-link a:hover {
  color: #FFD966;
}

/* Блок с тремя показателями */
.footer-quality-widget .rp-values {
  display: flex;
  justify-content: space-around;
  gap: 12px;
}

.footer-quality-widget .rp-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-quality-widget .text-semibold {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.9;
}

.footer-quality-widget .rp-value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-quality-widget .rp-value img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);   /* Делаем SVG-иконки белыми */
}

/* Адаптив */
@media (max-width: 576px) {
  .footer-quality-widget .widget {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
  .footer-quality-widget .rp-value {
    font-size: 0.95rem;
  }
  .footer-quality-widget .rp-value img {
    width: 16px;
    height: 16px;
  }
}


/* ============================================================
   УВЕДОМЛЕНИЕ ОБ ИСПОЛЬЗОВАНИИ COOKIE
   ============================================================ */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1e293b;
  color: #ffffff;
  padding: 18px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent--show {
  transform: translateY(0);
}

.cookie-consent__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent__text {
  flex: 1 1 500px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.cookie-consent__text strong {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.cookie-consent__text a {
  color: #f59e0b;
  text-decoration: underline;
}

.cookie-consent__text a:hover {
  color: #ffffff;
}

.cookie-consent__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.cookie-btn--accept {
  background: #d97706;
  color: #ffffff;
}

.cookie-btn--accept:hover {
  background: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.4);
}

.cookie-btn--decline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #64748b;
}

.cookie-btn--decline:hover {
  background: #334155;
  color: #ffffff;
}

/* Адаптив */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 16px 18px;
  }
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-consent__actions {
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1;
  }
}