/* Banner Section */
.banner {
  position: relative;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  padding: 0;
}
.banner__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: inherit;
  background-position: 56% 32%;
  opacity: 0.5;
  transform: scale(1);
  background-repeat: no-repeat;
}
.banner > .container {
  padding-top: 80px;
  padding-bottom: 76px;
  position: relative;
  z-index: 2;
}

.banner__logos {
	padding-top: 32px;
}

.contacts {
  padding: 31px 30px 36px 40px;
  border-radius: 40px;
  background-color: white;
}

.banner__title {
  font-size: 48px;
  line-height: 48px;
  margin-bottom: 20px;
  /* margin-left: 3px;
  margin-top: 1px; */
}

.banner__description {
  line-height: 20px;
}

.banner__title--highlight {
  color: var(--primary-color);
}

.contacts__title {
  font-size: 24px;
  margin: 0 auto;
  max-width: 286px;
  width: 100%;
}

.contacts__description {
  font-size: 14px;
  color: #999999;
  font-weight: 400;
  margin: 0 auto;
  width: 100%;
  display: block;
  text-align: center;
  max-width: 286px;
  margin-bottom: 14px;
  width: 100%;
}

.banner__inner {
  max-width: 672px;
  width: 100%;
  border-radius: 40px;
  padding-top: 16px;
  padding-right: 21px;
  padding-left: 40px;
  padding-bottom: 28px;
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.contacts {
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9) !important;
  max-width: 360px;
  min-height: 404px;
  /* margin: 0 auto; */
  width: 100%;
}

.banner__rebate-info {
  line-height: 33px;
}

.wpcf7-not-valid-tip {
  display: none !important;
}

@media (max-width: 1024px) and (min-width: 992px) {
  .banner__inner {
    min-height: 404px;
  }
  .contacts {
    padding: 25px 30px 12px 40px !important;
  }
}

@media (max-width: 992px) {
  .banner__inner {
    max-width: 100%;
    border-radius: 40px;
    min-height: 404px;
  }

  .contacts {
    border-radius: 40px;
  }

  .banner__title {
    margin-bottom: 10px;
  }

  .banner__description {
    line-height: 24px;
  }

  .banner__rebate-info {
    line-height: 32px;
  }

  .contacts {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contacts {
    padding: 20px;
    border-radius: 40px;
  }

  .banner__title {
    font-size: 24px !important;
    line-height: 24px !important;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .banner__inner {
    border-radius: 40px;
    margin-bottom: 20px;
    min-height: unset;
  }
  .contacts__title {
    font-size: 24px;
  }
  .wpcf7-submit {
    font-size: 16px;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0 15px;
}

@media (max-width: 992px) {
  .contacts {
    min-height: 100% !important;
    width: 100%;
  }
}

.wpcf7-f9-p2-o1 {
  margin-top: 3px;
}

.wpcf7-form p {
  margin-bottom: 0;
}

.wpcf7-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  font-size: 14px !important;
  /* display: unset !important; */
}

.wpcf7-form-control-wrap input {
  width: 100%;
  padding: 14px 10px 14px 10px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 16px;
  margin-bottom: 3px;
  height: 49px;
  /* min-width: 290px; */
}

.wpcf7-form-control-wrap::placeholder {
  color: #999999;
  opacity: 1;
}

h2#swal2-title {
  font-size: 24px;
}

/* input.wpcf7-form-control.wpcf7-not-valid.wpcf7-validates-as-required {
  border: 1px solid #b50202;
} */

.wpcf7-form-control-wrap input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.wpcf7-submit {
  background-color: var(--primary-color) !important;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 10px !important;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.wpcf7-submit:hover {
  background-color: #b50202 !important;
  color: white !important;
  transition: all 0.3s ease 0s;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.wpcf7-spinner {
  margin-left: 10px;
  display: none !important;
}

.wpcf7-submit {
  margin-top: 13px !important;
}

.wpcf7-form-control.wpcf7-submit.has-spinner.active .wpcf7-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .wpcf7-not-valid-tip {
    font-size: 14px !important;
  }
  .wpcf7-form-control-wrap input {
    font-size: 14px;
  }
  .contacts__description {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .banner > .container {
    padding-top: 30px !important;
    padding-bottom: 20px !important;
  }

  .contacts {
    border-radius: 20px;
  }

  .banner__inner {
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .banner__content {
    margin-bottom: 20px;
  }

  .banner__description {
    font-size: 12px !important;
    line-height: 15px !important;
  }

  .banner__inner {
    padding-left: 15px !important;
    padding-top: 20px !important;
    padding-right: 24px !important;
  }
  .wpcf7-not-valid-tip {
    font-size: 12px !important;
  }
  .wpcf7-form-control-wrap input {
    font-size: 12px;
  }
  .contacts__description {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .wpcf7-form-control-wrap input {
    font-size: 12px;
  }
  .contacts__description {
    font-size: 12px;
  }
}
