/* ==========================================================================
   Next Level Technology Group — main stylesheet
   Brand colours come straight from the logo: navy #003366 and silver #C0C0C0.
   Change them once here and they update everywhere.
   ========================================================================== */

:root {
	--navy: #003366;
	--navy-700: #0a4480;
	--navy-900: #001f3f;
	--navy-950: #00152b;
	--silver: #c0c0c0;
	--silver-300: #d9dde3;
	--silver-100: #eef1f5;
	--light: #f5f7fa;
	--accent: #2f7fd1;
	--accent-soft: #8fc0f0;
	--ink: #13202e;
	--body: #3e4c5c;
	--muted: #66768a;
	--white: #fff;
	--line: #e1e6ec;

	--font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
	--font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(0, 31, 63, .06), 0 8px 24px rgba(0, 31, 63, .07);
	--shadow-lg: 0 4px 10px rgba(0, 31, 63, .08), 0 24px 48px rgba(0, 31, 63, .14);
	--container: 1240px;
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--body);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.2;
	margin: 0 0 .6em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: middle; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-head); font-size: .78rem; font-weight: 700;
	letter-spacing: .18em; text-transform: uppercase; color: var(--navy-700);
	margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .55; }
.eyebrow--light { color: var(--silver); }
.lead { font-size: 1.15rem; color: var(--muted); }

.icon-badge {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px; border-radius: 12px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
	color: #fff; box-shadow: 0 6px 14px rgba(0, 51, 102, .25);
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--lg { width: 60px; height: 60px; border-radius: 15px; }
.icon-badge--lg .icon { width: 30px; height: 30px; }

.text-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--font-head); font-weight: 700; font-size: .92rem;
	color: var(--navy); text-decoration: none;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
a:hover .text-link .icon, .text-link:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1;
	padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.btn--primary, .wp-block-button__link { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(0, 51, 102, .25); }
.btn--primary:hover, .wp-block-button__link:hover { background: var(--navy-700); color: #fff; }
.btn--outline, .is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--outline:hover, .is-style-outline .wp-block-button__link:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn--white:hover { background: var(--silver-100); color: var(--navy); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--lg { padding: 18px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 31, 63, .08); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.site-logo { display: block; flex-shrink: 0; line-height: 0; }
.site-logo__img { height: 58px; width: auto; }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu > li > a {
	display: flex; align-items: center; gap: 6px;
	padding: 30px 14px; font-family: var(--font-head); font-weight: 600; font-size: .98rem;
	color: var(--ink); text-decoration: none; position: relative;
}
.primary-nav .menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px;
	background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.primary-nav .menu > li:hover > a::after,
.primary-nav .menu > li.current-menu-item > a::after,
.primary-nav .menu > li.current-menu-ancestor > a::after,
.primary-nav .menu > li.current-page-ancestor > a::after { transform: scaleX(1); }
.primary-nav .menu > li > a:hover { color: var(--navy); }

.submenu-toggle {
	background: none; border: 0; padding: 4px; margin-left: -10px; margin-right: 2px; cursor: pointer; color: var(--muted);
	display: grid; place-items: center; border-radius: 6px;
}
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.menu > li:hover > .submenu-toggle .icon, .menu > li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

/* Dropdowns */
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: 100%; left: 0; min-width: 250px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--ease), visibility .2s;
	z-index: 10;
}
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu,
.primary-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none;
	font-family: var(--font-head); font-weight: 600; font-size: .92rem;
}
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu .current-menu-item > a { background: var(--silver-100); color: var(--navy); }

