/* ============ ПРОЦЕСС ШАГИ ============ */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 240px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 3px solid #4299e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.step h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.step p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============ ПОЛНОЕ СОПРОВОЖДЕНИЕ КАНДИДАТА ============ */
.accompaniment-section {
  margin: 60px auto 30px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

/* Фиксированная ширина для всех блоков с плашками - как у FAQ (900px) */
.compact-services-list {
  background: white;
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
  max-width: 900px !important;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.accompaniment-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 15px;
}

.accompaniment-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-red));
  border-radius: 2px;
}

/* Простой список сопровождения - стили уже определены выше с max-width: 900px */

.compact-service-item {
  display: flex;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--light-gray);
}

.compact-service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.compact-service-item:first-child {
  padding-top: 0;
}

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

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

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


/* ============ КОМПАКТНЫЙ СЛАЙДЕР ВАКАНСИЙ В СТИЛЕ ПЛАШЕК ============ */
.vacancies-slider-container {
  margin: 40px 0 20px;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===== Шаблонный слайдер вакансий (предпоследнее изменение) ===== */
#vacancies-section .vacanciesTemplateSlider {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  outline: none;
}

/* На главной скрываем старый Swiper-блок, чтобы он не мешал */
#vacancies-section .vacanciesSwiper {
  display: none !important;
}

#vacancies-section .vacanciesTemplateSlider .slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

#vacancies-section .vacanciesTemplateSlider .slider {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

#vacancies-section .vacanciesTemplateSlider .slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

#vacancies-section .vacanciesTemplateSlider .slide:hover .slide-content {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

#vacancies-section .vacanciesTemplateSlider .slide-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

#vacancies-section .vacanciesTemplateSlider .slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: rgba(44, 85, 48, 0.95);
  padding: 20px 25px;
  color: white;
  transition: all 0.3s ease;
}

#vacancies-section .vacanciesTemplateSlider .slide-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1.2;
}

#vacancies-section .vacanciesTemplateSlider .slide-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0.9;
}

#vacancies-section .vacanciesTemplateSlider .slide-description {
  font-size: 1rem;
  line-height: 1.5;
  /* третий текст "есть, но не видно" — сливается с фоном */
  color: rgba(44, 85, 48, 0);
  opacity: 1;
  max-height: 60px;
  overflow: hidden;
}

#vacancies-section .vacanciesTemplateSlider .slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  gap: 14px;
  flex-wrap: wrap;
}

#vacancies-section .vacanciesTemplateSlider .slider-btn {
  background-color: #2c5530;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#vacancies-section .vacanciesTemplateSlider .slider-btn:hover {
  background-color: #3e7445;
  transform: scale(1.05);
}

#vacancies-section .vacanciesTemplateSlider .slider-btn:focus-visible {
  outline: 3px solid rgba(66, 153, 225, 0.85);
  outline-offset: 2px;
}

#vacancies-section .vacanciesTemplateSlider .dots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

#vacancies-section .vacanciesTemplateSlider .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #c5d9c9;
  cursor: pointer;
  transition: all 0.3s ease;
}

#vacancies-section .vacanciesTemplateSlider .dot.active {
  background-color: #2c5530;
  transform: scale(1.2);
}

#vacancies-section .vacanciesTemplateSlider .counter {
  color: #2c5530;
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 84px;
  text-align: center;
}

/* Мобилка: убираем точки и счётчик — оставляем только стрелки */
@media (max-width: 767px) {
  #vacancies-section .vacanciesTemplateSlider .dots,
  #vacancies-section .vacanciesTemplateSlider .counter {
    display: none;
  }
}

/* Адаптивность (как в шаблоне) */
@media (min-width: 768px) {
  #vacancies-section .vacanciesTemplateSlider .slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 992px) {
  #vacancies-section .vacanciesTemplateSlider .slide {
    flex: 0 0 33.333%;
  }
  #vacancies-section .vacanciesTemplateSlider .slide-content {
    padding: 25px 30px;
  }
}

