.banner-contacto{
  background-color: #ececec;  
}

.banner-img {
  width: 100vw;
  height: 60vh; /* altura máxima relativa a la pantalla */
  object-fit: cover; /* recorta sin deformar */
  display: block;
}

.texto-contacto {
  padding: 40px 20px;
  text-align: center;
}

.texto-contacto p {
  font-size: 18px;
  line-height: 1.6;
  color: #111;
  max-width: 1000px;
  margin: 0 auto;
}

.seccion-formulario {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #ececec; 
  padding: 60px 20px;
  gap: 40px;
}

.info-contacto {
  position: relative;
  max-width: 400px;
  min-width: 300px;
  flex: 1;
  height: auto;
  overflow: hidden;
}

.info-contacto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.5);
}

.texto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 30px;
  color: #fff;
  z-index: 2;
}

.texto-overlay h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.texto-overlay p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.formulario-box {
  background-color: #fff;
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 600px;
  flex: 1;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fila-doble {
  display: flex;
  gap: 20px;
}

.campo {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fila-doble .campo {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 14px;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  box-sizing: border-box;
  width: 100%;
}

textarea {
  resize: vertical;
}

.checkbox-politica {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}

button[type="submit"] {
  background-color: #34c3d6;
  color: #fff;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
  font-family: 'Playfair Display', serif;   
}

button[type="submit"]:hover {
  background-color:  #00a1b7;
  color: black;
}
