/* ======= Botón principal ======= */
.btn-contacto {
  background-color: #400312;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-contacto:hover { background-color: #5c0620; }

/* ======= Fondo del modal ======= */
.modal-form {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(64, 3, 18, 0.6);
}

/* ======= Contenido del modal ======= */
.modal-form-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  position: relative;
}

/* ======= Botón de cierre ======= */
.close {
  color: #400312;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover { color: #000; }

/* ======= Formulario ======= */
.modal-form-content h2 {
  color: #400312;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}
.modal-form-content input,
.modal-form-content textarea,
.modal-form-content label {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s ease;
}
.modal-form-content input:focus,
.modal-form-content textarea:focus {
  border-color: #400312;
  outline: none;
}

/* ======= Botón enviar ======= */
.btn-enviar {
  background-color: #400312;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}
.btn-enviar:hover { background-color: #5c0620; }

.modal-form-content p {
  font-size: 14px;
  color: #400312;
  margin-bottom: 15px;
  line-height: 1.5;
  text-align: left;
}
