/* ==========================================================================
   Naxus 2026 marketing pages
   Scoped under .nx-* so nothing in the existing theme is affected.
   ========================================================================== */
:root {
  --nx-ink: #0f1720;
  --nx-green: #0e6b57;
  --nx-green-dark: #0a5544;
  --nx-green-tint: #e6f2ef;
  --nx-grey: #5b6672;
  --nx-line: #dde3e8;
  --nx-tint: #f6f8fa;
  --nx-orange: #c2410c;
  --nx-radius: 12px;
}

.nx-hero {
  padding: 150px 0 64px;
  background: linear-gradient(180deg, #f6f8fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--nx-line);
}
.nx-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nx-green);
  background: var(--nx-green-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.nx-h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  color: var(--nx-ink);
  margin: 0 0 18px;
  max-width: 900px;
}
.nx-h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--nx-ink); margin: 0 0 22px; }
.nx-h3 { font-size: 19px; font-weight: 700; color: var(--nx-ink); margin: 0 0 10px; }
.nx-lead { font-size: clamp(18px, 2vw, 22px); color: var(--nx-ink); margin: 0 0 14px; max-width: 820px; }
.nx-body { font-size: 17px; line-height: 1.65; color: var(--nx-grey); max-width: 820px; margin: 0 0 22px; }
.nx-small { font-size: 14px; color: var(--nx-grey); }
.nx-proof { margin: 22px 0 0; font-size: 14px; font-weight: 600; color: var(--nx-green); }

.nx-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.nx-actions-left { margin-top: 26px; }
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nx-btn-primary { background: var(--nx-green); color: #fff; }
.nx-btn-primary:hover { background: var(--nx-green-dark); color: #fff; }
.nx-btn-outline { background: transparent; color: var(--nx-ink); border: 1px solid var(--nx-line); }
.nx-btn-outline:hover { border-color: var(--nx-green); color: var(--nx-green); }
.nx-btn-light { background: #fff; color: var(--nx-green); }
.nx-btn-light:hover { background: var(--nx-green-tint); }
.nx-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.nx-btn-ghost:hover { border-color: #fff; color: #fff; }

.nx-section { padding: 64px 0; }
.nx-section.nx-tint { background: var(--nx-tint); border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); }
.nx-narrow { max-width: 860px; }
.nx-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nx-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .nx-grid-2, .nx-grid-3 { grid-template-columns: 1fr; } }

.nx-card {
  background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-radius);
  padding: 24px; box-shadow: 0 1px 2px rgba(15,23,32,.04);
}
.nx-card-muted { background: #fbfcfd; }
.nx-link-card { display: block; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.nx-link-card:hover { border-color: var(--nx-green); transform: translateY(-2px); text-decoration: none; }
.nx-link-card h3 { color: var(--nx-ink); }
.nx-link-card p { color: var(--nx-grey); margin: 0; }
.nx-badge { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--nx-green-tint); color: var(--nx-green); font-size: 12px; font-weight: 700; }
.nx-textlink { font-weight: 700; color: var(--nx-green); text-decoration: none; }
.nx-textlink:hover { text-decoration: underline; }

.nx-list { list-style: none; padding: 0; margin: 0; }
.nx-list li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px dashed var(--nx-line); color: var(--nx-ink); }
.nx-list li:last-child { border-bottom: 0; }
.nx-list li::before { content: "›"; position: absolute; left: 6px; color: var(--nx-green); font-weight: 800; }
.nx-list-tick li::before { content: "✓"; color: var(--nx-green); }

.nx-table-wrap { overflow-x: auto; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: #fff; }
.nx-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.nx-table th, .nx-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--nx-line); vertical-align: top; }
.nx-table th { background: var(--nx-ink); color: #fff; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
.nx-table tr:last-child td { border-bottom: 0; }

.nx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .nx-steps { grid-template-columns: 1fr; } }
.nx-step { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: 22px; }
.nx-step span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 999px; background: var(--nx-green); color: #fff; font-weight: 800; margin-bottom: 12px; }
.nx-step h3 { margin: 0 0 6px; font-size: 17px; }
.nx-step p { margin: 0; color: var(--nx-grey); font-size: 15px; }

.nx-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.nx-price { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); padding: 24px; }
.nx-price h3 { margin: 0 0 4px; font-size: 17px; }
.nx-price h3 span { font-size: 12px; font-weight: 600; color: var(--nx-grey); }
.nx-amount { font-size: 30px; font-weight: 800; color: var(--nx-green); margin: 8px 0 12px; }
.nx-amount span { font-size: 14px; font-weight: 600; color: var(--nx-grey); }
.nx-price p { margin: 0; color: var(--nx-grey); font-size: 15px; line-height: 1.55; }

.nx-faq { border-top: 1px solid var(--nx-line); }
.nx-faq details { border-bottom: 1px solid var(--nx-line); padding: 16px 0; }
.nx-faq summary { cursor: pointer; font-weight: 700; color: var(--nx-ink); font-size: 16px; list-style: none; position: relative; padding-right: 30px; }
.nx-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--nx-green); font-weight: 800; font-size: 20px; }
.nx-faq details[open] summary::after { content: "–"; }
.nx-faq p { margin: 10px 0 0; color: var(--nx-grey); max-width: 760px; }

.nx-band { background: var(--nx-green); color: #fff; padding: 44px 0; }
.nx-band h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin: 0; }

/* Home page additions */
.nx-pricing-section { background: #fff; }
.nx-trust-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: 13px; color: var(--nx-grey); }
.nx-trust-strip strong { color: var(--nx-ink); }

/* Readable link colour for the new service cards on the dark section. */
.services .nx-textlink {
  display: inline-block;
  margin-top: 12px;
  color: var(--bs-primary);
}
.services .nx-textlink:hover {
  color: #fff;
}

/* Header dropdown contact panel */
.header-contact-menu {
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #e3e9ee;
  border-radius: 14px;
  background: #f6f8fa;
}
.header-contact-heading {
  margin: 0 0 8px;
  padding: 0 6px;
  color: #6b7780;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  color: #1f2a2e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.header-contact-link iconify-icon {
  flex-shrink: 0;
  width: 18px;
  font-size: 18px;
  color: #0e6b57;
}
.header-contact-link:hover {
  background: #fff;
  color: #0e6b57;
}

/* Secondary action in the home page consultation CTA. */
.consultation-cta .btn-call-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  border: 1px solid rgba(31, 42, 46, 0.24);
  border-radius: 999px;
  background: #fff;
  color: var(--nx-ink);
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.consultation-cta .btn-call-cta:hover,
.consultation-cta .btn-call-cta:focus-visible {
  border-color: var(--nx-green);
  color: var(--nx-green);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 42, 46, 0.10);
}

/* Light marketing pages keep the fixed header dark so the white logo stays visible. */
body.naxus-light-page .header,
body.naxus-light-page .header.fixed-header {
  background-color: var(--nx-ink);
}
body.naxus-light-page .header .logo .logo-white,
body.naxus-light-page .header.fixed-header .logo .logo-white {
  display: block;
}
body.naxus-light-page .header .logo .logo-dark,
body.naxus-light-page .header.fixed-header .logo .logo-dark {
  display: none;
}
