/* The enquiry starts with three essentials; detail drawers stay optional. */
#enquiry-form { padding: 38px; border-radius: 20px; border: 1px solid #d7e6e9; background: #fff; box-shadow: 0 20px 70px #073d5210; }
#enquiry-form:focus-within { border-color: #b1cfd2; box-shadow: 0 24px 75px #073d5218; }
.quote-form-heading { position: relative; margin-bottom: 28px; }
#enquiry-form .quote-form-heading .eyebrow { font-size: 9px; letter-spacing: .12em; color: #1b7a45; margin-bottom: 15px; padding-right: 18px; }
#enquiry-form .quote-form-heading h3 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -.04em; margin-bottom: 12px; }
#enquiry-form .quote-form-heading > p:last-child { font-size: 12px; line-height: 1.75; color: #69808b; margin: 0; max-width: 360px; }
.quote-form-indicator { position: absolute; right: 0; top: 2px; width: 7px; height: 7px; background: #32965a; border-radius: 50%; box-shadow: 0 0 0 5px #ebf6ed; }
.quote-essential-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
#enquiry-form label, #enquiry-form .quote-fields label { margin: 17px 0 8px; color: #21485b; font-size: 11px; letter-spacing: 0; }
#enquiry-form .quote-essential-fields label { margin-top: 0; }
#enquiry-form input:not([type=file]), #enquiry-form textarea, #enquiry-form select { width: 100%; background: #f6f9fa; border: 1px solid #dce6ea; border-radius: 8px; padding: 13px 14px; font-size: 14px; line-height: 1.4; color: #153f52; box-shadow: none; }
#enquiry-form input:not([type=file]), #enquiry-form select { min-height: 48px; height: auto; }
#enquiry-form textarea { min-height: 120px; resize: vertical; }
#enquiry-form input::placeholder, #enquiry-form textarea::placeholder { color: #8397a1; opacity: 1; }
#enquiry-form input:not([type=file]):focus, #enquiry-form textarea:focus, #enquiry-form select:focus { outline: none; border: 1px solid #3994b4; background: #fff; box-shadow: 0 0 0 3px #006eac0c; }
.quote-selection { display: flex; gap: 16px; align-items: center; justify-content: space-between; border: 1px solid #d2e8d9; background: #eff8f1; padding: 13px 16px; margin-bottom: 24px; border-radius: 10px; }
.quote-selection > div { min-width: 0; }
.quote-selection small { display: block; color: #4b815d; font-size: 8px; letter-spacing: .11em; margin-bottom: 5px; }
.quote-selection span { display: block; color: #215c38; font-size: 13px; line-height: 1.4; }
.quote-selection button { color: #1d6540; font-size: 11px; min-height: 40px; text-decoration: underline; text-underline-offset: 4px; flex: none; }
.quote-optional { border-bottom: 1px solid #e1e9eb; }
.quote-optional:first-of-type { margin-top: 18px; }
.quote-optional > summary { display: flex; align-items: center; gap: 12px; list-style: none; min-height: 56px; cursor: pointer; color: #28566b; font-size: 12px; border-radius: 7px; padding: 10px 0; }
.quote-optional > summary::-webkit-details-marker { display: none; }
.quote-optional > summary:hover { color: #006eac; }
.quote-optional > summary:focus-visible { outline: 2px solid #4e95b2; outline-offset: 4px; }
.quote-optional > summary > small { color: #8a9da5; font-size: 9px; margin-left: auto; }
.quote-disclosure-icon { position: relative; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #edf4f6; }
.quote-disclosure-icon::before, .quote-disclosure-icon::after { content: ''; position: absolute; left: 7px; top: 11px; height: 1px; width: 10px; background: #315f74; }
.quote-disclosure-icon::after { transform: rotate(90deg); transition: transform .2s; }
.quote-optional[open] .quote-disclosure-icon::after { transform: rotate(0); }
.quote-optional-body { padding-bottom: 22px; }
#enquiry-form .quote-optional .quote-fields label { margin-top: 16px; }
.quote-optional .quote-fields { gap: 0 18px; }
#enquiry-form .drawing-upload { margin-top: 0; padding: 0 0 20px; border: 0; border-radius: 0; background: transparent; }
#enquiry-form .drawing-upload label { margin: 0 0 8px; font-size: 11px; }
#enquiry-form input[type=file] { max-width: 100%; width: 100%; font-size: 11px; padding: 0; color: #5f7a87; min-height: 44px; }
#enquiry-form input[type=file]::file-selector-button { background: #edf5f6; border: 1px solid #cbdfe5; color: #2b6074; padding: 12px; border-radius: 7px; font-size: 11px; margin-right: 12px; }
#upload-help { font-size: 9px; line-height: 1.65; margin: 8px 0 0; color: #84979f; }
#file-feedback { font-size: 11px; margin: 12px 0 0; }
#enquiry-form #quote-submit { margin-top: 26px; border-radius: 8px; min-height: 53px; font-size: 13px; padding: 15px 20px; }
#quote-delivery-note { color: #7a919b; font-size: 10px; margin-top: 12px; text-align: center; }
#form-status:empty { display: none; }
#form-status { font-size: 12px; line-height: 1.75; margin-top: 20px; }
#enquiry-actions { margin-top: 16px; width: 100%; gap: 14px; }
#enquiry-form #open-enquiry-email { margin-top: 0; font-size: 13px; min-height: 53px; border-radius: 8px; }
.quote-secondary-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; width: 100%; }
#enquiry-actions .text-link, #enquiry-actions #copy-enquiry { font-size: 10px; gap: 8px; border-bottom: none; color: #62808e; min-height: 40px; padding: 8px 0; }
#enquiry-actions .text-link .icon { width: 13px; height: 13px; }
#enquiry-actions #copy-enquiry { margin-left: auto; text-decoration: underline; text-underline-offset: 4px; }
#prepared-enquiry { margin-top: 18px; font-size: 12px; }
@media (max-width: 1100px) { #enquiry-form { padding: 30px; } }
@media (max-width: 600px) {
  #enquiry-form { padding: 25px 22px; border-radius: 16px; }
  .quote-essential-fields { grid-template-columns: 1fr; gap: 17px; }
  #enquiry-form input:not([type=file]), #enquiry-form textarea, #enquiry-form select { font-size: 16px; }
  #enquiry-form .quote-fields label { font-size: 11px; }
  #enquiry-form .quote-form-heading h3 { font-size: 30px; }
  .quote-form-heading { margin-bottom: 25px; }
  .quote-optional > summary { font-size: 12px; }
  .quote-optional .quote-fields { grid-template-columns: 1fr; }
  .quote-selection { padding: 12px; gap: 10px; }
  .quote-selection span { font-size: 12px; }
  #enquiry-form input[type=file] { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .quote-disclosure-icon::after { transition: none; } }
