/* Страница «Бонусы» */

.bonuses-hero .sub-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.bonuses-intro .container,
.bonus-detail .container,
.bonuses-refusal .container {
  max-width: 1040px;
}

.bonus-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 34px auto 0;
}

.bonus-step__number {
  display: block;
  margin-bottom: 16px;
  color: #1f3a5f;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.bonus-step h3 {
  margin: 0 0 8px;
}

.bonus-step p {
  margin: 0;
  font-size: .95rem;
}

.bonus-note {
  position: relative;
  max-width: 980px;
  margin: 32px auto 0;
  padding: 20px 24px 20px 56px;
  border-left: 4px solid #00befe;
  border-radius: 0 8px 8px 0;
  background: var(--section-bg-accent);
}

.bonus-note::before {
  content: "\f05a";
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--section-bg-dark-accent);
  font-family: "Font Awesome 6 Free";
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.6;
}

.bonus-note p {
  margin: 0;
}

.bonus-note p + p {
  margin-top: 10px;
}

.bonus-note a,
.bonus-refusal a,
.bonus-detail__note a {
  color: #0073a8;
}

.bonus-note a:hover,
.bonus-refusal a:hover,
.bonus-detail__note a:hover {
  color: #005f8a;
}

/* Карточки бонусов */

.bonus-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  max-width: 1040px;
  margin: 34px auto 0;
}

/* Кнопки используют общий стиль страницы контактов. */
.bonus-cards .bonus-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  text-align: left;
}

.bonus-cards .bonus-card img {
  width: 56px;
  flex: 0 0 56px;
  object-fit: contain;
}

.bonus-card > div {
  min-width: 0;
}

.bonus-card__title {
  font-size: 20px;
  line-height: 1.25;
}

.bonus-card p {
  margin: 0;
  font-size: 14px;
}

.bonus-cards .bonus-card:focus-visible {
  outline: 3px solid #0073a8;
  outline-offset: 4px;
}
/* Подробные условия */

.promo-code {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  color: #0073a8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.promo-code > span:first-child {
  text-decoration: underline dotted;
  text-underline-offset: 4px;
}

.promo-code:focus-visible {
  outline: 2px solid #0073a8;
  outline-offset: 4px;
}

.promo-code.is-copied {
  color: #16a34a;
}

.promo-code__status:not(:empty) {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: #fff;
  font-size: .75rem;
  white-space: nowrap;
}

section.bonus-detail {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(24px, 4vw, 48px);
  scroll-margin-top: 88px;
}

.bonus-detail__head {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  text-align: left;
}

.bonus-detail__text {
  min-width: 0;
}

.bonus-detail__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bonus-detail__icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.bonus-detail__badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.bonus-detail h2 {
  margin: 0;
  text-align: left;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
}

.bonus-detail__lead {
  max-width: 820px;
  margin: 16px 0 0;
  text-align: left;
}

.bonus-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #d8d9dc;
}

.bonus-detail__grid h3,
.bonus-detail__subsection h3 {
  margin: 0 0 10px;
  color: #1f3a5f;
  font-size: 1.05rem;
  letter-spacing: .02em;
  text-align: left;
  text-transform: uppercase;
}

.bonus-detail__grid .checked-list,
.bonus-detail__grid .crossed-list {
  margin: 0;
  font-size: .97rem;
}

.bonus-materials {
  margin: 0;
  padding-left: 28px;
  font-size: .97rem;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: left;
}

.bonus-materials li::marker {
  color: #1f3a5f;
  font-weight: 600;
}

.bonus-detail__grid li,
.bonus-refusal__list li {
  margin-bottom: 8px;
}

.bonus-detail__grid li:last-child,
.bonus-refusal__list li:last-child {
  margin-bottom: 0;
}

.bonus-detail__subsection {
  margin-top: 26px;
}

.bonus-detail__note {
  margin-top: 24px;
}

.bonuses-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.bonuses-actions .btn-outline {
  margin: 0;
  align-self: center;
}

.bonuses-actions .btn-outline .fa-vk,
.bonuses-actions .btn-outline .fa-telegram {
  font-size: 1.3em;
}

.bonus-vk-share {
  display: flex;
  align-items: center;
}

/* Финальный призыв */

section.bonuses-cta {
  background-color: #fff;
}

/* Отказ в предоставлении бонуса */

.bonus-refusal__list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.bonus-refusal__note {
  margin-top: 24px;
}

/* Адаптивность */

@media (max-width: 768px) {
  .bonus-steps {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .bonus-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .bonus-detail__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bonus-detail__head {
    align-items: start;
    gap: 16px;
  }

  .bonus-detail__icon {
    width: 48px;
    height: 48px;
  }

  .bonus-detail__badge {
    padding: 3px 8px;
    font-size: .75rem;
  }

  .bonus-note {
    padding: 18px 18px 18px 50px;
  }

  .bonus-note::before {
    top: 18px;
    left: 18px;
  }
}

@media (max-width: 560px) {
  .bonus-cards {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .bonus-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
  }
}

