.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
}

.lead-modal.is-open {
  display: block;
}

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 13, 0.45);
  opacity: 0;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.lead-modal.is-open .lead-modal__overlay {
  opacity: 1;
}

.lead-modal__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -48%) scale(0.98);
      -ms-transform: translate(-50%, -48%) scale(0.98);
          transform: translate(-50%, -48%) scale(0.98);
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.1fr 1fr;
  grid-template-columns: 1.1fr 1fr;
  background: #fcfcfd;
  color: #35463f;
  border-radius: 20px;
  overflow: hidden;
  -webkit-box-shadow: 0 24px 60px rgba(12, 12, 13, 0.25);
          box-shadow: 0 24px 60px rgba(12, 12, 13, 0.25);
  -webkit-transition: opacity 0.28s ease, -webkit-transform 0.28s ease;
  transition: opacity 0.28s ease, -webkit-transform 0.28s ease;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transition: transform 0.28s ease, opacity 0.28s ease, -webkit-transform 0.28s ease;
  opacity: 0;
  width: 1368px;
  height: 630px;
  max-height: 90vh;
  max-width: 90vw;
  background: #fcfcfd;
  border-radius: 24px;
}

.lead-modal.is-open .lead-modal__dialog {
  -webkit-transform: translate(-50%, -50%) scale(1);
      -ms-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.lead-modal__left {
  padding: 28px 28px 16px 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.lead-modal__title {
  font-family: "Bounded", sans-serif;
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 8px;
  width: auto;
  height: 36px;
  font-family: "Bounded";
  font-style: normal;
  font-weight: 466;
  font-size: 30px;
  line-height: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #35463f;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  -webkit-box-ordinal-group: 1;
      -ms-flex-order: 0;
          order: 0;
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
  -ms-flex-positive: 0;
      flex-grow: 0;
}

.lead-modal__sub {
  color: #81988b;
  line-height: 1.45;
  margin-bottom: 20px;
  width: 592px;
  height: 72px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  letter-spacing: -0.2px;
  color: #81988b;
}

.lead-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 25px;
  margin-top: auto;
  padding-bottom: 2rem;
}

.gap-form {
  gap: 14px;
}

.lead-input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid #e0e6e5;
  background: #f7f8f7;
  padding: 0 16px;
  font-size: 15px;
  color: #35463f;
  -webkit-transition: border-color 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px 16px;
  gap: 8px;
  width: auto;
  height: 60px;
  background: #f5f6f5;
  border: 1px solid #e0e6e5;
  border-radius: 12px;
}

.lead-input:focus {
  outline: none;
  border-color: #c9d3cf;
  background: #fff;
  -webkit-box-shadow: 0 0 0 3px rgba(13, 80, 52, 0.12);
          box-shadow: 0 0 0 3px rgba(13, 80, 52, 0.12);
}

.lead-btn {
  margin-top: 2px;
  height: 52px;
  border-radius: 12px;
  background: #042e1d;
  color: #daf7e2;
  font-weight: 600;
  border: none;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.08s ease, -webkit-box-shadow 0.2s ease;
  transition: background 0.2s ease, -webkit-transform 0.08s ease, -webkit-box-shadow 0.2s ease;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease, -webkit-transform 0.08s ease, -webkit-box-shadow 0.2s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0px 16px;
  gap: 8px;
  width: auto;
  height: 60px;
  background: #042e1d;
  border-radius: 12px;
  font-family: "Bounded";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #daf7e2;
}

.lead-btn:hover {
  background: #063623;
}

.lead-btn:active {
  -webkit-transform: translateY(1px);
      -ms-transform: translateY(1px);
          transform: translateY(1px);
}

.lead-btn:disabled {
  background: #cccccc;
  color: #666666;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

.lead-check {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 20px 1fr;
  grid-template-columns: 20px 1fr;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #81988b;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0px;
  gap: 16px;
  width: 493px;
  height: 24px;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  -webkit-box-ordinal-group: 1;
      -ms-flex-order: 0;
          order: 0;
  -ms-flex-positive: 0;
      flex-grow: 0;
}

.lead-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lead-check__box {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid #d7dfdc;
  background: #fff;
  position: relative;
  margin-top: 1px;
  -webkit-transition: background 0.15s ease, border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: background 0.15s ease, border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, -webkit-box-shadow 0.15s ease;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  letter-spacing: -0.2px;
  color: #35463f;
}

.lead-check input:checked + .lead-check__box {
  background: #042e1d;
  border-color: #042e1d;
  -webkit-box-shadow: 0 2px 8px rgba(4, 46, 29, 0.25) inset;
          box-shadow: 0 2px 8px rgba(4, 46, 29, 0.25) inset;
}

.lead-check input:checked + .lead-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid #daf7e2;
  border-top: 0;
  border-left: 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.lead-link {
  color: #5481bb;
  text-decoration: underline;
  text-decoration-color: #5481bb;
}

.lead-link:hover {
  text-decoration-color: #35463f;
}

.lead-modal__right {
  position: relative;
}

.lead-modal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.lead-close {
  position: absolute;
  right: 16px;
  top: 16px;
  color: #fff;
  display: -ms-grid;
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  -webkit-transition: background 0.2s ease, -webkit-transform 0.08s ease;
  transition: background 0.2s ease, -webkit-transform 0.08s ease;
  transition: background 0.2s ease, transform 0.08s ease;
  transition: background 0.2s ease, transform 0.08s ease, -webkit-transform 0.08s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px;
  gap: 10px;
  width: 38px;
  height: 38px;
  background: rgba(31, 36, 34, 0.8);
  border: 1px solid rgba(224, 230, 229, 0.3);
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  border-radius: 8px;
}

.lead-close:active {
  -webkit-transform: scale(0.98);
      -ms-transform: scale(0.98);
          transform: scale(0.98);
}

.lead-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  min-width: 280px;
  max-width: 360px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 28px 1fr 28px;
  grid-template-columns: 28px 1fr 28px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  -webkit-box-shadow: 0 14px 32px rgba(12, 12, 13, 0.25);
          box-shadow: 0 14px 32px rgba(12, 12, 13, 0.25);
  -webkit-transform: translateY(16px);
      -ms-transform: translateY(16px);
          transform: translateY(16px);
  opacity: 0;
  -webkit-transition: opacity 0.25s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease, -webkit-transform 0.25s ease;
  transition: opacity 0.25s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease, -webkit-transform 0.25s ease;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease, -webkit-transform 0.25s ease;
  z-index: 1200;
}

.lead-toast__icon,
.lead-toast__close {
  display: -ms-grid;
  display: grid;
  place-items: center;
}

.lead-toast--primary {
  background: #042e1d;
  color: #eaf9ef;
}

.lead-toast--muted {
  background: #f2f4f3;
  color: #35463f;
  border: 1px solid #e0e6e5;
}

.lead-toast.is-shown {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

body.is-locked {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .lead-modal__dialog {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
  .lead-modal__dialog * {
    max-width: 100%;
  }
  .lead-close {
    bottom: 480px;
    top: unset;
  }
  .lead-modal__title {
    margin-bottom: 20px;
  }
  .lead-modal__sub {
    height: auto;
  }
  .lead-check {
    height: auto;
  }
  .lead-check:nth-child(1) {
    margin-bottom: 10px;
  }
}

@media (max-width: 510px) {
  .lead-close {
    bottom: 510px;
    top: unset;
    width: 36px;
    height: 36px;
  }
  .lead-modal__title {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 10px;
  }
  .lead-modal__left {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 510px) {
  .lead-close {
    bottom: 530px;
    width: 34px;
    height: 34px;
  }
}

