/**
 * NextGrowthX main stylesheet.
 * Order: base, typography, layout, components, header, footer, blog, forms, utilities.
 * Colors and sizes come from tokens.css.
 */

/* ------------------------------------------------------------------ Base */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--ngx-header-h) + 1rem); }

body {
	margin: 0;
	background: var(--ngx-surface);
	color: var(--ngx-text);
	font-family: var(--ngx-font);
	font-size: var(--ngx-fs-body);
	line-height: var(--ngx-lh-body);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; }
img { display: block; }

a { color: var(--ngx-blue-strong); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ngx-blue-deep); }

:focus-visible { outline: none; box-shadow: var(--ngx-focus); border-radius: 4px; }

::selection { background: var(--ngx-accent); color: var(--ngx-text); }

hr { border: 0; border-top: 1px solid var(--ngx-border); margin: var(--ngx-space-7) 0; }

/* ------------------------------------------------------------ Typography */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--ngx-space-4);
	color: var(--ngx-text);
	font-family: var(--ngx-font-heading);
	font-weight: 700;
	line-height: var(--ngx-lh-heading);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
h1 { font-size: var(--ngx-fs-h1); font-weight: 800; line-height: var(--ngx-lh-tight); letter-spacing: -0.025em; }
h2 { font-size: var(--ngx-fs-h2); }
h3 { font-size: var(--ngx-fs-h3); font-weight: 700; letter-spacing: -0.01em; text-wrap: pretty; }
h4 { font-size: var(--ngx-fs-h4); font-weight: 700; letter-spacing: 0; text-wrap: pretty; }
h5, h6 { font-size: 1rem; font-weight: 650; letter-spacing: 0; }

p { margin: 0 0 var(--ngx-space-4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--ngx-space-4); padding-left: 1.25em; }
li + li { margin-top: var(--ngx-space-2); }

strong { font-weight: 650; }
small { font-size: var(--ngx-fs-small); }

blockquote {
	margin: var(--ngx-space-6) 0;
	padding: var(--ngx-space-2) 0 var(--ngx-space-2) var(--ngx-space-5);
	border-left: 3px solid var(--ngx-blue);
	color: var(--ngx-text);
	font-size: var(--ngx-fs-lead);
}

code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
pre { overflow-x: auto; padding: var(--ngx-space-5); background: var(--ngx-bg-light); border-radius: var(--ngx-radius-sm); }

.ngx-lead { font-size: var(--ngx-fs-lead); line-height: 1.6; color: var(--ngx-text-muted); max-width: var(--ngx-measure); }

.ngx-eyebrow {
	display: inline-block;
	margin: 0 0 var(--ngx-space-4);
	color: var(--ngx-blue-strong);
	font-family: var(--ngx-font-heading);
	font-size: var(--ngx-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.ngx-skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--ngx-text); color: #fff;
	border-radius: var(--ngx-radius-sm);
	font-weight: 600; text-decoration: none;
}
.ngx-skip-link:focus { top: 1rem; color: #fff; }

/* ----------------------------------------------------------------- Layout */
.ngx-main { display: block; outline: none; }

.ngx-container {
	width: 100%;
	max-width: calc(var(--ngx-width) + var(--ngx-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--ngx-gutter);
}
.ngx-container--narrow { max-width: calc(var(--ngx-width-narrow) + var(--ngx-gutter) * 2); }

.ngx-section:not(.e-con) { padding-block: var(--ngx-section-y); }
.ngx-section--tight:not(.e-con) { padding-block: var(--ngx-space-8); }
.ngx-section--light { background: var(--ngx-bg-light); }
.ngx-section--dark { background: var(--ngx-bg-dark); color: var(--ngx-on-dark); }
.ngx-section--dark :is(h1, h2, h3, h4) { color: var(--ngx-on-dark); }
.ngx-section--dark .ngx-lead,
.ngx-section--dark p { color: var(--ngx-on-dark-muted); }
.ngx-section--dark .ngx-eyebrow { color: var(--ngx-green); }
.ngx-section--dark a:not(.ngx-btn) { color: #fff; }

.ngx-center { text-align: center; }
.ngx-center .ngx-lead { margin-inline: auto; }

.ngx-grid { display: grid; gap: var(--ngx-space-5); grid-template-columns: 1fr; }
@media (min-width: 768px) {
	.ngx-grid--2, .ngx-grid--3, .ngx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
	.ngx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ngx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------- Buttons */
.ngx-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.8125rem 1.375rem;
	border: 1.5px solid transparent;
	border-radius: var(--ngx-radius-sm);
	font-family: var(--ngx-font);
	font-size: var(--ngx-fs-button);
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s var(--ngx-ease), border-color 0.18s var(--ngx-ease), color 0.18s var(--ngx-ease), transform 0.18s var(--ngx-ease);
}
.ngx-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(22, 112, 201, 0.22); }
.ngx-btn:active, .wp-block-button__link:active { transform: translateY(1px); box-shadow: none; }
.ngx-btn--sm { min-height: 42px; padding: 0.625rem 1.05rem; font-size: 0.9375rem; }
.ngx-btn--block { width: 100%; }

.ngx-btn.ngx-btn--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--ngx-blue-strong);
	color: #fff;
}
.ngx-btn.ngx-btn--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--ngx-blue-deep); color: #fff; }

