.block-1 {
   background: linear-gradient(
    to right,
    #4b5f86 0%,
    #6f7fa1 25%,
    #bfc5cf 50%,
    #d3d6db 100%
  );
  margin-top: 80px;
  min-height: calc(100vh - 80px); /* alto pantalla menos topbar */
  display: flex;
  /*height: calc(100vh - 80px);*/
  overflow: hidden;

}


/* CONTENEDOR GENERAL */
.block-1-section-1 {
  background: rgba(0, 32, 96, 1);
  /*width: 33vw;*/
  flex: 1;
  /*width: 33%;*/
  min-height: 100%;
  position: relative;
  overflow: hidden;
}



.image-background,
.image-background img {
  flex: 1;
  height: 105%;
  width: 100%;
}

.image-background img {
  /*filter: invert(100%); /* Inverts white to black */

  object-fit: cover;
  object-position: center top; /*Agregao*/

}
/*
.image-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  
}

.image-background img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  margin-top: 30%;
/*
  width: 100%;
  height: 100%;
  object-fit: cover;/*
}*/


.blue-background {
  position: absolute;
  inset: 0;
  background-color: rgba(21, 96, 130, 0.5);
  z-index: 2;
  /*width: 70%;*/
  inset: 0 15%;
}
/*
.blue-background {
    inset: 0 15%;
  }
/*  this do not work, is a recomendation
/*
.blue-background {
  position: absolute;
  margin-left: 15%;
  margin-right: 15%;
  width: 70%;
  inset: 0;
  background-color: rgba(21, 96, 130, 0.5);
  z-index: 2;
}*/




.block-1-section-1-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-1-section-1-content img {
  width: clamp(120px, 15vw, 180px);
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8%; /* 👈 control vertical por porcentaje */
  /*width: 180px;*/
}
/*
.block-1-section-1-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.block-1-section-1-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8%; /* 👈 control vertical por porcentaje *//*
  width: 180px;
}*/

.form-title{
  text-align: center;
  width: 65%;
  background-color: rgba(21, 96, 130, 0.5);
/*  background-color: #002060;*/
  color: white;
  margin-bottom: 1%;
  padding: 1%;
}
@media (max-width: 1200px) {
  .form-title{
    margin-bottom: 0.5%;
    padding: 0.5%;
  }
}



/*.block-1-section-2 {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}*/

.block-1-section-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* borrao*/

  flex: 0 0 65%;
  padding: clamp(32px, 5vw, 120px); /*agregao*/
}



/*.contact-form {
  width: 100%;
  max-width: clamp(650px, 60vw, 950px);
  background: #002060;
  padding: clamp(24px, 3vw, 48px);
  border-radius: clamp(32px, 6vw, 96px);
  box-sizing: border-box;
}*/
.contact-form {
  width: 100%;
  max-inline-size: min(90%, 1100px);
  background: #002060;
  padding: clamp(24px, 3vw, 48px);
  border-radius: clamp(32px, 6vw, 96px);
  box-sizing: border-box;
}




/*.contact-form {
  width: 100%;
  /*max-width: 650px;* /
  margin: clamp(12px, 3vw, 24px);
  background: #002060;
  padding: clamp(20px, 4vw, 40px);
  border-radius: clamp(24px, 6vw, 90px);
}
  */
/*
.contact-form {
  width: 85%;
  height: 80%;
  background: #002060;
  border-radius: clamp(24px, 6vw, 90px);
  padding:  clamp(18px, 3vw, 40px);
  border-radius: clamp(24px, 6vw, 90px);
}*/

@media (max-width: 1200px) {
  .contact-form{
    padding: 1.8vw;
    border-radius: 2.5vw;
    
  }
}

@media (min-width: 1024px) {
  .block-1-section-1 {
    flex: 0 0 35%;
  }

  .block-1-section-2 {
    flex: 0 0 65%;
  }
  
}

.form-row {
  display: flex;
  gap: 20px;
  /*gap: clamp(20px, 6vw, 90px);*/
  margin-bottom: clamp(20px, 2vw, 30px);
  /*margin-bottom: 2vw;*/
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}







.form-group label {
  color: white;
  font-size: clamp(4px, 2.5vw, 14px);
  /*font-size: 14px;*/
  margin-bottom: clamp(3px, 0.4vw, 10px);
  /*margin-bottom: 0.9vw;*/
}



.form-group input,
.form-group textarea {
  padding: clamp(10px, 2.5vw, 14px);
  font-size: clamp(13px, 2.5vw, 15px);
  border-radius: clamp(6px, 2vw, 16px);
  box-sizing: border-box;
}

/*.form-group input,
.form-group textarea {
  border-radius: clamp(6px, 2vw, 16px);
  font-size: 1.2rem;
  background: white;
  border: none;
  height: clamp(20px, 5vw, 40px);
  color: black;
  padding: 8px 12px;
}*/
@media (max-width: 1200px) {
  .form-group input,
  .form-group textarea {
    height: clamp(20px, 2.2vw, 25px);/*
    height: 20px;*/
    box-sizing: border-box;
  }
}



textarea {
  min-height: 100px;
  resize: none;
}




.form-footer {
  display: flex;
  justify-content: flex-end;
}

.form-footer button {
  margin-top: 1.5%;
  background: #1e6fd9;
  color: white;
  border: none;
  padding: 10px 30px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 10px;
}





/* ##############################Estilos de input de pdf##################################     /*/


.file-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/*.file-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  /*background: white;
  color: #1e6fd9;*/
  /*background: #1e6fd9;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  text-align: center;
}*/
.file-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    /*background: #1e6fd9;*/
    color: black;
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    text-align: center;
    flex-direction: column;
    height: 10%;
}

.file-btn img {
  /*width: 24px;
  height: 24px;*/
  filter: invert(100%); /* Inverts white to black */
  width: 2vw;
  height: 2vw;
}

.file-btn:hover {
  background: #155bb5;
}

.file-name {
  font-size: 0.7rem;
  color: #ddd;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  display: none;
}

.progress {
  height: 100%;
  width: 0%;
  background: #1e6fd9;
  transition: width 0.3s ease;
}


/*=========================
   RESPONSIVE to phones ajustar
========================= 
@media (max-width: 900px) {
  .block-1 {
    flex-direction: column;
  }

  .block-1-section-1 {
    min-height: 35vh;
  }

  .block-1-section-2 {
    padding: 30px 0;
  }

  .form-row {
    flex-direction: column;
  }

  .form-footer {
    justify-content: center;
  }

  .form-footer button {
    width: 100%;
  }
}
