


    .container1 {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
      
    }

    .bg-image-desktop,
    .bg-image-mobile {
      width: 100%;
      display: block;
    }

    .bg-image-mobile {
      display: none;
    }

    .form-overlay {
      position: absolute;
      top: 220px; /* ajusta para escritorio */
      left: 40px;
      width: 45%;
      background: transparent;
      padding: 20px;
      border-radius: 10px;
      box-shadow: none;
      z-index: 2;
    }

    .form-overlay h3 {
      margin-top: 0;
      color: #333;
    }

    .form-overlay input {
      width: 80%;
      padding: 10px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 14px;
    }

    .form-overlay button {
      width: 80%;
      padding: 10px;
      background-color: #f13c3c;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }

    .form-overlay button:hover {
      background-color: #c63030;
    }

    @media (max-width: 600px) {
      .bg-image-desktop {
        display: none;
      }

      .bg-image-mobile {
        display: block;
      }

      .form-overlay {
        top: 97px; /* ajusta según la imagen móvil */
        left: 30px;
        width: 80%;
        padding: 15px;
        max-height: 100%;
      }


    }

    /* Modal */
 .modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: auto;
  height: 100vh;
}

.modal-content {

  position: relative;

  margin: 0;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  overflow: hidden;

}

.close {
  color: white;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}



.custom-modal {
  width: 100% !important;
  max-height: 100vh !important;
  top: 0 !important;
}