@media (max-width: 576px) {
  #vacancies-section .vacanciesTemplateSlider .slide-image {
    height: 400px;
  }
  #vacancies-section .vacanciesTemplateSlider .slide-content {
    padding: 15px;
    height: 35%;
  }
  #vacancies-section .vacanciesTemplateSlider .slide-title {
    font-size: 1.35rem;
  }
  #vacancies-section .vacanciesTemplateSlider .slide-subtitle {
    font-size: 1.1rem;
  }
  #vacancies-section .vacanciesTemplateSlider .slide-description {
    font-size: 0.95rem;
    max-height: 50px;
  }
  #vacancies-section .vacanciesTemplateSlider .slider-btn {
    width: 45px;
    height: 45px;
  }
}

/* ===== Слайдер отзывов (футер) — отдельно от вакансий, без текста, формат как у айфона ===== */
#reviews-section .reviewsTemplateSlider {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  outline: none;
}

#reviews-section .reviews-slider-container-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: #f5f5f5;
}

#reviews-section .reviews-slider {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

#reviews-section .reviews-slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

/* Квадрат 1:1, адаптивный по ширине контейнера */
#reviews-section .reviews-slide-inner {
  width: 100%;
  max-width: min(280px, 50vw);
  aspect-ratio: 1 / 1;
  background: #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#reviews-section .reviews-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#reviews-section .reviews-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  gap: 14px;
  flex-wrap: wrap;
}

#reviews-section .reviews-slider-btn {
  background-color: var(--primary, #2c5530);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#reviews-section .reviews-slider-btn:hover {
  background-color: #3e7445;
  transform: scale(1.05);
}

#reviews-section .reviews-counter {
  color: var(--primary, #2c5530);
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 84px;
  text-align: center;
}

#reviews-section .reviews-dots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

#reviews-section .reviews-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #c5d9c9;
  cursor: pointer;
  transition: all 0.3s ease;
}

#reviews-section .reviews-dot.active {
  background-color: var(--primary, #2c5530);
  transform: scale(1.2);
}

@media (min-width: 768px) {
  #reviews-section .reviews-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 992px) {
  #reviews-section .reviews-slide {
    flex: 0 0 33.333%;
  }
}

@media (max-width: 767px) {
  #reviews-section .reviews-dots,
  #reviews-section .reviews-counter {
    display: none;
  }
  #reviews-section .reviews-slide-inner {
    max-width: 220px;
  }
}

.vacanciesSwiper {
  padding: 10px 0 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Слайд в стиле плашек из шапки */
.swiper-slide-link {
  text-decoration: none;
  display: block;
  color: inherit;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.swiper-slide {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease, height 0.3s ease;
  position: relative;
  cursor: pointer;
  background: white;
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Плавная анимация слайдера */
.swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1) !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.swiper-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-color: var(--primary-light);
}

/* Изображение - занимает всю высоту слайда */
.vacancy-img-container {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.vacancy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(1);
  max-width: 100%;
  box-sizing: border-box;
}

.swiper-slide:hover .vacancy-img {
  transform: scale(1.05);
}

/* Текстовая часть overlay - абсолютно позиционирована поверх изображения */
.vacancy-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to bottom, transparent 0%, rgba(26, 47, 26, 0.7) 30%, rgba(26, 47, 26, 0.95) 60%, #1a2f1a 100%);
  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);
  z-index: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Заголовок вакансии в стиле military */
.vacancy-title {
  font-size: 1.1em;
  font-weight: 700;
  color: #f0f4e8;
  margin-bottom: 5px;
  line-height: 1.2;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  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;
}

