/* RFQ form. Scoped here so shared navigation and other forms stay intact. */
.quote-page .contact-cover { min-height: 430px; padding: 155px 0 64px; }
.quote-page .contact-cover h1 { font-size: clamp(44px, 4.6vw, 66px); margin: 15px 0 20px; }
.quote-page .contact-grid { grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-page .form-card { background: #fff; padding: clamp(24px, 3.2vw, 48px); border: 1px solid #dce3e8; border-radius: 16px; box-shadow: 0 14px 45px #14212b08; min-width: 0; scroll-margin-top: 115px; }
.quote-page .rfq-heading h2 { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.15; margin: 14px 0; letter-spacing: -.035em; }
.quote-page .rfq-heading > p:last-child { font-size: 16px; line-height: 1.65; margin: 0 0 16px; max-width: 42ch; color: #526371; }
.quote-page .rfq-required { font-size: 13px; color: #526371; margin: 0 0 24px; }
.quote-page .rfq-group { min-width: 0; border: 0; padding: 0; margin: 0 0 30px; }
.quote-page .rfq-group > legend { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; width: 100%; font-size: 22px; font-weight: 600; letter-spacing: -.025em; padding: 0 0 18px; }
.quote-page .rfq-group > legend > span:first-child { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: #1661a7; }
.quote-page .rfq-optional { color: #596b78; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.quote-page .form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.quote-page .form-row > * { min-width: 0; }
.quote-page form label { font-size: 14px; line-height: 1.5; color: #142938; margin: 0 0 20px; }
.quote-page form input, .quote-page form select, .quote-page form textarea { font: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; min-height: 48px; border-radius: 6px; padding: 11px 12px; border: 1px solid #aebcc7; background: #fff; color: #14212b; max-width: 100%; margin-top: 7px; }
.quote-page form textarea { min-height: 130px; resize: vertical; }
.quote-page form input::placeholder, .quote-page form textarea::placeholder { color: #667682; opacity: 1; }
.quote-page :is(input,select,textarea,button,summary,a):focus-visible { outline: 3px solid #185ca0; outline-offset: 3px; }
.quote-page .rfq-help, .quote-page .rfq-delivery-note { color: #526371; font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.quote-page #rfq-service-help { margin-top: -10px; }
.quote-page .rfq-context { color: #17558a; background: #edf4f9; border-radius: 6px; padding: 10px 14px; font-size: 14px; line-height: 1.5; }
.quote-page .rfq-extra { border-block: 1px solid #dce3e8; margin: 4px 0 0; }
.quote-page .rfq-extra summary { font-size: 15px; font-weight: 600; cursor: pointer; padding: 18px 0; color: #18548a; line-height: 1.5; }
.quote-page .rfq-extra summary span { font-size: 13px; font-weight: 400; color: #526371; }
.quote-page .rfq-extra-content { padding-top: 8px; }
.quote-page .rfq-dropzone { border: 1px dashed #9baebd; background: #f5f8fa; padding: 20px; border-radius: 10px; }
.quote-page .rfq-dropzone.is-dragging { border-color: #165ba5; background: #e7f0f7; }
.quote-page .rfq-dropzone > label { margin-bottom: 8px; }
.quote-page .rfq-dropzone input { font-size: 14px; background: transparent; border: 0; padding: 0; min-height: 44px; }
.quote-page .rfq-dropzone input::file-selector-button { font: inherit; padding: 11px 15px; border: 1px solid #b1c0ca; background: #fff; color: #142938; border-radius: 6px; margin-right: 12px; cursor: pointer; }
.quote-page .rfq-file-list { list-style: none; padding: 0; margin: 10px 0; }
.quote-page .rfq-file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #dce3e8; font-size: 14px; line-height: 1.4; }
.quote-page .rfq-file-list li span { min-width: 0; overflow-wrap: anywhere; }
.quote-page .rfq-file-list button { flex: 0 0 auto; min-height: 44px; border: 0; background: transparent; padding: 8px; color: #8f1820; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.quote-page #rfq-file-status { margin-bottom: 0; }
.quote-page form .rfq-consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; font-size: 14px; line-height: 1.7; }
.quote-page form .rfq-consent input { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin-top: 2px; padding: 0; accent-color: #175da2; }
.quote-page .rfq-submit-area { border-top: 1px solid #dce3e8; padding-top: 22px; }
.quote-page .rfq-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.quote-page .rfq-actions .btn { min-height: 52px; font-size: 16px; border-radius: 8px; padding: 14px 24px; justify-content: center; }
.quote-page .text-button { border: 0; background: transparent; color: #17558a; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; min-height: 44px; cursor: pointer; }
.quote-page button:disabled { opacity: .58; cursor: wait; }
.quote-page .field-error { display: block; color: #a0101b; font-weight: 500; font-size: 13px; line-height: 1.5; margin-top: 5px; }
.quote-page .field-error:empty { display: none; }
.quote-page [aria-invalid="true"] { border-color: #a0101b; }
.quote-page .rfq-error-summary, .quote-page .rfq-notice { background: #eef4f8; border-left: 3px solid #185ca0; padding: 14px 18px; margin: 20px 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.quote-page .rfq-error-summary { background: #fff4f3; border-color: #a0101b; color: #8d1720; }
.quote-page .rfq-error-summary ul { margin: 8px 0 0; padding-left: 20px; }
.quote-page .rfq-error-summary a { color: inherit; text-decoration: underline; }
.quote-page #rfq-fallback > a { display: inline-block; margin-right: 20px; }
.quote-page .rfq-success { padding: 24px 0; }
.quote-page .rfq-success h2 { font-size: clamp(28px,3vw,40px); line-height: 1.2; }
.quote-page .rfq-success p { font-size: 16px; line-height: 1.7; }
.quote-page [hidden] { display: none !important; }
@media (max-width: 1000px) {
  .quote-page .contact-grid { grid-template-columns: 1fr; }
  .quote-page .contact-grid > aside { position: static; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  .quote-page .contact-grid > aside h2, .quote-page .contact-grid > aside > p { grid-column: 1 / -1; margin: 0; max-width: none; }
  .quote-page .contact-grid > aside .contact-item { width: auto; margin: 8px 0 0; }
}
@media (max-width: 600px) {
  .quote-page .contact-cover { min-height: 0; padding: 140px 0 52px; }
  .quote-page .form-card { padding: 24px 20px; border-radius: 12px; }
  .quote-page .form-row { grid-template-columns: 1fr; }
  .quote-page .contact-grid > aside { grid-template-columns: 1fr; }
  .quote-page .contact-grid > aside .contact-item { padding-top: 12px; }
  .quote-page .rfq-group > legend { font-size: 20px; }
  .quote-page .rfq-dropzone { padding: 16px; }
  .quote-page .rfq-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .quote-page .rfq-actions .btn { width: 100%; }
  .quote-page .rfq-actions .text-button { text-align: center; }
}
@media print {
  .quote-page .contact-cover { min-height: 0; padding: 0 0 24px; }
  .quote-page .contact-cover h1 { font-size: 30pt; margin: 0 0 12px; }
  .quote-page .contact-grid { display: block; }
  .quote-page .form-card { box-shadow: none; padding: 0; border: 0; }
  .quote-page .rfq-actions, .quote-page #rfq-fallback, .quote-page .rfq-dropzone input { display: none; }
}

/* Technical and purchasing fields. */
.quote-page .quote-group {
  min-width: 0;
  margin: 8px 0 26px;
  border: 1px solid #cbd4da;
  border-radius: 8px;
  padding: 20px 20px 0;
}
.quote-page .quote-group > legend {
  padding: 0 8px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
  color: #165ba5;
}
.quote-page .quote-group > legend > span {
  font-size: 14px;
  font-weight: 400;
}
.quote-page .quote-options {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0 0 24px;
}
.quote-page .quote-options > legend {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.quote-page .quote-options > .form-help {
  margin: -2px 0 12px;
}
.quote-page #quote-specific-services .quote-group {
  background: #eaf1f7;
  border-color: #acbfce;
  padding-bottom: 20px;
}
.quote-page #quote-specific-services .form-help {
  margin: 0 0 14px;
}
.quote-page .quote-group .quote-options {
  margin-top: 8px;
}
.quote-page .quote-group textarea {
  min-height: 112px;
}
.quote-page .quote-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
.quote-page form .quote-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 0 8px;
  background: #fff;
  border: 1px solid #d5dee3;
  border-radius: 5px;
  min-height: 46px;
  font-weight: 400;
  cursor: pointer;
}
.quote-page .quote-choice-grid .quote-choice {
  margin: 0;
}
.quote-page .quote-choice:has(input:checked) {
  border-color: #165ba5;
  background: #edf4fa;
}
.quote-page form .quote-choice input,
.quote-page form .checkbox input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #165ba5;
}
.quote-page form .checkbox {
  align-items: flex-start;
  font-weight: 400;
  gap: 12px;
}
.quote-page .form-help {
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.quote-page .rfq-group + .rfq-group { border-top: 1px solid #dce3e8; padding-top: 26px; }
.quote-page .rfq-required { line-height: 1.65; }
@media (max-width: 600px) { .quote-page .quote-choice-grid { grid-template-columns: minmax(0,1fr); } .quote-page .quote-group { padding-inline: 14px; } }

/* Space the single optional comments box below the file chooser. */
.quote-page .rfq-comments { margin-top: 24px; }

/* Short RFQ steps with persistent navigation and room for zoom or small screens. */
.quote-page .rfq-has-wizard { padding: clamp(20px, 2.6vw, 32px); }
.quote-page .rfq-has-wizard .rfq-heading > p:last-child { margin-bottom: 20px; }
.quote-page .rfq-wizard {
  display: flex;
  flex-direction: column;
  height: max(300px, min(660px, calc(100dvh - 150px)));
  min-width: 0;
  scroll-margin-top: 110px;
}
.quote-page .rfq-wizard-progress { flex: 0 0 auto; padding: 0 0 16px; }
.quote-page .rfq-wizard-status { margin: 0 0 10px; font-size: 14px; line-height: 1.4; font-weight: 600; color: #165ba5; }
.quote-page .rfq-wizard-meter { display: block; width: 100%; height: 5px; border: 0; border-radius: 8px; overflow: hidden; background: #e4edf3; color: #165ba5; }
.quote-page .rfq-wizard-meter::-webkit-progress-bar { background: #e4edf3; }
.quote-page .rfq-wizard-meter::-webkit-progress-value { background: #165ba5; }
.quote-page .rfq-wizard-meter::-moz-progress-bar { background: #165ba5; }
.quote-page .rfq-step-viewport { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; padding: 8px 12px 12px 8px; scroll-padding-block: 12px; }
.quote-page .rfq-step { min-width: 0; }
.quote-page .rfq-step-title { margin: 0 0 18px; color: #142938; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
.quote-page .rfq-wizard .rfq-group { margin: 0; padding: 0; border: 0; }
.quote-page .rfq-step > .rfq-group > legend,
.quote-page .rfq-step > .quote-group > legend { display: none; }
.quote-page .rfq-step > .quote-group { border: 0; padding: 0; margin: 0; }
.quote-page .rfq-wizard .rfq-required { margin-bottom: 18px; font-size: 12px; }
.quote-page .rfq-wizard label { margin-bottom: 16px; }
.quote-page .rfq-wizard .quote-choice { margin-bottom: 0; }
.quote-page .rfq-wizard .quote-options { margin-bottom: 18px; }
.quote-page .rfq-wizard .rfq-drawings .rfq-comments { margin-top: 0; }
.quote-page .rfq-wizard .rfq-submit-area { border: 0; padding-top: 12px; }
.quote-page .rfq-wizard-nav { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #dce3e8; padding-top: 14px; margin-top: 8px; background: #fff; }
.quote-page .rfq-wizard-primary { margin-left: auto; }
.quote-page .rfq-wizard-nav button { min-height: 48px; border-radius: 6px; padding: 12px 24px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.quote-page .rfq-wizard-nav button:disabled { cursor: wait; }
.quote-page .rfq-back { border: 1px solid #b8c8d3; background: #fff; color: #244c67; }
.quote-page .rfq-back:hover { background: #eff4f7; }
.quote-page .rfq-review { margin: 18px 0 24px; border-top: 1px solid #dce3e8; }
.quote-page .rfq-review > div { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid #dce3e8; }
.quote-page .rfq-review dt, .quote-page .rfq-review dd { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.quote-page .rfq-review dt { color: #244c67; font-weight: 600; }
.quote-page .rfq-review dd { color: #526371; white-space: pre-wrap; }
@media (max-width: 600px) {
  .quote-page .rfq-has-wizard { padding: 20px 16px; }
  .quote-page .rfq-wizard { height: max(280px, min(660px, calc(100dvh - 130px))); scroll-margin-top: 95px; }
  .quote-page .rfq-step-viewport { padding-right: 8px; }
  .quote-page .rfq-wizard-nav { gap: 10px; }
  .quote-page .rfq-wizard-nav button { padding-inline: 18px; }
  .quote-page .rfq-review > div { grid-template-columns: 1fr; gap: 4px; }
}
@media print {
  .quote-page .rfq-wizard { display: block; height: auto; }
  .quote-page .rfq-wizard-progress, .quote-page .rfq-wizard-nav, .quote-page [data-rfq-step="review"] { display: none !important; }
  .quote-page .rfq-step-viewport { overflow: visible; padding: 0; }
  .quote-page .rfq-step[hidden]:not([data-rfq-step="review"]):not([data-rfq-step-irrelevant]) { display: block !important; }
  .quote-page .rfq-step { margin-bottom: 28px; }
}
