.nwcs-page,
.nwcs-page *,
.nwcs-admin-console,
.nwcs-admin-console * {
  box-sizing: border-box;
}

.nwcs-page {
  --nwcs-brand: #b3071b;
  --nwcs-brand-dark: #8f0615;
  --nwcs-text: #172033;
  --nwcs-muted: #5f6673;
  --nwcs-soft: #f6f7f9;
  --nwcs-soft-2: #eef0f3;
  --nwcs-line: rgba(12, 22, 40, 0.10);
  --nwcs-line-strong: rgba(12, 22, 40, 0.16);
  --nwcs-white: #ffffff;
  --nwcs-shadow: 0 22px 60px rgba(20, 28, 45, 0.10);
  --nwcs-shadow-soft: 0 12px 32px rgba(20, 28, 45, 0.07);
  width: min(1480px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 26px 0 80px;
  color: var(--nwcs-text);
  font-family: inherit;
}

.nwcs-page a,
.nwcs-page button,
.nwcs-page input,
.nwcs-admin-console a,
.nwcs-admin-console button,
.nwcs-admin-console input,
.nwcs-admin-console textarea,
.nwcs-admin-console select {
  font-family: inherit;
}

.nwcs-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.nwcs-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(42px, 5vw, 74px) clamp(20px, 5vw, 64px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.90), transparent 32%),
    radial-gradient(circle at 90% 14%, rgba(179, 7, 27, 0.055), transparent 28%),
    linear-gradient(135deg, #f1f3f5 0%, #e6e9ed 52%, #d8dde3 100%);
  border: 1px solid var(--nwcs-line);
  box-shadow: var(--nwcs-shadow);
}

.nwcs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 45%, rgba(12,22,40,0.08) 100%),
    linear-gradient(90deg, rgba(12,22,40,0.035) 0 1px, transparent 1px 34px);
  opacity: 1;
}

.nwcs-hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -260px;
  bottom: -330px;
  border: 86px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  pointer-events: none;
}

.nwcs-hero > * {
  position: relative;
  z-index: 1;
}

.nwcs-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: var(--nwcs-brand);
  border: 1px solid rgba(12, 22, 40, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nwcs-hero h1 {
  margin: 0;
  color: var(--nwcs-text);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.028em;
  font-weight: 780;
}

.nwcs-intro {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--nwcs-muted);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.58;
  font-weight: 400;
}

.nwcs-search-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(820px, 100%);
  margin: 34px auto 0;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(12,22,40,0.12);
  box-shadow: 0 18px 48px rgba(20, 28, 45, 0.10);
}

.nwcs-search {
  width: 100%;
  min-height: 58px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--nwcs-text) !important;
  padding: 0 20px !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.nwcs-search::placeholder {
  color: #7e8795;
  opacity: 1;
}

