/* Promos — Акции и предложения */

.promos {
  width: 100%;
  background-color: #ffffff;
}

.promos__inner {
  width: 100%;
  max-width: 1425px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 0 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: stretch;
}

.promos__header {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.promos__title-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.promos__tag {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: #051133;
}

.promos__title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 61px;
  line-height: 1.1;
  color: #051133;
  margin: 0;
}

.promos__lead {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: #051133;
  margin: 0;
  max-width: 720px;
}

.promos__slider {
  position: relative;
  width: 100%;
  min-width: 0;
}

.promos__swiper {
  width: 100%;
  max-width: 1425px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.promos__swiper .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.promos__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.promos__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 300px;
  padding: 24px 20px 20px;
  border-radius: 10px;
  color: #ffffff;
  overflow: hidden;
  flex: 1 1 auto;
  isolation: isolate;
}

.promos__panel--light {
  color: #051133;
}

.promos__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.promos__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promos__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    var(--promo-color, #0040bf) 18%,
    color-mix(in srgb, var(--promo-color, #0040bf) 78%, transparent) 48%,
    rgba(5, 17, 51, 0.35) 100%
  );
}

.promos__panel--light .promos__overlay {
  background: linear-gradient(
    100deg,
    rgba(242, 242, 242, 0.96) 16%,
    rgba(242, 242, 242, 0.82) 46%,
    rgba(242, 242, 242, 0.35) 100%
  );
}

.promos__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 100%;
  flex: 1 1 auto;
}

.promos__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.promos__card-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.promos__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.promos__link-wrap {
  margin-top: auto;
  padding-top: 8px;
}

.promos__link {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.promos .promos__link:hover {
  color: #051133;
  text-decoration-color: #051133;
}

.promos__panel--light .promos__link {
  color: #FF840B;
}

.promos .promos__panel--light .promos__link:hover {
  color: #051133;
  text-decoration-color: #051133;
}

.promos .promos__link--hover-orange:hover {
  color: #ff840b;
  text-decoration-color: #ff840b;
}

.promos__price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: #051133;
  letter-spacing: -0.32px;
}

.promos__swiper-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 30px;
  min-height: 45px;
}

.promos__pagination.swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.promos__pagination .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 !important;
  background: #051133;
  opacity: 0.35;
}

.promos__pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.promos__arrows {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.promos__arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #051133;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 0.2s ease-in-out;
}

.promos__arrow:not(.swiper-button-disabled):hover {
  background-color: #ff840b;
}

.promos__arrow.swiper-button-disabled {
  background: #d9d9d9;
  color: #999999;
  cursor: default;
  pointer-events: none;
}

.promos__arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

@media screen and (min-width: 1201px) {
  .promos__inner {
    padding-left: 72.5px;
    padding-right: 72.5px;
  }

  .promos__header {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .promos__card-title {
    font-size: 36px;
  }

  .promos__text {
    gap: 60px;
  }
}

@media screen and (max-width: 1200px) {
  .promos__inner {
    gap: 40px;
    padding-left: 20px;
    padding-right: 20px;
    overflow: visible;
  }

  .promos__header {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .promos__title {
    font-size: 48px;
  }

  .promos__slider {
    display: block;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .promos .promos__swiper {
    position: relative;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 2.5rem;
    box-sizing: border-box;
  }

  .promos__swiper .swiper-wrapper {
    align-items: stretch;
  }

  .promos__swiper-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    justify-content: space-between;
    margin-top: 0;
    min-height: auto;
    box-sizing: border-box;
    z-index: 2;
  }
}

@media screen and (max-width: 767px) {
  .promos__inner {
    padding: 4rem var(--page-gutter) 4rem;
    gap: 2rem;
    overflow: visible;
  }

  .promos__header {
    gap: 1rem;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .promos__title-block {
    gap: 1rem;
  }

  .promos__tag {
    font-size: 1rem;
  }

  .promos__title {
    font-size: 2rem;
  }

  .promos__lead {
    font-size: 1rem;
    line-height: 1.2;
  }

  .promos__panel {
    min-height: auto;
    padding: 20px;
  }

  .promos__media img {
    object-position: center top;
  }

  .promos__overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 17, 51, 0.2) 0%,
      color-mix(in srgb, var(--promo-color, #0040bf) 88%, transparent) 38%,
      var(--promo-color, #0040bf) 100%
    );
  }

  .promos__panel--light .promos__overlay {
    background: linear-gradient(
      180deg,
      rgba(242, 242, 242, 0.35) 0%,
      rgba(242, 242, 242, 0.88) 42%,
      rgba(242, 242, 242, 0.96) 100%
    );
  }

  .promos__card-title {
    font-size: 1.25rem;
  }

  .promos__text {
    gap: 16px;
  }

  .promos__desc {
    font-size: 0.875rem;
  }

  .promos__swiper-footer {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .promos__pagination.swiper-pagination {
    width: 100%;
    justify-content: center;
  }

  .promos__arrows {
    display: none;
  }

  .promos__arrow {
    width: 36px;
    height: 36px;
  }
}
