.main-page__header-top {
  opacity: 1;
}

.avtopark-header {
  padding: 98px 0 40px 0;
  background: var(--back-blue);
}

.avtopark-title {
  margin-bottom: 60px;
  margin-top: 32px;
  font-size: 40px;
}

.avtopark-subtitle {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #6a7989;
  max-width: 774px;
}

section {
  padding: 0 0 100px 0;
}

main {
  background: #fff;
  padding-top: 100px;
}

.avtopark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 60px;
}

.avtopark-grid__item .item-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #32465a;
  margin-bottom: 12px;
}
.avtopark-grid__item .item-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #6a7989;
  margin-bottom: 24px;
}
.avtopark-grid__item .item-inner {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}
.avtopark-grid__item .item-img {
  max-height: 244px;
}
.avtopark-grid__item .item-img img {
  max-width: 100%;
}
.avtopark-grid__item .item-params {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 368px;
}
.avtopark-grid__item .item-params .item-param__name {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #a9b1bc;
  margin-bottom: 4px;
}
.avtopark-grid__item .item-params .item-param__stat {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #6a7989;
}
.avtopark-grid__item .item-btn {
  margin-right: 29px;
  width: 189px;
  min-width: 189px;
}
.avtopark-grid__item:nth-child(4) .item-img img {
  transform: translate(-14px, -32px);
}

.avtopark-how__title {
  margin-bottom: 60px;
}

.avtopark-how__items {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.avtopark-line {
  position: absolute;
  top: 79px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.avtopark-how__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 295px;
  height: 158px;
  margin-bottom: 28px;
}
.avtopark-how__item .item-back {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  pointer-events: none;
}
.avtopark-how__item .item-number {
  font-weight: 700;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  background: #3579f4;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  margin-right: 22px;
  margin-top: 28px;
}
.avtopark-how__item .item-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #32465a;
  margin-bottom: 12px;
}
.avtopark-how__item .item-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #6a7989;
  width: 190px;
}
.avtopark-how__item .item-inner {
  margin-top: 19px;
}

.avtopark-how__bottom {
  display: flex;
  align-items: center;
}

.avtopark-how__bottom-btn {
  margin-right: 32px;
  width: 231px;
  min-width: 231px;
}

.avtopark-how__bottom-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #6a7989;
}

.avtopark-line__between {
  position: absolute;
  bottom: -48px;
  left: 15px;
  z-index: -1;
  display: none;
}

@media (max-width: 920px) {
  .avtopark-how__items {
    flex-direction: column;
    align-items: center;
  }
  .avtopark-line {
    display: none;
  }
  .avtopark-line__between {
    display: block;
  }
}
@media (max-width: 768px) {
  section {
    padding-top: 0 !important;
  }
  .avtopark-header {
    padding-bottom: 20px;
  }
  .avtopark-how__items {
    margin-bottom: 12px;
  }
  .avtopark-title,
  .avtopark-how__title {
    margin-bottom: 40px;
  }
  .avtopark-subtitle {
    font-size: 14px;
    line-height: 140%;
  }
  .avtopark-grid {
    grid-template-columns: 1fr;
  }
  .avtopark-grid .item-img {
    max-width: 467px;
  }
  .avtopark-grid .item-inner {
    flex-direction: column;
    align-items: start;
  }
  .avtopark-grid .item-params {
    margin-bottom: 24px;
  }
  .avtopark-grid .item-title {
    font-size: 24px;
  }
}
@media (max-width: 568px) {
  .avtopark-how__bottom {
    flex-direction: column;
    align-items: center;
  }
  .avtopark-how__bottom-btn {
    margin-right: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
  }
  .avtopark-how__bottom-text {
    text-align: center;
  }
}