/* Зарплата в стиле military */
.vacancy-salary {
  font-size: 1.1em;
  color: #FFD700;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

/* Описание в стиле military */
.vacancy-desc {
  font-size: 0.85em;
  line-height: 1.35;
  margin-bottom: 8px;
  color: rgba(240, 244, 232, 0.9);
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  flex-grow: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

/* Особенности в стиле military */
.vacancy-features {
  font-size: 1.05rem;
  color: #90EE90;
  font-weight: 600;
  padding-top: 0;
  margin-top: auto;
  border-top: none;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  text-align: right;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

/* Иконка-изображение как у плашек */
.vacancy-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  max-width: 42px;
  box-sizing: border-box;
}

.vacancy-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  max-width: 100%;
  box-sizing: border-box;
}

/* ============ ПОЛНАЯ ПЕРЕРАБОТКА ДЛЯ МОБИЛЬНЫХ ============ */
@media (max-width: 768px) {
  /* Контейнер слайдера - убираем все отступы */
  #vacancies-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .vacancies-slider-container {
    margin: 30px 0 15px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .vacanciesSwiper {
    padding: 0 0 50px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Кнопка под слайдером - исправляем обрезанную тень */
  .vacancies-slider-container > div:last-child {
    margin-top: 20px !important;
    margin-bottom: 30px !important;
    padding-bottom: 20px !important;
  }
  
  .vacancies-slider-container .btn-camo-gradient {
    box-shadow: 0 6px 24px rgba(0,0,0,0.7) !important;
    margin-bottom: 0 !important;
  }

  .vacanciesSwiper .swiper-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: stretch !important;
    /* Настройки для правильной работы touch */
    will-change: transform !important;
    /* важно: вертикальный скролл страницы не должен блокироваться */
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Улучшаем touch-события для слайдера */
  .vacanciesSwiper {
    /* горизонтальный свайп работает, а вертикальный скролл страницы — свободный */
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }
  
  .vacanciesSwiper .swiper-slide {
    touch-action: pan-y !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }

  /* Слайд вакансии - точно 100% ширины экрана */
  .vacanciesSwiper .swiper-slide {
    min-height: 340px !important;
    height: 340px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    position: relative !important;
    display: block !important; /* чтобы <a class="swiper-slide"> тоже работало */
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
  }
  
  .vacanciesSwiper .swiper-slide > a {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .swiper-slide-link {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  /* Контейнер изображения */
  .vacanciesSwiper .vacancy-img-container {
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
  }

  .vacanciesSwiper .vacancy-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  /* Overlay с текстом */
  .vacancy-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 12px 14px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    min-height: 45% !important;
  }
  
  /* Текст внутри overlay */
  .vacancy-title {
    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;
  }
  
  .vacancy-salary {
    font-size: 1em !important;
    line-height: 1.2 !important;
    margin-bottom: 5px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }
  
  .vacancy-desc {
    font-size: 0.8em !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .vacancy-features {
    font-size: 0.75em !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    text-align: right !important;
  }
  
  /* Иконка */
  .vacancy-icon {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    top: 12px !important;
    right: 12px !important;
    box-sizing: border-box !important;
  }

  .vacancy-icon img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .vacancies-slider-container {
    margin: 25px 0 10px !important;
    padding: 0 8px !important;
  }

  .swiper-slide {
    min-height: 300px !important;
    height: 300px !important;
    width: 90% !important;
    max-width: 90% !important;
    margin: 0 3px !important;
  }

  .vacancy-overlay {
    padding: 10px 12px 12px !important;
    min-height: 50% !important;
  }
  
  .vacancy-title {
    font-size: 0.9em !important;
    margin-bottom: 3px !important;
  }
  
  .vacancy-salary {
    font-size: 0.95em !important;
    margin-bottom: 4px !important;
  }
  
  .vacancy-desc {
    font-size: 0.75em !important;
    line-height: 1.25 !important;
    margin-bottom: 5px !important;
  }
  
  .vacancy-features {
    font-size: 0.7em !important;
  }
  
  .vacancy-icon {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    top: 10px !important;
    right: 10px !important;
  }

  .vacancy-icon img {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Навигация слайдера */
.vacanciesSwiper .swiper-button-next,
.vacanciesSwiper .swiper-button-prev {
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--primary-dark);
  top: 50%;
  transform: translateY(-50%);
}

.vacanciesSwiper .swiper-button-next:after,
.vacanciesSwiper .swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.vacanciesSwiper .swiper-button-prev {
  left: 10px;
}

.vacanciesSwiper .swiper-button-next {
  right: 10px;
}

.vacanciesSwiper .swiper-pagination {
  bottom: 15px;
}

.vacanciesSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.vacanciesSwiper .swiper-pagination-bullet-active {
  background: var(--accent-red);
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .vacancy-overlay {
        height: 40% !important;
        padding: 12px 15px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .swiper-slide:hover .vacancy-overlay {
        height: 45% !important;
    }
    
    .vacancy-img {
        filter: brightness(0.7); /* Сильнее затемнение на мобилках */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .swiper-slide:hover .vacancy-img {
        filter: brightness(0.8);
    }
    
    .vacancy-title {
        font-size: 1.1em;
        margin-bottom: 2px;
        word-wrap: break-word;
        max-width: 100% !important;
    }
    
    .vacancy-salary {
        font-size: 1.15em;
        margin-bottom: 2px;
        word-wrap: break-word;
        max-width: 100% !important;
    }
    
    .vacancy-desc {
        font-size: 0.82em;
        line-height: 1.2;
        margin-bottom: 2px;
        min-height: 2em;
        word-wrap: break-word;
        max-width: 100% !important;
    }
    
    .vacancy-features {
        font-size: 0.78em;
        padding-top: 3px;
        word-wrap: break-word;
        max-width: 100% !important;
    }
}

/* Скрываем кнопку "Выбрать" если она есть */
.vacancy-btn {
  display: none !important;
}

/* Убираем самый нижний текст в карточках вакансий (например “Подписание контракта…”) */
.vacancy-features {
  display: none !important;
}

/* Анимация для наведения */
.swiper-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0.3) 0%, 
    rgba(0,0,0,0.1) 30%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
  will-change: opacity;
}

.swiper-slide:hover::after {
  opacity: 1;
}

/* Навигация слайдера */
.vacanciesSwiper .swiper-button-next,
.vacanciesSwiper .swiper-button-prev {
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--primary-dark);
  top: 50%;
  transform: translateY(-50%);
}

.vacanciesSwiper .swiper-button-next:after,
.vacanciesSwiper .swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.vacanciesSwiper .swiper-button-prev {
  left: 10px;
}

.vacanciesSwiper .swiper-button-next {
  right: 10px;
}

.vacanciesSwiper .swiper-pagination {
  bottom: 15px;
}

.vacanciesSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.vacanciesSwiper .swiper-pagination-bullet-active {
  background: var(--accent-red);
}

/* ============ БЛОК КОНТАКТОВ ============ */
#contacts-section {
  background: var(--section-bg-2);
  padding: 30px 0;
  position: relative;
}

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

.contacts-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 40px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: var(--text-dark);
  height: 180px;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  will-change: transform;
}

.contact-card-icon-bg {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 120px;
  opacity: 0.1;
  color: var(--primary);
  z-index: 1;
}

.contact-card-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.contact-card-info {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}

.contact-card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

/* Иконки для карточек */
.contact-card-1 .contact-card-icon-bg {
  content: "📞";
  font-size: 100px;
  opacity: 0.08;
}

.contact-card-2 .contact-card-icon-bg {
  content: "✈️";
  font-size: 100px;
  opacity: 0.08;
}

.contact-card-3 .contact-card-icon-bg {
  content: "💬";
  font-size: 100px;
  opacity: 0.08;
}

/* ============ FAQ ============ */
.faq-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--light-gray);
}

