/* Homepage-only request form (does not affect inner pages) */

main.page-home .home-request {
  margin-bottom: 72px;
}

@media screen and (max-width: 768px) {
  main.page-home .home-request {
    margin-bottom: 40px;
  }
}

main.page-home .home-request__block {
  max-width: 1135px;
  background-color: rgba(255, 255, 255, 0.1019607843);
  border-radius: 48px;
  padding: 40px;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-request__block {
    border-radius: 24px;
    padding: 16px;
  }
}

main.page-home .home-request__title {
  font-family: "Unbounded", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 120%;
  color: #0F66FF;
  margin-bottom: 12px;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-request__title {
    font-size: 24px;
    margin-bottom: 4px;
  }
}

main.page-home .home-request__text {
  font-size: 16px;
  color: #2A2E39;
}

main.page-home .home-request__block .home-request-form__form {
  display: flex;
  gap: 8px;
  margin: 40px 0 0;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-request__block .home-request-form__form {
    margin: 24px 0 0;
    flex-direction: column;
  }
}

main.page-home .home-request__block .home-request-form__form__input {
  width: 33%;
  padding: 16px;
  background-color: #fff;
  color: #2A2E39;
  font-size: 18px;
  font-weight: 400;
  border: 1px solid #D4D5D7;
  border-radius: 16px;
  outline: none;
  box-sizing: border-box;
}

main.page-home .home-request__block .home-request-form__form__input::placeholder {
  color: #94969C;
}

main.page-home .home-request__block .home-request-form__form__input:focus-visible {
  outline: none;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-request__block .home-request-form__form__input {
    width: 100%;
    padding: 16px 25px;
  }
}

main.page-home .home-request__block .home-request-form__form__btn {
  width: 33%;
  background-color: #0F66FF;
  border-radius: 16px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

main.page-home .home-request__block .home-request-form__form__btn:hover {
  opacity: 0.8;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-request__block .home-request-form__form__btn {
    height: 57px;
    width: 100%;
  }
}

main.page-home .home-request__block .home-request-form__form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

main.page-home .home-request__block .home-request-form__form-check-input {
  width: 24px;
  height: 24px;
  border: 1px solid #94969C;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border-radius: 6px;
}

main.page-home .home-request__block .home-request-form__form-check-input::after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("../images/index/checked.png");
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

main.page-home .home-request__block .home-request-form__form-check-input:checked::after {
  display: block;
}

main.page-home .home-request__block .home-request-form__form-check-label {
  font-size: 16px;
  color: #2A2E39;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-request__block .home-request-form__form-check-label {
    font-size: 14px;
  }
}

main.page-home .home-request__block .home-request-form__form-check-label a {
  color: #0F66FF;
}

/* Footer form on homepage */
main.page-home .home-footer-request {
  background-color: #F6FAFF;
  padding-bottom: 16px;
}

main.page-home .home-footer-request__wrapper {
  padding: 48px 0;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-footer-request__wrapper {
    padding: 24px 0;
  }
}

main.page-home .home-footer-request__block {
  max-width: 868px;
  margin: 0 auto;
}

main.page-home .home-footer-request__title {
  font-family: "Unbounded", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 120%;
  color: #2A2E39;
  margin-bottom: 40px;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-footer-request__title {
    margin-bottom: 24px;
    font-size: 24px;
  }

  main.page-home .home-footer-request__title br {
    display: none;
  }
}

main.page-home .home-footer-request__block .home-request-form__form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-footer-request__block .home-request-form__form {
    flex-direction: column;
  }
}

main.page-home .home-footer-request__block .home-request-form__form__input {
  width: 39%;
  padding: 16px;
  background-color: #fff;
  color: #2A2E39;
  font-size: 18px;
  font-weight: 400;
  border: 1px solid #D4D5D7;
  border-radius: 16px;
  outline: none;
  box-sizing: border-box;
}

main.page-home .home-footer-request__block .home-request-form__form__input::placeholder {
  color: #94969C;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-footer-request__block .home-request-form__form__input {
    width: 100%;
  }
}

main.page-home .home-footer-request__block .home-request-form__form__btn {
  width: 20%;
  background-color: #0F66FF;
  color: #fff;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
  height: 57px;
  border-radius: 16px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-footer-request__block .home-request-form__form__btn {
    width: 100%;
  }
}

main.page-home .home-footer-request__block .home-request-form__form-check {
  display: flex;
  gap: 8px;
  align-items: center;
}

main.page-home .home-footer-request__block .home-request-form__form-check-input {
  width: 24px;
  height: 24px;
  border: 1px solid #94969C;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border-radius: 6px;
}

main.page-home .home-footer-request__block .home-request-form__form-check-input::after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("../images/index/checked.png");
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

main.page-home .home-footer-request__block .home-request-form__form-check-input:checked::after {
  display: block;
}

main.page-home .home-footer-request__block .home-request-form__form-check-label {
  font-size: 16px;
  font-weight: 400;
  color: #2A2E39;
}

@media screen and (max-width: 1024px) {
  main.page-home .home-footer-request__block .home-request-form__form-check-label {
    font-size: 14px;
  }
}

main.page-home .home-footer-request__block .home-request-form__form-check-label a {
  color: #0F66FF;
}
