/* base/variables */
/* Design tokens (CSS custom properties). Loaded on every page. */

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--color-navy-950: #0f1847;
	--color-dark-surface: var(--color-navy-950);
	--color-navy-900: #1a265f;
	--color-navy-800: #1c3075;
	--color-navy-text: #162058;
	--color-accent: #4ecad4;
	--color-accent-hover: #3db8c2;
	--color-accent-glow: #64d9e2;
	--color-accent-ink: #087e8b;
	--color-accent-text: var(--color-accent-ink);
	--color-accent-soft: #e9f8fb;
	--color-accent-dark: #0f1847;
	--color-white: #ffffff;
	--color-off-white: #f4f7fc;
	--color-gray-100: #eef1f8;
	--color-gray-300: #bbc5dc;
	--color-text-on-dark: #c5cfe2;
	--color-text-body: #5a667b;
	--color-text-muted: #5a667b;
	--color-border: #dde4ee;
	--color-border-dark: #354477;
	--color-surface: #edf3fa;
	--color-navy-deep: #0c1435;
	--color-navy-glow: #101c42;

	--tracking-label: 0.04em;
	--tracking-heading: -0.015em;
	--word-spacing: 0.02em;
	--line-height-body: 1.6;
	--line-height-heading: 1.2;

	--container-width: 1200px;
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-pill: 999px;
	--radius-btn: 10px;

	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;
	--space-xxl: var(--space-2xl);
	--space-3xl: 7rem;

	--font-base: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--shadow-card: 0 4px 20px rgba(20, 27, 77, 0.06);
	--shadow-card-lg: 0 12px 32px rgba(20, 27, 77, 0.14);
}

/* base/reset */
/* Reset + element defaults. Loaded on every page. */

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* clip (not hidden): hidden turns body into a scroll container and breaks the sticky header. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
	html, body { overflow-x: clip; }
}
body {
	--color-accent-text: var(--color-accent-ink);
	margin: 0;
	font-family: var(--font-base);
	color: var(--color-navy-text);
	background: var(--color-white);
	line-height: var(--line-height-body);
	letter-spacing: normal;
	word-spacing: var(--word-spacing);
	font-kerning: normal;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: var(--line-height-heading); letter-spacing: var(--tracking-heading); margin: 0 0 var(--space-sm); font-weight: 700; }
p { margin: 0 0 var(--space-sm); color: var(--color-text-body); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: normal; word-spacing: normal; }

/* base/common */
/* Shared utilities, layout helpers, badges, buttons and scroll animations. Loaded on every page. */

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	--color-accent-text: var(--color-accent);
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--color-navy-950);
	color: var(--color-white);
	padding: 0.75rem 1.25rem;
	z-index: 10000;
}
.skip-link:focus {
	top: 0;
}

.container {
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--space-md);
}

.section { padding-block: var(--space-2xl); }
.section--tint, .industries--tint {
	--color-accent-text: var(--color-accent-ink); background: var(--color-off-white); }

.section__intro { max-width: 640px; margin-bottom: var(--space-lg); }
.section__intro h2, .section__heading { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section__heading--center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: var(--space-lg); }

.section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-md);
	flex-wrap: wrap;
	margin-bottom: var(--space-lg);
}
.section__header h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	max-width: 620px;
}
.link-arrow { font-size: 1rem; }

.text-highlight {
	color: var(--color-accent-text);
	text-decoration: none;
	/* Solid bar instead of text-decoration so descenders (g, y) don't break it. */
	background: linear-gradient(var(--color-accent), var(--color-accent)) no-repeat 0 100% / 100% 0.08em;
	padding-bottom: 0.14em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.badge {
	--color-accent-text: var(--color-accent);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0 0.9rem;
	min-height: 38px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border-dark);
	color: var(--color-text-on-dark);
	background: var(--color-navy-900);
	margin-bottom: var(--space-sm);
}

.badge--accent {
	color: var(--color-navy-text);
	border-color: var(--color-accent);
	background: rgba(78,202,212,0.1);
	font-size: 0.9rem;
	padding: 0.55rem 1.1rem;
}

.eyebrow {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: var(--color-accent-dark);
	margin-bottom: 0.5rem;
}

.link-arrow {
	color: var(--color-accent-text);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.link-arrow:hover { color: var(--color-accent-hover); text-decoration: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	letter-spacing: normal;
	word-spacing: normal;
	line-height: 1.4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 52px;
	padding: 0 1.75rem;
	border-radius: var(--radius-btn);
	font-size: 0.75rem;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn--primary {
	background: var(--color-accent);
	color: var(--color-accent-dark);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.15s ease;
}
.btn--primary:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 28px rgba(78, 202, 212, 0.35);
	filter: brightness(1.05);
}
.btn--secondary {
	--color-accent-text: var(--color-accent); background: var(--color-navy-950); color: var(--color-white); border-color: var(--color-border-dark); }
.btn--secondary:hover { border-color: var(--color-white); }
.btn--outline { background: transparent; color: var(--color-navy-text); border-color: var(--color-accent); border-radius: var(--radius-pill); }
.btn--outline:hover { background: var(--color-accent); color: var(--color-accent-dark); }
.btn--outline-light { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.35); }
.btn--outline-light:hover { border-color: var(--color-white); }
.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.88rem; }
.btn--aia {
	padding: 0.7rem 1.6rem;
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.4rem;
}
.btn--final-cta {
	transition: transform 0.2s ease, filter 0.15s ease;
}
.btn--final-cta .btn__arrow {
	display: inline-block;
	opacity: 0;
	max-width: 0;
	overflow: hidden;
	transition: opacity 0.25s ease, max-width 0.25s ease, margin-left 0.25s ease;
}
.btn--final-cta:hover {
	transform: scale(1.05);
}
.btn--final-cta:hover .btn__arrow {
	opacity: 1;
	max-width: 1.5rem;
	margin-left: 0.35rem;
}

/* Dark navy band — homepage markets section + About closing section. */
.markets--dark {
	--color-accent-text: var(--color-accent);
	background: var(--color-dark-surface);
	color: var(--color-white);
}

@media (max-width: 640px) {
	.section { padding-block: var(--space-xl); }
}

.badge svg { color: var(--color-accent-text); flex-shrink: 0; }

/* Scroll-triggered animations */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: translateY(0); }
}
/* Scroll entrances run in JS. Content stays readable without JS or motion. */
[data-animate] { opacity: 1; }

.btn--accent {
	background: var(--color-accent);
	color: var(--color-navy-950);
	border-color: var(--color-accent);
}
.btn--accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }

.btn--lg {
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
}

/* Keyboard focus ring (shown only for keyboard navigation, never on mouse click). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

/* Keep content visible while the next page loads. */
html.st-leaving body::after {
	content: '';
	position: fixed;
	inset: 0 0 auto;
	height: 3px;
	z-index: 99998;
	pointer-events: none;
	background: var(--color-accent);
	box-shadow: 0 0 10px rgba(78, 202, 212, 0.55);
	transform-origin: left;
	animation: st-navigation-progress 8s cubic-bezier(.1, .8, .2, 1) forwards;
}
html[dir="rtl"].st-leaving body::after { transform-origin: right; }
html.st-leaving body.admin-bar::after { top: 32px; }
@media (max-width: 782px) {
	html.st-leaving body.admin-bar::after { top: 46px; }
}
@keyframes st-navigation-progress {
	from { transform: scaleX(0.08); }
	to { transform: scaleX(0.92); }
}
@media (prefers-reduced-motion: reduce) {
	html.st-leaving body::after { animation: none; }
}

/* components/header */
/* Site header, primary nav and mega-menu panels. Loaded on every page. */

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	--color-accent-text: var(--color-accent);
	--header-panel-gap: 14px;
	background: var(--color-dark-surface);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	backdrop-filter: blur(20px) saturate(140%);
	border-bottom: 0;
	position: sticky;
	top: 0;
	z-index: 1001;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
/* On scroll, reveal the content through a softly blurred navy surface. */
.site-header.is-scrolled {
	background: rgba(15, 24, 71, 0.78);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12), 0 8px 28px rgba(15, 24, 71, 0.18);
}
.site-header__inner { transition: padding 0.3s ease; }
.site-header-spacer { display: none; }
.site-header.is-scrolled .site-header__inner { padding-block: 14px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-header, .site-header.is-scrolled {
	--color-accent-text: var(--color-accent); background: var(--color-dark-surface); }
}
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	max-width: 1280px;
	min-height: 76px;
	padding-block: 14px;
}
.site-header__logo {
	text-decoration: none;
	color: var(--color-white);
	font-weight: 800;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.site-header__logo img {
	height: 34px;
	width: auto;
	max-width: none;
	display: block;
}
.site-header__logo .custom-logo-link {
	display: flex;
	align-items: center;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 20px;
}
.site-header__inner {
	flex-wrap: nowrap;
}
.site-nav__item { position: relative; }
.site-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	text-decoration: none;
	color: var(--color-white);
	font-weight: 500;
	font-size: 13px;
	line-height: 20px;
	padding-block: 14px;
	position: relative;
	background: transparent;
	white-space: nowrap;
	transition: color 0.15s ease;
}
button.site-nav__link {
	border: 0;
	padding-inline: 0;
	cursor: pointer;
}
.site-nav__item.is-active > .site-nav__link,
.site-nav__item.is-open > .site-nav__link,
.site-nav__item--has-dropdown:hover > .site-nav__link,
.site-nav__item--has-dropdown:has(:focus-visible) > .site-nav__link,
.site-nav__link:hover,
.site-nav__link:focus-visible {
	color: var(--color-accent-text);
	background: transparent;
}
.site-nav__list > .site-nav__item > .site-nav__link::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	border-radius: 2px;
	background: var(--color-accent);
	opacity: 0;
	transform: scaleX(0.45);
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-nav__item.is-active > .site-nav__link::after,
.site-nav__item.is-open > .site-nav__link::after,
.site-nav__item:hover > .site-nav__link::after,
.site-nav__item:has(:focus-visible) > .site-nav__link::after {
	opacity: 1;
	transform: scaleX(1);
}
.site-nav__chevron { transition: transform 0.15s ease; }
.site-nav__item--has-dropdown:hover .site-nav__chevron,
.site-nav__item--has-dropdown:has(:focus-visible) .site-nav__chevron,
.site-nav__item--has-dropdown.is-open .site-nav__chevron {
	transform: rotate(180deg);
}

.site-nav__submenu {
	--color-accent-text: var(--color-accent-ink);
	position: absolute;
	top: calc(100% + var(--header-panel-gap));
	left: 0;
	min-width: 220px;
	background: var(--color-white);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-card-lg);
	padding: 0.5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.site-nav__item--has-dropdown:hover .site-nav__submenu,
.site-nav__item--has-dropdown:has(:focus-visible) .site-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.site-nav__submenu .site-nav__link { color: var(--color-navy-text); padding: 0.5rem 0.75rem; border-radius: 6px; }

/* Mega-menu dropdown panels (Solutions / Products / Resources) */
.mega-panel {
	--color-accent-text: var(--color-accent-ink);
	position: absolute;
	top: calc(100% + var(--header-panel-gap));
	left: 0;
	--mega-nudge: 0px;
	transform: translate(var(--mega-nudge), 6px);
	width: min(calc(100vw - 48px), 940px);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 18px;
	padding: 28px 30px 30px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: 28px;
	min-height: 420px;
	align-items: start;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 20;
}
.mega-panel::before, .site-nav__submenu::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	height: 16px;
}
.site-nav__item--mega:hover .mega-panel,
.site-nav__item--mega:has(:focus-visible) .mega-panel,
.site-nav__item--mega.is-open .mega-panel {
	opacity: 1;
	visibility: visible;
	transform: translate(var(--mega-nudge), 0);
}
/* Default alignment per dropdown: left item opens left, middle centers,
   right item opens right — avoids all three defaulting to the same edge.
   --mega-nudge (set by JS) can still pull a panel in if it would overflow. */
