/* Da aire por si la top-bar es fija/alta */
.contacto-wrapper {
  padding-top: 140px;
  padding-bottom: 40px;
}

/* Dos columnas: foto izquierda, formulario derecha */
.contacto-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 0 24px;
}

/* FOTO */
.contacto-foto img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* FORM */
.contacto-form h1 {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.contacto-form label {
  display: block;
  font-weight: 600;
  margin: 16px 0 8px;
}

.req {
  font-weight: 400;
  font-size: 0.9em;
  opacity: 0.7;
}

.contacto-form input[type="text"],
.contacto-form input[type="email"],
.contacto-form textarea {
  width: 100%;
  border: none;
  background: #f3f4f5;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 16px;
  outline: none;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
}

.check-row .inline {
  margin: 0;
  font-weight: 500;
}

.btn-send {
  margin-top: 18px;
  border: none;
  padding: 14px 26px;
  border-radius: 26px;
  font-weight: 700;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .contacto-layout {
    grid-template-columns: 1fr;
  }
  .contacto-foto {
    order: -1;
  }
}

.contacto-form input,
.contacto-form textarea,
.contacto-form select {
  background-color: #f3f4f5; /* Gris claro por defecto */
  color: #000000; /* Texto negro */
  border: 1px solid #ccc; /* Borde gris */
  padding: 14px 16px;
  border-radius: 8px;
  width: 100%;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Efecto al enfocar */
.contacto-form input:focus,
.contacto-form textarea:focus,
.contacto-form select:focus {
  background-color: #000000;
  color: #ffffff;
  border-color: #ff9800;
  outline: none;
}

/* Etiquetas y textos auxiliares en negro */
.contacto-form label,
.contacto-form .req,
.contacto-form .inline {
  color: #000000;
}
