.testdrive {
  padding: 50px 0 48px;
  background: var(--c-bg);
}

.testdrive__box {
  display: flex;
  max-width: 1090px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.testdrive__pic {
  position: relative;
  width: 48%;
  min-height: 320px;
}

.testdrive__pic img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testdrive__body {
  position: relative;
  width: 52%;
  padding: 80px 45px;
  overflow: hidden;
  background: linear-gradient(141deg, #000 0%, #00647a 100%);
}

.testdrive__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.testdrive__lead {
  margin-top: 15px;
  font-size: 18px;
  line-height: 1.2;
}

.testdrive__form {
  margin-top: 20px;
}

.testdrive__row {
  margin-bottom: 16px;
}

.testdrive__input {
  display: block;
  width: 100%;
  height: 47px;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #000;
  background: #fff;
  border: 1px solid #cccccd;
  outline: none;
}

.testdrive__input::placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

.testdrive__input.is-invalid {
  border-color: #ff7a7a;
}

.testdrive__error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #ffb3b3;
}

.testdrive__error:empty {
  display: none;
}

.testdrive__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 32px;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  background: #000;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.testdrive__btn:hover {
  background: #00647a;
}

.testdrive__btn:disabled {
  opacity: 0.65;
  cursor: default;
}

.testdrive__success {
  margin-top: 20px;
  color: #fff;
}

.testdrive__agree {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 15px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  color: #fff;
  cursor: pointer;
}

.testdrive__check {
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  background: transparent;
  border: 1px solid #fff;
  cursor: pointer;
}

.testdrive__check:checked {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1.5 6.2l3 3.1 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.testdrive__check.is-invalid {
  outline: 2px solid #ff7a7a;
  outline-offset: 2px;
}

.testdrive__agree a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testdrive__agree a:hover {
  text-decoration-color: transparent;
}

@media (max-width: 996px) {
  .testdrive__box {
    display: block;
  }

  .testdrive__pic,
  .testdrive__body {
    width: 100%;
  }

  .testdrive__pic {
    height: 240px;
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  .testdrive__body {
    padding: 20px;
  }
}