.nwcs-clear {
  min-height: 58px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(12, 22, 40, 0.10);
  background: #eef0f3;
  color: var(--nwcs-text);
  font-size: 14px;
  font-weight: 740;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.nwcs-clear:hover {
  background: #e1e4e8;
  transform: translateY(-1px);
}

.nwcs-state,
.nwcs-results-head,
.nwcs-results,
.nwcs-answer,
.nwcs-contact-row {
  width: min(940px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.nwcs-state {
  margin-top: 30px;
  color: var(--nwcs-muted);
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
}

.nwcs-results-head {
  margin-top: 30px;
  color: var(--nwcs-muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
}

.nwcs-results-head p { margin: 0; }

.nwcs-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.nwcs-result-btn {
  width: 100%;
  cursor: pointer;
  border: 1px solid var(--nwcs-line);
  border-radius: 20px;
  background: #ffffff;
  padding: 18px 20px;
  box-shadow: var(--nwcs-shadow-soft);
  text-align: left;
  color: var(--nwcs-text);
  font-family: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nwcs-result-btn:hover,
.nwcs-result-btn.is-selected {
  transform: translateY(-2px);
  border-color: rgba(12, 22, 40, 0.18);
  box-shadow: 0 18px 42px rgba(20, 28, 45, 0.10);
}

.nwcs-result-cat {
  display: block;
  margin-bottom: 7px;
  color: var(--nwcs-brand);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.nwcs-result-question {
  display: block;
  color: var(--nwcs-text);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 730;
}

.nwcs-answer {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--nwcs-line);
  box-shadow: var(--nwcs-shadow);
}

.nwcs-answer-meta {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--nwcs-brand);
  background: #f2f3f5;
  border: 1px solid rgba(12, 22, 40, 0.09);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.nwcs-answer h2 {
  margin: 0 0 18px;
  color: var(--nwcs-text);
  font-size: clamp(25px, 3.5vw, 38px);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -0.028em;
}

.nwcs-answer-body {
  color: var(--nwcs-muted);
  font-size: 17px;
  line-height: 1.75;
}

.nwcs-answer-body p { margin: 0 0 14px; }
.nwcs-answer-body p:last-child { margin-bottom: 0; }

.nwcs-no-results {
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--nwcs-line);
}

.nwcs-contact-row {
  margin-top: 42px;
  text-align: center;
}

.nwcs-contact-btn {
  cursor: pointer;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(12, 22, 40, 0.12);
  background: #eef0f3;
  color: #495162;
  font-size: 14px;
  font-weight: 740;
  font-family: inherit;
  transition: background .2s ease, transform .2s ease;
}

.nwcs-contact-btn:hover {
  background: #e1e4e8;
  transform: translateY(-1px);
}

.nwcs-admin-denied {
  max-width: 780px;
  margin: 30px auto;
  padding: 22px;
  border-radius: 18px;
  background: #f6f7f9;
  border: 1px solid rgba(12,22,40,0.10);
  color: #495162;
}

.nwcs-admin-console {
  --nwcs-brand: #b3071b;
  --nwcs-text: #172033;
  --nwcs-muted: #5f6673;
  --nwcs-line: rgba(12, 22, 40, 0.10);
  --nwcs-shadow: 0 22px 60px rgba(20, 28, 45, 0.10);
  width: min(1480px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 26px 0 80px;
  color: var(--nwcs-text);
  font-family: inherit;
}

.nwcs-admin-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.nwcs-admin-header {
  padding: clamp(32px, 4vw, 54px);
  border-radius: 30px;
  background: linear-gradient(135deg, #f1f3f5 0%, #e7eaee 100%);
  border: 1px solid var(--nwcs-line);
  box-shadow: var(--nwcs-shadow);
}

.nwcs-admin-header h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 780;
}

.nwcs-admin-header p:not(.nwcs-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--nwcs-muted);
  font-size: 18px;
  line-height: 1.6;
}

.nwcs-admin-notice {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef7ed;
  border: 1px solid rgba(31, 120, 55, 0.18);
  color: #1f5f36;
  font-weight: 650;
}

.nwcs-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.nwcs-admin-form,
.nwcs-admin-list {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--nwcs-line);
  box-shadow: 0 12px 34px rgba(20,28,45,0.07);
}

.nwcs-admin-form-head,
.nwcs-admin-list-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.nwcs-admin-form h2,
.nwcs-admin-list h2 {
  margin: 0;
  color: var(--nwcs-text);
  font-size: 25px;
  line-height: 1.14;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.nwcs-admin-new,
.nwcs-admin-list-head p {
  margin: 0;
  color: var(--nwcs-muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
}

.nwcs-admin-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.nwcs-admin-form label span,
.nwcs-admin-check span {
  color: var(--nwcs-text);
  font-size: 14px;
  font-weight: 720;
}

.nwcs-admin-form input[type="text"],
.nwcs-admin-form input[type="number"],
.nwcs-admin-form textarea,
.nwcs-admin-form select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(12,22,40,0.13);
  background: #f8f9fb;
  color: var(--nwcs-text);
  padding: 13px 14px;
  font-size: 15px;
  line-height: 1.35;
  outline: none;
}

.nwcs-admin-form textarea {
  resize: vertical;
}

.nwcs-admin-form input:focus,
.nwcs-admin-form textarea:focus,
.nwcs-admin-form select:focus {
  border-color: rgba(179,7,27,0.35);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(179,7,27,0.06);
}

.nwcs-admin-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 14px;
}

.nwcs-admin-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.nwcs-admin-save {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--nwcs-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.nwcs-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--nwcs-line);
}

.nwcs-admin-item:first-of-type {
  border-top: 0;
}

.nwcs-admin-item strong {
  display: block;
  color: var(--nwcs-text);
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 750;
}

.nwcs-admin-item span {
  display: block;
  margin-top: 5px;
  color: var(--nwcs-muted);
  font-size: 13px;
  line-height: 1.35;
}

.nwcs-admin-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nwcs-admin-item-actions a,
.nwcs-admin-item-actions button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(12,22,40,0.12);
  background: #f1f3f5;
  color: #495162;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
}

.nwcs-admin-item-actions form {
  margin: 0;
}

.nwcs-admin-empty {
  color: var(--nwcs-muted);
}

@media (max-width: 920px) {
  .nwcs-admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nwcs-page,
  .nwcs-admin-console {
    width: min(100%, calc(100vw - 28px));
    padding: 20px 0 56px;
  }

  .nwcs-hero,
  .nwcs-admin-header {
    border-radius: 28px;
  }

  .nwcs-search-wrap {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .nwcs-search {
    min-height: 56px;
    text-align: left;
  }

  .nwcs-clear {
    width: 100%;
  }

  .nwcs-admin-two,
  .nwcs-admin-item {
    grid-template-columns: 1fr;
  }

  .nwcs-admin-item-actions {
    justify-content: flex-start;
  }
}

.nwcs-admin-import {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--nwcs-line);
  box-shadow: 0 12px 34px rgba(20,28,45,0.07);
}

.nwcs-admin-import h2 {
  margin: 0;
  color: var(--nwcs-text);
  font-size: 25px;
  line-height: 1.14;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.nwcs-admin-import p:not(.nwcs-kicker) {
  margin: 12px 0 0;
  color: var(--nwcs-muted);
  font-size: 15px;
  line-height: 1.65;
}

.nwcs-admin-template {
  display: inline-flex;
  margin-top: 16px;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f3f5;
  border: 1px solid rgba(12,22,40,0.12);
  color: #495162;
  font-size: 13px;
  font-weight: 730;
  text-decoration: none !important;
}

.nwcs-admin-import-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  background: #f8f9fb;
  border: 1px solid rgba(12,22,40,0.10);
}

.nwcs-admin-import-form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.nwcs-admin-import-form label span {
  color: var(--nwcs-text);
  font-size: 14px;
  font-weight: 720;
}

.nwcs-admin-import-form input[type="file"] {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(12,22,40,0.13);
  background: #ffffff;
  color: var(--nwcs-text);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 920px) {
  .nwcs-admin-import {
    grid-template-columns: 1fr;
  }
}

/* Contact form modal */
.nwcs-contact-modal,
.nwcs-contact-modal * {
  box-sizing: border-box;
}

.nwcs-contact-modal[hidden] {
  display: none !important;
}

.nwcs-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font-family: inherit;
}

