.first.md-has-offers .first__bg .main-bg,
.first.md-has-offers .first__bg .second-bg {
  display: none;
}
.first.md-has-offers .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3vw;
}
.first.md-has-offers .first__content {
  flex: 0 1 40vw;
  min-width: 0;
}
.first.md-has-offers .first__title {
  width: auto;
}
.first.md-has-offers .first__bullets {
  max-width: 100%;
}

.hero-offers {
  --ch: clamp(225px, 16vw, 300px);
  flex: 0 0 36vw;
  position: relative;
  padding-right: 2.2vw;
}
.hero-offers__stack {
  position: relative;
  height: calc(var(--ch) * 1.95);
  perspective: 1400px;
}
.hero-offers__card {
  --oc: var(--main-color, #3b6fd8);
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: var(--ch);
  margin-top: calc(var(--ch) / -2);
  display: flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--r-card);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.28);
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.75s, filter 0.75s;
  will-change: transform;
}
.hero-offers__card.is-active {
  transform: none;
  opacity: 1;
  z-index: 3;
}
.hero-offers__card.is-prev,
.hero-offers__card.is-next {
  opacity: 0.5;
  z-index: 2;
  cursor: pointer;
  filter: saturate(0.5);
}
.hero-offers__card.is-prev {
  transform: translateY(-56%) scale(0.84) rotateX(16deg) rotate(-3deg);
}
.hero-offers__card.is-next {
  transform: translateY(56%) scale(0.84) rotateX(-16deg) rotate(3deg);
}
.hero-offers__card.is-hidden {
  transform: scale(0.7);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-offers__card:not(.is-active) .hero-offers__btn {
  pointer-events: none;
}

.hero-offers__body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 1.6vw, 30px);
}
.hero-offers__label {
  margin-bottom: 0.5em;
  font-size: clamp(10px, 0.68vw, 13px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--oc);
}
.hero-offers__title {
  font-size: clamp(15px, 1.12vw, 22px);
  line-height: 1.3;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 0.8em;
}
.hero-offers__title:has(+ .hero-offers__sub) {
  margin-bottom: 0.4em;
}
.hero-offers__sub {
  margin-bottom: 12px;
  font-size: clamp(12px, 0.8vw, 15px);
  line-height: 1.4;
  color: #5b6472;
}
.hero-offers__points {
  display: grid;
  gap: clamp(5px, 0.4vw, 8px);
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.hero-offers__points li {
  position: relative;
  padding-left: 1.6em;
  font-size: clamp(12px, 0.8vw, 15px);
  line-height: 1.35;
  color: #374151;
}
.hero-offers__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: var(--oc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.hero-offers__text {
  font-size: clamp(12px, 0.85vw, 16px);
  line-height: 1.45;
  color: #5b6472;
}
.hero-offers__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-offers__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  white-space: nowrap;
}
.hero-offers__price s {
  font-size: clamp(11px, 0.72vw, 14px);
  color: #9aa3b0;
}
.hero-offers__price b {
  font-size: clamp(17px, 1.4vw, 28px);
  font-weight: 700;
  color: var(--oc);
}
.hero-offers__btn {
  white-space: nowrap;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.7em 1.3em;
  border: 0;
  background: #1c1c1c;
  color: #fff;
  font: inherit;
  font-size: clamp(12px, 0.8vw, 15px);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.hero-offers__btn:hover {
  background: var(--oc);
  color: #fff;
}
.hero-offers__btn svg {
  width: 0.9em;
  height: 0.9em;
  color: var(--oc);
  transition: color 0.2s;
}
.hero-offers__btn:hover svg {
  color: #fff;
}

.hero-offers__visual {
  position: relative;
  flex: 0 0 26%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-offers__visual::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 38%;
  width: 34%;
  border-radius: 100px;
  background: var(--oc);
  opacity: 0.9;
  transform: rotate(-24deg);
}
.hero-offers__visual img {
  position: relative;
  z-index: 1;
  width: 90%;
  height: 80%;
  object-fit: contain;
}
.hero-offers__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 28%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--oc);
  transform: rotate(-8deg);
}
.hero-offers__icon svg {
  width: 56%;
  height: 56%;
}

.hero-offers__dots {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-offers__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 28, 28, 0.35);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.hero-offers__dot.is-active {
  background: var(--main-color, #3b6fd8);
  border-color: var(--main-color, #3b6fd8);
  transform: scale(1.25);
}
.first.md-dark-bg .hero-offers__dot {
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-offers.is-single .hero-offers__stack {
  height: calc(var(--ch) * 1.2);
}
.hero-offers.is-pair .hero-offers__stack {
  height: calc(var(--ch) * 1.55);
}
.hero-offers.is-pair .hero-offers__card.is-active {
  transform: translateY(-14%);
}
.hero-offers.is-pair .hero-offers__card.is-next {
  transform: translateY(40%) scale(0.84) rotateX(-16deg) rotate(3deg);
}

@media (prefers-reduced-motion: reduce) {
  .hero-offers__card {
    transition: opacity 0.3s;
  }
}

@media only screen and (max-width: 768px) {
  .first.md-has-offers {
    padding-bottom: 8vw;
  }
  .first.md-has-offers .wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .first.md-has-offers .first__content {
    flex: none;
    width: 100%;
  }
  .hero-offers {
    --ch: 62vw;
    flex: none;
    width: 100%;
    padding-right: 0;
    margin-top: 6vw;
  }
  .hero-offers__stack {
    height: calc(var(--ch) * 1.55);
  }
  .hero-offers__card.is-prev {
    transform: translateY(-30%) scale(0.86) rotate(-2deg);
  }
  .hero-offers__card.is-next {
    transform: translateY(30%) scale(0.86) rotate(2deg);
  }
  .hero-offers__body {
    padding: 5vw;
  }
  .hero-offers__title {
    font-size: 4.3vw;
  }
  .hero-offers__label {
    font-size: 2.8vw;
  }
  .hero-offers__text,
  .hero-offers__sub,
  .hero-offers__points li {
    font-size: 3.4vw;
  }
  .hero-offers__btn {
    font-size: 3.4vw;
  }
  .hero-offers__price b {
    font-size: 5.2vw;
  }
  .hero-offers__price s {
    font-size: 3vw;
  }
  .hero-offers__visual {
    flex-basis: 34%;
  }
  .hero-offers__dots {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin-top: 3vw;
  }
  .hero-offers__dot {
    width: 10px;
    height: 10px;
  }
}
