:root {
  --primary-color: #f59e0b;
  --primary-hover: #d97706;
  --accent-blue: #38bdf8;
  --bg-dark: #090d16;
  --card-bg: rgba(15, 23, 42, 0.75);
  --card-border: rgba(255, 255, 255, 0.12);
  --text-main: #f8fafc;
  --text-muted: #ffffff;
}

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

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Визуальный эффект: Полноэкранный слайдер фона с затемнением */
.bg-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  transform: scale(1);
}

.bg-slide.active {
  opacity: 1;
  transform: scale(1.05);
}

/* Тёмный градиентный оверлей поверх слайдера */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at top, rgba(9, 13, 22, 0.75), rgba(5, 7, 12, 0.92));
  backdrop-filter: blur(4px);
  z-index: -1;
}

main {
  flex: 1 0 auto;
  padding: 50px 0;
}

footer {
  flex-shrink: 0;
  background: rgba(5, 7, 12, 0.95);
  padding: 35px 0;
  border-top: 1px solid var(--card-border);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка сайта */
header {
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary-color);
}

.btn-phone {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.45);
}

/* Главный заголовок */
.hero {
  text-align: center;
  margin-bottom: 60px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Карточки с эффектом стекла и строгой рамкой */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 36px;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-3px);
}

/* Инфографика и строгие монохромные SVG-иконки */
.infographic-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.stat-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.strict-icon {
  width: 48px;
  height: 48px;
  fill: var(--primary-color);
  margin-bottom: 16px;
}

.stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Шаги взаимодействия */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.step-card {
  position: relative;
  background: rgba(9, 13, 22, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 24px;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(245, 158, 11, 0.3);
}

.step-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Форма сбора заявок */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-form input, .lead-form select {
  width: 100%;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  background: rgba(9, 13, 22, 0.85);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.lead-form input:focus, .lead-form select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.lead-form button {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  padding: 18px;
  border: none;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.3s, transform 0.2s;
}

.lead-form button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Список локаций */
.location-list {
  list-style: none;
}

.location-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.location-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.location-list a:hover {
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.footer-links li {
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}
/* ==========================================
   ОБЩИЕ НАСТРОЙКИ АДАПТИВА И АНТИ-СКРОЛЛА
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Предотвращает горизонтальную тряску сайта */
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   АДАПТИВНЫЕ ТАБЛИЦЫ
   ========================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 500px; /* Гарантирует, что данные не скомкаются на смартфонах */
  border-collapse: collapse;
}

table th, table td {
  padding: 10px 12px;
  word-break: normal;
}

/* ==========================================
   ФИКСИРОВАННАЯ КНОПКА ВЫЗОВА НА МОБИЛЬНЫХ
   ========================================== */
.fixed-phone-btn {
  display: none; /* Скрыта на ПК */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #ff3b30; /* Яркий призыв к действию */
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255, 59, 48, 0.5);
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.fixed-phone-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.fixed-phone-btn:active {
  transform: scale(0.95);
  background-color: #e03126;
}

/* ==========================================
   MEDIA QUERIES (МОБИЛЬНЫЕ УСТРОЙСТВА)
   ========================================== */
@media (max-width: 768px) {
  /* Показываем липкую кнопку */
  .fixed-phone-btn {
    display: flex;
  }

  /* Позиционирование кнопки на всю ширину снизу для удобства пальца */
  .fixed-phone-btn {
    bottom: 15px;
    left: 15px;
    right: 15px;
    justify-content: center;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.1rem;
  }

  /* Корректировка отступа подвала, чтобы кнопка не перекрывала контент */
  body {
    padding-bottom: 70px;
  }

  /* Шапка и логотип */
  .header-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .logo {
    font-size: 1.2rem;
  }

  /* Скрытие стандартной кнопки в шапке на мобильных, чтобы не дублировать */
  header .btn-phone {
    display: none;
  }

  /* Оптимизация шрифтов и карточек */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  
  .card {
    padding: 15px;
  }

  /* Уменьшаем шрифты в таблицах для телефонов */
  table th, table td {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
}
/* Контейнер слайдера на весь экран */
.bg-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

/* Базовый стиль каждого слайда */
.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* Плавность смены фонов */
}

/* Активный слайд */
.bg-slide.active {
  opacity: 1;
}

/* Затемняющий оверлей поверх слайдера для читаемости текста */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* Регулируйте прозрачность при необходимости */
  z-index: -1;
}

/* ==========================================
   ПРЕМИАЛЬНЫЙ БЛОК УСЛУГ И FAQ
   ========================================== */
.premium-card {
  background: linear-gradient(145deg, rgba(30, 32, 38, 0.8), rgba(18, 19, 23, 0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.premium-header {
  text-align: center;
  margin-bottom: 35px;
}

.premium-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f39c12;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.premium-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.premium-subtitle {
  color: #9ab0c4;
  font-size: 0.95rem;
}

/* ==========================================
   ОБНОВЛЕННАЯ СЕТКА КАРТОЧЕК И СТИЛИ
   ========================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease,
              background-color 0.3s ease;
  cursor: default;
}

/* Интерактив при наведении */
.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.15);
  background: rgba(15, 23, 42, 0.85);
}

.icon-wrapper {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-color);
  transition: fill 0.3s ease;
}

.info-card:hover .icon-wrapper {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Акцентная карточка вызова */
.info-card.feature-cta {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(15, 23, 42, 0.8));
  border-color: rgba(245, 158, 11, 0.3);
}

.icon-wrapper.accent {
  background: var(--primary-color);
}

.icon-wrapper.accent svg {
  fill: #000;
}

.info-card.feature-cta:hover .icon-wrapper.accent {
  background: var(--primary-hover);
}

.info-content h4 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.info-content p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  opacity: 0.85;
  line-height: 1.45;
}

