/* Fondo */
.contact-container {
  text-align: center;
  margin-top: 40px;
}

.btn-enviar {
  background: #00796b;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}
.btn-enviar:hover {
  background: #004d40;
  transform: translateY(-2px);
}

/* Modal */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.show { opacity: 1; visibility: visible; }

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal.show .modal-content { transform: scale(1); }

.cerrar {
  color: #999;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.cerrar:hover { color: #000; }

/* Formulario */
form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
}
.btn-submit {
  margin-top: 15px;
  width: 100%;
  background: #1e3d59;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-submit:hover { background: #16344a; }

#resultado { margin-top: 12px; font-weight: bold; }