.ldc-lead-open {
  overflow: hidden !important;
}

.ldc-lead-modal[hidden] {
  display: none !important;
}

.ldc-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ldc-lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 19, 41, .72);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .22s ease;
}

.ldc-lead-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(420px, 1.28fr);
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 44px 110px -36px rgba(0, 18, 52, .82);
  opacity: 0;
  transform: translateY(24px) scale(.975);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}

.ldc-lead-modal.is-open .ldc-lead-backdrop,
.ldc-lead-modal.is-open .ldc-lead-dialog {
  opacity: 1;
}

.ldc-lead-modal.is-open .ldc-lead-dialog {
  transform: translateY(0) scale(1);
}

.ldc-lead-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 42px 34px;
  overflow: hidden;
  border-radius: 31px 0 0 31px;
  color: #fff;
  background:
    radial-gradient(circle at 110% 0, rgba(22, 196, 217, .52), transparent 42%),
    radial-gradient(circle at 0 100%, rgba(53, 121, 244, .42), transparent 46%),
    linear-gradient(155deg, #071b3a, #123b7a);
}

.ldc-lead-visual::before,
.ldc-lead-visual::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
}

.ldc-lead-visual::before {
  width: 220px;
  height: 220px;
  right: -110px;
  top: 95px;
}

.ldc-lead-visual::after {
  width: 145px;
  height: 145px;
  left: -72px;
  bottom: 100px;
}

.ldc-lead-visual > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ldc-lead-visual b {
  font-family: Manrope, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.14;
  letter-spacing: -.7px;
}

.ldc-lead-visual small {
  color: #b9d1ef;
  font-size: 14px;
  letter-spacing: .45px;
}

.ldc-lead-content {
  padding: 42px 44px 34px;
  color: #0b2447;
}

.ldc-lead-close {
  position: absolute;
  z-index: 4;
  top: 17px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #53657e;
  background: #eef4fb;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.ldc-lead-close:hover,
.ldc-lead-close:focus-visible {
  color: #fff;
  background: #1256e0;
  transform: rotate(5deg);
  outline: none;
}

.ldc-lead-kicker {
  margin-bottom: 9px;
  color: #1256e0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.ldc-lead-content h2 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.ldc-lead-intro {
  margin: 13px 0 20px;
  color: #63748c;
  font-size: 14px;
  line-height: 1.55;
}

.ldc-lead-context {
  display: grid;
  gap: 4px;
  margin: 0 0 20px;
  padding: 13px 16px;
  border: 1px solid #cfe0fb;
  border-radius: 16px;
  background: linear-gradient(130deg, #f1f6ff, #eefbfc);
}

.ldc-lead-context[hidden] {
  display: none !important;
}

.ldc-lead-context span {
  color: #71839b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.ldc-lead-context strong {
  color: #123b7a;
  font-size: 15px;
  line-height: 1.35;
}

.ldc-lead-form,
.ldc-lead-form label:not(.ldc-lead-consent) {
  display: grid;
  gap: 8px;
}

.ldc-lead-form {
  gap: 14px;
}

.ldc-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.ldc-lead-form label > span:first-child {
  color: #304866;
  font-size: 12px;
  font-weight: 750;
}

.ldc-lead-form input[type="text"],
.ldc-lead-form input[type="tel"],
.ldc-lead-form select,
.ldc-lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d5e0ed;
  border-radius: 13px;
  outline: none;
  color: #102a4e;
  background: #f9fbfe;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ldc-lead-form textarea {
  min-height: 76px;
  resize: vertical;
}

.ldc-lead-form input:focus,
.ldc-lead-form select:focus,
.ldc-lead-form textarea:focus {
  border-color: #4580ea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 86, 224, .1);
}

.ldc-lead-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.ldc-lead-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #1256e0;
}

.ldc-lead-consent span {
  color: #65758c;
  font-size: 11px;
  line-height: 1.5;
}

.ldc-lead-consent a {
  color: #1256e0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ldc-lead-status {
  display: none;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
}

.ldc-lead-status.is-pending,
.ldc-lead-status.is-error,
.ldc-lead-status.is-success {
  display: block;
}

.ldc-lead-status.is-pending {
  color: #24559d;
  background: #eef5ff;
}

.ldc-lead-status.is-error {
  color: #a21c32;
  background: #fff0f2;
}

.ldc-lead-status.is-success {
  color: #087451;
  background: #eafaf4;
}

.ldc-lead-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 51px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #16c4d9, #1256e0);
  box-shadow: 0 16px 30px -14px rgba(18, 86, 224, .72);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.ldc-lead-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -14px rgba(18, 86, 224, .82);
}

.ldc-lead-submit:disabled {
  cursor: wait;
  opacity: .74;
}

.ldc-lead-submit.is-loading b {
  animation: ldcLeadArrow 1s ease-in-out infinite;
}

.ldc-lead-footnote {
  margin: -2px 0 0;
  color: #8a98aa;
  font-size: 10.5px;
  text-align: center;
}

@keyframes ldcLeadArrow {
  50% { transform: translateX(5px); }
}

@media (max-width: 760px) {
  .ldc-lead-modal {
    align-items: end;
    padding: 10px;
  }

  .ldc-lead-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    border-radius: 25px;
  }

  .ldc-lead-visual {
    display: none;
  }

  .ldc-lead-content {
    padding: 34px 22px 24px;
  }

  .ldc-lead-grid {
    grid-template-columns: 1fr;
  }

  .ldc-lead-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ldc-lead-backdrop,
  .ldc-lead-dialog,
  .ldc-lead-submit,
  .ldc-lead-close {
    transition: none !important;
  }
}
