body.ozon { --stage: #005bff; --stage-2: #7aabff; }
body.wb { --stage: #cb11ab; --stage-2: #f08ad4; }

.stage {
  position: relative;
  margin: 18px 0 8px;
}
.stage-viewport { position: relative; }
.stage-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  min-height: 340px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, var(--stage) 0%, var(--stage-2) 100%);
  opacity: 0;
  visibility: hidden;
}
.stage-slide.is-on {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.stage-slide:not(.has-photo) { grid-template-columns: 1fr; }
.stage-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 48px 46px 78px;
  max-width: 640px;
}
.stage-copy h1,
.stage-copy h2 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.stage-copy p {
  margin: 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.45;
}
.stage-cta {
  align-self: flex-start;
  margin-top: 18px;
  background: #fff;
  color: var(--stage);
  text-decoration: none;
  font-weight: 800;
  border-radius: 14px;
  padding: 13px 20px;
}
.stage-cta:hover { transform: translateY(-1px); }
.stage-photo { position: relative; min-height: 100%; }
.stage-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--stage) 0%, rgba(0, 0, 0, 0) 46%);
}
.stage-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
}
.stage-arrow::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--stage);
  border-bottom: 2px solid var(--stage);
  inset: 0;
  margin: auto;
}
.stage-prev { left: 14px; }
.stage-next { right: 14px; }
.stage-prev::before { transform: rotate(135deg) translate(-1px, -1px); }
.stage-next::before { transform: rotate(-45deg) translate(-1px, -1px); }
.stage-dots {
  position: absolute;
  left: 44px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.stage-dots button {
  width: 22px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.stage-dots button[aria-current="true"] {
  width: 36px;
  background: #fff;
}

@media (max-width: 800px) {
  .stage-slide,
  .stage-slide.is-on { grid-template-columns: 1fr; min-height: 0; }
  .stage-copy { padding: 22px 20px 48px; }
  .stage-copy h1,
  .stage-copy h2 { font-size: 28px; }
  .stage-photo { min-height: 180px; }
  .stage-photo::after { background: linear-gradient(180deg, var(--stage) 0%, rgba(0, 0, 0, 0) 50%); }
  .stage-arrow { display: none; }
  .stage-dots { left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-slide { transition: none; }
}
