/* StrategyLab — Get a Quote page */

.page-quote .quote-main {
  padding-top: 5rem;
  padding-bottom: 4rem;
  min-height: 80vh;
}

.quote-intro {
  padding-bottom: 2rem;
}

.quote-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.quote-intro-desc {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.quote-form-section .container {
  max-width: 640px;
  margin: 0 auto;
}

.quote-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.quote-estimator {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-card:focus-within {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.15);
}

.quote-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.budget-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.budget-slider {
  flex: 1;
  min-width: 160px;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 4px;
  outline: none;
}

.budget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px var(--gold-dim);
  transition: transform 0.15s ease;
}

.budget-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.budget-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 12px var(--gold-dim);
}

.budget-input {
  width: 140px;
  padding: 0.65rem 0.9rem;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  text-align: right;
}

.budget-input:focus {
  outline: none;
  border-color: var(--gold);
}

.budget-display {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
}

.quote-card select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.quote-card select:focus {
  outline: none;
  border-color: var(--gold);
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.option-chip:hover {
  border-color: rgba(201, 162, 39, 0.4);
}

.option-chip input {
  margin-right: 0.5rem;
  accent-color: var(--gold);
}

.option-chip input:checked + span,
.option-chip:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-bg);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox-label input {
  accent-color: var(--gold);
  width: 1.1em;
  height: 1.1em;
}

.quote-actions {
  text-align: center;
  margin-top: 0.5rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Loading */
.quote-loading {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-loading[hidden] {
  display: none !important;
}

.loading-content {
  text-align: center;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: quote-spin 0.9s linear infinite;
}

@keyframes quote-spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 1rem;
  color: var(--muted);
  transition: opacity 0.3s ease;
}

/* Results */
.quote-results[hidden] {
  display: none !important;
}

.results-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.results-package {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.results-list {
  margin: 0 0 1rem;
}

.results-list:last-of-type {
  margin-bottom: 0;
}

.results-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.results-list dd {
  margin: 0 0 0.75rem;
  padding-left: 0;
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
}

.results-list dd:last-child {
  margin-bottom: 0;
}

.results-list--excluded dt { color: var(--muted); }
.results-list--addons dt { color: var(--gold-light); }

.results-timeline,
.results-next {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.results-next {
  font-weight: 600;
  color: var(--gold);
}

.quote-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.quote-third-party {
  margin-bottom: 1.5rem;
}

.third-party-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.quote-transparency {
  margin-bottom: 2rem;
}

.transparency-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.transparency-list li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.transparency-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.quote-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.quote-lead-capture[hidden] {
  display: none !important;
}

.quote-lead-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.quote-lead-capture label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.quote-lead-capture input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.quote-lead-capture input:focus {
  outline: none;
  border-color: var(--gold);
}

.quote-lead-capture .form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .budget-row {
    flex-direction: column;
    align-items: stretch;
  }
  .budget-input {
    width: 100%;
  }
  .option-grid {
    flex-direction: column;
  }
  .option-chip {
    justify-content: flex-start;
  }
  .quote-ctas {
    flex-direction: column;
  }
  .quote-ctas .btn {
    width: 100%;
  }
}