.faq-tab {
  padding: 14px 28px;
  font-size: 1.5rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.3s;
  position: relative;
}

.faq-tab.active {
  color: var(--primary-dark);
}

.faq-tab.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-red));
  border-radius: 2px;
}

.faq-tab:hover {
  color: var(--primary-dark);
}

.faq-content {
  display: none;
}

.faq-content.active {
  display: block;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.faq-question {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 300px;
}

.faq-icon {
  transition: transform 0.3s;
  color: var(--primary-light);
  font-size: 1.1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ============ ФОРМА ============ */
.form-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a365d 100%);
  color: white;
  text-align: center;
  padding: 40px 0 30px;
}

.form-section .section-title {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 10px;
  background: none;
  border-left: none;
  border-right: none;
  box-shadow: none;
  padding: 0 0 20px 0;
}

.form-section .section-subtitle {
  margin-bottom: 20px;
}

.form-section .section-title:after {
  background: linear-gradient(90deg, var(--primary-light), #e53e3e);
  bottom: 0;
}

.form-section .btn-cta,
.form-container .btn-cta {
  animation: buttonPulse 2s infinite ease-in-out;
  will-change: box-shadow, filter;
}

.form-section .btn-cta:hover,
.form-container .btn-cta:hover {
  animation-play-state: paused;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  border: 1px solid var(--light-gray);
}

.form-container h3 {
  color: var(--primary-dark);
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s;
  background: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row .form-group {
  margin-bottom: 0;
}

/* Стили для плейсхолдера */
.form-control::placeholder {
  color: #a0aec0;
  opacity: 0.8;
}

/* Стили для заполненного поля */
.form-control:not(:placeholder-shown) {
  border-color: var(--primary-light);
  background: #f7fafc;
}

.form-control:focus {
  border-color: var(--primary-light);
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

/* ============ МОДАЛЬНОЕ ОКНО ============ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex !important;
}

/* ============ МОДАЛЬНОЕ ОКНО В РЕЖИМЕ "ЧАТ" ============ */
.modal.chat-mode {
  /* Убираем затемнение и превращаем в "виджет" */
  background: transparent;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
  /* Не блокируем клики по странице, кликабельна только панель */
  pointer-events: none;
}

.modal.chat-mode .modal-content {
  pointer-events: auto;
  position: fixed;
  right: 18px;
  bottom: calc(18px + var(--chat-fab-size, 58px) + 12px);
  width: 360px;
  max-width: calc(100vw - 24px);
  margin: 0;
  border-radius: 18px;
  /* Анимация появления "как чат" */
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal.chat-mode.active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-content {
  background: #1a1f2e;
  padding: 40px;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid #3a4252;
  overflow: hidden;
}

/* Милитарный фон с камуфляжем */
.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, rgba(42, 46, 55, 0.9) 0%, rgba(31, 36, 45, 0.95) 100%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232a2e37' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  background: rgba(58, 66, 82, 0.7);
  border: none;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.3s;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close:hover {
  color: #ff6b6b;
  background: rgba(58, 66, 82, 1);
  transform: rotate(90deg);
}

.modal h3 {
  color: white;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.modal h3 span {
  display: block;
  font-size: 1.05rem;
  font-weight: 400;
  color: #d1d5db;
  margin-top: 14px;
  opacity: 0.9;
  line-height: 1.45;
}

.phone-input-container {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-direction: column !important; /* на ПК кнопка под полем */
  align-items: stretch;
}

.phone-input {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #3a4252;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.3s;
  background: rgba(31, 36, 45, 0.8);
  color: white;
  text-align: center;
  backdrop-filter: blur(10px);
}

.phone-input::placeholder {
  color: #9ca3af;
  opacity: 0.7;
}

.phone-input:focus {
  border-color: #ef4444;
  outline: none;
  background: rgba(31, 36, 45, 0.95);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Кнопка с постоянной пульсацией */
#modalSubmit {
  width: 100%;
  padding: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  animation: buttonPulse 2s infinite ease-in-out;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

#modalSubmit:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  animation-play-state: paused;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

#modalSubmit:active {
  transform: translateY(-1px);
}

@keyframes buttonPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
  }
}

.modal-footer-note {
  font-size: 0.85rem;
  text-align: center;
  color: #9ca3af;
  margin-top: 20px;
  line-height: 1.5;
  padding-top: 20px;
  border-top: 1px solid #3a4252;
}

/* Горизонтальная версия для десктопа */
@media (min-width: 768px) {
  .phone-input-container {
    flex-direction: row;
    align-items: center;
  }
  
  .phone-input {
    flex: 1;
    text-align: left;
    padding: 18px;
  }
  
  #modalSubmit {
    flex: 0 0 auto;
    width: auto;
    min-width: 200px;
    padding: 18px 30px;
  }
  
  .modal-content {
    max-width: 520px;
    padding: 40px 35px;
  }
}

/* Адаптивность */
@media (max-width: 767px) {
  .modal-content {
    padding: 30px;
    max-width: 90%;
  }
  
  .modal h3 {
    font-size: 1.6rem;
  }
  
  .modal h3 span {
    font-size: 1.2rem;
  }
  
  .phone-input {
    padding: 16px;
    font-size: 1rem;
  }
  
  #modalSubmit {
    padding: 18px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 25px 20px;
  }
  
  .modal h3 {
    font-size: 1.4rem;
  }
  
  .modal h3 span {
    font-size: 1.1rem;
  }
  
  .modal-close {
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    width: 28px;
    height: 28px;
  }
  
  #modalSubmit {
    animation: buttonPulseMobile 2s infinite ease-in-out;
  }
  
  @keyframes buttonPulseMobile {
    0% {
      transform: scale(1);
      box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    }
    50% {
      transform: scale(1.02);
      box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    }
  }
}

