/* Quote jump page: city and trade form only, no listing cards. */

.quote-hero {
  padding: calc(var(--header-h) + 56px) 0 8px;
  background: var(--cream);
}

.quote-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.quote-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.1;
}

.quote-lead {
  width: min(100%, 40rem);
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.62;
}

.quote-form-section {
  padding: 40px 0 72px;
  background: var(--cream);
}

.quote-form {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.quote-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-form .field > span {
  font-size: 13px;
  color: var(--text-muted);
}

.quote-form select,
.quote-form .select-trigger {
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.quote-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%236a6a6a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m1.5 1.5 4.5 5 4.5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.quote-note {
  margin: 16px 0 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.quote-form .btn-fill {
  width: 100%;
}

.select-box {
  position: relative;
}

.select-box.is-open {
  z-index: 12;
}

.select-box.is-enhanced > select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.select-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%236a6a6a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m1.5 1.5 4.5 5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(-50%);
}

.select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 12;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.1);
}

.select-menu[hidden] {
  display: none;
}

.select-option {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.select-option:hover,
.select-option.is-selected {
  background: var(--cream);
}

.quote-section {
  padding: 88px 0;
  background: var(--cream);
}

.quote-section.on-paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--text-muted);
}

.quote-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quote-step {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.quote-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.quote-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-list {
  width: min(100%, 760px);
  margin: 0 auto;
}

.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .quote-fields,
  .quote-steps {
    grid-template-columns: 1fr;
  }
}