.ngx-btn.ngx-btn--secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: var(--ngx-surface);
	border-color: var(--ngx-blue-strong);
	color: var(--ngx-blue-strong);
}
.ngx-btn.ngx-btn--secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ngx-accent); color: var(--ngx-blue-deep); border-color: var(--ngx-blue-deep); }

.ngx-btn.ngx-btn--on-dark { background: var(--ngx-green); color: var(--ngx-text); }
.ngx-btn.ngx-btn--on-dark:hover { background: var(--ngx-green-bright); color: var(--ngx-text); box-shadow: 0 8px 22px rgba(65, 182, 85, 0.3); }

.ngx-btn-row { display: flex; flex-wrap: wrap; gap: var(--ngx-space-3); margin-top: var(--ngx-space-6); }
.ngx-btn-row--center { justify-content: center; }

.ngx-link-cta {
	display: inline-flex; align-items: center; gap: 0.375rem;
	font-weight: 600; text-decoration: none; color: var(--ngx-blue-strong);
}
.ngx-link-cta .ngx-icon { width: 18px; height: 18px; transition: transform 0.18s var(--ngx-ease); }
.ngx-link-cta:hover { color: var(--ngx-blue-deep); text-decoration: underline; }
.ngx-link-cta:hover .ngx-icon { transform: translateX(3px); }

