:root {
  --bmw-blue: #2c6e9e;
  --bmw-blue-hover: #3a7fb3;
  --bmw-blue-glow: rgba(44, 110, 158, 0.25);
  --bmw-blue-dark: #1a4a6e;
  --bmw-dark: #0d0d0e;
  --bmw-card: #13131f;
  --bmw-card-hover: rgba(44, 110, 158, 0.1);
  --bmw-border: #222230;
  --bmw-border-light: #2a2a3a;
  --bmw-text: #b8b8c8;
  --bmw-text-dim: #7a7a8a;
  --bmw-text-light: #e8e8f0;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(44, 110, 158, 0.2);
  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Roboto",
    sans-serif;
  background-color: rgb(22, 22, 22);
  background-image: url("/static/images/site-logo/background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  color: var(--bmw-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==================== HEADER ==================== */
header {
  background-color: rgba(10, 10, 15, 0.3);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--bmw-border);
  transition: all 0.3s ease;
}

nav {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: white;
  text-decoration: none;
  z-index: 1001;
  flex-shrink: 0;
}

.logo span {
  color: var(--bmw-blue);
}

header.header-scrolled {
  background-color: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(16px);
}
header.header-scrolled nav {
  height: 55px;
}
header.header-scrolled .logo {
  font-size: 20px;
}
header.header-scrolled .nav-links a {
  font-size: 13px;
  padding: 4px 0;
}
header.header-scrolled .nav-links a.active {
  padding-bottom: 3px;
}
header.header-scrolled .dropdown-menu {
  top: calc(100% + 5px);
}
header.header-scrolled .lang-switcher a {
  padding: 4px 10px;
  font-size: 11px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  transition: all 0.3s ease;
  align-items: center;
}
.nav-links a {
  color: var(--bmw-text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 0;
  font-size: 15px;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--bmw-text-light);
}
.nav-links a.active {
  border-bottom: 2px solid var(--bmw-blue);
  padding-bottom: 5px;
}

.lang-switcher {
  display: flex;
  gap: 6px;
  z-index: 1001;
  flex-shrink: 0;
}
.lang-switcher a {
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: var(--transition);
  color: var(--bmw-text-dim) !important;
  background-color: transparent;
}
.lang-switcher a:hover {
  color: var(--bmw-text-light) !important;
  background-color: rgba(255, 255, 255, 0.05);
}
.lang-switcher a.active {
  color: white !important;
  background-color: var(--bmw-blue);
  font-weight: 600;
}

/* ==================== DROPDOWN ==================== */
.dropdown {
  position: relative;
}
.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  display: inline-block;
}
.dropdown:hover .dropdown-arrow,
.dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--bmw-card);
  border: 1px solid var(--bmw-border);
  border-radius: 12px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  margin: 0;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--bmw-text);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: rgba(44, 110, 158, 0.1);
  color: var(--bmw-blue);
  padding-left: 24px;
}
.dropdown-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}
.nav-links a.active,
.dropdown-menu a.active {
  color: var(--bmw-blue) !important;
  font-weight: 600;
}
.nav-links a.active {
  border-bottom: 2px solid var(--bmw-blue);
  padding-bottom: 5px;
}
.dropdown.active-resources .dropdown-trigger {
  color: var(--bmw-blue);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==================== АДАПТАЦИЯ ШАПКИ ==================== */
@media (max-width: 1300px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 14px;
  }
}
@media (max-width: 1200px) {
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .logo {
    font-size: 20px;
  }
}
@media (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bmw-card);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    transition: left 0.3s ease;
    z-index: 10000;
    padding: 70px 20px 30px;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links li {
    width: 100%;
    list-style: none;
    border-bottom: 1px solid var(--bmw-border);
  }
  .nav-links li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: var(--bmw-text);
    white-space: normal;
  }
  .nav-links a.active {
    border-bottom: none;
    color: var(--bmw-blue) !important;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    cursor: pointer;
  }
  .dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(44, 110, 158, 0.05);
    border: none;
    border-left: 2px solid var(--bmw-blue);
    margin: 0 0 10px 15px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: calc(100% - 15px);
  }
  .dropdown.open .dropdown-menu {
    max-height: 300px;
  }
  .dropdown-menu li {
    border-bottom: none;
  }
  .dropdown-menu a {
    padding: 10px 0 10px 20px !important;
    font-size: 14px;
    white-space: normal;
  }
  .dropdown-icon {
    width: 28px;
  }
}

