/*=============================================================================
  NeuroSkill — Enterprise design layer
  Loaded last on every page. Replaces the template header/footer look with an
  enterprise system (navy, light blue, Barlow + Inter), restyles the shared
  template components, and holds the homepage sections.
  Sections:
    1. Tokens & base          5. Footer
    2. Buttons & type         6. Homepage
    3. Utility bar & header   7. Inner-page overrides
    4. Mega menus & mobile    8. Responsive
=============================================================================*/

/* 1. Tokens & base --------------------------------------------------------- */
:root {
  --nx-navy-950: #03101f;
  --nx-navy-900: #061a33;
  --nx-navy-800: #0a2447;
  --nx-navy-700: #12345e;
  --nx-blue: #1d6fd8;
  --nx-accent: #0277bd;
  --nx-accent-600: #01579b;
  --nx-violet: #2563eb;
  --nx-ink: #0b1d33;
  --nx-body: #475569;
  --nx-muted: #718096;
  --nx-line: #dbe8f3;
  --nx-sky: #f0f8fe;
  --nx-sky-2: #e0f2fe;
  --nx-white: #fff;
  --nx-radius: 16px;
  --nx-radius-sm: 10px;
  --nx-shadow: 0 18px 50px -24px rgba(11, 29, 51, 0.35);
  --nx-shadow-lg: 0 40px 90px -40px rgba(11, 29, 51, 0.55);
  --nx-grad: linear-gradient(100deg, #0277bd 0%, #1d6fd8 100%);
  --nx-grad-light: linear-gradient(100deg, #bae6fd 0%, #7dd3fc 45%, #38bdf8 100%);
  --nx-light-blue: #7dd3fc;
  --nx-topbar-h: 40px;
  --nx-header-h: 78px;
  --nx-head: "Barlow", "Ubuntu", sans-serif;
  --nx-text: "Inter", "DM Sans", sans-serif;

  /* Template variables, re-pointed so every inner page follows the system. */
  --primary-color: #0277bd;
  --secondary-color: #2563eb;
  --heading-color: #0b1d33;
  --text-color: #475569;
  --border-color: #dbe8f3;
  --heading-font: "Barlow", "Ubuntu", sans-serif;
  --body-font: "Inter", "DM Sans", sans-serif;
}

body.nx {
  font-family: var(--nx-text);
  color: var(--nx-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Colour is left to the template (--heading-color is navy), so headings the
   template sets white on dark sections stay white. */
body.nx h1, body.nx h2, body.nx h3, body.nx h4, body.nx h5, body.nx h6 {
  font-family: var(--nx-head);
  letter-spacing: -0.01em;
}

.nx-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.nx-skip {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10001;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--nx-ink);
  font-weight: 600;
}
.nx-skip:focus { top: 12px; }

/* 2. Buttons & type -------------------------------------------------------- */
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--nx-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.nx-btn i { font-size: 13px; transition: transform 0.25s; }
.nx-btn:hover i { transform: translateX(4px); }
.nx-btn-sm { padding: 11px 20px; font-size: 14px; }

.nx-btn-accent { background: var(--nx-accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(2, 119, 189, 0.8); }
.nx-btn-accent:hover { background: var(--nx-accent-600); color: #fff; transform: translateY(-1px); }

.nx-btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.nx-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }

.nx-btn-outline { border-color: var(--nx-ink); color: var(--nx-ink); background: transparent; }
.nx-btn-outline:hover { background: var(--nx-ink); color: #fff; }

.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--nx-accent);
  font-family: var(--nx-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nx-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nx-title {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
}
.nx-lede { max-width: 640px; font-size: 18px; line-height: 1.65; color: var(--nx-body); }

.nx-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nx-ink);
  font-weight: 600;
  font-size: 15px;
}
.nx-more i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--nx-ink);
  color: #fff;
  font-size: 12px;
  transition: transform 0.25s, background-color 0.25s;
}
a:hover .nx-more i, .nx-more:hover i { transform: translateX(4px); background: var(--nx-accent); }

/* 3. Utility bar & header -------------------------------------------------- */
.nx-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1001;
  height: var(--nx-topbar-h);
  background: var(--nx-navy-950);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  transition: transform 0.35s ease;
}
.nx-topbar .nx-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nx-topbar-note { margin: 0; color: inherit; font-size: 13px; }
.nx-topbar-note i { margin-right: 8px; color: var(--nx-accent); }
.nx-topbar-note b { color: #fff; font-weight: 600; }
.nx-topbar-links { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nx-topbar-links a { color: rgba(255, 255, 255, 0.78); transition: color 0.2s; }
.nx-topbar-links a:hover { color: #fff; }
.nx-topbar-links i { margin-right: 7px; font-size: 12px; }
.nx-topbar-social { display: flex; gap: 14px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.15); }
.nx-topbar-social i { margin: 0; }

.nx-header {
  position: fixed;
  top: var(--nx-topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nx-header-h);
  background: rgba(7, 16, 56, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
body.nx-scrolled .nx-topbar { transform: translateY(-100%); }
body.nx-scrolled .nx-header { transform: translateY(calc(-1 * var(--nx-topbar-h))); box-shadow: 0 14px 40px -20px rgba(0, 0, 0, 0.6); }

.nx-header-inner { display: flex; align-items: center; height: 100%; gap: 28px; }
.nx-brand { flex: 0 0 auto; display: inline-flex; }
.nx-brand .ns-logo-mark { width: 40px; height: 40px; }
.nx .ns-logo-text { font-family: var(--nx-head); font-weight: 700; letter-spacing: -0.01em; }

.nx-nav { flex: 1 1 auto; display: flex; justify-content: center; height: 100%; }
.nx-menu { display: flex; align-items: stretch; gap: 4px; height: 100%; margin: 0; padding: 0; list-style: none; }
.nx-item { position: static; display: flex; align-items: center; }
.nx-item.nx-has-drop { position: relative; }
.nx-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nx-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--nx-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nx-item:hover > .nx-link, .nx-link.is-active { color: #fff; }
.nx-item:hover > .nx-link::after, .nx-link.is-active::after { transform: scaleX(1); }
.nx-caret {
  margin-left: -10px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  cursor: pointer;
  transition: transform 0.25s, color 0.2s;
}
.nx-item:hover > .nx-caret { color: #fff; transform: rotate(180deg); }

.nx-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.nx-burger { display: none; }
.nx-nav-foot { display: none; }

/* 4. Mega menus & mobile --------------------------------------------------- */
.nx-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 36px 0 40px;
  background: #fff;
  border-top: 1px solid var(--nx-line);
  box-shadow: 0 40px 70px -30px rgba(4, 10, 38, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nx-item:hover > .nx-mega, .nx-item.is-open > .nx-mega,
.nx-item:hover > .nx-drop, .nx-item.is-open > .nx-drop,
.nx-item:focus-within > .nx-mega, .nx-item:focus-within > .nx-drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nx-mega-inner { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.1fr; gap: 40px; }
.nx-mega-inner--industries { grid-template-columns: 1fr 2.4fr; }
.nx-mega-intro { padding-right: 32px; border-right: 1px solid var(--nx-line); }
.nx-mega-intro h3 { margin-bottom: 12px; font-size: 26px; font-weight: 600; line-height: 1.2; }
.nx-mega-intro p { margin-bottom: 22px; font-size: 14.5px; line-height: 1.65; color: var(--nx-body); }
.nx .nx-mega-col h6 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nx-line);
  color: var(--nx-muted);
  font-family: var(--nx-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nx-mega-list { margin: 0; padding: 0; list-style: none; }
.nx-mega-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  color: var(--nx-ink);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s, padding 0.2s;
}
.nx-mega-list li a::after { content: "\f061"; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: 12px; opacity: 0; transform: translateX(-6px); transition: 0.2s; color: var(--nx-accent); }
.nx-mega-list li a:hover { color: var(--nx-accent); padding-left: 4px; }
.nx-mega-list li a:hover::after { opacity: 1; transform: none; }

.nx-mega-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--nx-radius);
  background: radial-gradient(120% 90% at 100% 0%, rgba(37, 99, 235, 0.55), transparent 60%), var(--nx-navy-800);
  color: rgba(255, 255, 255, 0.78);
}
.nx-mega-feature h5 { margin: 8px 0 10px; color: #fff !important; font-size: 21px; }
.nx-mega-feature p { margin-bottom: 18px; color: rgba(255, 255, 255, 0.75); font-size: 14px; line-height: 1.6; }
.nx-mega-feature .nx-more { margin-top: auto; color: #fff; }
.nx-mega-feature .nx-more i { background: var(--nx-accent); }
.nx-mega-feature-icon { font-size: 30px; color: var(--nx-accent); margin-top: 18px; }
.nx-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nx-mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.nx-mega-grid a { display: flex; gap: 16px; padding: 14px; border-radius: 12px; transition: background-color 0.2s; }
.nx-mega-grid a:hover { background: var(--nx-sky); }
.nx-mega-grid b { display: block; margin-bottom: 4px; color: var(--nx-ink); font-family: var(--nx-head); font-size: 17px; font-weight: 600; }
.nx-mega-grid small { display: block; color: var(--nx-body); font-size: 13.5px; line-height: 1.5; }
.nx-mega-ico {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--nx-sky-2);
  color: var(--nx-blue);
  font-size: 18px;
  transition: background-color 0.2s, color 0.2s;
}
.nx-mega-grid a:hover .nx-mega-ico { background: var(--nx-accent); color: #fff; }

.nx-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(4, 10, 38, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nx-drop a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--nx-ink); font-size: 15px; font-weight: 500; }
.nx-drop a i { width: 18px; color: var(--nx-blue); text-align: center; }
.nx-drop a:hover { background: var(--nx-sky); color: var(--nx-accent); }

.nx-scrim { display: none; }

/* 5. Footer ---------------------------------------------------------------- */
.nx-footer {
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  background: radial-gradient(60% 50% at 100% 0%, rgba(37, 99, 235, 0.28), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(2, 119, 189, 0.12), transparent 70%), var(--nx-navy-900);
  color: rgba(255, 255, 255, 0.7);
}
.nx-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}
.nx-footer-cta h2 { margin-bottom: 10px; color: #fff !important; font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.15; }
.nx-footer-cta p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, 0.7); }
.nx-footer-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: 0 0 auto; }

.nx-footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 0.9fr 1.3fr; gap: 40px; padding: 72px 0 56px; }
.nx-footer-brand p { margin: 22px 0 24px; max-width: 340px; color: rgba(255, 255, 255, 0.68); font-size: 15px; line-height: 1.7; }
.nx-footer-brand .ns-logo-mark { width: 42px; height: 42px; }
.nx-social { display: flex; gap: 10px; }
.nx-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.nx-social a:hover { background: var(--nx-accent); border-color: var(--nx-accent); }
.nx-footer-col h4 {
  margin-bottom: 22px;
  color: #fff !important;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nx-footer-links { margin: 0; padding: 0; list-style: none; }
.nx-footer-links li + li { margin-top: 12px; }
.nx-footer-links a { color: rgba(255, 255, 255, 0.68); font-size: 15px; transition: color 0.2s, padding 0.2s; }
.nx-footer-links a:hover { color: #fff; padding-left: 4px; }
.nx-footer-contact p { margin-bottom: 14px; color: rgba(255, 255, 255, 0.68); font-size: 14.5px; line-height: 1.7; }
.nx-footer-contact a { color: #fff; }
.nx-footer-contact a i { width: 18px; margin-right: 6px; color: var(--nx-accent); }
.nx-office-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.nx-office-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  color: #fff;
  font-size: 13px;
}
.nx-office-pills img { border-radius: 2px; }
.nx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.nx-footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.6); }
.nx-footer-bottom ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nx-footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.nx-footer-bottom a:hover { color: #fff; }

/* 6. Homepage -------------------------------------------------------------- */
.nx-section { padding: 110px 0; }
.nx-section--sky { background: var(--nx-sky); }
.nx-section--navy { background: var(--nx-navy-900); color: rgba(255, 255, 255, 0.75); }
.nx-section--navy .nx-title, .nx-section--navy h3, .nx-section--navy h4 { color: #fff; }
.nx-section--navy .nx-lede { color: rgba(255, 255, 255, 0.72); }
.nx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.nx-section-head .nx-title { margin-bottom: 0; max-width: 760px; }

/* Hero */
.nx-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nx-topbar-h) + var(--nx-header-h) + 96px) 0 0;
  background: radial-gradient(70% 80% at 85% 30%, rgba(37, 99, 235, 0.55), transparent 65%), radial-gradient(50% 60% at 100% 100%, rgba(56, 189, 248, 0.35), transparent 70%), linear-gradient(180deg, var(--nx-navy-900), var(--nx-navy-800));
  color: #fff;
}
.nx-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; pointer-events: none; }
.nx-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 38, 0.55));
  pointer-events: none;
}
.nx-hero .nx-container { position: relative; z-index: 2; }
.nx-hero-copy { max-width: 860px; }
.nx-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.nx-hero-kicker b { padding: 4px 10px; border-radius: 100px; background: var(--nx-accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nx-hero h1 {
  margin-bottom: 24px;
  color: #fff !important;
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.nx-hero h1 em { font-style: normal; background: var(--nx-grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-hero-sub { max-width: 640px; margin-bottom: 36px; color: rgba(255, 255, 255, 0.78); font-size: 19px; line-height: 1.6; }
.nx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.nx-hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 90px; padding-bottom: 72px; }
.nx-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s;
}
.nx-hero-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.nx-hero-card .nx-card-label { color: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.nx-hero-card h3 { margin: 10px 0 0; color: #fff !important; font-size: 24px; font-weight: 600; line-height: 1.25; }
.nx-hero-card .nx-more { margin-top: auto; padding-top: 24px; color: #fff; }
.nx-hero-card .nx-more i { background: rgba(255, 255, 255, 0.14); }
.nx-hero-card:hover .nx-more i { background: var(--nx-accent); }
.nx-hero-card-art { position: absolute; right: -10px; top: -10px; width: 140px; height: 140px; opacity: 0.5; }

/* Trust band */
.nx-trust { padding: 44px 0; border-bottom: 1px solid var(--nx-line); background: #fff; }
.nx-trust .nx-container { display: flex; align-items: center; gap: 48px; }
.nx-trust-label { flex: 0 0 220px; margin: 0; color: var(--nx-muted); font-size: 14px; font-weight: 600; line-height: 1.5; }
.nx-trust-logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.nx-trust-logos li { display: flex; align-items: center; height: 56px; }
.nx-trust-logos img { max-height: 56px; max-width: 150px; width: auto; filter: grayscale(1) contrast(1.05); opacity: 0.7; transition: filter 0.3s, opacity 0.3s; }
.nx-trust-logos img:hover { filter: none; opacity: 1; }

/* Services */
.nx-services-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1fr; grid-auto-rows: 1fr; gap: 22px; }
.nx-services-visual {
  position: relative;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--nx-radius);
  background: radial-gradient(90% 60% at 80% 10%, rgba(37, 99, 235, 0.75), transparent 70%), radial-gradient(70% 50% at 0% 100%, rgba(2, 119, 189, 0.45), transparent 70%), var(--nx-navy-800);
  color: #fff;
}
.nx-services-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nx-services-visual h3 { position: relative; margin-bottom: 10px; color: #fff !important; font-size: 28px; line-height: 1.2; }
.nx-services-visual p { position: relative; margin-bottom: 22px; color: rgba(255, 255, 255, 0.75); }
.nx-services-visual .nx-btn { position: relative; align-self: flex-start; }
.nx-svc {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid transparent;
  border-radius: var(--nx-radius);
  background: var(--nx-sky);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.nx-svc:hover { background: #fff; border-color: var(--nx-line); transform: translateY(-4px); box-shadow: var(--nx-shadow); }
.nx-svc-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #fff;
  color: var(--nx-violet);
  font-size: 22px;
  box-shadow: 0 8px 20px -12px rgba(11, 29, 51, 0.4);
}
.nx-svc:nth-child(3n) .nx-svc-ico { color: var(--nx-accent); }
.nx-svc:nth-child(3n+1) .nx-svc-ico { color: var(--nx-blue); }
.nx-svc h3 { margin-bottom: 10px; font-size: 21px; font-weight: 600; }
.nx-svc h3 a { color: inherit; }
.nx-svc p { margin-bottom: 20px; font-size: 15px; line-height: 1.6; }
.nx-svc .nx-more { margin-top: auto; font-size: 14px; }

/* The homepage service cards are written by the CMS (cms:home-services) in the
   template's card markup; restyle that markup into the enterprise card. */
.nx-home-services { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; }
.nx-home-services .nx-services-visual { grid-row: auto; min-height: 100%; }
.nx-home-services .orbia-iconic-box.style-two {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 30px;
  border: 1px solid transparent;
  border-radius: var(--nx-radius);
  background: var(--nx-sky);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.nx-home-services .orbia-iconic-box.style-two:hover { background: #fff; border-color: var(--nx-line); transform: translateY(-4px); box-shadow: var(--nx-shadow); }
.nx-home-services .orbia-iconic-box.style-two .sn-number { position: absolute; top: 28px; right: 28px; margin: 0; color: var(--nx-muted); font-size: 14px; font-weight: 600; }
.nx-home-services .orbia-iconic-box.style-two .icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px -12px rgba(11, 29, 51, 0.4);
}
.nx-home-services .orbia-iconic-box.style-two .icon img { width: 28px; height: 28px; object-fit: contain; filter: none; }
.nx-home-services .orbia-iconic-box.style-two .content { display: flex; flex-direction: column; flex: 1; }
.nx-home-services .orbia-iconic-box.style-two .content .title { margin-bottom: 10px; font-size: 21px; font-weight: 600; line-height: 1.25; }
.nx-home-services .orbia-iconic-box.style-two .content .title a { color: var(--nx-ink); }
.nx-home-services .orbia-iconic-box.style-two .content p { margin-bottom: 20px; font-size: 15px; line-height: 1.6; }
.nx-home-services .orbia-iconic-box.style-two .read-more.style-one { margin-top: auto; font-size: 14px; }
.nx-home-services .orbia-iconic-box.style-two .read-more.style-one i { transform: none; margin-left: 8px; }

/* Stats */
.nx-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.nx-stat { padding: 40px 32px; }
.nx-stat + .nx-stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.nx-stat b { display: block; margin-bottom: 8px; color: #fff; font-family: var(--nx-head); font-size: clamp(40px, 4.5vw, 60px); font-weight: 600; line-height: 1; }
.nx-stat b span { color: var(--nx-accent); }
.nx-stat p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 15px; line-height: 1.5; }

/* Success stories */
.nx-stories { position: relative; }
.nx-story-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.nx-story-track::-webkit-scrollbar { display: none; }
.nx-story {
  position: relative;
  flex: 0 0 min(820px, 86%);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 420px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: var(--nx-navy-800);
  color: #fff;
}
.nx-story-body { display: flex; flex-direction: column; padding: 44px; }
.nx-story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.nx-story-meta span { padding: 6px 12px; border-radius: 100px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); font-size: 12.5px; font-weight: 600; }
.nx-story-meta span:first-child { background: var(--nx-accent); color: #fff; }
.nx-story h3 { margin-bottom: 14px; color: #fff !important; font-size: 28px; font-weight: 600; line-height: 1.2; }
.nx-story p { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; line-height: 1.65; }
.nx-story-points { margin: 6px 0 26px; padding: 0; list-style: none; }
.nx-story-points li { display: flex; gap: 10px; margin-bottom: 8px; color: rgba(255, 255, 255, 0.85); font-size: 14.5px; }
.nx-story-points i { margin-top: 4px; color: var(--nx-accent); font-size: 12px; }
.nx-story .nx-more { margin-top: auto; color: #fff; }
.nx-story .nx-more i { background: var(--nx-accent); }
.nx-story-art { position: relative; display: grid; place-items: center; padding: 40px; overflow: hidden; background: radial-gradient(80% 70% at 70% 30%, rgba(37, 99, 235, 0.6), transparent 70%), linear-gradient(160deg, #13207a, #0a1450); }
.nx-story-art img.nx-story-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-story-logo { position: relative; display: grid; place-items: center; width: 180px; height: 180px; padding: 26px; border-radius: 28px; background: #fff; box-shadow: var(--nx-shadow-lg); }
.nx-story-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nx-story-nav { display: flex; gap: 10px; }
.nx-story-nav button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.nx-story-nav button:hover { background: var(--nx-accent); border-color: var(--nx-accent); }

/* Why NeuroSkill */
.nx-why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.nx-why-sticky { position: sticky; top: 140px; }
.nx-why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.nx-why-item { padding: 30px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
.nx-why-item:hover { border-color: transparent; box-shadow: var(--nx-shadow); }
.nx-why-item span { display: block; margin-bottom: 18px; color: var(--nx-accent); font-family: var(--nx-head); font-size: 15px; font-weight: 700; letter-spacing: 0.08em; }
.nx-why-item h4 { margin-bottom: 10px; font-size: 21px; font-weight: 600; }
.nx-why-item p { margin: 0; font-size: 15px; line-height: 1.6; }
.nx-quote {
  margin-top: 36px;
  padding: 30px;
  border-left: 4px solid var(--nx-accent);
  border-radius: 0 var(--nx-radius) var(--nx-radius) 0;
  background: var(--nx-sky);
}
.nx-quote p { margin-bottom: 14px; color: var(--nx-ink); font-family: var(--nx-head); font-size: 21px; font-weight: 500; line-height: 1.45; }
.nx-quote cite { color: var(--nx-muted); font-size: 14px; font-style: normal; }
.nx-quote cite b { color: var(--nx-ink); }

/* Industries */
.nx-ind { display: grid; grid-template-columns: 380px 1fr; gap: 48px; }
.nx-ind-tabs { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--nx-line); }
.nx-ind-tabs button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-left: -2px;
  padding: 20px 22px;
  border: 0;
  border-left: 2px solid transparent;
  background: none;
  color: var(--nx-muted);
  font-family: var(--nx-head);
  font-size: 21px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.nx-ind-tabs button i { width: 24px; font-size: 18px; }
.nx-ind-tabs button:hover { color: var(--nx-ink); }
.nx-ind-tabs button[aria-selected="true"] { border-left-color: var(--nx-accent); color: var(--nx-ink); background: linear-gradient(90deg, var(--nx-sky), transparent); }
.nx-ind-tabs button[aria-selected="true"] i { color: var(--nx-accent); }
.nx-ind-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 420px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--nx-navy-900);
  color: rgba(255, 255, 255, 0.78);
}
.nx-ind-panel[hidden] { display: none; }
.nx-ind-copy { display: flex; flex-direction: column; padding: 48px; }
.nx-ind-copy h3 { margin-bottom: 14px; color: #fff !important; font-size: 32px; font-weight: 600; }
.nx-ind-copy p { color: rgba(255, 255, 255, 0.75); font-size: 16px; line-height: 1.7; }
.nx-ind-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 10px 0 30px; padding: 0; list-style: none; }
.nx-ind-copy li { display: flex; gap: 10px; color: #fff; font-size: 14.5px; }
.nx-ind-copy li i { margin-top: 4px; color: var(--nx-accent); font-size: 12px; }
.nx-ind-copy .nx-more { margin-top: auto; color: #fff; }
.nx-ind-copy .nx-more i { background: var(--nx-accent); }
.nx-ind-art { position: relative; overflow: hidden; background: linear-gradient(160deg, #1a2a8c, #0b1650); }
.nx-ind-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nx-ind-art .nx-ind-big { position: absolute; right: 36px; bottom: 30px; color: rgba(255, 255, 255, 0.9); font-size: 110px; }

/* Delivery model */
.nx-model { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.nx-model li { position: relative; padding: 0 28px 0 0; list-style: none; }
.nx-model li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border: 1px solid var(--nx-line);
  border-radius: 50%;
  background: #fff;
  color: var(--nx-accent);
  font-family: var(--nx-head);
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.nx-model li::after { content: ""; position: absolute; top: 29px; left: 58px; right: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--nx-line) 0 8px, transparent 8px 14px); }
.nx-model li:last-child::after { display: none; }
.nx-model h4 { margin-bottom: 10px; font-size: 21px; font-weight: 600; }
.nx-model p { margin: 0; font-size: 15px; line-height: 1.6; }
.nx-model-wrap { margin: 0; padding: 0; }

/* Insights / platforms band */
.nx-tech { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.nx-tech li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--nx-line); border-radius: 100px; background: #fff; color: var(--nx-ink); font-size: 15px; font-weight: 500; }
.nx-tech li i { color: var(--nx-blue); }

/* Contact block on the homepage */
.nx-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.nx-contact-points { margin: 30px 0 0; padding: 0; list-style: none; }
.nx-contact-points li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--nx-line); }
.nx-contact-points i { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--nx-sky-2); color: var(--nx-blue); }
.nx-contact-points b { display: block; color: var(--nx-ink); font-family: var(--nx-head); font-size: 17px; }
.nx-contact-points span, .nx-contact-points a { color: var(--nx-body); font-size: 15px; }
.nx-form { padding: 40px; border-radius: 22px; background: #fff; box-shadow: var(--nx-shadow-lg); border: 1px solid var(--nx-line); }
.nx-form h3 { margin-bottom: 6px; font-size: 26px; }
.nx-form > p { margin-bottom: 24px; font-size: 15px; }
.nx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nx-field { display: flex; flex-direction: column; gap: 7px; }
.nx-field--full { grid-column: 1 / -1; }
.nx-field label { color: var(--nx-ink); font-size: 13.5px; font-weight: 600; }
.nx-field input, .nx-field select, .nx-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--nx-line);
  border-radius: 10px;
  background: var(--nx-sky);
  color: var(--nx-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.nx-field textarea { min-height: 120px; resize: vertical; }
.nx-field input:focus, .nx-field select:focus, .nx-field textarea:focus { outline: 0; border-color: var(--nx-blue); background: #fff; box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.12); }
.nx-form .nx-btn { margin-top: 22px; width: 100%; }
.nx-form-note { margin: 14px 0 0; color: var(--nx-muted); font-size: 13px; text-align: center; }

/* 7. Inner-page overrides -------------------------------------------------- */
/* The banner now sits below a solid two-tier header. */
.nx .page-hero.ns-hero,
.nx .page-hero {
  padding-top: calc(var(--nx-topbar-h) + var(--nx-header-h) + 70px) !important;
  padding-bottom: 70px;
  background-image: none !important;
  background: radial-gradient(60% 90% at 90% 20%, rgba(37, 99, 235, 0.5), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(56, 189, 248, 0.25), transparent 70%), linear-gradient(180deg, var(--nx-navy-900), var(--nx-navy-800)) !important;
}
.nx .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.nx .page-hero h1 { color: #fff !important; font-weight: 600; letter-spacing: -0.02em; }
.nx .page-hero .ns-hero-eyebrow { border-color: rgba(2, 119, 189, 0.5); background: rgba(2, 119, 189, 0.12); color: #7dd3fc; }

/* Template buttons follow the system: signal orange, pill shape. */
.nx .theme-btn,
.nx.home-two .theme-btn.style-one,
.nx .theme-btn.gradient-btn {
  border-radius: 100px;
  background: var(--nx-accent) !important;
  color: #fff !important;
  font-family: var(--nx-text);
  font-weight: 600;
}
.nx .theme-btn:hover,
.nx.home-two .theme-btn.style-one:hover { background: var(--nx-accent-600) !important; }

/* Section eyebrows: uppercase, letter-spaced, orange. */
.nx .section-title .sub-title,
.nx.home-two .section-title .sub-title {
  color: var(--nx-accent) !important;
  font-family: var(--nx-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.nx .section-title h2 { font-weight: 600; letter-spacing: -0.015em; }

/* Light text on dark template sections (CTA bands, counters). */
.nx .text-white h1, .nx .text-white h2, .nx .text-white h3, .nx .text-white h4,
.nx .text-white p, .nx .text-white .sub-title { color: #fff !important; }

/* Cards: quiet sky panels instead of shadows and decorative shapes. */
.nx .orbia-iconic-box.style-two,
.nx .orbia-iconic-box.style-five,
.nx .ns-pillar,
.nx .ns-office {
  border-radius: var(--nx-radius) !important;
}
.nx .orbia-iconic-box.style-two .shape { display: none; }

.nx .read-more.style-one { color: var(--nx-ink); font-weight: 600; }
.nx .read-more.style-one:hover { color: var(--nx-accent); }

/* Preloader is retired with the template chrome. */
.nx .preloader { display: none !important; }

/* 8. Responsive ------------------------------------------------------------ */
@media (max-width: 1399.98px) {
  .nx-link { padding: 0 11px; font-size: 14.5px; }
  .nx-link::after { left: 11px; right: 11px; }
  .nx-mega-inner { grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 28px; }
  .nx-mega-inner--industries { grid-template-columns: 1fr 2.4fr; }
  .nx-footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .nx-footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 32px; align-items: start; }
  .nx-footer-contact h4 { grid-column: 1 / -1; }
}

@media (max-width: 1199.98px) {
  :root { --nx-header-h: 70px; }
  .nx-topbar-note { display: none; }
  .nx-topbar .nx-container { justify-content: flex-end; }

  .nx-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
  }
  .nx-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s, opacity 0.25s; }
  body.nx-menu-open .nx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nx-menu-open .nx-burger span:nth-child(2) { opacity: 0; }
  body.nx-menu-open .nx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nx-header-inner { justify-content: space-between; }

  .nx-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    flex-direction: column;
    justify-content: flex-start;
    width: min(420px, 92vw);
    height: 100vh;
    height: 100dvh;
    padding: 90px 0 30px;
    overflow-y: auto;
    background: var(--nx-navy-900);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  body.nx-menu-open .nx-nav { transform: none; }
  .nx-scrim { position: fixed; inset: 0; z-index: 999; display: block; background: rgba(4, 10, 38, 0.6); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
  body.nx-menu-open .nx-scrim { opacity: 1; visibility: visible; }
  body.nx-menu-open .nx-actions { position: relative; z-index: 1003; }
  body.nx-menu-open .nx-header { transform: none; }

  .nx-menu { flex-direction: column; height: auto; gap: 0; padding: 0 24px; }
  .nx-item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nx-link { flex: 1; height: auto; padding: 18px 0; font-size: 17px; }
  .nx-link::after { display: none; }
  .nx-caret { margin: 0; padding: 14px 4px 14px 20px; font-size: 13px; }
  .nx-item:hover > .nx-caret { transform: none; }
  .nx-item.is-open > .nx-caret { transform: rotate(180deg); color: #fff; }

  .nx-mega, .nx-drop {
    position: static;
    flex: 0 0 100%;
    display: none;
    min-width: 0;
    padding: 0 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nx-item.is-open > .nx-mega, .nx-item.is-open > .nx-drop { display: block; }
  .nx-item:hover > .nx-mega:not(.is-open), .nx-item:focus-within > .nx-mega { transform: none; }
  .nx-mega-inner, .nx-mega-inner--industries { display: block; padding: 0; }
  .nx-mega-intro, .nx-mega-feature { display: none; }
  .nx-mega-col + .nx-mega-col { margin-top: 18px; }
  .nx .nx-mega-col h6 { color: rgba(255, 255, 255, 0.55); border-color: rgba(255, 255, 255, 0.1); }
  .nx-mega-list li a, .nx-drop a { padding: 9px 0; color: rgba(255, 255, 255, 0.82); }
  .nx-drop a i { color: var(--nx-accent); }
  .nx-drop a:hover { background: none; }
  .nx-mega-grid { grid-template-columns: 1fr; gap: 0; }
  .nx-mega-grid a { padding: 10px 0; }
  .nx-mega-grid a:hover { background: none; }
  .nx-mega-grid b { color: #fff; font-size: 16px; }
  .nx-mega-grid small { display: none; }
  .nx-mega-ico { flex-basis: 36px; width: 36px; height: 36px; background: rgba(255, 255, 255, 0.08); color: var(--nx-accent); font-size: 15px; }
  .nx-nav-foot { display: block; margin-top: 28px; padding: 0 24px; }
  .nx-nav-foot .nx-btn { width: 100%; }
  .nx-nav-foot p { margin: 18px 0 0; line-height: 1.9; }
  .nx-nav-foot a:not(.nx-btn) { color: rgba(255, 255, 255, 0.75); }

  .nx-hero-cards { grid-template-columns: 1fr 1fr; }
  .nx-hero-cards .nx-hero-card:last-child { grid-column: 1 / -1; min-height: 0; }
  .nx-services-grid, .nx-home-services { grid-template-columns: repeat(3, 1fr); }
  .nx-services-visual { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
  .nx-home-services .nx-services-visual { min-height: 260px; }
  .nx-why { grid-template-columns: 1fr; gap: 40px; }
  .nx-why-sticky { position: static; }
  .nx-ind { grid-template-columns: 1fr; gap: 28px; }
  .nx-ind-tabs { display: flex; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--nx-line); scrollbar-width: none; }
  .nx-ind-tabs li { flex: 0 0 auto; }
  .nx-ind-tabs button { margin: 0 0 -2px; padding: 14px 18px; border-left: 0; border-bottom: 2px solid transparent; font-size: 17px; white-space: nowrap; }
  .nx-ind-tabs button[aria-selected="true"] { border-bottom-color: var(--nx-accent); background: none; }
  .nx-contact { grid-template-columns: 1fr; gap: 40px; }
  .nx-footer-cta { flex-direction: column; align-items: flex-start; padding: 40px; }
}

@media (max-width: 991.98px) {
  .nx-section { padding: 84px 0; }
  .nx-section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .nx-services-grid, .nx-home-services { grid-template-columns: 1fr 1fr; }
  .nx-stats { grid-template-columns: 1fr 1fr; }
  .nx-stat:nth-child(3) { border-left: 0; }
  .nx-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .nx-story { grid-template-columns: 1fr; flex-basis: 88%; }
  .nx-story-art { min-height: 220px; order: -1; }
  .nx-story-logo { width: 130px; height: 130px; padding: 18px; }
  .nx-ind-panel { grid-template-columns: 1fr; }
  .nx-ind-art { display: none; }
  .nx-model { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .nx-model li:nth-child(2)::after { display: none; }
  .nx-trust .nx-container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nx-trust-label { flex-basis: auto; }
  .nx-trust-logos { justify-content: flex-start; gap: 28px 40px; }
  .nx-footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .nx-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  :root { --nx-topbar-h: 0px; }
  .nx-topbar { display: none; }
  .nx-container { padding: 0 16px; }
  .nx-header-cta { display: none; }
  .nx-hero { padding-top: calc(var(--nx-header-h) + 56px); }
  .nx-hero-sub { font-size: 17px; }
  .nx-hero-cards { grid-template-columns: 1fr; margin-top: 56px; padding-bottom: 48px; }
  .nx-hero-card { min-height: 0; }
  .nx-services-grid, .nx-home-services { grid-template-columns: 1fr; }
  .nx-why-list { grid-template-columns: 1fr; }
  .nx-story { flex-basis: 92%; }
  .nx-story-body, .nx-ind-copy, .nx-form { padding: 28px 22px; }
  .nx-ind-copy ul { grid-template-columns: 1fr; }
  .nx-model { grid-template-columns: 1fr; }
  .nx-model li::after { display: none; }
  .nx-form-grid { grid-template-columns: 1fr; }
  .nx-footer-cta { padding: 30px 22px; }
  .nx-footer-cta-actions, .nx-footer-cta-actions .nx-btn { width: 100%; }
  .nx-footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding: 56px 0 40px; }
  .nx-footer-contact { display: block; }
  .nx-footer-bottom { flex-direction: column; align-items: flex-start; }
  .nx .page-hero.ns-hero, .nx .page-hero { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .nx-hero-canvas { display: none; }
  .nx-btn, .nx-hero-card, .nx-svc, .nx-header, .nx-topbar, .nx-nav { transition: none; }
}

/* 9. Photography ------------------------------------------------------------
   Photos sit under navy overlays so text contrast never depends on the image. */

/* Homepage hero: photo, then a navy wash heavier on the copy side, then dots. */
.nx-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.75;
}
.nx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 16, 56, 0.96) 0%, rgba(7, 16, 56, 0.82) 38%, rgba(7, 16, 56, 0.35) 75%, rgba(7, 16, 56, 0.5) 100%),
    radial-gradient(60% 70% at 85% 30%, rgba(37, 99, 235, 0.35), transparent 70%);
  pointer-events: none;
}
.nx-hero-canvas { z-index: 1; }
.nx-hero::after { z-index: 1; }

/* Hero cards become photo cards. */
.nx-hero-card { background: var(--nx-navy-800); }
.nx-hero-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.nx-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 16, 56, 0.35) 0%, rgba(7, 16, 56, 0.92) 78%);
}
.nx-hero-card > *:not(.nx-hero-card-img) { position: relative; z-index: 2; }
.nx-hero-card:hover .nx-hero-card-img { transform: scale(1.06); }

/* Services panel: photo under a navy-to-violet wash. */
.nx-services-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-services-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(11, 22, 80, 0.1) 0%, rgba(11, 22, 80, 0.85) 42%, rgba(7, 16, 56, 0.97) 100%);
}
.nx-services-visual > *:not(.nx-services-photo) { position: relative; z-index: 1; }

/* Industry panels: photo on the right with a sector badge. */
.nx-ind-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-ind-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--nx-navy-900) 0%, rgba(7, 16, 56, 0.25) 35%, rgba(7, 16, 56, 0.1) 100%);
}
.nx-ind-badge {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--nx-accent);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 16px 30px -12px rgba(2, 119, 189, 0.8);
}
@media (max-width: 991.98px) {
  .nx-ind-art { display: block; min-height: 220px; order: -1; }
  .nx-ind-art::before { background: linear-gradient(0deg, var(--nx-navy-900) 0%, rgba(7, 16, 56, 0.1) 60%); }
}

/* Inner-page banners: a section photo (set by enterprise.js) under the navy wash. */
.nx .page-hero.nx-has-photo {
  background:
    linear-gradient(90deg, rgba(7, 16, 56, 0.96) 0%, rgba(7, 16, 56, 0.86) 38%, rgba(11, 22, 80, 0.45) 100%),
    radial-gradient(60% 90% at 90% 20%, rgba(37, 99, 235, 0.4), transparent 70%),
    var(--nx-hero-photo) center / cover no-repeat,
    var(--nx-navy-900) !important;
}

/* Success stories: sector photo under a navy wash, client logo on top. */
.nx-story-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--nx-navy-800) 0%, rgba(11, 22, 80, 0.35) 40%, rgba(11, 22, 80, 0.2) 100%);
}
.nx-story-logo { z-index: 2; }
@media (max-width: 991.98px) {
  .nx-story-art::before { background: linear-gradient(0deg, var(--nx-navy-800) 0%, rgba(11, 22, 80, 0.2) 70%); }
}

/* 10. Partners page & platform band ------------------------------------------ */
.nx-trust-names { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 34px; margin: 0; padding: 0; list-style: none; }
.nx-trust-names li { color: #9aa1bd; font-family: var(--nx-head); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; transition: color 0.2s; }
.nx-trust-names li:hover { color: var(--nx-ink); }
.nx-trust-more { flex: 0 0 auto; font-size: 14px; }

.nx-orbit svg { display: block; width: 100%; max-width: 560px; height: auto; margin-left: auto; }

.nx-eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nx-eco-cat { padding: 30px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: #fff; transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; }
.nx-eco-cat:hover { border-color: transparent; box-shadow: var(--nx-shadow); transform: translateY(-4px); }
.nx-eco-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.nx-eco-head span { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--nx-sky-2); color: var(--nx-blue); font-size: 20px; }
.nx-eco-cat:nth-child(3n+2) .nx-eco-head span { color: var(--nx-violet); }
.nx-eco-cat:nth-child(3n) .nx-eco-head span { color: var(--nx-accent); }
.nx-eco-head h3 { margin: 0; font-size: 21px; font-weight: 600; }
.nx-eco-cat p { margin-bottom: 18px; font-size: 15px; line-height: 1.6; }
.nx-eco-cat ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nx-eco-cat li { padding: 8px 14px; border-radius: 100px; background: var(--nx-sky); color: var(--nx-ink); font-size: 14px; font-weight: 600; }
.nx-fineprint { margin: 28px 0 0; color: var(--nx-muted); font-size: 13px; line-height: 1.6; }

.nx-impl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nx-impl { display: grid; grid-template-columns: 0.8fr 1.2fr; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 var(--nx-line); scroll-margin-top: 140px; transition: box-shadow 0.3s; }
.nx-impl:hover { box-shadow: var(--nx-shadow); }
.nx-impl-media { position: relative; min-height: 260px; }
.nx-impl-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-impl-media .nx-ind-badge { width: 52px; height: 52px; right: 18px; bottom: 18px; border-radius: 14px; font-size: 21px; }
.nx-impl-body { display: flex; flex-direction: column; padding: 30px; }
.nx-impl-body h3 { margin-bottom: 8px; font-size: 23px; font-weight: 600; }
.nx-impl-body > p { margin-bottom: 16px; font-size: 15px; line-height: 1.6; }
.nx-impl-body h4 { margin-bottom: 10px; color: var(--nx-muted); font-family: var(--nx-text); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.nx-check { margin: 0 0 18px; padding: 0; list-style: none; }
.nx-check li { position: relative; margin-bottom: 8px; padding-left: 24px; color: var(--nx-ink); font-size: 14.5px; line-height: 1.5; }
.nx-check li::before { content: "\f00c"; position: absolute; left: 0; top: 1px; color: var(--nx-accent); font-family: "Font Awesome 5 Pro"; font-size: 12px; font-weight: 900; }
.nx-impl-stack { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; background: var(--nx-sky); color: var(--nx-ink); font-size: 13.5px; font-weight: 600; }
.nx-impl-stack span { display: block; margin-bottom: 2px; color: var(--nx-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.nx-impl-body .nx-more { margin-top: auto; font-size: 14px; }

.nx-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nx-case { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px; background: var(--nx-navy-800); scroll-margin-top: 140px; }
.nx-case-media { position: relative; height: 220px; }
.nx-case-media img { width: 100%; height: 100%; object-fit: cover; }
.nx-case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 22, 80, 0.1), var(--nx-navy-800)); }
.nx-case-body { padding: 4px 36px 36px; }
.nx-case-body h3 { margin: 4px 0 20px; color: #fff !important; font-size: 25px; font-weight: 600; line-height: 1.25; }
.nx-case-dl { margin: 0; }
.nx-case-dl dt { margin-bottom: 4px; color: var(--nx-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.nx-case-dl dd { margin: 0 0 16px; color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.65; }
.nx-case-dl dd:last-child { margin-bottom: 0; }

.nx-programme { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nx-prog { padding: 34px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: #fff; }
.nx-prog--featured { border-color: transparent; background: radial-gradient(120% 80% at 100% 0%, rgba(37, 99, 235, 0.45), transparent 60%), var(--nx-navy-800); }
.nx-prog--featured h3, .nx-prog--featured .nx-check li { color: #fff !important; }
.nx-prog--featured p { color: rgba(255, 255, 255, 0.75); }
.nx-prog-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; background: var(--nx-sky-2); color: var(--nx-blue); font-size: 22px; }
.nx-prog--featured .nx-prog-ico { background: var(--nx-accent); color: #fff; }
.nx-prog h3 { margin-bottom: 10px; font-size: 23px; font-weight: 600; }
.nx-prog p { margin-bottom: 20px; font-size: 15px; line-height: 1.65; }
.nx-prog .nx-check { margin: 0; }
.nx-prog-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 36px; padding: 32px 40px; border-radius: 20px; background: var(--nx-sky); }
.nx-prog-cta h3 { margin-bottom: 6px; font-size: 25px; font-weight: 600; }
.nx-prog-cta p { margin: 0; }

@media (max-width: 1199.98px) {
  .nx-eco { grid-template-columns: 1fr 1fr; }
  .nx-impl-grid, .nx-cases { grid-template-columns: 1fr; }
  .nx-programme { grid-template-columns: 1fr; }
  .nx-trust-names { justify-content: flex-start; }
}
@media (max-width: 991.98px) {
  .nx-trust-more { align-self: flex-start; }
}
@media (max-width: 767.98px) {
  .nx-eco { grid-template-columns: 1fr; }
  .nx-impl { grid-template-columns: 1fr; }
  .nx-impl-media { min-height: 200px; }
  .nx-case-body { padding: 4px 22px 28px; }
  .nx-prog-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .nx-trust-names li { font-size: 18px; }
}

/* 11. Success stories v2: journey + AI use cases ------------------------------ */
.nx-eco { grid-template-columns: repeat(4, 1fr); }
.nx-eco-cat { padding: 26px; }

.nx-cases-sec { position: relative; overflow: hidden; }
.nx-cases-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
  mask-image: linear-gradient(180deg, #000, transparent 60%);
  pointer-events: none;
}
.nx-cases-sec .nx-container { position: relative; }
.nx-cases { grid-template-columns: 1fr; gap: 32px; }
.nx-case { padding: 28px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), var(--nx-navy-800); }

.nx-case-top { display: grid; grid-template-columns: 360px 1fr; gap: 36px; align-items: center; margin-bottom: 28px; }
.nx-case:nth-child(even) .nx-case-top { grid-template-columns: 1fr 360px; }
.nx-case:nth-child(even) .nx-case-media { order: 2; }
.nx-case .nx-case-media { height: 230px; overflow: hidden; border-radius: 18px; }
.nx-case .nx-case-media::after { background: linear-gradient(180deg, transparent 40%, rgba(7, 16, 56, 0.6)); }
.nx-case-num {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-family: var(--nx-head);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.95;
}
.nx-case-intro h3 { margin: 6px 0 12px; color: #fff !important; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.2; }
.nx-case-intro p { margin: 0; max-width: 640px; color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 1.65; }

.nx-journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 24px; padding: 0; list-style: none; }
.nx-journey li { position: relative; padding: 22px 26px 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.nx-journey li + li { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.nx-journey li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nx-accent);
  box-shadow: 0 0 0 4px rgba(2, 119, 189, 0.2);
}
.nx-journey li + li::before { left: 26px; }
.nx-journey-step { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #fff; font-family: var(--nx-head); font-size: 18px; font-weight: 600; }
.nx-journey-step i { color: var(--nx-accent); font-size: 14px; }
.nx-journey li:nth-child(2) .nx-journey-step i { color: #8fa6ff; }
.nx-journey li:nth-child(3) .nx-journey-step i { color: #3ddc97; }
.nx-journey p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 14.5px; line-height: 1.65; }

.nx-ai {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.22), rgba(2, 119, 189, 0.1));
}
.nx-ai::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.8), rgba(2, 119, 189, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.nx-ai h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #fff !important; font-size: 18px; font-weight: 600; }
.nx-ai h4 i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--nx-grad); font-size: 14px; }
.nx-ai ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.nx-ai li { padding: 18px; border-radius: 14px; background: rgba(4, 10, 38, 0.45); transition: background-color 0.25s, transform 0.25s; }
.nx-ai li:hover { background: rgba(4, 10, 38, 0.7); transform: translateY(-3px); }
.nx-ai li span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #7dd3fc; font-size: 15px; }
.nx-ai li b { display: block; margin-bottom: 6px; color: #fff; font-family: var(--nx-head); font-size: 17px; font-weight: 600; }
.nx-ai li small { display: block; color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.55; }

@media (max-width: 1199.98px) {
  .nx-eco { grid-template-columns: repeat(2, 1fr); }
  .nx-case-top, .nx-case:nth-child(even) .nx-case-top { grid-template-columns: 300px 1fr; gap: 28px; }
  .nx-case:nth-child(even) .nx-case-media { order: 0; }
}
@media (max-width: 991.98px) {
  .nx-case-top, .nx-case:nth-child(even) .nx-case-top { grid-template-columns: 1fr; }
  .nx-journey { grid-template-columns: 1fr; }
  .nx-journey li, .nx-journey li + li { padding: 18px 0 18px 26px; border-left: 0; }
  .nx-journey li::before, .nx-journey li + li::before { top: 24px; left: 0; }
  .nx-journey li { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.14) !important; }
  .nx-journey li::before { left: -5px !important; }
  .nx-ai ul { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .nx-eco { grid-template-columns: 1fr; }
  .nx-case { padding: 18px; }
  .nx-ai { padding: 18px; }
}

/* ---- AI spotlight (homepage): Agentic AI and Industrial AI ---------------- */
.nx-hero-kicker a { color: inherit; }
.nx-hero-kicker a:hover { color: #fff; text-decoration: underline; }
.nx-spot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.nx-spot {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--nx-line);
  box-shadow: var(--nx-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.nx-spot:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); }
.nx-spot-visual { display: block; position: relative; background: #071a33; overflow: hidden; }
.nx-spot-visual img { display: block; width: 100%; height: auto; transition: transform 0.6s ease; }
.nx-spot:hover .nx-spot-visual img { transform: scale(1.025); }
/* A slow light sweep across the diagram. */
.nx-spot-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.09) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: nx-sweep 6s ease-in-out infinite;
  pointer-events: none;
}
.nx-spot:nth-child(2) .nx-spot-visual::after { animation-delay: 3s; }
@keyframes nx-sweep { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.nx-spot-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 30px 32px 34px; }
.nx-spot-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font: 600 12.5px/1.2 var(--nx-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nx-violet);
  background: rgba(37, 99, 235, 0.08);
}
.nx-spot h3 { margin-bottom: 10px; font-size: 26px; line-height: 1.25; color: var(--nx-ink); }
.nx-spot-body > p { margin-bottom: 18px; font-size: 15.5px; line-height: 1.65; }
.nx-spot-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.nx-spot-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nx-ink);
  background: var(--nx-sky);
}
.nx-spot-chips li i { color: var(--nx-violet); font-size: 12px; }
.nx-spot-chips li.nx-spot-more { color: #fff; border-color: transparent; background: var(--nx-grad); }
.nx-spot-body .nx-btn { margin-top: auto; }
@media (max-width: 991.98px) {
  .nx-spot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .nx-spot-body { padding: 24px 20px 28px; }
  .nx-spot h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-spot, .nx-spot-visual img { transition: none; }
  .nx-spot-visual::after { animation: none; display: none; }
}
/* 9. Small-screen refinements ---------------------------------------------- */
/* Tablets in portrait: two service cards per row instead of one. */
@media (min-width: 576px) and (max-width: 767.98px) {
  .nx-home-services { grid-template-columns: 1fr 1fr; }
  .nx-home-services .nx-services-visual { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
  /* Homepage services: compact rows (icon beside the text) so eleven cards
     do not become several screens of scrolling. */
  .nx-home-services { gap: 12px; }
  .nx-home-services .orbia-iconic-box.style-two {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 18px;
  }
  .nx-home-services .orbia-iconic-box.style-two .sn-number { display: none; }
  .nx-home-services .orbia-iconic-box.style-two .icon { width: 48px; height: 48px; margin: 0; }
  .nx-home-services .orbia-iconic-box.style-two .content .title { margin-bottom: 6px; font-size: 18px; }
  .nx-home-services .orbia-iconic-box.style-two .content p { margin-bottom: 10px; font-size: 14px; line-height: 1.55; }
  .nx-home-services .nx-services-visual { min-height: 220px; }

  /* Counters (About page): two per row with smaller rings. */
  .row > [class*="col-"]:has(> .orbia-counter-item.style-two) { flex: 0 0 50%; max-width: 50%; }
  .orbia-counter-item.style-two { margin-bottom: 20px !important; }
  .orbia-counter-item.style-two .content { width: 100%; max-width: 150px; height: auto; aspect-ratio: 1; padding: 10px; text-align: center; }
  .orbia-counter-item.style-two .content h2 { font-size: 30px; }
  .orbia-counter-item.style-two .content p, .orbia-counter-item.style-two .content h5 { font-size: 13px; line-height: 1.3; }

  /* Fluid headings so long titles never crowd a narrow screen. */
  .nx .section-title h2, .nx .nx-section-head h2 { font-size: clamp(26px, 7.4vw, 34px); line-height: 1.2; }
  .nx .page-hero h1 { font-size: clamp(28px, 8.2vw, 38px); }
  .nx-btn { padding: 13px 22px; white-space: normal; text-align: center; }
}


/* Pages without the top utility bar (homepage) */
body.nx-no-topbar { --nx-topbar-h: 0px; }