.nwcs-contact-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 32, 0.58);
  backdrop-filter: blur(8px);
}

.nwcs-contact-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(860px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  transform: translate(-50%, -50%);
  overflow: auto;
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 8%, rgba(179, 7, 27, 0.055), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%);
  border: 1px solid rgba(12, 22, 40, 0.12);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.30);
}

.nwcs-contact-close {
  position: sticky;
  top: 18px;
  float: right;
  z-index: 5;
  margin: 18px 18px -54px 0;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(12, 22, 40, 0.14);
  background: #ffffff;
  color: #172033;
  box-shadow: 0 10px 26px rgba(20, 28, 45, 0.12);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  font-family: inherit;
}

.nwcs-contact-head {
  clear: both;
  padding: clamp(34px, 5vw, 54px) clamp(24px, 5vw, 54px) 22px;
  text-align: center;
}

.nwcs-contact-head .nwcs-kicker {
  margin-left: auto;
  margin-right: auto;
}

.nwcs-contact-head h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 780;
}

.nwcs-contact-head p:not(.nwcs-kicker) {
  max-width: 690px;
  margin: 16px auto 0;
  color: #5f6673;
  font-size: 16.5px;
  line-height: 1.62;
}

.nwcs-contact-form {
  padding: 0 clamp(24px, 5vw, 54px) clamp(28px, 5vw, 54px);
}

.nwcs-contact-form .fluentform,
.nwcs-contact-form form.frm-fluent-form {
  margin: 0 !important;
}

.nwcs-contact-form .ff-el-group {
  margin-bottom: 16px !important;
}

