/* "Starting a quote?" prompt + online quote & bind carriers.
   Lives inside the navy .quote-info column of #quote. Scoped with .qs- prefix. */
.qs-panel {
  margin-top: 28px;
  padding: 24px 22px 24px;
  border: 1px solid rgba(188, 156, 114, 0.4);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(188, 156, 114, 0.08), rgba(188, 156, 114, 0.02)),
    var(--navy-card);
  position: relative;
}
.qs-panel::before { /* thin gold rivet line, a quiet armored touch */
  content: "";
  position: absolute; left: 22px; right: 22px; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
}
.qs-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.qs-crest {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(188, 156, 114, 0.12);
  border: 1px solid rgba(188, 156, 114, 0.45);
}
.qs-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: var(--off-white);
  margin: 0;
}
.qs-title--sub { font-size: 19px; margin-bottom: 6px; }
.qs-text, .qs-note { font-size: 14.5px; line-height: 1.65; color: #D5DBE3; margin: 0 0 14px; }
.qs-note { color: var(--steel); }
.qs-mailto { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.qs-mailto:hover, .qs-mailto:focus-visible { color: var(--gold-light); }

.qs-label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.qs-row { display: flex; gap: 10px; }
.qs-input {
  flex: 1 1 auto; min-width: 0;
  font: 500 15px/1.2 var(--font-sans);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(169, 177, 188, 0.35);
  background: var(--navy-deep);
  color: var(--off-white);
}
.qs-input::placeholder { color: #7D8794; }
.qs-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(188, 156, 114, 0.22); }
.qs-input[aria-invalid="true"] { border-color: #E08A7A; }
.btn.qs-btn { padding: 12px 18px; font-size: 14px; white-space: nowrap; flex-shrink: 0; }
.btn.qs-btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.qs-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.qs-status { margin: 10px 0 0; font-size: 14px; line-height: 1.55; min-height: 0; }
.qs-status:empty { display: none; }
.qs-status[data-state="success"] { color: var(--gold-light); font-weight: 600; }
.qs-status[data-state="error"] { color: #F0B4A8; }
.qs-status[data-state="sending"] { color: var(--steel); }
.qs-status a { color: inherit; text-decoration: underline; }

.qs-divider { display: flex; align-items: center; margin: 22px 0 18px; }
.qs-divider::before, .qs-divider::after { content: ""; flex: 1; height: 1px; background: rgba(188, 156, 114, 0.3); }
.qs-divider span {
  width: 8px; height: 8px; margin: 0 10px; transform: rotate(45deg);
  border: 1px solid var(--gold); background: transparent;
}
.qs-carriers { display: grid; grid-template-columns: 1fr; gap: 12px; }
.qs-carriers .btn { width: 100%; }

@media (max-width: 480px) {
  .qs-panel { padding: 20px 16px; }
  .qs-row { flex-direction: column; }
  .btn.qs-btn { width: 100%; }
}

/* Fix: keep the quote column heading readable on the navy background
   (a more general h2 rule was turning it navy). */
#quote .quote-info .quote-info__heading,
.quote-info h2.quote-info__heading { color: var(--off-white, #F7F5F0) !important; }
