/* Keep direct links and Gravity Forms' validation/confirmation anchors below the fixed navigation. */
.mw-contact #gf_1, .ml-form #gf_1, .mw-contact #gform_confirmation_wrapper_1,
.ml-form #gform_confirmation_wrapper_1 {scroll-margin-block-start:155px}
@media (max-width:980px) {
  .mw-contact #gf_1, .ml-form #gf_1, .mw-contact #gform_confirmation_wrapper_1,
  .ml-form #gform_confirmation_wrapper_1 {scroll-margin-block-start:100px}
}

/* Native Orbital normally uses a 12-column grid. Keep the approved Windows two-column card. */
.mw-page .mw-contact__card #gform_wrapper_1 .gform_fields {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px
}
.mw-page .mw-contact__card #gform_wrapper_1 .gfield--width-half {grid-column:span 1}
.mw-page .mw-contact__card #gform_wrapper_1 .gfield--width-full {grid-column:1 / -1}
.mw-page .mw-contact__card #gform_submit_button_1 {width:auto}
.mw-page .mw-contact__card .gform_confirmation_message, .ml-form .gform_confirmation_message {
  color:#483022;font-size:17px;line-height:1.55
}
@media (max-width:500px) {
  .mw-page .mw-contact__card #gform_wrapper_1 .gform_fields {grid-template-columns:minmax(0,1fr);gap:15px}
  .mw-page .mw-contact__card #gform_submit_button_1 {width:100%}
}

/* Use the same native select sizing and baseline as the approved window card. */
.mw-contact__card #gform_wrapper_1 #input_1_5 {height:auto;display:inline-block}
.mw-contact__card #gform_wrapper_1 .ginput_container_select {line-height:1.55}

/* Gravity Forms provides the counter text and updates it as the homeowner types. */
@layer meehan-typography {
  body.m-site #page-container #main-content #gform_wrapper_1 #field_1_6 .ginput_counter {
    display:inline!important;margin:0!important;padding:0!important;
    font:inherit!important;line-height:inherit!important;color:inherit!important;
  }
}
