 /* === Базовые стили === */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --primary: #4ade80;
      --primary-light: #dcfce7;
      --primary-hover: #22c55e;

      /* Новые акцентные цвета */
      --accent-orange: #f97316;
      --accent-blue: #3b82f6;
      --accent-violet: #8b5cf6;
      --accent-teal: #0d9488;

      --text: #111827;
      --text-muted: #64748b;
      --bg: #ffffff;
      --bg-panel: #fafafa;
      --border: #e2e8f0;
      --radius: 16px;
      --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    a { text-decoration: none; color: inherit; }

    h1, h2, h3 {
      line-height: 1.2;
    }

    /* === Header === */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(8px);
      z-index: 1000;
      padding: 10px 0;
      border-bottom: 2px solid var(--primary-light);
    }

    .header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

 .logo {
  display: flex;
  align-items: center;
  gap: 12px; /* отступ между текстом и логотипом */
  text-decoration: none;
}


.logo-text {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  white-space: nowrap;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo-text-main {
  font-size: 18px;
  color: #FF0000;
  font-weight: bold;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-text-slogan {
  font-size: 14px;
  color: #007BFF;
  font-style: italic;
  line-height: 1.3;
}


@media (max-width: 768px) {
  .logo-text-main {
    font-size: 16px;
  }
  .logo-text-slogan {
    font-size: 12px;
  }
  .logo {
    gap: 8px;
  }
}

    .logo img {
      height: 60px;
      width: auto;
    }

    .nav-list {
      display: flex;
      gap: 16px;
      list-style: none;
    }

    .nav-list a {
      font-weight: 600;
      color: var(--text);
      padding: 6px 0;
      position: relative;
    }

    .nav-list a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: var(--transition);
    }

    .nav-list a:hover::after {
      width: 100%;
    }

    .nav-list a:hover {
      color: var(--primary-hover);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      width: 28px;
      height: 20px;
    }

    .hamburger span {
      display: block;
      height: 2px;
      background: var(--text);
      margin: 5px 0;
      border-radius: 2px;
      transition: var(--transition);
    }

    /* === Кнопки === */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 32px;
      font-weight: 600;
      border-radius: 16px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      gap: 8px;
      position: relative;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .btn-outline {
      background: transparent;
      color: var(--text);
      border: 2px solid var(--border);
    }

    .btn-outline:hover {
      background: var(--primary-light);
      color: var(--primary-hover);
      border-color: var(--primary);
      transform: translateY(-3px);
      box-shadow: 0 6px 16px rgba(74, 222, 128, 0.25);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), #22d3ee);
      color: white;
      box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
      border: none;
      position: relative;
      overflow: hidden;
    }

    .btn-primary:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5), 0 0 0 2px white, 0 0 0 4px rgba(74, 222, 128, 0.3);
    }

