.awards {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 498px;
  margin-top: -56px;
  border-radius: 56px;
  background: var(--color-light-1000);
  overflow: hidden;
}

.awards__header {
  position: absolute;
  left: 50%;
  top: 88px;
  transform: translateX(-50%);
  width: 778.079px;
  display: flex;
  justify-content: center;
}

.awards__title {
  position: relative;
  margin: 0;
  transform: translateY(var(--parallax-y, 0px));
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-dark-1000);
  white-space: nowrap;
}

.awards__title-muted {
  color: var(--color-dark-700);
}

/* Полоска рисуется от самого слова (span), а не фиксированным left/width —
   так она всегда попадает под слово независимо от языка/ширины текста */
.awards__title-word {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.awards__title-word::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -4px;
  right: -4px;
  top: 33.12px;
  height: 19.135px;
  background: var(--color-dark-100);
}

/* Row: prev arrow — badge list — next arrow */

.awards__row {
  position: absolute;
  left: 50%;
  top: 192px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1264px;
  height: 218px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  padding: 0 50px;
}

.awards__nav {
  flex-shrink: 0;
  width: 80px;
  height: 133px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: linear-gradient(var(--color-dark-50), var(--color-dark-50)), var(--color-light-1000);
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.awards__nav img {
  width: 32px;
  height: 32px;
  display: block;
}

.awards__nav:not(:disabled):hover,
.awards__nav:not(:disabled):focus-visible {
  transform: scale(1.06);
}

.awards__nav:not(:disabled):active {
  transform: scale(0.94);
}

.awards__nav:disabled {
  border: 1px solid var(--color-dark-100);
  background: linear-gradient(var(--color-light-1000), var(--color-light-1000));
  opacity: 0.5;
  cursor: default;
}

.awards__list {
  flex: 1 0 0;
  min-width: 0;
  height: 218px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

#awardsList.is-transitioning {
  opacity: 0;
  filter: blur(10px);
}

.awards__item {
  position: relative;
  flex: 1 0 0;
  min-width: 180px;
  height: 140px;
  border: 1px solid var(--color-dark-100);
  border-radius: 32px;
  margin-right: -1px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.awards__item:last-child {
  margin-right: 0;
}

.awards__item:hover {
  background: var(--color-dark-50);
  border-color: transparent;
}

.awards__badge {
  position: absolute;
  left: 50%;
  top: -78px;
  transform: translateX(-50%);
  width: 148px;
  height: 148px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: linear-gradient(var(--color-dark-50), var(--color-dark-50)), var(--color-light-1000);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.awards__item:hover .awards__badge {
  transform: translateX(-50%) translateY(-8px);
}

.awards__badge img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.awards__label {
  position: absolute;
  left: 50%;
  bottom: 21px;
  transform: translateX(-50%);
  color: var(--color-dark-700);
  text-align: center;
  white-space: nowrap;
}

/* ============ Mobile ≤767px — Figma 283:2902 ============ */
@media (max-width: 767px) {
  .awards {
    height: auto;
    min-height: 0;
    border-radius: 40px;
    padding: 48px 16px 36px;
  }

  .awards__header {
    position: static;
    transform: none;
    width: 100%;
  }

  .awards__title {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -2.24px;
    white-space: normal;
  }

  .awards__title-word::after {
    top: 24.01px;
    height: 13.973px;
  }

  .awards__row {
    position: static;
    height: auto;
    padding: 0;
    margin-top: 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* Кнопок пагинации в мобильном макете нет */
  .awards__nav {
    display: none;
  }

  .awards__list {
    height: auto;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  /* Ряд: бейдж и подпись в строку, скругления чередуются зеркально */
  .awards__item {
    display: flex;
    align-items: center;
    gap: 48px;
    width: 100%;
    height: auto;
    min-height: 124px;
    min-width: 0;
    margin: 0 0 -1px;
    padding: 8px;
    border-radius: 100px 32px 32px 100px;
  }

  .awards__item:nth-child(even) {
    flex-direction: row-reverse;
    border-radius: 32px 100px 100px 32px;
  }

  .awards__item:last-child {
    margin-bottom: 0;
  }

  .awards__badge {
    position: static;
    transform: none;
    width: 108px;
    height: 108px;
    padding: 6.27px;
    flex-shrink: 0;
  }

  .awards__item:hover .awards__badge {
    transform: none;
  }

  .awards__label {
    position: static;
    transform: none;
    width: 126px;
    white-space: normal;
    line-height: 20px;
    text-align: center;
  }
}