.mega-panel--solutions { left: 0; right: auto; }
.mega-panel--products { left: 0; right: auto; width: min(calc(100vw - 48px), 880px); grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
.site-nav__item--mega:hover .mega-panel--products,
.site-nav__item--mega:has(:focus-visible) .mega-panel--products { transform: translate(var(--mega-nudge), 0); }
.mega-panel--resources { left: 0; right: auto; width: min(calc(100vw - 48px), 720px); grid-template-columns: minmax(0, 1fr) 240px; min-height: 390px; }
.mega-panel__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--color-accent-text);
	margin-bottom: 10px;
}
.mega-panel__intro { color: var(--color-text-body); font-size: 13px; line-height: 1.55; margin-bottom: 24px; }
.mega-panel__items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 20px;
}
.mega-panel__item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-content: start;
	gap: 3px 14px;
	padding: 0;
	border-radius: 12px;
	text-decoration: none;
}
.mega-panel__item-icon {
	--color-accent-text: var(--color-accent-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--color-off-white);
	color: var(--color-navy-800);
	grid-row: 1 / span 2;
	transition: box-shadow 0.15s ease;
}
.mega-panel__item-icon svg { width: 20px; height: 20px; }
.mega-panel__item-title { font-weight: 700; color: var(--color-navy-text); font-size: 16px; line-height: 1.4; grid-column: 2; transition: color 0.15s ease; }
.mega-panel__item-description { color: var(--color-text-body); font-size: 12.5px; line-height: 1.5; grid-column: 2; }
.mega-panel--products .mega-panel__intro { margin-bottom: 16px; }
.mega-panel--products .mega-panel__items { gap: 18px 20px; }
.mega-panel--products .mega-panel__item {
	--color-accent-text: var(--color-accent-ink); display: flex; flex-direction: column; gap: 4px; min-height: 86px; padding: 12px 14px; border: 1px solid var(--color-border); background: var(--color-off-white); transition: border-color 0.15s ease; }
.mega-panel--products .mega-panel__item-icon { display: none; }
.mega-panel--products .mega-panel__item-title { font-size: 18px; }
.mega-panel--products .mega-panel__item-description { font-size: 12px; }
.mega-panel__item-label { color: var(--color-accent-text); font-size: 10px; margin-bottom: 4px; }
.mega-panel--resources .mega-panel__eyebrow { margin-bottom: 20px; }
.mega-panel--resources .mega-panel__items { grid-template-columns: 1fr; gap: 16px; }
.mega-panel--resources .mega-panel__item { gap: 3px 14px; }
.mega-panel--resources .mega-panel__item-icon { background: transparent; color: var(--color-accent-text); }
.mega-panel--resources .mega-panel__item-icon svg { width: 34px; height: 34px; stroke-width: 1; }
.mega-panel--products .mega-panel__item--featured {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	border-color: var(--color-navy-950);
	grid-column: 1;
}
.mega-panel__item--featured .mega-panel__item-title,
.mega-panel__item--featured .mega-panel__item-description { color: var(--color-white); }
.mega-panel__item--featured .mega-panel__item-icon { background: rgba(255,255,255,0.12); color: var(--color-white); }
/* Figma hover states keep backgrounds and descriptions unchanged. */
.mega-panel .mega-panel__item:is(:hover, :focus-visible) .mega-panel__item-title {
	color: var(--color-accent-text);
}
.mega-panel--products .mega-panel__item:is(:hover, :focus-visible) {
	border-color: var(--color-accent);
}
.mega-panel--solutions .mega-panel__item:is(:hover, :focus-visible) .mega-panel__item-icon {
	box-shadow: inset 0 0 0 1px var(--color-accent);
}
.mega-panel__side {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	border-radius: 16px;
	padding: 22px 20px 24px;
	min-height: 320px;
	display: flex;
	flex-direction: column;
	color: var(--color-white);
}
.mega-panel .mega-panel__eyebrow--side { color: var(--color-accent-text); font-size: 10px; margin-bottom: 18px; }
.mega-panel__side-heading { color: var(--color-white); font-size: 22px; line-height: 1.3; margin-bottom: 26px; }
.mega-panel__side-body { color: #c2cbe3; font-size: 13px; line-height: 1.55; margin-bottom: 14px; }
.mega-panel--products .mega-panel__side-heading { font-size: 24px; margin-bottom: 16px; }
.mega-panel--resources .mega-panel__side { min-height: 300px; padding-bottom: 22px; }
.mega-panel--resources .mega-panel__side-heading { margin-bottom: 28px; }
.mega-panel__side-stat {
	--color-accent-text: var(--color-accent);
	display: inline-block;
	background: var(--color-navy-800);
	border-radius: 10px;
	padding: 12px 8px;
	font-size: 12px;
	text-align: center;
	margin-bottom: 12px;
}
.mega-panel__side-cta { margin-top: auto; width: 100%; min-height: 44px; padding-inline: 10px; font-size: 12px; }
.site-header .btn--primary { background: var(--color-accent); color: var(--color-navy-950); }
.site-header .btn:hover, .site-header .btn:focus-visible { transform: none; filter: none; box-shadow: none; }
.site-header .btn--primary:hover, .site-header .btn--primary:focus-visible { background: var(--color-accent-hover); }
.site-header__actions .btn { min-height: 48px; padding-inline: 18px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.site-header__actions .btn--outline-light { border-color: #4b5b93; }
.site-header__actions .btn--outline-light:is(:hover, :focus-visible, :active) {
	background: rgba(75, 200, 210, 0.12);
	border-color: var(--color-accent);
	color: var(--color-accent-text);
}
.site-header__actions .btn--primary:is(:hover, :focus-visible) { box-shadow: 0 4px 16px rgba(75, 200, 210, 0.2); }
.site-header__actions .btn--primary span { transition: transform 0.18s ease; }
.site-header__actions .btn--primary:is(:hover, :focus-visible) span { transform: translateX(3px); }
[dir="rtl"] .site-header__actions .btn--primary:is(:hover, :focus-visible) span { transform: translateX(-3px); }
.site-header__actions .lang-switch {
	justify-content: center;
	gap: 7px;
	min-height: 40px;
	padding-inline: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	color: #e5ecff;
	font-size: 12px;
}
.site-header__actions .lang-switch:is(:hover, :focus-visible) {
	background: rgba(75, 200, 210, 0.12);
	border-color: var(--color-accent);
	color: var(--color-accent-text);
}
.site-header__actions .lang-switch__icon { width: 17px; height: 17px; opacity: 1; }
.site-header__actions .lang-switch[lang="ar"] .lang-switch__short { font-size: 14px; line-height: 1.4; }
.site-nav__submenu .site-nav__link:hover {
	--color-accent-text: var(--color-accent-ink); background: var(--color-off-white); }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.site-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}
.site-header__toggle-bar {
	--color-accent-text: var(--color-accent-ink);
	width: 22px;
	height: 2px;
	background: var(--color-white);
	border-radius: 2px;
}

@media (min-width: 1221px) and (max-width: 1320px) {
	.site-nav__list { gap: 16px; }
	.site-header__inner { gap: 16px; }
	.site-header__actions .btn { padding-inline: 16px; }
}

@media (max-width: 1220px) {
	html { scroll-padding-top: 76px; }
	.site-header { position: fixed; inset-inline: 0; top: 0; }
	.site-header-spacer { display: block; height: 76px; }
	.site-header { --header-admin-offset: 0px; }
	.admin-bar .site-header { --header-admin-offset: 32px; }
	.site-header__toggle { display: flex; }
	.site-header__actions .btn--outline-light { display: none; }
	.site-nav {
	--color-accent-text: var(--color-accent);
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-dark-surface);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}
	.site-nav.is-open {
		max-height: calc(100vh - 76px - var(--header-admin-offset));
		max-height: calc(100dvh - 76px - var(--header-admin-offset));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.site-nav__list { flex-direction: column; align-items: stretch; padding: var(--space-sm) var(--space-md) var(--space-md); gap: 0; }
	.site-nav__item { width: 100%; }
	.site-nav__link { padding: 0.75rem 0; width: 100%; justify-content: space-between; }
	.site-nav__submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: rgba(255,255,255,0.04);
		display: none;
	}
	.site-nav__item--has-dropdown.is-open .site-nav__submenu { display: block; }
	.site-nav__submenu .site-nav__link { color: var(--color-white); }

	.mega-panel {
		position: static;
		width: auto;
		transform: none;
		opacity: 1;
		visibility: visible;
		display: none;
		grid-template-columns: 1fr;
		box-shadow: none;
		background: rgba(255,255,255,0.04);
		padding: 1rem 0;
		min-height: 0;
		border: 0;
		gap: 18px;
	}
	.mega-panel::before, .site-nav__submenu::before { display: none; }
	.site-nav__item--mega:hover .mega-panel,
	.site-nav__item--mega:focus-within .mega-panel { transform: none; }
	.site-nav__item--mega.is-open .mega-panel { transform: none; }
	.mega-panel--products .mega-panel__items { grid-template-columns: 1fr; }
	.mega-panel--products .mega-panel__item-title { color: var(--color-navy-text); }
	.mega-panel--products .mega-panel__item-description { color: var(--color-text-body); }
	.mega-panel--products .mega-panel__item--featured .mega-panel__item-title,
	.mega-panel--products .mega-panel__item--featured .mega-panel__item-description { color: white; }
	.mega-panel__side, .mega-panel--resources .mega-panel__side { min-height: 0; }
	.mega-panel__side-heading { margin-bottom: 20px; }
	.site-nav__item--mega.is-open .mega-panel { display: grid; }
	.mega-panel__items { grid-template-columns: 1fr; }
	.mega-panel__item-title { color: var(--color-white); }
	.mega-panel__item-description { color: var(--color-gray-300); }
	.mega-panel__intro { color: var(--color-gray-300); }
}

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

@media (max-width: 600px) {
	/* Keep the logged-in toolbar above the fixed header while scrolling. */
	#wpadminbar { position: fixed; }
}

@media (max-width: 600px) {
	.site-header__inner { gap: 12px; padding-inline: 16px; }
	.site-header__logo img { height: 28px; }
	.site-header__actions .btn { font-size: 11px; padding-inline: 12px; min-height: 44px; }
}

/* Language switcher — one compact link in the nav link colours. */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: rgba(255,255,255,0.85);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.lang-switch:hover,
.lang-switch:focus-visible { color: var(--color-white); }
.lang-switch__icon { flex: none; opacity: 0.8; }
.lang-switch[lang="ar"] .lang-switch__short { font-size: 1.05rem; line-height: 1; font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
/* Inside the mobile menu the switcher is its own item; on small phones it
   leaves the crowded header bar and lives only there. */
.site-nav__item--lang { display: none; }
@media (max-width: 1220px) {
	.site-nav__item--lang { display: block; }
	.site-nav__item--lang .lang-switch { padding: 0.75rem 0; }
}
@media (max-width: 600px) {
	.site-header__actions .lang-switch { display: none; }
}
.lang-switch__full { display: none; }
.site-nav__item--lang .lang-switch__short { display: none; }
.site-nav__item--lang .lang-switch__full { display: inline; }
.lang-switch[lang="ar"] .lang-switch__full { font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

@media (prefers-reduced-motion: reduce) {
	.site-header, .site-header *, .site-header *::after { transition: none; }
}

/* components/hero */
/* Hero components: .hero (homepage + template-parts/components/page-hero.php)
   and .dark-hero (template-parts/components/dark-hero.php). Loaded on every page. */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	--color-accent-text: var(--color-accent);
	background: var(--color-dark-surface);
	color: var(--color-white);
	overflow: hidden;
}
.hero__grid {
	display: grid;
	grid-template-columns: minmax(360px, 660px) 1fr;
	align-items: stretch;
	min-height: 640px;
}
.hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 1.75rem;
	padding-block: var(--space-2xl);
	padding-right: var(--space-lg);
	padding-left: clamp(var(--space-md), calc((100vw - var(--container-width)) / 2 + var(--space-md)), 4rem);
}
.hero__heading {
	color: var(--color-white);
	font-size: clamp(2.4rem, 4.4vw, 60px);
	line-height: 1.15;
	letter-spacing: var(--tracking-heading);
	font-weight: 700;
	text-wrap: balance;
}
.hero__subheading {
	color: var(--color-gray-300);
	font-size: 19px;
	line-height: 1.65;
	max-width: 48ch;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: nowrap; margin-top: 0.5rem; align-self: flex-start; justify-content: flex-start; }
.hero__ctas .btn { white-space: nowrap; font-size: 13px; font-weight: 700; padding: 0 18px; min-height: 48px; }
.hero__ctas .btn--primary {
	background: var(--color-accent);
	color: var(--color-navy-950);
	border-radius: 10px;
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}
.hero__ctas .btn--primary:is(:hover, :focus-visible, :active) {
	background: var(--color-accent-hover);
	color: var(--color-navy-950);
	transform: none;
	filter: none;
	box-shadow: 0 4px 16px rgba(75, 200, 210, 0.2);
}
.hero__ctas .btn--primary .btn__arrow { transition: transform 0.18s ease; }
.hero__ctas .btn--primary:is(:hover, :focus-visible) .btn__arrow { transform: translateX(3px); }
[dir="rtl"] .hero__ctas .btn--primary:is(:hover, :focus-visible) .btn__arrow { transform: translateX(-3px); }
.hero__ctas .btn--secondary {
	transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.hero__ctas .btn--secondary:is(:hover, :focus-visible, :active) {
	background: rgba(75, 200, 210, 0.12);
	border-color: var(--color-accent);
	color: var(--color-accent-text);
	filter: none;
}
@media (prefers-reduced-motion: reduce) {
	.hero__ctas .btn, .hero__ctas .btn__arrow { transition: none; }
}

.hero__media { position: relative; overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; transition: transform 0.6s ease; }
/* Blend the photo into the navy text column and settle its bottom edge. */
.hero__media::after {
	--color-accent-text: var(--color-accent);
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, var(--color-navy-950) 0%, rgba(15,24,71,0) 38%),
		linear-gradient(0deg, rgba(15,24,71,0.55) 0%, rgba(15,24,71,0) 30%);
}


@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.hero__content { padding-inline: var(--space-md); }
	.hero__media { min-height: 320px; }
	.hero__media::after {
	--color-accent-text: var(--color-accent); background: linear-gradient(180deg, var(--color-navy-950) 0%, rgba(15,24,71,0) 35%); }
}

