/* ─── HERO ─── */
.hero {
  background: var(--surface);
  padding: 25px 0 40px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--r-lg);
  min-height: 520px;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px 56px 60px;
}

.hero__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__sub {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero__sub--lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Стопка карточек */
.hero__cards {
  position: relative;
  overflow: hidden;
}

.hero__card-img {
  position: absolute;
  width: 62%;
  border-radius: 12px;
  top: 50%;
  left: 50%;
}

.hero__card-img:nth-child(1) {
  transform: translate(-70%, -58%) rotate(-9deg);
  z-index: 1;
}

.hero__card-img:nth-child(2) {
  transform: translate(-30%, -42%) rotate(5deg);
  z-index: 2;
}

.hero__card-img:nth-child(3) {
  transform: translate(-52%, -50%) rotate(-1deg);
  z-index: 3;
}

/* Одна карточка по центру */
.hero__cards--single .hero__card-img {
  width: 72%;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 1;
}

/* ─── STEPS ─── */
.dsc-steps {
  padding: 0 0 40px;
}

.dsc-steps__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
}

.dsc-steps__flow {
  display: flex;
  align-items: stretch;
}

/* Стрелка между шагами */
.dsc-steps__arr {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--muted);
}

/* Карточка шага */
.dsc-step {
  flex: 1;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px 16px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dsc-step__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 10px;
  flex-shrink: 0;
}

.dsc-step__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 5px;
}

.dsc-step__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── PRICING ─── */
.dsc-price {
  padding: 0 0 40px;
}

.dsc-price__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.dsc-price__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}

.dsc-price__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.dsc-price__factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dsc-price__factor {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.dsc-price__factor-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.dsc-price__factor-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── TIMELINE ─── */
.dsc-time {
  padding: 0 0 40px;
}

.dsc-time__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}

.dsc-time__icon {
  width: 64px;
  height: 64px;
  background: var(--red-dim);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

.dsc-time__title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}

.dsc-time__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── BENEFIT (карта лояльности) ─── */
.loy-benefit {
  padding: 0 0 40px;
}

.loy-benefit__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.loy-benefit__stat {
  text-align: center;
  flex-shrink: 0;
}

.loy-benefit__num {
  font-size: clamp(72px, 9vw, 112px);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -2px;
}

.loy-benefit__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.loy-benefit__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}

.loy-benefit__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Адаптив ─── */
@media (max-width: 760px) {
  .loy-benefit__card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 32px;
  }

  .loy-benefit__stat {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 40px 24px 32px;
  }

  .hero__cards {
    height: 280px;
  }

  .dsc-price__card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 32px;
  }

  .dsc-time__card {
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 36px 32px;
  }

  .dsc-time__card .btn {
    grid-column: 1 / -1;
  }
}

/* Steps: вертикаль на мобильных */
@media (max-width: 860px) {
  .dsc-steps__flow {
    flex-direction: column;
    gap: 0;
  }

  .dsc-steps__arr {
    align-self: center;
    width: auto;
    padding-top: 0;
    padding: 4px 0;
    transform: rotate(90deg);
  }

}

@media (max-width: 560px) {
  .hero__cards {
    height: 220px;
  }

  .hero__btns {
    flex-direction: column;
  }

  .hero__btns .btn {
    width: 100%;
    justify-content: center;
  }

  .dsc-price__card {
    padding: 28px 24px;
  }

  .dsc-price__factors {
    grid-template-columns: 1fr;
  }

  .dsc-time__card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .dsc-time__card .btn {
    width: 100%;
    justify-content: center;
  }

  .loy-benefit__card {
    padding: 28px 24px;
  }
}
