.custom-car-hero-section,
.custom-car-hero-section-content,
.benefits-list,
.benefit-item {
  display: flex;
  align-items: center;
}

.custom-car-hero-section {
  justify-content: space-between;
  margin: 64px 0px;
  gap: 20px;
}

.custom-car-hero-section-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 820px;
}

.custom-car-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--red-200);
}

.subtitle {
  font-size: max(16px, min(2vw, 32px));
  font-weight: 600;
}

.benefits-list {
  flex-wrap: wrap;
  gap: 16px;
}

.benefit-item {
  padding: 8px 12px;
  border-radius: 12px;
  background-color: var(--bg-dark-gray);
  gap: 4px;
}

.benefit-item p {
    color: #f7cdd5;
  }

.custom-car-img-wrapper {
  position: relative;
  max-width: 550px;
  width: 100%;
  flex-shrink: 1;
}

.custom-car-img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    -o-object-fit: cover;
       object-fit: cover;
  }

.custom-car-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 24px;
  background: var(--bg-dark-gray);
  transform: translate(24px, -24px);
  z-index: -1;
}

.order-steps-heading,
.custom-car-form-title {
  font-size: max(20px, min(2vw, 32px));
}

.text-red {
  color: var(--red-200);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 70px;
  gap: 70px;
  margin-top: 52px;
}

.order-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.order-step-label {
  padding: 8px 12px;
  border-radius: 100vw;
  background: var(--red-600);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.order-step-description {
  text-wrap: balance;
  font-size: 14px;
}

.custom-car-form-section {
  padding: 64px 0px 32px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 54px;
}

.custom-car-form-section form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    gap: 40px;
    max-width: 980px;
    margin: 0 auto;
  }

.custom-car-form-section form .form-left,
    .custom-car-form-section form .form-right {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

.custom-car-form-section form .form-item {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

.custom-car-form-section form .form-item .visualy-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
      }

.custom-car-form-section form .form-item label {
        font-size: 14px;
        font-weight: 500;
      }

.custom-car-form-section form .form-item input,
      .custom-car-form-section form .form-item textarea {
        padding: 12px 16px;
        align-self: stretch;
        border-radius: 12px;
        border: 1px solid var(--text-gray-light);
        background-color: var(--bg-dark);
        font-size: 16px;
        color: var(--white);
        width: 100%;
      }

.custom-car-form-section form .form-item input::-moz-placeholder, .custom-car-form-section form .form-item textarea::-moz-placeholder {
        color: var(--text-gray-light);
      }

.custom-car-form-section form .form-item input::placeholder,
      .custom-car-form-section form .form-item textarea::placeholder {
        color: var(--text-gray-light);
      }

.custom-car-form-section form .form-item input:active,
      .custom-car-form-section form .form-item textarea:active {
        background-color: var(--bg-dark);
      }

.custom-car-form-section form .form-item textarea {
        resize: none;
        height: 252px;
      }

.custom-car-form-section form button {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 16px 18px;
      align-self: stretch;
      border-radius: 8px;
      background: var(--red-200);
      color: var(--black);
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      text-transform: uppercase;
      border: none;
      margin-bottom: 16px;
    }

.custom-car-form-section form .google-announce-container {
      grid-column: 2;
      margin-top: 16px;
      align-self: start;
    }

.custom-car-form-section form .gdpr-container a {
      color: var(--red-200);
      -webkit-text-decoration: underline;
      text-decoration: underline;
    }

@media (max-width: 1024px) {
  .custom-car-hero-section {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .order-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .custom-car-hero-section {
    margin-top: -48px;
  }
  .custom-car-img-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

    .custom-car-img-wrapper img {
      border-radius: 0px;
    }
  .custom-car-img-wrapper::before {
    display: none;
  }

  .benefits-list {
    gap: 8px;
  }

  .benefit-item {
    width: 100%;
  }

  .order-steps-section {
    padding: 16px 24px;
    border-radius: 16px;
    background: var(--bg-dark-gray);
  }

  .order-step-label {
    white-space: normal;
  }

  .order-steps {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    margin-top: 24px;
  }

  .custom-car-form-section {
    gap: 24px;
  }

  .custom-car-form-section form {
    display: flex;
    flex-direction: column;
  }
}