/* === Hero === */
.hero {
min-height: 450px;
padding: 70px 0 140px;
position: relative;
overflow: hidden;
text-align: center;
margin-top: 70px;
background-image: url('/img/hero66.jpg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

/* Контент — управление позиционированием */
.hero-content {
position: relative;
z-index: 2;
max-width: 760px;
margin-left: 0; /* Отключаем центрирование (сдвиг влево) */
margin-right: auto; /* Сохраняем отступ справа */
padding-left: 0; /* Базовый отступ слева (регулируемый параметр) */
color: #1e293b;
text-align: left; /* Текст внутри блока — по левому краю */
box-sizing: border-box; /* Учитываем отступы в ширине */
}

/* Заголовок — центрирование внутри смещённого контейнера */
.hero h1 {
font-size: 2.7rem;
font-weight: 800;
margin-bottom: 24px;
color: #0f172a;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

text-align: center;
width: 100%;
box-sizing: border-box;
}

/* Подзаголовок — центрирование внутри смещённого контейнера */
.hero p {
font-size: 1.0rem;
color: #475569;
margin-bottom: 36px;
max-width: 680px;

text-align: center;
width: 100%;
box-sizing: border-box;
}

/* Акцент для ключевых слов */
.text-accent {
color: #334155;
font-weight: 700;
position: relative;
}

.text-accent::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
background: #334155;
opacity: 0.6;
}

/* Призыв к действию — центрирование внутри смещённого контейнера */
.hero-cta-text {
color: #dc2626;
font-weight: 700;
margin-bottom: 10px;
margin-top: 40px; /* Опускает блок на 40px */

text-align: center;
width: 100%;
box-sizing: border-box;
}

/* Иконки преимуществ */
.benefit-icon-lg {
width: 24px;
height: 24px;
fill: #1e293b;
margin-right: 12px;
flex-shrink: 0;
}

/* Горизонтальный ряд преимуществ — сохраняем исходное центрирование */
.hero-benefits-inline {
display: flex;
flex-wrap: wrap;
justify-content: center; /* Центрируем ряд */
gap: 24px;
margin-bottom: 24px;
padding: 16px;
background-color: rgba(0, 0, 0, 0.10);
border-radius: 8px;
/* Ключевые изменения: */
width: 95%; /* Ширина 80% от родителя */
max-width: 760px; /* Максимальная ширина (не больше 760px) */
margin-left: auto; /* Автоматические отступы слева */
margin-right: auto; /* Автоматические отступы справа */
}

/* Элементы преимущества — центрирование текста внутри элемента */
.benefit-item {
display: flex;
align-items: center;
min-width: 0;
flex: 1 1 280px;
color: #334155;
text-align: center; /* Центрирование текста внутри элемента */
width: 100%;
box-sizing: border-box;
font-weight: 500; /* Жирный шрифт */
}

/* Кнопка — сохраняем стили, добавляем центрирование */
.hero-cta-button {
/* ... (исходные стили кнопки) ... */

display: block;
margin: 0 auto; /* Центрирование кнопки */
width: fit-content; /* Ширина по содержимому */
box-sizing: border-box;
/* Поднимаем кнопку на 20px */
  margin-top: -20px;
}

/* Адаптация для десктопов (управление смещением) */
@media (min-width: 769px) {
.hero {
background-image: url('/img/hero66.jpg');
background-size: cover;
min-height: 600px;
}

.hero-content {
/* Регулируемый параметр:
- Уменьшайте значение, чтобы сдвинуть текст левее
- 0px — максимально влево
- 20px, 40px — с отступом от края
*/
padding-left: 88px;
}
}

/* Адаптация для мобильных (центрирование) */
@media (max-width: 768px) {
.hero {
background-image: none;
background: linear-gradient(130deg, #f0fdf4 0%, #e0f2fe 45%, #f3e8ff 100%);
min-height: 400px;
padding: 40px 0 80px;
}

.hero-content {
margin-left: auto; /* Возвращаем центрирование */
margin-right: auto;
padding-left: 20px; /* Небольшой отступ для мобильных */
text-align: center; /* Текст по центру на мобильных */
}

.hero h1 {
font-size: 2.4rem;
margin-bottom: 16px;
}

.hero p {
font-size: 1rem;
margin-bottom: 20px;
}

.hero-benefits-inline {
gap: 16px;
margin-bottom: 16px;
}

.benefit-item {
flex: 1 1 100%;
}
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
.hero {
background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
min-height: 350px;
padding: 30px 0 60px;
}

.hero-content {
padding-left: 15px;
}

.hero h1 {
font-size: 2rem;
}

.hero p {
font-size: 0.9rem;
}
}

/* === Блоки === */
    section {
      padding: 100px 0;
      position: relative;
    }

    h2 {
      text-align: center;
      font-size: 2.4rem;
      margin-bottom: 64px;
      font-weight: 800;
      background: linear-gradient(135deg, var(--text), #475569);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* === Калькуляторы — 8 карточек */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 32px;
    }

    .card {
      background: linear-gradient(130deg, #f0fdf4 0%, #e0f2fe 45%, #f3e8ff 100%);
      border-radius: var(--radius);
      padding: 36px 28px;
      transition: var(--transition);
      text-align: center;
      border: 1px solid var(--border);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(4px);
    }
    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--primary);
    }

    .card:nth-child(2)::before { background: var(--accent-orange); }
    .card:nth-child(3)::before { background: var(--accent-blue); }
    .card:nth-child(4)::before { background: var(--accent-teal); }
    .card:nth-child(5)::before { background: var(--accent-violet); }
    .card:nth-child(6)::before { background: #ec4899; }
    .card:nth-child(7)::before { background: #f59e0b; }
    .card:nth-child(8)::before { background: #84cc16; }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.08);
      border-color: transparent;
    }

    /* Стиль иконок в калькуляторах */
    .card-icon {
      width: 72px;
      height: 72px;
      margin: 0 auto 24px;
      background: var(--primary-light);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-hover);
      font-size: 32px;
      border: 2px solid rgba(74, 222, 128, 0.2);
    }

    .card-icon img {
      max-width: 60%;
      max-height: 60%;
      object-fit: contain;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }

    .card:nth-child(2) .card-icon { background: #ffedd5; color: var(--accent-orange); border-color: rgba(249, 115, 22, 0.3); }
    .card:nth-child(3) .card-icon { background: #dbeafe; color: var(--accent-blue); border-color: rgba(59, 130, 246, 0.3); }
    .card:nth-child(4) .card-icon { background: #ccfbf1; color: var(--accent-teal); border-color: rgba(13, 148, 136, 0.3); }
    .card:nth-child(5) .card-icon { background: #ede9fe; color: var(--accent-violet); border-color: rgba(139, 92, 246, 0.3); }

    .card h3 {
      font-size: 1.3rem;
      margin-bottom: 16px;
      font-weight: 700;
    }

    .card p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 24px;
      min-height: 64px;
    }

    /* === Преимущества === */
    .benefits h2 {
      margin-bottom: 48px;
      font-size: 2.25rem;
      text-align: center;
    }

    .benefits-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }

    .benefit-card {
      border-radius: 16px;
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.2s ease;
      position: relative;
      overflow: hidden;
    }

    .benefit-card:hover {
      transform: translateY(-4px);
    }

    .benefit-card h3 {
      font-size: 1.3rem;
      font-weight: 700;
      color: #111827;
      margin-bottom: 12px;
      line-height: 1.3;
    }

    .benefit-card p {
      color: #64748b;
      font-size: 0.95rem;
      margin-bottom: 24px;
      line-height: 1.5;
    }

    .benefit-icon {
      height: auto;
      background: transparent;
      box-shadow: none;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      margin-bottom: 24px;
    }

    .benefit-icon img {
      width: 120px;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 4px 8px rgba(0,0,0,0.05));
    }

    /* === Статьи —  === */
    .article-card {
      display: flex;
      flex-direction: column;
      background: var(--bg);
      border-radius: var(--radius);
      overflow: hidden;
      transition: var(--transition);
      border: 1px solid var(--border);
    }

    .article-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 24px rgba(0,0,0,0.07);
      border-color: var(--primary);
    }

    .article-image {
      height: 170px;
      background: linear-gradient(135deg, #f0fdf4, #dcfce7);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-hover);
      font-size: 2.8rem;
    }

    .article-content {
      padding: 26px;
    }

    .article-content h3 {
      font-size: 1.25rem;
      margin-bottom: 12px;
      font-weight: 700;
    }

    .article-content .excerpt {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 14px;
    }

    .article-content time {
      display: block;
      color: #94a3b8;
      font-size: 0.85rem;
      margin-bottom: 14px;
    }

    .article-content a {
      color: var(--primary);
      font-weight: 600;
    }

    .article-placeholder {
      grid-column: 1 / -1;
      text-align: center;
      padding: 40px;
      color: var(--text-muted);
    }

    /* === Партнёры === */
    .partners {
      background: linear-gradient(to bottom, #fafafa, #f8fafc);
      padding: 80px 0;
      border-top: 1px solid #e2e8f0;
      border-bottom: 1px solid #e2e8f0;
    }

    .partners h2 {
      margin-bottom: 48px;
      text-align: center;
    }

    .partners-grid {
      display: flex;
      flex-wrap: nowrap;
      justify-content: center;
      gap: 36px;
      align-items: center;
      overflow-x: auto;
      padding: 12px 0;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
    }

    .partner-logo {
      height: 72px;
      width: 140px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: white;
      border-radius: 14px;
      padding: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
      transition: var(--transition);
      text-decoration: none;
    }

    .partner-logo:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    }

    .partner-logo img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      filter: grayscale(0) opacity(1);
      transition: var(--transition);
    }

@media (max-width: 768px) {
  .partners-grid {
    display: flex;
    flex-direction: column; /* ← вертикально */
    align-items: center;
    gap: 24px; /* отступ между карточками */
    overflow-x: hidden; /* убираем скролл */
    padding: 16px 0;
  }

  .partner-logo {
    height: 100px;      /* увеличено с 72 → 100 */
    width: 180px;       /* увеличено с 140 → 180 */
    border-radius: 18px;
  }

  .partner-logo img {
    max-width: 90%;
    max-height: 70%;
    object-fit: contain;
  }
}


    /* === Footer === */
   .footer {
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 50px 0 30px; /* уменьшили отступы сверху/снизу */
  border-top: 1px solid #e2e8f0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px; /* ← главный контроллер расстояния между блоками */
}

.footer .logo {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0; /* убрали нижний отступ */
}

.footer-slogan {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.3; /* уменьшили межстрочный интервал */
}

/* Общие стили для иконок */
/* === СТИЛИ ДЛЯ КОНТАКТНЫХ КНОПОК (почта, Telegram, MAX) === */

/* === СТИЛИ ДЛЯ КОНТАКТНЫХ КНОПОК (почта, Telegram, MAX) === */


/* === ОБЩИЕ СТИЛИ ДЛЯ КОНТАКТНЫХ КНОПОК === */


/* === ОБЩИЕ СТИЛИ ДЛЯ КОНТАКТНЫХ КНОПОК === */


/* === ОБЩИЕ СТИЛИ ДЛЯ КОНТАКТНЫХ КНОПОК === */


/* === ОБЩИЕ СТИЛИ ДЛЯ КОНТАКТНЫХ КНОПОК === */


/* === ОБЩИЕ СТИЛИ ДЛЯ КОНТАКТНЫХ КНОПОК === */
.contact-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 12px 0;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 480px;
}

/* Контейнер для почты с подсказкой */
.icon-wrapper {
  position: relative;
  display: inline-block;
}

.icon-wrapper.mail {
  margin-bottom: 8px;
}

/* === КНОПКА ПОЧТЫ (светло‑зелёный фон) === */
.icon-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #22d3ee); 
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 20px;
}

.icon-mail:hover,
.icon-mail:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(144, 238, 144, 0.6);
  background: #3fd88a; /* Чуть темнее при наведении */
}

