/* ==========================================================================
   СОВРЕМЕННЫЙ ДИЗАЙН - ОАО "ЭКРАН"
   ========================================================================== */

/* CSS Variables для тем */
:root {
  /* Light Theme - Modern Blue/White */
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary: #f8fafc;
  --accent: #0ea5e9;
  --text: #1e293b;
  --text-light: #454F5F;
  --text-lighter: #455468;
  --bg: #ffffff;
  --surface: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --overlay: rgba(0, 0, 0, 0.5);
  
  /* Dark Theme - Modern Dark Blue */
  --dark-primary: #60a5fa;
  --dark-primary-light: #93c5fd;
  --dark-primary-dark: #3b82f6;
  --dark-secondary: #0f172a;
  --dark-accent: #38bdf8;
  --dark-text: #f1f5f9;
  --dark-text-light: #cbd5e1;
  --dark-text-lighter: #94a3b8;
  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
  --dark-border: #334155;
  --dark-border-light: #1e293b;
  --dark-shadow: rgba(0, 0, 0, 0.25);
  --dark-overlay: rgba(0, 0, 0, 0.7);
  
  /* Effects */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --shadow-sm: 0 2px 8px var(--shadow);
  --shadow-md: 0 4px 16px var(--shadow);
  --shadow-lg: 0 8px 32px var(--shadow);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --header-height: 80px;
  --container-max: 1650px;
  --container-wide: 1650px;
  --content-padding: 2rem;
}

/* Dark Theme */
body.night-theme {
  --primary: var(--dark-primary);
  --primary-light: var(--dark-primary-light);
  --primary-dark: var(--dark-primary-dark);
  --secondary: var(--dark-secondary);
  --accent: var(--dark-accent);
  --text: var(--dark-text);
  --text-light: var(--dark-text-light);
  --text-lighter: var(--dark-text-lighter);
  --bg: var(--dark-bg);
  --surface: var(--dark-surface);
  --border: var(--dark-border);
  --border-light: var(--dark-border-light);
  --shadow: var(--dark-shadow);
  --overlay: var(--dark-overlay);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Geist', 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  transition: var(--transition-slow);
}

/* Лоадер */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  display: flex;
  gap: 8px;
}

.spinner-circle {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.spinner-circle:nth-child(1) { animation-delay: -0.32s; }
.spinner-circle:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Контейнеры */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

/* Top Bar */
.top-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 0.5rem 0;
  position: relative;
  z-index: 1002;
  font-size: 0.8rem;
}

.top-bar .container {
  max-width: 100%;
  padding: 0 1.5rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  white-space: nowrap;
}

.top-bar-item i {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Основной Header */
.main-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  height: 75px;
  display: flex;
  align-items: center;
}

