.consultation-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
  isolation: isolate;
  margin: 0 0 70px;
  padding: 30px;
  border: 2px solid #324a9e;
  border-radius: 20px;
  background: #ffffff;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 16px;
  line-height: 20px;
  color: #111111;
}
.consultation-form__decor {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 354/669;
  overflow: visible;
  fill: #e0e7f0;
  pointer-events: none;
}
.consultation-form__decor--desktop {
  display: none;
  max-width: 45%;
  aspect-ratio: 330/502;
}
.consultation-form__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.consultation-form__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.consultation-form__title {
  max-width: 32ch;
  margin: 0 !important;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 32px;
  color: #111111;
  text-wrap: pretty;
}
.consultation-form__description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 75ch;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #111111;
  opacity: 0.7;
}
.consultation-form__description p,
.consultation-form__description li {
  margin: 0;
  font: inherit;
  color: inherit;
  text-wrap: pretty;
}
.consultation-form__description ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  list-style: none;
}
.consultation-form__description li {
  position: relative;
  padding: 0 0 0 16px;
  list-style: none;
}
.consultation-form__description li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffa800;
}
.consultation-form__caption {
  margin: 0;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #111111;
  opacity: 0.7;
  text-wrap: pretty;
}
.consultation-form__caption {
  max-width: 75ch;
}
.consultation-form .web-form {
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #111111;
}
.consultation-form .web-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}
.consultation-form .web-form__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  min-height: 200px;
  padding: 32px 24px;
  border-radius: 16px;
  background: #f4f4f2;
  outline: none;
  animation: web-form-success-in 0.3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .consultation-form .web-form__success {
    animation: none;
  }
}
.consultation-form .web-form__success-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: #00338a;
}
.consultation-form .web-form__success-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.consultation-form .web-form__success-title {
  margin: 0;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  color: #2c2f31;
}
.consultation-form .web-form__success-text {
  margin: 0;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #2c2f31;
  text-wrap: pretty;
}
.consultation-form .web-form__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.consultation-form .web-form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consultation-form .web-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.consultation-form .web-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.consultation-form .web-form__control {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 12px 14px 10px;
  border: 1px solid #bfbfbf;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #111111;
  outline: none;
  transition: border-color 0.2s ease-in-out;
}
.consultation-form .web-form__control::placeholder {
  color: #737373;
  opacity: 1;
}
.consultation-form .web-form__control:hover {
  border-color: #8e959a;
}
.consultation-form .web-form__control:focus, .consultation-form .web-form__control:focus-visible {
  border-color: #324a9e;
}
.consultation-form .web-form__control--multiline {
  display: block;
  height: 113px;
  padding-top: 16px;
  resize: none;
}
.consultation-form .web-form__field--error .web-form__control {
  border-color: #ff5901;
}
.consultation-form .web-form__field-error,
.consultation-form .web-form__error {
  margin: 0;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  color: #ff5901;
}
.consultation-form .web-form__errors {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.consultation-form .web-form__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 16px;
  border: none;
  border-radius: 10px;
  background: #ffa800;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  color: #ffffff;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out;
}
.consultation-form .web-form__button:hover, .consultation-form .web-form__button:focus-visible {
  box-shadow: 0 0 23px -3px #ffa800;
}
.consultation-form .web-form__button:focus-visible {
  outline: 2px solid #324a9e;
  outline-offset: 2px;
}
.consultation-form .web-form__button:disabled {
  opacity: 0.5;
  box-shadow: none;
  cursor: default;
}
.consultation-form .web-form__button-icon {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
}
.consultation-form .web-form__button-spinner {
  display: none;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: web-form-spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .consultation-form .web-form__button-spinner {
    animation-duration: 1.6s;
  }
}
.consultation-form .web-form[aria-busy=true] .web-form__button,
.consultation-form .web-form[aria-busy=true] .web-form__button:disabled {
  opacity: 1;
  cursor: progress;
}
.consultation-form .web-form[aria-busy=true] .web-form__button-icon {
  display: none;
}
.consultation-form .web-form[aria-busy=true] .web-form__button-spinner {
  display: block;
}
.consultation-form .web-form[aria-busy=true] .web-form__fields,
.consultation-form .web-form[aria-busy=true] .web-form__agreements {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.consultation-form .web-form__agreements {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.consultation-form .web-form__agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.consultation-form .web-form__checkbox {
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 21px;
  height: 21px;
  margin: 0;
  border: 1px solid #bfbfbf;
  border-radius: 5px;
  background-color: #ffffff;
  cursor: pointer;
  appearance: none;
  transition: background-color 0.3s ease-in, border-color 0.3s ease-in;
}
.consultation-form .web-form__checkbox::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/local/templates/main/images/icons/check-white.svg") no-repeat center;
  opacity: 0;
}
.consultation-form .web-form__checkbox:hover {
  border-color: #ffa800;
}
.consultation-form .web-form__checkbox:focus-visible {
  outline: 2px solid #ffa800;
  outline-offset: 2px;
}
.consultation-form .web-form__checkbox:checked, .consultation-form .web-form__checkbox:indeterminate {
  border-color: #ffa800;
  background-color: #ffa800;
}
.consultation-form .web-form__checkbox:checked::after, .consultation-form .web-form__checkbox:indeterminate::after {
  opacity: 1;
}
.consultation-form .web-form__checkbox:indeterminate::after {
  background: linear-gradient(#ffffff, #ffffff) no-repeat center/9px 2px;
}
.consultation-form .web-form__agreement--error .web-form__checkbox {
  border-color: #ff5901;
}
.consultation-form .web-form__agreement-text {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  color: #737373;
  cursor: pointer;
  text-wrap: pretty;
}
.consultation-form .web-form__agreement-text b,
.consultation-form .web-form__agreement-text strong {
  font-weight: inherit;
}
.consultation-form .web-form__agreement-text a,
.consultation-form .web-form__agreement-text a:visited,
.consultation-form .web-form__agreement-text a:focus,
.consultation-form .web-form__agreement-text a:active {
  color: #324a9e;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.consultation-form .web-form__agreement-text a:hover,
.consultation-form .web-form__agreement-text a:focus-visible {
  color: #00338a;
  text-decoration: none;
}
.consultation-form .web-form__agreement--all .web-form__agreement-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: #111111;
}
@media (min-width: 992px) {
  .consultation-form {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 110px;
    padding: 52px;
  }
  .consultation-form__decor--mobile {
    display: none;
  }
  .consultation-form__decor--desktop {
    display: block;
  }
  .consultation-form__intro {
    flex: 0 1 470px;
    align-self: stretch;
    justify-content: space-between;
  }
  .consultation-form__title {
    font-size: 32px;
    line-height: 38px;
  }
  .consultation-form__description, .consultation-form__caption {
    line-height: 25px;
  }
  .consultation-form__description li::before {
    top: 10px;
  }
  .consultation-form__body {
    flex: 0 1 490px;
  }
  .consultation-form__body:has(.web-form__success) {
    display: flex;
    align-self: stretch;
  }
  .consultation-form__body:has(.web-form__success) .web-form {
    display: flex;
    width: 100%;
  }
  .consultation-form__body:has(.web-form__success) .web-form__success {
    flex: 1;
  }
  .consultation-form .web-form form {
    gap: 22px;
  }
  .consultation-form .web-form__control {
    height: 56px;
  }
  .consultation-form .web-form__control--multiline {
    height: 113px;
  }
  .consultation-form .web-form__button {
    gap: 10px;
    min-height: 60px;
    padding-inline: 32px;
  }
  .consultation-form .web-form__button-icon {
    width: 15px;
    height: 15px;
  }
  .consultation-form .web-form__agreements {
    gap: 12px;
  }
  .consultation-form .web-form__agreement-text {
    font-size: 14px;
    line-height: 21px;
  }
  .consultation-form .web-form__agreement--all .web-form__agreement-text {
    font-size: 15px;
  }
}

@keyframes web-form-success-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes web-form-spin {
  to {
    transform: rotate(360deg);
  }
}
