/* ==========================================================================
   Секция «Буллеты со списком и изображением» (Bullets-Gavel)
   Стилизация в едином стиле с дизайн-системой сайта
   ========================================================================== */

.bullets-gavel {
  padding: 56px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  scroll-margin-top: 75px;
}

.bullets-gavel .container {
  width: min(980px, 100% - 32px);
  margin-inline: auto;
}

/* ==========================================================================
   Десктопная сетка (ПК)
   Контент слева (1fr), Изображение справа (240px)
   ========================================================================== */

.bullets-gavel__top {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: start;
}

.bullets-gavel__content {
  order: 1;
  min-width: 0;
  color: #374151;
}

.bullets-gavel__visual {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Изображение */
.bullets-gavel__image {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bullets-gavel__image:hover {
  transform: translateY(-2px);
}

/* Типографика заголовка */
.bullets-gavel__lead {
  font: 400 var(--fs-h2)/var(--lh-tight) var(--font-head);
  color: var(--color-navy-dark, #091d42);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.bullets-gavel__lead--mobile {
  display: none;
}

.bullets-gavel__lead--desktop {
  display: block;
}

/* Список буллетов */
.bullets-gavel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bullets-gavel__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-body);
  color: #374151;
  line-height: var(--lh-relaxed);
  text-align: left;
}

/* Маркеры-галочки в фирменном стиле сайта */
.bullets-gavel__marker {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf4fc;
  color: #0963b0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border: 1.5px solid rgba(9, 99, 176, 0.28);
  box-shadow: 0 1px 3px rgba(9, 29, 66, 0.06);
}

.bullets-gavel__marker svg {
  display: block;
  stroke: #0963b0;
}

.bullets-gavel__text {
  flex: 1;
  min-width: 0;
}

.bullets-gavel__text .muted,
.bullets-gavel__text span.muted {
  display: inline;
  color: #64748b;
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* ==========================================================================
   Адаптивность для мобильных устройств (<= 900px)
   Текст на 100% ширины, молоток на фоне полупрозрачной подложкой
   ========================================================================== */

@media (max-width: 900px) {
  .bullets-gavel {
    padding: 34px 0 32px;
    scroll-margin-top: 65px;
    position: relative;
    overflow: hidden;
  }

  .bullets-gavel .container {
    width: 100%;
    padding-inline: 16px;
    position: relative;
  }

  /* Заголовок на мобильном открывает секцию сверху */
  .bullets-gavel__lead--mobile {
    display: block;
    font-size: var(--fs-h3);
    line-height: var(--lh-tight);
    margin-bottom: 16px;
    text-align: left;
    position: relative;
    z-index: 2;
  }

  .bullets-gavel__lead--desktop {
    display: none;
  }

  .bullets-gavel__top {
    display: block;
    position: relative;
  }

  .bullets-gavel__top::after {
    display: none;
  }

  /* Фоновый молоток деликатной подложкой в углу */
  .bullets-gavel__visual {
    position: absolute;
    right: -10px;
    bottom: -15px;
    width: 140px;
    max-width: 38%;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    margin: 0;
    float: none;
  }

  .bullets-gavel__image {
    width: 100%;
    height: auto;
    filter: grayscale(30%);
  }

  .bullets-gavel__content {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .bullets-gavel__list {
    gap: 12px;
    width: 100%;
  }

  .bullets-gavel__item {
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    gap: 12px;
  }
}