/* Mega menu (Services) */
.primary-nav .menu > li.is-mega { position: static; }
.primary-nav .menu > li.is-mega > .sub-menu {
	left: 50%; transform: translate(-50%, 8px);
	width: min(1080px, calc(100vw - 48px));
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 22px;
	top: calc(var(--header-h) - 6px);
}
.primary-nav .menu > li.is-mega:hover > .sub-menu,
.primary-nav .menu > li.is-mega:focus-within > .sub-menu,
.primary-nav .menu > li.is-mega.is-open > .sub-menu { transform: translate(-50%, 0); }
.primary-nav .is-mega > .sub-menu > li { padding: 6px; border-radius: 12px; }
.primary-nav .is-mega > .sub-menu > li > a { font-size: .98rem; color: var(--navy); padding: 10px 10px 12px; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.primary-nav .is-mega > .sub-menu > li > a .menu-icon {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
	background: var(--silver-100); color: var(--navy); flex-shrink: 0;
}
.primary-nav .is-mega > .sub-menu > li > a:hover .menu-icon { background: var(--navy); color: #fff; }
.primary-nav .sub-menu .sub-menu {
	position: static; opacity: 1; visibility: visible; transform: none;
	box-shadow: none; border: 0; padding: 8px 0 0; min-width: 0; background: transparent;
}
.primary-nav .sub-menu .sub-menu a { font-weight: 500; font-family: var(--font-body); font-size: .98rem; color: var(--body); padding: 7px 10px; }
.primary-nav .sub-menu .sub-menu a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--silver); flex-shrink: 0; }
.primary-nav .sub-menu .sub-menu a:hover::before { background: var(--navy); }
.primary-nav .menu-icon .icon { width: 20px; height: 20px; }

