/* V33: customer-first pane pricing and a durable quote-request candidate. */

.v26 .owner-contact { align-items: start; }

.quote-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
}

.quote-form-heading,
.quote-field-wide,
.quote-form-errors { grid-column: 1 / -1; }

.quote-form-heading h3 {
  margin: 8px 0 10px;
  color: var(--navy);
  font: 400 clamp(31px, 3vw, 43px)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}

.quote-form-heading > p:last-child {
  max-width: 58ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.quote-field { min-width: 0; }

.quote-field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.quote-field label span:not([aria-hidden="true"]) {
  color: #56697c;
  font-size: 11px;
  font-weight: 500;
}

.quote-field :is(input, select, textarea) {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #6f8ba4;
  border-radius: 0;
  color: #102f4d;
  background: #f9fcff;
  font: inherit;
  line-height: 1.35;
}

.quote-field textarea { min-height: 116px; resize: vertical; }
.quote-field :is(input, select, textarea)::placeholder { color: #617589; opacity: 1; }
.quote-field :is(input, select, textarea):focus-visible { outline: 3px solid #bb8d49; outline-offset: 2px; }
.quote-field :is(input, select, textarea)[aria-invalid="true"] { border-color: #a12d2d; box-shadow: inset 4px 0 #a12d2d; }

.quote-field-help,
.quote-consent,
.quote-form-status {
  margin: -8px 0 0;
  color: #465c70;
  font-size: 12px;
  line-height: 1.6;
}

.quote-consent { margin-top: 2px; }

.quote-form-errors {
  padding: 14px 16px;
  border-left: 4px solid #a12d2d;
  color: #721d1d;
  background: #fff3f1;
  font-size: 13px;
  line-height: 1.55;
}

.quote-form-errors[hidden] { display: none; }

.quote-submit-row {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: 18px;
  align-items: center;
}

.quote-submit-row .button-dark {
  width: auto;
  min-height: 54px;
  margin: 0;
  border: 1px solid var(--blue);
  cursor: pointer;
}

.quote-submit-row .button-dark:disabled { cursor: wait; opacity: .62; }
.quote-form-status { margin: 0; }
.quote-form-status[data-state="success"] { color: #135c3a; font-weight: 700; }
.quote-form-status[data-state="error"] { color: #8a2424; font-weight: 700; }

.quote-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .page-home.hero-in-view .mobile-contact-bar {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .page-home .hero-tagline {
    bottom: max(82px, calc(env(safe-area-inset-bottom) + 74px));
    color: var(--bronze);
    text-shadow: 0 2px 5px #061d35, 0 0 18px #061d35;
  }

  .quote-request-form { grid-template-columns: 1fr; gap: 17px; }
  .quote-form-heading,
  .quote-field-wide,
  .quote-form-errors { grid-column: 1; }
  .quote-submit-row { grid-template-columns: 1fr; gap: 12px; }
  .quote-submit-row .button-dark { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home.hero-in-view .mobile-contact-bar { transition: none; }
}

@media print {
  .quote-request-form { display: none; }
}

/* V34: fit estimate wording within the existing offer and comparison layout. */
.v26 .estimate-offer strong { font-size: clamp(64px, 7vw, 100px); }
.v26 .estimate-offer { gap: 16px; }
.v26 .local-intro h1 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.08; max-width: 21ch; }
.v26 .addition p { grid-column: 1 / -1; }
.v26 .estimate-factors .receipt-row dd { max-width: 62%; white-space: normal; text-align: right; }
.v26 .estimate-factors .receipt-total dd { font-size: 28px; line-height: 1.15; }