/* ==================== MAIN CONTENT ==================== */
.content {
  flex: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}

/* ==================== HERO ==================== */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(44, 110, 158, 0.08) 0%,
    transparent 70%
  );
  border-radius: 30px;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--bmw-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-size: 18px;
  color: var(--bmw-text-dim);
  max-width: 700px;
  margin: 0 auto 30px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== КНОПКИ ==================== */
.btn {
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
}
.btn.primary {
  background: var(--bmw-blue);
  color: white;
  border: none;
}
.btn.primary:hover {
  background: var(--bmw-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 110, 158, 0.3);
}
.btn.secondary {
  background: transparent;
  border: 2px solid var(--bmw-blue);
  color: var(--bmw-text-light);
}
.btn.secondary:hover {
  background: var(--bmw-blue);
  border-color: var(--bmw-blue);
  color: white;
  transform: translateY(-2px);
}
.btn.outline {
  background: transparent;
  border: 2px solid var(--bmw-blue);
  color: var(--bmw-blue);
}
.btn.outline:hover {
  background: var(--bmw-blue);
  color: white;
}

/* ==================== FEATURES ==================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 50px 0;
}
.feature {
  background: var(--bmw-card);
  padding: 28px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--bmw-border);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--bmw-blue);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  font-size: 44px;
  margin-bottom: 16px;
}
.feature h3 {
  margin-bottom: 12px;
  color: var(--bmw-text-light);
  font-size: 18px;
}
.feature p {
  color: var(--bmw-text-dim);
  line-height: 1.5;
  font-size: 14px;
}

/* ==================== БАННЕР ==================== */
.launch-banner {
  background: linear-gradient(
    135deg,
    var(--bmw-blue) 0%,
    var(--bmw-blue-dark) 100%
  );
  border-radius: 20px;
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  color: white;
  box-shadow: var(--shadow-md);
}
.launch-icon {
  font-size: 52px;
  flex-shrink: 0;
}
.launch-content h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  color: white;
}
.launch-content p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.85);
}

/* ==================== СЕКЦИЯ "ЧТО БУДЕТ ДОБАВЛЕНО" ==================== */
.coming-soon {
  margin: 50px 0 40px;
  text-align: center;
}
.coming-soon h2 {
  margin-bottom: 28px;
  color: var(--bmw-text-light);
  font-size: 24px;
}
.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.soon-item {
  background: var(--bmw-card);
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  border: 1px solid var(--bmw-border);
}
.soon-item:hover {
  transform: translateY(-2px);
  border-color: var(--bmw-blue);
  box-shadow: var(--shadow-glow);
}
.soon-icon {
  font-size: 24px;
}
.soon-item span:last-child {
  font-size: 14px;
  color: var(--bmw-text);
}

/* ==================== CTA ==================== */
.cta-section {
  background: var(--bmw-card);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin: 50px 0 30px;
  border: 1px solid var(--bmw-border);
}
.cta-section h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
  color: var(--bmw-text-light);
}
.cta-section p {
  margin-bottom: 24px;
  color: var(--bmw-text-dim);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

/* ==================== НОВОСТИ (КАРТОЧКИ) ==================== */
.news-card {
  background: var(--bmw-card);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--bmw-border);
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--bmw-blue);
  box-shadow: var(--shadow-glow);
}
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: filter 0.3s ease;
}
.news-card:hover img {
  filter: brightness(1.02);
}

