/* Get-a-quote 2-step — centered card on warm page, Montserrat UI */
.qs-gaq-page #primary,
.qs-gaq-page .site-main,
.qs-gaq-page .entry-content {
  max-width: none;
  overflow: visible;
}

.qs-gaq-shell {
  /* Use px — theme root font-size is ~10px, so rem under-clears the fixed header */
  background: linear-gradient(180deg, #faf7f2 0%, #f3efe8 100%);
  padding: 120px 20px 56px;
}

/* Already on the quote page — hide redundant nav CTA on small screens */
@media (max-width: 980px) {
  body.qs-gaq-page .qs-nav__get-quote-wrap {
    display: none !important;
  }
}

.qs-gaq-container {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #0f172a;
}

.qs-gaq__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 280px);
  gap: 1.25rem 1.75rem;
  align-items: center;
  margin: 0 0 0.85rem;
}

.qs-gaq__title {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.55rem;
  text-transform: none;
}

.qs-gaq__sub {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: #475569;
  font-weight: 500;
  max-width: 34rem;
}

.qs-gaq__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.qs-gaq__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e8e0d4;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.qs-gaq__trust li + li::before {
  content: none;
}

.qs-gaq__stars {
  color: #f6b11a;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.qs-gaq__hero-art {
  justify-self: end;
  align-self: center;
  max-width: 280px;
  width: 100%;
  margin-top: 0;
  padding: 4px 0;
  box-sizing: border-box;
}

.qs-gaq__hero-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

.qs-gaq__card {
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 1.35rem 1.5rem 1.25rem;
}

.qs-gaq__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}

.qs-gaq__steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.95rem;
}

.qs-gaq__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 800;
}

.qs-gaq__steps li.is-active {
  color: #0f172a;
  background: #fffbeb;
  border-color: #f6b11a;
  box-shadow: inset 0 -3px 0 #f6b11a;
}

.qs-gaq__steps li.is-active .qs-gaq__step-num {
  background: #f6b11a;
  color: #0f172a;
}

.qs-gaq__steps li.is-done {
  color: #475569;
  border-color: #cbd5e1;
}

.qs-gaq__steps li.is-done .qs-gaq__step-num {
  background: #cbd5e1;
  color: #0f172a;
}

.qs-gaq__panel-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.qs-gaq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.qs-gaq__grid--step1 {
  align-items: start;
}

.qs-gaq__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: #334155;
  font-size: 0.92rem;
  min-width: 0;
}

.qs-gaq__field--full {
  grid-column: 1 / -1;
}

.qs-gaq__field abbr {
  color: #dc2626;
  text-decoration: none;
}

.qs-gaq__optional {
  font-weight: 500;
  color: #94a3b8;
}

