.hero-contacto {
  width: 100%;
  height: 45vh;
  overflow: hidden;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-card {
  background: #fff;
  padding: 3rem;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

.contact-card h1 {
  font-weight: 500;
}

.contacto-intro {
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #ddd;
}

.form-control:focus,
.form-select:focus {
  border-color: #999;
  box-shadow: none;
}

textarea.form-control {
  resize: vertical;
}

.botonx {
  display: inline-block;
  background: #111;
  color: #fff;
  border: none;
  padding: 14px 38px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
  font-weight: 500;
}

.botonx:hover {
  background: #333;
}

.volver-btn {
  display: inline-block;
  margin-top: 2rem;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
  transition: 0.3s;
}

.volver-btn:hover {
  color: #000;
  border-color: #000;
}

@media (max-width: 768px) {

  .contact-card {
    padding: 2rem 1.4rem;
  }

  .hero-contacto {
    height: 35vh;
  }

}