.night-theme .main-nav {
  background: var(--dark-bg);
  border-bottom-color: var(--dark-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

/* Логотип */
.logo {
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(32%) sepia(90%) saturate(2000%) hue-rotate(210deg);
}

.night-theme .logo-img {
  filter: brightness(0) invert(72%) sepia(90%) saturate(2000%) hue-rotate(190deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 2px;
}

/* Навигация */
.nav-menu-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  max-width: 800px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

.nav-link:hover {
  background: var(--surface);
  color: var(--primary);
}

.nav-link.active {
  background: var(--primary);
  color: white;
}

.nav-link.active i {
  color: white;
}

.dropdown-arrow {
  font-size: 0.7rem;
  margin-left: 0.2rem;
  transition: var(--transition);
}

/* Выпадающее меню */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}

.night-theme .dropdown-menu {
  background: var(--dark-bg);
  border-color: var(--dark-border);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}

.dropdown-item:hover {
  background: var(--primary);
  color: white;
}

.dropdown-item i {
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}

/* Подменю 2-го уровня */
.has-submenu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.has-submenu i.fa-chevron-right {
  font-size: 0.7rem;
  transition: var(--transition);
  margin-left: auto;
}

.has-submenu:hover i.fa-chevron-right {
  transform: translateX(3px);
}

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 1001;
}

.night-theme .submenu {
  background: var(--dark-bg);
  border-color: var(--dark-border);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(5px);
}

.submenu-item {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.submenu-item:hover {
  background: var(--primary);
  color: white;
}

.submenu-group {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.submenu-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.submenu-group-title {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

/* Скроллбар для подменю */
.submenu::-webkit-scrollbar {
  width: 4px;
}

.submenu::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 2px;
}

.submenu::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

/* Кнопки действий */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 160px;
  justify-content: flex-end;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  white-space: nowrap;
}

.contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-text {
  display: inline;
}

.contact-btn i {
  font-size: 0.9rem;
}

/* Переключатель темы */
.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-inner {
  position: relative;
  width: 56px;
  height: 32px;
  background: var(--surface);
  border-radius: 16px;
  padding: 3px;
  transition: var(--transition);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.theme-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.night-theme .theme-toggle-slider {
  transform: translateX(24px);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.sun-moon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 7px;
  position: relative;
  z-index: 1;
}

.sun-moon i {
  font-size: 0.9rem;
  transition: var(--transition);
}

.sun-moon .fa-sun {
  color: #fbbf24;
}

.sun-moon .fa-moon {
  color: #64748b;
}

.night-theme .sun-moon .fa-sun {
  color: #94a3b8;
}

.night-theme .sun-moon .fa-moon {
  color: #e2e8f0;
}

/* Мобильное меню кнопка */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1003;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

/* Мобильное меню (полноэкранное) */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 90vw;
  background: var(--bg);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 2rem 1.5rem;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-nav-menu.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(32%) sepia(90%) saturate(2000%) hue-rotate(210deg);
}

.night-theme .mobile-nav-logo img {
  filter: brightness(0) invert(72%) sepia(90%) saturate(2000%) hue-rotate(190deg);
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  background: var(--primary);
  color: white;
}

.mobile-nav-list {
  list-style: none;
  margin-bottom: 2rem;
}

.mobile-nav-item {
  margin-bottom: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-weight: 600;
  font-size: 1rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary);
  color: white;
}

.mobile-nav-link i {
  width: 24px;
  font-size: 1.1rem;
}

.mobile-dropdown {
  margin-left: 2rem;
  margin-top: 0.5rem;
  display: none;
}

.mobile-dropdown.active {
  display: block;
}

.mobile-dropdown-item {
  display: block;
  padding: 0.875rem 1.25rem;
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-size: 0.95rem;
  text-align: left;
}

.mobile-dropdown-item:hover {
  background: var(--surface);
  color: var(--primary);
}

.mobile-nav-actions {
  margin-top: 2rem;
}

.mobile-contact-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
}

/* ==========================================================================
   HERO СЕКЦИЯ
   ========================================================================== */
.hero-section {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--bg) 100%);
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  display: block;
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 0.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* Hero визуальная часть */
.hero-visual {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-image {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-8deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* Декоративные элементы */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 70%);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
  width: 250px;
  height: 250px;
  top: -125px;
  right: -125px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  bottom: -75px;
  right: 80px;
  animation-delay: 2s;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  right: 40%;
  animation-delay: 4s;
}

/* ==========================================================================
   ОСНОВНОЙ КОНТЕНТ
   ========================================================================== */
.main-content {
  padding: 3rem 0 5rem;
  background: var(--bg);
}

.layout-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

/* ==========================================================================
   САЙДБАР
   ========================================================================== */
.modern-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: fit-content;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  animation: slideInLeft 0.6s ease-out;
}

.sidebar-header {
  margin-bottom: 1.75rem;
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.sidebar-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  border-radius: 1px;
}

.menu-category {
  margin-bottom: 2rem;
}

.product-section-title, .TY {
  text-align: center;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.menu-list {
  list-style: none;
}

.menu-item {
  margin-bottom: 0.375rem;
}

.menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  background: transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  border-left: 3px solid transparent;
  font-size: 0.9375rem;
}

.menu-link:hover {
  background: var(--bg);
  color: var(--primary);
  border-left-color: var(--primary);
  transform: translateX(4px);
}

