/* ─── HERO со слайд-шоу ─── */
.hero {
  background: var(--surface);
  padding: 25px 0 40px;
}

.diz-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--r-lg);
  min-height: 460px;
  position: relative;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px 56px 60px;
  position: relative;
  z-index: 1;
}

.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: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

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

/* Слайд-шоу */
.diz-hero__slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}

.diz-hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.diz-hero__slide.is-active { opacity: 1; }

/* ─── НУЖЕН ДИЗАЙН / ЕСТЬ СВОЙ МАКЕТ ─── */
.diz-fork { padding: 40px 0 0; }

.diz-fork__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.diz-fork__card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Верхняя часть карточки: весь контент с кнопкой */
.diz-fork__body {
  padding: 44px 48px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Нижняя часть: изображение — одинаковая высота в обеих карточках */
.diz-fork__visual {
  height: 384px;
  overflow: hidden;
  flex-shrink: 0;
}

.diz-fork__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.diz-fork__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.diz-fork__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-dim);
  border-radius: 6px;
  padding: 5px 10px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-bottom: 0;
}

/* Лейбл без обёртки head (правая карточка) — нужен отступ снизу */
.diz-fork__body > .diz-fork__label {
  margin-bottom: 18px;
}

.diz-fork__free {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  border-radius: 6px;
  padding: 5px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.diz-fork__free::before { content: '✓'; }

.diz-fork__title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.diz-fork__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

/* Кнопки во fork-карточках — полная ширина, одинаковый размер */
.diz-fork__body .btn {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* ─── КАК ЗАКАЗАТЬ ─── */
.diz-how {
  padding: 16px 0 0;
}

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

.diz-how__card::after {
  content: '';
  position: absolute;
  top: 52px;
  bottom: 52px;
  left: 50%;
  width: 1px;
  background: var(--border);
}


.diz-how__btn {
  margin-top: 24px;
  display: inline-block;
}

.diz-how__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diz-how__step {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.diz-how__step-icon {
  width: 36px;
  height: 36px;
  background: var(--red-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.diz-how__step strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 4px;
}

.diz-how__step span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── ИДЕАЛЬНОЕ ТЗ + СОСТАВИЛИ ТЗ (объединённая карточка) ─── */
.diz-tz { padding: 40px 0; }

.diz-tz__card {
  background: var(--white);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.diz-tz__left {
  padding: 48px 48px;
}

.diz-tz__right {
  padding: 48px 48px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.diz-tz__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diz-tz__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.diz-tz__row-icon {
  width: 36px;
  height: 36px;
  background: var(--red-dim);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.diz-tz__row-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.diz-tz__row-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Правая колонка */
.diz-send__icon {
  width: 60px;
  height: 60px;
  background: var(--red-dim);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
}

.diz-send__title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ink);
}

.diz-send__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.diz-send__contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diz-send__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color .15s;
}

.diz-send__contact:hover { color: var(--red); }

.diz-send__cicons {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--red);
  flex-shrink: 0;
}

.diz-send__cicon {
  display: flex;
  align-items: center;
  color: var(--red);
  flex-shrink: 0;
}

/* ─── ШАГИ ЗАКАЗА ─── */
.dsc-steps { padding: 16px 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: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

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

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

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  .diz-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .diz-hero__slideshow {
    height: 300px;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
  }

  .diz-hero__slide {
    object-fit: contain;
    object-position: center;
  }

  .diz-fork__grid { grid-template-columns: 1fr; }
  .diz-fork__body { padding: 36px 32px 28px; }
  .diz-fork__visual { height: 320px; }

  .diz-how__card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 32px;
  }

  .diz-how__card::after { display: none; }

  .diz-tz__card { grid-template-columns: 1fr; }
  .diz-tz__left  { padding: 36px 32px; }
  .diz-tz__right { padding: 36px 32px; border-left: none; border-top: 1px solid var(--border); }

  .dsc-steps__flow { flex-direction: column; gap: 0; }
  .dsc-steps__arr  { align-self: center; width: auto; padding: 4px 0; transform: rotate(90deg); }
  .dsc-step        { padding: 20px 24px; }
}

@media (max-width: 560px) {
  .hero__btns {
    flex-direction: column;
  }

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

  .diz-how__card {
    padding: 28px 20px;
  }

  .diz-fork__body { padding: 28px 24px 24px; }
  .diz-fork__visual { height: 240px; }

  .diz-tz__left  { padding: 28px 24px; }
  .diz-tz__right { padding: 28px 24px; }

  .dsc-step { padding: 16px 20px; }
}
