/* Contenedor del formulario */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-family: system-ui, sans-serif;
}

/* Etiquetas */
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

/* Inputs y textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Foco */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0,123,255,0.4);
}

/* Botón enviar */
.contact-form button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background: #007bff;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #0056b3;
}

/* Turnstile centrado */
.contact-form .cf-turnstile {
  margin-top: 1rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 1rem 0 1.5rem;
  border: 1px solid transparent;
}

.alert.success {
  background: #e6f7ee;
  border-color: #b7ebc6;
}