/* ==================== ПАГИНАЦИЯ ==================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  background: var(--bmw-card);
  border: 1px solid var(--bmw-border);
  color: var(--bmw-text);
}
.pagination a:hover {
  background: rgba(44, 110, 158, 0.2);
  border-color: var(--bmw-blue);
  color: var(--bmw-blue);
}
.pagination .pagination-current {
  background: var(--bmw-blue);
  border-color: var(--bmw-blue);
  color: white;
}
.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination-prev,
.pagination-next {
  gap: 6px;
  padding-left: 12px;
  padding-right: 12px;
}
.pagination-dots {
  border: none;
  background: transparent;
  min-width: 24px;
}
@media (max-width: 580px) {
  .pagination a,
  .pagination span {
    min-width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .pagination-prev,
  .pagination-next {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ==================== ШАПКА СТРАНИЦЫ НОВОСТЕЙ ==================== */
.news-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 20px 0;
}
.news-main-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.news-main-title .title-text {
  background: linear-gradient(135deg, var(--bmw-text-light), var(--bmw-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.news-subtitle {
  color: var(--bmw-text-dim);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .news-main-title {
    font-size: 1.8rem;
  }
  .news-subtitle {
    font-size: 0.9rem;
  }
}

/* ==================== ГРАДИЕНТНЫЕ ЗАГОЛОВКИ ==================== */
.gradient-title {
  display: inline-block;
  background: linear-gradient(135deg, var(--bmw-text-light), var(--bmw-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.1em;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: var(--bmw-text-light) !important;
}

/* ==================== СТЕКЛЯННЫЙ СЛАЙДЕР ==================== */
.news-slider-container {
  width: 100%;
  margin: 25px 0 35px 0;
  position: relative;
}
.news-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--bmw-blue) rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
}
.news-slider:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 25px rgba(44, 110, 158, 0.15);
}
.news-slider::-webkit-scrollbar {
  height: 4px;
}
.news-slider::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin: 0 20px;
}
.news-slider::-webkit-scrollbar-thumb {
  background: var(--bmw-blue);
  border-radius: 4px;
}
.news-slider::-webkit-scrollbar-thumb:hover {
  background: var(--bmw-blue-hover);
}
.news-slider-track {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 15px 20px;
  min-width: min-content;
}
.news-slide {
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.news-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.news-slide:hover::before {
  opacity: 1;
}
.news-slide img {
  width: 100px;
  height: 60px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: all 0.3s ease;
  filter: brightness(0.95) contrast(1.05);
}
.news-slide:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.1);
  box-shadow: 0 8px 20px rgba(44, 110, 158, 0.3);
}
.news-slide.active {
  transform: scale(1.02);
}
.news-slide.active img {
  box-shadow: 0 0 0 2px var(--bmw-blue);
}
.news-slide {
  animation: glassFadeIn 0.4s ease backwards;
}
.news-slide:nth-child(1) {
  animation-delay: 0.05s;
}
.news-slide:nth-child(2) {
  animation-delay: 0.1s;
}
.news-slide:nth-child(3) {
  animation-delay: 0.15s;
}
.news-slide:nth-child(4) {
  animation-delay: 0.2s;
}
.news-slide:nth-child(5) {
  animation-delay: 0.25s;
}
.news-slide:nth-child(6) {
  animation-delay: 0.3s;
}
.news-slide:nth-child(7) {
  animation-delay: 0.35s;
}
.news-slide:nth-child(8) {
  animation-delay: 0.4s;
}
.news-slide:nth-child(9) {
  animation-delay: 0.45s;
}
.news-slide:nth-child(10) {
  animation-delay: 0.5s;
}

@keyframes glassFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}
.news-lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.news-lightbox img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.news-lightbox-prev,
.news-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 30px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-lightbox-prev:hover,
.news-lightbox-next:hover {
  background: var(--bmw-blue);
  border-color: var(--bmw-blue);
  transform: translateY(-50%) scale(1.1);
}
.news-lightbox-prev {
  left: 30px;
}
.news-lightbox-next {
  right: 30px;
}
.news-lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
.news-lightbox-close:hover {
  background: var(--bmw-blue);
  transform: scale(1.1);
}
.news-lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  width: fit-content;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .news-slide img {
    width: 80px;
    height: 50px;
  }
  .news-slider-track {
    padding: 10px 15px;
    gap: 8px;
  }
  .news-lightbox-prev,
  .news-lightbox-next {
    width: 45px;
    height: 45px;
    font-size: 24px;
    padding: 0;
  }
  .news-lightbox-prev {
    left: 15px;
  }
  .news-lightbox-next {
    right: 15px;
  }
  .news-lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 30px;
    top: 20px;
    right: 20px;
  }
}