.qs-gaq__field input[type="text"],
.qs-gaq__field input[type="email"],
.qs-gaq__field input[type="tel"],
.qs-gaq__field input[type="date"],
.qs-gaq__field textarea {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.8rem 0.85rem;
  background: #fff;
  line-height: 1.4;
  min-height: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.qs-gaq__field textarea {
  min-height: 5.25rem;
  resize: vertical;
}

.qs-gaq__field input:focus,
.qs-gaq__field textarea:focus {
  outline: 2px solid rgba(246, 177, 26, 0.45);
  border-color: #f6b11a;
}

.qs-gaq__field input:disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

.qs-gaq__check {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #475569;
  cursor: pointer;
}

.qs-gaq__check--flexible {
  margin-top: 0.45rem;
}

.qs-gaq__check--service {
  margin: 0;
  padding: 0.15rem 0 0.25rem;
  font-size: 0.95rem;
  color: #334155;
}

.qs-gaq__check input {
  margin-top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: #f6b11a;
}

.qs-gaq__size {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.qs-gaq__size legend {
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: #334155;
  font-size: 0.92rem;
  padding: 0;
}

.qs-gaq__size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.qs-gaq__size-option {
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 3.5rem;
}

.qs-gaq__size-option:last-child {
  flex: 1 1 100%;
}

@media (min-width: 641px) {
  .qs-gaq__size-option:last-child {
    flex: 1 1 auto;
    min-width: 7.5rem;
  }
}

.qs-gaq__size-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.qs-gaq__size-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 0.45rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  color: #0f172a;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  min-height: 3rem;
}

.qs-gaq__size-option input:focus-visible + span {
  outline: 2px solid rgba(246, 177, 26, 0.55);
  outline-offset: 2px;
}

.qs-gaq__size-option input:checked + span {
  border-color: #f6b11a;
  background: #fffbeb;
  box-shadow: inset 0 0 0 1px #f6b11a;
}

.qs-gaq__consent {
  margin-top: 1.15rem;
  padding: 0.95rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.qs-gaq__consent-text {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.55;
  color: #64748b;
}

.qs-gaq__consent-text a {
  color: #0f172a;
  font-weight: 700;
  text-underline-offset: 2px;
}

.qs-gaq__check--consent {
  font-size: 0.95rem;
  color: #0f172a;
}

.qs-gaq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.35rem;
}

.qs-gaq__reassure {
  flex: 1 1 100%;
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
}

.qs-gaq__reassure--alt {
  margin-top: 0.35rem;
}

.qs-gaq__reassure--alt a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qs-gaq__btn {
  min-width: 14rem;
  min-height: 3.1rem;
  font-size: 1rem !important;
  font-weight: 800 !important;
  padding: 0.9rem 1.4rem !important;
}

.qs-gaq__back {
  background: none;
  border: 0;
  color: #475569;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.5rem 0.25rem;
}

.qs-gaq__back:hover {
  color: #0f172a;
}

.qs-gaq__field-error {
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.qs-gaq__field input.is-invalid,
.qs-gaq__field textarea.is-invalid {
  border-color: #dc2626;
  outline: none;
}

.qs-gaq__field input.is-valid {
  border-color: #86efac;
}

.qs-gaq__error {
  color: #b91c1c;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.85rem 0 0;
}

.qs-gaq[data-step="done"] .qs-gaq__steps {
  display: none;
}

.qs-gaq__success {
  padding: 0.35rem 0 0.25rem;
}

.qs-gaq__success p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
}

.qs-gaq__success a {
  color: #0f172a;
  font-weight: 800;
}

/* Google Places dropdown — prevent theme fonts from turning pin icons into "?" */
.pac-container {
  z-index: 10050 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  pointer-events: auto !important;
}

.pac-item {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 22px !important;
  cursor: pointer;
  color: #0f172a !important;
}

.pac-item span,
.pac-item-query,
.pac-matched {
  font-family: Arial, Helvetica, sans-serif !important;
  color: inherit !important;
}

.pac-icon,
.pac-icon-marker {
  display: none !important;
  background-image: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

.pac-icon::before,
.pac-icon::after,
.pac-item::before,
.pac-item::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 800px) {
  .qs-gaq__hero {
    grid-template-columns: 1fr;
    text-align: left;
    margin-bottom: 0.75rem;
  }

  .qs-gaq__hero-art {
    justify-self: start;
    max-width: 210px;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .qs-gaq-shell {
    padding: 108px 12px 44px;
  }

  .qs-gaq__card {
    padding: 1.1rem 1rem 1rem;
    border-radius: 12px;
  }

  .qs-gaq__grid,
  .qs-gaq__grid--step1 {
    grid-template-columns: 1fr;
  }

  .qs-gaq__steps {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .qs-gaq__steps li {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.7rem 0.45rem;
    font-size: 0.82rem;
    text-align: center;
  }

  .qs-gaq__size-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qs-gaq__size-option span {
    font-size: 0.82rem;
    padding: 0.6rem 0.25rem;
  }

  .qs-gaq__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .qs-gaq__btn {
    width: 100%;
  }
}