.menu-item.active .menu-link {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-left-color: white;
}

.menu-link-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-link-content i {
  font-size: 0.9375rem;
  width: 18px;
}

.menu-link-badge {
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  min-width: 22px;
  text-align: center;
}

/* Статистика */
.sidebar-stats {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.stats-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.7125rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Контактная информация */
.sidebar-contact {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-info {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.contact-info i {
  color: var(--primary);
  width: 16px;
}

.content-main {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Хлебные крошки */
.breadcrumbs {
  margin-bottom: 2.5rem;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  color: var(--text-lighter);
  margin-left: 0.75rem;
}

/* Секции */
.content-section {
  margin-bottom: 4rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.title-decoration {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
}

/* Карточки новостей */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  animation: fadeInUp 0.6s ease-out;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.news-card.featured {
  border: 2px solid var(--primary);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.night-theme .card-badge {
  background: rgba(30, 41, 59, 0.95);
}

.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .card-image {
  transform: scale(1.05);
}

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 70%, var(--overlay) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.news-card:hover .media-overlay {
  opacity: 1;
}

.zoom-btn {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  border: none;
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-btn:hover {
  background: var(--primary);
  color: white;
}

.card-category {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.card-content {
  padding: 1.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.card-excerpt {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-lighter);
  font-size: 0.875rem;
}

.meta-item i {
  font-size: 0.875rem;
  color: var(--primary);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.card-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

.card-action:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
}

.action-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Секция "О нас" */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text h3 {
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.0625rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.25rem;
}

.feature-item h4 {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-row img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
  object-fit: contain;
  background: var(--surface);
}

.image-row img:hover {
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

/* ==========================================================================
   ФУТЕР
   ========================================================================== */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-top {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  overflow: visible;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  overflow: visible;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-contact h4 {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-contact p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.9375rem;

  gap: 0.75rem;
  
}

.footer-contact i {
  color: var(--primary);
  margin: 0.25rem 0.5rem 0 0  ;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Колонка с картой */
.footer-column.map-column {
  min-width: 0;
  width: 100%;
  overflow: visible;
}

.map-column {
  grid-column: span 1;
}

/* Карта в футере */
.footer-map {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-sizing: border-box;
}

.footer-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  max-width: 100%;
}

.footer-middle {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
}

.footer-menu-column h5 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-menu-column ul {
  list-style: none;
}

.footer-menu-column li {
  margin-bottom: 0.75rem;
}

.footer-menu-column a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-menu-column a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-developer {
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-developer a {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-developer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.modal-caption {
  padding: 1.5rem;
  text-align: center;
  color: var(--text);
  font-size: 1rem;
}

.modal img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.modal .close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.modal .close-btn:hover {
  background: rgba(255, 0, 0, 0.6);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.modal .nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.modal .nav-arrow:hover {
  background: #007bff;
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.modal .prev-arrow {
  left: 20px;
}

.modal .next-arrow {
  right: 20px;
}

.modal .controls {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 20px;
  z-index: 10000;
}

.modal .controls button {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 24px;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal .controls button:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.thumbnail-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  overflow-x: auto;
  max-width: 90%;
  z-index: 10000;
}

.thumbnail-container img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail-container img:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.thumbnail-container img.active {
  border-color: #007bff;
  transform: scale(1.05);
}

/* ==========================================================================
   КНОПКА "НАВЕРХ"
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   АНИМАЦИИ
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */

/* Большие экраны */
@media (min-width: 1401px) {
  .nav-menu {
    gap: 0.8rem;
  }
  
  .nav-link {
    padding: 0.8rem 1.1rem;
    font-size: 0.95rem;
  }
}

/* Средние экраны (ноутбуки) */
@media (max-width: 1200px) {
  .nav-menu-wrapper {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-actions {
    min-width: auto;
  }
  
  .contact-btn .btn-text {
    display: none;
  }
  
  .contact-btn {
    padding: 0.875rem;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  
  .contact-btn i {
    margin: 0;
  }
  
  .logo {
    min-width: auto;
  }
  
  .hero-section .container {
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-image img {
    height: 300px;
  }
  
  .layout-grid {
    grid-template-columns: 280px 1fr;
    gap: 2rem;
  }
  
  .news-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  
  .about-content {
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .map-column {
    grid-column: span 2;
    order: 3;
  }
  
  .footer-map {
    height: 280px;
  }
  
  .footer-menu {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Планшеты (портрет) */
@media (max-width: 992px) {
  .top-bar-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .top-bar-left,
  .top-bar-right {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
  }
  
  .top-bar-item {
    justify-content: center;
    text-align: center;
  }
  
  .top-bar-item span {
    font-size: 0.85rem;
  }
  
  .logo-wrapper {
    gap: 0.75rem;
  }
  
  .logo-img {
    height: 42px;
  }
  
  .logo-title {
    font-size: 1.1rem;
  }
  
  .logo-subtitle {
    font-size: 0.75rem;
  }
  
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-image {
    transform: perspective(1000px) rotateY(0deg);
  }
  
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .modern-sidebar {
    position: static;
    max-width: 500px;
    margin: 0 auto 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-image {
    order: -1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .map-column {
    grid-column: span 1;
    order: 0;
  }
  
  .footer-map {
    height: 300px;
  }
}

/* Телефоны (ландшафт) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --content-padding: 1.25rem;
  }
  
  .top-bar {
    display: none;
  }
  
  .main-nav {
    height: 65px;
  }
  
  .nav-container {
    gap: 1rem;
  }
  
  .logo {
    min-width: 140px;
  }
  
  .logo-img {
    height: 36px;
  }
  
  .logo-text {
    display: none;
  }
  
  .theme-toggle-inner {
    width: 44px;
    height: 24px;
  }
  
  .theme-toggle-slider {
    width: 20px;
    height: 20px;
  }
  
  .night-theme .theme-toggle-slider {
    transform: translateX(20px);
  }
  
  .hero-section {
    padding: 3rem 0 4rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-image img {
    height: 250px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .news-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-media {
    height: 200px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-map {
    height: 250px;
    width: 100% !important;
  }
  
  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
  
  .modal .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .modal .close-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
    top: 15px;
    right: 15px;
  }
  
  .modal .prev-arrow {
    left: 10px;
  }
  
  .modal .next-arrow {
    right: 10px;
  }
  
  .thumbnail-container img {
    width: 45px;
    height: 45px;
  }
  
  .modal img {
    max-width: 95%;
    max-height: 70vh;
  }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
  :root {
    --content-padding: 1rem;
  }
  
  .container,
  .container-wide {
    padding: 0 1rem;
  }
  
  .nav-actions {
    gap: 0.5rem;
  }
  
  .logo {
    min-width: 160px;
  }
  
  .logo-wrapper {
    gap: 0.5rem;
  }
  
  .logo-img {
    height: 36px;
  }
  
  .contact-btn {
    width: 40px;
    height: 40px;
  }
  
  .theme-toggle {
    padding: 0.25rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .modern-sidebar {
    padding: 1.5rem;
  }
  
  .menu-link {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  .sidebar-stats,
  .sidebar-contact {
    padding: 1.25rem;
  }
  
  .stats-grid {
    gap: 0.75rem;
  }
  
  .stat-value {
    font-size: 1.25rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-footer {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .card-action {
    width: 100%;
    justify-content: center;
  }
  
  .card-actions {
    justify-content: center;
  }
  
  .footer-menu {
    grid-template-columns: 1fr;
  }
  
  .footer-menu-column {
    text-align: center;
  }
  
  .footer-menu-column a:hover {
    padding-left: 0;
  }

  .footer-map {
    height: 220px;
    width: 100% !important;
  }
}

/* ==========================================================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ
   ========================================================================== */

/* Скроллбар */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Выделение текста */
::selection {
  background: var(--primary);
  color: white;
}

::-moz-selection {
  background: var(--primary);
  color: white;
}

/* Формы */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9375rem;
  font-family: 'Geist', 'Rethink Sans', sans-serif;
}