/* Shared enquiry/contact layouts. Keep the established RFQ data and submission flow. */
body.mgs-site .mgs-quote-page>.mgs-page-title,
body.mgs-site .mgs-contact-page>.mgs-page-title { margin:20px 0 24px!important;padding:0 0 8px!important;font-size:30px!important;line-height:36.40625px!important; }
body.mgs-site .mgs-quote-hero { display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:30px;margin:0 -15px 48px;padding:0 15px 0;min-height:0;background:var(--mgs-blue);color:#fff;border-radius:9px 9px 0 0;box-shadow:0 0 12px #0004; }
body.mgs-site .mgs-quote-hero h2 { grid-column:1;grid-row:1;margin:0 0 16px!important;padding:0!important;color:#fff!important;font:400 30px/1.48 Oswald,Arial,sans-serif; }
body.mgs-site .mgs-quote-hero-copy { grid-column:1;grid-row:2;max-width:none; }
body.mgs-site .mgs-quote-hero-copy h3 { margin:0 0 24px;padding:0;text-align:center;font:400 30px/44px Oswald,Arial,sans-serif; }
body.mgs-site .mgs-quote-hero-copy h3 a { color:#fff;text-decoration:none; }
body.mgs-site .mgs-quote-hero-copy p { margin:0 0 24px;font-size:18.7px;line-height:1.618; }
body.mgs-site .mgs-quote-hero-copy p:last-child { margin-bottom:0; }
body.mgs-site .mgs-quote-hero-media { position:static;grid-column:2;grid-row:1 / span 2;align-self:start;justify-self:center;display:block;width:250px;height:200px;max-width:100%;margin:24px 0;background:transparent;border:0; }
body.mgs-site .mgs-quote-hero-media img { width:100%;height:100%;object-fit:contain;-webkit-box-reflect:unset; }
.mgs-quote-page .mgs-quote-list-section { margin:0 0 32px; }
.mgs-quote-page .mgs-quote-form { max-width:none;margin:32px 0 48px; }
.mgs-quote-page .mgs-form-grid { gap:16px 30px; }
.mgs-quote-page .mgs-form-grid p { margin:0; }
.mgs-quote-page .mgs-quote-form h2 { margin:24px 0; }
.mgs-quote-page .mgs-quote-form textarea { resize:vertical; }
.mgs-quote-page .mgs-quote-lines { margin:16px 0; }
.mgs-quote-page .mgs-quote-line,.mgs-quote-page .mgs-manual-line { min-width:0; }
.mgs-quote-page .mgs-quote-line>*,.mgs-quote-page .mgs-manual-line>* { min-width:0;overflow-wrap:anywhere; }
.mgs-contact-page .mgs-contact-layout { align-items:start; }
.mgs-contact-page .mgs-contact-details h2,.mgs-contact-page .mgs-contact-details h3 { font-weight:400; }
.mgs-contact-page .mgs-contact-details p { overflow-wrap:anywhere; }
.mgs-contact-page .mgs-quote-form { max-width:none; }
.mgs-contact-intro { max-width:750px;margin:24px auto 70px;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:30px; }
.mgs-contact-factory { text-align:center; }
.mgs-contact-factory h2 { font-size:24px;margin:0 0 24px; }
.mgs-contact-factory-image { display:block;max-width:342px;max-height:300px;width:auto;height:auto;object-fit:contain;margin:0 auto;-webkit-box-reflect:unset; }
.mgs-contact-actions { display:flex;flex-direction:column;gap:26px;padding-top:8px; }
body.mgs-site .mgs-contact-actions>.button { display:block;width:100%;font:400 24px/1.5 Oswald,Arial,sans-serif;padding:8px 12px;text-transform:uppercase;text-align:center; }
.mgs-contact-actions .mgs-icon { width:24px;height:24px;vertical-align:baseline; }
.mgs-contact-page .mgs-contact-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14%;padding:0 8%;margin:0 0 48px; }
.mgs-contact-panel-heading { padding:18px 24px;background:var(--mgs-blue);color:white;text-align:center;border-radius:9px 9px 0 0;box-shadow:0 0 12px #0003;margin:0 0 24px; }
.mgs-contact-panel-heading h2 { color:#fff!important;font:600 36px/1.25 Oswald,Arial,sans-serif!important;margin:0 0 8px; }
.mgs-contact-panel-heading p { margin:0;font-size:18.7px;line-height:1.618; }
.mgs-contact-page .mgs-form-grid { grid-template-columns:minmax(0,1fr); }
.mgs-contact-details>.mgs-contact-panel-heading~h3 { font-size:24px; }
.mgs-contact-details>.mgs-contact-panel-heading+p { text-align:center; }
.mgs-about-page .mgs-page-title { margin:20px 0 24px!important;font-size:30px!important;line-height:36.40625px!important; }
.mgs-about-page .mgs-about-content { font-size:18.7px;line-height:1.618; }
.mgs-about-page .mgs-about-content h2 { margin:32px 0 16px; }
.mgs-about-page .mgs-about-opening { margin-top:48px;margin-bottom:48px; }
.mgs-about-page .mgs-about-opening>h2 { font-size:30px;margin:0 0 24px; }
.mgs-about-page .mgs-about-intro { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start; }
.mgs-about-page .mgs-about-intro p { font-size:18.7px;line-height:1.618;margin:0 0 24px; }
.mgs-about-page .mgs-about-photo { padding:0 15px; }
.mgs-about-history { padding:48px 0;margin:0 0 48px; }
.mgs-about-history h2 { font-size:30px;margin:0 0 32px; }
.mgs-about-history h3 { font-size:22px;margin:24px 0 8px; }
.mgs-about-history p { font-size:18.7px;line-height:1.618; }
@media(max-width:1199px) {
  body.mgs-site.mgs-catalog-route .mgs-mobile-contact-bar { display:none!important; }
  body.mgs-site.mgs-catalog-route .mgs-header { height:211px!important;min-height:211px!important; }
}
@media(max-width:767px) {
  body.mgs-site .mgs-quote-page>.mgs-page-title,body.mgs-site .mgs-contact-page>.mgs-page-title { font-size:24px!important;line-height:29.125px!important; }
  body.mgs-site .mgs-quote-hero { display:block;padding:0 15px 24px;margin-bottom:40px; }
  body.mgs-site .mgs-quote-hero h2 { font-size:24px;line-height:1.38; }
  body.mgs-site .mgs-quote-hero-copy h3 { font-size:24px;line-height:36.8px; }
  body.mgs-site .mgs-quote-hero-media { display:none; }
  .mgs-quote-page .mgs-form-grid,.mgs-contact-page .mgs-form-grid { grid-template-columns:minmax(0,1fr); }
  .mgs-quote-page .mgs-manual-line { grid-template-columns:minmax(0,1fr) 70px 40px;gap:10px; }
  .mgs-quote-page .mgs-manual-line>label:nth-child(1) { grid-column:1 / -1; }
  .mgs-quote-page .mgs-manual-line>label:nth-child(2) { grid-column:1; }
  .mgs-quote-page .mgs-quote-line { grid-template-columns:minmax(0,1fr) 70px 40px;gap:8px; }
  .mgs-contact-intro { display:block;margin-bottom:48px; }
  .mgs-contact-factory-image { max-width:100%;max-height:280px; }
  .mgs-contact-actions { margin:24px auto 0;max-width:300px; }
  .mgs-contact-page .mgs-contact-layout { grid-template-columns:minmax(0,1fr);gap:48px;padding:0; }
  .mgs-contact-panel-heading h2 { font-size:30px!important; }
  .mgs-about-page .mgs-page-title { font-size:24px!important; }
  .mgs-about-page .mgs-about-intro { grid-template-columns:minmax(0,1fr);gap:24px; }
  .mgs-about-page .mgs-about-photo { padding:0; }
  .mgs-about-page .mgs-about-opening>h2,.mgs-about-history h2 { font-size:24px; }
}
