/* ========== QUOTE REVIEW PAGE STYLES: CarBrokerCanada ========== */
/* Page-scoped rules for /car-quote-review. The form, payment and thank-you
   rules are copied from index.html's inline styles so the page renders
   exactly like the main intake form. Shared nav/footer live in styles.css;
   hero, article and FAQ styles live in landing.css. */

/* ========== SECTION TITLES ========== */
.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
}
.section-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
  color: #555;
  font-size: 1.05rem;
}

/* ========== HERO ADDITIONS ========== */
.landing-hero .hero-cta {
  margin-top: 28px;
}
.landing-hero .hero-trust {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 16px auto 0;
}

/* ========== WHAT WE CHECK (card style mirrors the homepage guarantee cards) ========== */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 24px 0 8px;
}
@media (max-width: 600px) {
  .check-grid {
    grid-template-columns: 1fr;
  }
}
.check-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border-top: 4px solid #c8a96e;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.check-card h3 {
  font-size: 1.1rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  margin: 0 0 8px;
  color: #07172e;
}
.check-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========== TIP BOX ADDITION ========== */
.tip-box p + p {
  margin-top: 10px;
}

/* ========== FORM SECTION ========== */
.quote-form-section {
  background: #fff;
  padding: 80px 0;
}
#quote-form {
  scroll-margin-top: 88px;
}
.bc-notice {
  background: #fff3cd;
  border: 1px solid #ffd666;
  border-radius: 10px;
  padding: 16px 24px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: #856404;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-container {
  max-width: 720px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: #07172e;
}
.form-group label .required {
  color: #d42b2b;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0dbd3;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: #fff;
  color: #07172e;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #c8a96e;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.form-section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0dbd3;
  color: #07172e;
}
.form-help {
  font-size: 0.82rem;
  color: #777;
  margin: -8px 0 16px;
  line-height: 1.5;
}
.bc-inline-warning,
.form-notice {
  display: none;
  background: #fff3cd;
  border: 1px solid #ffd666;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #856404;
}
.form-notice {
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
}
.bc-inline-warning.show,
.form-notice.show {
  display: block;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #d42b2b;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.checkbox-group label {
  font-size: 0.88rem;
  font-weight: 400;
  margin-bottom: 0;
  color: #555;
}
.checkbox-group label a {
  color: #d42b2b;
  text-decoration: underline;
}

/* ========== PAYMENT SECTION ========== */
.payment-section {
  background: #f9f8f5;
  padding: 32px;
  border-radius: 12px;
  margin-top: 32px;
  border: 2px solid #e0dbd3;
}
.payment-summary {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  margin-bottom: 24px;
  border: 1px solid #e0dbd3;
}
.payment-summary h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.payment-summary h4 span {
  color: #d42b2b;
}
.payment-summary ul {
  margin-bottom: 12px;
}
.payment-summary li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  color: #555;
}
.payment-summary li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c8a96e;
  font-weight: 700;
}
.btn-pay {
  width: 100%;
  padding: 18px;
  background: #d42b2b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
  margin-top: 16px;
}
.btn-pay:hover {
  background: #b82424;
  transform: translateY(-1px);
}
.secure-note {
  text-align: center;
  font-size: 0.82rem;
  color: #888;
  margin-top: 12px;
}
.secure-note-detail {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #999;
}

/* ========== THANK YOU PAGE ========== */
.thank-you {
  display: none;
  min-height: 100vh;
  padding: 120px 24px 80px;
  text-align: center;
}
.thank-you.active {
  display: block;
}
.thank-you-card {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 48px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(7, 23, 46, 0.08);
}
.thank-you-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}
.thank-you .thank-you-title {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #07172e;
}
.thank-you .subtext {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.thank-you-steps {
  text-align: left;
  margin-bottom: 32px;
}
.thank-you-steps ol {
  list-style: none;
  counter-reset: steps;
}
.thank-you-steps li {
  counter-increment: steps;
  padding: 12px 0 12px 48px;
  position: relative;
  border-bottom: 1px solid #eee;
  font-size: 0.93rem;
  color: #444;
}
.thank-you-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  background: #07172e;
  color: #c8a96e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.thank-you .email-note {
  background: #f9f8f5;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #555;
}
.thank-you .thank-you-steps a,
.thank-you .email-note a {
  color: #d42b2b;
  font-weight: 600;
  text-decoration: underline;
}
.btn-home {
  display: inline-block;
  padding: 14px 36px;
  background: #07172e;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-family: "DM Sans", sans-serif;
  transition: background 0.3s;
}
.btn-home:hover {
  background: #0d2444;
}