@media (max-width: 420px) {
	.hero__ctas { flex-wrap: wrap; }
}

@media (max-width: 640px) {
	.hero__media { display: flex; flex-direction: column; }
}

/* Homepage typography: clear lines, quieter body text and a fine accent. */
.hero--home .hero__content {
	gap: 0;
	padding-block: 64px;
}
.hero--home .badge { margin-bottom: 28px; }
.hero--home .hero__heading {
	max-width: 100%;
	margin: 0 0 26px;
	font-size: clamp(40px, 4vw, 56px);
	line-height: 1.14;
	letter-spacing: var(--tracking-heading);
	text-wrap: initial;
}
.hero__heading-line { display: block; }
.hero--home .hero__heading-accent {
	display: inline-block;
	position: relative;
	color: var(--color-accent-text);
	background: none;
	padding-bottom: 0.07em;
	white-space: nowrap;
}
.hero__heading-accent::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	border-radius: 3px;
	background: currentColor;
}
.hero--home .hero__subheading {
	max-width: 44ch;
	margin: 0;
	color: #bfc9e3;
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.75;
	text-wrap: pretty;
}
.hero--home .hero__ctas { margin-top: 32px; }
@media (max-width: 960px) {
	.hero--home .hero__content { padding-block: 48px; }
	.hero--home .hero__heading { font-size: clamp(32px, 7.5vw, 48px); line-height: 1.18; }
	.hero--home .badge { margin-bottom: 24px; }
	.hero--home .hero__subheading { max-width: 46ch; }
}

/* Shared dark-hero component (Contact + Careers) */
.dark-hero {
	--color-accent-text: var(--color-accent);
	position: relative;
	background-color: var(--color-dark-surface);
	background-size: cover;
	background-position: center right;
	overflow: hidden;
	color: var(--color-white);
}
.dark-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15,24,71,0.97) 0%, rgba(15,24,71,0.88) 50%, rgba(15,24,71,0.4) 80%, rgba(15,24,71,0.1) 100%);
	z-index: 1;
}
.dark-hero__grid {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin-inline: auto;
	padding: var(--space-3xl) var(--space-xl);
	min-height: 520px;
	display: flex;
	align-items: center;
}
.dark-hero__content {
	max-width: 580px;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.dark-hero__badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	background: rgba(78,202,212,0.12);
	border: 1px solid rgba(78,202,212,0.35);
	color: var(--color-accent-text);
	border-radius: 999px;
	padding: 0.35rem 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: var(--space-sm);
}
.dark-hero__content h1 {
	color: var(--color-white);
	font-size: clamp(2.2rem, 4.2vw, 3.2rem);
	line-height: 1.18;
	font-weight: 800;
	margin: 0 0 var(--space-sm);
}
.dark-hero__content > p {
	color: rgba(255,255,255,0.75);
	font-size: 1.1rem;
	line-height: 1.65;
	margin: 0;
	max-width: 44ch;
}
.dark-hero__ctas {
	display: flex;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-top: var(--space-lg);
}
@media (max-width: 640px) {
	.dark-hero__grid { padding: var(--space-2xl) var(--space-md); min-height: 0; }
}

/* components/cards */
/* Card grid + base card styles (homepage, About). Loaded on every page. */

/* ==========================================================================
   Card grid (services / industries / why-us / certifications)
   ========================================================================== */
.card-grid {
	display: grid;
	gap: var(--space-md);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	--color-accent-text: var(--color-accent-ink);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-card);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-lg);
}
.card--service:hover,
.card--why:hover,
.card--certification.card--featured:hover {
	transform: translateY(-10px);
}
.card__icon {
	--color-accent-text: var(--color-accent-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-sm);
	background: var(--color-off-white);
	margin-bottom: 0.5rem;
}
.card__icon img { width: 26px; height: 26px; object-fit: contain; }
.card__icon--fallback {
	color: var(--color-accent-dark);
	background: rgba(78,202,212,0.18);
	font-weight: 800;
	font-size: 1.1rem;
	text-transform: uppercase;
}
.card__icon--svg svg { width: 22px; height: 22px; }
.card__icon--svg { color: var(--color-navy-text); }
.card__icon--dark {
	--color-accent-text: var(--color-accent); background: var(--color-navy-950); color: var(--color-white); }
.card__icon--blue   { background: #e7edfd; color: #3b5bdb; }
.card__icon--orange { background: #fdeee0; color: #e8763d; }
.card__icon--green   { background: #e2f7ec; color: #1f9d5a; }
.card__icon--purple  { background: #f2e9fb; color: #8b3fd1; }
.card__icon--yellow  { background: #fdf3d9; color: #c9922a; }
.card__icon--cyan    { background: var(--color-accent-soft); color: #1a9ba3; }

.card__title { font-size: 1.1rem; margin-bottom: 0.25rem; }
.card__description { font-size: 0.92rem; }

.card--why {
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	border-radius: 14px;
}
.card--why .card__icon {
	border-radius: 12px;
	transition: background 0.25s ease, color 0.25s ease;
}
.card--why .card__icon svg { width: 26px; height: 26px; }
.card--why:hover {
	box-shadow: 0px 10px 24px 0px rgba(22,32,88,0.18);
}
.card--why:hover .card__icon {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	color: var(--color-white);
}

@media (max-width: 960px) {
	.card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
}

/* components/markets-map */
/* Leaflet markets map (homepage markets section, Contact regional map). Loaded on every page. */

/* Markets — real, interactive (pan/zoom) Leaflet + OpenStreetMap map */
.markets__map-embed {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-card-lg);
	aspect-ratio: 4 / 3;
	min-height: 280px;
}
.markets__leaflet {
	--color-accent-text: var(--color-accent);
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: var(--color-navy-800);
	z-index: 0;
	isolation: isolate;
}
.markets__map-embed--empty {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-800);
}
.markets__leaflet-marker { background: transparent; border: none; }
.markets__leaflet-dot {
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--color-accent);
	border: 2px solid var(--color-white);
	box-shadow: 0 0 0 4px rgba(79,202,212,0.3);
}
.markets__leaflet .leaflet-popup-content-wrapper {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-900);
	color: var(--color-white);
	border-radius: var(--radius-sm);
}
.markets__leaflet .leaflet-popup-content a { color: var(--color-accent-text); }
.markets__leaflet .leaflet-popup-tip {
	--color-accent-text: var(--color-accent); background: var(--color-navy-900); }

/* components/footer */
/* Site footer. Loaded on every page. */

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	--color-accent-text: var(--color-accent);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--color-dark-surface);
	color: var(--color-gray-300);
	padding-top: 0;
}
/* A quiet divider keeps adjacent navy sections visually continuous. */
.site-footer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: rgba(255,255,255,0.1);
}
.site-footer__cta-region {
	position: relative;
	background: linear-gradient(135deg, var(--color-off-white) 0%, #eaf6f8 100%);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	margin-bottom: 2.25rem;
	box-shadow: 0 14px 35px rgba(5, 19, 65, 0.18);
}
.site-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: 20px;
	border: 1px solid rgba(15, 35, 105, 0.11);
	background: rgba(255,255,255,0.9);
	box-shadow: 0 18px 45px rgba(15, 35, 105, 0.1);
}
.site-footer__cta-text { flex: 1 1 22rem; min-width: 0; }
.site-footer__cta h2 { color: var(--color-navy-text); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.2; margin: 0 0 0.65rem; }
.site-footer__cta p { margin: 0; max-width: 72ch; color: var(--color-text-body); font-size: 1rem; line-height: 1.65; }
.site-footer__cta .btn { flex-shrink: 0; min-width: 210px; padding: 0.9rem 1.5rem; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 0.95fr 0.65fr 1fr 1.5fr;
	gap: 1.5rem;
	padding-bottom: 1.5rem;
}
.site-footer__grid > * { min-width: 0; }
.site-footer__brand { padding-inline-end: 1rem; }
.site-footer__contact { padding-inline-start: 1.25rem; border-inline-start: 1px solid rgba(187,197,220,0.12); }
.site-footer__logo { color: var(--color-white); font-weight: 800; font-size: 1.15rem; text-decoration: none; display: inline-block; margin-bottom: 0.5rem; }
.site-footer__logo img { height: 28px; width: auto; max-width: none; display: block; }
.site-footer__logo .custom-logo-link { display: flex; align-items: center; }
.site-footer__tagline { margin: 0; color: var(--color-text-on-dark); font-size: 0.8rem; line-height: 1.5; letter-spacing: 0.03em; }
.site-footer__tagline::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: 0.45rem; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 9px rgba(78,202,212,0.45); vertical-align: middle; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.site-footer__socials a {
	width: 32px; height: 32px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.12);
	background: rgba(255,255,255,0.035);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-white);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.site-footer__socials a svg { width: 16px; height: 16px; }
.site-footer__socials a:is(:hover, :focus-visible) {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-accent-dark);
}
.site-footer__col h3 {
	color: var(--color-white);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.025em;
	margin: 0 0 0.65rem;
	padding-bottom: 0.45rem;
	line-height: 1.3;
	position: relative;
}
.site-footer__col h3::after {
	content: "";
	position: absolute;
	inset-inline-start: 0; bottom: 0; /* under the start of the heading: left in English, right in Arabic */
	width: 24px; height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--color-accent), rgba(78,202,212,0.25));
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.15rem; }
.site-footer__col a { color: var(--color-text-on-dark); text-decoration: none; font-size: 0.8rem; line-height: 1.45; padding-block: 0.15rem; }
.site-footer__col a { display: inline-block; transition: color 0.2s ease, transform 0.2s ease; }
.site-footer__col a:is(:hover, :focus-visible) { color: var(--color-accent-text); transform: translateX(4px); }
.site-footer__contact a:is(:hover, :focus-visible) { transform: none; }
.site-footer__socials a:hover { transform: translateY(-3px); }
.site-footer__top {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px;
	border-radius: 9px;
	border: 1px solid rgba(78,202,212,0.3);
	background: rgba(78,202,212,0.06);
	color: var(--color-accent-text);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.site-footer__top:hover { background: var(--color-accent); color: var(--color-navy-950); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
	.site-footer__col a, .site-footer__socials a, .site-footer__top { transition: none; transform: none !important; }
}
.site-footer__contact-items { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.site-footer__contact-email { flex-basis: 100%; }
.site-footer__contact-address { flex-basis: 100%; order: 1; }
.site-footer__contact p {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	color: var(--color-gray-300);
	font-size: 0.8rem;
	line-height: 1.45;
	margin: 0;
}
.site-footer__contact p:last-child { margin-bottom: 0; }
.site-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	margin-top: 0.25rem;
	color: var(--color-accent-text);
}
.site-footer__contact-icon svg { width: 100%; height: 100%; }
.site-footer__contact a { min-width: 0; overflow-wrap: anywhere; text-decoration: none; }
.site-footer__contact a[href^="mailto:"],
.site-footer__contact a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
.site-footer__contact a:hover { text-decoration: underline; }

.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); background: transparent; }
.site-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-block: 0.6rem;
	font-size: 0.75rem;
}
.site-footer__bottom-inner p { margin: 0; color: inherit; }
.site-footer__bottom-inner nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer__bottom-inner a { color: var(--color-gray-300); text-decoration: none; }
.site-footer__bottom-inner nav a { transition: color 0.2s ease; }
.site-footer__bottom-inner nav a:is(:hover, :focus-visible) { color: var(--color-accent-text); }

@media (max-width: 960px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
	.site-footer__contact { padding-inline-start: 0; border-inline-start: 0; }
}