.icon-mail:focus {
  outline: 2px solid #90ee90;
  outline-offset: 2px;
}

/* === КНОПКА TELEGRAM === */
.icon-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0088cc; /* Официальный синий Telegram */
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 24px;
}

.icon-telegram:hover,
.icon-telegram:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.5);
  background: #006ba6; /* Тёмнее при наведении */
}

.icon-telegram:focus {
  outline: 2px solid #0088cc;
  outline-offset: 2px;
}

/* === КНОПКА MAX (через фоновое изображение) === */
.icon-max {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-image: url('https://static.vecteezy.com/system/resources/previews/073/078/065/non_2x/button-with-speech-cloud-isolated-on-white-background-illustration-vector.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.icon-max:hover,
.icon-max:focus {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(106, 27, 154, 0.4);
}

.icon-max:focus {
  outline: 2px solid #6A1B9A;
  outline-offset: 2px;
}

/* === АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ === */
@media (max-width: 768px) {
  .contact-icons {
    gap: 12px;
    padding: 8px 0;
  }

  /* Кнопка почты */
  .icon-mail {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  /* Подсказка почты */
  .mail-tooltip {
    top: -36px;
    font-size: 10px;
    padding: 3px 10px;
  }

  /* Кнопка Telegram */
  .icon-telegram {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  /* Кнопка MAX */
  .icon-max {
    width: 40px;
    height: 40px;
  }
}

/* === ДОПОЛНИТЕЛЬНЫЕ СТИЛИ === */
.contact-icons a {
  position: relative;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 12px 0 0; /* уменьшили верхний отступ */
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px; /* уменьшили */
  line-height: 1.4;
}

@media (max-width: 768px) {
  /* ... остальные стили ... */

 
  .partner-logo {
    height: 80px;
    width: 160px;
    border-radius: 16px;
  }

  .partner-logo img {
    width: auto;
    height: 60%;
    object-fit: contain;
  }

 
  .footer {
    padding: 40px 0 20px;
  }

  .footer .container {
    gap: 10px;
  }

  .footer-contacts {
    gap: 16px;
  }

  .footer-slogan {
    font-size: 1rem;
  }
}
.privacy-alert {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #000;
  padding: 16px 20px;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  z-index: 1000;
  width: max-content;
  max-width: calc(100% - 40px);
  border-radius: 12px 12px 0 0; /* Закруглённые верхние углы */
}

.alert-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  white-space: nowrap;
}

.privacy-alert p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Зелёный цвет ссылки (основное состояние) */
.privacy-alert a {
  color: #2e8b57; /* Морской зелёный */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease;
  border-radius: 4px;
  padding: 0 4px;
}

/* Восстановлен исходный градиент при наведении */
.privacy-alert a:hover {
  background: linear-gradient(135deg, var(--primary), #22d3ee);
  color: #fff;
  text-decoration: none;
  padding: 0 6px;
}

/* Кнопка с зелёной каймой (в тон ссылке) */
.continue-btn {
  padding: 10px 16px;
  background: #f0f0f0;
  color: #333;
  border: 2px solid #2e8b57; /* Зелёная кайма */
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Восстановлен исходный градиент для кнопки при наведении */
.continue-btn:hover {
  background: linear-gradient(135deg, var(--primary), #22d3ee);
  color: #fff;
  border-color: transparent;
}

/* Адаптация для узких экранов */
@media (max-width: 768px) {
  .privacy-alert {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    width: calc(100% - 30px);
    max-width: none;
    border-radius: 0; /* На мобильных углы не закругляем */
  }
  
  .alert-text {
    width: 100%;
    margin-bottom: 10px;
    white-space: normal;
  }
  
  .continue-btn {
    width: 100%;
  }
/* Простое центрирование ссылок на узких экранах */
  .footer-links {
    text-align: center; /* Центрирует текст внутри контейнера */
    padding: 0 1rem;
  }

  .footer-links a {
    display: block;           /* Делает ссылки блочными (занимают всю ширину) */
    margin: 0 auto;          /* Центрирует блок по горизонтали */
    max-width: 300px;       /* Ограничивает ширину, чтобы был перенос на 2 строки */
    text-align: center;      /* Центрирует текст внутри ссылки */
  }
}


    /* === Кнопка наверх === */
    .scroll-to-top {
      position: fixed;
      bottom: 28px;
      right: 28px;
      width: 52px;
      height: 52px;
      background: linear-gradient(135deg, var(--primary), #22d3ee);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 6px 20px rgba(74, 222, 128, 0.5);
      z-index: 900;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    }

    .scroll-to-top.show {
      opacity: 1;
      visibility: visible;
    }

    .scroll-to-top:hover {
      transform: translateY(-4px) scale(1.05);
    }

    /* === Адаптивность === */
    @media (max-width: 992px) {
      .hero h1 { font-size: 2.6rem; }
    }

    @media (max-width: 768px) {
      .nav-list {
        display: none;
      }
      .hamburger {
        display: block;
      }
      .hero h1 {
        font-size: 2.2rem;
      }
      .hero p {
        font-size: 1.05rem;
      }
      section {
        padding: 70px 0;
      }
      h2 {
        font-size: 2rem;
        margin-bottom: 48px;
      }
      .benefits-cards {
        grid-template-columns: 1fr;
      }

      .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
        z-index: 999;
        display: none;
      }

      .nav-list.active {
        display: flex !important;
      }

      .nav-list a {
        padding: 14px 24px;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
      }

      .nav-list a:last-child {
        border-bottom: none;
      }

      .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }
      .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
    }