/* ------------------------------------------------------------ Components */
.ngx-card {
	position: relative;
	background: var(--ngx-surface);
	transition: border-color 0.2s var(--ngx-ease), box-shadow 0.2s var(--ngx-ease);
}
.ngx-card:not(.e-con) {
	display: flex;
	flex-direction: column;
	padding: var(--ngx-space-6);
	border: 1px solid var(--ngx-border);
	border-radius: var(--ngx-radius);
}
.ngx-card:not(.e-con):hover { border-color: #c7d4e3; }
.ngx-card:hover { box-shadow: var(--ngx-shadow); }
.ngx-card:not(.e-con) h3 { margin-bottom: var(--ngx-space-3); }
.ngx-card:not(.e-con) p { color: var(--ngx-text-muted); }

.ngx-badge {
	display: inline-flex; align-items: center;
	padding: 0.25rem 0.625rem;
	background: var(--ngx-accent);
	border-radius: var(--ngx-radius-pill);
	color: var(--ngx-blue-deep);
	font-size: 0.8125rem; font-weight: 600; line-height: 1.4;
	text-decoration: none;
}
a.ngx-badge:hover { background: #d6eafb; color: var(--ngx-blue-deep); }
.ngx-badge--concept { background: #fff4e0; color: #7a4a00; }

.ngx-checklist { list-style: none; padding: 0; margin: 0 0 var(--ngx-space-4); }
.ngx-checklist li { position: relative; padding-left: 1.875rem; }
.ngx-checklist li::before {
	content: "";
	position: absolute; left: 0; top: 0.28em;
	width: 1.25rem; height: 1.25rem;
	border-radius: 50%;
	background: var(--ngx-accent-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.ngx-section--dark .ngx-checklist li::before { background-color: rgba(54, 184, 93, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2336b85d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.ngx-checklist--compact li + li { margin-top: var(--ngx-space-1); }

.ngx-notice {
	padding: var(--ngx-space-5) var(--ngx-space-6);
	background: var(--ngx-bg-light);
	border: 1px dashed #b7c6d8;
	border-radius: var(--ngx-radius);
	color: var(--ngx-text);
}
.ngx-notice h2 { font-size: var(--ngx-fs-h3); }

.ngx-empty-state { max-width: 680px; margin-inline: auto; text-align: center; }

/* Numbered steps */
.ngx-step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; margin-bottom: var(--ngx-space-4);
	border-radius: 50%;
	background: var(--ngx-accent); color: var(--ngx-blue-deep);
	font-weight: 700; font-size: 1rem;
}

/* Icon */
.ngx-icon { flex-shrink: 0; vertical-align: middle; }

/* ---------------------------------------------------------------- Header */
.ngx-topbar {
	background: var(--ngx-navy);
	color: var(--ngx-on-dark-muted);
	font-size: 0.8125rem;
}
.ngx-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--ngx-space-4); min-height: 38px; }
.ngx-topbar p { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.ngx-topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ngx-green); box-shadow: 0 0 0 3px rgba(65, 182, 85, 0.25); }
.ngx-topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.ngx-topbar a:hover { color: var(--ngx-green-bright); }
.ngx-topbar a .ngx-icon { width: 14px; height: 14px; margin-left: 0.25rem; }
@media (max-width: 1100px) { .ngx-topbar__markets { display: none !important; } .ngx-topbar__inner { justify-content: center; } }

.ngx-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s var(--ngx-ease), box-shadow 0.2s var(--ngx-ease);
}
@supports (backdrop-filter: blur(8px)) {
	.ngx-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(12px); }
}
.ngx-header.is-scrolled { border-bottom-color: var(--ngx-border); box-shadow: 0 6px 24px rgba(10, 27, 51, 0.06); }
.ngx-header.is-open { border-bottom-color: var(--ngx-border); }
.admin-bar .ngx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ngx-header { top: 0; } }

.ngx-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: var(--ngx-space-5);
	min-height: var(--ngx-header-h);
	transition: min-height 0.2s var(--ngx-ease);
}
.ngx-header.is-scrolled .ngx-header__inner { min-height: 66px; }

.ngx-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.ngx-logo img { width: auto; height: 42px; max-width: 200px; object-fit: contain; }
.ngx-header.is-scrolled .ngx-logo img { height: 38px; }
.ngx-logo--footer img { height: 46px; max-width: 220px; }
.ngx-logo .custom-logo-link img { height: 42px; width: auto; }
.ngx-logo--text { color: var(--ngx-text); font-family: var(--ngx-font-heading); font-size: 1.375rem; font-weight: 800; text-decoration: none; }

.ngx-menu-toggle {
	display: none;
	align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0;
	background: var(--ngx-bg-light); border: 1px solid var(--ngx-border); border-radius: var(--ngx-radius-sm);
	color: var(--ngx-text); cursor: pointer;
}
.ngx-menu-toggle__open, .ngx-menu-toggle__close { display: inline-flex; }
.ngx-menu-toggle__close { display: none; }
.ngx-menu-toggle[aria-expanded="true"] .ngx-menu-toggle__open { display: none; }
.ngx-menu-toggle[aria-expanded="true"] .ngx-menu-toggle__close { display: inline-flex; }

.ngx-site-nav { display: flex; align-items: center; gap: var(--ngx-space-5); }

