/* CONTACTO */
#contact {
  padding: 0 0 var(--paddingMedium) 0;
  background-color: var(--gris-2);
  position: relative;
}

#contact.gray {
  background-color: #f8f8f9;
}

#contact .box {
  border-radius: var(--radiusV);
  padding: var(--innerPadding);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  min-height: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
  align-items: center;
}

#contact .wrapper {
  display: flex;
  flex-direction: column;
}

#contact .wrapper .formWrapper {
  position: relative;
}

#contact .wrapper #waiting {
  text-align: center;
  font-weight: 600;
  background: url(../../../styles/images/throbber.gif) no-repeat center 0;
  padding: 40px 0 0 0;
}

#contact .wrapper h2 {
  font-weight: 700;
  margin: 0.2em 0 0.5em 0px;
  font-size: clamp(1.8rem, 5vw, 3.7rem);
}

#contact .wrapper p {
  font-weight: 600;
  font-size: clamp(0.7rem, 3.6vw, 1.2rem);
  line-height: 1.3em;
  position: relative;
  z-index: 10;
}

#contact .wrapper form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

#contact .wrapper input[type="text"] {
  margin-bottom: 2px;
  margin-top: 30px;
  padding: 0px 2px 4px 0;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #b3bcc4;
  display: inline-block;
  /* height: 33px; */
  box-sizing: border-box;
  font-size: 18px;
  width: 100%;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

#contact .wrapper textarea {
  margin-bottom: 2px;
  margin-top: 30px;
  padding: 0px 2px 4px 0;
  border-top: none;
  border-left: none;
  border-right: none;
  border: 1px solid #b3bcc4;
  display: inline-block;
  /* height: 33px; */
  box-sizing: border-box;
  font-size: 18px;
  line-height: 24px;
  width: 100%;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  height: 150px;
}

#contact .wrapper input[type="text"]:focus {
  border-bottom: 1px solid #b9bcc0;
}

::-webkit-input-placeholder {
  font-weight: 600 !important;
}

::-moz-placeholder {
  /* Firefox 19+ */
  font-weight: 600 !important;
}

:-ms-input-placeholder {
  /* IE 10+ */
  font-weight: 600 !important;
}

:-moz-placeholder {
  /* Firefox 18- */
  font-weight: 600 !important;
}

#contact .wrapper .selector {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  margin: 24px 0 0 0;
}

#contact .wrapper .selector p {
  width: 120px;
  color: ##2b334c;
  font-weight: 300;
  font-size: 18px;
  padding-top: 5px;
  margin: 0;
}

#contact .wrapper .selector select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  padding: 0px 30px 4px 0px;
  width: 100%;
  height: 33px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #b3bcc4;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg baseProfile='tiny' version='1.2' viewBox='0 0 54.854 54.854' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m27.427 36.506c-0.55 0-1.1-0.181-1.555-0.542l-16.566-13.158c-1.082-0.858-1.262-2.431-0.403-3.512 0.858-1.081 2.433-1.262 3.512-0.403l15.012 11.922 15.011-11.922c1.081-0.859 2.652-0.678 3.513 0.403 0.858 1.081 0.678 2.654-0.403 3.512l-16.565 13.158c-0.455 0.361-1.006 0.542-1.556 0.542z' fill='%23b3bcc4'/%3E%3Crect width='54.854' height='54.854' fill='none'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: calc(100% - 7px) 5px;
  background-size: 20px;
  position: relative;
}

#contact.gray .wrapper .selector select {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #cdcfd2;
  background-color: #f8f8f9;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg baseProfile='tiny' version='1.2' viewBox='0 0 54.854 54.854' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m27.427 36.506c-0.55 0-1.1-0.181-1.555-0.542l-16.566-13.158c-1.082-0.858-1.262-2.431-0.403-3.512 0.858-1.081 2.433-1.262 3.512-0.403l15.012 11.922 15.011-11.922c1.081-0.859 2.652-0.678 3.513 0.403 0.858 1.081 0.678 2.654-0.403 3.512l-16.565 13.158c-0.455 0.361-1.006 0.542-1.556 0.542z' fill='%23b3bcc4'/%3E%3Crect width='54.854' height='54.854' fill='none'/%3E%3C/svg%3E%0A");
  font-weight: 400;
}

#contact .wrapper p.validation {
  font-size: 16px;
  padding-top: 10px;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #b9bcc0;
  font-weight: 400;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #b9bcc0;
  font-weight: 400;
}

:-ms-input-placeholder {
  /* IE 10+ */
  color: #b9bcc0;
  font-weight: 400;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: #b9bcc0;
  font-weight: 400;
}

#contact .wrapper label {
  color: #e63b3b;
  font-size: 14px;
  font-weight: 600;
}

#contact .wrapper input[type="submit"] {
  margin-top: 21px;
  border: none;
  font-size: clamp(0.7rem, 3.6vw, 1.2rem);
  font-weight: 700;
  background-color: var(--dorado-2);
  color: var(--marino);
  padding: 0.3em 0.8em;
  border-radius: 10px;
  transition: all 0.2s;
  display: inline-block;
}

#contact .wrapper input[type="submit"]:hover {
  background-color: var(--dorado-4);
}

@media screen and (max-width: 890px) {
  #contact .box {
    grid-template-columns: repeat(1, 1fr);
    gap: 70px;
  }
}
