.form-group{
  margin-bottom: 2rem;
}
.form-group.mb-12{
  margin-bottom: 1.2rem;
}
.label{
  display: block;
  font-size: 1.6rem;
  line-height: 2.4rem;
  margin: 0 0 0.4rem;
}
.form-input{
  position: relative;
}
.form-control{
  outline: none;
  width: 100%;
  border: 1px solid rgba(var(--black-hex),0.25);
  border-radius: 0.6rem;
  font-family: inherit;
  padding: 0 2rem;
  font-size: 1.6rem;
  line-height: 2.4rem;
  height: 5.6rem;
  color: var(--black);
}
textarea.form-control{
  resize: none;
  padding-top: 2rem;
  padding-bottom: 2rem;
  height: 16.8rem;
}
.phone-input .form-control{
  padding-left: 8rem;
}
.form-control.error{
  border-color: #D91C08;
}
.phone-input-placeholder{
  position: absolute;
  display: flex;
  align-items: center;
  left: 2rem;
  top: 1.6rem;
  font-size: 1.6rem;
  line-height: 2.4rem;
  z-index: 1;
}
.phone-input-placeholder p {
  display: flex;
  align-items: center;
  margin: 0;
}
.phone-input-placeholder img{
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  margin-right: 0.8rem;
}
.chk {
  display: block;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 2.4rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.chk:has(.wpcf7-form-control-wrap){
  padding-left: 0;
}
.wpcf7-list-item-label {
  position: relative;
  display: block;
  cursor: pointer;
  padding-left: 3rem;
}
.chk a{
  color: var(--green);
}
.chk a:hover{
  text-decoration: underline !important;
}
.chk input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.chk .checkmark,
.wpcf7-list-item-label:before{
  position: absolute;
  top: 0.4rem;
  left: 0;
  height: 2rem;
  width: 2rem;
  border: 1px solid var(--black);
  border-radius: 0.2rem;
}
.chk:has(.wpcf7-form-control-wrap) .checkmark{
  display: none;
}
.chk input.error ~ .checkmark,
.wpcf7-not-valid .wpcf7-list-item-label:before{
  border-color: #D91C08;
}
.chk input:checked ~ .checkmark,
.chk input:checked ~ .wpcf7-list-item-label:before{
  border-color: var(--green);
  background: var(--green);
}
.chk .checkmark:after,
.wpcf7-list-item-label:after{
  content: "";
  position: absolute;
  display: none;
}
.chk input:checked ~ .checkmark:after,
.chk input:checked ~ .wpcf7-list-item-label:after{
  display: block;
}
.chk .checkmark:after,
.wpcf7-list-item-label:after{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/icon-check.png);
  background-repeat: no-repeat;
  background-position: center;
}
.wpcf7-list-item-label:after{
  width: 2rem;
  height: 2rem;
  top: 0.4rem;
}
.form-info{
  font-size: 1.4rem;
  line-height: 2.4rem;
  margin: 2rem 0 4rem;
}
label.error,
.wpcf7-not-valid-tip{
  display: block;
  font-size: 1.4rem;
  line-height: 2.4rem;
  color: #D91C08;
  margin-top: 0.6rem;
  padding-left: 2.6rem;
  background-image: url(../images/icon-error.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 2rem;
}
.wpcf7-list-item{
  margin: 0;
}
.wpcf7-response-output {
  font-size: 1.8rem !important;
  padding: 2.8rem 0 2.8rem 7rem !important;
  border-width: 1px !important;
  line-height: 2.8rem;
  max-width: 68rem !important;
  margin: 1.6rem 0 0 auto !important;
  border-radius: 1.2rem !important;
  font-family: 'Figtree';
  letter-spacing: 0;
  color: #FFFFFF !important;
  background-color: var(--black) !important;
  border-color: var(--black) !important;
  position: relative;
}

.wpcf7 form.sent .wpcf7-response-output::before {
  content: '';
  background-image: url(../images/icon-check-2.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 2rem;
  width: 2rem;
  height: 2rem;
  transform: translateY(4px);
  left: 4rem;
  position: absolute;
}

.wpcf7 form.invalid .wpcf7-response-output{
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}
@media(min-width:1360px) and (max-width:1459.98px){
  label.error,
  .wpcf7-not-valid-tip{
    font-size: 1.3rem;
    line-height: 2rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .form-control {
    height: 5.2rem;
  }
  .phone-input-placeholder {
    top: 1.4rem;
  }
  textarea.form-control {
    height: 14.8rem;
  }
  .chk br{
    display: none;
  }
  .form-info {
    margin: 0.4rem 0 2.4rem;
  }
  label.error,
  .wpcf7-not-valid-tip {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .form-group {
    margin-bottom: 1.6rem;
  }
  .form-control {
    padding: 0 1.5rem;
    font-size: 1.5rem;
    height: 5.2rem;
  }
  .phone-input-placeholder {
    left: 1.5rem;
    top: 1.4rem;
    font-size: 1.5rem;
  }
  .phone-input .form-control {
    padding-left: 7.5rem;
  }
  textarea.form-control {
    height: 13.8rem;
  }
  .chk {
    font-size: 1.3rem;
    line-height: 2.2rem;
  }
  .chk br{
    display: none;
  }
  .form-info {
    margin: 0.4rem 0 2.4rem;
  }
  label.error,
  .wpcf7-not-valid-tip {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .chk br{
    display: none;
  }
  .wpcf7-response-output {
    max-width: 100% !important;
  }
}
@media(max-width:767.98px){
  .form-group {
    margin-bottom: 1.5rem;
  }
  .form-control {
    padding: 0 1.5rem;
    font-size: 1.5rem;
    height: 5rem;
  }
  .phone-input-placeholder {
    left: 1.5rem;
    top: 1.3rem;
    font-size: 1.5rem;
  }
  .form-info {
    margin: 0rem 0 2rem;
  }
  .contact-box .btn{
    width: 100%;
  }
  .chk br{
    display: none;
  }
  .wpcf7-response-output {
    max-width: 100% !important;
  }
}

.form-group > p:has(> label) {
  margin-bottom: 0;
} 