/* Modal
   Discovery-call dialog.
*/

.ns-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.88);
}
.ns-modal-backdrop[hidden] {
  display: none;
}

.ns-modal {
  display: grid;
  grid-template-columns: 58% 42%;
  position: relative;
  width: min(985px, 100%);
  margin: auto;

  color: #000;
  text-align: left;
  background: #f6f6f6;
  border-radius: 0 1rem 1rem 1rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.ns-modal h2 {
  font-family: freight-big-pro, serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.5px;
  color: var(--ns-teal);
  margin: 0 0 0.85rem;
}

.ns-modal h2 .ns-nod::after {
  background-color: var(--ns-black);
}

.ns-modal p,
.ns-modal label,
.ns-modal input,
.ns-modal textarea,
.ns-modal button {
  text-align: left;
}

.ns-modal-form {
  padding: 2.5rem 3.125rem;
  width: max(482px, 100%);
  background-color: #fff;
}

.ns-modal-form > p,
.ns-modal-success > p {
  margin: 0 0 1.5rem;
  /* color: rgba(255, 255, 255, 0.88); */
}

.ns-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.ns-modal-close::before,
.ns-modal-close::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 8px;
  width: 24px;
  height: 2px;
  background: #000;
}
.ns-modal-close::before {
  transform: rotate(45deg);
}
.ns-modal-close::after {
  transform: rotate(-45deg);
}

.ns-field {
  margin: 0 0 1.15rem;
}
.ns-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.125rem;
  font-weight: normal;
}
.ns-field input,
.ns-field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  color: #000000;
  font: inherit;
  background: transparent;
  border: 1px solid #c1c1c1;
  background: #f9f9f9;

  border-radius: 8px;
  outline: none;
  resize: vertical;
}
.ns-field textarea {
  min-height: 6.5rem;
}
.ns-field input:focus,
.ns-field textarea:focus {
  border-bottom-color: var(--ns-teal);
}
.ns-field.invalid input,
.ns-field.invalid textarea {
  border-bottom-color: var(--ns-magenta);
}
.ns-field-error,
.ns-form-error {
  margin: 0.4rem 0 0;
  color: #ff8eb0;
  font-size: 0.85rem;
}
.ns-form-error {
  margin: 0 0 1rem;
}

.ns-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ns-modal .ns-btn {
  margin-top: 0.5rem;
}

.formList {
  width: min(363px, 100%);
  padding: 5.625rem 1.875rem 2.5rem 1.875rem;
  background-color: #f6f6f6;

  font-size: 1rem;
}

.formList h2 {
  color: #000;
  font-size: 1.75rem;
  font-family: acumin-pro, sans-serif;
}

.formList ol {
  margin: 0;
  padding: 0 0 0 2ch;
}
.formList ol li {
  padding-bottom: 1.875rem;
  padding-left: 1ch;
}
.formList ol li::marker{
  font-weight: 600;
}

@media screen and (max-width: 890px) {
  .ns-modal {
    grid-template-columns: 1fr;
  }
  
  .ns-modal-form {
    width: 100%;
    padding: 2rem 2rem;
  }
  
  .formList {
    width: 100%;
    padding: 2rem 2rem;
  }
  .formList h2 {
    color: #000;
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 480px) {
  .ns-modal-form,
  .formList {
    padding: 2rem 1.5rem;
  }
}




.ns-modal-form-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.ns-modal-form-actions p {
  margin:0;
  padding:0;
  line-height: 0;
}

.recaptcha-notice img {
  width: 100%;
  max-width: 187px;
  height: auto;
  padding: 0;
  margin: 0;
  box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.4);
}