.new-way {
  padding: 80px 0 107px;
  border-bottom: 1px solid #181818;

  @media (max-width: 1024px) {
    padding: 60px 0;
  }

  ul {
    list-style: none;
    margin: 0;
    display: grid;
    gap: 21px;
    @media (max-width: 1024px) {
      gap: 14px;
    }
  }

  li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    @media (max-width: 1024px) {
      gap: 14px;
    }
  }
}

.new-way-top {
  max-width: 1141px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 57px;

  @media (max-width: 1024px) {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 40px;
  }

  h2 {
    font-family: var(--ff-secondary);
    font-weight: 700;
    font-size: 75px;
    line-height: 0.9;
    letter-spacing: -2px;
    color: #181818;
    margin: 0 0 24px 0;
  }

  p {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #181818;
  }
}

.process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 130px;
  max-width: 980px;
  margin: 0 auto;

  @media (max-width: 1024px) {
    gap: 60px;
  }

  .pricing-package_title_wrap {
    position: relative;
    white-space: nowrap;
  }

  .pricing-package_title_wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 65px;
    height: 1px;
    background: #181818;
    z-index: 0;

    @media (max-width: 1024px) {
      width: 41px;
    }
  }
}

.process ul {
  display: grid;
  width: 100%;
  position: relative;
}

.process li {
  position: relative;
}

.process li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #181818;
  transform: translateY(-50%);
  z-index: 0;
}

.process li > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .process li > :nth-last-child(-n + 2) {
    display: none;
  }
}

.process ul::before {
  content: '';
  position: absolute;
  top: 26px;
  bottom: 24px;
  left: -65px;
  width: 1px;
  background: #181818;
  z-index: 0;

  @media (max-width: 1024px) {
    top: 13px;
    bottom: 11px;
    left: -20px;
  }
}

.process li::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -65px;
  transform: translateY(-50%);
  width: 65px;
  height: 1px;
  background: #181818;
  z-index: 0;

  @media (max-width: 1024px) {
    left: -20px;
  }
}
