.landing-compact-form {
  background: transparent;
  margin-top: -350px;
  position: relative;
  z-index: 8;
}

@media (max-width: 1280px) and (min-width: 901px) {
  .landing-compact-form {
    margin-top: -320px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .landing-compact-form {
    margin-top: -280px;
  }
}

.landing-compact-form__inner {
  margin: 0 auto;
  width: min(1290px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.landing-compact-form__card {
  width: min(420px, 100%);
  background: #f1f4f5;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(21, 50, 75, 0.16);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.landing-shared-form {
  background: #f1f4f5;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 33px;
  box-shadow: 0 14px 34px rgba(21, 50, 75, 0.16);
}

.landing-shared-form--compact {
  max-width: 100%;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 33px 33px 42px;
}

.landing-shared-form--compact .landing-shared-form__grid {
  gap: 24px;
}

.landing-shared-form--compact .landing-shared-form__submit {
  margin-top: 34px;
}

.landing-shared-form__title {
  margin: 0;
  color: #0d0d0d;
  text-align: center;
  font-size: clamp(26px, 2.4vw, 31px);
  line-height: 1.1;
  font-family: var(--font-display);
  font-weight: 500;
}

.landing-shared-form--compact .landing-shared-form__title {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: normal;
  max-width: 100%;
  font-size: clamp(24px, 1.75vw, 28px);
  line-height: 1.1;
  font-weight: 500;
  text-align: center;
}

.landing-shared-form__subtitle {
  color: #5c6b78;
  margin: 10px 0 0;
  text-align: center;
}

.landing-shared-form--compact .landing-shared-form__subtitle {
  display: none;
}

.landing-shared-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.landing-shared-form__input,
.landing-shared-form__textarea {
  width: 100%;
  border: 1px solid #5c6b78;
  border-radius: 16px;
  padding: 7px 15px 10px;
  height: 54px;
  min-height: 54px;
  background: #fff;
  color: #22313f;
  font: inherit;
}

.landing-shared-form__input::placeholder,
.landing-shared-form__textarea::placeholder {
  color: #5c6b78;
  opacity: 1;
}

.landing-shared-form__submit {
  margin-top: 24px;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  background: #2f80b7;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}

.landing-shared-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.landing-shared-form__status {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.landing-shared-form__status.is-success {
  color: #1f6d3f;
}

.landing-shared-form__status.is-error {
  color: #9d2323;
}

.landing-compact-form__badges {
  width: 100%;
  position: relative;
  padding: 14px 8px 44px;
  min-height: 76px;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
}

.landing-compact-form__badges::before {
  content: "";
  position: absolute;
  top: 0;
  left: 33px;
  right: 33px;
  border-top: 1px solid #4a4a4a;
}

.landing-compact-form__badge {
  width: 89.45px;
  height: 51px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.landing-compact-form__badge-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
}

.landing-compact-form__badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-compact-form__badge-label {
  color: #62748e;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 900px) {
  .landing-compact-form {
    margin-top: 24px;
  }

  .landing-compact-form__inner {
    justify-content: stretch;
    align-items: stretch;
    width: min(calc(100% - 28px), 1290px);
  }

  .landing-shared-form--compact,
  .landing-compact-form__card,
  .landing-compact-form__badges {
    max-width: 100%;
    width: 100%;
  }
}
