/* Approved green-glass one-step enquiry forms. Scoped to shared quote surfaces. */
.dw-green-quote { --dw-quote-green: rgba(22, 107, 49, .82); --dw-quote-lime: #e6ff00; color: #fff; }
.dw-green-quote *, .dw-green-quote *::before, .dw-green-quote *::after { box-sizing: border-box; }
.dw-quote-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#quote-modal.modal-overlay { padding: 12px; background: rgba(2, 14, 25, .53); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
#quote-modal .modal-content.dw-green-quote {
  width: min(100%, 640px); max-width: 640px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  margin: auto; padding: 20px 24px 16px; overflow-y: auto; overscroll-behavior: contain;
  color: #fff; background: linear-gradient(135deg, rgba(111, 201, 131, .12), rgba(9, 71, 34, .16)), var(--dw-quote-green);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 2px solid rgba(186, 245, 199, .65); border-radius: 22px;
  box-shadow: 0 20px 65px rgba(0,0,0,.32), inset 0 1px 18px rgba(208,255,217,.16); scrollbar-width: thin; scrollbar-color: #a3d8b3 #185b2e;
}
#quote-modal .dw-green-quote .modal-close { top: 8px; right: 8px; width: 44px; height: 44px; border: 2px solid #fff; color: #fff; background: rgba(10,64,28,.45); font-size: 28px; line-height: 1; }
#quote-modal .dw-green-quote .modal-close:hover { background: #164e2a; }
.dw-green-quote .dw-quote-offer { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; margin: 0; text-align: center; line-height: 1.05; letter-spacing: -.035em; }
.dw-green-quote .dw-quote-offer-amount { color: var(--dw-quote-lime); font-size: clamp(52px, 7vw, 82px); font-weight: 900; white-space: nowrap; text-shadow: 0 1px 1px rgba(0,0,0,.12); }
.dw-green-quote .dw-quote-offer-caption { color: #fff; font-size: clamp(25px, 4vw, 36px); font-weight: 800; }
.dw-green-quote .dw-quote-intro { margin: 12px 0 22px; color: #fff; font-size: 16px; line-height: 1.4; text-align: center; }
.dw-green-quote form.dw-quote-form { display: block !important; width: 100%; margin: 0; }
.dw-green-quote .dw-quote-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.dw-green-quote .dw-quote-field { min-width: 0; text-align: left; }
.dw-green-quote .dw-quote-field > label { display: block; margin: 0 0 6px; color: #fff; font-size: 15px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.dw-green-quote .dw-quote-field > input, .dw-green-quote .dw-quote-field > textarea {
  display: block; width: 100%; min-width: 0; max-width: 100%; height: 46px; padding: 10px 12px; border: 1px solid #d9e5dc; border-radius: 9px;
  background: #fff; color: #102132; font: 400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; box-shadow: none; margin: 0;
}
.dw-green-quote .dw-quote-field > input::placeholder, .dw-green-quote .dw-quote-field > textarea::placeholder { color: #596675; opacity: 1; }
.dw-green-quote .dw-quote-field > textarea { height: 82px; min-height: 82px; resize: vertical; }
.dw-green-quote .dw-quote-field > input:focus, .dw-green-quote .dw-quote-field > textarea:focus { outline: 2px solid #e6ff00; outline-offset: 2px; border-color: #fff; box-shadow: 0 0 0 4px rgba(9,54,25,.45); }
.dw-green-quote .dw-quote-message { margin-top: 16px; }
.dw-green-quote .dw-quote-bottom-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 16px; }
.dw-green-quote .dw-quote-upload { display: block; height: auto; min-width: 0; margin: 0; }
.dw-green-quote .dw-quote-upload .dw-upload-box { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin: 0; padding: 10px 12px; border: 1px solid #d9e5dc; border-radius: 10px; color: #102132; background: #fff; font-size: 16px; line-height: 1.25; }
.dw-green-quote .dw-upload-left { display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; color: #102132; font-size: 16px; font-weight: 700; }
.dw-green-quote .dw-upload-right { color: #102132; font-size: 15px; font-weight: 400; }
.dw-green-quote .dw-quote-paperclip { flex: 0 0 auto; width: 23px; height: 23px; }
.dw-green-quote .dw-quote-upload:focus-within .dw-upload-box { outline: 2px solid #e6ff00; outline-offset: 3px; }
.dw-green-quote .upload-note { margin: 7px 0 0; color: #fff; text-align: center; font-size: 12px; line-height: 1.4; }
.dw-green-quote .dw-preview { margin: 8px 0 0; gap: 8px; }
.dw-green-quote .dw-preview:empty { display: none; margin: 0; }
.dw-green-quote .dw-preview[hidden] { display: none !important; }
.dw-green-quote .dw-quote-submit-area { min-width: 0; }
#quote-modal .dw-quote-submit, .dw-footer-green .dw-quote-submit { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 10px 20px; border: 0; border-radius: 11px; background: #ff8000; color: #102132; box-shadow: none; font-size: 20px; font-weight: 800; letter-spacing: 0; line-height: 1.2; text-transform: none; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.dw-green-quote .dw-quote-submit svg { width: 25px; height: 25px; flex: 0 0 auto; }
.dw-green-quote .dw-quote-submit::after { display: none !important; animation: none !important; }
#quote-modal .dw-quote-submit:hover, .dw-footer-green .dw-quote-submit:hover { background: #ff941f; color: #102132; box-shadow: none; }
.dw-green-quote .dw-quote-submit:disabled { opacity: .7; cursor: wait; }
.dw-green-quote .dw-quote-urgent { color: #fff; text-align: center; font-size: 13px; line-height: 1.5; margin: 10px 0 0; }
.dw-green-quote .dw-quote-urgent a { color: #fff; font-weight: 750; white-space: nowrap; text-decoration: none; }
.dw-green-quote .dw-quote-urgent a:hover { text-decoration: underline; }
.dw-green-quote .form-status { min-height: 0; margin: 12px 0 0; color: #fff; font-size: 14px; line-height: 1.4; text-align: center; }
.dw-green-quote .form-status:empty { display: none; }
.dw-green-quote .form-status.error { background: #fff; color: #991b1b; padding: 10px; border-radius: 8px; }
.dw-green-quote .form-status.success { color: #fff; }
.dw-green-quote a:focus-visible, .dw-green-quote button:focus-visible { outline: 3px solid #e6ff00; outline-offset: 3px; }
/* Compact initial dialog; overflow remains available for keyboard, photos and errors. */
#quote-modal .dw-quote-offer { padding: 6px 44px 0; gap: 1px; }
#quote-modal .dw-quote-offer-amount { font-size: 56px; }
#quote-modal .dw-quote-offer-caption { font-size: 26px; }
#quote-modal .dw-quote-intro { font-size: 14px; margin: 6px 0 12px; }
#quote-modal .dw-quote-contact-fields { gap: 10px 12px; }
#quote-modal .dw-quote-field > label { margin-bottom: 4px; font-size: 13px; }
#quote-modal .dw-quote-field > input { height: 44px; padding: 8px 10px; font-size: 16px; }
#quote-modal .dw-quote-message { margin-top: 10px; }
#quote-modal .dw-quote-field > textarea { height: 60px; min-height: 60px; padding: 8px 10px; font-size: 16px; }
#quote-modal .dw-quote-bottom-row { margin-top: 10px; gap: 10px; }
#quote-modal .dw-quote-upload .dw-upload-box { min-height: 44px; padding: 8px 10px; }
#quote-modal .dw-upload-left { font-size: 15px; gap: 8px; }
#quote-modal .dw-upload-right { font-size: 14px; }
#quote-modal .dw-quote-paperclip { width: 21px; height: 21px; }
#quote-modal .upload-note { margin-top: 4px; font-size: 11px; line-height: 1.3; }
#quote-modal .dw-quote-submit { height: 46px; min-height: 46px; padding: 8px 16px; font-size: 18px; }
#quote-modal .dw-quote-urgent { margin-top: 6px; font-size: 12px; line-height: 1.3; }
/* Full-width footer: the offer is above four fields, never beside a narrow card. */
#footer-wrapper .footer-contact-section.dw-footer-green { position: relative; isolation: isolate; padding: 44px 0; background: #104727; border-top: 1px solid rgba(190,241,201,.5); border-bottom: 1px solid rgba(190,241,201,.3); }
.dw-footer-green::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(135deg, rgba(112,210,135,.16), transparent 45%, rgba(112,210,135,.08)), rgba(29,123,57,.68); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
#footer-wrapper .dw-footer-green .footer-container { width: min(100%, 1280px); max-width: 1280px; padding: 0 32px; }
.dw-footer-green .dw-quote-offer { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
.dw-footer-green .dw-quote-offer-amount { font-size: clamp(52px, 6vw, 76px); }
.dw-footer-green .dw-quote-offer-caption { font-size: clamp(30px, 4.5vw, 54px); }
.dw-footer-green .dw-quote-intro { margin: 12px 0 26px; font-size: 18px; }
.dw-footer-green .dw-quote-contact-fields { grid-template-columns: repeat(4,minmax(0,1fr)); }
.dw-footer-green .dw-quote-bottom-row { grid-template-columns: minmax(0,1fr) minmax(260px,.45fr); gap: 32px; align-items: start; }
.dw-footer-green .dw-quote-upload { display: grid; grid-template-columns: minmax(250px,.85fr) minmax(0,1fr); gap: 0 16px; align-items: center; }
.dw-footer-green .upload-note { margin: 0; text-align: left; }
.dw-footer-green .dw-preview { grid-column: 1/-1; }
@media (max-width: 900px) {
  .dw-footer-green .dw-quote-upload { display: block; }
  .dw-footer-green .upload-note { margin-top: 7px; text-align: center; }
}
@media (max-width: 600px) {
  #quote-modal.modal-overlay { padding: 10px; }
  #quote-modal .modal-content.dw-green-quote { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 16px 14px 14px; border-radius: 20px; }
  #quote-modal .dw-green-quote .modal-close { top: 6px; right: 6px; width: 44px; height: 44px; }
  .dw-green-quote .dw-quote-offer { gap: 4px; }
  .dw-green-quote .dw-quote-offer-amount { font-size: clamp(48px, 15vw, 64px); }
  .dw-green-quote .dw-quote-offer-caption { font-size: clamp(25px, 7.4vw, 32px); }
  #quote-modal .dw-quote-offer { padding: 14px 40px 0; }
  #quote-modal .dw-quote-offer-amount { font-size: clamp(34px, 10.5vw, 44px); }
  #quote-modal .dw-quote-offer-caption { font-size: 23px; }
  #quote-modal .dw-quote-intro { font-size: 13px; }
  .dw-green-quote .dw-quote-intro { font-size: 14px; margin: 12px 0 20px; }
  .dw-green-quote .dw-quote-contact-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .dw-green-quote .dw-quote-field > label { font-size: 14px; }
  .dw-green-quote .dw-quote-field > input { padding: 10px; height: 44px; }
  .dw-green-quote .dw-quote-message { margin-top: 14px; }
  .dw-green-quote .dw-quote-bottom-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
  #footer-wrapper .footer-contact-section.dw-footer-green { padding: 32px 0; }
  #footer-wrapper .dw-footer-green .footer-container { padding: 0 18px; }
  .dw-footer-green .dw-quote-offer { flex-direction: column; }
  .dw-footer-green .dw-quote-upload { display: block; }
  .dw-green-quote .upload-note { font-size: 11px; }
}
@media (prefers-reduced-transparency: reduce) { #quote-modal .modal-content.dw-green-quote { background: #1c6634; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .dw-green-quote .dw-quote-submit { transition: none; } }
/* The DoorWin Services Promise chips (quote band and modal) — 2026-11-14 */
.dw-green-quote .dw-promise-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: -8px auto 22px; padding: 0; list-style: none; max-width: 980px; }
.dw-green-quote .dw-promise-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(6,48,20,.32); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.dw-green-quote .dw-promise-chips__icon { width: 17px; height: 17px; flex: 0 0 auto; color: var(--dw-quote-lime); }
#quote-modal .dw-green-quote .dw-promise-chips { margin: -10px auto 16px; gap: 6px 8px; }
#quote-modal .dw-green-quote .dw-promise-chips li { padding: 5px 10px; font-size: 12.5px; }
@media (max-width: 560px) {
  .dw-green-quote .dw-promise-chips li { font-size: 12.5px; padding: 6px 10px; white-space: normal; }
  #quote-modal .dw-green-quote .dw-promise-chips { display: none; }
}