.ngx-menu { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.ngx-menu > li { position: relative; display: flex; align-items: center; margin: 0; }
.ngx-header .ngx-menu a {
	display: block;
	padding: 0.625rem 0.625rem;
	border-radius: var(--ngx-radius-sm);
	color: var(--ngx-text);
	font-size: var(--ngx-fs-nav); font-weight: 600; line-height: 1.2;
	text-decoration: none; white-space: nowrap;
	transition: color 0.15s var(--ngx-ease), background-color 0.15s var(--ngx-ease);
}
.ngx-header .ngx-menu > li > a { position: relative; }
.ngx-header .ngx-menu > li > a::after {
	content: ""; position: absolute; left: 0.625rem; right: 0.625rem; bottom: 0.25rem; height: 2px;
	background: var(--ngx-gradient); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform 0.2s var(--ngx-ease);
}
.ngx-header .ngx-menu > li > a:hover::after,
.ngx-header .ngx-menu > .current-menu-item > a::after,
.ngx-header .ngx-menu > .current-menu-ancestor > a::after,
.ngx-header .ngx-menu > .current-page-ancestor > a::after { transform: scaleX(1); }
.ngx-header .ngx-menu a:hover,
.ngx-header .ngx-menu .current-menu-item > a,
.ngx-header .ngx-menu .current-menu-ancestor > a,
.ngx-header .ngx-menu .current-page-ancestor > a { color: var(--ngx-blue-strong); }
.ngx-header .ngx-menu .menu-item-has-children > a { padding-right: 0.125rem; }
.ngx-header .ngx-menu .menu-item-has-children > a::after { right: 0; }

.ngx-submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 32px; padding: 0;
	background: none; border: 0; border-radius: var(--ngx-radius-sm);
	color: var(--ngx-text-muted); cursor: pointer;
}
.ngx-submenu-toggle .ngx-icon { width: 16px; height: 16px; transition: transform 0.18s var(--ngx-ease); }
.ngx-submenu-toggle[aria-expanded="true"] .ngx-icon { transform: rotate(180deg); }

