/* ========================================
/* Базовые стили кнопок
/* ======================================== */

/* Базовый класс кнопки */
.btn,
button,
input[type='button'],
input[type='submit'] {
  /* Размер и отступы - соответствует рекомендациям WCAG */
  min-height: 44px;
  min-width: 44px;
  padding: 12px 24px;

  /* Типографика */
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;

  /* Скругление - современный минималистичный стиль */
  border-radius: 6px;

  /* Отображение */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;

  /* Переходы для плавных анимаций */
  transition:
    background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Улучшенный курсор */
  cursor: pointer;

  /* Убираем стандартные стили */
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Фокус для доступности */
.btn:focus-visible,
button:focus-visible,
input[type='button']:focus-visible,
input[type='submit']:focus-visible {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}

/* Основная кнопка - тёмно-синяя */
.btn-primary {
  background-color: #0f175d;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 93, 0.2);
}

.btn-primary:hover {
  background-color: #1a2a8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 93, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(15, 23, 93, 0.2);
}

/* Вторичная кнопка - фиолетовая */
.btn-secondary {
  background-color: #360f5d;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(54, 15, 93, 0.2);
}

.btn-secondary:hover {
  background-color: #4a1978;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(54, 15, 93, 0.3);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(54, 15, 93, 0.2);
}

/* Кнопка-ссылка */
.btn-link {
  background-color: transparent;
  color: #0f175d;
  padding: 8px 16px;
}

/* ========================================
/* FAQ Accordion styles
/* ======================================== */
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
}

.faq-answer[hidden] {
  display: none;
}

.btn-link:hover {
  color: #1a2a8f;
  background-color: rgba(15, 23, 93, 0.05);
}

/* Анимация пульсации для призыва к действию */
@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 23, 93, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(15, 23, 93, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 23, 93, 0);
  }
}

.btn-pulse {
  animation: btnPulse 2s infinite;
}

/* ========================================
/* Конец базовых стилей кнопок
/* ======================================== */

body {
  padding: 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4,
p {
  padding: 0;
  margin: 0;
}

h2 {
  font-weight: 500;
  font-size: 42px;
}

h3 {
  font-weight: 500;
  font-size: 26px;
}

p {
  font-weight: 400;
  font-size: 16px;
}
/* ========================================
/* Современная шапка сайта (Site Header)
/* ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Левая часть: логотип и название */
.header-brand {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.85;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f175d;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-subtitle {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #666666;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* Центральная часть: контакты */
.header-contacts {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #360f5d 0%, #350c5e 100%);
  border-radius: 10px;
  color: #ffffff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-phone {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #777777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone:hover {
  color: #1a2a8f;
}

.contact-phone-secondary {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  /* font-size: 13px; */
  font-weight: 500;
  color: #777777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone-secondary:hover {
  color: #0f175d;
}

/* Правая часть: мессенджеры и кнопка */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.messengers {
  display: flex;
  gap: 8px;
}

.messenger-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #f5f5f5;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px;
}

/* WhatsApp — оригинальный зелёный цвет */
.messenger-link.wa {
  color: #25d366;
}

/* Telegram — оригинальный синий цвет */
.messenger-link.tg {
  color: #26a5e4;
}

/* Анимация для WhatsApp */
.messenger-link.wa:hover {
  background-color: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Анимация для Telegram */
.messenger-link.tg:hover {
  background-color: #26a5e4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 165, 228, 0.3);
}

/* Max — градиент от синего к фиолетовому */
.messenger-link.max {
  color: #0077ff;
}

.messenger-link.max svg {
  width: 20px;
  height: 20px;
}

.messenger-link.max:hover {
  background: linear-gradient(135deg, #0077ff 0%, #aa00ff 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 255, 0.3);
}

/* Кнопка "Позвоните нам" */
.callback-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #0f175d 0%, #1a2a8f 100%);
  border-radius: 10px;
  text-decoration: none;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.callback-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.callback-btn:hover::before {
  left: 100%;
}

.callback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 93, 0.4);
}

.callback-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 23, 93, 0.3);
}

.callback-btn:focus {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

.callback-btn:hover .btn-icon {
  animation: phoneRing 0.6s ease-in-out;
}

@keyframes phoneRing {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-15deg);
  }
  60% {
    transform: rotate(10deg);
  }
  80% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.btn-text {
  white-space: nowrap;
}

/* Кнопка бургера */
.menu-toggle {
  display: none;
}

/* Адаптивные стили для планшетов */
@media (max-width: 1024px) {
  .header-contacts {
    display: none;
  }
}

/* Мобильный текст в шапке */
.mobile-header-text {
  display: none;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
  /* Фиксация верхнего меню на мобильных устройствах */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    min-height: 60px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    transition:
      box-shadow 0.3s ease,
      opacity 0.4s ease,
      transform 0.3s ease;
    opacity: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    /* Принудительная фиксация */
    transform: none !important;
  }

  .site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  /* Отступ от верхнего края экрана с учётом высоты фиксированного меню */
  body {
    padding-top: 60px !important;
  }

  main {
    padding-top: 60px;
  }

  .section:first-of-type {
    margin-top: 60px;
  }

  .section.section1 {
    padding-top: 20px;
    margin-top: 0;
  }

  .header-container {
    padding: 12px 16px;
    gap: 12px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    display: none;
  }

  /* Показываем мобильный текст */
  .mobile-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-header-title {
    font-family:
      'Inter',
      -apple-system,
      BlinkMacSystemFont,
      'Segoe UI',
      Roboto,
      sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0f175d;
    letter-spacing: 0.3px;
    line-height: 1.2;
  }

  .mobile-header-subtitle {
    font-family:
      'Inter',
      -apple-system,
      BlinkMacSystemFont,
      'Segoe UI',
      Roboto,
      sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #666666;
    letter-spacing: 0.3px;
    line-height: 1.2;
  }

  .header-actions {
    gap: 8px;
  }

  .messengers {
    display: none;
  }

  .callback-btn {
    padding: 8px;
  }

  .callback-btn .btn-text {
    display: none;
  }

  .callback-btn {
    width: 36px;
    height: 36px;
    padding: 8px;
    justify-content: center;
  }

  .btn-icon {
    margin: 0;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle:hover {
    background-color: rgba(15, 23, 93, 0.08);
  }

  .menu-toggle:focus {
    outline: 2px solid #0f175d;
    outline-offset: 2px;
  }

  .burger-icon {
    position: relative;
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0f175d;
    border-radius: 2px;
    transition:
      transform 0.3s ease-out,
      opacity 0.3s ease-out,
      background-color 0.2s ease;
    will-change: transform, opacity;
  }

  .menu-toggle.active .burger-line-1 {
    transform: translate3d(0, 8px, 0) rotate(45deg);
  }

  .menu-toggle.active .burger-line-2 {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle.active .burger-line-3 {
    transform: translate3d(0, -8px, 0) rotate(-45deg);
  }
}

/* Адаптив для очень маленьких экранов */
@media (max-width: 480px) {
  .header-container {
    padding: 10px 12px;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .callback-btn,
  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  /* Корректировка высоты меню для маленьких экранов */
  .site-header {
    min-height: 56px;
  }

  body {
    padding-top: 56px;
  }

  main {
    padding-top: 56px;
  }

  .section:first-of-type {
    margin-top: 0px;
  }
}

/* --------------------------------------- */
/* --------------------------------------- */
/* --------------------------------------- */
.burger-checkbox {
  position: absolute;
  visibility: hidden;
}
.burger {
  position: relative;
  z-index: 1;
  cursor: pointer;
  display: block;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
  z-index: 20;
}
.burger::before,
.burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #000;
}
.burger::before {
  top: 0;
  box-shadow: 0 11px 0 #000;
  transition:
    box-shadow 0.3s 0.15s,
    top 0.3s 0.15s,
    transform 0.3s;
}
.burger::after {
  bottom: 0;
  transition:
    bottom 0.3s 0.15s,
    transform 0.3s;
}
.burger-checkbox:checked + .burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
  transition:
    box-shadow 0.15s,
    top 0.3s,
    transform 0.3s 0.15s;
}
.burger-checkbox:checked + .burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition:
    bottom 0.3s,
    transform 0.3s 0.15s;
}
.menu-list {
  top: 0;
  left: 0;
  position: absolute;
  display: grid;
  gap: 12px;
  padding: 42px 0;
  margin: 0;
  background: #f5f5f5;
  list-style-type: none;
  transform: translateY(-100%);
  transition: 0.3s;
  width: 100%;
  z-index: 10;
}
.menu-item {
  display: block;
  padding: 8px;
  color: rgb(48, 48, 48);
  font-size: 18px;
  text-align: center;
  text-decoration: none;
}
.menu-item:hover {
  background: rgba(255, 255, 255, 0.2);
}
.burger-checkbox:checked ~ .menu-list {
  transform: translateX(0);
}