@media (max-width: 640px) {
	.site-footer__cta-region { padding-block: 2rem; margin-bottom: 1.75rem; }
	.site-footer__cta { padding: 1.25rem; gap: 1.1rem; }
	.site-footer__cta-text { flex-basis: 100%; }
	.site-footer__cta .btn { width: 100%; min-width: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; padding-bottom: 1.25rem; }
	.site-footer__brand, .site-footer__contact { grid-column: 1 / -1; }
	.site-footer__brand { padding-inline-end: 0; }
	.site-footer__col a { font-size: 0.85rem; padding-block: 0.25rem; }
	.site-footer__contact-items { gap: 0.4rem 1rem; }
	.site-footer__bottom-inner { gap: 0.5rem; }
	.site-footer__bottom-inner nav { flex-basis: 100%; }
}

.site-footer a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

/* components/buttons */
/* Shared button appearance and interaction, independent of page layout rules.
   Site-root scope gives these rules priority over local button overrides. */
:is(#site-header, #main-content, .site-footer, dialog) .btn {
	--button-bg: var(--color-accent);
	--button-text: var(--color-navy-950);
	--button-border: var(--color-accent);
	--button-hover-bg: var(--color-accent-glow);
	--button-hover-text: var(--color-navy-950);
	--button-hover-border: var(--color-accent-glow);
	background: var(--button-bg);
	color: var(--button-text);
	border-color: var(--button-border);
	border-radius: var(--radius-btn);
	font-weight: 600;
	filter: none;
	transform: none;
	box-shadow: none;
	transition: background-color .22s ease, color .22s ease,
		border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

:is(#site-header, #main-content, .site-footer, dialog) .btn:is(.btn--secondary, .btn--outline-light) {
	--button-bg: var(--color-navy-950);
	--button-text: var(--color-white);
	--button-border: var(--color-border-dark);
	--button-hover-bg: var(--color-navy-800);
	--button-hover-text: var(--color-white);
	--button-hover-border: var(--color-accent-glow);
}

:is(#site-header, #main-content, .site-footer, dialog) .btn--outline {
	--button-bg: transparent;
	--button-text: var(--color-navy-text);
	--button-hover-bg: var(--color-accent-glow);
	--button-hover-border: var(--color-accent-glow);
}

:is(#site-header, #main-content, .site-footer, dialog) .btn:is(:hover, :focus-visible) {
	background: var(--button-hover-bg);
	color: var(--button-hover-text);
	border-color: var(--button-hover-border);
	filter: none;
	transform: translateY(-2px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.28),
		0 0 22px rgba(78,202,212,.38), 0 8px 20px rgba(78,202,212,.18);
}

:is(#site-header, #main-content, .site-footer, dialog) .btn:active {
	background: var(--button-hover-bg);
	color: var(--button-hover-text);
	border-color: var(--button-hover-border);
	transform: translateY(0);
	box-shadow: 0 0 14px rgba(78,202,212,.3);
}

/* Keep arrows visible and stable; the whole button supplies the motion. */
:is(#site-header, #main-content, .site-footer, dialog) .btn .btn__arrow {
	opacity: 1;
	max-width: none;
	overflow: visible;
	margin-inline: 0;
	transform: none;
	transition: none;
}
:is(#site-header, #main-content, .site-footer, dialog) .btn:is(:hover, :focus-visible, :active) :is(.btn__arrow, span[aria-hidden="true"]) {
	transform: none;
	transition: none;
}
:is(#site-header, #main-content, .site-footer, dialog) .ptrs-closing__cta::after {
	max-width: 2em;
	opacity: 1;
	margin-inline-start: .4rem;
	margin-inline-end: 0;
	transition: none;
}
[dir="rtl"] :is(#site-header, #main-content, .site-footer, dialog) .ptrs-closing__cta::after {
	content: "\2190";
}

:is(#site-header, #main-content, .site-footer, dialog) .btn:is(:disabled, [aria-disabled="true"]) {
	opacity: .55;
	background: var(--button-bg);
	color: var(--button-text);
	border-color: var(--button-border);
	transform: none;
	box-shadow: none;
	cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
	:is(#site-header, #main-content, .site-footer, dialog) .btn {
		transition: none;
	}
	:is(#site-header, #main-content, .site-footer, dialog) .btn:is(:hover, :focus-visible, :active) {
		transform: none;
	}
}

/* components/experience */
/* Small, progressive enhancements shared across the site. */
.site-reading-progress { position: fixed; inset: 0 0 auto; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--color-accent), #a7eff1); z-index: 99999; pointer-events: none; }
[dir="rtl"] .site-reading-progress { transform-origin: right; }
.site-back-top { position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border: 1px solid #4ecad46b; border-radius: 50%; color: white; background: var(--color-navy-950); box-shadow: 0 8px 28px #0f184726; font-size: 20px; cursor: pointer; transition: background .2s, transform .2s; }
.site-back-top[hidden] { display: none; }
.site-back-top:hover { transform: translateY(-3px); background: var(--color-navy-800); }
.site-back-top:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.home .hero__content { position: relative; isolation: isolate; }
.home .hero__content::before { content: ''; position: absolute; inset: -60px -30px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 25% 40%, #4ecad414, transparent 65%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.home .card--service { transition: transform .25s ease, box-shadow .25s ease; }
	.home .card--service:hover { transform: translateY(-5px); box-shadow: 0 16px 36px #0f184714; }
}
@media (prefers-reduced-motion: reduce) { .site-back-top { transition: none; } }

/* pages/home */
/* Homepage (front-page.php). */

@media (min-width: 1221px) {
	.home .site-header__inner { min-height: 88px; gap: 20px; padding-block: 16px; }
	.home .site-header__logo img { height: 36px; }
	.home .site-nav__list { gap: 18px; }
	.home .site-nav__link { font-size: 12px; }
	.home .site-header__actions { gap: 12px; }
}

.section.services {
	--color-accent-text: var(--color-accent-ink); background: var(--color-off-white); }

.certifications .badge {
	color: var(--color-accent-text);
	border-color: transparent;
	background: var(--color-accent-soft);
	text-transform: uppercase;
	letter-spacing: normal;
	font-weight: 500;
	font-size: 12px;
	min-height: 32px;
	padding-inline: 42px;
	margin-bottom: 28px;
}

.hero__media .hero__stat-card,
.hero__media .hero__badge-card { z-index: 2; }
.hero__image--placeholder,
.aia__image--placeholder,
.markets__map-placeholder {
	background: linear-gradient(135deg, rgba(78,202,212,0.25), rgba(78,202,212,0.05));
	border: 1px dashed rgba(78,202,212,0.4);
	border-radius: var(--radius-md);
	min-height: 320px;
}
.hero__image--placeholder { border-radius: 0; }
.markets__map-placeholder { min-height: 280px; }
.hero__stat-card,
.hero__badge-card {
	position: absolute;
	background: rgba(255,255,255,0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--color-navy-text);
	border: 1px solid rgba(255,255,255,0.65);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(15,24,71,0.28), 0 2px 6px rgba(15,24,71,0.12);
	z-index: 2;
}
.hero__stat-card {
	padding: 1rem 1.3rem;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 176px;
	border-left: 4px solid var(--color-accent);
}
.hero__stat-card--primary { top: 2rem; left: 2rem; }
.hero__stat-card--secondary { top: 2rem; right: 2rem; }
.hero__stat-label {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: var(--color-text-muted);
}
.hero__stat-value { font-size: 1.75rem; line-height: 1.1; font-weight: 700; color: var(--color-navy-950); }
.hero__stat-change {
	align-self: flex-start;
	font-size: 0.75rem;
	font-weight: 700;
	color: #15803d;
	background: rgba(22,163,74,0.12);
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
}
.hero__stat-sub { font-size: 0.78rem; color: var(--color-text-muted); }
.hero__badge-card {
	top: 9.5rem;
	right: 2rem;
	padding: 0.7rem 1.1rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	font-size: 0.9rem;
}
.hero__badge-check {
	width: 24px; height: 24px;
	flex: none;
	border-radius: 50%;
	background: #16a34a;
	color: var(--color-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	box-shadow: 0 0 0 4px rgba(22,163,74,0.16);
}

.card--service:hover .card__title {
	color: var(--color-accent-hover);
}
.card--service .card__icon {
	transition: background 0.2s ease, color 0.2s ease;
}
.card--service:hover .card__icon {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	color: var(--color-white);
}

.card__link {
	color: var(--color-navy-text);
	font-weight: 700;
	text-decoration: none;
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
.card__link-arrow {
	display: inline-block;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.card--service:hover .card__link-arrow {
	opacity: 1;
	transform: translateX(0);
}

.card--industry {
	position: relative;
	color: inherit;
	min-height: 180px;
	padding-bottom: 4.5rem;
}
.card--industry .card__arrow {
	--color-accent-text: var(--color-accent-ink);
	position: absolute;
	bottom: var(--space-md);
	right: var(--space-md);
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--color-off-white);
	color: var(--color-text-muted);
	display: flex; align-items: center; justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
}
.card--industry:hover .card__arrow {
	background: var(--color-accent);
	color: var(--color-white);
}

.why-us__row {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 32px;
}
.why-us__row .card--why {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	padding-top: 2.25rem;
	padding-bottom: 2.25rem;
}
.why-us__card-wrap {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	z-index: 2;
}
.why-us__connector {
	position: absolute;
	left: 212px;
	right: 148px;
	top: 122px;
	height: 1px;
	background: #cdeff3;
	z-index: 0;
}
.why-us__dot {
	position: absolute;
	left: 50%;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--color-accent);
	z-index: 3;
	/* A sibling of the card (not a child), so the card's hover lift never moves it. */
}
.why-us__dot--bottom { bottom: -27px; transform: translateX(-50%); }
.why-us__dot--top { top: -27px; transform: translateX(-50%); }
.card--why-stagger { margin-top: 80px; }

/* A quiet turquoise highlight follows the card's hover lift. */
.why-us .card--why {
	transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .3s ease;
}
.why-us .card--why .card__icon {
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.why-us .card--why .card__icon svg,
.why-us .card--why .card__icon img {
	transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.why-us__dot { transition: box-shadow .3s ease, background-color .3s ease; }
@media (hover: hover) and (pointer: fine) {
	.why-us .card--why:hover {
		transform: translateY(-8px);
		border-color: var(--color-accent);
		box-shadow: 0 14px 30px rgba(15, 24, 71, .1), 0 0 20px rgba(78, 202, 212, .12);
	}
	.why-us .card--why:hover .card__icon {
		background: var(--color-accent-soft);
		color: var(--color-accent-ink);
		box-shadow: 0 0 18px rgba(78, 202, 212, .22);
	}
	.why-us .card--why:hover .card__icon :is(svg, img) { transform: translateY(-2px) scale(1.06); }
	.why-us__card-wrap:has(.card--why:hover) .why-us__dot {
		background: var(--color-accent-glow);
		box-shadow: 0 0 0 5px rgba(78, 202, 212, .12), 0 0 15px rgba(78, 202, 212, .5);
	}
}
@media (hover: none) {
	.why-us .card--why:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.why-us .card--why, .why-us .card__icon,
	.why-us .card__icon :is(svg, img), .why-us__dot { transition: none; }
	.why-us .card--why:hover, .why-us .card--why:hover .card__icon :is(svg, img) { transform: none; }
}

.certifications {
	--color-accent-text: var(--color-accent-ink);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: transparent;
	padding-block: 64px 72px;
}
.certifications .container--wide { max-width: 1280px; }
.certifications .section__intro { text-align: center; max-width: 1020px; margin: 0 auto 40px; display: flex; flex-direction: column; align-items: center; }
.certifications .section__intro h2 { color: var(--color-navy-text); font-size: clamp(28px, 3vw, 44px); line-height: 1.2; margin: 0 0 20px; }
.certifications .section__intro p { color: var(--color-text-body); font-size: 16px; line-height: 1.65; margin: 0; }
.certifications__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.recognition-card {
	--recognition-ink: #0065a6; --recognition-soft: #e5f3fc; --recognition-logo-bg: #f9fbfe;
	position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 16px; border: 1px solid #dce7f3; border-radius: 16px;
	background: var(--recognition-logo-bg); box-shadow: 0 8px 24px rgb(22 32 88 / 4%);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.recognition-card--recognition { --recognition-ink: #b54216; --recognition-soft: #fcebe1; }
.recognition-card--commitment { --recognition-ink: #007c78; --recognition-soft: #e0f4ef; }
.recognition-card:hover, .recognition-card:focus-within { transform: translateY(-6px); border-color: var(--recognition-ink); box-shadow: 0 18px 32px rgb(22 32 88 / 10%); }
.recognition-card__category { display: inline-block; border-radius: 30px; background: var(--recognition-soft); color: var(--recognition-ink); font-size: 10px; font-weight: 600; line-height: 1.4; padding: 6px 13px; text-transform: uppercase; margin-bottom: 12px; }
.recognition-card__body { display: flex; align-items: flex-start; gap: 14px; width: 100%; flex: 1; }
.recognition-card__logo { flex: 0 0 88px; height: 112px; min-width: 0; align-self: center; display: flex; justify-content: center; align-items: center; color: #004a94; transition: transform .35s ease; }
.recognition-card__logo img { width: 100%; height: 88px; object-fit: contain; }
.recognition-card:hover .recognition-card__logo { transform: scale(1.045); }
.recognition-card__content { flex: 1; min-width: 0; padding-inline-start: 14px; border-inline-start: 1px solid #dce7f3; }
.recognition-card__title { font-size: 17px; color: var(--color-navy-text); line-height: 1.3; margin: 0 0 3px; letter-spacing: -.3px; }
.recognition-card__title a { color: inherit; text-decoration: none; }
.recognition-card__title a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.recognition-card__title a:focus-visible { outline: 2px solid var(--recognition-ink); outline-offset: 4px; }
.recognition-card__subtitle { font-size: 13px; line-height: 1.4; color: var(--color-text-body); margin: 0; }
.recognition-card__rule { display: block; width: 26px; height: 2px; background: var(--recognition-ink); margin-block: 9px 10px; transition: width .3s ease; }
.recognition-card:hover .recognition-card__rule { width: 48px; }
.recognition-card__year { color: var(--recognition-ink); font-size: 13px; font-weight: 600; margin: 0 0 4px; }
.recognition-card__description { color: var(--color-text-body); font-size: 12px; line-height: 1.5; margin: 0; }
.recognition-card__arrow { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--recognition-soft); color: var(--recognition-ink); display: grid; place-items: center; align-self: center; }
.recognition-card__arrow svg { width: 18px; height: 18px; transition: transform .3s ease; }
.recognition-card:hover .recognition-card__arrow svg { transform: translateX(3px); }
[dir="rtl"] .recognition-card__arrow { transform: scaleX(-1); }
.recognition-emblem { width: 100%; text-align: center; }
.recognition-emblem svg { display: block; width: 100%; max-height: 72px; }
.recognition-emblem--iso strong { display: block; font: 800 13px/1.3 Arial, sans-serif; }
.recognition-emblem--weps { text-align: start; color: #111; border-top: 2px solid; padding-top: 8px; }
.recognition-emblem--weps strong { display: block; font: 800 10px/1.1 Arial, sans-serif; }
.recognition-emblem--weps small { display: block; font: 7px/1.3 Arial, sans-serif; margin-top: 8px; }
.recognition-emblem--diversity { color: #111; }
.recognition-emblem--diversity strong { display: block; font: 800 10px/1.1 Arial, sans-serif; }
.recognition-emblem--diversity small { font-size: 9px; font-weight: 500; }
.recognition-emblem--ardd strong { font: 800 23px/1 Arial, sans-serif; color: #111; }
.certifications__closing { text-align: center; margin: 32px 0 0; color: var(--color-navy-text); font-size: 14px; }
@media (max-width: 1100px) { .certifications__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.certifications { padding-block: 44px; }
	.certifications__grid { grid-template-columns: 1fr; }
	.recognition-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.recognition-card, .recognition-card__logo, .recognition-card__rule, .recognition-card__arrow svg { transition: none; }
	.recognition-card:hover, .recognition-card:focus-within, .recognition-card:hover .recognition-card__logo, .recognition-card:hover .recognition-card__arrow svg { transform: none; }
}

/* ==========================================================================
   AiA feature
   ========================================================================== */
.aia__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: var(--space-xl);
	align-items: center;
}
.aia__content { max-width: 620px; }
.aia__heading-accent { color: var(--color-accent-text); }
.aia__heading {
	font-size: clamp(2.25rem, 3.4vw, 2.75rem);
	margin-top: var(--space-sm);
}
.aia__body {
	font-size: 1.1rem;
	line-height: 1.6;
	max-width: 56ch;
}
.checklist { margin: var(--space-lg) 0; display: flex; flex-direction: column; gap: 1rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--color-text-body); font-size: 1.05rem; }
.checklist__icon {
	flex-shrink: 0;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: rgba(78,202,212,0.15);
	color: var(--color-accent-dark);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 0.9rem;
	font-weight: 700;
	margin-top: 0.1rem;
}
.aia__media { position: relative; }
.aia__image { width: 100%; height: auto; display: block; }
.aia__stat-card {
	--color-accent-text: var(--color-accent);
	position: absolute;
	bottom: -1.25rem;
	right: -1.25rem;
	background: var(--color-navy-950);
	color: var(--color-white);
	border-radius: var(--radius-sm);
	padding: 1.25rem 1.5rem;
	box-shadow: var(--shadow-card-lg);
	min-width: 200px;
}
.aia__stat-label { display: block; font-size: 0.85rem; color: var(--color-gray-300); margin-bottom: 0.25rem; }
.aia__stat-value { font-size: 1.75rem; }

/* ==========================================================================
   Markets (dark)
   ========================================================================== */
.markets__grid { display: block; }
.markets__content {
	max-width: 920px;
	margin-inline: auto;
	text-align: center;
}
.markets__content h2 {
	color: var(--color-white);
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	max-width: 24ch;
	margin-inline: auto;
}
.markets__content p {
	color: var(--color-gray-300);
	font-size: 1.05rem;
	max-width: 76ch;
	margin-inline: auto;
}
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: var(--space-md); list-style: none; padding: 0; }
.markets .pill {
	gap: 10px;
	min-height: 38px;
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 500;
}
.markets__location-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--color-accent-text);
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-pill);
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.15);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--color-white);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.pill:hover {
	background: rgba(78,202,212,0.15);
	border-color: var(--color-accent);
}

/* ==========================================================================
   Case studies
   ========================================================================== */
.case-studies {
	--color-accent-text: var(--color-accent-ink); background: var(--color-off-white); }
.case-studies--home {
	--color-accent-text: var(--color-accent-ink); padding-block: 56px 44px; background: var(--color-off-white); }
.case-studies--home > .container { max-width: 1288px; }
.case-studies--home .section__header { margin-bottom: 32px; align-items: baseline; }
.case-studies--home .section__header h2 { max-width: none; color: var(--color-navy-text); font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.2; }
.case-studies--home .section__header .link-arrow { color: var(--color-accent-text); font-size: 13px; font-weight: 400; }
.case-studies--home .section__header .link-arrow:is(:hover, :focus-visible) { color: var(--color-navy-800); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.proof-card {
	--color-accent-text: var(--color-accent-ink);
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 460px;
	padding: 22px 24px 24px;
	border: 1px solid var(--color-border);
	border-radius: 14px;
	background: var(--color-white);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proof-card__icon {
	--color-accent-text: var(--color-accent-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--color-off-white);
	color: var(--color-navy-800);
	transition: color 0.2s ease, background-color 0.2s ease;
}
.proof-card__title { min-height: 50px; margin: 0 0 18px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--color-navy-text); }
.proof-card__title a { text-decoration: none; }
.proof-card__fields { display: grid; gap: 18px; margin-bottom: 20px; }
.proof-card__label { display: block; margin-bottom: 6px; color: #566fa5; font-size: 11px; font-weight: 500; line-height: 1.3; text-transform: uppercase; }
.proof-card__field p, .proof-card__result p { margin: 0; color: var(--color-text-body); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.proof-card__result {
	--color-accent-text: var(--color-accent-ink); min-height: 70px; margin-top: auto; padding: 10px 16px; border-radius: 10px; background: var(--color-off-white); }
.proof-card__result .proof-card__label { color: var(--color-accent-text); margin-bottom: 4px; }
.proof-card__result p { color: #7382a9; }
.proof-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 42px;
	margin-top: 20px;
	padding: 10px 12px;
	border: 1px solid var(--color-accent);
	border-radius: 10px;
	background: transparent;
	color: var(--color-accent-text);
	font-size: 12px;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}
.proof-card:is(:hover, :focus-within) { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(22, 32, 88, 0.18); }
.proof-card__fields + .proof-card__cta { margin-top: auto; }
.proof-card:is(:hover, :focus-within) .proof-card__icon {
	--color-accent-text: var(--color-accent); background: var(--color-navy-800); color: var(--color-white); }
.proof-card:is(:hover, :focus-within) .proof-card__cta { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }
@media (max-width: 960px) {
	.proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.case-studies--home { padding-block: 40px; }
	.case-studies--home .section__header { margin-bottom: 32px; }
}
@media (max-width: 600px) {
	.proof-grid { grid-template-columns: 1fr; }
	.proof-card { min-height: 0; padding: 22px; }
	.proof-card__title { min-height: 0; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.proof-card, .proof-card__icon, .proof-card__cta { transition: none; }
	.proof-card:is(:hover, :focus-within) { transform: none; }
}
.card--case-study {
	align-items: flex-start;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card--case-study .btn--outline {
	align-self: stretch;
	width: 100%;
	justify-content: center;
	margin-top: 1.5rem;
	color: var(--color-accent-text);
}
.case-study__field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.9rem;
	color: var(--color-text-body);
}
.case-study__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}
.case-study__label--result { color: var(--color-accent-dark); }
.case-study__result {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	background: rgba(78,202,212,0.12);
	border-radius: var(--radius-sm);
	padding: 0.75rem 1rem;
}
.case-study__result p {
	margin: 0;
	font-weight: 700;
	color: var(--color-accent-dark);
	font-size: 0.9rem;
}
.card--case-study .card__icon {
	transition: background 0.25s ease, color 0.25s ease;
}
.card--case-study .btn--outline {
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.card--case-study:hover {
	box-shadow: 0px 14px 30px 0px rgba(22,32,88,0.16);
	transform: translateY(-4px);
}
.card--case-study:hover .card__icon {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	color: var(--color-white);
}
.card--case-study:hover .btn--outline {
	background: var(--color-accent);
	color: var(--color-accent-dark);
	border-color: var(--color-accent);
}

/* ==========================================================================
   Partners (dark)
   ========================================================================== */
.partners--dark {
	--color-accent-text: var(--color-accent);
	background: var(--color-dark-surface);
	color: var(--color-white);
	text-align: center;
}
.partners__intro { max-width: 1040px; margin-inline: auto; margin-bottom: var(--space-lg); }
.partners__intro h2 {
	color: var(--color-white);
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	max-width: 32ch;
	margin-inline: auto;
}
.partners__intro p {
	color: var(--color-gray-300);
	font-size: 1.05rem;
	max-width: 82ch;
	margin-inline: auto;
}
.partners__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 9rem;
}
.partners__logo { max-height: 46px; filter: brightness(0) invert(1); opacity: 0.9; }
.partners__logo--text {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--color-white);
	filter: none;
	opacity: 1;
	transition: color 0.2s ease;
}
.partners__logo--text:hover { color: var(--color-accent-text); }

/* ==========================================================================
   Final CTA (dark)
   ========================================================================== */
.final-cta--dark {
	--color-accent-text: var(--color-accent);
	background: var(--color-dark-surface);
	color: var(--color-white);
	text-align: center;
}
.final-cta__inner h2 {
	color: var(--color-white);
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	max-width: 30ch;
	margin-inline: auto;
	margin-bottom: var(--space-md);
}

@media (max-width: 960px) {
	.aia__grid { grid-template-columns: 1fr; }
	.aia__media { order: -1; }
	.why-us__row { flex-direction: column; gap: var(--space-md); }
	.card--why-stagger { margin-top: 0; }
	.why-us__connector, .why-us__dot { display: none; }
}

@media (max-width: 640px) {
	.hero__stat-card,
	.hero__badge-card { position: static; margin: 0.75rem 1rem 0; display: inline-flex; }
	.aia__stat-card { position: static; margin-top: var(--space-md); display: inline-block; }
}

/* ==========================================================================
   Stats bar (below hero)
   ========================================================================== */
.stats {
	--color-accent-text: var(--color-accent-ink);
	background: var(--color-white);
	padding-block: var(--space-lg);
}
.stats__row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--space-2xl);
	text-align: center;
}
.stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
}
.stats__item::before {
	content: "";
	display: block;
	width: 34px;
	height: 2px;
	border-radius: 1px;
	background: var(--color-accent);
	margin-bottom: 0.25rem;
}
.stats__value {
	font-size: 34px;
	font-weight: 700;
	color: var(--color-navy-text);
	line-height: 1.24;
}
.stats__label {
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-text-body);
}

/* pages/case-studies */
/* Case studies listing + detail (page-case-studies.php, archive-case_study.php, single-case_study.php). */

body:has(.case-studies-page) .site-footer__cta { display: none; }
.case-studies-page .container { max-width: 1280px; }
.cs-list-hero {
	--color-accent-text: var(--color-accent); position: relative; overflow: hidden; background: var(--color-dark-surface); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), 39% 100%, 0 100%); }
.cs-list-hero__inner { min-height: 632px; padding-block: 84px 120px; }
.cs-list-hero__content { position: relative; z-index: 1; max-width: 430px; }
.cs-list-hero .badge { width: fit-content; min-height: 38px; padding-inline: 20px; font-size: 12px; margin-bottom: 42px; }
.cs-list-hero h1 { max-width: 350px; color: var(--color-white); font-size: clamp(40px, 3.9vw, 56px); font-weight: 700; line-height: 1.14; margin: 0 0 26px; }
.cs-list-hero p { color: var(--color-text-on-dark); font-size: 18px; line-height: 1.55; margin: 0; }
.cs-list-hero__media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 58%; }
.cs-list-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cs-list-hero__media--reference {
	width: 62%;
}
.cs-list-hero__media--reference img { object-position: left top; }
[dir="rtl"] .cs-list-hero__media--reference img { transform: scaleX(-1); }
@media (min-width: 769px) {
	[dir="rtl"] .cs-list-hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 61% 100%, 0 calc(100% - 42px)); }
}
.case-studies-page .cs-stories { padding-block: 80px 70px; }
.case-studies-page .cs-stories__heading { font-size: 36px; margin: 0 0 16px; }
.case-studies-page .cs-stories__sub { font-size: 18px; }
.case-studies-page .cs-stories__header { margin-bottom: 34px; }
.case-studies-page .cs-filters { gap: 16px; margin-bottom: 42px; }
.case-studies-page .cs-filter-btn {
	--color-accent-text: var(--color-accent-ink); min-height: 44px; padding: 12px 26px; border: 1px solid transparent; border-radius: 10px; background: var(--color-off-white); color: var(--color-navy-text); font-size: 14px; }
