.banner-info {
  width: auto;
  height: auto;
  margin: 0 24px;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-image: url("../../images/fondo_hojas_mobile.png");
  font-family: "Gilroy", sans-serif;
}

.banner-info__container {
  width: 100%;
  height: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.banner-info__form-wrapper .option {
  font-size: 12px !important;
  color: #65717b !important;
}

.banner-info__character,
.banner-info__character img {
  display: none;
}

.banner-info__middle {
  order: 1;
  height: auto;
  text-align: center;
  padding: 1rem 1rem;
  margin: 38px 38px 0 38px;
}

.banner-info__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  color: #427f51;
}

.banner-info__form-wrapper {
  order: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.webform-element--title-inline > label {
  display: flex;
}

.banner-info__form-wrapper form {
  display: grid;
  width: 100%;
  margin: 0 22px;
  gap: 16px;
}

.banner-info__form-wrapper .webform-type-checkbox {
  display: flex;
  gap: 5px;
}

.banner-info__form-wrapper label {
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
  text-align: left;
  color: #427f51;
  margin-left: 0 !important;
}

.banner-info__form-wrapper input {
  width: 100%;
  height: 38px;
  font-size: 14px;
  border-radius: 11px !important;
  border: 1px solid #427f51 !important;
  background-color: #fff;
}

.banner-info__form-wrapper input[type="submit"] {
  width: 100%;
  height: 48px !important;
  padding: 10px 19px;
  border-radius: 33px !important;
  background-color: #1f6166 !important;
  font-weight: 600 !important;
  color: #fff !important;
  font-size: 14px !important;
}

.banner-info__form-wrapper input[type="submit"]:hover {
  background-color: #427f51 !important;
}

.webform-type-checkbox {
  font-size: 12px;
  line-height: 16px;
  color: #65717b;
  text-align: left;
}

.webform-type-checkbox input[type="checkbox"] {
  border: 2px solid #427f51 !important;
  border-radius: 0 !important;
  height: 18px;
  width: 18px;
  background: transparent;
}

.webform-type-checkbox input[type="checkbox"]:checked {
  background-color: #427f51;
}

@media (min-width: 576px) {
  .banner-info {
    background-image: var(--banner-bg, url("../../images/fondo_hojas.png"));
  }
}

@media (min-width: 768px) {
  .banner-info__container {
    margin: 0 22px;
  }

  .banner-info__container {
    padding: 0;
    min-height: 407px;
    opacity: 1;
    border-radius: 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(290px, 40%) auto;
    gap: 2rem;
    position: relative;
  }

  .banner-info {
    background-position: calc(100% + 65px) center;
  }

  .banner-info__middle {
    text-align: start;
    padding: 0;
    margin: 0 0 0 34px;
  }

  .banner-info__title {
    font-size: 32px;
    line-height: 47px;
    text-align: start;
  }

  .banner-info__form-wrapper label {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 5px;
  }

  .banner-info__form-wrapper input {
    height: 45px;
  }

  .webform-type-checkbox {
    font-size: 14px;
    line-height: 20px;
  }

  .webform-type-checkbox > div {
    display: inline-block;
  }

  .banner-info__form-wrapper input[type="submit"] {
    min-height: 57px !important;
    font-size: 20px !important;
  }

  .banner-info__form-wrapper form {
    margin: 0 17px;
    gap: 10px;
  }

  .banner-info__form-wrapper .option {
    font-size: 14px !important;
    line-height: 20px !important;
  }
}

@media (min-width: 1024px) {
  .banner-info {
    margin: 0 101px;
  }

  .banner-info__container {
    grid-template-columns: 50% auto;
    padding: 0 20px;
  }

  .banner-info__title {
    font-size: 34px;
    line-height: 47px;
    text-align: start;
  }
}

@media (min-width: 1300px) {
  .banner-info {
    overflow: visible;
    position: relative;

    width: 100%;
    padding: 0;
    margin: 150px 0 0 0;
    background-position: right center;
    gap: 0;
  }

  .banner-info .form-actions {
    margin: 0 auto;
  }

  .banner-info__form-wrapper input[type="submit"] {
    width: 326px !important;
  }

  .banner-info__middle {
    margin: 0;
  }

  .banner-info__character {
    display: block;
    position: relative;
    width: 318px;
    height: 540px;
    opacity: 1;
    margin-top: -95px;
    z-index: 5;
  }

  .banner-info__character img {
    width: 100%;
    height: 540px;
    display: block;
  }

  .banner-info__container {
    grid-template-columns: 270px minmax(380px, 1fr) 1fr;
    min-width: 1300px;
    height: 446px;
    padding: 0 120px 0 0;
  }

  .banner-info__title {
    font-size: 45px;
    line-height: 64px;
    text-align: start;
  }

  .banner-info__form-wrapper label {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .banner-info__form-wrapper input {
    height: 55px;
  }
}