/* ==================== ПРОГРАММЫ ==================== */
.program-card {
  background: var(--bmw-card);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--bmw-border);
}
.program-card:hover {
  transform: translateY(-3px);
  border-color: var(--bmw-blue);
  box-shadow: var(--shadow-glow);
}

/* ==================== FOOTER ==================== */
footer {
  background-color: rgba(6, 6, 10, 0.3);
  border-top: 1px solid var(--bmw-border);
  padding: 30px 20px 25px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  text-align: center;
}
.footer-links {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.footer-links a {
  color: #f8f8f8;
  text-decoration: none;
  margin: 0 16px;
  transition: var(--transition);
  font-size: 13px;
}
.footer-links a:hover {
  color: var(--bmw-blue);
}
.copyright {
  color: #c2c2c2;
  font-size: 12px;
  line-height: 1.6;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bmw-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bmw-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bmw-blue);
}
::selection {
  background: var(--bmw-blue);
  color: white;
}

/* ==================== АНИМАЦИИ ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.news-card,
.program-card,
.gallery-card,
.feature,
.soon-item {
  animation: fadeIn 0.5s ease;
}

/* ==================== ОБЩИЕ СТИЛИ ДЛЯ СТРАНИЦ ==================== */
.unified-card {
  background: var(--bmw-card);
  border-radius: 20px;
  border: 1px solid var(--bmw-border);
  overflow: hidden;
  transition: var(--transition);
}
.unified-card:hover {
  transform: translateY(-3px);
  border-color: var(--bmw-blue);
  box-shadow: var(--shadow-glow);
}
.section-title {
  font-size: 1.6rem;
  margin-bottom: 28px;
  color: var(--bmw-text-light);
  padding-left: 16px;
}
.section-title-sm {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--bmw-text-light);
  border-left: 3px solid var(--bmw-blue);
  padding-left: 12px;
}
.sidebar-widget {
  background: var(--bmw-card);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--bmw-border);
  transition: var(--transition);
}
.sidebar-widget:hover {
  border-color: var(--bmw-blue);
}
.widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bmw-border);
}
.widget-icon {
  font-size: 22px;
}
.widget-header h3 {
  font-size: 1rem;
  color: var(--bmw-blue);
  margin: 0;
}
.widget-item {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bmw-border);
}
.widget-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.widget-link {
  color: var(--bmw-text-light);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.4;
  display: block;
  transition: color 0.2s;
}
.widget-link:hover {
  color: var(--bmw-blue);
}
.widget-date {
  color: #555;
  font-size: 0.65rem;
  margin-top: 5px;
}
.widget-empty {
  color: var(--bmw-text-dim);
  text-align: center;
  padding: 20px;
  font-size: 13px;
}
.widget-footer {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--bmw-border);
}
.widget-footer a {
  color: var(--bmw-blue);
  text-decoration: none;
  font-size: 0.8rem;
}
.widget-footer a:hover {
  text-decoration: underline;
}
.btn-sm {
  padding: 6px 16px;
  font-size: 0.8rem;
  border-radius: 30px;
  background: var(--bmw-blue);
  color: white;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-sm:hover {
  background: var(--bmw-blue-hover);
  transform: translateY(-1px);
}
.btn-outline-sm {
  background: transparent;
  border: 1px solid var(--bmw-blue);
  color: var(--bmw-blue);
  padding: 5px 15px;
}
.btn-outline-sm:hover {
  background: var(--bmw-blue);
  color: white;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .section-title-sm {
    font-size: 1.1rem;
  }
  .sidebar-widget {
    padding: 16px;
    margin-bottom: 16px;
  }
}
@media (max-width: 480px) {
  .sidebar-widget {
    padding: 14px;
  }
  .widget-header h3 {
    font-size: 0.9rem;
  }
  .widget-link {
    font-size: 0.8rem;
  }
}

/* ==================== СТИЛИ ДЛЯ КОНТЕНТА НОВОСТИ ==================== */
.news-detail-content {
  color: var(--bmw-text);
  line-height: 1.6;
  font-size: 1rem;
}
.news-detail-content * {
  margin: 0;
  padding: 0;
}
.news-detail-content p {
  margin-bottom: 1.2em;
  line-height: 1.6;
}
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  color: var(--bmw-text-light);
  font-weight: 600;
}
.news-detail-content h1 {
  font-size: 1.8rem;
}
.news-detail-content h2 {
  font-size: 1.5rem;
  border-left: 3px solid var(--bmw-blue);
  padding-left: 15px;
}
.news-detail-content h3 {
  font-size: 1.3rem;
}
.news-detail-content h4 {
  font-size: 1.1rem;
}
.news-detail-content ul,
.news-detail-content ol {
  margin: 0.8em 0 1em 1.5em;
  padding-left: 0;
}
.news-detail-content li {
  margin-bottom: 0.3em;
  line-height: 1.5;
}
.news-detail-content blockquote {
  border-left: 3px solid var(--bmw-blue);
  margin: 1em 0;
  padding: 0.5em 0 0.5em 1.2em;
  color: var(--bmw-text-dim);
  font-style: italic;
}
.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.2em 0;
  display: block;
}
.news-detail-content a {
  color: var(--bmw-blue);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: 0.2s;
}
.news-detail-content a:hover {
  border-bottom-color: var(--bmw-blue);
}
.news-detail-content strong,
.news-detail-content b {
  color: var(--bmw-text-light);
}
.news-detail-content code {
  background: var(--bmw-dark);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: monospace;
}
.news-detail-content pre {
  background: var(--bmw-dark);
  padding: 1em;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1em 0;
  border: 1px solid var(--bmw-border);
}
.news-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.news-detail-content th,
.news-detail-content td {
  border: 1px solid var(--bmw-border);
  padding: 8px 12px;
  text-align: left;
}
.news-detail-content th {
  background: var(--bmw-card);
  color: var(--bmw-blue);
}
.news-detail-content hr {
  margin: 1.5em 0;
  border: none;
  height: 1px;
  background: var(--bmw-border);
}

