/* ============================================
   TEST DRIVE — fullwidth фон + параллакс
   ============================================ */

.testdrive-section {
  position: relative;
  width: 100%;
  min-height: 560px;
  padding: 100px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ============ ФОН С ПАРАЛЛАКСОМ ============ */
.testdrive-bg {
  position: absolute;
  inset: -15% 0;        /* запас сверху/снизу для сдвига */
  z-index: 0;
  will-change: transform;
}

.testdrive-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============ ЗАТЕМНЕНИЕ ДЛЯ ЧИТАЕМОСТИ ============ */
.testdrive-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* ============ КОНТЕНТ ============ */
.testdrive-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.testdrive-content {
  max-width: 560px;
  color: #fff;
}

.testdrive-title {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.testdrive-title .accent {
  color: #ff3b4e;
}

.testdrive-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* ============ ФОРМА ============ */
.testdrive-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.td-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.testdrive-form input[type="text"],
.testdrive-form input[type="tel"] {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.testdrive-form input::placeholder {
  color: #888;
}

.testdrive-form input:focus {
  background: #fff;
  border-color: #c1121f;
}

.td-submit {
  padding: 17px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #c1121f;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(193, 18, 31, 0.4);
}

.td-submit:hover {
  background: #a30e1a;
  box-shadow: 0 8px 30px rgba(193, 18, 31, 0.55);
}

.td-submit:active {
  transform: scale(0.98);
}

/* ============ СОГЛАСИЕ ============ */
.td-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  cursor: pointer;
  margin-top: 4px;
}

.td-agree input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #c1121f;
  cursor: pointer;
  flex-shrink: 0;
}

.td-agree a {
  color: #fff;
  text-decoration: underline;
}

.td-agree a:hover {
  color: #ff3b4e;
}

/* ============ АДАПТИВ ============ */
@media (max-width: 768px) {
  .testdrive-section {
    min-height: 480px;
    padding: 70px 0;
  }
  .testdrive-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.7) 100%
    );
  }
  .testdrive-title {
    font-size: 30px;
  }
  .td-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .testdrive-title {
    font-size: 26px;
  }
  .testdrive-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }
}