.case-studies-page .cs-filter-btn:is(.is-active, :hover, :focus-visible) { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }
.case-studies-page .cs-grid { gap: 32px; }
.case-studies-page .cs-card { border-color: var(--color-border); min-height: 430px; }
.case-studies-page .cs-card__thumb-link { margin: 23px 23px 0; }
.case-studies-page .cs-card__thumb {
	--color-accent-text: var(--color-accent-ink); height: 136px; min-height: 136px; background: var(--color-off-white); overflow: hidden; border-radius: 8px; }
.case-studies-page .cs-card__company { font-size: 28px; }
.case-studies-page .cs-card__body { padding: 22px 23px 28px; gap: 22px; }
.case-studies-page .cs-card__tag { font-size: 12px; letter-spacing: 0; color: var(--color-text-body); }
.case-studies-page .cs-card__title { font-size: 22px; line-height: 1.4; }
.case-studies-page .cs-card__desc { font-size: 14px; line-height: 1.6; margin-top: 0; }
.case-studies-page .cs-card__link { font-size: 14px; font-weight: 500; margin-top: 0; }
@media (max-width: 1100px) {
	.cs-list-hero__content { max-width: 38%; }
	.cs-list-hero__inner { min-height: 600px; padding-block: 64px 100px; }
}
@media (max-width: 768px) {
	.cs-list-hero { clip-path: none; }
	.cs-list-hero__inner { min-height: 0; padding-block: 48px; }
	.cs-list-hero__content { max-width: 100%; }
	.cs-list-hero h1 { max-width: 100%; font-size: 40px; }
	.cs-list-hero__media { position: relative; width: 100%; height: 320px; }
	.cs-list-hero__media--reference { clip-path: none; }
	.case-studies-page .cs-stories { padding-block: 48px; }
	.case-studies-page .cs-stories__heading { font-size: 32px; }
}

