/* ============ ПЕРЕМЕННЫЕ ============ */
:root {
  --primary-dark: #1a365d;
  --primary: #2c5282;
  --primary-light: #4299e1;
  --accent-red: #c53030;
  --accent-orange: #ed8936;
  --accent-green: #38a169;
  --light-bg: #f7fafc;
  --light-gray: #e2e8f0;
  --text-dark: #2d3748;
  --text-light: #4a5568;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
  --section-bg-1: #ffffff;
  --section-bg-2: #f8fafc;
  --top-nav-height: 80px;
  --top-nav-height-mobile: 70px;
  --ticker-height: 40px;
  --chat-fab-size: 58px;
}

/* ============ БАЗОВЫЕ СТИЛИ ============ */
html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

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

/* Глобальные правила для предотвращения overflow на мобильных */
@media (max-width: 768px) {
  * {
    max-width: 100% !important;
  }
  
  img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
  }
  
  table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
  }
  
  input, textarea, select, button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 80px;
  width: 100%;
  max-width: 100vw;
  position: relative;
  box-sizing: border-box;
}

/* Дополнительная защита от overflow на мобильных */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  /* Все изображения */
  img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* Все видео и iframe */
  video, iframe, embed, object {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Все таблицы */
  table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
    word-wrap: break-word;
  }
  
  /* Все формы */
  form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Все ссылки и кнопки */
  a, button {
    max-width: 100% !important;
    word-wrap: break-word;
  }
  
  /* Все текстовые элементы */
  p, span, div, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.section {
  padding: 60px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section-bg-1 {
  background-color: var(--section-bg-1);
}

.section-bg-2 {
  background-color: var(--section-bg-2);
}

/* Секция "4 шага" с фоновой картинкой */
.process-section-bg {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.75) 100%), url("/img/bm01.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.process-section-bg .section-title,
.process-section-bg .section-subtitle {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.process-section-bg .section-title:after {
  background: rgba(255,255,255,0.5);
}

.process-section-bg .step h3,
.process-section-bg .step p {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.process-section-bg .step-number {
  background: linear-gradient(135deg, #4B5320 0%, #3D5A40 100%);
  color: white;
  border: 3px solid #8FBC8F;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.process-section-bg .condition-content h3,
.process-section-bg .condition-content p {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.process-section-bg .condition-icon {
  background: rgba(255,255,255,0.2);
  color: white;
}

.process-section-bg .accompaniment-title {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.process-section-bg .compact-service-content h4,
.process-section-bg .compact-service-content p {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.process-section-bg .compact-service-icon {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* Базовые стили для блоков (светлый фон) */
.accompaniment-title {
  color: var(--primary-dark);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
}

.compact-service-content h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.compact-service-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.compact-service-icon {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-right: 18px;
  min-width: 35px;
  flex-shrink: 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  color: var(--primary-dark);
  position: relative;
  padding: 16px 35px 20px;
  display: table;
  background: linear-gradient(135deg, rgba(75, 83, 32, 0.06) 0%, rgba(61, 90, 64, 0.1) 100%);
  border-radius: 8px;
  border-left: 4px solid #4B5320;
  border-right: 4px solid #4B5320;
  box-shadow: 0 2px 12px rgba(75, 83, 32, 0.08);
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #4B5320, var(--accent-red));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-light);
}

/* ============ НАВИГАЦИЯ ============ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--white);
  color: var(--text-dark);
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 80px;
  border-bottom: 1px solid var(--light-gray);
  box-sizing: border-box;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  cursor: pointer;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 4px;
}

.logo-text {
  /* Текст остаётся для SEO и скринридеров */
  /* Но визуально скрыт для пользователей */
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Основное меню (десктоп) */
.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.main-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
}

.main-menu a:hover {
  color: var(--primary);
}

.main-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.main-menu a:hover::after {
  width: 100%;
}

/* Контакты в столбик */
.contacts-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
}

.phone-number {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-number:hover {
  color: var(--primary);
}

.phone-icon {
  font-size: 0.85rem;
  color: var(--primary);
}

.contact-telegram {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0088cc;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-telegram:hover {
  opacity: 0.8;
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent-red) 0%, #e53e3e 100%);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #c53030 0%, #e53e3e 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Пульсация всех красных кнопок на главной */
.page-index .btn-cta {
  animation: buttonPulse 2s infinite ease-in-out;
  will-change: box-shadow, filter;
}

.page-index .btn-cta:hover {
  animation-play-state: paused;
}

/* Плавающая кнопка "чат" */
/* FAB10 — плавающая кнопка с бликом */
.fab10 {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  z-index: 99998;
  border: none;
  border-radius: 999px;
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  pointer-events: none;
  background: linear-gradient(145deg, #ff5252, #d32f2f);
  overflow: hidden;
}

.fabCall {
  display: none; /* на десктопе всегда скрыта, на мобилке показывается через .visible */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 769px) {
  .fabCall { display: none !important; } /* десктоп: только «Остались вопросы» */
}

.fabCall.visible {
  opacity: 1;
  transform: translateY(0);
}

.fabCall i {
  margin-right: 8px;
  font-size: 16px;
}

.fabCall span {
  display: inline-block;
  line-height: 1;
}

.fab10.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fab10:hover {
  transform: translateY(-5px) scale(1.07);
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}

.fab10:active {
  transform: scale(0.97);
}

/* Блик / световой sweep */
.fab10::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -120%;
  width: 340%;
  height: 340%;
  background: linear-gradient(
    130deg,
    transparent 35%,
    rgba(255, 255, 255, 0.30) 45%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%
  );
  transform: rotate(30deg);
  animation: shine 6s infinite linear;
  pointer-events: none;
}

@keyframes shine {
  0%   { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
  50%  { transform: translateX(30%)  translateY(30%)  rotate(30deg); }
  100% { transform: translateX(180%) translateY(180%) rotate(30deg); }
}

@media (max-width: 640px) {
  .fab10 {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    padding: 12px 22px;
    font-size: 15px;
  }
}

/* Мобилка: 2 плавающие кнопки в ряд (Позвонить + Остались вопросы) */
@media (max-width: 768px) {
  .fabMobileRow {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 99998;
    transform: translateX(-50%);
    width: min(560px, calc(100vw - 32px));
    box-sizing: border-box;
  }

  /* Кнопку чата показываем только когда она стала visible (чтобы не было "пустого места") */
  .fabMobileRow .fab10 {
    position: static;
    bottom: auto;
    right: auto;
    display: none;
  }
  .fabMobileRow .fab10.visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative; /* фикс: блик не должен "улетать" на весь экран */
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 12px 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    contain: paint;
    isolation: isolate;
  }

  .fabCall {
    display: none; /* Скрыта по умолчанию, показывается через .visible */
  }
  .fabCall.visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative; /* фикс: блик привязываем к кнопке */
    bottom: auto;
    right: auto;
    z-index: 99998;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 18px;
    min-height: 44px;
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
    background: rgba(44, 85, 48, 0.95);
    overflow: hidden;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, filter 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    contain: paint;
    isolation: isolate;
  }

  /* Такой же "мигающий блик", как у красной кнопки */
  .fabCall::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -120%;
    width: 340%;
    height: 340%;
    background: linear-gradient(
      130deg,
      transparent 35%,
      rgba(255, 255, 255, 0.30) 45%,
      rgba(255, 255, 255, 0.18) 50%,
      transparent 60%
    );
    transform: rotate(30deg);
    animation: shine 6s infinite linear;
    pointer-events: none;
    border-radius: inherit;
  }

  .fabCall span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fabCall:active {
    transform: scale(0.97);
  }

  @media (max-width: 360px) {
    .fabMobileRow {
      gap: 8px;
    }
    .fabCall,
    .fabMobileRow .fab10.visible {
      font-size: 14px;
      padding: 11px 14px;
      min-height: 42px;
    }
    .fabCall i {
      margin-right: 6px;
      font-size: 15px;
    }
  }

  .fabCall:active {
    transform: scale(0.97);
  }
}

/* Футер: базовые стили для больших иконок */
.footer-big-icons {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Футер: 4 большие иконки в 1 ряд на мобилках */
@media (max-width: 768px) {
  .footer-big-icons {
    /* чтобы 4 иконки не уезжали за экран */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    justify-content: space-evenly !important;
    gap: clamp(6px, 2.2vw, 10px) !important;
    padding: 0 4px !important;
  }

  .footer-big-icons > div {
    flex: 0 0 auto;
    min-width: 0;
  }

  .footer-big-icon {
    /* адаптивный размер — 4 шт всегда помещаются */
    width: clamp(44px, 16vw, 64px) !important;
    height: clamp(44px, 16vw, 64px) !important;
    border-radius: clamp(12px, 3.6vw, 16px) !important;
    margin-bottom: 0 !important;
  }

  .footer-big-icon i {
    font-size: clamp(22px, 7.5vw, 34px) !important;
  }

  .footer-big-icon img {
    width: clamp(22px, 7.5vw, 34px) !important;
    height: clamp(22px, 7.5vw, 34px) !important;
    border-radius: 50% !important;
  }
}

@media (max-width: 420px) {
  .footer-big-icons {
    /* на очень узких экранах ещё плотнее */
    gap: clamp(4px, 2vw, 8px) !important;
  }

  .footer-big-icon {
    width: clamp(40px, 15vw, 54px) !important;
    height: clamp(40px, 15vw, 54px) !important;
    border-radius: clamp(10px, 3.2vw, 14px) !important;
  }

  .footer-big-icon i {
    font-size: clamp(20px, 7vw, 30px) !important;
  }

  .footer-big-icon img {
    width: clamp(20px, 7vw, 30px) !important;
    height: clamp(20px, 7vw, 30px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-index .btn-cta,
  .hero-tilda-btn {
    animation: none !important;
  }
}

/* Бургер-меню */
.mobile-phone-icon {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 28px;
  height: 24px;
  justify-content: center;
  position: relative;
  z-index: 10;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.burger span {
  width: 100%;
  height: 3px;
  background: var(--text-dark) !important;
  border-radius: 1px;
  transition: all 0.3s;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
.mobile-menu {
  display: none !important;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: var(--white);
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  border-top: 1px solid var(--light-gray);
}

.mobile-menu.active {
  display: block !important;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.mobile-menu li {
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-menu a {
  display: inline-block;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  padding: 0;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-contacts {
  border-top: 1px solid var(--light-gray);
  padding-top: 25px;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
}

.mobile-contact-item i {
  width: 20px;
  text-align: center;
}

.mobile-contact-item.telegram {
  color: #0088cc;
}

/* ============ ГЕРОЙ СЕКЦИЯ (ШАПКА) ============ */
#hero-tilda-style {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 100%), url("/img/soldier.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 20px 20px 60px 20px;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 0;
}

.hero-tilda-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-tilda-title {
  font-size: 32px; /* Фиксированный размер вместо clamp */
  font-weight: 700;
  line-height: 1.25; /* Вернем нормальный line-height */
  margin: 0 0 20px;
  letter-spacing: -0.01em; /* Уменьшим межбуквенный интервал */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-tilda-accent {
  color: #ff6b6b;
  font-weight: 800;
  display: block;
  margin: 8px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-size: 36px; /* Делаем акцент БОЛЬШЕ основного текста */
  line-height: 1.2;
}

.hero-tilda-subtitle {
  font-size: 16px; /* Уменьшим размер подзаголовка */
  line-height: 1.5; /* Нормальный line-height */
  color: #e2e8f0;
  margin: 0 0 30px;
  max-width: 480px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-tilda-btn {
  display: inline-block;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-tilda-btn {
  animation: buttonPulse 2s infinite ease-in-out;
  will-change: box-shadow, filter;
}

.hero-tilda-btn:hover {
  background: linear-gradient(135deg, #b71c1c 0%, #8b0000 100%);
  box-shadow: 0 6px 28px rgba(211, 47, 47, 0.4);
  transform: translateY(-2px);
  animation-play-state: paused;
}

/* ============ ПЛАШКИ С ФИКСИРОВАННОЙ ВЫСОТОЙ ============ */
.hero-tilda-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-tilda-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-height: 110px;
  height: auto;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-tilda-feature:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-tilda-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  background: rgba(56, 161, 105, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(56, 161, 105, 0.4);
  margin-top: 3px;
  box-sizing: border-box;
}

.hero-tilda-feature-icon i {
  color: #48bb78;
  font-size: 20px;
}

.hero-tilda-feature-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.hero-tilda-feature-value {
  font-size: 1.1em;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-tilda-feature-desc {
  font-size: 0.85em;
  color: #cbd5e0;
  line-height: 1.3;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

/* ДЕСКТОП: средние экраны */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-tilda-title {
    font-size: 28px;
  }
  
  .hero-tilda-accent {
    font-size: 32px;
  }
  
  .hero-tilda-subtitle {
    font-size: 15px;
  }
  
  #hero-tilda-style {
    min-height: 550px;
  }
  
  .hero-tilda-feature {
    height: 105px;
    min-height: 105px;
    padding: 14px;
  }
  
  .hero-tilda-feature-desc {
    font-size: 0.82em;
  }
}

/* Десктоп: для больших экранов можно увеличить высоту */
@media (min-width: 1200px) {
  .hero-tilda-feature {
    height: 120px;
    min-height: 120px;
    padding: 18px;
  }
  
  .hero-tilda-feature-desc {
    font-size: 0.9em;
    -webkit-line-clamp: 3; /* На больших экранах 3 строки */
  }
}

/* ПЛАНШЕТЫ: переходим на одну колонку */
@media (max-width: 991px) {
  .hero-tilda-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  
  .hero-tilda-title {
    font-size: clamp(24px, 4.5vw, 32px);
    margin-bottom: 15px;
    max-width: 100% !important;
    word-wrap: break-word;
  }
  
  .hero-tilda-accent {
    font-size: clamp(28px, 5vw, 36px);
    margin: 5px 0;
    word-wrap: break-word;
  }
  
  .hero-tilda-subtitle {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    margin-bottom: 25px;
    word-wrap: break-word;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  
  .hero-tilda-features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 10px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }
  
  .hero-tilda-feature {
    height: 105px;
    min-height: 105px;
    padding: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .hero-tilda-feature-desc {
    -webkit-line-clamp: 2;
    font-size: 0.82em;
  }
  
  #hero-tilda-style {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 60px;
    background-attachment: scroll;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}

/* ============ ПОЛНАЯ ПЕРЕРАБОТКА ПЛАШЕК ДЛЯ МОБИЛЬНЫХ ============ */
@media (max-width: 768px) {
  .burger {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .hero-tilda-container {
    gap: 25px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  /* Контейнер плашек */
  .hero-tilda-features {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }
  
  /* Каждая плашка */
  .hero-tilda-feature {
    height: auto !important;
    min-height: 90px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    gap: 12px !important;
    flex-shrink: 0;
  }
  
  /* Иконка в плашке */
  .hero-tilda-feature-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    font-size: 16px !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }
  
  .hero-tilda-feature-icon i {
    font-size: 16px !important;
  }
  
  /* Контент плашки */
  .hero-tilda-feature-content {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Значение в плашке */
  .hero-tilda-feature-value {
    font-size: 0.95em !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    white-space: normal !important;
  }
  
  /* Описание в плашке */
  .hero-tilda-feature-desc {
    font-size: 0.78em !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .hero-tilda-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 24px;
    box-sizing: border-box !important;
  }

  /* Кнопки под CTA в hero (Москва/Регионы + БПЛА/Корпус):
     на мобилках (включая 481–768px) переводим в колонку, чтобы не уезжали за экран */
  .hero-location-buttons,
  .hero-service-buttons {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .hero-location-buttons .btn-camo-gradient,
  .hero-service-buttons .btn-camo-gradient {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    white-space: normal !important;
    padding: 12px 18px !important;
    box-sizing: border-box !important;
  }
  
  #hero-tilda-style {
    padding: 90px 12px 40px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%), var(--hero-bg-url-mobile) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  .hero-tilda-title {
    font-size: clamp(22px, 5vw, 28px) !important;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 !important;
    margin-bottom: 15px !important;
  }
  
  .hero-tilda-accent {
    font-size: clamp(26px, 5.5vw, 34px) !important;
    word-wrap: break-word;
  }
  
  .hero-tilda-subtitle {
    font-size: 15px !important;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 !important;
    margin-bottom: 20px !important;
  }
}

/* ============ ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ ============ */
@media (max-width: 480px) {
  .hero-tilda-container {
    padding: 0 10px !important;
    gap: 20px !important;
  }
  
  .hero-tilda-title {
    font-size: 20px !important;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 !important;
  }
  
  .hero-tilda-accent {
    font-size: 24px !important;
    word-wrap: break-word;
  }
  
  .hero-tilda-subtitle {
    font-size: 14px !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 !important;
  }
  
  /* Плашки на очень маленьких экранах */
  .hero-tilda-features {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .hero-tilda-feature {
    min-height: 85px !important;
    padding: 10px 12px !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  .hero-tilda-feature-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    font-size: 14px !important;
  }
  
  .hero-tilda-feature-icon i {
    font-size: 14px !important;
  }
  
  .hero-tilda-feature-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .hero-tilda-feature-desc {
    font-size: 0.75em !important;
    line-height: 1.25 !important;
  }
  
  /* Кнопки в hero - адаптивность на мобильных */
  .hero-buttons-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .hero-buttons-row {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .hero-buttons-row .btn-camo-gradient {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    white-space: normal !important;
  }
  
  /* Кнопки внутри hero-tilda-feature */
  .hero-tilda-feature-content .hero-buttons-row {
    margin-top: 12px !important;
  }
  
  /* Кнопки в hero - service-buttons не прячем, просто держим в пределах экрана */
  .hero-service-buttons {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .hero-location-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .hero-location-buttons .btn-camo-gradient {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  
  .hero-tilda-feature-value {
    font-size: 0.9em !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  #hero-tilda-style {
    padding: 85px 10px 35px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}

/* Очень большие экраны (4K) */
@media (min-width: 1600px) {
  .hero-tilda-title {
    font-size: 36px;
  }
  
  .hero-tilda-accent {
    font-size: 40px;
  }
  
  .hero-tilda-subtitle {
    font-size: 18px;
  }
  
  #hero-tilda-style {
    min-height: 700px;
  }
  
  .hero-tilda-feature {
    height: 130px;
    min-height: 130px;
  }
}

/* ============ ТАБЛИЦЫ ============ */
.benefits-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.benefit-row {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.benefit-row:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-right: 18px;
  min-width: 30px;
  margin-top: 3px;
}

.benefit-content {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.benefit-content h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1.15rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.benefit-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Таблица выплат */
.payments-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  box-shadow: var(--shadow);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  background: white;
  display: table;
}

.payments-table th {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 18px 20px;
  font-size: 1.1rem;
  text-align: left;
  font-weight: 600;
}

.payments-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-gray);
  background: white;
  word-wrap: break-word;
  hyphens: auto;
}

/* Адаптивная таблица для мобильных */
@media (max-width: 768px) {
  .payments-table {
    width: 100%;
    font-size: 0.85rem;
  }

  .payments-table th,
  .payments-table td {
    padding: 10px 8px;
    font-size: 0.8rem;
    word-break: break-word;
  }

  .payments-table th {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .payments-table {
    width: 100%;
    font-size: 0.75rem;
  }

  .payments-table th,
  .payments-table td {
    padding: 6px 4px;
    font-size: 0.7rem;
    word-break: break-word;
  }

  .payments-table th {
    font-size: 0.75rem;
  }
}

/* Баннер БПЛА */
.bpla-banner {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
  padding: 10px 0;
}

.bpla-mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .bpla-mobile-only {
    display: block;
  }
}

.bpla-banner a {
  display: inline-block;
}

.bpla-banner-img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .bpla-banner-img {
    max-height: 40px;
  }
}

/* Старая адаптивная таблица */
@media (max-width: 768px) {
  .payments-table th,
  .payments-table td {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .payments-table th {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .payments-table {
    width: 100%;
    min-width: unset;
    font-size: 0.85rem;
  }
  
  .payments-table th,
  .payments-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .payments-table th {
    font-size: 0.95rem;
  }
}

.payments-table tr:hover td {
  background-color: var(--section-bg-2);
}

.highlight-payment {
  background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%) !important;
  font-weight: 700;
  color: var(--accent-red);
  border-left: 4px solid var(--accent-red);
}

/* Таблица условий */
.contract-conditions {
  margin-top: 60px;
}

.conditions-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.condition-row {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.condition-row:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.condition-icon {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-right: 18px;
  min-width: 30px;
  margin-top: 3px;
}

.condition-content {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.condition-content h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1.15rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.condition-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ============ АДАПТИВНОСТЬ ============ */
@media (max-width: 1100px) {
  .main-menu ul {
    gap: 25px;
  }

  .contacts-column {
    display: none;
  }
}

@media (max-width: 1024px) {
  .main-menu {
    display: none;
  }

  .contacts-column {
    display: none;
  }

  .burger {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 28px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }
  
  .burger span {
    background: var(--text-dark) !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 3px !important;
    width: 100% !important;
  }

  body {
    padding-top: 80px;
  }

  .hero-tilda-container {
    gap: 30px;
  }

  #hero-tilda-style {
    min-height: 80vh;
    max-height: 80vh;
  }
  
  .logo-img {
    height: 50px !important;
    width: auto !important;
    min-width: 50px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 992px) {
  .hero-tilda-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 !important;
  }

  .hero-tilda-features {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  #hero-tilda-style {
    padding-top: 100px;
    min-height: auto;
    max-height: none;
    padding-bottom: 60px;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .benefits-table,
  .conditions-table {
    grid-template-columns: 1fr;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 15px !important;
    gap: 15px;
    box-sizing: border-box !important;
  }
  
  .benefit-row,
  .condition-row {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .section-title {
    font-size: 2rem;
    max-width: calc(100% - 30px) !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    box-sizing: border-box !important;
  }

  .section {
    padding: 50px 0;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}


@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 40px !important;
    box-sizing: border-box !important;
  }
  
  .burger {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 28px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }
  
  .burger span {
    background: var(--text-dark) !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 3px !important;
    width: 100% !important;
  }

  .logo-text {
    font-size: 1rem;
  }

  .nav-container .btn-cta,
  .top-nav .btn-cta {
    display: none !important;
  }
  
  /* Скрываем все кнопки и баннеры в шапке на мобильных, кроме логотипа, телефона и бургера */
  .nav-container > *:not(.logo):not(.burger):not(.mobile-phone-icon):not(.mobile-menu):not(.main-menu) {
    display: none !important;
  }
  
  /* Скрываем контакты в столбик на мобильных */
  .contacts-column {
    display: none !important;
  }

  .mobile-phone-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.44rem !important;
    padding: 0;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s;
    max-width: 192px !important;
    box-sizing: border-box !important;
    white-space: nowrap;
  }

  .mobile-phone-icon:hover {
    color: var(--primary-dark);
  }

  .hero-tilda-container {
    gap: 28px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-features {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-feature {
    padding: 12px 14px !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 18px;
    max-width: 38px !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-feature-icon i {
    font-size: 18px;
  }

  .hero-tilda-feature-value {
    font-size: 1.1em;
    word-wrap: break-word;
    max-width: 100% !important;
  }

  .hero-tilda-feature-desc {
    font-size: 0.88em;
    word-wrap: break-word;
    max-width: 100% !important;
  }

  .hero-tilda-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 24px;
    box-sizing: border-box !important;
  }

  #hero-tilda-style {
    padding: 100px 15px 50px !important;
    min-height: auto;
    max-height: none;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px;
    font-size: 1rem;
    box-sizing: border-box !important;
  }

  .section-title {
    font-size: 1.8rem !important;
    max-width: calc(100% - 30px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 576px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  .logo-img {
    height: 35px !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 35px !important;
    box-sizing: border-box !important;
  }
  
  .burger {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 28px !important;
    height: 24px !important;
  }
  
  .burger span {
    background: var(--text-dark) !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 3px !important;
  }

  .logo-text {
    display: none;
  }

  .btn-cta {
    padding: 10px 22px;
    font-size: 0.9rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-feature {
    flex-direction: row;
    text-align: left;
    gap: 12px;
    flex: 1 1 100%;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-feature-icon {
    margin: 0;
    flex-shrink: 0;
    max-width: 38px !important;
  }

  #hero-tilda-style {
    background-attachment: scroll;
    padding: 90px 15px 40px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .section-title {
    font-size: 1.6rem !important;
    padding: 14px 20px 18px !important;
    max-width: calc(100% - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .section-subtitle {
    font-size: 1.05rem;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .payments-table {
    font-size: 0.85rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .payments-table th,
  .payments-table td {
    padding: 14px 10px;
    word-break: break-word;
    box-sizing: border-box !important;
  }

  .section {
    padding: 40px 0;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-title {
    font-size: 24px !important;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 !important;
  }

  .hero-tilda-subtitle {
    font-size: 16px !important;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 !important;
  }
  
  .container {
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============ МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ СКОРОСТИ ============ */
@media (max-width: 768px) {
  /* Предотвращаем горизонтальный скролл */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* Контейнер таблицы прокручивается горизонтально; сама таблица остаётся display: table */
  .table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Контейнеры не должны выходить за границы */
  .container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .hero-tilda-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Swiper контейнеры */
  .swiper,
  .vacanciesSwiper,
  .reviewsSwiper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .swiper-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .swiper-slide {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Блоки льгот и условий */
  .benefits-table,
  .conditions-table {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 15px !important;
    gap: 15px;
    box-sizing: border-box !important;
  }
  
  .benefit-row,
  .condition-row {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .benefit-content,
  .condition-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .benefit-content h3,
  .condition-content h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100% !important;
  }
  
  .benefit-content p,
  .condition-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100% !important;
  }

  /* Уменьшаем шрифты для читаемости */
  .hero-tilda-title {
    font-size: clamp(22px, 5.5vw, 28px) !important;
    line-height: 1.3;
    max-width: 100% !important;
    word-wrap: break-word;
  }
  .section-title {
    font-size: 1.8em !important;
    max-width: calc(100% - 30px) !important;
    padding: 14px 20px 18px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  h2 {
    font-size: 1.5em !important;
    max-width: 100% !important;
    word-wrap: break-word;
  }
  h3 {
    font-size: 1.3em !important;
    max-width: 100% !important;
    word-wrap: break-word;
  }
  p,
  li {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100% !important;
    word-wrap: break-word;
  }

  /* Форма */
  .form-container {
    padding: 15px !important;
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    box-sizing: border-box !important;
  }
  .form-group input,
  .form-group select {
    font-size: 1rem;
    padding: 12px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Слайдер вакансий */
  .swiper-slide {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
  }
  .vacancy-title {
    font-size: 1.2em;
    word-wrap: break-word;
  }
  .vacancy-salary {
    font-size: 1.1em;
    word-wrap: break-word;
  }
  .vacancy-desc {
    font-size: 0.85em;
    word-wrap: break-word;
  }
  .vacancy-features {
    font-size: 0.8em;
    word-wrap: break-word;
  }

  /* Контакты в футере */
  .footer-main {
    flex-direction: column;
    gap: 30px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  /* Кнопки */
  .btn,
  .hero-tilda-btn,
  .btn-cta {
    font-size: 1rem;
    padding: 14px 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    background: linear-gradient(135deg, var(--accent-red) 0%, #e53e3e 100%) !important;
    color: var(--white) !important;
    border: none !important;
    display: inline-block !important;
  }
  
  /* Все большие "кнопки-линки" тоже держим в пределах экрана */
  .btn-camo-gradient,
  .btn-africa-dust,
  .btn-bpla-tech,
  .btn-africa-sand,
  .style-6 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  /* Шапка */
  .top-nav {
    height: 70px;
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body {
    padding-top: 70px;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Герой-секция */
  #hero-tilda-style {
    padding: 85px 15px 45px !important;
    min-height: auto;
    max-height: none;
    background-attachment: scroll;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-tilda-features {
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-feature {
    padding: 12px 14px !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-tilda-feature-value {
    font-size: 1.1em;
    word-wrap: break-word;
  }

  .hero-tilda-feature-desc {
    font-size: 0.88em;
    word-wrap: break-word;
  }

  /* Блок контактов */
  .contact-card {
    padding: 20px !important;
    height: auto;
    min-height: 160px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-card-title {
    font-size: 1.4em;
    word-wrap: break-word;
  }

  .contact-card-info {
    font-size: 1em;
    word-wrap: break-word;
  }

  /* Модальное окно */
  .modal-content {
    padding: 25px 20px !important;
    margin: 15px !important;
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
  }
  
  /* Режим "чат" для модалки: не растягиваем на всю ширину */
  .modal.chat-mode .modal-content {
    width: 360px !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px) + var(--chat-fab-size, 58px) + 12px) !important;
    padding: 22px 18px !important;
  }

  .phone-input-container {
    flex-direction: column;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .phone-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Таблицы */
  .payments-table {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.75rem !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .payments-table th,
  .payments-table td {
    padding: 6px 4px !important;
    font-size: 0.7rem !important;
    word-break: break-word;
    box-sizing: border-box !important;
  }
  
  /* Процесс шаги */
  .process-steps {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  
  .step {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Секции */
  .accompaniment-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  
  .compact-services-list {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Футер */
  .footer-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  
  footer {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  
  /* Форма секция */
  .form-section {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  
  /* FAQ */
  .faq-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  
  /* Контакты секция */
  .contacts-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  
  .contacts-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Преимущества */
  .advantage-block {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    box-sizing: border-box !important;
  }
  
  /* Слайдер вакансий контейнер */
  .vacancies-slider-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  .hero-tilda-title {
    font-size: clamp(20px, 5vw, 24px) !important;
    line-height: 1.3;
    max-width: 100% !important;
    word-wrap: break-word;
    padding: 0 !important;
  }
  .hero-tilda-subtitle {
    max-width: 100% !important;
    font-size: 15px !important;
    word-wrap: break-word;
    padding: 0 !important;
  }
  .section-title {
    font-size: 1.5em !important;
    padding: 12px 16px 16px !important;
    border-left-width: 3px;
    border-right-width: 3px;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .process-steps {
    flex-direction: column;
    gap: 25px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .step {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .compact-service-item {
    flex-direction: column;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .compact-service-icon {
    margin: 0 0 10px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .floating-telegram {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  
  .container {
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .swiper-slide {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin: 0 10px !important;
  }
}

/* Слайдер с затемнением изображения на 25% */
.vacancy-img {
  width: 100%;
  height: 45%; /* Фото занимает верхние 45% слайда */
  object-fit: cover;
  transition: transform 0.5s;
  filter: brightness(0.75); /* Затемнение на 25% */
}

.swiper-slide:hover .vacancy-img {
  transform: scale(1.08);
  filter: brightness(0.85); /* Чуть светлее при наведении */
}

/* Контейнер изображения */
.vacancy-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Текст в самом низу слайда */
.vacancy-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  padding: 15px 18px 18px;
  background: linear-gradient(135deg, #4b5320, #8d6e63, #556b2f);
  color: #ffeb3b;
  text-shadow: 0 0 20px rgba(255,215,0,0.8);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s;
}

/* Остальные стили слайдера остаются как были */

/* ============ АНИМИРОВАННАЯ ТЕЛЕГРАМ КНОПКА ============ */
.floating-telegram {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc 0%, #005d8f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    z-index: 1000;
    transition: transform 0.3s, opacity 0.3s;
    text-decoration: none;
    animation: telegram-pulse 30s infinite ease-in-out;
    will-change: transform, opacity;
}

.floating-telegram:hover {
    background: linear-gradient(135deg, #005d8f 0%, #0088cc 100%);
    transform: scale(1.1);
    animation-play-state: paused;
}

@keyframes telegram-pulse {
    /* 0-27 секунд: ПОЛНЫЙ ПОКОЙ (90%) */
    0%, 90% {
        transform: scale(1);
        opacity: 1;
    }
    
    /* 27-28 секунды: ПЕРВОЕ ПЛАВНОЕ МИГАНИЕ */
    90% {
        transform: scale(1);
        opacity: 1;
    }
    91.67% {
        transform: scale(1.3);
        opacity: 0.95;
    }
    93.33% {
        transform: scale(1);
        opacity: 1;
    }
    
    /* 28-29 секунды: ВТОРОЕ ПЛАВНОЕ МИГАНИЕ */
    93.33% {
        transform: scale(1);
        opacity: 1;
    }
    95% {
        transform: scale(1.3);
        opacity: 0.95;
    }
    96.67% {
        transform: scale(1);
        opacity: 1;
    }
    
    /* 29-30 секунды: ТРЕТЬЕ ПЛАВНОЕ МИГАНИЕ */
    96.67% {
        transform: scale(1);
        opacity: 1;
    }
    98.33% {
        transform: scale(1.3);
        opacity: 0.95;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Для мобилок делаем поменьше */
@media (max-width: 768px) {
    .floating-telegram {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
        animation: telegram-pulse-mobile 30s infinite ease-in-out;
    }
    
    @keyframes telegram-pulse-mobile {
        /* 0-27 секунд: ПОЛНЫЙ ПОКОЙ (90%) */
        0%, 90% {
            transform: scale(1);
            opacity: 1;
        }
        
        /* 27-28 секунды: ПЕРВОЕ ПЛАВНОЕ МИГАНИЕ */
        90% {
            transform: scale(1);
            opacity: 1;
        }
        91.67% {
            transform: scale(1.25);
            opacity: 0.95;
        }
        93.33% {
            transform: scale(1);
            opacity: 1;
        }
        
        /* 28-29 секунды: ВТОРОЕ ПЛАВНОЕ МИГАНИЕ */
        93.33% {
            transform: scale(1);
            opacity: 1;
        }
        95% {
            transform: scale(1.25);
            opacity: 0.95;
        }
        96.67% {
            transform: scale(1);
            opacity: 1;
        }
        
        /* 29-30 секунды: ТРЕТЬЕ ПЛАВНОЕ МИГАНИЕ */
        96.67% {
            transform: scale(1);
            opacity: 1;
        }
        98.33% {
            transform: scale(1.25);
            opacity: 0.95;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
}


/* ============ ВОЕННЫЕ КНОПКИ ============ */

/* 1. Классический OD Green / Army Green */
.btn-military-1 {
    background: #4B5320;
    color: white;
    border: 1px solid #6B8E23;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
}

.btn-military-1:hover {
    background: #556B2F;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    color: white;
}

/* 2. Тактический тёмный хаки */
.btn-military-2 {
    background: #3D5A40;
    color: #f0f4e8;
    border: 1px solid #5e7c5e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
}

.btn-military-2:hover {
    background: #4a6c4e;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    color: #f0f4e8;
}

/* 3. Multicam / песчано-зелёный градиент */
.btn-military-3 {
    background: linear-gradient(135deg, #6b8e23 0%, #556b2f 50%, #4b5320 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
}

.btn-military-3:hover {
    background: linear-gradient(135deg, #7a9f32 0%, #66803a 50%, #5a6528 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    color: white;
}

/* 4. Ranger Green (очень тёмный, почти чёрно-зелёный) */
.btn-military-4 {
    background: #2F4F4F;
    color: #d0e0d0;
    border: 1px solid #3a6a6a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
}

.btn-military-4:hover {
    background: #3a5f5f;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    color: #d0e0d0;
}

/* 5. Woodland Camo эффект (с паттерном) */
.btn-military-5 {
    background: #4a5d23 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="%234b5320"/><circle cx="20" cy="30" r="15" fill="%236b8e23" opacity="0.3"/><circle cx="70" cy="60" r="20" fill="%23556b2f" opacity="0.25"/><rect x="40" y="10" width="30" height="40" fill="%233d5a40" opacity="0.35"/></svg>') repeat;
    color: #f5f8e8;
    border: 1px solid #6b8e23;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
    background-blend-mode: overlay;
}

.btn-military-5:hover {
    background-color: #556b2f;
    background-blend-mode: multiply;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    color: #f5f8e8;
}

/* Иконки для кнопок */
.btn-military-1 i,
.btn-military-2 i,
.btn-military-3 i,
.btn-military-4 i,
.btn-military-5 i {
    font-size: 1.3rem;
}

/* Для мобилок */
@media (max-width: 768px) {
    .btn-military-1,
    .btn-military-2,
    .btn-military-3,
    .btn-military-4,
    .btn-military-5 {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Военная камуфляжная кнопка для слайдера */
.btn-military-camo {
    background: linear-gradient(to bottom, #1a2f1a, #0f1a0f);
    background-image: repeating-linear-gradient(45deg, #1a2f1a 0, #1a2f1a 10px, #0f1a0f 10px, #0f1a0f 20px);
    color: #ffeb3b;
    text-shadow: 0 0 20px rgba(255,215,0,0.8);
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.btn-military-camo:hover {
    opacity: 0.9;
}

/* Пульсация для кнопок (кроме шапки) */
.btn-military-1,
.btn-military-2,
.btn-military-3,
.btn-military-4,
.btn-military-5 {
    animation: buttonPulse 2s infinite ease-in-out;
    will-change: box-shadow, filter;
}

.btn-military-1:hover,
.btn-military-2:hover,
.btn-military-3:hover,
.btn-military-4:hover,
.btn-military-5:hover {
    animation-play-state: paused;
}

@keyframes buttonPulse {
    0% {
        filter: brightness(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
    50% {
        filter: brightness(1.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }
    100% {
        filter: brightness(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
}

/* Неоновый цифровой камуфляж стиль */
.style-6 {
    background: #0d1b2a;
    color: #fff176;
    border: 2px solid #ffeb3b;
    box-shadow: 0 0 20px rgba(255,235,59,0.4);
    font-family: 'Courier New', monospace;
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.style-6:hover {
    box-shadow: 0 0 40px rgba(255,235,59,0.7);
    background: #112233;
    transform: translateY(-2px);
}

/* Текст над кнопками */
.button-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.4;
    font-weight: 400;
}

/* Шапка на обычном месте */
.top-nav {
    top: 0;
}

body {
    padding-top: var(--top-nav-height);
}

/* Только на мобилках: бегущая строка фиксируется под шапкой и "ездит" вместе с ней */
@media (max-width: 768px) {
  body {
    padding-top: calc(var(--top-nav-height-mobile) + var(--ticker-height)) !important;
  }

  .ticker-section {
    position: fixed !important;
    top: var(--top-nav-height-mobile) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: var(--ticker-height) !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    z-index: 1999 !important; /* под top-nav (2000) */
  }

  /* Мобильное меню открываем под шапкой + бегущей строкой */
  .mobile-menu {
    top: calc(var(--top-nav-height-mobile) + var(--ticker-height)) !important;
    max-height: calc(100vh - (var(--top-nav-height-mobile) + var(--ticker-height))) !important;
  }
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-section {
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.ticker-section:hover {
  opacity: 0.95;
}

.ticker-wrapper {
  user-select: none;
  -webkit-user-select: none;
}

.ticker-text {
  display: inline-block;
  padding-right: 50px;
  user-select: none;
  -webkit-user-select: none;
}

/* Чёрный + жёлтая пыль Африки стиль */
.btn-africa-dust {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 52px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.35s ease;
    background: #111;
    color: #ffeb3b;
    border: 2px solid #ffeb3b;
    box-shadow: 0 0 20px rgba(255,235,59,0.3);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    white-space: nowrap;
}

.btn-africa-dust:hover {
    box-shadow: 0 0 40px rgba(255,235,59,0.6);
    transform: translateY(-4px);
    background: #1a1a1a;
}

.btn-africa-dust i {
    font-size: 1.7rem;
}

/* Камуфляжный градиент стиль */
.btn-camo-gradient {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #4b5320, #8d6e63, #556b2f);
    color: white;
    border: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.7);
    text-shadow: 1px 1px 3px #000;
    white-space: nowrap;
}

.btn-camo-gradient:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 50px rgba(0,0,0,0.9);
    background: linear-gradient(135deg, #556b2f, #a1887f, #66803a);
}

.btn-camo-gradient i {
    font-size: 1.3rem;
}

/* БПЛА — тёмно-синий техно-градиент */
.btn-bpla-tech {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77);
    color: white;
    border: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.7);
    text-shadow: 1px 1px 3px #000;
    white-space: nowrap;
}

.btn-bpla-tech:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #1b263b, #415a77, #778da9);
    box-shadow: 0 14px 50px rgba(65,90,119,0.6);
}

.btn-bpla-tech i {
    font-size: 1.3rem;
}

/* Африка — песчано-оранжевый/коричневый градиент */
.btn-africa-sand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #3e2723, #5d4037, #8d6e63);
    color: white;
    border: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.7);
    text-shadow: 1px 1px 3px #000;
    white-space: nowrap;
}

.btn-africa-sand:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #5d4037, #8d6e63, #a1887f);
    box-shadow: 0 14px 50px rgba(141,110,99,0.6);
}

.btn-africa-sand i {
    font-size: 1.3rem;
}