.ngx-submenu {
	position: absolute; top: calc(100% + 6px); left: -0.75rem; z-index: 10;
	width: 340px; margin: 0; padding: var(--ngx-space-3);
	list-style: none;
	background: var(--ngx-surface);
	border: 1px solid var(--ngx-border); border-radius: var(--ngx-radius);
	box-shadow: var(--ngx-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.18s var(--ngx-ease), transform 0.18s var(--ngx-ease), visibility 0.18s;
}
.ngx-submenu:has(> li:nth-child(6)) { display: grid; grid-template-columns: 1fr 1fr; width: 600px; column-gap: var(--ngx-space-2); }
.ngx-submenu li { margin: 0; }
.ngx-header .ngx-submenu a { display: block; padding: 0.7rem 0.85rem; font-weight: 600; white-space: normal; border-radius: 10px; }
.ngx-header .ngx-submenu a::after { display: none; }
.ngx-header .ngx-submenu a:hover { background: var(--ngx-bg-light); }
.ngx-menu-desc { display: block; margin-top: 0.2rem; color: var(--ngx-text-muted); font-size: 0.8125rem; font-weight: 400; line-height: 1.45; }

@media (min-width: 1181px) {
	.ngx-menu > li:hover > .ngx-submenu,
	.ngx-menu > li:focus-within > .ngx-submenu,
	.ngx-menu > li.is-open > .ngx-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
	.ngx-menu > li.is-closed > .ngx-submenu { opacity: 0; visibility: hidden; }
	.ngx-menu > li.menu-item-has-children::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
	.ngx-menu > li:nth-last-child(-n+4) > .ngx-submenu { left: auto; right: -0.75rem; }
}

@media (max-width: 1180px) {
	/* backdrop-filter would trap the fixed menu panel inside the header. */
	.ngx-header { background: var(--ngx-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.ngx-js .ngx-menu-toggle { display: inline-flex; }
	.ngx-js .ngx-site-nav {
		position: fixed; inset: var(--ngx-header-h) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: var(--ngx-space-5);
		padding: var(--ngx-space-5) var(--ngx-gutter) var(--ngx-space-7);
		background: var(--ngx-surface);
		overflow-y: auto; overscroll-behavior: contain;
		visibility: hidden; opacity: 0;
		transition: opacity 0.18s var(--ngx-ease), visibility 0.18s;
	}
	.ngx-header.is-scrolled .ngx-site-nav { top: 66px; }
	.admin-bar.ngx-js .ngx-site-nav { top: calc(var(--ngx-header-h) + 46px); }
	.ngx-js .ngx-header.is-open .ngx-site-nav { visibility: visible; opacity: 1; }
	html:not(.ngx-js) .ngx-header__inner { flex-wrap: wrap; padding-block: var(--ngx-space-3); }
	html:not(.ngx-js) .ngx-site-nav { width: 100%; flex-direction: column; align-items: stretch; }

	.ngx-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.ngx-menu > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--ngx-border); }
	.ngx-header .ngx-menu a { padding: 0.95rem 0; font-size: 1.0625rem; }
	.ngx-header .ngx-menu > li > a::after { display: none; }
	.ngx-submenu-toggle { width: 44px; height: 44px; }
	.ngx-submenu, .ngx-submenu:has(> li:nth-child(6)) {
		position: static; display: none; width: 100%;
		margin: 0 0 var(--ngx-space-3); padding: 0 0 0 var(--ngx-space-3);
		border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
		border-left: 2px solid var(--ngx-border); border-radius: 0;
		grid-template-columns: 1fr;
	}
	.ngx-menu > li.is-open > .ngx-submenu { display: block; }
	.ngx-header .ngx-submenu a { padding: 0.6rem 0.5rem; font-size: 1rem; color: var(--ngx-text-muted); }
	.ngx-menu-desc { display: none; }
	.ngx-header__cta .ngx-btn { width: 100%; min-height: 52px; }
	body.ngx-nav-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- Footer */
.ngx-footer {
	position: relative;
	padding-top: var(--ngx-space-8);
	background: var(--ngx-navy);
	color: var(--ngx-on-dark-muted);
	font-size: 0.9375rem;
	overflow: hidden;
}
.ngx-footer::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--ngx-gradient);
}
.ngx-footer a:not(.ngx-btn) { color: var(--ngx-on-dark-muted); text-decoration: none; }
.ngx-footer a:not(.ngx-btn):hover { color: #fff; text-decoration: underline; }
.ngx-footer__grid { position: relative; display: grid; gap: var(--ngx-space-7); grid-template-columns: 1fr; padding-bottom: var(--ngx-space-7); }
@media (min-width: 768px) { .ngx-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ngx-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ngx-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ngx-space-4); max-width: 360px; }
.ngx-footer__tagline { margin: 0; }
.ngx-footer__markets { display: flex; flex-wrap: wrap; gap: var(--ngx-space-2); margin: 0; padding: 0; list-style: none; }
.ngx-footer__markets li { margin: 0; padding: 0.25rem 0.625rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--ngx-radius-pill); color: #dbe5f2; font-size: 0.8125rem; font-weight: 600; }
.ngx-footer__email { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.ngx-footer__title { margin-bottom: var(--ngx-space-4); color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ngx-footer__menu { margin: 0; padding: 0; list-style: none; }
.ngx-footer__menu li + li { margin-top: var(--ngx-space-3); }
.ngx-social { display: flex; gap: var(--ngx-space-2); margin: 0; padding: 0; list-style: none; }
.ngx-social li { margin: 0; }
.ngx-footer .ngx-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; }
.ngx-footer .ngx-social a:hover { background: var(--ngx-blue); text-decoration: none; }
.ngx-social svg { width: 18px; height: 18px; }
.ngx-footer__bottom {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ngx-space-4);
	padding-block: var(--ngx-space-5);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: var(--ngx-fs-small);
}
.ngx-footer__bottom p { margin: 0; }
.ngx-footer__legal { display: flex; flex-wrap: wrap; gap: var(--ngx-space-5); margin: 0; padding: 0; list-style: none; }
.ngx-footer__legal li + li { margin-top: 0; }
.ngx-footer .ngx-footer-widget p { margin-bottom: var(--ngx-space-3); }
.ngx-footer__arrow { position: absolute; right: -60px; bottom: -40px; width: 420px; opacity: 0.06; pointer-events: none; }

/* ------------------------------------------------------ Page header/blog */
.ngx-page-header { padding-block: var(--ngx-space-8) var(--ngx-space-7); background: var(--ngx-bg-light); border-bottom: 1px solid var(--ngx-border); }
.ngx-page-header__title { margin-bottom: var(--ngx-space-4); }
.ngx-page-header__intro { max-width: var(--ngx-measure); color: var(--ngx-text-muted); font-size: var(--ngx-fs-lead); }
.ngx-page-header__search { max-width: 520px; margin-top: var(--ngx-space-5); }
.ngx-page-header .ngx-badge { margin-bottom: var(--ngx-space-4); }