/* ==================== КНОПКИ НАВИГАЦИИ В НОВОСТИ ==================== */
.news-detail-footer {
  margin-top: 60px;
  padding-top: 35px;
  border-top: 1px solid var(--bmw-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.news-detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bmw-blue);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(44, 110, 158, 0.1);
}
.news-detail-back-link:hover {
  transform: translateX(-5px);
  background: rgba(44, 110, 158, 0.2);
}
.news-detail-share-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bmw-text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(136, 136, 136, 0.1);
}
.news-detail-share-link:hover {
  color: var(--bmw-blue);
  background: rgba(44, 110, 158, 0.1);
}

/* ==================== КОНТЕЙНЕР ДЛЯ СТРАНИЦЫ НОВОСТИ ==================== */
.news-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}
.news-detail-article {
  background: var(--bmw-card);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--bmw-border);
  transition: var(--transition);
}
.news-detail-article:hover {
  box-shadow: 0 25px 50px rgba(44, 110, 158, 0.15);
}
.news-detail-header-image {
  position: relative;
  overflow: hidden;
  background: var(--bmw-dark);
  border-radius: 28px 28px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 550px;
}
.news-detail-header-image img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.news-detail-header-image:hover img {
  transform: scale(1.02);
}
.news-detail-header-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bmw-card));
}
.news-detail-body {
  padding: 50px 60px;
}
.news-detail-title {
  margin: 0 0 20px 0;
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--bmw-blue);
  font-weight: 600;
}
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bmw-border);
}
.news-detail-meta span {
  color: var(--bmw-text-dim);
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .news-detail-container {
    padding: 20px 15px;
  }
  .news-detail-body {
    padding: 25px;
  }
  .news-detail-title {
    font-size: 1.6rem;
  }
  .news-detail-meta {
    margin-bottom: 25px;
  }
}