.primary-nav__mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; }
.header-phone:hover { color: var(--navy); }
.header-phone__icon {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--silver-100); color: var(--navy); transition: background .2s, color .2s;
}
.header-phone:hover .header-phone__icon { background: var(--navy); color: #fff; }
.header-phone__icon .icon { width: 19px; height: 19px; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone__text small { font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.header-contact { padding: 13px 24px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; border-radius: 8px; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(120% 140% at 0% 0%, var(--navy-700) 0%, var(--navy) 38%, var(--navy-900) 75%, var(--navy-950) 100%);
	isolation: isolate;
}
.hero.has-image { background: linear-gradient(100deg, rgba(0, 21, 43, .94) 0%, rgba(0, 51, 102, .82) 50%, rgba(0, 51, 102, .45) 100%), var(--hero-img) center / cover no-repeat; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero.has-image .hero-art { opacity: .5; }
.hero__inner { padding-top: clamp(72px, 11vw, 140px); padding-bottom: clamp(88px, 12vw, 160px); }
.hero__content { max-width: 720px; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.07; margin-bottom: 22px; letter-spacing: -.02em; }
.hero__text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .84); max-width: 600px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Scrolling ribbon */
.marquee {
	position: relative; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .12);
	background: rgba(0, 21, 43, .55); backdrop-filter: blur(4px);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee__list li {
	display: flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px;
	font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(255, 255, 255, .85); white-space: nowrap;
}
.marquee__list li::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--silver); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy); letter-spacing: -.01em; }
.stat__label { font-size: .95rem; color: var(--muted); }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head--split { max-width: none; text-align: left; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split h2 { margin-bottom: 0; }

/* ---------- Services grid (home) ---------- */
.services-section { background: var(--light); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
	padding: 30px 26px 26px; display: flex; flex-direction: column;
	position: relative; overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(90deg, var(--navy), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__head { text-decoration: none; color: inherit; }
.service-card__head h3 { margin: 18px 0 10px; }
.service-card__head:hover h3 { color: var(--navy); }
.service-card > p { font-size: .98rem; color: var(--muted); }
.service-card__subs { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.service-card__subs a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; }
.service-card__subs a:hover { color: var(--accent); }
.service-card__subs .icon { width: 16px; height: 16px; color: var(--accent); }
.service-card .text-link { margin-top: auto; }

/* ---------- Editable home sections (from Pages › Home) ---------- */
.home-content > * { max-width: none; }
.home-content .nl-section { padding: clamp(56px, 8vw, 104px) 24px; margin: 0; }
/* (WordPress wraps group contents in .wp-block-group__inner-container on classic themes — both cases covered) */
.home-content .nl-section > *,
.home-content .nl-section > .wp-block-group__inner-container > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.home-content .nl-section > .wp-block-heading,
.home-content .nl-section > p,
.home-content .nl-section > .wp-block-group__inner-container > .wp-block-heading,
.home-content .nl-section > .wp-block-group__inner-container > p { max-width: 760px; text-align: center; }
.home-content .nl-section .wp-block-columns { margin-bottom: 0; }
.nl-kicker { font-family: var(--font-head); font-size: .78rem !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 14px !important; display: flex; align-items: center; justify-content: center; gap: 10px; }
.nl-kicker::before, .home-content .nl-kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .55; }
.entry-content:not(.home-content) .nl-kicker { justify-content: flex-start; }
.entry-content:not(.home-content) .nl-kicker::after { display: none; }
.nl-section .nl-intro { color: var(--muted); font-size: 1.15rem; margin-bottom: 48px; }

.nl-features { gap: 22px !important; }
.nl-features > .wp-block-column {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
	position: relative;
}
.nl-features h3 { display: flex; align-items: center; gap: 12px; }
.nl-features h3::before {
	content: ""; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
	background: var(--navy) var(--ico, none) center / 24px no-repeat;
	box-shadow: 0 6px 14px rgba(0, 51, 102, .25);
}
.nl-features > .wp-block-column:nth-child(1) h3::before { --ico: url("../img/ico-team.svg"); }
.nl-features > .wp-block-column:nth-child(2) h3::before { --ico: url("../img/ico-clipboard.svg"); }
.nl-features > .wp-block-column:nth-child(3) h3::before { --ico: url("../img/ico-shield.svg"); }
.nl-features p { color: var(--muted); margin-bottom: 0; }

.nl-steps-section { background: var(--light); }
.nl-steps { counter-reset: step; gap: 22px !important; }
.nl-steps > .wp-block-column { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.nl-steps > .wp-block-column::before {
	counter-increment: step; content: "0" counter(step);
	display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
	color: transparent; -webkit-text-stroke: 1.5px var(--silver); margin-bottom: 14px;
}
.nl-steps h3 { font-size: 1.12rem; }
.nl-steps p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }

/* ---------- Industries (home) ---------- */
.industries-section { background: var(--navy-900); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.industries-section::before {
	content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; opacity: .06;
	background: url("../img/nl-mark-white.svg") center / contain no-repeat; pointer-events: none;
}
.industries-section h2 { color: #fff; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; position: relative; }
/* 4 industries: 4 across on wide screens, 2x2 below */
.industry-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-grid:has(> :nth-child(4):last-child) .industry-card__body { padding: 24px 20px; }
@media (max-width: 1240px) { .industry-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; } }
.industry-card {
	display: flex; flex-direction: column; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
	transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.industry-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: inherit; }
.industry-card__media { aspect-ratio: 800 / 520; overflow: hidden; background: var(--navy); }
.industry-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.industry-card:hover .industry-card__media img { transform: scale(1.04); }
.industry-card__body { padding: 26px; position: relative; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.industry-card .text-link { margin-top: auto; padding-top: 6px; }
.industry-card__body .icon-badge { position: absolute; top: -26px; left: 26px; background: #fff; color: var(--navy); }
.industry-card__body h3 { color: #fff; margin: 18px 0 8px; }
.industry-card__body p { font-size: .98rem; }
.industry-card .text-link { color: var(--accent-soft); }

/* ---------- FAQ (accordion = WordPress "Details" block) ---------- */
.faq-preview__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-preview__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.wp-block-details {
	border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
	margin: 0 0 12px; padding: 0; transition: box-shadow .2s, border-color .2s;
}
.wp-block-details[open] { box-shadow: var(--shadow); border-color: var(--silver-300); }
.wp-block-details summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 20px 60px 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--ink);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
	background: var(--silver-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .25s var(--ease), background-color .2s;
}
.wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.wp-block-details summary:hover { color: var(--navy); }
.wp-block-details > :not(summary) { padding: 0 22px; color: var(--body); }
.wp-block-details > :not(summary):last-child { padding-bottom: 20px; margin-bottom: 0; }

/* ---------- Contact section ---------- */
.faq-preview { padding-bottom: clamp(32px, 4vw, 56px); }
.contact-section { background: linear-gradient(180deg, var(--light) 0%, #fff 100%); }
.contact-section__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; flex-shrink: 0; }
.contact-list small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.08rem; }
.contact-list a:hover { color: var(--navy); }
.contact-section__form { padding: clamp(24px, 4vw, 40px); }

/* Form */
.nltg-form__title { margin-bottom: 20px; }
.nltg-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nltg-form .field { margin-bottom: 16px; }
.nltg-form label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.nltg-form .req { color: #b42318; }
.nltg-form input, .nltg-form select, .nltg-form textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: 13px 14px; border: 1.5px solid var(--silver-300); border-radius: 10px; background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.nltg-form textarea { resize: vertical; min-height: 130px; }
.nltg-form input:focus, .nltg-form select:focus, .nltg-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(47, 127, 209, .16); }
.nltg-form .field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nltg-form button { margin-top: 6px; }
.form-fineprint { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .98rem; }
.form-notice--ok { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; }
.form-notice--ok .icon { width: 24px; height: 24px; }
.form-notice--err { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative; color: #fff; overflow: hidden; isolation: isolate;
	background: radial-gradient(110% 160% at 100% 0%, var(--navy-700) 0%, var(--navy) 40%, var(--navy-900) 100%);
}
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: linear-gradient(90deg, transparent, #000 70%);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.page-hero::after {
	content: ""; position: absolute; right: 4%; top: 50%; width: 300px; height: 300px; transform: translateY(-50%); opacity: .08; z-index: -1;
	background: url("../img/nl-mark-white.svg") center / contain no-repeat;
}
.page-hero.has-image { background: linear-gradient(100deg, rgba(0, 21, 43, .94) 0%, rgba(0, 51, 102, .8) 55%, rgba(0, 51, 102, .55) 100%), var(--hero-img) center / cover no-repeat; }
.page-hero.has-image::after { display: none; }
.page-hero__inner { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 84px); }
.page-hero__title { display: flex; align-items: center; gap: 18px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); flex-shrink: 0; }
.page-hero__icon .icon { width: 32px; height: 32px; }
.page-hero__lead { max-width: 720px; margin: 18px 0 0; font-size: 1.18rem; color: rgba(255, 255, 255, .82); }
.breadcrumbs { font-size: .88rem; margin-bottom: 22px; color: rgba(255, 255, 255, .6); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs .sep { opacity: .5; }

/* ---------- Inner page body ---------- */
.page-photo { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; background: var(--silver-100); }
.page-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .page-photo { aspect-ratio: 4 / 3; margin-bottom: 28px; } }
.page-body .narrow { max-width: 900px; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul:not(.wp-block-social-links) { padding-left: 0; list-style: none; }
.entry-content ul:not(.wp-block-social-links) > li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.entry-content ul:not(.wp-block-social-links) > li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--silver-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.entry-content ol { padding-left: 1.3em; }
.entry-content ol li { margin-bottom: 8px; padding-left: 6px; }
.entry-content ol li::marker { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content .wp-block-buttons { margin: 28px 0; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 32px 0; padding: 22px 26px; border-left: 4px solid var(--navy); background: var(--light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content .wp-block-quote p { font-size: 1.12rem; color: var(--ink); }
.entry-content .wp-block-quote cite { font-style: normal; font-weight: 600; color: var(--muted); }

/* Highlight boxes: give any Group block the class "nl-callout" */
.entry-content .nl-callout {
	background: var(--light); border: 1px solid var(--line); border-left: 4px solid var(--navy);
	border-radius: var(--radius-sm); padding: 24px 26px; margin: 32px 0;
}
.entry-content .nl-callout > :last-child { margin-bottom: 0; }
.entry-content .nl-callout h3, .entry-content .nl-callout h4 { margin-top: 0; }
.entry-content .nl-two-col { gap: 22px !important; margin: 26px 0; }
.entry-content .nl-two-col > .wp-block-column { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 22px 8px; box-shadow: var(--shadow); }
.entry-content .nl-two-col h3 { margin-top: 0; font-size: 1.1rem; }

.child-cards-wrap { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.narrow .child-cards-wrap { margin-top: 40px; }
.child-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.child-card { padding: 26px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
.child-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.child-card h3 { margin: 16px 0 8px; font-size: 1.12rem; }
.child-card p { font-size: .96rem; color: var(--muted); }
.child-card .text-link { margin-top: auto; }

/* Sidebar */
.section-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 22px; }
.section-nav { padding: 22px; }
.section-nav__title { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; padding: 0 10px; }
.section-nav__title a { color: var(--muted); text-decoration: none; }
.section-nav ul { list-style: none; margin: 0; padding: 0; }
.section-nav > ul > li > a {
	display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 9px;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.section-nav > ul > li > a .icon { width: 20px; height: 20px; color: var(--navy-700); }
.section-nav > ul > li > a:hover, .section-nav li.is-current > a { background: var(--silver-100); color: var(--navy); }
.section-nav li ul { margin: 2px 0 8px 40px; border-left: 2px solid var(--line); }
.section-nav li ul a { display: block; padding: 6px 12px; font-size: .95rem; color: var(--body); text-decoration: none; border-left: 2px solid transparent; margin-left: -2px; }
.section-nav li ul a:hover { color: var(--navy); }
.section-nav li ul li.is-current a { color: var(--navy); font-weight: 700; border-left-color: var(--navy); }
.section-nav li:not(.is-active) ul { display: none; }

.aside-cta {
	padding: 28px; border-radius: var(--radius); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden;
	background: radial-gradient(120% 120% at 100% 0%, var(--navy-700), var(--navy) 50%, var(--navy-900));
}
.aside-cta__mark { display: block; width: 46px; margin-bottom: 14px; }
.aside-cta h2 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.aside-cta p { font-size: .98rem; }
.aside-cta__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #fff; font-weight: 600; font-size: .95rem; }
.aside-cta__link .icon { width: 16px; height: 16px; }
.aside-cta__link:hover { color: var(--accent-soft); }

/* FAQ page */
.page-faq .entry-content h2 { font-size: 1.35rem; margin: 48px 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--silver-100); }
.page-faq .entry-content h2:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band {
	background: radial-gradient(100% 200% at 0% 0%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%);
	color: rgba(255, 255, 255, .82); position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; opacity: .07; background: url("../img/nl-mark-white.svg") center / contain no-repeat; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 620px; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 96px; width: auto; }
.footer-title { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-title a { color: inherit; text-decoration: none; }
.footer-title--spaced { margin-top: 30px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a, .site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-menu a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { font-style: normal; display: grid; gap: 16px; }
.footer-contact__item { display: flex; gap: 12px; margin: 0; line-height: 1.55; }
.footer-contact__item .icon { width: 20px; height: 20px; color: var(--silver); margin-top: 2px; }
.footer-contact strong { color: #fff; }
.footer-contact abbr { text-decoration: none; color: var(--silver); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.social-links a:hover { background: #fff; color: var(--navy); text-decoration: none; }
.social-links .icon { width: 18px; height: 18px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.site-footer__bottom p { margin: 0; }
.mobile-call-bar { display: none; }
.center-actions { text-align: center; margin-top: 40px; }

/* Core block alignments inside pages */
.alignwide { max-width: var(--container); margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: none; }
.has-navy-color { color: var(--navy) !important; } .has-navy-background-color { background-color: var(--navy) !important; }
.has-navy-dark-color { color: var(--navy-900) !important; } .has-navy-dark-background-color { background-color: var(--navy-900) !important; }
.has-silver-color { color: var(--silver) !important; } .has-silver-background-color { background-color: var(--silver) !important; }
.has-light-color { color: var(--light) !important; } .has-light-background-color { background-color: var(--light) !important; }
.has-accent-color { color: var(--accent) !important; } .has-accent-background-color { background-color: var(--accent) !important; }
.has-white-color { color: #fff !important; } .has-white-background-color { background-color: #fff !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	.header-phone__text small { display: none; }
	.primary-nav .menu > li > a { padding-left: 10px; padding-right: 10px; }
}

@media (max-width: 1100px) {
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.with-aside { grid-template-columns: 1fr; }
	.section-aside { position: static; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile navigation */
@media (max-width: 860px) {
	:root { --header-h: 72px; }
	.site-logo__img { height: 42px; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav-toggle { display: block; }
	.header-phone__text { display: none; }
	.primary-nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: #fff; display: block;
		overflow-y: auto; padding: 12px 20px 120px;
		opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; visibility: hidden;
	}
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	body.nav-open { overflow: hidden; }
	body.nav-open .primary-nav { opacity: 1; transform: none; visibility: visible; }
	body.nav-open .nav-toggle__open { display: none; }
	body.nav-open .nav-toggle__close { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { flex: 1; padding: 18px 4px; font-size: 1.1rem; }
	.primary-nav .menu > li > a::after { display: none; }
	.submenu-toggle { margin: 0; padding: 12px; }
	.submenu-toggle .icon { width: 22px; height: 22px; }
	.menu > li:hover > .submenu-toggle .icon { transform: none; }
	.menu > li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
	.primary-nav .sub-menu,
	.primary-nav .menu > li.is-mega > .sub-menu {
		position: static; width: 100%; transform: none !important; opacity: 1; visibility: visible;
		box-shadow: none; border: 0; padding: 0 0 14px; display: none; grid-template-columns: 1fr;
	}
	.primary-nav .menu > li:hover > .sub-menu, .primary-nav .menu > li:focus-within > .sub-menu { display: none; }
	.primary-nav .menu > li.is-open > .sub-menu { display: grid; }
	.primary-nav .is-mega > .sub-menu > li > a { border-bottom: 0; }
	.primary-nav .sub-menu .sub-menu { padding: 0 0 6px 46px; display: grid; }
	.primary-nav__mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
}

@media (max-width: 1024px) {
	.faq-preview__grid, .contact-section__grid { grid-template-columns: 1fr; gap: 40px; }
	.faq-preview__intro { position: static; }
	.industry-grid { grid-template-columns: 1fr 1fr; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 861px) and (max-width: 1020px) {
	.header-phone__text { display: none; }
}

/* Compact header for small laptops / tablets: full menu stays visible */
@media (min-width: 861px) and (max-width: 1180px) {
	.site-header__inner { gap: 16px; }
	.site-logo__img { height: 44px; }
	.header-phone { font-size: .95rem; }
	.header-actions { gap: 10px; }
	.header-contact { padding: 11px 18px; font-size: .9rem; }
	.primary-nav .menu > li > a { padding-left: 8px; padding-right: 8px; font-size: .94rem; }
	.primary-nav .menu > li > a::after { left: 8px; right: 8px; }
	.submenu-toggle { margin-left: -6px; }
	.primary-nav .menu > li.is-mega > .sub-menu { grid-template-columns: repeat(2, 1fr); width: calc(100vw - 32px); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 720px) {
	body { font-size: 1rem; }
	.container { padding: 0 18px; }
	.header-contact { display: none; }
	.header-actions { gap: 6px; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat { padding: 24px 12px; }
	.stat__num { font-size: 1.3rem; white-space: nowrap; }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.service-grid, .industry-grid, .industry-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
	.nltg-form .field-row { grid-template-columns: 1fr; gap: 0; }
	.hero__actions .btn { width: 100%; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.page-hero__title { align-items: flex-start; }
	.page-hero__icon { width: 52px; height: 52px; }
	.page-hero::after { display: none; }
	.mobile-call-bar {
		display: flex; align-items: center; justify-content: center; gap: 10px;
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
		background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700;
		padding: 15px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 21, 43, .35);
	}
	.mobile-call-bar:hover { color: #fff; }
	.site-footer { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; }
	.marquee__list[aria-hidden] { display: none; }
}

/* Classic-theme group wrapper spacing */
.entry-content .nl-callout .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.entry-content .nl-callout .wp-block-buttons { margin-bottom: 0; }
