/* Блоки "Производство вашего балкона" и "Этапы работ" */
.prod, .stages { padding: 88px 0; background: #fff; }
.prod-inner, .stages-inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }

.blk-title {
  margin: 0 0 56px;
  font-family: 'Open Sans', sans-serif;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
  color: #1c2733;
}

/* без "руки": ни у фото, ни у кнопок в этих блоках */
.prod, .prod *, .stages, .stages * { cursor: default; }

/* производство */
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.prod-grid a { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: #eef3f7; }
.prod-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* этапы */
.stages-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; position: relative; counter-reset: st; }
.stages-list::before { content: ''; position: absolute; left: 10%; right: 10%; top: 50px; height: 2px; background: #dbe6ee; }
.stages-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; counter-increment: st; text-align: center; }
.stages-ico {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #f3f8fc;
  background-image: url(/img/sprite_icons.png);
  background-repeat: no-repeat;
  background-size: 500px 100px;
  border: 6px solid #fff;
  box-shadow: 0 0 0 1px #dbe6ee;
  box-sizing: content-box;
  margin-top: -6px;
}
.stages-ico--0 { background-position: 0 0; }
.stages-ico--1 { background-position: -100px 0; }
.stages-ico--2 { background-position: -200px 0; }
.stages-ico--3 { background-position: -300px 0; }
.stages-ico--4 { background-position: -400px 0; }
.stages-ico::after {
  content: counter(st);
  position: absolute;
  right: -4px;
  top: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1b7fbf;
  color: #fff;
  font: 700 14px/28px 'Open Sans', Arial, sans-serif;
  text-align: center;
}
.stages-name { font-size: 16px; line-height: 1.4; font-weight: 600; color: #1c2733; max-width: 150px; }
.stages-btn { margin: 56px auto 0; display: table; }

@media (max-width: 1000px) {
  .prod, .stages { padding: 56px 0; }
  .blk-title { font-size: 24px; margin-bottom: 32px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .stages-list { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 360px; margin: 0 auto; }
  .stages-list::before { left: 56px; right: auto; top: 50px; bottom: 50px; width: 2px; height: auto; }
  .stages-step { flex-direction: row; text-align: left; gap: 24px; padding: 14px 0; }
  .stages-name { max-width: none; }
  .stages-btn { margin-top: 32px; }
}