.ngx-breadcrumbs { margin-bottom: var(--ngx-space-5); font-size: var(--ngx-fs-small); color: var(--ngx-text-muted); }
.ngx-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.ngx-breadcrumbs li { margin: 0; }
.ngx-breadcrumbs li + li::before { content: "/"; margin-right: 0.25rem; color: #9aa8b8; }
.ngx-breadcrumbs a { color: var(--ngx-text-muted); text-decoration: none; }
.ngx-breadcrumbs a:hover { color: var(--ngx-blue-strong); text-decoration: underline; }
.ngx-breadcrumbs .separator { margin-inline: 0.25rem; color: #9aa8b8; }

.ngx-filter ul { display: flex; flex-wrap: wrap; gap: var(--ngx-space-2); margin: var(--ngx-space-6) 0 0; padding: 0; list-style: none; }
.ngx-filter li { margin: 0; }
.ngx-filter a {
	display: inline-flex; padding: 0.5rem 0.95rem;
	border: 1px solid var(--ngx-border); border-radius: var(--ngx-radius-pill);
	background: var(--ngx-surface); color: var(--ngx-text);
	font-size: 0.9375rem; font-weight: 550; text-decoration: none;
}
.ngx-filter a:hover, .ngx-filter a[aria-current="page"] { border-color: var(--ngx-blue-strong); color: var(--ngx-blue-strong); }

.ngx-card.ngx-post-card { padding: 0; overflow: hidden; }
.ngx-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ngx-post-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ngx-space-3); flex: 1; padding: var(--ngx-space-5) var(--ngx-space-6) var(--ngx-space-6); }
.ngx-post-card__title { margin: 0; font-size: 1.25rem; line-height: 1.35; }
.ngx-post-card__title a { color: var(--ngx-text); text-decoration: none; }
.ngx-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.ngx-post-card__title a:hover { color: var(--ngx-blue-strong); }
.ngx-post-card__excerpt { color: var(--ngx-text-muted); font-size: 0.975rem; }
.ngx-post-card__excerpt p { margin: 0; }
.ngx-post-card__date { margin: auto 0 0; color: var(--ngx-text-muted); font-size: var(--ngx-fs-small); }
.ngx-case-card .ngx-link-cta { position: relative; z-index: 1; margin-top: auto; }
.ngx-case-card__labels { display: flex; flex-wrap: wrap; gap: var(--ngx-space-2); margin: 0 0 var(--ngx-space-3); }

.ngx-post-meta { color: var(--ngx-text-muted); font-size: 0.9375rem; }
.ngx-post-meta a { color: inherit; }

.ngx-single__media { margin-block: var(--ngx-space-7) 0; }
.ngx-single__media img { width: 100%; border-radius: var(--ngx-radius); }
.ngx-single__media figcaption { margin-top: var(--ngx-space-2); color: var(--ngx-text-muted); font-size: var(--ngx-fs-small); }
.ngx-single__footer { padding-bottom: var(--ngx-space-8); }

.ngx-entry { padding-block: var(--ngx-space-7); }
.ngx-entry > * { max-width: 100%; }
.ngx-entry h2 { margin-top: var(--ngx-space-7); }
.ngx-entry h3 { margin-top: var(--ngx-space-6); }
.ngx-entry img { border-radius: var(--ngx-radius-sm); }
.ngx-entry table { width: 100%; border-collapse: collapse; margin-bottom: var(--ngx-space-5); font-size: 0.975rem; }
.ngx-entry th, .ngx-entry td { padding: 0.75rem; border-bottom: 1px solid var(--ngx-border); text-align: left; vertical-align: top; }
.ngx-entry th { background: var(--ngx-bg-light); font-weight: 650; }

.ngx-tags { display: flex; flex-wrap: wrap; gap: var(--ngx-space-2); }
.ngx-tags a { padding: 0.25rem 0.625rem; border: 1px solid var(--ngx-border); border-radius: var(--ngx-radius-pill); color: var(--ngx-text-muted); font-size: var(--ngx-fs-small); text-decoration: none; }

.ngx-author-box { display: flex; gap: var(--ngx-space-4); margin-top: var(--ngx-space-6); padding: var(--ngx-space-5); background: var(--ngx-bg-light); border-radius: var(--ngx-radius); }
.ngx-author-box img { border-radius: 50%; }
.ngx-author-box__name { margin: 0 0 var(--ngx-space-1); font-weight: 650; }
.ngx-author-box__bio { margin: 0; color: var(--ngx-text-muted); font-size: 0.9375rem; }

