#ncorp-contact-modal[hidden] { display: none; }
.ncorp-modal-open { overflow: hidden; }

.ncorp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 38, 28, 0.72);
  backdrop-filter: blur(4px);
}

.ncorp-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 38px;
  border: 1px solid #d8d5c9;
  border-radius: 14px;
  background: #faf8f1;
  color: #172b20;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.ncorp-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  color: #173b2a;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.ncorp-form-label {
  margin: 0 0 10px;
  color: #c88e39;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.ncorp-modal h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.ncorp-form-intro {
  margin: 14px 0 28px;
  color: #58655d;
  line-height: 1.6;
}

.ncorp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ncorp-form-grid label {
  display: grid;
  gap: 7px;
  color: #263a2f;
  font-size: 14px;
  font-weight: 600;
}

.ncorp-form-full { grid-column: 1 / -1; }

.ncorp-form-grid input,
.ncorp-form-grid select,
.ncorp-form-grid textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd3c9;
  border-radius: 7px;
  padding: 12px 13px;
  background: #fffef9;
  color: #172b20;
  font: inherit;
  font-weight: 400;
}

.ncorp-form-grid textarea { resize: vertical; }

.ncorp-form-grid input:focus,
.ncorp-form-grid select:focus,
.ncorp-form-grid textarea:focus {
  outline: 3px solid rgba(200, 142, 57, 0.2);
  border-color: #c88e39;
}

.ncorp-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: #58655d;
  font-size: 13px;
  line-height: 1.5;
}

.ncorp-consent input { margin-top: 3px; }
.ncorp-botcheck { display: none; }

.ncorp-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.ncorp-submit,
.ncorp-cancel {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ncorp-submit {
  border: 1px solid #204b35;
  background: #204b35;
  color: #fff;
}

.ncorp-submit:disabled { cursor: wait; opacity: 0.65; }

.ncorp-cancel {
  border: 1px solid #d5d2c7;
  background: transparent;
  color: #172b20;
}

.ncorp-form-status {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.ncorp-success { color: #196b3c; }
.ncorp-error { color: #a62b2b; }

@media (max-width: 640px) {
  .ncorp-modal { padding: 30px 20px 24px; }
  .ncorp-form-grid { grid-template-columns: 1fr; }
  .ncorp-form-full { grid-column: auto; }
  .ncorp-form-actions { flex-direction: column; }
}