/* ==================== ТАЙМЕР СКАЧИВАНИЯ ==================== */
.download-timer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--bmw-blue);
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition);
  font-family: monospace;
}
.download-timer:hover {
  transform: scale(1.02);
  background: var(--bmw-blue-hover);
}
.download-timer.ready {
  background: #10b981;
}
.download-timer.ready:hover {
  background: #059669;
}
@media (max-width: 768px) {
  .download-timer {
    bottom: 10px;
    right: 10px;
    padding: 8px 16px;
    font-size: 11px;
  }
}

/* ==================== ПОИСК ==================== */
.search-wrapper {
  margin-left: 15px;
}
.search-toggle {
  background: rgba(44, 110, 158, 0.08);
  border: 1px solid var(--bmw-border);
  color: var(--bmw-text);
  cursor: pointer;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  transition: var(--transition);
  font-size: 13px;
}
.search-toggle:hover {
  background: rgba(44, 110, 158, 0.25);
  border-color: var(--bmw-blue);
  color: var(--bmw-blue);
}
.search-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
.search-text {
  display: inline-block;
}
@media (max-width: 768px) {
  .search-wrapper {
    margin-left: 10px;
  }
  .search-toggle {
    padding: 8px 10px;
  }
  .search-text {
    display: none;
  }
}
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}
.search-modal.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}
.search-modal-content {
  width: 90%;
  max-width: 700px;
  background: var(--bmw-card);
  border-radius: 20px;
  border: 1px solid var(--bmw-border);
  overflow: hidden;
  animation: zoomIn 0.2s ease;
}
.search-modal-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--bmw-border);
  background: var(--bmw-dark);
}
#searchInput {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 0;
  font-size: 18px;
  color: var(--bmw-text-light);
  outline: none;
}
#searchInput::placeholder {
  color: var(--bmw-text-dim);
}
.search-close {
  background: var(--bmw-border);
  border: none;
  color: var(--bmw-text);
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.search-close:hover {
  background: var(--bmw-blue);
  color: white;
  transform: rotate(90deg);
}
.search-results {
  max-height: 500px;
  overflow-y: auto;
  padding: 10px 0;
}
.search-result-item {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  border-bottom: 1px solid var(--bmw-border);
  transition: var(--transition);
}
.search-result-item:hover {
  background: rgba(44, 110, 158, 0.1);
  padding-left: 25px;
}
.search-result-title {
  color: var(--bmw-blue);
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 16px;
}
.search-result-url {
  color: var(--bmw-text-dim);
  font-size: 11px;
  font-family: monospace;
  margin-bottom: 5px;
  word-break: break-all;
}
.search-result-excerpt {
  color: var(--bmw-text);
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-loading,
.search-empty {
  text-align: center;
  padding: 40px;
  color: var(--bmw-text-dim);
}
@media (max-width: 768px) {
  .search-modal {
    padding-top: 60px;
  }
  #searchInput {
    font-size: 16px;
  }
  .search-result-title {
    font-size: 14px;
  }
  .search-toggle {
    width: 32px;
    height: 32px;
  }
  .search-toggle svg {
    width: 16px;
    height: 16px;
  }
}

/* ==================== АККОРДЕОН (CODING/DIAGNOSTICS) ==================== */
.accordion-inner {
  color: var(--bmw-text);
  line-height: 1.6;
  font-size: 1rem;
}
.accordion-inner * {
  margin: 0;
  padding: 0;
}
.accordion-inner p {
  margin-bottom: 1.2em;
  line-height: 1.6;
}
.accordion-inner h1,
.accordion-inner h2,
.accordion-inner h3,
.accordion-inner h4 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  color: var(--bmw-text-light);
  font-weight: 600;
}
.accordion-inner h1 {
  font-size: 1.8rem;
}
.accordion-inner h2 {
  font-size: 1.5rem;
  border-left: 3px solid var(--bmw-blue);
  padding-left: 15px;
}
.accordion-inner h3 {
  font-size: 1.3rem;
}
.accordion-inner h4 {
  font-size: 1.1rem;
}
.accordion-inner ul,
.accordion-inner ol {
  margin: 0.8em 0 1em 1.5em;
  padding-left: 0;
}
.accordion-inner li {
  margin-bottom: 0.3em;
  line-height: 1.5;
}
.accordion-inner blockquote {
  border-left: 3px solid var(--bmw-blue);
  margin: 1em 0;
  padding: 0.5em 0 0.5em 1.2em;
  color: var(--bmw-text-dim);
  font-style: italic;
}
.accordion-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.2em 0;
  display: block;
}
.accordion-inner a {
  color: var(--bmw-blue);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: 0.2s;
}
.accordion-inner a:hover {
  border-bottom-color: var(--bmw-blue);
}
.accordion-inner strong,
.accordion-inner b {
  color: var(--bmw-text-light);
}
.accordion-inner code {
  background: var(--bmw-dark);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: monospace;
}
.accordion-inner pre {
  background: var(--bmw-dark);
  padding: 1em;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1em 0;
  border: 1px solid var(--bmw-border);
}
.accordion-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.accordion-inner th,
.accordion-inner td {
  border: 1px solid var(--bmw-border);
  padding: 8px 12px;
  text-align: left;
}
.accordion-inner th {
  background: var(--bmw-card);
  color: var(--bmw-blue);
}
.accordion-inner hr {
  margin: 1.5em 0;
  border: none;
  height: 1px;
  background: var(--bmw-border);
}

