/* ===== Inquiry (Contact) section overlap fix ===== */
/* The map is absolutely positioned behind the form and was bleeding
   through the transparent gaps of the form. We turn the inquiry form
   into a solid card that sits above the map, and move it to the right
   (into the clear white area) so it no longer overlaps the map. */
.contact-wrapper-4 .contact-section {
  position: relative;
  z-index: 3;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Push the form card into the right-hand white area (between the red lines) */
@media (min-width: 1200px) {
  .contact-wrapper-4 .contact-section {
    margin-left: auto;
    margin-right: 0;
    max-width: 480px;
    transform: translateX(40px);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .contact-wrapper-4 .contact-section {
    margin-left: auto;
    margin-right: 0;
    max-width: 440px;
    padding: 30px;
    transform: translateX(20px);
  }
}

/* On mobile the map is hidden, so keep the card full-width and flush */
@media (max-width: 991px) {
  .contact-wrapper-4 .contact-section {
    margin-left: 0;
    max-width: 100%;
    transform: none;
    padding: 24px;
  }
}

/* ===== Contact form status message ===== */
.form-message {
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
/* Hide the box entirely when there is no message */
.form-message:empty {
  display: none;
}
.form-message.success {
  padding: 14px 18px;
  color: #0f7a3d;
  background-color: #e6f7ec;
  border: 1px solid #b7e3c6;
}
.form-message.error {
  padding: 14px 18px;
  color: #b32020;
  background-color: #fdecec;
  border: 1px solid #f3c2c2;
}