/* ============ ФУТЕР ============ */
footer {
  background: var(--primary-dark);
  color: white;
  padding: 40px 0 25px;
}

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

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.footer-logo-text {
  color: #cbd5e0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-links a {
  display: inline-block;
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-contacts-compact {
  display: flex;
  flex-direction: column;
}

.footer-contacts-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: white;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.contact-item-compact:hover {
  color: white;
}

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

.contact-item-compact.telegram:hover {
  color: #00a2ff;
}

.contact-item-compact.messenger {
  color: #25D366;
}

.contact-item-compact.messenger:hover {
  color: #1ebe5d;
}

/* Кнопки мессенджеров в футере - стиль плашек */
.footer-messenger-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: var(--primary-light) !important;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 25px;
}

.footer-copyright {
  color: #cbd5e0;
  font-size: 0.95rem;
  margin-bottom: 10px;
  max-width: 800px;
  line-height: 1.6;
}

.footer-disclaimer {
  color: #a0aec0;
  font-size: 0.85rem;
  max-width: 800px;
  line-height: 1.5;
}

/* Стиль для основного телефона в футере */
.phone-number-footer {
  display: block;
  text-align: center;
  font-size: 2.8rem !important;
  font-weight: 800 !important;
  color: white !important;
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.3s;
}