.nwcs-contact-form .ff-el-input--label label,
.nwcs-contact-form .ff-el-input--label {
  color: #172033 !important;
  font-size: 14px !important;
  font-weight: 720 !important;
  line-height: 1.35 !important;
}

.nwcs-contact-form input[type="text"],
.nwcs-contact-form input[type="email"],
.nwcs-contact-form input[type="tel"],
.nwcs-contact-form input[type="number"],
.nwcs-contact-form select,
.nwcs-contact-form textarea {
  width: 100% !important;
  border-radius: 16px !important;
  border: 1px solid rgba(12, 22, 40, 0.13) !important;
  background: #ffffff !important;
  color: #172033 !important;
  padding: 13px 14px !important;
  font-size: 15.5px !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  outline: none !important;
}

.nwcs-contact-form textarea {
  min-height: 130px !important;
}

.nwcs-contact-form input:focus,
.nwcs-contact-form select:focus,
.nwcs-contact-form textarea:focus {
  border-color: rgba(179, 7, 27, 0.38) !important;
  box-shadow: 0 0 0 4px rgba(179, 7, 27, 0.06) !important;
}

.nwcs-contact-form .ff-btn-submit,
.nwcs-contact-form button[type="submit"],
.nwcs-contact-form input[type="submit"] {
  min-height: 50px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: #b3071b !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 760 !important;
  box-shadow: 0 16px 34px rgba(179, 7, 27, 0.20) !important;
}

.nwcs-contact-form .ff-message-success,
.nwcs-contact-form .ff_success_message {
  border-radius: 18px !important;
  background: #eef7ed !important;
  border: 1px solid rgba(31, 120, 55, 0.18) !important;
  color: #1f5f36 !important;
  padding: 16px 18px !important;
}

body.nwcs-contact-lock {
  overflow: hidden !important;
}

@media (max-width: 720px) {
  .nwcs-contact-dialog {
    width: min(94vw, 560px);
    max-height: calc(100vh - 22px);
    border-radius: 28px;
  }

  .nwcs-contact-head {
    padding: 50px 22px 18px;
  }

  .nwcs-contact-form {
    padding: 0 22px 28px;
  }

  .nwcs-contact-close {
    top: 14px;
    margin: 14px 14px -48px 0;
  }

  .nwcs-contact-form .ff-t-container,
  .nwcs-contact-form .ff-t-cell {
    display: block !important;
    width: 100% !important;
  }

  .nwcs-contact-form .ff-t-cell {
    margin-bottom: 0 !important;
  }

  .nwcs-contact-form .ff-btn-submit,
  .nwcs-contact-form button[type="submit"],
  .nwcs-contact-form input[type="submit"] {
    width: 100% !important;
  }
}

.nwcs-form-loading,
.nwcs-form-error {
  border-radius: 18px;
  padding: 18px 20px;
  background: #f3f4f6;
  border: 1px solid rgba(12, 22, 40, 0.10);
  color: #5f6673;
  font-size: 15px;
  line-height: 1.5;
}

.nwcs-form-error {
  background: #fff5f5;
  border-color: rgba(179, 7, 27, 0.18);
  color: #8f0615;
}


/* Inline contact form */
.nwcs-inline-contact {
  width: min(980px, 100%);
  margin: 44px auto 0;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 8%, rgba(179, 7, 27, 0.045), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%);
  border: 1px solid rgba(12, 22, 40, 0.10);
  box-shadow: 0 24px 70px rgba(20, 28, 45, 0.08);
}

.nwcs-inline-contact-head {
  text-align: center;
  margin: 0 auto 24px;
}

.nwcs-inline-contact-head .nwcs-kicker {
  margin-left: auto;
  margin-right: auto;
}

.nwcs-inline-contact-head h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 780;
}

.nwcs-inline-contact-head p:not(.nwcs-kicker) {
  max-width: 690px;
  margin: 14px auto 0;
  color: #5f6673;
  font-size: 16.5px;
  line-height: 1.62;
}

.nwcs-inline-contact .nwcs-contact-form {
  padding: 0;
}

@media (max-width: 720px) {
  .nwcs-inline-contact {
    margin-top: 34px;
    padding: 26px 20px;
    border-radius: 28px;
  }
}
