/* css/razrabotka-dizajna.css */

/* ─── HERO ─── */
.kz-hero { padding: 40px 0 40px; }

.kz-hero__card {
  background: var(--white);
  border-radius: var(--r-lg);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 200px;
  align-items: center;
}

.kz-hero__body {
  padding: 40px 48px 40px 56px;
  position: relative;
  z-index: 1;
}

.kz-hero__img-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}

.kz-hero__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  display: block;
  pointer-events: none;
  user-select: none;
}

.kz-hero__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}

.kz-hero__text {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

.kz-hero__text + .kz-hero__text { margin-top: 12px; }

/* ─── ШАГИ (ТЗ) ─── */
.kz-steps-section { padding: 16px 0 0; }

.kz-steps-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  overflow: hidden;
}

.kz-steps-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 28px;
}

.kz-steps-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 36px;
}

.kz-path {
  position: relative;
  padding-left: 88px;
}

.kz-path::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  border-left: 2px dashed var(--red);
  opacity: 0.4;
}

.kz-step {
  position: relative;
  margin-bottom: 44px;
}

.kz-step:last-child { margin-bottom: 0; }

.kz-step__num {
  position: absolute;
  left: -88px;
  top: 8px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--red);
  z-index: 1;
}

.kz-step__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  padding-top: 14px;
  line-height: 1.3;
}

.kz-step__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 680px;
}

.kz-steps-note {
  margin-top: 36px;
  padding-left: 88px;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── ЧТО ВХОДИТ ─── */
.rdd-includes { padding: 16px 0 16px; }

.rdd-includes__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px 320px 48px 56px; /* 260px img + 60px gap */
  position: relative;
}

.rdd-includes__img {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-52%);
  width: 260px;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

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

.rdd-includes__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rdd-includes__list li {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 28px;
  position: relative;
}

.rdd-includes__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

/* ─── ДИЗАЙН ДЛЯ ПОЛИГРАФИИ ─── */
.rdd-extra { padding: 0 0 40px; }

.rdd-extra__card {
  background: #7f7f7f;
  border-radius: var(--r-lg);
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
}

.rdd-extra__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}

.rdd-extra__text {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 28px;
}

.rdd-extra__img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 400px;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  .kz-hero__card        { grid-template-columns: 1fr; min-height: auto; overflow: hidden; }
  .kz-hero__body        { padding: 36px 32px; }
  .kz-hero__img-wrap    { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: auto; border-radius: 0; }
  .kz-hero__img         { height: auto; object-fit: initial; object-position: initial; }
  .kz-steps-card        { padding: 36px 32px; }
  .rdd-includes__card   { padding: 36px 220px 36px 32px; }
  .rdd-includes__img    { width: 180px; right: 12px; }
  .rdd-extra__card      { padding: 36px 32px 0; }
  .rdd-extra__img       { position: relative; right: auto; bottom: auto; width: 100%; max-width: 340px; display: block; margin: 28px auto 0; }
}

@media (max-width: 560px) {
  .kz-hero__body        { padding: 28px 24px; }
  .kz-steps-card        { padding: 28px 24px; }
  .kz-path              { padding-left: 64px; }
  .kz-step__num         { left: -64px; width: 44px; height: 44px; font-size: 14px; }
  .kz-path::before      { left: 21px; }
  .kz-steps-note        { padding-left: 64px; }
  .rdd-includes__card   { padding: 28px 24px; }
  .rdd-includes__img    { display: none; }
  .rdd-extra__card      { padding: 28px 24px 0; }
  .rdd-extra__img       { max-width: 280px; margin-top: 20px; }
}
