.quote-page { background: #f5f6f2; }

.quote-intro { position: relative; overflow: hidden; padding: 54px 0 58px; background: var(--forest-dark); color: var(--white); }
.quote-intro-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 75px; align-items: end; }
.quote-intro h1 { max-width: 700px; margin: 12px 0 0; color: var(--white); font-size: clamp(3.4rem, 5.4vw, 5.8rem); letter-spacing: -.03em; }
.quote-intro h1 em { color: var(--leaf-bright); font-style: normal; }
.quote-intro-inner > p { max-width: 450px; margin: 0 0 8px; color: rgba(255,255,255,.76); font-size: 14px; }

.lead-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); gap: clamp(65px, 8vw, 115px); align-items: start; padding-top: 78px; padding-bottom: 105px; }
.lead-details { position: sticky; top: 30px; padding-top: 20px; }
.lead-details > h2, .estimate-column > h2 { margin: 12px 0 34px; color: var(--evergreen); font-family: var(--display); font-size: clamp(2.4rem, 3.5vw, 3.85rem); font-weight: 400; letter-spacing: -.025em; line-height: 1; text-transform: uppercase; }
.estimate-column > h2 { margin: 0 0 18px; font-size: 30px; }
.lead-detail-block { margin-bottom: 27px; }
.lead-detail-block h3 { margin: 0 0 4px; color: var(--evergreen); font-family: var(--body); font-size: 17px; font-weight: 800; line-height: 1.3; text-transform: none; }
.lead-detail-block p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.lead-phone { display: inline-block; color: var(--leaf); font-family: var(--display); font-size: 34px; letter-spacing: .02em; }
.lead-email { color: var(--forest); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.lead-callout { margin-top: 34px; padding: 23px 24px; border-radius: 12px; background: var(--forest-dark); color: var(--white); }
.lead-callout strong { display: block; margin-bottom: 6px; font-size: 14px; }
.lead-callout p { margin: 0; color: rgba(255,255,255,.74); font-size: 11px; }

.estimate-form { padding: 30px 31px 32px; border: 1px solid #dfe3dc; border-radius: 14px; background: var(--white); box-shadow: 0 13px 34px rgba(9,47,30,.09); }
.estimate-field { display: grid; margin-bottom: 19px; }
.estimate-field label { margin-bottom: 7px; color: var(--evergreen); font-size: 12px; font-weight: 800; }
.estimate-field label span { color: var(--leaf); }
.estimate-field label small { color: var(--muted); font-size: 10px; font-weight: 600; }
.estimate-field input:not([type='file']), .estimate-field select, .estimate-field textarea { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #d7ddd5; border-radius: 8px; outline: 0; background: var(--white); color: var(--ink); font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.estimate-field textarea { min-height: 132px; padding-block: 12px; resize: vertical; }
.estimate-field input:focus, .estimate-field select:focus, .estimate-field textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(97,173,69,.14); }
.upload-field input[type='file'] { width: 100%; padding: 10px; border: 1px solid #d7ddd5; border-radius: 8px; background: var(--white); color: var(--muted); font-size: 11px; }
.upload-field input[type='file']::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--forest-dark); color: var(--white); cursor: pointer; font-size: 10px; font-weight: 800; }
.upload-field > p { margin: 7px 0 0; color: #7a827c; font-size: 9px; }
.estimate-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 57px; padding: 0 25px; border: 0; border-radius: 999px; background: var(--leaf); color: var(--white); cursor: pointer; font-size: 13px; font-weight: 700; text-transform: uppercase; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.estimate-submit:hover { transform: translateY(-2px); background: var(--leaf-bright); box-shadow: 0 12px 25px rgba(39,105,72,.18); }
.estimate-submit:disabled { cursor: default; opacity: .82; }
.estimate-note { margin: 11px 0 0; color: var(--muted); font-size: 9px; text-align: center; }

@media (max-width: 900px) {
  .quote-intro-inner { grid-template-columns: 1fr; gap: 20px; }
  .lead-layout { grid-template-columns: 1fr; gap: 48px; }
  .estimate-column { order: -1; }
  .lead-details { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; padding-top: 0; }
  .lead-details > .section-label, .lead-details > h2, .lead-callout { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .quote-intro { padding: 47px 0 50px; }
  .quote-intro h1 { font-size: clamp(3.15rem, 14vw, 4.65rem); }
  .lead-layout { padding-top: 60px; padding-bottom: 78px; }
  .lead-details { grid-template-columns: 1fr; }
  .lead-details > .section-label, .lead-details > h2, .lead-callout { grid-column: auto; }
  .lead-details > h2 { font-size: 2.75rem; }
  .estimate-column > h2 { font-size: 25px; }
  .estimate-form { padding: 24px 19px 26px; }
}
