.block-form {
  margin-bottom: 3.125rem;
}

.block-form__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.block-form__left-part {
  width: calc(50% - 0.625rem);
  padding: 3.125rem 3.75rem;
  border-radius: 2rem;
  background: var(--c-light-grey-2);
  position: relative;
}

.block-form__left-part .form-block__title {
  margin-bottom: 1.5rem;
  max-width: 26.313rem;
  position: relative;
  z-index: 2;
}

.block-form__left-part .form-block__title span {
  color: var(--c-brand-orange);
}

.block-form__left-part p {
  font-weight: 600;
  font-size: 1rem;
  line-height: 130%;
  opacity: 0.7;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 16.875rem;
}

.block-form__left-part img {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: 23rem;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.block-form__right-part {
  width: calc(50% - 0.625rem);
  background: #3f5286;
  padding: 3.125rem 3.75rem;
  border-radius: 1.563rem;
  margin: 0;
}

.block-form__right-part .childBanner__form {
  gap: 0;
  width: 100%;
  margin: 0;
}

.block-form__right-part .form-group {
  width: 100%;
  margin-bottom: 1.875rem;
}

.block-form__field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.block-form__right-part .form-group input {
  margin-bottom: 0.625rem;
  width: 100%;
  border-radius: 1.25rem !important;
  padding: 1.25rem 1.875rem;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: #4b619d;
  font-family: Inter;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.688rem;
  color: var(--c-white);
  height: auto;
}

.block-form__right-part .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.block-form__right-part .form-group input:last-child {
  margin-bottom: 0;
}

.block-form__right-part .free-form-row-check {
  margin-bottom: 1.875rem;
}

.block-form__right-part .free-form-row-check .checkbox {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
}

.block-form__right-part .free-form-row-check .checkbox:not(:last-child) {
  margin-bottom: 1.25rem;
}

.block-form__right-part .free-form-row-check .checkbox .input-box {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.625rem;
  background: transparent;
  margin-top: -2px;
  flex: 0 0 1.5rem;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.block-form__right-part .free-form-row-check .checkbox .checkbox-label {
  color: var(--c-white) !important;
  font-family: Inter;
  font-weight: 400 !important;
  font-size: 1rem;
  line-height: 130%;
  letter-spacing: 0px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.block-form__right-part .free-form-row-check .checkbox .checkbox-label a {
  color: var(--c-white);
  text-decoration: none;
  font-family: Inter;
  font-weight: 400 !important;
  font-size: 1rem;
  line-height: 130%;
  letter-spacing: 0px;
}

.block-form__right-part .btn--default {
  box-shadow: 0 0.625rem 3.125rem 0 #00000040;
  width: 100%;
}

.block-form__right-part .free-form-row-check .checkbox .input-box:before {
  content: "";
  background: var(--c-white);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0.188rem;
  position: absolute;
  left: calc(50% - 0.25rem);
  top: calc(50% - 0.25rem);
  opacity: 0;
  transition: opacity 0.3s;
}

.block-form__right-part .free-form-row-check .checkbox.active .input-box:before {
  opacity: 1;
}

.block-form__right-part textarea.input.error, 
.block-form__right-part input[type="tel"].input.error, 
.block-form__right-part input[type="text"].input.error, 
.block-form__right-part input[type="email"].input.error {
  border: 1px solid #FF667F !important;
}

.block-form__right-part textarea.input.error::placeholder, 
.block-form__right-part input[type="tel"].input.error::placeholder, 
.block-form__right-part input[type="text"].input.error::placeholder, 
.block-form__right-part input[type="email"].input.error::placeholder {
  color: #FF667F !important;
}

.block-form__right-part .checkbox-legal.error > .input-box {
    border: 1px solid #FF667F!important;
}

.block-form__right-part .checkbox-legal.error .checkbox-label,
.block-form__right-part .checkbox-legal.error .checkbox-label a {
    color: #FF667F !important;
}

@media screen and (max-width: 1023.98px) {
  .block-form {
    margin-bottom: 8.125rem;
  }

  .block-form__inner {
    gap: 0;
    background: #3f5286;
    padding: 1.875rem 1.24rem;
    border-radius: 0.938rem;
  }

  .block-form__left-part {
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .block-form__left-part .form-block__title {
    margin-bottom: 0.938rem;
    max-width: 100%;
    color: var(--c-white);
  }

  .block-form__left-part p {
    font-size: 1rem;
    margin-bottom: 0.938rem;
    color: var(--c-white);
    max-width: 17.875rem;
  }

  .block-form__left-part img {
    display: none;
  }

  .block-form__right-part {
    width: 100%;
    background: transparent;
    padding: 0;
    border-radius: 0;
  }

  .block-form__right-part .form-group input {
    padding: 1.25rem 0.938rem;
    font-size: 0.875rem;
    border-radius: 0.625rem !important;
  }

  .block-form__right-part .free-form-row-check {
    margin-bottom: 0.938rem;
    max-width: 85%;
  }

  .block-form__right-part .free-form-row-check .checkbox:not(:last-child) {
    margin-bottom: 0.625rem;
  }

  .block-form__right-part .free-form-row-check .checkbox .checkbox-label {
    font-size: 0.75rem;
    font-weight: 300;
  }

  .block-form__right-part .free-form-row-check .checkbox .checkbox-label br {
    display: none;
  }

  .block-form__right-part .free-form-row-check .checkbox .checkbox-label a {
    font-size: 0.75rem;
    font-weight: 300;
  }
}

@media screen and (max-width: 479.98px) {
  .block-form__inner {
    margin-left: calc(var(--block-px) * -1);
    margin-right: calc(var(--block-px) * -1);
  }
}