.phone-number-footer:hover {
  color: var(--primary-light) !important;
}

.contact-item-compact.messenger i {
  background: linear-gradient(135deg, #0066FF 0%, #8E2DE2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Стили для ссылок мессенджера в футере */
.footer-contacts-compact .telegram,
.footer-contacts-compact .messenger {
    color: white !important;
}

.footer-contacts-compact .telegram:hover,
.footer-contacts-compact .messenger:hover {
    color: #cbd5e0 !important;
}

/* ============ ДОПОЛНИТЕЛЬНАЯ АДАПТИВНОСТЬ ============ */
@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .contact-card-3 {
    grid-column: span 2;
    margin: 0 auto;
  }
  
  .contacts-title {
    font-size: 2.2rem;
  }
  
  .process-steps {
    gap: 20px;
  }
  
  .step {
    min-width: 200px;
  }
  
  .vacanciesSwiper .swiper-button-next,
  .vacanciesSwiper .swiper-button-prev {
    display: none;
  }
  
  .vacanciesSwiper {
    padding: 10px 0 40px;
  }
  
  .swiper-slide {
    min-height: 300px;
    height: auto;
  }
  
  .vacancy-overlay {
    padding-top: 105px;
  }
  
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .faq-tabs {
    flex-direction: column;
    border: none;
  }
  
  .faq-tab {
    text-align: center;
    border: 1px solid var(--light-gray);
    margin-bottom: 8px;
    border-radius: 8px;
    background: white;
  }
  
  .faq-tab.active {
    border-color: var(--primary-light);
  }
  
  .faq-tab.active:after {
    display: none;
  }
  
  .compact-services-list {
    padding: 15px 18px;
  }
  
  .compact-service-item {
    padding: 15px 0;
  }
  
  .compact-service-icon {
    margin-right: 12px;
    font-size: 1.2rem;
    min-width: 28px;
  }
  
  .compact-service-content h4 {
    font-size: 1rem;
  }
  
  .compact-service-content p {
    font-size: 0.9rem;
  }
  
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .step {
    max-width: 100%;
    margin-bottom: 0;
  }
  
  .modal-content {
    padding: 30px 20px;
    width: 95%;
  }
  
  .phone-input-container {
    flex-direction: column;
  }
  
  .phone-number-footer {
    font-size: 2rem !important;
  }
  
  .swiper-slide {
    min-height: 290px;
    height: auto;
  }
  
  .vacancy-overlay {
    padding-top: 110px;
  }
  
  #contacts-section {
    padding: 20px 0;
  }
  
  .contacts-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .contacts-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 20px;
  }
  
  .contact-card-3 {
    grid-column: span 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .contact-card {
    height: auto;
    min-height: 150px;
    padding: 25px;
  }

  .contact-card-title {
    font-size: 1.6rem;
  }

  .contact-card-info {
    font-size: 1.1rem;
  }

  .contact-card-icon-bg {
    font-size: 80px;
  }

  .contact-card-desc {
    font-size: 0.9rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-logo {
    align-items: center;
    text-align: center;
  }
  
  .footer-nav, .footer-contacts-compact {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .phone-number-footer {
    font-size: 1.8rem !important;
  }
  
  .swiper-slide {
    min-height: 270px;
    height: auto;
  }
  
  .vacancy-img-container {
    height: 130px;
    min-height: 130px;
  }
  
  .vacancy-content {
    min-height: 140px;
    height: auto;
    padding: 10px 12px;
  }
  
  .vacancy-overlay {
    padding-top: 100px;
  }
  
  .vacancy-title {
    font-size: 0.95em;
  }
  
  .vacancy-salary {
    font-size: 1em;
  }
  
  .vacancy-desc {
    font-size: 0.78em;
    line-height: 1.25;
  }
  
  .vacancy-features {
    font-size: 0.72rem;
  }
  
  .contacts-title {
    font-size: 1.8rem;
  }
  
  .contact-card {
    height: auto;
    min-height: 140px;
    padding: 20px;
  }

  .contact-card-title {
    font-size: 1.4rem;
  }

  .contact-card-info {
    font-size: 1rem;
  }

  .contact-card-icon-bg {
    font-size: 80px;
  }

  .contact-card-desc {
    font-size: 0.9rem;
  }
  
  .contact-card-desc {
    font-size: 0.7rem;
  }
  
  .form-container {
    padding: 20px 15px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .form-row .form-group {
    margin-bottom: 0;
  }
  
  .form-section .section-title {
    font-size: 1.5rem;
  }
}

/* ============ CTA PULSE (GLOBAL) ============ */
.cta-pulse {
  animation: ctaPulseGlow 2s infinite ease-in-out;
  will-change: box-shadow, filter;
}

.cta-pulse:hover {
  animation-play-state: paused;
}

@keyframes ctaPulseGlow {
  0% {
    filter: brightness(1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.22);
  }
  50% {
    filter: brightness(1.08);
    box-shadow: 0 10px 36px rgba(220, 38, 38, 0.42);
  }
  100% {
    filter: brightness(1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.22);
  }
}

/* ============ НАШЕ ПРЕИМУЩЕСТВО ============ */
.advantage-block {
  max-width: 1000px;
  margin: 30px auto 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  overflow: hidden;
}

.advantage-content {
  display: flex;
}

.advantage-column {
  flex: 1;
  padding: 25px;
}

.advantage-left {
  background: #fffafa;
  border-right: 1px solid #eaeaea;
}

.advantage-right {
  background: #f8fff8;
}

.advantage-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
}

.advantage-left .advantage-title {
  color: #c62828;
  border-bottom-color: #ffcdd2;
}

.advantage-right .advantage-title {
  color: #1a5f1a;
  border-bottom-color: #c8e6c9;
}

.advantage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.advantage-item.negative {
  color: #555;
}

.advantage-item.positive {
  color: #333;
}

.advantage-icon {
  margin-right: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.advantage-warning {
  background: #ffebee;
  border-left: 4px solid #d32f2f;
  padding: 12px 15px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #b71c1c;
  border-radius: 0 6px 6px 0;
  text-align: center;
}

.advantage-cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #c8e6c9;
}

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

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

.advantage-cta .btn-cta .btn-text-mobile {
  display: none !important;
}

.advantage-cta .btn-cta .btn-text-desktop {
  display: inline !important;
}

@media (max-width: 768px) {
  .advantage-cta .btn-cta .btn-text-mobile {
    display: inline !important;
  }
  .advantage-cta .btn-cta .btn-text-desktop {
    display: none !important;
  }
}

.advantage-note {
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

@media (max-width: 768px) {
  .advantage-content {
    flex-direction: column;
  }
  
  .advantage-left {
    border-right: none;
    border-bottom: 1px solid #eaeaea;
  }
  
  .advantage-column {
    padding: 20px;
  }
  
  .advantage-title {
    font-size: 1rem;
  }
  
  .advantage-item {
    font-size: 0.9rem;
  }
}

/* ============ СЛАЙДЕР ОТЗЫВОВ ============ */
.reviews-slider-container {
  margin-top: 30px;
  padding-bottom: 20px;
}

.reviewsSwiper {
  width: 100%;
  padding-bottom: 10px;
}

.reviewsSwiper .swiper-slide {
  width: 300px;
  height: auto;
}

.review-slide {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  background: white;
}

.review-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .reviewsSwiper .swiper-slide {
    width: 260px;
  }
  
  .review-slide img {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .reviewsSwiper .swiper-slide {
    width: 220px;
  }
  
  .review-slide img {
    height: 200px;
  }
}

/* ============ БЛОК ДОПОЛНИТЕЛЬНЫХ ВОЗНАГРАЖДЕНИЙ ============ */
.rewards-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.rewards-inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.rewards-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.reward-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.reward-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-color: rgba(244, 214, 90, 0.3);
}

.special-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.special-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.special-item a:hover {
  color: #f4d65a !important;
}

/* Адаптивность для блока вознаграждений */
@media (max-width: 1200px) {
  .rewards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  .rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  
  .special-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .rewards-section {
    padding: 100px 20px 50px !important;
    min-height: auto !important;
    max-height: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background-attachment: scroll !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;
  }
  
  .rewards-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .rewards-title {
    font-size: 24px !important;
  }
  
  /* Мобильная версия - compact-services-list */
  .rewards-mobile-list .compact-services-list {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  
  .rewards-mobile-list .compact-service-item {
    background: rgba(13, 51, 37, 0.85) !important;
    border: 1px solid rgba(56, 161, 105, 0.3) !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
    padding: 15px !important;
  }
  
  .rewards-mobile-list .compact-service-icon {
    background: rgba(56, 161, 105, 0.25) !important;
    border: 1px solid rgba(56, 161, 105, 0.4) !important;
    color: #48bb78 !important;
  }
  
  .rewards-mobile-list .compact-service-content h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
  }
  
  .rewards-mobile-list .compact-service-content p {
    color: #e2e8f0 !important;
    margin: 0 !important;
  }
  
  /* На мобильных - стиль таблицы (вертикальный список) */
  .rewards-grid {
    display: block !important;
    grid-template-columns: none !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
  }
  
  .reward-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 15px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
  }
  
  .reward-card > div:first-child {
    display: block !important;
  }
  
  .reward-icon, .money-icon-square {
    display: flex !important;
    width: 45px !important;
    height: 45px !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
    border-radius: 10px !important;
  }
  
  .reward-amount {
    font-size: 18px !important;
    display: block !important;
    margin-bottom: 8px !important;
    width: 100% !important;
  }
  
  .reward-text {
    font-size: 13px !important;
    display: block !important;
    margin-bottom: 10px !important;
    width: 100% !important;
  }
  
  .reward-category {
    display: inline-block !important;
    font-size: 11px !important;
    margin-top: 0 !important;
    border-radius: 20px !important;
  }
  
  .special-section {
    padding: 25px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
  }
  
  .special-grid {
    display: block !important;
    grid-template-columns: none !important;
    gap: 12px !important;
  }
  
  .special-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 12px !important;
    margin-bottom: 0 !important;
    border-left: 4px solid #38a169 !important;
    border-radius: 10px !important;
  }
  
  .special-icon, .drone-icon, .africa-icon {
    display: flex !important;
    margin-right: 12px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
  }
  
  .special-text {
    display: block !important;
    font-size: 14px !important;
    flex: 1 !important;
    width: auto !important;
  }
  
  .special-text a:hover {
    color: #4299e1 !important;
  }
}

@media (max-width: 640px) {
  .rewards-section {
    padding: 80px 15px 40px !important;
    min-height: auto !important;
    border-radius: 0 !important;
    background-attachment: scroll !important;
  }
  
  .rewards-title {
    font-size: 20px !important;
  }
  
  .reward-card {
    padding: 12px !important;
    border-radius: 10px !important;
  }
  
  .reward-icon, .money-icon-square {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 10px !important;
  }
  
  .reward-icon i, .money-icon-square i {
    font-size: 20px !important;
  }
  
  .reward-amount {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }
  
  .reward-text {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  
  .reward-category {
    font-size: 10px !important;
    padding: 3px 10px !important;
  }
  
  .special-section {
    padding: 20px 12px !important;
    border-radius: 12px !important;
  }
  
  .special-item {
    padding: 10px !important;
    flex-direction: row !important;
  }
  
  .special-icon, .drone-icon, .africa-icon {
    width: 35px !important;
    height: 35px !important;
    margin-right: 10px !important;
  }
  
  .special-icon i, .drone-icon i, .africa-icon i {
    font-size: 18px !important;
  }
  
  .special-text {
    font-size: 13px !important;
  }
}