/* ==========================================================================
   Case Studies page
   ========================================================================== */
.cs-stories {
	--color-accent-text: var(--color-accent-ink); background: var(--color-white); }
.cs-stories__header { margin-bottom: 2rem; }
.cs-stories__heading {
	font-size: clamp(1.6rem, 2.5vw, 2.25rem);
	font-weight: 700;
	color: var(--color-navy-950);
	margin-bottom: 0.5rem;
}
.cs-stories__sub { color: var(--color-text-muted); font-size: 1rem; margin: 0; }

/* Filter tabs — match doc/solutions style */
.cs-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
}
.cs-filter-btn {
	padding: 0.5rem 1.1rem;
	border-radius: var(--radius-md);
	border: 1.5px solid var(--color-border);
	background: transparent;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cs-filter-btn:hover,
.cs-filter-btn.is-active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }

/* 3-column card grid */
.cs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
@media (max-width: 960px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cs-grid { grid-template-columns: 1fr; } }

/* Card */
.cs-card {
	--color-accent-text: var(--color-accent-ink);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, transform 0.2s;
}
.cs-card:hover { box-shadow: 0 10px 28px rgba(22,32,88,0.12); transform: translateY(-3px); }

/* Thumb — inset rounded rectangle inside card */
.cs-card__thumb {
	background: #EEF1F6;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 110px;
	margin-bottom: 0.75rem;
}
.cs-card__company {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-navy-950);
	letter-spacing: -0.01em;
}

/* Card body */
.cs-card__body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}
.cs-card__tag {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: var(--color-accent-text);
}
.cs-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-navy-950);
	margin: 0;
	line-height: 1.35;
}
.cs-card__desc {
	font-size: 0.9rem;
	color: var(--color-text-body, #374151);
	margin: 0;
	line-height: 1.6;
	flex: 1;
}
.cs-card__link {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-navy-950);
	text-decoration: none;
	margin-top: 0.5rem;
}
.cs-card__link:hover { color: var(--color-accent-text); }
.cs-card__thumb-link { display: block; text-decoration: none; }
.cs-card__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px 10px 0 0; }
.cs-empty { color: var(--color-text-muted); padding: 2rem 0; }

/* ==========================================================================
   Case Study detail page (csd-*)
   ========================================================================== */

/* Hero */
.csd-hero {
	--color-accent-text: var(--color-accent-ink); background: var(--color-white); padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--color-border); }
.csd-hero__inner { max-width: 860px; text-align: center; margin-inline: auto; }
.csd-hero__title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 800;
	color: var(--color-navy-950);
	line-height: 1.12;
	margin: 0 0 1.25rem;
}
.csd-hero__subtitle {
	font-size: 1.1rem;
	color: var(--color-text-muted);
	line-height: 1.65;
	max-width: 680px;
	margin: 0 auto 1.75rem;
}
.csd-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
}
.csd-hero__chip {
	display: inline-block;
	padding: 0.45rem 1.1rem;
	border: 1.5px solid var(--color-navy-950);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: var(--color-navy-950);
}

/* Banner image */
.csd-banner {
	--color-accent-text: var(--color-accent-ink); padding: 2rem 0; background: var(--color-white); }
.csd-banner__img-wrap {
	--color-accent-text: var(--color-accent-ink);
	width: 100%;
	height: 420px;
	border-radius: var(--radius-md, 14px);
	overflow: hidden;
	background: var(--color-off-white);
}
.csd-banner__img-wrap--empty { display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); font-size: 0.85rem; }
.csd-banner__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .csd-banner__img-wrap { height: 220px; } }

/* Stats section */
.csd-stats {
	--color-accent-text: var(--color-accent-ink); background: var(--color-white); padding: 3.5rem 0 2rem; }
.csd-stats__heading {
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
	font-weight: 800;
	color: var(--color-navy-950);
	text-align: center;
	margin: 0 0 2.5rem;
	max-width: 720px;
	margin-inline: auto;
	margin-bottom: 2.5rem;
}
.csd-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}
@media (max-width: 900px) { .csd-stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .csd-stats__grid { grid-template-columns: 1fr; } }
.csd-stat-card {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	border-radius: 16px;
	padding: 2rem 1.5rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.csd-stat-card__value {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 800;
	color: var(--color-accent-text);
	line-height: 1.1;
}
.csd-stat-card__label {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.75);
	line-height: 1.4;
}

/* Content sections */
.csd-section { padding: 3.5rem 0; }
.csd-section--light {
	--color-accent-text: var(--color-accent-ink); background: var(--color-white); }
.csd-section__inner { max-width: 100%; }
.csd-section__heading {
	font-size: clamp(1.75rem, 2.5vw, 2.25rem);
	font-weight: 700;
	color: var(--color-navy-950);
	margin: 0 0 1.25rem;
}
.csd-section__body {
	font-size: 1rem;
	color: var(--color-text-muted, var(--color-text-body));
	line-height: 1.75;
	margin: 0;
}

/* Challenge + Solution — 2-column side by side */
.csd-cs { padding: 3.5rem 0; }
.csd-cs__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
	width: 100%;
}
@media (max-width: 768px) {
	.csd-cs__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.csd-cs__heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-navy-950);
	margin: 0 0 1.25rem;
}
.csd-cs__body {
	font-size: 1rem;
	color: var(--color-text-muted, var(--color-text-body));
	line-height: 1.75;
	margin: 0;
}

/* Secondary image placeholders (between sections) */
.csd-secondary-img {
	--color-accent-text: var(--color-accent-ink); padding: 2rem 0; background: var(--color-white); }
.csd-secondary-img__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
@media (max-width: 640px) { .csd-secondary-img__row { grid-template-columns: 1fr; } }
.csd-secondary-img__wrap {
	--color-accent-text: var(--color-accent-ink);
	height: 280px;
	background: var(--color-gray-100);
	border-radius: 16px;
}
@media (max-width: 640px) { .csd-secondary-img__wrap { height: 200px; } }

/* Implementation approach heading */
.csd-approach__heading {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-navy-950);
	margin: 0 0 1.75rem;
}

/* Implementation approach cards */
.csd-approach {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem;
}
.csd-approach__card {
	--color-accent-text: var(--color-accent-ink);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md, 14px);
	padding: 1.5rem 1.75rem;
}
.csd-approach__num {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--color-accent-text);
	letter-spacing: var(--tracking-label);
	margin-bottom: 0.75rem;
}
.csd-approach__title {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--color-navy-950);
	margin: 0;
	line-height: 1.4;
}

/* Quote */
.csd-quote {
	--color-accent-text: var(--color-accent-ink); padding: 3rem 0 3.5rem; background: var(--color-white); }
.csd-quote__inner {
	--color-accent-text: var(--color-accent-ink);
	max-width: 820px;
	margin-inline: auto;
	padding: 2.5rem 3rem;
	background: var(--color-white);
	border-radius: 20px;
	box-shadow: 0 2px 16px rgba(15,24,71,0.07);
	text-align: center;
}
.csd-quote__mark { display: none; }
.csd-quote__text {
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 600;
	color: var(--color-navy-950);
	line-height: 1.65;
	margin: 0 0 1.25rem;
	font-style: normal;
}
.csd-quote__text::before { content: '\201C'; }
.csd-quote__text::after  { content: '\201D'; }
.csd-quote__source {
	font-size: 0.875rem;
	color: var(--color-accent-text);
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Bottom CTA */
.csd-cta {
	--color-accent-text: var(--color-accent-ink); padding: 3rem 0 5rem; background: var(--color-white); border-top: 1px solid var(--color-border); }
.csd-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.csd-cta__text {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--color-navy-950);
	margin: 0;
	flex: 1;
}
.csd-cta__btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) {
	.csd-cta__inner { flex-direction: column; align-items: flex-start; }
	.csd-cta__btn { width: 100%; text-align: center; }
}

/* Customer logo in the card's top box. */
.cs-card__thumb .cs-card__logo { width: auto; height: auto; max-width: 70%; max-height: 72px; object-fit: contain; border-radius: 0; }

/* Article images fill their rounded boxes; a single image spans the row. */
.csd-secondary-img__wrap { overflow: hidden; }
.csd-secondary-img__wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.csd-secondary-img__row:has(> .csd-secondary-img__wrap:only-child) { grid-template-columns: 1fr; }

/* Video block between the outcome and the quote. */
.csd-video { padding-block: 1rem 3rem; }
.csd-video .container { max-width: 960px; }