/* main */
.section {
  max-width: 1000px;
  margin: 50px auto 50px;
}

.section1_cont {
  display: flex;
}

.section1_item_cont1 h1 {
  color: #232323;
  font-weight: 500;
  font-size: 42px;
}

.section1_item_cont1 p {
  color: #777777;
  font-weight: 500;
  font-size: 26px;
}
.section1_item_cont1 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section1_but {
  text-decoration: none;
  background-color: #0f175d;
  color: #ffffff;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 6px;
  width: auto;
  min-width: 260px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 400px;
}

/* Декоративная полоска сверху */
.section1_but::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a2a8f, #4a1978, #1a2a8f);
  background-size: 200% 100%;
  transition: background-position 0.5s ease;
}

.section1_but:hover {
  background-color: #1a2a8f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 93, 0.35);
}

.section1_but:hover::before {
  background-position: 100% 0;
}

.section1_but:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
}

.section1_but:focus {
  outline: 2px solid #0f175d;
  outline-offset: 3px;
}
/* ------------------------- */
.photo_img {
  font-weight: 700;
  font-size: 18px;
  width: 366px;
  height: 332px;
  border-radius: 12px;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position: 10% 40%; */
  background-position: center;
  position: relative;
  background-image: url(/images/photo3.jpg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* ========================================
/* Современный бейдж на фото
/* ======================================== */

.photo_text_cont {
  width: 100%;
  max-width: 180px;
  padding: 0;
  margin: 10px;
  box-sizing: border-box;
  /* Контейнер для анимации hover */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Внешний контейнер бейджа с градиентом и тенью */
.photo_text {
  /* Градиентный фон - современная цветовая схема */
  background: #77777761;
  background-size: 200% 200%;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow:
    0 4px 20px rgba(15, 23, 93, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  max-width: 100%;
  box-sizing: border-box;
  /* Flexbox для вертикального выравнивания двух строк */
  display: flex;
  flex-direction: column;
  gap: 6px;
  /* Плавный переход для всех анимируемых свойств */
  transition:
    background-position 0.5s ease,
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Позиционирование для корректного отображения */
  position: relative;
  overflow: hidden;
}

/* Декоративная подсветка сверху */
.photo_text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Анимация при наведении на контейнер бейджа */
.photo_text_cont:hover .photo_text {
  /* Сдвиг градиента */
  background-position: 100% 0;
  /* Усиленная тень */
  box-shadow:
    0 8px 30px rgba(15, 23, 93, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  /* Легкое всплытие */
  transform: translateY(-2px);
}

/* Появление подсветки при наведении */
.photo_text_cont:hover .photo_text::before {
  opacity: 1;
}

/* Стиль для ФИО */
.photo_text_name {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  /* Мягкая тень текста для лучшей читаемости */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Стиль для должности */
.photo_text_position {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-weight: bolder;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  display: block;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Убираем старые стили для параграфа (резервный вариант) */
.photo_text p {
  display: none;
}

/* Адаптивность для планшетов */
@media (max-width: 1010px) {
  .photo_img {
    width: 100%;
    max-width: 450px;
    height: 350px;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 500px) {
  .photo_img {
    width: 100%;
    max-width: 100%;
    height: 300px;
    border-radius: 8px;
  }

  .photo_text_cont {
    padding: 0;
    max-width: 260px;
    /* Уменьшаем анимацию на мобильных для производительности */
    transition: transform 0.2s ease;
  }

  .photo_text {
    padding: 14px 18px;
    border-radius: 10px;
    max-width: 180px;
    gap: 4px;
    /* Упрощенная анимация для мобильных */
    transition:
      background-position 0.4s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  .photo_text_cont:hover .photo_text {
    box-shadow:
      0 6px 20px rgba(15, 23, 93, 0.35),
      0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
  }

  .photo_text_name {
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
  }

  .photo_text_position {
    font-size: 11px;
  }
}

.section1_cont2_item {
  background-color: #f5f5f5;
  padding: 15px;
  display: flex;
  width: 690px;
  height: 125px;
  border-radius: 10px;
}

.section1_cont2_item h3 {
  color: #232323;
}

.section1_item1 {
  width: 235px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #000000;
  padding: 0 10px 0 0;
}

.section1_item2 {
  width: 235px;
  display: flex;
  border-right: 1px solid #000000;
  padding: 0 10px 0 10px;
  flex-direction: column;
  justify-content: space-between;
}

.section1_item2 img {
  position: relative;
  bottom: 0px;
}

.section1_item3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 10px 0 10px;
}

.section1_cont2_item p {
  color: #77777761;
  font-size: 23px;
}
.section1_item1_img {
  display: flex;
  justify-content: end;
}

.advantages h3 {
  font-size: 23px;
}

.section1_cont2 {
  margin: 30px 0;
  display: flex;
  justify-content: end;
}

.section2_cont h2 {
  color: #232323;
}

.section2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section2_cont {
  display: flex;
  width: 100%;
  /* grid-template-columns: 366px 1fr; */
}

.section2_cont_item_2 {
  padding: 20px 20px 20px 50px;
  border-radius: 5px;
  background-color: #f4f4f4;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section2_cont_item_1 img {
  width: 360px;
  border-radius: 10px;
}

.section2__item_2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section2__item_2 p {
  color: #777777;
  line-height: 23px;
}

.section3 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section3_cont_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
}

.section3 h2 {
  padding: 0 0 40px;
}

.section3_item_but {
  background-color: #0f175d;
  text-align: center;
  padding: 14px 24px;
  color: #ffffff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(15, 23, 93, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
}

.section3_item_but:hover {
  background-color: #1a2a8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 93, 0.3);
  color: #ffffff;
  text-decoration: none;
}

.section3_item_but:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(15, 23, 93, 0.2);
}

.section3_item_but:focus {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}

.section3_grid_item {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: space-between;
}

.section3_grid_item_cont {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section3_grid_item p {
  color: #777777;
}

.section3_item_img {
  max-width: 100%;
  height: 100px;
}
/* ------ */

[class^='section3_img'] {
  border-radius: 5px;
  background: no-repeat 50% 40% / cover;
  position: relative;
}

.section3_img1 {
  background-image: url(/img/grid/Rectangle15.svg);
}
.section3_img2 {
  background-image: url(/img/grid/Rectangle17.svg);
}
.section3_img4 {
  background-image: url(/img/grid/Rectangle19.svg);
}
.section3_img5 {
  background-image: url(/img/grid/Rectangle29.svg);
}
.section3_img6 {
  background-image: url(/img/grid/Rectangle24.svg);
}
.section3_img7 {
  background-image: url(/img/grid/Rectangle25.svg);
}
.section3_img8 {
  background-image: url(/img/grid/Rectangle23.svg);
}
.section3_img9 {
  background-image: url(/img/grid/Rectangle30.svg);
}
.section3_img10 {
  background-image: url(/img/grid/Rectangle31.svg);
}
.section3_img11 {
  background-image: url(/img/grid/Rectangle35.svg);
}
.section3_img12 {
  background-image: url(/img/grid/Rectangle36.svg);
}
.section3_img13 {
  background-image: url(/img/grid/Rectangle37.svg);
}
.section3_img14 {
  background-image: url(/img/grid/Rectangle44.svg);
}
.section3_img15 {
  background-image: url(/img/grid/Rectangle46.svg);
}
.section3_img16 {
  background-image: url(/img/grid/Rectangle60.svg);
}
.section3_img17 {
  background-image: url(/img/grid/Rectangle45.svg);
}
.section3_img18 {
  background-image: url(/img/grid/Rectangle47.svg);
}
.section3_img19 {
  background-image: url(/img/grid/Rectangle49.svg);
}
.section3_img20 {
  background-image: url(/img/grid/Rectangle56.svg);
}
.section3_img21 {
  background-image: url(/img/grid/Rectangle58.svg);
}
.section3_img22 {
  background-image: url(/img/grid/Rectangle48.svg);
}
.section3_img23 {
  background-image: url(/img/grid/Rectangle57.svg);
}
.section3_img24 {
  background-image: url(/img/grid/Rectangle59.svg);
}
.section3_img25 {
  background-image: url(/img/grid/Rectangle61.svg);
}
.section3_img26 {
  background-image: url(/img/grid/Rectangle68.svg);
}
.section3_img27 {
  background-image: url(/img/grid/Rectangle70.svg);
}
.section3_img28 {
  background-image: url(/img/grid/Rectangle72.svg);
}
.section3_img29 {
  background-image: url(/img/grid/Rectangle69.svg);
}
.section3_img30 {
  background-image: url(/img/grid/Rectangle71.svg);
}
.section3_img31 {
  background-image: url(/img/grid/Rectangle73.svg);
}

/* section4 */
.section4_flex {
  display: flex;
  gap: 10px;
}

.section4_over {
  padding: 20px;
  background: #f5f5f5;
  background: linear-gradient(
    90deg,
    rgba(245, 245, 245, 1) 0%,
    rgba(245, 245, 245, 1) 38%,
    rgba(245, 245, 245, 0.71) 58%
  );
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 96px;
  border-radius: 5px;
}
.section4_item1_img {
  /* width: 200px;
  height: 100px; */
  background-image: url(/img/s1.png);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 95px -76px;
  height: 135px;

  position: relative;
}

.section4_text1 p {
  color: #777777;
}

.section4_item2 {
  width: 465px;
}

.section4_item2 p {
  color: #ffffffe0;
}
.section4_item2 h3 {
  color: rgb(255, 255, 255);
}
.section4_item2_img {
  background-image: url(/img/s3.png);

  background-size: cover;
  background-repeat: no-repeat;
  background-position: 52px -76px;
  border-radius: 5px;

  position: relative;
}
.section4_over2 {
  padding: 20px;
  background: linear-gradient(
    90deg,
    rgb(54 15 93) 0%,
    rgb(54 15 93 / 90%) 39%,
    rgb(54 15 93 / 68%) 82%
  );
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section4_item3 p {
  color: #ffffffe0;
}
.section4_item3 h3 {
  color: rgb(255, 255, 255);
}

.section4_item3 {
  border-radius: 5px;
  padding: 20px;
  background-color: #360f5d;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section4_cont_text {
  display: flex;
  justify-content: space-between;
  padding: 0 0 30px 0;
}

.section4_cont_text p {
  font-size: 26px;
  width: 300px;
  color: #777777;
  font-weight: 400;
}

.section4_item1 p {
  color: #555555;
}

.section4_flex2 {
  margin: 20px 0 0;
  display: flex;
  gap: 10px;
}

.section4_item4 {
  width: 416px;
  height: 148px;
}

.section4_flex2 p {
  color: #777777;
}

.section4_over4 p {
  color: #ffffffe0;
}

.section4_flex2 h3 {
  color: rgb(255, 255, 255);
}
.section4_item4_img {
  background-image: url(/img/s4.png);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 52px -160px;
  border-radius: 5px;
  position: relative;
  height: 148px;
}

.section4_over4 {
  padding: 20px;
  background: linear-gradient(
    90deg,
    rgb(54 15 93) 0%,
    rgb(54 15 93 / 90%) 39%,
    rgb(54 15 93 / 68%) 82%
  );
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 107px;
}

.section4_item5 h3 {
  color: #232323;
}
.section4_item6 h3 {
  color: #232323;
}

.section4_item6,
.section4_item5 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.section4_item5 {
  padding: 20px;
}

.section4_item6 {
  width: 235px;
  padding: 20px;
}

/* section5 */

.section5 h2 {
  max-width: 800px;
}

.section5,
.section5_cont {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section5_cont_flex1 {
  display: flex;
  gap: 20px;
}

.section5_flex1_item1,
.section5_flex1_item2,
.section5_flex2_item2,
.section5_flex2_item1 {
  width: 490px;
}

.section5_over {
  padding: 20px;
  background: #f5f5f5;
  background: linear-gradient(
    90deg,
    rgba(245, 245, 245, 1) 0%,
    rgba(245, 245, 245, 1) 38%,
    rgba(245, 245, 245, 0.71) 58%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 204px;
  border-radius: 5px;
}

.section5_cont_flex1 h3 {
  color: #232323;
}
.section5_cont_flex1 p {
  width: 300px;
  color: #777777;
}

.section5_ite3_img {
  background-image: url(/img/img4.png);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 192px -50px;
  border-radius: 5px;
  position: relative;
}
.section5_ite4_img {
  background-image: url(/img/img5.png);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 192px -50px;
  border-radius: 5px;
  position: relative;
}

.section5_ite4_img p {
  max-width: 338px;
}

.section5_item1_img {
  background-image: url(/img/s6.png);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 148px -29px;
  border-radius: 5px;
  position: relative;
}

.section5_ite2_img {
  background-image: url(/img/img3.png);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 148px -60px;
  border-radius: 5px;
  position: relative;
}

/* section6 */
.section6 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section6_flex_cont1 {
  display: flex;
  gap: 20px;
}

.section6_item1_img {
  background-image: url(/img/MaskGroup2.svg);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position: 148px -60px; */
  border-radius: 5px;
  position: relative;
  height: 206px;
}

.section6_over_item1 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

.section6_over_item1 h3 {
  color: #232323;
}

.section6_item1_img p {
  width: 200px;
}

.section6 span {
  font-weight: 300;
  font-size: 42px;
  font-style: oblique;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(to bottom, #0000008c, #23232300);
}

.section6_cont1_item1 {
  width: 320px;
  background-color: #f5f5f5;
  border-radius: 5px;
}
/* ---------------------------- */
.section6_flex_cont2 {
  display: flex;
  margin: 20px 0 0;
  gap: 26px;
  color: #777777;
}

.section6_item1_img2 {
  background-image: url(/img/Rectangle79.svg);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position: 148px -60px; */
  border-radius: 5px;
  position: relative;
  height: 206px;
}

.section6_cont1_item2 {
  width: 405px;
  background-color: #f5f5f5;
  border-radius: 5px;
}
/* ---------------------- */
.section6_cont1_item3 {
  width: 263px;
}

.section6_item1_img3 {
  background-image: url(/img/Rectangle80.svg);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position: 148px -60px; */
  border-radius: 5px;
  position: relative;
  height: 206px;
}
/* ------------------------ */
.section6_cont1_item4 {
  width: 576px;
}
.section6_item1_img4 {
  background-image: url(/img/Rectangle81.svg);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 5px;
  position: relative;
  height: 206px;
}
.section6_cont1_item4 p {
  max-width: 360px;
}

/* ------------------------ */
.section6_item1_img5 {
  background-image: url(/img/s7.svg);
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 5px;
  position: relative;
  height: 206px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section6_cont1_item5 {
  width: 400px;
  background-color: #360f5d;
  border-radius: 5px;
}

.section6_text_cont {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section6_text_cont h3 {
  color: #f4f4f4;
}

.section6_text_cont p {
  width: 226px;
}

.section6_cont {
  background-color: #ffffff;
  width: 192px;
  padding: 10px 10px;
  border-radius: 5px;
  margin: 0 20px 20px;
  display: flex;
  justify-content: center;
}

.section6_cont a {
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: #ffffff;
  background-color: #0f175d;
  padding: 14px 24px;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(15, 23, 93, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.section6_cont a:hover {
  background-color: #1a2a8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 93, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.section6_cont a:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(15, 23, 93, 0.25);
}

.mail {
  filter: grayscale(100%) brightness(75%);
}

/* section6 */
.section6 p {
  color: #777777;
}

.section6_grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.section6_grid_item {
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  height: 252px;
}

.section6_cont_item {
  margin: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
}

.section6_cont_item p {
  margin: 20px 0;
}
.section6_cont_item h3 {
  margin: 15px 0 0;
}

.section6_img1 {
  background-image: url(/img/Mask1.svg);
}

/* .section6_img1 p {
} */

.section6_img2 {
  background-image: url(/img/image0.svg);
}
.section6_img3 {
  background-image: url(/img/image01.svg);
}
.section6_img4 {
  background-image: url(/img/image02.svg);
}

.section6_img1 h3 {
  max-width: 324px;
}

.section6_img2 h3 {
  max-width: 360px;
}

.section6_img3 h3 {
  max-width: 375px;
}

.section6_img4 h3 {
  max-width: 320px;
}

.section6_img1 p {
  max-width: 320px;
}

.section6_img2 p {
  max-width: 350px;
}

.section6_img3 p {
  max-width: 330px;
}

.section6_img4 p {
  max-width: 360px;
}

/* section7 */
.section7 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section7 h2 {
  max-width: 653px;
}

.section7_cont_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.section7_grid_item {
  height: 200px;
  width: 280px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.section7_grid_item p {
  color: #777777;
}

.section7_img1 {
  background-image: url(/img/image20.svg);
  background-position: 0 -86px;
}
.section7_img2 {
  background-image: url(/img/image21.svg);
}
.section7_img3 {
  background-image: url(/img/image22.svg);
}
.section7_img4 {
  background-image: url(/img/image23.svg);
}
.section7_img5 {
  background-image: url(/img/image24.svg);
  background-position: 0 -86px;
}
.section7_img6 {
  background-image: url(/img/image25.svg);
  background-position: 0 -60px;
}

/* section8 */
.section8_cont_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.section8 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section8 h2 {
  max-width: 580px;
}

.section8_cont_a a {
  margin: auto;
  background-color: #0f175d;
  max-width: 270px;
  padding: 16px 28px;
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.section8_cont_a a:hover {
  background-color: #1a2a8f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 93, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.section8_cont_a a:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
}

.section8_cont_a {
  width: 100%;
  display: flex;
}

.section8_grid_item {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  background-image: url(/img/1ff7f57d-d360-461a-9350-1baf4f1b29f2.jpg);
  background-size: cover;
  background-position: center;
  border: 1px solid #e8e8ed;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 93, 0.04);
}

.section8_grid_item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(248, 249, 250, 0.95) 100%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}

.section8_grid_item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f175d, #360f5d);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section8_grid_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 93, 0.15);
  border-color: transparent;
}

.section8_grid_item:hover::after {
  opacity: 1;
}

.section8_grid_item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.section8_grid_item a {
  background: #0f175d;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

.section8_grid_item a::after {
  content: '\2192';
  font-size: 16px;
  transition: transform 0.2s ease;
}

.section8_grid_item a:hover {
  background: #1a2a8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 93, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.section8_grid_item a:hover::after {
  transform: translateX(4px);
}

.section8_grid_item a:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.section8_grid_item a {
  background-color: #0f175d;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(54, 15, 93, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
}

.section8_grid_item a::after {
  content: '\2192';
  font-size: 16px;
  transition: transform 0.2s ease;
}

.section8_grid_item a:hover {
  background: linear-gradient(135deg, #4a1978 0%, #5a2178 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(54, 15, 93, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.section8_grid_item a:hover::after {
  transform: translateX(4px);
}

.section8_grid_item a:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(54, 15, 93, 0.25);
}

/* Адаптив для планшетов */
@media (max-width: 768px) {
  .section8_cont_grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
  }

  .section8_grid_item {
    padding: 24px;
    min-height: 200px;
  }

  .section8_grid_item h3 {
    font-size: 17px;
  }
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
  .section8_cont_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section8_grid_item {
    padding: 20px;
    min-height: 180px;
  }

  .section8_grid_item h3 {
    font-size: 16px;
  }

  .section8_grid_item a {
    width: 100%;
    box-sizing: border-box;
  }
}

/* section9 */

.section9 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
ul {
  margin: 0 0 0 10px;
  padding: 0;
}

.section9 li {
  /* list-style-type: inherit;
  list-style-position: inside; */
  padding-left: 0px;
  margin-left: 10px;
  color: #777777;
  margin-bottom: 10px;
}
.section9 h2 {
  text-align: center;
}

.section9_cont_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.section9_grid_item h3 {
  text-align: center;
}

.section9_grid_item {
  background-color: #f5f5f5;
  padding: 20px;
  display: flex;
  border-radius: 5px;
  flex-direction: column;
  gap: 15px;
  justify-content: space-between;
}
.section9_grid_item a,
.section9_grid_item button {
  background-color: #0f175d;
  text-align: center;
  padding: 14px 24px;
  text-decoration: none;
  color: #f4f4f4;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(15, 23, 93, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px;
}

.section9_grid_item a:hover,
.section9_grid_item button:hover {
  background-color: #1a2a8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 93, 0.35);
  color: #f4f4f4;
}

.section9_grid_item a:active,
.section9_grid_item button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(15, 23, 93, 0.25);
}

.section9_grid_item a:focus,
.section9_grid_item button:focus {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}
.section9_p_cont span {
  color: #0f175d;
  font-weight: 600;
}

.section9_p_cont {
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
}

.section9_item_img {
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-position: 50% 40%; */
  position: relative;
  width: 100%;
  height: 100px;
}

.section9_img1 {
  background-image: url(/img/Rectangleg122.svg);
}
.section9_img2 {
  background-image: url(/img/Rectangleg124.svg);
}
.section9_img3 {
  background-image: url(/img/Rectangleg126.svg);
}

/* section10 */
.section10 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section10_cont1 {
  display: flex;
  gap: 15px;
}
/* .section10_img_cont1 h3 {
} */

.section10_grid_img {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: space-between;
}

.section10_p {
  max-width: 275px;
}

.section10_cont1_text {
  width: 53px;
  text-align: center;
}
.section10_cont1_text p {
  font-size: 12px;
  font-weight: 400;
  color: #7a7a7a;
}

.section10_cont1_ing img {
  margin: 5px 0 0;
  width: 24px;
}

.section10_img_cont1 {
  display: flex;
  justify-content: space-between;
}

.section10_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.section10_img_cont2 a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #0f175d;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section10_img_cont2 a:hover {
  color: #1a2a8f;
  background-color: rgba(15, 23, 93, 0.05);
}

.section10_img_cont2 img {
  width: 74px;
}

.section10_img_cont2 a {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section10_img_cont2 {
  display: flex;
  justify-content: space-between;
}

/* .section10_cont1 {
} */

.section10_cont2 {
  width: 100%;
}
.section10_cont2 a {
  margin: auto;
  background-color: #360f5d;
  max-width: 270px;
  padding: 16px 28px;
  border-radius: 6px;
  text-align: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 12px rgba(54, 15, 93, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.section10_cont2 a:hover {
  background-color: #4a1978;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(54, 15, 93, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.section10_cont2 a:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(54, 15, 93, 0.25);
}

/* ========================================
/* Секция "Свяжитесь с адвокатом" (#contacts)
/* ======================================== */

.section11 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.section11_cont1 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section11_cont1 h2 {
  max-width: 480px;
  font-size: 36px;
  line-height: 1.2;
  color: #232323;
}

/* Сетка контактных карточек */
.section11_cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Карточка контакта */
.section11_card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background-color: #f5f5f5;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section11_card:hover {
  background-color: #ffffff;
  border-color: rgba(15, 23, 93, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 93, 0.08);
  transform: translateY(-2px);
}

/* Иконка карточки */
.section11_card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f175d 0%, #360f5d 100%);
  color: #ffffff;
  font-size: 17px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.section11_card:hover .section11_card-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(15, 23, 93, 0.25);
}

/* Тело карточки */
.section11_card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.section11_card-label {
  font-size: 12px;
  font-weight: 600;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section11_card-value {
  font-size: 15px;
  font-weight: 600;
  color: #232323;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.section11_card-value:hover {
  color: #0f175d;
}

.section11_card-text {
  font-size: 15px;
  font-weight: 500;
  color: #232323;
  line-height: 1.4;
}

/* Мессенджеры */
.section11_messengers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section11_messengers-label {
  font-size: 14px;
  color: #777777;
  font-weight: 500;
}

.section11_messengers-links {
  display: flex;
  gap: 12px;
}

.section11_messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e5e5;
  background-color: #ffffff;
  color: #232323;
}

.section11_messenger i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.section11_messenger.wa i {
  color: #25d366;
}

.section11_messenger.tg i {
  color: #26a5e4;
}

.section11_messenger.wa:hover {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.section11_messenger.wa:hover i {
  color: #ffffff;
  transform: scale(1.15);
}

.section11_messenger.tg:hover {
  background-color: #26a5e4;
  color: #ffffff;
  border-color: #26a5e4;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(38, 165, 228, 0.3);
}

.section11_messenger.tg:hover i {
  color: #ffffff;
  transform: scale(1.15);
}

.section11_messenger.max svg {
  width: 20px;
  height: 20px;
}

.section11_messenger.max:hover {
  background: linear-gradient(135deg, #0077ff 0%, #aa00ff 100%);
  color: #ffffff;
  border-color: #0077ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.3);
}

.section11_messenger.max:hover svg path:first-child {
  fill: #ffffff;
}

/* Кнопка "Оставить заявку" */
.section11_cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0f175d 0%, #1a2a8f 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(15, 23, 93, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  max-width: 280px;
}

.section11_cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.section11_cta:hover::before {
  left: 100%;
}

.section11_cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 93, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.section11_cta:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
}

.section11_cta i {
  font-size: 15px;
  transition: transform 0.3s ease;
}

.section11_cta:hover i {
  transform: translateX(3px);
}

/* Контейнер карты */
.section11_cont2 {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.section10_p p {
  color: #777777;
}

iframe.new_map {
  height: 100%;
  min-height: 460px;
  border-radius: 14px;
}

.map {
  border-radius: 14px;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* ========================================
/* Современный подвал сайта (Site Footer)
/* ======================================== */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e8e8e8;
  padding: 0;
  width: 100%;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Верхняя часть футера */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Бренд футера */
.footer-brand {
  flex-shrink: 0;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-logo-title {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f175d;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.footer-logo-subtitle {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #666666;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* Навигация футера */
.footer-nav {
  flex: 1;
}

.footer-nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-link {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #555555;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.footer-nav-link:hover {
  color: #0f175d;
  background-color: rgba(15, 23, 93, 0.05);
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: #0f175d;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.footer-nav-link:hover::after {
  transform: scaleX(1);
}

/* Средняя часть футера */
.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

/* Контакты в футере */
.footer-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f175d 0%, #1a2a8f 100%);
  border-radius: 10px;
  color: #ffffff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-contact-icon svg {
  width: 20px;
  height: 20px;
}

.footer-contact-item:hover .footer-contact-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.3);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-phone {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0f175d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: #1a2a8f;
}

.footer-phone-secondary {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #777777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-phone-secondary:hover {
  color: #0f175d;
}

/* Социальные сети в футере */
.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #f5f5f5;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px;
}

/* WhatsApp — оригинальный зелёный цвет */
.footer-social-link.wa {
  color: #25d366;
}

/* Telegram — оригинальный синий цвет */
.footer-social-link.tg {
  color: #26a5e4;
}

/* Анимация для WhatsApp */
.footer-social-link.wa:hover {
  background-color: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Анимация для Telegram */
.footer-social-link.tg:hover {
  background-color: #26a5e4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 165, 228, 0.3);
}

/* Кнопка CTA в футере */
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #0f175d 0%, #1a2a8f 100%);
  border-radius: 10px;
  text-decoration: none;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.footer-cta-btn:hover::before {
  left: 100%;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 93, 0.4);
}

.footer-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 23, 93, 0.3);
}

.footer-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.footer-cta-icon svg {
  width: 100%;
  height: 100%;
}

.footer-cta-btn:hover .footer-cta-icon {
  animation: phoneRing 0.6s ease-in-out;
}

@keyframes phoneRing {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-15deg);
  }
  60% {
    transform: rotate(10deg);
  }
  80% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.footer-cta-text {
  white-space: nowrap;
}

/* Нижняя часть футера */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-style: normal;
}

.footer-address-label {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f175d;
}

.footer-address-text {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #555555;
}

.footer-copyright {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 13px;
  color: #777777;
}

.footer-copyright p {
  margin: 0;
}

/* Адаптивные стили для футера */
@media (max-width: 768px) {
  .footer-container {
    padding: 32px 16px;
    gap: 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-nav {
    width: 100%;
  }

  .footer-nav-list {
    justify-content: flex-start;
    gap: 4px;
  }

  .footer-nav-link {
    padding: 8px 10px;
    font-size: 13px;
  }

  .footer-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
  }

  .footer-contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-contact-item {
    width: 100%;
  }

  .footer-social {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-cta-btn {
    /* width: 100%; */
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-address {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-logo-img {
    width: 40px;
    height: 40px;
  }

  /* Адаптив секции контактов на планшетах */
  .section11_cont1 h2 {
    font-size: 30px;
  }

  .section11_card {
    padding: 14px;
  }

  .section11_card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 15px;
  }

  .section11_cont2 {
    min-height: 350px;
  }

  iframe.new_map {
    min-height: 350px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 24px 12px;
  }

  .footer-logo-title {
    font-size: 16px;
  }

  .footer-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .footer-nav-link {
    text-align: center;
    padding: 10px 12px;
  }

  .footer-contact-icon {
    width: 36px;
    height: 36px;
  }

  .footer-contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .footer-social-link {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .footer-cta-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .footer-copyright {
    font-size: 12px;
    text-align: left;
  }

  /* Адаптив секции контактов на мобильных */
  .section11_cont1 h2 {
    font-size: 24px;
  }

  .section11_card {
    padding: 12px;
    gap: 10px;
    border-radius: 10px;
  }

  .section11_card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
    border-radius: 8px;
  }

  .section11_card-value,
  .section11_card-text {
    font-size: 14px;
  }

  .section11_messengers-links {
    flex-direction: column;
  }

  .section11_messenger {
    justify-content: center;
  }

  .section11_cta {
    max-width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  .section11_cont2 {
    min-height: 280px;
  }

  iframe.new_map {
    min-height: 280px;
  }
}

/* Убираем старые стили футера */
footer {
  padding: 0;
  width: 100%;
  background-color: transparent;
}

.footer a {
  text-decoration: none;
}

.footer {
  display: none;
}

/* section_list */
.section_list {
  max-width: 900px;
  display: flex;
  gap: 20px;
  flex-direction: column;
  text-align: justify;
}

.section_list_cont_text p {
  color: #777777;
}

.section_list_cont_text {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.section_list a {
  text-decoration: none;
}

.section_list_but {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 40px 0 0;
}

.section_list_but2 {
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 600;
  background: linear-gradient(135deg, #0f175d 0%, #1a2a8f 50%, #0f175d 100%);
  background-size: 200% 200%;
  color: #ffffff;
  border-radius: 8px;
  width: auto;
  min-width: 320px;
  max-width: 400px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(15, 23, 93, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-position 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Псевдоэлемент для эффекта свечения */
.section_list_but2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект при наведении */
.section_list_but2:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
  box-shadow:
    0 10px 30px rgba(15, 23, 93, 0.4),
    0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Анимация светового блика при наведении */
.section_list_but2:hover::before {
  left: 100%;
}

/* Эффект при нажатии */
.section_list_but2:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 15px rgba(15, 23, 93, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.1);
}

.section_list_but a {
  text-decoration: none;
}

.section_list_but2 a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.cont_item_list {
  display: flex;
  max-width: 800px;
  gap: 20px;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.list_cont {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cont_text_list p {
  margin: 10px 0 0;
  color: #777777;
}

.cont_crumbs_p {
  color: #77777783;
}

.used {
  background-color: #f5f5f5;
}

.cont_articles1_butt2 {
  display: flex;
  gap: 10px;
}

.cont_articles1_butt3 {
  display: flex;
  gap: 10px;
}

.articles1_butt {
  border-radius: 6px;
  width: auto;
  min-width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 23, 93, 0.15);
  text-align: center;
  align-content: space-around;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #0f175d;
  background-color: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.articles1_butt:hover {
  background-color: #0f175d;
  color: #ffffff;
  border-color: #0f175d;
  transform: translateY(-1px);
}

.articles1_butt.used {
  background-color: #0f175d;
  color: #ffffff;
  border-color: #0f175d;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0;
  margin-bottom: 1rem;
  list-style: none;
  gap: 5px;
}

::after,
::before {
  box-sizing: border-box;
}

.breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: 0.2rem;
  color: #77777777;
  content: var(--bs-breadcrumb-divider, '/');
}

.cont_crumbs_p a {
  text-decoration: none;
  color: #77777777;
  font-size: 95%;
}

.cont_item_list img {
  height: 100px;
}

/* @media */
@media (max-width: 1050px) {
  .head {
    margin: 25px 10px;
  }
  .section1 {
    margin: 100px 10px;
  }
  .footer {
    padding: 0 10px;
  }
}

@media (max-width: 1023px) {
  .section3_cont_grid,
  .section10_grid,
  .section9_cont_grid,
  .section7_cont_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    flex-direction: column;
  }
  .section3_item_img,
  .section7_grid_item,
  .section9_item_img {
    width: 100%;
  }

  .section7_grid_item {
    padding: 0;
  }

  .section7_cont_grid h3 {
    margin: 20px;
  }
  .section7_cont_grid p {
    margin: 20px;
  }
}

@media (max-width: 1010px) {
  .section {
    padding: 0 20px;
  }
  .section3_cont_grid,
  .section10_grid,
  .section9_cont_grid,
  .section7_cont_grid,
  .section6_grid {
    grid-template-columns: 1fr;
  }

  .section6_flex_cont1,
  .section6_flex_cont2 {
    flex-direction: column;
    align-items: center;
  }
  .section3_item_img,
  .section7_grid_item {
    width: 100%;
  }

  .section4_flex,
  .section4_flex2 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .section4_cont_text {
    gap: 10px;
    flex-direction: column;
  }

  .section4_item4_img {
    background-position: 52px -113px;
  }

  .section4_item1 {
    width: 290px;
  }

  .section4_item2 {
    width: 350px;
  }

  .section4_item3 {
    width: 180px;
  }

  .section4_item5 {
    width: 320px;
  }

  /* .section4_item3 {
  } */

  .section6 h2 {
    text-align: center;
    margin: auto;
  }
  .section2_cont_item_1 img {
    display: none;
  }
  .section2_cont {
    flex-direction: column-reverse;
  }

  .section2_cont_item_img2 {
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: 50% 40%; */
    position: relative;
    max-width: 365px;
    height: 214px;
    margin: auto;
    background-image: url(/img/a6.svg);
  }
  .section1_cont {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .section1_cont2 {
    justify-content: flex-start;
  }

  .section4_item4 {
    max-width: 350px;
  }

  .section1_item2 {
    height: 100%;
    width: 235px;
  }

  .section1_item3 {
    height: 100%;
    width: 235px;
  }

  .section1_item2 img {
    position: static;
  }

  .section1_cont2_item {
    width: 100%;
    flex-direction: column;
    height: auto;
    padding: 0;
  }

  .section1_item3 {
    padding: 10px;
  }

  .photo_img {
    width: 450px;
    height: 350px;
  }

  .section1_item1,
  .section1_item2 {
    border-right: none;
    padding: 8px;
    border-bottom: 1px solid #000000;
  }
}

@media (max-width: 780px) {
  .media_head {
    display: none;
  }
  .section5_cont_flex1 {
    flex-direction: column;
    align-items: center;
  }
  .section6_cont1_item4 {
    width: 400px;
  }
  .section5_flex1_item1,
  .section5_flex1_item2,
  .section5_flex2_item2,
  .section5_flex2_item1 {
    width: 100%;
  }
}

@media (max-width: 630px) {
  .section11 {
    grid-template-columns: 1fr;
  }

  .section11_cards {
    grid-template-columns: 1fr;
  }

  .section11_cont1 h2 {
    font-size: 28px;
  }

  .section11_cta {
    max-width: 100%;
    justify-content: center;
  }

  .cont_item_list {
    flex-direction: column;
  }

  .cont_item_list img {
    margin: auto;
  }
}
@media (max-width: 500px) {
  .photo_img {
    width: 100%;
  }

  .media_list {
    display: none;
  }

  .section_list_but {
    flex-direction: column;
    align-items: center;
  }

  .section_list_but2 {
    width: 100%;
    max-width: 300px;
    min-width: unset;
    padding: 16px 20px;
    font-size: 15px;
  }

  .section5_ite2_img {
    background-position: 78px -10px;
  }

  .section5_item1_img {
    background-position: 115px 1px;
  }

  .section5_ite3_img {
    background-position: 110px 0px;
  }

  .section5_ite4_img {
    background-position: 103px 0px;
  }

  .footer_a_cont {
    flex-direction: column;
  }

  .section1_item_cont1 {
    gap: 15px;
  }

  .section1_item_cont1 h1 {
    font-size: 26px;
    font-weight: 500;
  }
  h2 {
    font-size: 26px;
    font-weight: 500;
  }
  h3 {
    font-size: 20px;
    font-weight: 500;
  }
  p {
    font-size: 16px;
    font-weight: 400;
  }

  .section4_cont_text p {
    font-size: 20px;
  }

  .section2_cont_item_2 {
    padding: 20px;
  }

  .section1_item_cont1 p {
    font-size: 20px;
    font-weight: 400;
  }

  /* Адаптивные стили кнопок */
  .section1_but {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 15px;
  }

  .section3_item_but {
    /* width: 100%; */
    padding: 12px 20px;
    font-size: 14px;
  }

  .section8_cont_a a,
  .section10_cont2 a {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
  }

  .section8_grid_item a {
    width: 100%;
    box-sizing: border-box;
  }

  .section9_grid_item a,
  .section9_grid_item button {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  .footer_butt {
    width: 100%;
    padding: 12px 20px;
  }

  .btn-submit,
  .btn-contact {
    padding: 14px 20px;
    font-size: 15px;
  }

  .section6_cont a {
    width: 100%;
    padding: 12px 20px;
  }
}

@media (max-width: 400px) {
  .section4_item3 {
    padding: 0;
  }

  .section4_item3 h3 {
    padding: 20px;
  }

  .section4_item3 p {
    padding: 20px;
  }
  .section4_item1,
  .section4_item4,
  .section4_item2,
  .section4_item3,
  .section4_item5,
  .section4_item6 {
    width: 100%;
  }

  .section5_item1_img {
    background-position: 88px 1px;
  }
}

@media (max-width: 380px) {
  .section4_item4_img {
    background-position: 52px -50px;
  }
}
@media (max-width: 350px) {
  .section6_cont1_item1,
  .section6_cont1_item2,
  .section6_cont1_item3,
  .section6_cont1_item4,
  .section6_cont1_item5 {
    width: 100%;
  }

  .section4_item5,
  .section4_item6 {
    padding: 0;
  }

  .section4_item5 p {
    margin: 20px 20px 0;
  }
  .section4_item6 p {
    margin: 20px;
  }
  .section4_item5 h3 {
    margin: 20px 20px 0;
  }
  .section4_item6 h3 {
    margin: 20px;
  }

  .section6_grid_item {
    width: 300px;
  }

  .section6 p {
    width: 250px;
  }

  .section6_item1_img4 {
    height: 220px;
  }

  .section5_cont_flex1 p {
    width: 250px;
  }

  .section6_img2 p {
    width: 250px;
  }

  .section6_img3 p {
    width: 250px;
  }

  .section6_img4 p {
    width: 250px;
  }
}
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

a.cont_item_list {
  text-decoration: none;
}

a.cont_item_list h2 {
  font-weight: 500;
  font-size: 26px;
  color: black;
  line-height: 35px;
}

a.cont_item_list .cont_text_list p {
  margin: 10px 0 0;
  color: #777777;
  line-height: 25px;
}

.section_list_cont_text {
  line-height: 25px;
}

h1.caption {
  font-weight: 500;
  font-size: 36px;
  hyphens: auto;
  -webkit-hyphens: auto; /* для Safari */
  -ms-hyphens: auto; /* для старых версий IE */
  word-break: break-word; /* для старых версий браузеров */
}

.cont_articles1_butt2 a {
  text-decoration: none;
  color: black;
}

.link {
  margin-top: 16px;
  color: #0f175d;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.link:hover {
  color: #1a2a8f;
  gap: 12px;
}

.link:hover::after {
  transform: translateX(4px);
}

#counters,
.hidden {
  display: none;
}
.form-control {
  width: 95%;
}
a.section3_item_but {
  text-decoration: none;
}
.bw-image {
  filter: grayscale(100%);
}
.services_ite_cont {
  margin-bottom: 20px;
}
.services_ite_h {
  font-weight: bold;
}
.services_item {
  display: flex;
  gap: 10px;
}
.services_cont_head {
  font-size: 30px;
  margin-bottom: 30px;
}

.section_list_cont_text ul,
.section_list_cont_text ol {
  padding-left: 30px;
  color: #777777;
  margin-top: 20px;
  margin-bottom: 20px;
}

.cont_services > span,
.section_list_cont_text div {
  color: #777777;
  display: block;
}

.section_list_cont_text a {
  color: #777777;
}

.section6_text_cont p {
  color: white;
  line-height: 25px;
}
.h4 {
  font-size: 20px;
  line-height: 23px;
}
.section2__item_2 h3 {
  margin-top: 10px;
}
.section_list_cont_text strong {
  display: inline;
}
.section_list_cont_text .section {
  margin: 0px;
}

/* ======================================== */
/* Типографика для информационных страниц */
/* ======================================== */

.section_list_cont_text {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #444444;
}

/* Заголовки */
.section_list_cont_text h1,
.section_list_cont_text h2,
.section_list_cont_text h3,
.section_list_cont_text h4,
.section_list_cont_text h5,
.section_list_cont_text h6 {
  color: #1a1a1a;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1em;
}

.section_list_cont_text h1:first-child,
.section_list_cont_text h2:first-child,
.section_list_cont_text h3:first-child,
.section_list_cont_text h4:first-child {
  margin-top: 0;
}

.section_list_cont_text h1 {
  font-size: 32px;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #e8e8e8;
}

.section_list_cont_text h2 {
  font-size: 26px;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #eeeeee;
}

.section_list_cont_text h3 {
  font-size: 22px;
}

.section_list_cont_text h4 {
  font-size: 18px;
}

.section_list_cont_text h5 {
  font-size: 16px;
}

.section_list_cont_text h6 {
  font-size: 14px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Параграфы */
.section_list_cont_text p {
  margin-top: 0;
  margin-bottom: 0.75em;
  color: #444444;
}

.section_list_cont_text p:last-child {
  margin-bottom: 0;
}

/* Ссылки */
.section_list_cont_text a {
  color: #0f175d;
  text-decoration: underline;
  text-decoration-color: rgba(15, 23, 93, 0.3);
  text-underline-offset: 2px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.section_list_cont_text a:hover {
  color: #1a2a8f;
  text-decoration-color: #1a2a8f;
}

/* Выделение текста */
.section_list_cont_text strong,
.section_list_cont_text b {
  font-weight: 600;
  color: #1a1a1a;
}

.section_list_cont_text em,
.section_list_cont_text i {
  font-style: italic;
}

.section_list_cont_text mark {
  background-color: #fff3cd;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* Списки */
.section_list_cont_text ul,
.section_list_cont_text ol {
  padding-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 0.75em;
  color: #444444;
}

.section_list_cont_text li {
  margin-bottom: 0.5em;
}

.section_list_cont_text li:last-child {
  margin-bottom: 0;
}

.section_list_cont_text ul {
  list-style-type: disc;
}

.section_list_cont_text ul ul {
  list-style-type: circle;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.section_list_cont_text ul ul ul {
  list-style-type: square;
}

.section_list_cont_text ol {
  list-style-type: decimal;
}

.section_list_cont_text ol ol {
  list-style-type: lower-alpha;
}

.section_list_cont_text ol ol ol {
  list-style-type: lower-roman;
}

/* Вложенные списки */
.section_list_cont_text ul ul,
.section_list_cont_text ol ol,
.section_list_cont_text ul ol,
.section_list_cont_text ol ul {
  margin-left: 1.5em;
}

/* Цитаты */
.section_list_cont_text blockquote {
  margin: 1em 0;
  padding: 0.75em 1.25em;
  border-left: 4px solid #0f175d;
  background-color: #f8f9fa;
  color: #555555;
  font-style: italic;
}

.section_list_cont_text blockquote p:last-child {
  margin-bottom: 0;
}

.section_list_cont_text blockquote cite {
  display: block;
  margin-top: 0.75em;
  font-size: 14px;
  font-style: normal;
  color: #777777;
}

.section_list_cont_text blockquote cite::before {
  content: '— ';
}

/* Код */
.section_list_cont_text code {
  font-family: 'SF Mono', 'Consolas', 'Monaco', 'Menlo', monospace;
  font-size: 0.9em;
  background-color: #f4f4f4;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: #c7254e;
}

.section_list_cont_text pre {
  background-color: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 0.75em;
  margin: 1em 0;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}

.section_list_cont_text pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}

/* Таблицы */
.section_list_cont_text table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 15px;
}

.section_list_cont_text table th,
.section_list_cont_text table td {
  padding: 0.75em 1em;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.section_list_cont_text table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #1a1a1a;
}

.section_list_cont_text table tr:nth-child(even) td {
  background-color: #fafafa;
}

.section_list_cont_text table tr:hover td {
  background-color: #f0f4f8;
}

/* Изображения */
.section_list_cont_text img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1em 0;
}

.section_list_cont_text figure {
  margin: 1em 0;
}

.section_list_cont_text figure img {
  margin: 0;
}

.section_list_cont_text figcaption {
  margin-top: 0.75em;
  font-size: 14px;
  color: #777777;
  text-align: center;
  font-style: italic;
}

/* Разделитель */
.section_list_cont_text hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 1.25em 0;
}

/* Определения */
.section_list_cont_text dl {
  margin: 1em 0;
}

.section_list_cont_text dt {
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 1em;
}

.section_list_cont_text dt:first-child {
  margin-top: 0;
}

.section_list_cont_text dd {
  margin-left: 1.5em;
  color: #555555;
  margin-top: 0.25em;
}

/* Верхние и нижние индексы */
.section_list_cont_text sup,
.section_list_cont_text sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.section_list_cont_text sup {
  top: -0.5em;
}

.section_list_cont_text sub {
  bottom: -0.25em;
}

/* Мелкий текст */
.section_list_cont_text small {
  font-size: 85%;
  color: #777777;
}

/* Аббревиатуры */
.section_list_cont_text abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: none;
}

/* Удалённый и вставленный текст */
.section_list_cont_text del,
.section_list_cont_text s {
  text-decoration: line-through;
  color: #888888;
}

.section_list_cont_text ins {
  text-decoration: none;
  background-color: #d4edda;
  padding: 0.1em 0.2em;
}

/* Адрес */
.section_list_cont_text address {
  font-style: normal;
  margin: 1em 0;
  padding: 0.75em;
  background-color: #f8f9fa;
  border-radius: 6px;
}

/* Детализы */
.section_list_cont_text details {
  margin: 1em 0;
  padding: 0.75em;
  background-color: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
}

.section_list_cont_text summary {
  cursor: pointer;
  font-weight: 600;
  color: #0f175d;
  outline: none;
}

.section_list_cont_text summary:hover {
  color: #1a2a8f;
}

.section_list_cont_text details[open] summary {
  margin-bottom: 0.75em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid #e8e8e8;
}

/* Внимание / Примечание */
.section_list_cont_text .note,
.section_list_cont_text .warning,
.section_list_cont_text .info {
  padding: 0.75em 1em;
  margin: 1em 0;
  border-radius: 6px;
  border-left: 4px solid;
}

.section_list_cont_text .note {
  background-color: #f8f9fa;
  border-color: #6c757d;
}

.section_list_cont_text .warning {
  background-color: #fff3cd;
  border-color: #ffc107;
}

.section_list_cont_text .info {
  background-color: #e7f3ff;
  border-color: #0f175d;
}

/* Адаптивность для типографики */
@media (max-width: 768px) {
  .section_list_cont_text {
    font-size: 15px;
  }

  .section_list_cont_text h1 {
    font-size: 26px;
  }

  .section_list_cont_text h2 {
    font-size: 22px;
  }

  .section_list_cont_text h3 {
    font-size: 19px;
  }

  .section_list_cont_text h4 {
    font-size: 17px;
  }

  .section_list_cont_text table {
    font-size: 14px;
  }

  .section_list_cont_text table th,
  .section_list_cont_text table td {
    padding: 0.5em 0.75em;
  }
}

.section_list_cont_text .highlight {
  background: #eef4fb;
  border-left: 4px solid #2563eb;
  padding: 14px 18px;
  border-radius: 4px;
  margin: 24px 0;
}
.section_list_cont_text .cta {
  background: #1a2e4a;
  color: #fff;
  padding: 18px 24px;
  border-radius: 6px;
  margin-top: 36px;
  text-align: center;
  font-size: 1.05em;
}
.section_list_cont_text .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.section_list_cont_text .card {
  background: #f0f4f9;
  border-radius: 6px;
  padding: 16px 18px;
}
.section_list_cont_text .card h3 {
  margin: 0 0 8px;
  color: #1a2e4a;
  font-size: 0.95em;
}
@media (max-width: 600px) {
  .section_list_cont_text .grid {
    grid-template-columns: 1fr;
  }
}
.section_list_cont_text .source-list {
  background: #f7f9fd;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 16px 0;
}
.section_list_cont_text .source-list li {
  margin-bottom: 10px;
}
.section_list_cont_text .specifics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.section_list_cont_text .spec-card {
  background: #f0f4f9;
  border-radius: 6px;
  padding: 14px;
  text-align: center;
  font-size: 0.92em;
}
.section_list_cont_text .spec-card strong {
  display: block;
  color: #1a2e4a;
  margin-bottom: 6px;
}
.section_list_cont_text .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
.section_list_cont_text .col-block {
  border-radius: 6px;
  padding: 18px;
}
.section_list_cont_text .col-block.red {
  background: #fef2f2;
  border-left: 3px solid #ef4444;
}
.section_list_cont_text .col-block.green {
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
}
.section_list_cont_text .col-block h3 {
  margin: 0 0 10px;
  font-size: 1em;
}
.section_list_cont_text .badge {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.8em;
  font-weight: 600;
  margin-right: 6px;
  vertical-align: middle;
}

/* ========================================
/* Выдвижное меню (Slide-out Menu)
/* ======================================== */

/* Кнопка бургера */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
  background-color: rgba(15, 23, 93, 0.08);
}

.menu-toggle:focus {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}

/* Иконка бургера */
.burger-icon {
  position: relative;
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #0f175d;
  border-radius: 2px;
  transition:
    transform 0.3s ease-out,
    opacity 0.3s ease-out,
    background-color 0.2s ease;
}

/* Анимация бургера в крестик при открытом меню */
.menu-toggle.active .burger-line-1 {
  transform: translate3d(0, 8px, 0) rotate(45deg);
}

.menu-toggle.active .burger-line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .burger-line-3 {
  transform: translate3d(0, -8px, 0) rotate(-45deg);
}

/* Overlay - полупрозрачное затемнение */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease-out,
    visibility 0.35s ease-out;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Выдвижное меню справа */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 85vw;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-menu.active {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Заголовок мобильного меню */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
  background-color: #f8f9fa;
}

.mobile-menu-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f175d;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
}

/* Кнопка закрытия */
.menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  color: #0f175d;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.menu-close:hover {
  background-color: rgba(15, 23, 93, 0.1);
  transform: scale(1.05);
}

.menu-close:focus {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}

.menu-close svg {
  width: 24px;
  height: 24px;
}

/* Список меню */
.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-list li {
  margin: 0;
}

.mobile-menu-list .menu-item {
  display: block;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 500;
  color: #232323;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
  border-left: 3px solid transparent;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.4;
  text-align: left;
}

.mobile-menu-list .menu-item:hover {
  background-color: rgba(15, 23, 93, 0.05);
  color: #0f175d;
  padding-left: 28px;
}

.mobile-menu-list .menu-item:focus {
  outline: none;
  background-color: rgba(15, 23, 93, 0.08);
  color: #0f175d;
  border-left-color: #0f175d;
}

.mobile-menu-list .menu-item:active {
  background-color: rgba(15, 23, 93, 0.12);
}

/* Дополнительная информация в меню */
.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid #e8e8e8;
  background-color: #f8f9fa;
  flex-shrink: 0;
}

.mobile-menu-phone {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #0f175d;
  text-decoration: none;
  margin-bottom: 8px;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
}

.mobile-menu-phone:hover {
  color: #1a2a8f;
  text-decoration: underline;
}

.mobile-menu-address {
  font-size: 16px;
  color: #666666;
  line-height: 1.5;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
}

/* Социальные сети в мобильном меню */
.mobile-menu-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #f5f5f5;
  color: #0f175d;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.social-link:hover {
  background-color: #0f175d;
  color: #ffffff;
  transform: scale(1.1);
}

.social-link.max {
  color: #0077ff;
}

.social-link.max svg {
  width: 20px;
  height: 20px;
}

.social-link.max:hover {
  background: linear-gradient(135deg, #0077ff 0%, #aa00ff 100%);
  color: #ffffff;
  transform: scale(1.1);
}

/* ========================================
/* FAQ АККОРДЕОН - АДАПТИВНЫЙ ДИЗАЙН
/* ======================================== */

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
}

.faq-header h2 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: #0f175d;
  margin-bottom: 12px;
  line-height: 1.2;
}

.faq-subtitle {
  font-size: 16px;
  color: #666666;
  font-weight: 400;
  line-height: 1.6;
}

/* Контейнер аккордеона */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

/* Элемент аккордеона */
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.08);
}

/* Вопрос (заголовок аккордеона) */
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 100%;
  font-weight: 600;
  color: #0f175d;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  text-align: left;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
}

.faq-question:hover {
  background-color: #f9f9f9;
  color: #1a2a8f;
}

.faq-question:focus-visible {
  outline: 2px solid #0f175d;
  outline-offset: -4px;
}

.faq-question[aria-expanded='true'] {
  background-color: #f5f7ff;
  border-bottom: 2px solid #0f175d;
}

/* Текст вопроса */
.faq-question-text {
  flex: 1;
  text-align: left;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Иконка стрелки */
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 100%;
  height: 100%;
  fill: #0f175d;
  transition: fill 0.3s ease;
}

.faq-question[aria-expanded='true'] .faq-icon {
  transform: rotate(180deg);
}

.faq-question:hover .faq-icon svg {
  fill: #1a2a8f;
}

/* Ответ (содержимое аккордеона) */
.faq-answer {
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  background-color: #fafbff;
  border-top: 1px solid #e8eef5;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer-content {
  padding: 20px 24px;
  color: #333333;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* CTA блок */
.faq-cta {
  background: linear-gradient(135deg, #0f175d 0%, #1a2a8f 100%);
  color: #ffffff;
  padding: clamp(24px, 5vw, 40px);
  border-radius: 12px;
  text-align: center;
  margin-top: 48px;
}

.faq-cta h3 {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.faq-cta p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* CTA кнопка */
.faq-cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #0f175d;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.faq-cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.faq-cta-button:active {
  transform: translateY(0);
}

.faq-cta-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Двухколоночный layout для FAQ */
.faq-content {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.faq-accordion-wrapper {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.faq-cta-wrapper {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
}

/* Обновляем CTA для нового layout */
.faq-content .faq-cta {
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 75%;
}

/* ========================================
/* Адаптивность для планшетов
/* ======================================== */
@media (max-width: 1024px) {
  .faq-cta-wrapper {
    flex: 0 0 300px;
  }

  .faq-content {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .faq-container {
    padding: 0 16px;
  }

  .faq-content {
    flex-direction: column;
    gap: 48px;
  }

  .faq-cta-wrapper {
    flex: 1;
  }

  .faq-header {
    margin-bottom: 32px;
  }

  .faq-header h2 {
    font-size: 24px;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
    gap: 12px;
    min-width: 0;
  }

  .faq-answer-content {
    padding: 16px 20px;
    font-size: 14px;
    word-break: break-word;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-cta {
    padding: 32px 20px;
  }

  .faq-cta h3 {
    font-size: 20px;
  }

  .faq-cta p {
    font-size: 14px;
  }

  .faq-cta-button {
    padding: 12px 28px;
    font-size: 14px;
  }
}

/* ========================================
/* Адаптивность для мобильных
/* ======================================== */
@media (max-width: 480px) {
  .faq-container {
    padding: 0 12px;
  }

  .faq-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .faq-header h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .faq-subtitle {
    font-size: 14px;
  }

  .faq-accordion {
    gap: 10px;
    margin-bottom: 32px;
  }

  .faq-item {
    border-radius: 6px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
    gap: 10px;
    min-width: 0;
  }

  .faq-question[aria-expanded='true'] {
    border-bottom: 2px solid #0f175d;
  }

  .faq-answer-content {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
  }

  .faq-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .faq-cta {
    padding: 24px 16px;
    margin-top: 32px;
    border-radius: 8px;
  }

  .faq-cta h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .faq-cta p {
    font-size: 13px;
    margin-bottom: 20px;
    word-break: break-word;
  }

  .faq-cta-button {
    padding: 12px 16px;
    font-size: 13px;
    max-width: 100%;
    display: block;
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;
  }
}

/* Официальные цвета мессенджеров при наведении */
.social-link[aria-label='Telegram']:hover {
  background-color: #26a5e4;
  color: #ffffff;
}

.social-link[aria-label='WhatsApp']:hover {
  background-color: #25d366;
  color: #ffffff;
}

.social-link:hover {
  background-color: #0f175d;
  color: #ffffff;
  transform: scale(1.1);
}

.social-link:focus {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}

.social-link i {
  font-size: 24px;
  line-height: 1;
}

/* Блокировка скролла при открытом меню */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Адаптивность */
@media (max-width: 480px) {
  .mobile-menu {
    width: 100%;
    max-width: 100%;
  }

  .mobile-menu-list .menu-item {
    padding: 18px 24px;
    font-size: 18px;
  }

  .mobile-menu-header {
    padding: 16px 20px;
  }

  .mobile-menu-footer {
    padding: 16px 20px;
  }
}

/* ========================================
/* Выдвижные панели (Slide-out Panels)
/* ======================================== */

/* Оверлей для панелей */
.panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease-out,
    visibility 0.3s ease-out;
  z-index: 999;
}

.panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Блокировка скролла при открытых панелях */
body.panel-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Базовая выдвижная панель */
.slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: calc(100% - 40px);
  height: 100vh;
  background-color: #f8fafc;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slide-panel.active {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Заголовок панели */
.slide-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  background-color: #ffffff;
}

.slide-panel-title {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1e3a8a;
  line-height: 1.4;
  margin: 0;
  padding-right: 16px;
}

/* Кнопка закрытия */
.panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  color: #64748b;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.panel-close:hover {
  background-color: #e2e8f0;
  color: #1e3a8a;
  transform: scale(1.05);
}

.panel-close:focus {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

.panel-close svg {
  width: 20px;
  height: 20px;
}

/* Тело панели */
.slide-panel-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.slide-panel-body-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Иконка успеха */
.success-icon {
  margin-bottom: 24px;
  animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-message {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Форма */
.slide-panel-body form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__error {
  display: none;
  color: #dc2626;
  margin-bottom: 15px;
  font-size: 14px;
  border: 1px solid #dc2626;
  padding: 10px;
  border-radius: 4px;
}

.form-group label {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 15px;
  color: #1f2937;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #dc2626;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Чекбокс согласия */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #1e3a8a;
  cursor: pointer;
}

.form-checkbox-label {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox-label span {
  display: block;
}

/* Кнопка отправки */
.form-actions {
  margin-top: 8px;
}

.btn-submit {
  width: 100%;
  padding: 16px 28px;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #0f175d;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
  min-height: 52px;
}

.btn-submit:hover {
  background-color: #1a2a8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 93, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
}

.btn-submit:focus {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}

.btn-submit:disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Кнопка контакта */
.btn-contact {
  width: 100%;
  padding: 16px 28px;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #0f175d;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
  box-sizing: border-box;
  min-height: 52px;
}

.btn-contact:hover {
  background-color: #1a2a8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 93, 0.35);
  color: #ffffff;
}

.btn-contact:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(15, 23, 93, 0.25);
}

.btn-contact:focus {
  outline: 2px solid #0f175d;
  outline-offset: 2px;
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
  .slide-panel {
    width: 90%;
    max-width: calc(100% - 40px);
    right: 10px;
    left: auto;
  }

  .slide-panel-header {
    padding: 16px;
  }

  .slide-panel-title {
    font-size: 15px;
  }

  .slide-panel-body {
    padding: 16px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn-submit {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* Контейнер для кнопки в панели успеха */
.slide-panel-body-centered .form-actions {
  width: 100%;
  margin-top: 8px;
}

/* Адаптивность для планшетов */
@media (min-width: 481px) and (max-width: 768px) {
  .slide-panel {
    width: 400px;
    right: 20px;
    left: auto;
  }
}

.section_list_cont_text .legal-article__section {
  margin-top: 20px;
}
