.ndg-wrap {
  --ndg-green-950: #062f25;
  --ndg-green-800: #0f5132;
  --ndg-green-700: #146c43;
  --ndg-gold: #d6a84f;
  --ndg-red: #d8232a;
  --ndg-cream: #fffaf0;
  --ndg-border: rgba(10, 61, 47, .12);
  --ndg-shadow: 0 24px 70px rgba(6, 47, 37, .14);
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 28px;
  align-items: stretch;
}

.ndg-intro,
.ndg-form {
  border: 1px solid var(--ndg-border);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--ndg-shadow);
  overflow: hidden;
}

.ndg-intro {
  position: relative;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,47,37,.96), rgba(20,108,67,.92)),
    var(--ndg-green-950);
  isolation: isolate;
}

.ndg-intro:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  z-index: -1;
  background-image:
    linear-gradient(135deg, transparent 22%, rgba(255,255,255,.72) 23%, transparent 24%),
    linear-gradient(45deg, transparent 22%, rgba(255,255,255,.72) 23%, transparent 24%);
  background-size: 32px 32px;
}

.ndg-intro:after {
  content: "";
  position: absolute;
  right: -92px;
  bottom: -92px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 34px solid rgba(214, 168, 79, .18);
}

.ndg-intro span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.ndg-intro h2 {
  color: #fff !important;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  margin: 0 0 14px;
}

.ndg-intro p {
  color: rgba(255,255,255,.78) !important;
  font-size: 17px;
  line-height: 1.7;
}

.ndg-form {
  padding: 34px;
}

.ndg-label,
.ndg-field label {
  display: block;
  color: var(--ndg-green-950);
  font-weight: 900;
  margin-bottom: 9px;
}

.ndg-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.ndg-amount {
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--ndg-border);
  background: #fff;
  color: var(--ndg-green-800);
  font-weight: 900;
  cursor: pointer;
  transition: all .2s ease;
}

.ndg-amount:hover,
.ndg-amount.is-active {
  border-color: rgba(216, 35, 42, .45);
  color: #fff;
  background: linear-gradient(135deg, var(--ndg-red), #a8181e);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(216, 35, 42, .2);
}

.ndg-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ndg-field {
  margin-bottom: 18px;
}

.ndg-field input,
.ndg-field select,
.ndg-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid var(--ndg-border);
  background: #fff;
  color: #1d2823;
  box-shadow: none;
}

.ndg-field textarea {
  min-height: 98px;
  resize: vertical;
}

.ndg-field input:focus,
.ndg-field select:focus,
.ndg-field textarea:focus {
  outline: none;
  border-color: var(--ndg-green-700);
  box-shadow: 0 0 0 4px rgba(20,108,67,.12);
}

.ndg-field small {
  display: block;
  margin-top: 6px;
  color: #7a867f;
}

.ndg-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, var(--ndg-green-800), var(--ndg-green-700));
  box-shadow: 0 16px 34px rgba(15,81,50,.22);
  transition: all .22s ease;
}

.ndg-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(15,81,50,.28);
}

.ndg-submit:disabled {
  opacity: .72;
  cursor: wait;
}

.ndg-alert {
  padding: 13px 16px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-weight: 800;
}

.ndg-alert.is-error {
  color: #7a1115;
  background: #fff1f1;
  border: 1px solid rgba(216, 35, 42, .18);
}

.ndg-alert.is-success {
  color: #0f5132;
  background: #e9f7ef;
  border: 1px solid rgba(20, 108, 67, .16);
}

.ndg-note {
  text-align: center;
  margin: 14px 0 0;
  color: #7a867f;
  font-size: 13px;
}

@media (max-width: 991px) {
  .ndg-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .ndg-form,
  .ndg-intro {
    padding: 26px 20px;
  }

  .ndg-amount-grid,
  .ndg-row {
    grid-template-columns: 1fr;
  }
}
