/* ----------------------- */
/* BLOQUE CONTACTO        */
/* ----------------------- */

/* Fondo aplicado solo a esta sección */
.bloque-contacto-total {
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("multimedia/FigurasPAS/B.1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  padding: 130px 46px 60px;
}

/* Bloque del formulario (izquierda) */
.bloque-contacto-formulario {
  width: 640px;
  height: 639px;
  background: white;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  margin-right: 20px;
}

/* Imagen o bloque con degradado (derecha) */
.bloque-contacto-imagen {
  width: 520px;
  height: 639px;
  border-radius: 16px;
  background: 
    linear-gradient(151.35deg, rgba(23, 47, 88, 0) -19.4%, #172F58 94.09%),
    url('multimedia/BancodeImagenesWeb/pexels-visual-tag-mx-1321732-2566581.jpg') center/cover no-repeat;
}

/* Contenedor intermedio con texto y campos */
.contacto-intermedio {
  width: 80%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Bloque de texto */
.contacto-texto {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contacto-titulo {
  font-family: 'Fustat', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  color: #24336F;
  margin: 0;
}

.contacto-descripcion {
  font-family: 'Fustat', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #24336F;
  margin: 0;
}

/* Formulario */
.contacto-formulario {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row-doble {
  display: flex;
  gap: 32px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.campo label {
  font-family: 'Fustat', sans-serif;
  font-size: 14px;
  color: #24336F;
}

.campo input,
.campo textarea {
  height: 20px;
  border-radius: 4px;
  background: #BFBFBF;
  border: none;
  padding: 8px 10px;
  font-size: 14px;
  font-family: sans-serif;
}

.campo textarea {
  height: 90px;
  resize: none;
}

/* Botón del formulario */
.contacto-formulario button {
  width: 82px;
  height: 32px;
  border-radius: 4px;
  padding: 4px 8px;
  background: #24336F;
  color: white;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}


@media (max-width: 1024px) {
  .bloque-contacto-imagen{
    display: none;
  }
  
  .bloque-contacto-total {
    padding: 100px 32px 60px;
  }

  .contacto-contenedor-general {
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
  }

  .bloque-contacto-formulario {
    width: 100%;
    height: auto;
    margin-right: 0;
    padding: 40px 32px;
  }

  .contacto-intermedio {
    position: static;
    transform: none;
    width: 100%;
  }

  .form-row-doble {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .bloque-contacto-formulario{
    padding: 30px 22px;
  }

  .bloque-contacto-total {
    padding: 80px 20px 40px;
  }

  .contacto-intermedio {
    gap: 20px;
  }

  .contacto-titulo {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
  }

  .contacto-descripcion {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }

  .contacto-formulario button {
    width: 100%;
    justify-content: center;
  }

  .campo input,
  .campo textarea {
    font-size: 13px;
  }
}