/* ==========================================
   АДАПТИВНОСТЬ ПОД ВСЕ УСТРОЙСТВА
   ========================================== */

/* Планшеты и небольшие экраны (до 1024px) */
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Мобильные устройства (до 640px) */
@media (max-width: 640px) {
  .info-grid {
    grid-template-columns: 1fr; /* Карточки встают друг под друга */
    gap: 12px;
  }

  .info-card {
    padding: 16px;
  }
  
  .icon-wrapper {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .icon-wrapper svg {
    width: 20px;
    height: 20px;
  }

  .info-content h4 {
    font-size: 0.98rem;
  }

  .info-content p {
    font-size: 0.84rem;
  }
}

/* Стили FAQ (Вопросы и Ответы) */
.faq-section h3 {
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 4px 0;
  margin-top: 50px;
}

.faq-hint {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(243, 156, 18, 0.4);
  background: rgba(0, 0, 0, 0.35);
}

.faq-trigger {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  color: #e2e8f0;
  cursor: pointer;
  list-style: none; /* Скрываем стандартный треугольник */
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-trigger:hover {
  color: #f39c12;
}

/* Анимированная стрелка индикатора */
.faq-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.faq-arrow svg {
  width: 18px;
  height: 18px;
  fill: #a0a5b5;
  transition: fill 0.2s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  background: rgba(243, 156, 18, 0.2);
}

.faq-item[open] .faq-arrow svg {
  fill: #f39c12;
}

.faq-body {
  padding: 0 20px 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-body p {
  margin: 12px 0 0 0;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Адаптивность под смартфоны */
@media (max-width: 768px) {
  .premium-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .premium-header h2 {
    font-size: 1.5rem;
  }

  .info-card {
    padding: 16px;
  }

  .faq-trigger {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .faq-body {
    padding: 0 16px 14px 16px;
  }
}

/* ==========================================
   ЭФФЕКТ ПРИЗЫВА ДЛЯ ФИКСИРОВАННОЙ КНОПКИ
   ========================================== */
.fixed-phone-btn {
  display: none;
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  z-index: 9999;
  background: linear-gradient(135deg, #ff3b30, #dc2626);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  /* Анимация пульсации и покачивания */
  animation: pulse-call 2s infinite, shake-phone 4s infinite 2s;
}

@keyframes pulse-call {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7), 0 4px 15px rgba(0,0,0,0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(239, 68, 68, 0), 0 6px 20px rgba(0,0,0,0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 4px 15px rgba(0,0,0,0.4);
  }
}

@keyframes shake-phone {
  0%, 100% { transform: scale(1); }
  2%, 6% { transform: scale(1.03) rotate(-2deg); }
  4%, 8% { transform: scale(1.03) rotate(2deg); }
  10% { transform: scale(1); }
}

/* ==========================================
   МОБИЛЬНОЕ ГАМБУРГЕР-МЕНЮ
   ========================================== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  z-index: 1002;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Превращение гамбургера в крестик */
.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-nav-phone {
  display: none;
  margin-top: 20px;
  justify-content: center;
  width: 100%;
}

/* ==========================================
   MEDIA QUERIES (АДАПТИВ)
   ========================================== */
@media (max-width: 900px) {
  /* Переводим шапку в колонку с выравниванием по центру */
  .header-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
  }

  /* Центрируем логотип и делаем его аккуратнее */
  .logo {
    font-size: 1.15rem;
    text-align: center;
    white-space: nowrap;
  }

  /* Иконка гамбургера строго по центру под логотипом */
  .mobile-menu-toggle {
    display: flex;
    margin: 0 auto;
  }

  .fixed-phone-btn {
    display: flex;
  }
  
  .desktop-only {
    display: none !important;
  }

  /* Выезжающая шторка меню */
  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--card-border);
    padding: 80px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }

  .nav-container.is-active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    width: 100%;
  }

  .nav-menu a {
    font-size: 1.15rem;
    width: 100%;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-phone {
    display: inline-flex;
  }

  body.menu-open {
    overflow: hidden;
  }
  
  /* Переводим сетку в 1 колонку, чтобы оставшаяся карточка контактов заняла всю ширину */
  .grid-2 {
    display: none !important;
  }
}

/* Стили чекбокса формы */
.privacy-consent {
  margin: 12px 0 16px;
  text-align: left;
}
.consent-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ffa500;
  cursor: pointer;
}
.consent-text {
  color: #a0aec0;
  font-size: 13px;
  line-height: 1.3;
}
.consent-text a {
  color: #ffa500;
  text-decoration: underline;
}

/* Стили Баннера Cookie */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  background: #181f2c;
  border: 1px solid rgba(255, 165, 0, 0.4);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 99999;
  animation: cookieFadeIn 0.4s ease;
}
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.cookie-content p {
  color: #a0aec0;
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}
.cookie-content p a {
  color: #ffa500;
}
.cookie-btn {
  background: #ffa500;
  color: #111;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.cookie-btn:hover {
  background: #e67e22;
}

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

@media (max-width: 576px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-btn {
    width: 100%;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 25, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 15px;
  box-sizing: border-box;
}

.modal-content {
  background: #181f2c;
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 35px 25px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 165, 0, 0.1);
  animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.modal-badge {
  display: inline-block;
  background: rgba(255, 165, 0, 0.15);
  color: #ffa500;
  border: 1px solid rgba(255, 165, 0, 0.4);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #8a99ad;
  background: transparent;
  border: none;
  transition: color 0.2s ease;
}
.modal-close:hover {
  color: #ffa500;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(39, 174, 96, 0.15);
  border: 2px solid #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.modal-icon svg {
  width: 36px;
  height: 36px;
  fill: #27ae60;
}

.modal-content h3 {
  margin: 0 0 12px 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
}

.modal-content p {
  color: #a0aec0;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 25px 0;
}
.modal-content p b {
  color: #ffffff;
}

.modal-btn {
  width: 100%;
  background: linear-gradient(135deg, #ffa500 0%, #e67e22 100%);
  color: #111;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}
.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Мобильная адаптация */
@media (max-width: 480px) {
  .modal-content {
    padding: 28px 20px 22px;
  }
  .modal-content h3 {
    font-size: 20px;
  }
  .modal-content p {
    font-size: 13px;
  }
  .modal-icon {
    width: 52px;
    height: 52px;
  }
  .modal-icon svg {
    width: 28px;
    height: 28px;
  }
}