/* Card matched to the Figma "Customer stories" card (used on /case-studies/ and /resources/). */
.cs-card { border-color: #e4e7f2; border-radius: 16px; }
.cs-card__thumb-link { margin: 1.25rem 1.25rem 0; }
.cs-card__thumb {
	--color-accent-text: var(--color-accent-ink); min-height: 136px; margin-bottom: 0; background: var(--color-off-white); }
.cs-card__company { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; text-align: center; padding: 0 1rem; }
.cs-card__body { padding: 1.4rem 1.5rem 1.6rem; gap: 0.75rem; }
.cs-card__tag { color: var(--color-text-body); font-weight: 500; letter-spacing: 0.04em; }
.cs-card__title { font-size: 1.3rem; line-height: 1.35; }
.cs-card__title a { color: inherit; text-decoration: none; }
.cs-card__title a:hover { color: var(--color-accent-dark, var(--color-navy-950)); text-decoration: underline; }
.cs-card__desc { color: var(--color-text-muted, var(--color-text-body)); margin-top: 1.25rem; }
.cs-card__link { margin-top: 0.75rem; }

/* Larger customer box on the case study card. */
.cs-card__thumb { min-height: 190px; }
.cs-card__company { font-size: 2rem; }
.cs-card__thumb .cs-card__logo { max-height: 110px; max-width: 75%; }
@media (max-width: 600px) {
	.cs-card__thumb { min-height: 150px; }
	.cs-card__company { font-size: 1.6rem; }
}

/* components/figma-hero */
/* Matching Home and About hero typography and sharp photographic composition. */
.hero.hero--figma {
	--color-accent-text: var(--color-accent); position: relative; background: var(--color-dark-surface); }
.hero--figma .hero__grid { grid-template-columns: 48.5% 51.5%; min-height: 720px; }
.hero--figma.hero--about .hero__grid { grid-template-columns: 53% 47%; min-height: 650px; }
.hero--figma .hero__content {
	position: relative; z-index: 2; gap: 0; justify-content: flex-start;
	padding: 84px 40px 64px max(24px, calc((100vw - 1240px) / 2));
}
.hero--figma .hero__content .badge { align-self: flex-start; width: fit-content; min-height: 38px; font-size: 12px; font-weight: 400; padding-inline: 20px; margin: 0 0 40px; }
.hero--figma .hero__heading { font-size: clamp(40px, 3.9vw, 56px); font-weight: 700; line-height: 1.14; letter-spacing: var(--tracking-heading); text-wrap: initial; margin: 0 0 48px; max-width: 580px; }
.hero--figma .hero__subheading { max-width: 470px; font-size: 18px; line-height: 1.55; color: var(--color-text-on-dark); margin: 0; }
.hero--figma .hero__ctas { margin-top: 52px; gap: 20px; }
.hero--figma .hero__ctas .btn { min-height: 52px; padding-inline: 38px; font-size: 12px; font-weight: 500; border-radius: 10px; }
.hero--figma .hero__ctas .btn__arrow { margin-inline-start: 6px; }
.hero--home.hero--figma .hero__content { padding-top: 72px; }
.hero--home.hero--figma .hero__content .badge { margin-bottom: 32px; }
.hero--home.hero--figma .hero__heading { font-size: clamp(38px, 3.6vw, 52px); margin-bottom: 36px; }
.hero--home.hero--figma .hero__subheading { max-width: 420px; text-wrap: pretty; }
.hero--home.hero--figma .hero__ctas { margin-top: 40px; }
.hero--home.hero--figma .hero__image { object-position: center top; }
.hero.hero--figma .hero__media::after { background: none; }
.hero--figma .hero__image { object-position: center; }
.hero--figma.hero--composite .hero__media { position: absolute; inset: 0; }
.hero--figma.hero--about { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.hero--figma.hero--about .hero__content { padding-bottom: 80px; }
.hero--figma.hero--about .hero__subheading { max-width: 390px; color: var(--color-white); }
[dir="rtl"] .hero--figma .hero__content { padding-inline: max(24px, calc((100vw - 1240px) / 2)) 40px; }
[dir="rtl"] .hero--figma.hero--composite .hero__image { transform: scaleX(-1); }
[dir="rtl"] .hero--figma.hero--about { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%); }
@media (max-width: 960px) {
	.hero--figma .hero__grid, .hero--figma.hero--about .hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.hero--figma .hero__content, [dir="rtl"] .hero--figma .hero__content { padding: 48px 24px; }
	.hero--home.hero--figma .hero__content { padding-top: 48px; }
	.hero--home.hero--figma .hero__heading { font-size: clamp(32px, 6vw, 48px); }
	.hero--figma .hero__heading { font-size: clamp(32px, 6vw, 48px); margin-bottom: 28px; }
	.hero--figma .hero__subheading { max-width: 48ch; font-size: 16px; }
	.hero--figma .hero__ctas { margin-top: 32px; flex-wrap: wrap; }
	.hero--figma .hero__ctas .btn { padding-inline: 24px; }
	.hero--figma.hero--composite .hero__media { position: relative; inset: auto; min-height: 380px; }
	.hero--figma.hero--composite .hero__image { object-position: right center; }
	.hero--figma.hero--about .hero__content { padding-bottom: 48px; }
}

/* components/home-team */
/* Compact people preview; the full gallery lives on About. */
.home-team { background: #f6f9fc; padding-block: clamp(36px, 4.5vw, 64px); scroll-margin-top: 110px; }
.home-team__layout { max-width: 1360px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.55fr); align-items: center; gap: clamp(24px, 3.5vw, 48px); }
.home-team__eyebrow { display: inline-flex; align-items: center; padding: 9px 25px; border-radius: 999px; background: #e1f5fb; color: #007eaa; font-size: 12px; font-weight: 700; letter-spacing: .14em; margin-bottom: 28px; }
.home-team h2 { margin: 0; color: var(--color-navy-950); font-size: clamp(32px, 3.4vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.home-team h2 > span { color: #008bb8; }
.home-team__intro > p { margin: 22px 0 26px; max-width: 490px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75; color: var(--color-text-muted); }
.home-team__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-team__actions .btn { gap: 18px; padding: 15px 22px; font-size: 14px; }
.home-team__photos { min-width: 0; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; height: clamp(360px, 30vw, 460px); color: var(--color-navy-950); border-radius: 20px; }
.home-team__photo { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: 18px; background: #dfeaf0; }
.home-team__photo:first-child { grid-row: span 2; }
.home-team__photo > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.home-team__badge { position: absolute; bottom: 16px; inset-inline: 12px; display: flex; align-items: center; gap: 12px; padding: 15px 12px; border-radius: 16px; background: #fff; color: var(--color-navy-950); box-shadow: 0 6px 24px #0f184712; font-size: clamp(12px, 1.15vw, 17px); line-height: 1.35; font-weight: 700; }
.home-team__photo:first-child .home-team__badge { inset-inline-end: 18%; inset-inline-start: 20px; bottom: 20px; }
.home-team__icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e1f5fb; color: #008bb8; }
.home-team__icon svg { width: 25px; height: 25px; }
.home-team__photos--1 { grid-template-columns: 1fr; }
.home-team__photos--2 .home-team__photo { grid-row: span 2; }
.home-team a:focus-visible { outline: 3px solid #007eaa; outline-offset: 5px; }
.home-team__badge { transition: transform .3s ease, box-shadow .3s ease; }
@media (hover: hover) and (pointer: fine) {
	.home-team__photo:hover > img { transform: scale(1.035); }
	.home-team__photo:hover .home-team__badge { transform: translateY(-3px); box-shadow: 0 9px 26px #0f18471c; }
}
.home-team__photos:focus-visible .home-team__badge { transform: translateY(-3px); }
[dir="rtl"] .home-team h2, [dir="rtl"] .home-team__eyebrow { letter-spacing: 0; }
@media (max-width: 1000px) {
	.home-team__layout { grid-template-columns: 1fr; gap: 32px; }
	.home-team__intro > p { max-width: 640px; }
	.home-team__photos { height: 410px; }
	.home-team__badge { font-size: 16px; }
}
@media (max-width: 600px) {
	.home-team__eyebrow { margin-bottom: 20px; }
	.home-team__photos { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 12px; }
	.home-team__photo:first-child { grid-column: 1 / -1; grid-row: auto; height: 280px; }
	.home-team__photo { height: 205px; }
	.home-team__badge { inset-inline: 8px; bottom: 8px; padding: 12px 10px; gap: 8px; font-size: 12px; }
	.home-team__icon { width: 32px; height: 32px; }
	.home-team__icon svg { width: 20px; height: 20px; }
	.home-team__photo:first-child .home-team__badge { inset-inline: 12px; bottom: 12px; font-size: 16px; }
	.home-team__photos--1 { grid-template-columns: 1fr; }
	.home-team__photos--2 .home-team__photo { grid-row: auto; grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	.home-team__photo > img, .home-team__badge { transition: none; }
	.home-team__photo:hover > img, .home-team__photo:hover .home-team__badge,
	.home-team__photos:focus-visible .home-team__badge { transform: none; }
}

/* components/hero-carousel */
/* Full-width cinematic chapters, with motion confined to the active slide. */
.sky-hero { --hero-progress: 0; position: relative; isolation: isolate; background: #0f1847; color: white; overflow: hidden; }
.sky-hero__stage { display: grid; position: relative; }
.sky-hero__slide { grid-area: 1 / 1; position: relative; display: flex; min-width: 0; min-height: clamp(560px, 70svh, 760px); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.sky-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.sky-hero__visual, .sky-hero__veil { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sky-hero__visual { background: #0f1847; }
.sky-hero__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sky-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.sky-hero__slide--future .sky-hero__veil { background: linear-gradient(90deg, #0f1847bf, #0f184760 38%, transparent 72%), linear-gradient(0deg, #0f1847, transparent 22%); }
.sky-hero__slide--future .sky-hero__heading em { background: linear-gradient(100deg, #6ef3ed, #bd94ff 80%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.sky-hero__veil { background: linear-gradient(90deg, #0f1847f5 0%, #0f1847c9 33%, #0f184745 65%, #0f184710), linear-gradient(0deg, #0f1847, transparent 25%); }
.sky-hero__container { width: 100%; position: relative; z-index: 2; display: flex; align-items: center; padding-block: 64px 72px; }
.sky-hero__content { width: min(600px, 54%); }
.sky-hero__eyebrow { display: flex; align-items: center; gap: 12px; color: #91e6eb; font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 20px; }
.sky-hero__eyebrow i { height: 7px; width: 7px; flex: 0 0 auto; background: #4ecad4; border-radius: 50%; box-shadow: 0 0 0 5px #4ecad41a; }
.sky-hero .sky-hero__heading { color: white; font-size: clamp(34px, 3.2vw, 46px); letter-spacing: -.025em; line-height: 1.18; font-weight: 600; text-wrap: balance; overflow-wrap: break-word; margin: 0 0 22px; }
.sky-hero__heading em { font-style: normal; color: #78e0e7; }
.sky-hero__description { color: #d2d9e8; font-size: 15px; line-height: 1.75; max-width: 550px; margin: 0; text-wrap: pretty; }
.sky-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.sky-hero__actions .btn { min-height: 50px; padding-inline: 26px; font-size: 13px; }
.sky-hero__text-link { display: inline-flex; align-items: center; gap: 14px; color: white; text-decoration: none; font-size: 13px; padding-block: 12px; }
.sky-hero__text-link::after { content: '↗'; color: #78e0e7; font-size: 20px; transition: transform .2s; }
.sky-hero__text-link:hover::after { transform: translate(3px,-3px); }
.sky-hero__navigation { position: relative; z-index: 3; display: flex; align-items: center; gap: 46px; padding-block: 20px 30px; }
.sky-hero__navigation[hidden] { display: none; }
.sky-hero__chapters { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.sky-hero__chapter { border: 0; padding: 8px 0; color: #a7b2cc; background: transparent; text-align: start; font: inherit; }
.sky-hero__chapter { cursor: pointer; }
.sky-hero__chapter:focus-visible { outline: 2px solid #78e0e7; outline-offset: 6px; border-radius: 2px; }
.sky-hero__track { display: block; height: 2px; background: #ffffff30; overflow: hidden; margin-bottom: 17px; }
.sky-hero__track > span { display: block; width: 100%; height: 100%; background: #70e0e5; transform: scaleX(0); transform-origin: left; }
.sky-hero__chapter[aria-current="true"] { color: white; }
.sky-hero__chapter[aria-current="true"] .sky-hero__track { background: #4ecad450; }
.sky-hero__chapter[aria-current="true"] .sky-hero__track > span { transform: scaleX(var(--hero-progress)); }
.sky-hero.is-paused .sky-hero__chapter[aria-current="true"] .sky-hero__track > span { transform: scaleX(1); }
.sky-hero__chapter-label { display: flex; align-items: baseline; gap: 14px; font-size: 13px; }
.sky-hero__chapter-label small { font-size: 10px; color: #75cbd5; }
.sky-hero :focus-visible { outline: 2px solid #80e7ef; outline-offset: 6px; }
.sky-hero__ambient { position: absolute; bottom: 0; inset-inline: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, #4ecad438, transparent); }
.sky-hero__intelligence { position: absolute; width: min(52vw, 660px); aspect-ratio: 1; inset-inline-end: max(12px, calc((100vw - 1320px)/2)); top: 50%; transform: translateY(-50%); color: #4ecad4; background: radial-gradient(circle, #4ecad417, transparent 66%); }
.sky-hero__slide--intelligence .sky-hero__veil { background: linear-gradient(90deg, #0f1847f5 0%, #0f1847df 34%, #0f18476b 62%, #0f184710), linear-gradient(0deg, #0f1847, transparent 25%); }
.sky-hero__connections { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.sky-hero__core { position: absolute; inset: 33%; border: 1px solid #7ee6eb80; border-radius: 30%; background: linear-gradient(140deg, #23356e, #101b49); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; box-shadow: 0 0 90px #4ecad426, inset 0 0 35px #4ecad410; }
.sky-hero__core > span { color: white; font-size: clamp(42px, 5.5vw, 76px); line-height: 1; letter-spacing: -.08em; }
.sky-hero__core small { font-size: 7px; letter-spacing: .12em; text-align: center; color: #91e6eb; }
.sky-hero__orbit { position: absolute; border: 1px solid #4ecad433; border-radius: 50%; inset: 11%; }
.sky-hero__orbit::before { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #9bf4f7; top: 15%; left: 15%; box-shadow: 0 0 16px #4ecad4; }
.sky-hero__orbit--inner { inset: 23%; border-style: dashed; opacity: .65; }
.sky-hero__node { position: absolute; width: 110px; padding: 16px 8px; border: 1px solid #4ecad450; border-radius: 14px; background: #17275b; color: #cbf4f6; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 12px 36px #050b2633; }
.sky-hero__node svg { width: 24px; height: 24px; }
.sky-hero__node > span { font-size: 10px; }
.sky-hero__node--one { top: 18%; left: 5%; }
.sky-hero__node--two { top: 18%; right: 5%; }
.sky-hero__node--three { bottom: 18%; left: 5%; }
.sky-hero__node--four { bottom: 18%; right: 5%; }
[dir="rtl"] .sky-hero__photo, [dir="rtl"] .sky-hero__video { transform: scaleX(-1); }
[dir="rtl"] .sky-hero__veil { transform: scaleX(-1); }
[dir="rtl"] .sky-hero__track > span { transform-origin: right; }
@media (prefers-reduced-motion: no-preference) {
	.sky-hero.is-enhanced .is-active .sky-hero__photo { animation: sky-hero-drift 12s ease-out both; }
	.sky-hero.is-enhanced .is-active .sky-hero__content { animation: sky-hero-enter .55s .04s both; }
	.sky-hero.is-enhanced .is-active .sky-hero__orbit { animation: sky-hero-orbit 36s linear infinite; }
	.sky-hero.is-enhanced .is-active .sky-hero__orbit--inner { animation-direction: reverse; animation-duration: 24s; }
	.sky-hero.is-enhanced .is-active .sky-hero__signal { animation: sky-hero-signal 7s linear infinite; }
	.sky-hero.is-motion-paused .sky-hero__visual * { animation-play-state: paused !important; }
	[dir="rtl"] .sky-hero.is-enhanced .is-active .sky-hero__photo { animation-name: sky-hero-drift-rtl; }
}
@keyframes sky-hero-drift { from { transform: scale(1); } to { transform: scale(1.065); } }
@keyframes sky-hero-drift-rtl { from { transform: scale(-1,1); } to { transform: scale(-1.065,1.065); } }
@keyframes sky-hero-enter { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes sky-hero-orbit { to { transform: rotate(360deg); } }
@keyframes sky-hero-signal { to { stroke-dashoffset: -128; } }
@media (max-width: 960px) {
	.sky-hero__content { width: 62%; }
	.sky-hero .sky-hero__heading { font-size: clamp(32px, 4.2vw, 40px); }
	.sky-hero__intelligence { inset-inline-end: -90px; width: 55vw; opacity: .6; }
	.sky-hero__node { width: 85px; padding: 12px 5px; }
	.sky-hero__chapters { gap: 18px; }
	.sky-hero__navigation { gap: 24px; }
	.sky-hero__chapter-label { gap: 8px; font-size: 11px; }
}
@media (max-width: 640px) {
	.sky-hero__slide { min-height: 610px; }
	.sky-hero__container { align-items: flex-end; padding-block: 150px 36px; }
	.sky-hero__content { width: 100%; }
	.sky-hero__photo { object-position: 68% center; opacity: .65; }
	.sky-hero__video { object-position: 78% center; opacity: .9; }
	.sky-hero__veil, .sky-hero__slide--intelligence .sky-hero__veil { background: linear-gradient(0deg, #0f1847 2%, #0f1847e8 48%, #0f184740 100%); }
	.sky-hero .sky-hero__heading { font-size: clamp(28px, 7.5vw, 34px); max-width: 480px; margin-bottom: 18px; letter-spacing: -.02em; }
	.sky-hero__eyebrow { font-size: 10px; margin-bottom: 16px; }
	.sky-hero__description { font-size: 14px; line-height: 1.75; }
	.sky-hero__actions { gap: 16px; margin-top: 24px; }
	.sky-hero__actions .btn { padding-inline: 20px; }
	.sky-hero__intelligence { width: 360px; inset-inline-end: -60px; top: -100px; transform: none; opacity: .8; }
	.sky-hero__navigation { flex-wrap: wrap; gap: 18px; padding-block: 12px 24px; }
	.sky-hero__chapters { flex: 1 0 100%; gap: 16px; }
	.sky-hero__chapter-label { flex-direction: column; gap: 7px; font-size: 10px; }
	.sky-hero__track { margin-bottom: 12px; }
	.sky-hero__chapters { gap: 10px; }
	.sky-hero__chapter-label { font-size: 9px; }
	.sky-hero__slide--future .sky-hero__veil { background: linear-gradient(0deg, #0f1847 2%, #0f1847d9 48%, #0f184720); }
}
@media (prefers-reduced-motion: reduce) {
	.sky-hero__slide, .sky-hero__text-link::after { transition: none; }
}

/* base/rtl */
/*
 * Arabic / right-to-left adjustments. Loaded ONLY on Arabic pages
 * (<html lang="ar" dir="rtl">), after every other stylesheet.
 *
 * Most of the layout mirrors by itself: flex rows, grids, margin-inline and
 * text-align: start already follow the page direction. This file only fixes
 * what was written with physical left/right values, plus Arabic typography.
 * Nothing here changes colours, sizes, spacing or components.
 */

/* ── Typography ──────────────────────────────────────────────────────────
 * Space Grotesk has no Arabic letters, so Arabic text uses IBM Plex Sans
 * Arabic (similar clean geometric style). Latin words and numbers keep
 * Space Grotesk, exactly as on the English site. */
:root {
	--font-base: "Space Grotesk", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}
[dir="rtl"] body {
	font-family: var(--font-base);
	--word-spacing: 0.04em;
	--line-height-body: 1.7;
}
/* Letter-spacing breaks joined Arabic letters apart. */
[dir="rtl"] *,
[dir="rtl"] *::before,
[dir="rtl"] *::after {
	letter-spacing: normal !important;
}
/* Arabic needs a touch more line height so dots/diacritics don't collide. */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
	line-height: 1.35;
}
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button {
	font-family: inherit;
}
/* Emails, phone numbers, URLs stay left-to-right inside Arabic text. */
[dir="rtl"] a[href^="mailto:"],
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="url"] {
	direction: ltr;
	unicode-bidi: plaintext;
}
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="url"] {
	text-align: right;
}

/* ── Directional icons ───────────────────────────────────────────────────
 * Text arrows (→) are flipped in the page output, so only SVG arrows are
 * mirrored here. */
[dir="rtl"] .ins-article-nav__link svg {
	transform: scaleX(-1);
}

/* ── Header & mega menus ───────────────────────────────────────────────── */
[dir="rtl"] .site-nav__submenu { left: auto; right: 0; }
/* First item (Solutions) now sits on the right: open towards the left. */
[dir="rtl"] .mega-panel--solutions { left: auto; right: 0; }
[dir="rtl"] .mega-panel--resources,
[dir="rtl"] .mega-panel--products { left: auto; right: 0; }
[dir="rtl"] .site-nav__item--mega:hover .mega-panel--products,
[dir="rtl"] .site-nav__item--mega:focus-within .mega-panel--products { transform: translate(var(--mega-nudge), 0); }
@media (max-width: 1220px) {
	[dir="rtl"] .site-nav__item--mega .mega-panel { transform: none; }
}

/* Language switcher */


/* ── Heroes: text now on the right, image on the left ─────────────────── */
[dir="rtl"] .hero__content {
	padding-right: clamp(var(--space-md), calc((100vw - var(--container-width)) / 2 + var(--space-md)), 4rem);
	padding-left: var(--space-lg);
}
[dir="rtl"] .hero__media::after {
	--color-accent-text: var(--color-accent);
	background:
		linear-gradient(270deg, var(--color-navy-950) 0%, rgba(15,24,71,0) 38%),
		linear-gradient(0deg, rgba(15,24,71,0.55) 0%, rgba(15,24,71,0) 30%);
}
[dir="rtl"] .hero__image[src*="warehouse-scanner"] {
	-webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 52%);
	mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 52%);
}
[dir="rtl"] .hero__media:has(.hero__image[src*="warehouse-scanner"])::after {
	background: linear-gradient(0deg, rgba(15, 24, 71, .45) 0%, rgba(15, 24, 71, 0) 28%);
}
[dir="rtl"] .page-hero__content {
	padding-right: clamp(var(--space-md), calc((100vw - var(--container-width)) / 2 + var(--space-md)), 4rem);
	padding-left: var(--space-lg);
}
[dir="rtl"] .dark-hero,
[dir="rtl"] .crrs-hero,
[dir="rtl"] .ctct-hero {
	background-position: center left;
}
[dir="rtl"] .dark-hero::before,
[dir="rtl"] .ctct-hero::before {
	background: linear-gradient(270deg, rgba(15,24,71,0.97) 0%, rgba(15,24,71,0.88) 50%, rgba(15,24,71,0.4) 80%, rgba(15,24,71,0.1) 100%);
}
[dir="rtl"] .crrs-hero::before {
	background: linear-gradient(270deg, rgba(15,24,71,0.97) 0%, rgba(15,24,71,0.85) 45%, rgba(15,24,71,0.4) 75%, rgba(15,24,71,0.1) 100%);
}
/* Homepage hero floating cards: mirror their corners. */
[dir="rtl"] .hero__stat-card--primary { left: auto; right: 2rem; }
[dir="rtl"] .hero__stat-card--secondary { right: auto; left: 2rem; }

@media (max-width: 960px) {
	[dir="rtl"] .hero__content,
	[dir="rtl"] .page-hero__content { padding-inline: var(--space-md); }
	[dir="rtl"] .hero__media::after {
	--color-accent-text: var(--color-accent); background: linear-gradient(180deg, var(--color-navy-950) 0%, rgba(15,24,71,0) 35%); }
}

/* ── Small physical offsets that should follow the text direction ──────── */
[dir="rtl"] .site-footer__col a:hover { transform: translateX(-4px); }
[dir="rtl"] .about-journey__timeline { border-left: 0; border-right: 2px solid var(--color-accent); }
[dir="rtl"] .about-journey__timeline > * > ::before,
[dir="rtl"] .about-journey__item::before { left: auto; right: -7px; }
[dir="rtl"] .ins-article-nav__link--next { text-align: left; margin-left: 0; margin-right: auto; }
[dir="rtl"] .resources-card--doc { border-left: 0; border-right: 3px solid var(--color-accent); }
[dir="rtl"] .resources-card--doc-corporate { border-right-color: #2b5ce6; }
[dir="rtl"] .resources-card--doc-services { border-right-color: #1d9e8f; }
[dir="rtl"] .resources-card--doc-checklist { border-right-color: #7c3aed; }
[dir="rtl"] .contact-form__errors ul,
[dir="rtl"] .ctct-form__errors ul { padding-left: 0; padding-right: 1.2rem; }
[dir="rtl"] blockquote { border-left: 0; border-right: 3px solid var(--color-accent); }
[dir="rtl"] .crrs-why__item,
[dir="rtl"] .crrs-culture__card { text-align: right; }

/* Tables */
[dir="rtl"] th,
[dir="rtl"] td { text-align: right; }

