.gform_heading {
    margin-bottom: 0.6rem;
}

.gform_wrapper.gravity-theme .gform_validation_errors>h2 {
    color: var(--color-error)!important;
}

#validation_message_1_1 {
    color: var(--color-error)!important;
}

@media (max-width: 640px) {
  .gform_wrapper.gravity-theme .ginput_complex {
    gap: 16px !important;
  }
  
  .gform_wrapper.gravity-theme .ginput_complex span {
    margin-bottom: 0 !important;
  }
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

.recaptcha-text {
  font-size: calc(var(--step--1) * 0.9)!important;
}

/* Remove anchor from grid flow but keep it for scrolling */
.contact-us-wrapper > #gf_1 {
    position: absolute;
}

/* Ensure confirmation wrapper takes the first column */
#gform_confirmation_wrapper_1 {
    grid-column: 1;
    grid-row: 1;
}

/* Ensure map stays in second column */
.contact-us-wrapper > .w-html {
    grid-column: 2;
    grid-row: 1;
}

/* Optional: style the confirmation message */
#gform_confirmation_message_1 {
    font-size: 1.25rem;
    padding-top: 1rem;
}

/* Mobile: reset to single column */
@media (max-width: 1023px) {
    #gform_confirmation_wrapper_1,
    .contact-us-wrapper > .w-html {
        grid-column: 1;
        grid-row: auto;
    }
}

.gform_confirmation_message,
.form_saved_message_sent {
    font-size: 1.2rem;
    color: var(--color-success, #6b8e23)!important;
    font-weight: 700;
}