/* ================= FINANCING PAGE ================= */

.hero-financing {
  min-height: 55vh;
}

/* ===============================
   FINANCING SECTION
================================ */
.financing-section {
  padding: 70px 0;
  background: #f8f9fb;
}

.financing-container {
  max-width: 820px;
  margin: auto;
}

.btn.next {
  margin-top: 20px;
}

/* ===============================
   FORM WRAPPER
================================ */
.financing-form {
  background: #ffffff;
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ===============================
   PROGRESS BAR
================================ */
.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 25%;
  background: var(--navy);
  transition: width 0.3s ease;
}

/* ===============================
   STEPS
================================ */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--navy);
}

/* ===============================
   GRID
================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ===============================
   INPUTS
================================ */
.financing-form input,
.financing-form select,
.financing-form textarea {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 16px; /* iPhone zoom FIX */
  background: #ffffff;
}

.financing-form textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.financing-form input:focus,
.financing-form select:focus,
.financing-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

/* ===============================
   CAR PREVIEW
================================ */
/* STEP 4 Car Preview */
.selected-car-preview {
  grid-column: 1 / -1;
  text-align: center;
  background: #f0f8ff;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--navy);
}

.selected-car-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

#car-info p {
  margin: 4px 0;
  font-size: 15px;
  color: var(--navy);
}

/* Responsive already handled by .form-grid */
@media (max-width: 600px) {
  #car-info {
    font-size: 14px;
  }
  .btn.next {
    margin-top: 20px;
    align-items: center;
  }
}

/* ===============================
   BUTTONS
================================ */
.buttons {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  flex: 1;
  height: 56px;
  border-radius: 14px;
  background: var(--navy);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: var(--red);
}

.btn.submit {
  background: var(--navy);
}

/* ===============================
   STATUS
================================ */
.form-status {
  margin-top: 15px;
  font-weight: 500;
  text-align: center;
}

/* ===============================
   RESPONSIVE
================================ */
@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .btn.next {
    margin-top: 20px;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .financing-form {
    padding: 22px;
  }

  .btn.next {
    margin-top: 20px;
    align-items: center;
  }

  .buttons {
    flex-direction: column;
  }
}
