﻿/* ─── Section 10: Final Quote Request ─────────────────────────────────────── */

#quote {
  background: #201E1A;
  padding: 80px 0 100px;
}

/* ─── Header ──────────────────────────────────────────────────────────────── */
.qr-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.qr-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #A63D2E;
  margin-bottom: 16px;
}

.qr-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: .03em;
}

.qr-sub {
  font-size: 16px;
  color: #aaa;
  line-height: 1.65;
  margin: 0;
}

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.qr-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .qr-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ─── Trust panel (left) ──────────────────────────────────────────────────── */
.qr-trust {
  position: sticky;
  top: 96px;
}

.qr-trust-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  color: #fff;
  letter-spacing: .04em;
  margin: 0 0 8px;
}

.qr-trust-sub {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin: 0 0 32px;
}

.qr-trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qr-trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.qr-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(166,61,46,.12);
  border: 1px solid rgba(166,61,46,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.qr-trust-icon svg {
  width: 16px;
  height: 16px;
  stroke: #A63D2E;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qr-trust-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 3px;
}

.qr-trust-desc {
  font-size: 13px;
  color: #777;
  margin: 0;
  line-height: 1.5;
}

.qr-trust-divider {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin: 0 0 28px;
}

.qr-steps-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #555;
  margin: 0 0 16px;
}

.qr-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qr-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 20px;
}

.qr-step:last-child {
  padding-bottom: 0;
}

.qr-step::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: #1e1e1e;
}

.qr-step:last-child::before {
  display: none;
}

.qr-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #3C382F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #A63D2E;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.qr-step-text {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  padding-top: 3px;
}

/* ─── Form panel (right) ──────────────────────────────────────────────────── */
.qr-form-panel {
  background: #2A2721;
  border-radius: 24px;
  border: 1px solid #1e1e1e;
  padding: 44px 48px 52px;
}

@media (max-width: 680px) {
  .qr-form-panel { padding: 32px 24px 40px; }
}

.qr-form-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #A63D2E;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1e1e1e;
}

.qr-form-section-title:not(:first-child) {
  margin-top: 36px;
}

.qr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .qr-row { grid-template-columns: 1fr; }
}

.qr-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.qr-field.qr-field-full {
  grid-column: 1 / -1;
}

.qr-label-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #888;
}

.qr-label-text .req {
  color: #A63D2E;
  margin-left: 2px;
}

.qr-input,
.qr-select,
.qr-textarea {
  background: #201E1A;
  border: 1px solid #3C382F;
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.qr-input::placeholder,
.qr-textarea::placeholder {
  color: #444;
}

.qr-input:focus,
.qr-select:focus,
.qr-textarea:focus {
  border-color: #A63D2E;
  box-shadow: 0 0 0 3px rgba(166,61,46,.12);
}

.qr-input.is-error,
.qr-select.is-error,
.qr-textarea.is-error {
  border-color: #C24A37;
  box-shadow: 0 0 0 3px rgba(230,57,70,.12);
}

.qr-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.qr-select option {
  background: #2A2721;
  color: #fff;
}

.qr-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* ─── File upload ─────────────────────────────────────────────────────────── */
.qr-upload-zone {
  border: 2px dashed #3C382F;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}

.qr-upload-zone.is-over {
  border-color: #A63D2E;
  background: rgba(166,61,46,.04);
}

.qr-upload-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(166,61,46,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-upload-icon svg {
  width: 20px;
  height: 20px;
  stroke: #A63D2E;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qr-upload-text {
  font-size: 14px;
  color: #888;
  margin: 0 0 4px;
}

.qr-upload-text strong {
  color: #A63D2E;
  font-weight: 600;
}

.qr-upload-hint {
  font-size: 12px;
  color: #555;
  margin: 0;
}

.qr-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.qr-file-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #201E1A;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ccc;
}

.qr-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qr-file-size {
  color: #555;
  font-size: 12px;
  flex-shrink: 0;
}

.qr-file-remove {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  transition: color .15s;
  flex-shrink: 0;
}

.qr-file-remove:hover { color: #C24A37; }

.qr-file-remove svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ─── Field error ──────────────────────────────────────────────────────────── */
.qr-field-error {
  font-size: 12px;
  color: #C24A37;
  margin-top: -4px;
  display: none;
}

.qr-field-error.is-visible {
  display: block;
}

/* ─── Submit ─────────────────────────────────────────────────────────────── */
.qr-submit-row {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.qr-submit-btn {
  width: 100%;
  padding: 17px 32px;
  background: #A63D2E;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .2s ease, transform .15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.qr-submit-btn:hover:not(:disabled) { background: #C24A37; }
.qr-submit-btn:active:not(:disabled) { transform: scale(.98); }
.qr-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.qr-submit-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: qr-spin .7s linear infinite;
  display: none;
}

.qr-submit-btn.is-loading .qr-submit-spinner { display: block; }
.qr-submit-btn.is-loading .qr-btn-label { display: none; }

@keyframes qr-spin { to { transform: rotate(360deg); } }

.qr-form-error {
  background: rgba(230,57,70,.08);
  border: 1px solid rgba(230,57,70,.25);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #C24A37;
  display: none;
}

.qr-form-error.is-visible { display: block; }

.qr-privacy-note {
  font-size: 12px;
  color: #555;
  text-align: center;
  line-height: 1.5;
}

/* ─── Honeypot (never shown to users) ───────────────────────────────────── */
.qr-honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

/* ─── Success screen ─────────────────────────────────────────────────────── */
.qr-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.qr-success.is-visible {
  display: block;
}

.qr-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(166,61,46,.1);
  border: 2px solid rgba(166,61,46,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.qr-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: #A63D2E;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qr-success-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A63D2E;
  margin-bottom: 12px;
}

.qr-success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  letter-spacing: .04em;
  margin: 0 0 20px;
}

.qr-success-ref-box {
  background: #201E1A;
  border: 1px solid #3C382F;
  border-radius: 14px;
  padding: 24px 32px;
  display: inline-block;
  margin: 0 0 28px;
}

.qr-success-ref-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}

.qr-success-ref-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #A63D2E;
  letter-spacing: .08em;
}

.qr-success-message {
  font-size: 15px;
  color: #888;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 32px;
}

.qr-success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.qr-success-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #A63D2E;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease;
  text-decoration: none;
}

.qr-success-download:hover { background: #C24A37; }

.qr-success-download svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qr-success-new {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: transparent;
  color: #888;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid #3C382F;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.qr-success-new:hover { border-color: #555; color: #fff; }

/* ─── Initial reveal states ──────────────────────────────────────────────── */
.qr-header,
.qr-trust,
.qr-form-panel {
  opacity: 0;
  transform: translateY(28px);
}
