.service__top {
  gap: 80px;
}

.service_image {
  width: calc(50% - 40px);
  height: 390px;
}

.offers {
  overflow: hidden;
  padding: 1px;
  width: calc(100% + 92px + 24px);
  margin-left: -24px;
  padding-left: 24px;
  position: relative;
  padding-right: 92px;
}

.offers::before {
  content: "";
  display: block;
  width: 24px;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
  background: -webkit-gradient(linear, left top, right top, from(var(--background)), to(rgba(0, 0, 0, 0)));
  background: -o-linear-gradient(left, var(--background), rgba(0, 0, 0, 0));
  background: linear-gradient(to right, var(--background), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.offers::after {
  content: "";
  display: none;
  width: 24px;
  height: 100%;
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 10;
  background: -webkit-gradient(linear, right top, left top, from(var(--background)), to(rgba(0, 0, 0, 0)));
  background: -o-linear-gradient(right, var(--background), rgba(0, 0, 0, 0));
  background: linear-gradient(to left, var(--background), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.offer {
  width: 408px;
  height: auto;
}

.provides {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}

.step {
  width: 100%;
  position: relative;
}

.step::after {
  content: "";
  display: block;
  width: 44px;
  height: 80px;
  position: absolute;
  top: calc(100% - 24px);
  left: 118px;
  background: url("../img/icons/step-arrow-2.svg") center center/contain no-repeat;
}

.step:last-child::after {
  display: none;
}

.map_block__map {
  height: 88vh;
  overflow: hidden;
  border-radius: 8px;
}

.price_table_wrap {
  max-height: 80vh;
  overflow: hidden auto;
  padding-right: 16px;
  margin-bottom: var(--paragrapg_bottom);
}

.price_table_wrap th {
  text-align: center;
}

.price_table_wrap .scroll-table {
  margin-bottom: 0;
}

.price_table_wrap td:first-child {
  width: 80px;
}
.price_table_wrap td:first-child br {
  display: none;
}

.price_table_wrap td:nth-child(3),
.price_table_wrap td:nth-child(4),
.price_table_wrap td:nth-child(5) {
  width: 190px;
}

.block_mikro {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 8px;
}

.nds {
  color: var(--accent_2);
}

.show-nds .nds {
  color: var(--text);
}

.show-nds .nonds {
  color: var(--accent_2);
}

@media (min-width: 1601px) {
  .steps-3 .step {
    width: calc((100% + 32px) / 3 - 32px);
  }

  .steps-3 .step::before {
    content: "";
    display: block;
    width: 182px;
    height: 91px;
    position: absolute;
    top: auto;
    left: auto;
    bottom: calc(100% - 20px);
    right: calc(100% - 88px);
    background: url("../img/icons/step-arrow-1.svg") bottom right/contain no-repeat;
  }

  .steps-3 .step:nth-child(1)::before {
    display: none;
  }

  .steps-3 .step:nth-child(2) {
    margin-top: 80px;
  }

  .steps-3 .step:nth-child(3) {
    margin-top: 160px;
  }

  .steps-3 .step::after {
    display: none;
  }

  .steps-4 {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: calc((100% + 32px) / 3 - 32px) calc((100% + 32px) / 3 - 32px) calc((100% + 32px) / 3 - 32px);
    grid-template-columns: calc((100% + 32px) / 3 - 32px) calc((100% + 32px) / 3 - 32px) calc((100% + 32px) / 3 - 32px);
    -ms-grid-rows: 124px auto auto auto;
    grid-template-rows: 124px auto auto auto;
  }

  .steps-4 .step::before {
    content: "";
    display: block;
    width: 120px;
    height: 120px;
    position: absolute;
    background: url("../img/icons/step-arrow-3.svg") bottom right/contain no-repeat;
  }

  .steps-4 .step:nth-child(1) {
    -ms-grid-row: 2;
    -ms-grid-row-span: 2;
    grid-row: 2/4;
  }

  .steps-4 .step:nth-child(1)::before {
    display: none;
  }

  .steps-4 .step:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    grid-row: 1/3;
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .steps-4 .step:nth-child(2)::before {
    top: 60px;
    left: auto;
    right: calc(100% + 32px);
  }

  .steps-4 .step:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-row-span: 2;
    grid-row: 2/4;
    -ms-grid-column: 3;
    grid-column: 3;
  }

  .steps-4 .step:nth-child(3)::before {
    top: -100px;
    left: 0;
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
  }

  .steps-4 .step:nth-child(4) {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 3;
    -ms-grid-row-span: 2;
    grid-row: 3/5;
  }

  .steps-4 .step:nth-child(4)::before {
    top: 32px;
    left: calc(100% + 32px);
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
  }

  .steps-4 .step::after {
    display: none;
  }
}

@media (max-width: 1600px) {
  .service__top {
    gap: 48px;
  }

  .service_image {
    width: 100%;
    height: 480px;
  }

  .provides {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .provide:last-child {
    -ms-grid-column-span: 2;
    grid-column: 2 span;
  }

  .step {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  .step__title br {
    display: none;
  }
}

@media (max-width: 1400px) {
  .offers {
    width: calc(100% + 44px + 24px);
    padding-right: 44px;
  }
}

@media (max-width: 1024px) {
  .service_image {
    height: 56vw;
  }

  .provide {
    -ms-grid-column-span: 2;
    grid-column: 2 span;
  }

  .map_block__map {
    height: 50vh;
  }

  .price_table_wrap td:nth-child(4),
  .price_table_wrap td:nth-child(5) {
    display: none;
  }

  .price_table_wrap td:nth-child(2) {
    width: 300px;
  }

  .show-nds tbody td:nth-child(3) {
    display: none;
  }

  .show-nds tbody td:nth-child(5) {
    display: table-cell;
  }
}

@media (max-width: 900px) {
  .offers {
    width: calc(100% + 48px);
    padding-right: 24px;
  }

  .offers::after {
    display: block;
  }

  .offer {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .service__top {
    gap: 24px;
  }

  .offers {
    width: calc(100% + 48px);
  }

  .step::after {
    display: none;
  }
}