/* ==================== СТИЛИ ДЛЯ GALLERY ==================== */
.gallery-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 20px;
}
.gallery-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}
.gallery-header p {
  color: var(--bmw-text-dim);
  font-size: 1.1rem;
}
.gallery-grid {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  column-count: 4;
  column-gap: 20px;
}
@media (max-width: 1200px) {
  .gallery-grid {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    column-count: 1;
  }
}
.gallery-card {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--bmw-card);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  border: 1px solid var(--bmw-border);
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--bmw-blue);
}
.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.02);
}
.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 20px 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}
.gallery-card-overlay h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 5px;
}
.gallery-card-date {
  font-size: 0.75rem;
  color: #888;
  margin-top: 5px;
}
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  animation: fadeIn 0.3s ease;
}
.gallery-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
}
.gallery-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.gallery-modal-info {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
.gallery-modal-info h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: white;
}
.gallery-modal-info p {
  color: var(--bmw-text);
  font-size: 0.9rem;
}
.gallery-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 1001;
}
.gallery-modal-close:hover {
  transform: scale(1.1);
  color: var(--bmw-blue);
}
.gallery-download-btn {
  position: absolute;
  bottom: 20px;
  right: 30px;
  background: var(--bmw-blue);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  z-index: 1001;
  font-weight: bold;
}
.gallery-download-btn:hover {
  background: var(--bmw-blue-hover);
  transform: scale(1.05);
}
.gallery-prev-btn,
.gallery-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 40px;
  padding: 15px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}
.gallery-prev-btn:hover,
.gallery-next-btn:hover {
  background: var(--bmw-blue);
  transform: translateY(-50%) scale(1.1);
}
.gallery-prev-btn {
  left: 20px;
}
.gallery-next-btn {
  right: 20px;
}
.empty-gallery {
  text-align: center;
  padding: 100px 20px;
  color: var(--bmw-text-dim);
  font-size: 1.3rem;
  background: var(--bmw-card);
  border-radius: 24px;
  margin: 40px auto;
  max-width: 600px;
  border: 1px solid var(--bmw-border);
}
.empty-gallery small {
  color: #555;
  font-size: 0.85rem;
  display: block;
  margin-top: 10px;
}
.gallery-counter {
  text-align: center;
  margin-top: 40px;
  color: var(--bmw-text-dim);
  font-size: 0.9rem;
}