.ngx-related h2 { margin-bottom: var(--ngx-space-6); }

.ngx-pagination { margin-top: var(--ngx-space-7); }
.ngx-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ngx-space-2); }
.ngx-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 0 0.875rem;
	border: 1px solid var(--ngx-border); border-radius: var(--ngx-radius-sm);
	color: var(--ngx-text); font-weight: 550; text-decoration: none;
}
.ngx-pagination .page-numbers.current { background: var(--ngx-blue-strong); border-color: var(--ngx-blue-strong); color: #fff; }
.ngx-pagination a.page-numbers:hover { border-color: var(--ngx-blue-strong); color: var(--ngx-blue-strong); }

.ngx-404 h1 { margin-bottom: var(--ngx-space-4); }
.ngx-404__search { max-width: 460px; margin: var(--ngx-space-7) auto 0; }

.ngx-comments { margin-top: var(--ngx-space-7); }
.ngx-comments__list { padding: 0; list-style: none; }

/* ----------------------------------------------------------------- Forms */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"], input[type="password"], select, textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.6875rem 0.875rem;
	background: var(--ngx-surface);
	border: 1px solid #c3cfdc;
	border-radius: var(--ngx-radius-sm);
	color: var(--ngx-text);
	font: inherit; font-size: 1rem; line-height: 1.4;
	transition: border-color 0.15s var(--ngx-ease), box-shadow 0.15s var(--ngx-ease);
}
textarea { min-height: 132px; resize: vertical; }
select { appearance: none; padding-right: 2.5rem; background: var(--ngx-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5868' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.875rem center / 18px no-repeat; }
input:hover, select:hover, textarea:hover { border-color: #93a5b9; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ngx-blue-strong); box-shadow: 0 0 0 3px rgba(11, 107, 191, 0.2); }
::placeholder { color: #7a8796; opacity: 1; }

label { display: block; margin-bottom: 0.375rem; font-size: 0.9375rem; font-weight: 600; }
input[type="checkbox"], input[type="radio"] { width: 1.125rem; height: 1.125rem; accent-color: var(--ngx-blue-strong); }

.ngx-form { width: 100%; }
.ngx-form__grid { display: grid; gap: var(--ngx-space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .ngx-form__grid { grid-template-columns: 1fr 1fr; } }
.ngx-field--full { grid-column: 1 / -1; }
.ngx-field__help { margin: 0.375rem 0 0; color: var(--ngx-text-muted); font-size: var(--ngx-fs-small); }
.ngx-field--check { display: flex; align-items: flex-start; gap: var(--ngx-space-3); margin-block: var(--ngx-space-5); }
.ngx-field--check input { flex-shrink: 0; margin-top: 0.2rem; }
.ngx-field--check label { margin: 0; font-weight: 400; font-size: 0.9375rem; color: var(--ngx-text-muted); }
.ngx-required { color: #b42318; }
.ngx-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ngx-form__note { margin-top: var(--ngx-space-3); color: var(--ngx-text-muted); font-size: var(--ngx-fs-small); text-align: center; }
.ngx-form__message { margin-bottom: var(--ngx-space-5); padding: var(--ngx-space-5); border-radius: var(--ngx-radius); }
.ngx-form__message--success { background: var(--ngx-accent-green); border: 1px solid #b6e2c4; }
.ngx-form__message--error { background: #fef3f2; border: 1px solid #fecdca; color: #7a271a; }
.ngx-form__message:focus { outline: none; }

.ngx-search-form { display: flex; gap: var(--ngx-space-2); }
.ngx-search-form .ngx-btn { flex-shrink: 0; min-width: 48px; min-height: 48px; }

.ngx-calendly { width: 100%; }
.ngx-calendly .calendly-inline-widget { width: 100%; background: var(--ngx-surface); border: 1px solid var(--ngx-border); border-radius: var(--ngx-radius); overflow: hidden; }
.ngx-calendly__fallback { margin-top: var(--ngx-space-3); color: var(--ngx-text-muted); font-size: var(--ngx-fs-small); text-align: center; }

/* ------------------------------------------- Block editor fallback output */
.ngx-blocks .wp-block-group.ngx-section > .wp-block-group__inner-container,
.ngx-blocks .ngx-section > * { max-width: var(--ngx-width); margin-inline: auto; }
.wp-block-group.ngx-section { padding-inline: var(--ngx-gutter); }
.wp-block-columns.ngx-grid { display: grid; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--ngx-space-3); margin-top: var(--ngx-space-6); }
.wp-block-details.ngx-faq-item { padding: var(--ngx-space-4) 0; border-bottom: 1px solid var(--ngx-border); }
.wp-block-details.ngx-faq-item summary { font-weight: 650; cursor: pointer; }
.alignwide { max-width: var(--ngx-width); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.wp-caption-text, .wp-element-caption { color: var(--ngx-text-muted); font-size: var(--ngx-fs-small); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 var(--ngx-space-5) var(--ngx-space-4) 0; }
.alignright { float: right; margin: 0 0 var(--ngx-space-4) var(--ngx-space-5); }

/* ---------------------------------------------------------- Accessibility */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.ngx-header, .ngx-footer, .ngx-cta-band, .ngx-skip-link { display: none !important; }
}
.ngx-card .ngx-calendly .calendly-inline-widget { border: 0; border-radius: 0; }

.comment-form input[type="submit"] {
	min-height: 48px; padding: 0.8125rem 1.375rem;
	background: var(--ngx-blue-strong); border: 0; border-radius: var(--ngx-radius-sm);
	color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.comment-form input[type="submit"]:hover { background: var(--ngx-blue-deep); }
.comment-form .comment-form-cookies-consent { display: flex; gap: var(--ngx-space-3); align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }

/* ------------------------------------------------- v2: scroll reveal */
/* Add the CSS class "ngx-reveal" to any Elementor element to fade it in on scroll.
   "ngx-stagger" reveals the children of a container one after another.
   Remove the class to turn the effect off. Disabled for reduced-motion users. */
.ngx-js .ngx-reveal:not(.is-visible),
.ngx-js .ngx-stagger:not(.is-visible) > .e-con-inner > *,
.ngx-js .ngx-stagger:not(.is-visible) > :not(.e-con-inner) {
	opacity: 0;
	transform: translateY(26px);
}
.ngx-reveal, .ngx-stagger > .e-con-inner > *, .ngx-stagger > :not(.e-con-inner) {
	transition: opacity 0.7s var(--ngx-ease), transform 0.7s var(--ngx-ease);
}
.elementor-editor-active .ngx-reveal, .elementor-editor-active .ngx-stagger > *, .elementor-editor-active .ngx-stagger > .e-con-inner > * { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.ngx-js .ngx-reveal:not(.is-visible), .ngx-js .ngx-stagger:not(.is-visible) > *, .ngx-js .ngx-stagger:not(.is-visible) > .e-con-inner > * { opacity: 1; transform: none; }
}
@media print { .ngx-reveal, .ngx-stagger > * { opacity: 1 !important; transform: none !important; } }

/* ------------------------------------------------- v2.1: contact details */
.ngx-footer__contact { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.ngx-footer__contact li { display: flex; align-items: center; gap: 0.6rem; margin: 0; }
.ngx-footer__contact .ngx-icon { width: 18px; height: 18px; color: var(--ngx-green); }
.ngx-footer__serving { margin: 0 0 -0.5rem; font-size: 0.8125rem; font-weight: 600; color: #dbe5f2; }
.ngx-contact-list { display: grid; gap: 1rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.ngx-contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; }
.ngx-contact-list__icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ngx-accent); color: var(--ngx-blue-strong); }
.ngx-contact-list__icon .ngx-icon { width: 20px; height: 20px; }
.ngx-contact-list__label { display: block; color: var(--ngx-text-muted); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.ngx-contact-list a { color: var(--ngx-text); font-weight: 600; text-decoration: none; }
.ngx-contact-list a:hover { color: var(--ngx-blue-strong); text-decoration: underline; }
.ngx-contact-list__note { color: var(--ngx-text-muted); font-size: 0.9rem; }
.ngx-editor-note { padding: 0.75rem 1rem; border: 2px dashed #f0b429; border-radius: var(--ngx-radius-sm); background: #fffaf0; color: #7a4a00; font-size: 0.9rem; }
