/* ---------- REQUEST A QUOTE PAGE ---------- */

.qt-shell {
  min-height: calc(100vh - 76px);
  padding: 48px 0 80px;
}

.qt-wrap {
  max-width: 760px;
}

.qt-back-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
  transition: color 0.15s ease;
}

.qt-back-link:hover {
  color: var(--accent-3);
}

.qt-head {
  margin-bottom: 24px;
}

.qt-head h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 10px;
}

.qt-head p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 560px;
}

/* Selected project summary card */
.qt-project-card {
  background: var(--bg-elev-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 24px;
}

.qt-project-card .qt-pc-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.qt-project-card .qt-pc-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.qt-project-card .qt-pc-category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #1a0d06;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  padding: 4px 12px;
  border-radius: 999px;
}

.qt-project-card .qt-pc-note {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Alert / error summary */
.qt-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 18px;
}

.qt-alert--error {
  background: rgba(198, 52, 42, 0.15);
  border: 1px solid rgba(198, 52, 42, 0.35);
  color: #ff8a80;
}

/* Form shell */
.qt-form {
  background: var(--bg-elev-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.qt-field label {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.qt-optional {
  color: var(--text-dim);
  font-weight: 400;
}

.qt-field input,
.qt-field select,
.qt-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.15s ease;
}

.qt-field textarea {
  resize: vertical;
  min-height: 90px;
}

.qt-field input:focus,
.qt-field select:focus,
.qt-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.qt-field input[aria-invalid="true"],
.qt-field select[aria-invalid="true"],
.qt-field textarea[aria-invalid="true"] {
  border-color: var(--accent-2);
}

.qt-error {
  display: none;
  color: #ff8a80;
  font-size: 12.5px;
  margin-top: 6px;
}

.qt-error.show {
  display: block;
}

/* Request type radios */
.qt-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.qt-legend {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
  padding: 0;
}

.qt-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qt-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.qt-radio-option:has(input:checked) {
  border-color: var(--accent-3);
  background: rgba(255, 200, 87, 0.08);
}

.qt-radio-option input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex: none;
}

.qt-radio-option.qt-radio-hidden {
  display: none;
}

/* Consent checkbox */
.qt-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  cursor: pointer;
}

.qt-checkbox-row input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: none;
}

.qt-form-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* Honeypot field — visually hidden, still reachable by simple bots */
.qt-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Success panel */
.qt-success {
  background: var(--bg-elev-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}

.qt-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(57, 216, 190, 0.12);
  border: 1px solid rgba(57, 216, 190, 0.35);
  color: var(--teal);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qt-success h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.qt-success p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto 22px;
  line-height: 1.6;
}

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

@media (max-width: 640px) {
  .qt-form-row {
    grid-template-columns: 1fr;
  }

  .qt-form {
    padding: 24px 20px;
  }
}