/* ==================== СТИЛИ ДЛЯ SUPPORT ==================== */
.support-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.support-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.about-section {
  background: var(--bmw-card);
  border-radius: 20px;
  padding: 20px 25px;
  margin-bottom: 40px;
  border: 1px solid var(--bmw-border);
}
.about-text {
  color: var(--bmw-text);
  line-height: 1.7;
  font-size: 1rem;
}
.about-text h1,
.about-text h2,
.about-text h3,
.about-text h4 {
  color: var(--bmw-blue);
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}
.about-text p {
  margin-bottom: 1em;
  line-height: 1.7;
}
.about-text ul,
.about-text ol {
  margin: 1em 0;
  padding-left: 2em;
}
.about-text li {
  margin: 0.5em 0;
}
.about-text strong,
.about-text b {
  color: var(--bmw-text-light);
  font-weight: 600;
}
.support-card {
  background: var(--bmw-card);
  border-radius: 24px;
  padding: 30px;
  border: 1px solid var(--bmw-border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.support-card:hover {
  border-color: var(--bmw-blue);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(44, 110, 158, 0.15);
}
.support-card-header {
  text-align: center;
  margin-bottom: 25px;
}
.support-card-icon {
  font-size: 48px;
  margin-bottom: 10px;
}
.support-card-header h2 {
  color: var(--bmw-blue);
  font-size: 1.6rem;
  margin: 10px 0 5px;
}
.support-card-header p {
  color: var(--bmw-text-dim);
  font-size: 0.85rem;
}
.crypto-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 25px;
}
.tab-btn {
  background: var(--bmw-border);
  color: var(--bmw-text);
  border: none;
  padding: 8px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}
.tab-btn.active {
  background: var(--bmw-blue);
  color: white;
}
.tab-btn:hover {
  transform: translateY(-2px);
  background: var(--bmw-blue);
  color: white;
}
.address-box {
  background: var(--bmw-border);
  border-radius: 16px;
  padding: 15px;
}
.address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.address-code {
  background: var(--bmw-dark);
  padding: 10px 12px;
  border-radius: 10px;
  word-break: break-all;
  flex: 1;
  color: var(--bmw-blue);
  font-size: 12px;
  font-family: monospace;
}
.copy-address-btn {
  background: var(--bmw-blue);
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: white;
  font-size: 14px;
  transition: var(--transition);
}
.copy-address-btn:hover {
  background: var(--bmw-blue-hover);
  transform: scale(1.02);
}
.paypal-info {
  margin-top: 20px;
  padding-top: 15px;
  text-align: center;
  border-top: 1px solid var(--bmw-border);
}
.paypal-info p {
  color: #555;
  font-size: 12px;
  margin: 0;
}
.paypal-info span {
  color: var(--bmw-blue);
  font-family: monospace;
}
.support-form-group {
  margin-bottom: 16px;
}
.support-form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--bmw-border);
  border: 1px solid var(--bmw-border-light);
  border-radius: 12px;
  color: var(--bmw-text-light);
  font-size: 14px;
  transition: var(--transition);
  box-sizing: border-box;
}
.support-form-control:focus {
  outline: none;
  border-color: var(--bmw-blue);
  box-shadow: 0 0 0 3px rgba(44, 110, 158, 0.2);
}
.support-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--bmw-blue);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition);
}
.support-submit-btn:hover {
  background: var(--bmw-blue-hover);
  transform: translateY(-2px);
}
.form-status {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
}
.support-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-align: center;
}
.support-hero {
  text-align: center;
  margin-bottom: 40px;
}
.support-hero p {
  color: var(--bmw-text-dim);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.about-text h1,
.about-text h2,
.about-text h3,
.about-text h4 {
  color: var(--bmw-blue);
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}
@media (max-width: 768px) {
  .support-two-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .support-card {
    padding: 20px;
  }
  .support-card-header h2 {
    font-size: 1.4rem;
  }
  .about-section {
    padding: 15px 20px;
    margin-bottom: 25px;
  }
  .address-row {
    flex-direction: column;
    align-items: stretch;
  }
  .copy-address-btn {
    width: 100%;
    padding: 8px;
  }
}
