.hero-contacto {
  position: relative;
  background: url("../img/hero.jpg") no-repeat center center/cover;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 60px; /* para que el logo no quede oculto */
}

.hero-contacto .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hero-contacto h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  margin: 0;
}

.hero-contacto p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2em;
  color: #ccc;
}

.contacto-formulario {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.form-container {
  background: rgba(20,20,20,0.9);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  padding: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 45%;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #ccc;
}

.form-group input,
textarea {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid #444;
  padding: 12px;
  font-family: 'Raleway', sans-serif;
  border-radius: 8px;
}

textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  margin-bottom: 20px;
}

select {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid #444;
  padding: 12px;
  font-family: 'Raleway', sans-serif;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #111;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

select option {
  background-color: #111;
  color: #fff;
}

.checkbox-texto {
  font-size: 0.8em;
  color: #aaa;
  margin-bottom: 5px;
}

.checkbox {
  font-size: 0.9em;
  text-align: left;
  color: #ccc;
}

.btn-enviar {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
}

.btn-enviar:hover {
  background: #fff;
  color: #000;
}

.contacto-datos {
  margin-top: 40px;
  text-align: center;
  color: #ccc;
}

.contacto-datos a {
  color: inherit;
  text-decoration: underline;
}

.contacto-datos .social {
  margin-top: 10px;
}

.contacto-datos .social a {
  color: #fff;
  margin: 0 8px;
  font-size: 1.2em;
}

#modal-confirmacion {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1002;
}

.modal-contenido {
  background: #111;
  padding: 20px 30px;
  text-align: center;
  border-radius: 8px;
  max-width: 400px;
}

.modal-contenido button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
  margin-top: 10px;
}

.modal-contenido button:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-group {
    min-width: 100%;
  }
}
