/* ==========================================================================
   Flex Jordan â€” theme styles
   Built on core Gutenberg blocks. Every rule below is presentation only.
   ========================================================================== */

:root {
	--fj-ink: #0c0d0f;
	--fj-ink-2: #14161a;
	--fj-ink-3: #1b1e23;
	--fj-red: #ea111b;
	--fj-red-bright: #ff2d36;
	--fj-red-deep: #b90d15;
	--fj-red-text: #c50e16; /* AA-compliant red for small text on light backgrounds */
	--fj-paper: #ffffff;
	--fj-mist: #f5f6f7;
	--fj-line: #e2e5e8;
	--fj-line-dark: rgba(255, 255, 255, 0.1);
	--fj-muted: #667085;
	--fj-on-dark: #a7adb7;
	--fj-radius: 6px;
	--fj-radius-lg: 10px;
	--fj-shell: 1344px;
	--fj-header-h: 78px;
	--fj-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.fj {
	margin: 0;
	background: var(--fj-paper);
	color: var(--fj-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

/* The global block gap must not separate the header, main and footer. */
body.fj .wp-site-blocks > * { margin-block: 0 !important; }

/* Homepage sections control their own spacing — no gaps between them. */
body.fj .fj-home > * + * { margin-block-start: 0 !important; }

/* Sections rendered from page content keep the same behaviour. */
body.fj .wp-block-post-content > * { margin-block-start: 0 !important; }

/* Inner pages use normal vertical rhythm instead. */
body.fj .fj-page-body .wp-block-post-content > * { margin-block-start: 1.15em !important; }
body.fj .fj-page-body .wp-block-post-content > h2 { margin-block-start: 1.7em !important; }
body.fj .fj-page-body .wp-block-post-content > h3 { margin-block-start: 1.5em !important; }
body.fj .fj-page-body .wp-block-post-content > *:first-child { margin-block-start: 0 !important; }

a { text-underline-offset: 3px; }

:focus-visible {
	outline: 2px solid var(--fj-red-bright);
	outline-offset: 3px;
	border-radius: 2px;
}

.fj-shell {
	width: 100%;
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

/* Arabic uses the same typographic rhythm as English (Cairo is global now). */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
	font-weight: 800;
}

/* --------------------------------------------------------------------------
   Reusable bits
   -------------------------------------------------------------------------- */

.fj-eyebrow {
	margin: 0 0 14px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fj-red-text);
}

.fj-eyebrow--dark { color: var(--fj-red-bright); }

.fj-accent { color: var(--fj-red); }
.fj-accent--bright { color: var(--fj-red-bright); }

.fj-section { padding-block: clamp(48px, 5.2vw, 82px); }

/* Every section container shares the same shell + gutter so headings,
   grids and copy all line up on the same left edge. */
.fj-section-head,
.fj-about__grid,
.fj-contact__grid,
.fj-hero__grid,
.fj-stats__grid,
.fj-products__grid,
.fj-solutions__grid,
.fj-support__grid,
.fj-partners__row,
.fj-footer__top,
.fj-footer__bottom,
.fj-footer__mark {
	width: 100%;
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

/* Grids that also need to keep their own gap rules. */
.fj-stats__grid,
.fj-footer__top { padding-inline: clamp(20px, 4vw, 48px); }

.fj-section--tight { padding-block: clamp(34px, 4vw, 56px); }

.fj-section-head {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 48px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.fj-section-head__title { flex: 1 1 420px; max-width: 620px; }
.fj-section-head__title .fj-eyebrow { margin-bottom: 10px; }
.fj-section-head__title h2 { margin: 0; }

.fj-section-head__aside {
	flex: 0 1 400px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--fj-muted);
}
.fj-section-head__aside p { margin: 0 0 12px; }
.fj-section-head__aside p:last-child { margin-bottom: 0; }

.fj-link-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--fj-red-text);
	text-decoration: none;
	white-space: nowrap;
	transition: gap 0.2s var(--fj-ease), color 0.2s var(--fj-ease);
}
.fj-link-more:hover { gap: 13px; color: var(--fj-red-deep); }
.fj-link-more::after { content: "\2192"; }
html[dir="rtl"] .fj-link-more::after { content: "\2190"; }

/* Buttons */
body.fj .wp-element-button,
body.fj .wp-block-button__link {
	border-radius: 4px;
	font-weight: 700;
	letter-spacing: 0.005em;
	transition: transform 0.18s var(--fj-ease), background 0.18s var(--fj-ease), box-shadow 0.18s var(--fj-ease);
	text-decoration: none;
}
body.fj .wp-element-button:hover,
body.fj .wp-block-button__link:hover { transform: translateY(-1px); }

.fj-btn-ghost .wp-block-button__link {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	color: #fff !important;
}
.fj-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.fj-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: transparent;
	border-bottom: 1px solid var(--fj-line-dark);
}

/* The blur lives on a pseudo element: putting backdrop-filter on the header
   itself would create a containing block and trap the mobile menu overlay. */
.fj-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(12, 13, 15, 0.9);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	pointer-events: none;
}

.fj-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-block: 12px;
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(16px, 3vw, 40px);
}

.fj-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.fj-brand__logo img,
.fj-brand__logo a { display: block; }
.fj-brand__logo img { width: 164px; max-width: 44vw; height: auto; }

.fj-brand__tag {
	margin: 0;
	padding-inline-start: 14px;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 9px;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.48);
	font-weight: 600;
}

/* Navigation */
.fj-nav {
	flex: 0 1 auto;
	justify-content: center;
}

/* Desktop link spacing — the core block sets no gap of its own. */
.fj-nav .wp-block-navigation__container {
	gap: clamp(10px, 1.5vw, 24px);
	flex-wrap: nowrap;
	max-width: 100%;
}

/* Never let flex stretch the items — labels must stay their natural width. */
.fj-nav .wp-block-navigation__container > li,
.fj-nav .wp-block-navigation-item { flex: 0 0 auto; }

.fj-nav { min-width: 0; }

.fj-nav .wp-block-navigation-item__content {
	font-size: 14px;
	font-weight: 600;
	color: #E7EAEE !important;
	padding: 10px 4px;
	position: relative;
	letter-spacing: 0.005em;
	transition: color 0.18s var(--fj-ease);
	white-space: nowrap;
}

.fj-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	inset-inline: 2px;
	bottom: 0;
	height: 2px;
	background: var(--fj-red);
	transform: scaleX(0);
	transform-origin: var(--fj-underline-origin, left);
	transition: transform 0.24s var(--fj-ease);
}
html[dir="rtl"] .fj-nav .wp-block-navigation-item__content::after { --fj-underline-origin: right; }

.fj-nav .wp-block-navigation-item__content:hover,
.fj-nav .wp-block-navigation-item__content[aria-current="page"] { color: #fff; }

.fj-nav .wp-block-navigation-item__content:hover::after,
.fj-nav .wp-block-navigation-item__content[aria-current="page"]::after { transform: scaleX(1); }

/* Primary CTA inside the mobile menu (hidden on desktop). */
.fj-nav .fj-nav__cta { display: none; }

/* Hamburger + close: size only, never override WordPress display rules. */
.fj-nav .wp-block-navigation__responsive-container-open,
.fj-nav .wp-block-navigation__responsive-container-close {
	color: #fff;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	padding: 0;
}
.fj-nav .wp-block-navigation__responsive-container-open:hover,
.fj-nav .wp-block-navigation__responsive-container-close:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* ------- Mobile overlay (only when actually open) ------- */
.fj-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: #0c0d0f !important;
	color: #fff;
	padding: 0;
}

.fj-nav .is-menu-open .wp-block-navigation__responsive-dialog {
	padding: 10px clamp(18px, 5vw, 32px) 32px;
	min-height: 100%;
}

.fj-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	justify-content: flex-start;
	align-items: stretch;
	gap: 0;
	padding-top: 56px;
}

.fj-nav .is-menu-open .wp-block-navigation__container {
	width: 100%;
	align-items: stretch;
	gap: 0;
}

.fj-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fj-nav .is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.01em;
	padding: 18px 0;
}

.fj-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }

.fj-nav .is-menu-open .fj-nav__cta { display: block; border-bottom: 0; }

.fj-nav .is-menu-open .fj-nav__cta .wp-block-navigation-item__content {
	margin-top: 22px;
	background: var(--fj-red);
	color: #fff;
	text-align: center;
	border-radius: 4px;
	padding: 16px;
}

@media (max-width: 1024px) and (min-width: 601px) {
	.fj-nav .fj-nav__cta { display: none; }
}

/* Actions cluster */
.fj-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.fj-lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 2px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 4px;
}

.fj-lang__item {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 6px 9px;
	min-width: 30px;
	min-height: 30px;
	display: inline-grid;
	place-items: center;
	border-radius: 3px;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: background 0.18s var(--fj-ease), color 0.18s var(--fj-ease);
}
.fj-lang__item:hover { color: #fff; }
.fj-lang__item.is-current { background: var(--fj-red); color: #fff; }

/* Search (core block, button-only) */
.fj-search { display: flex; align-items: center; }

.fj-search .wp-block-search__label {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fj-search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 0;
	border: 0;
	background: transparent;
	padding: 0;
}

.fj-search .wp-block-search__input {
	width: 0;
	min-width: 0;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 4px 0 0 4px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 13.5px;
	transition: width 0.25s var(--fj-ease), padding 0.25s var(--fj-ease);
}

.fj-search .wp-block-search__input:not(:placeholder-shown),
.fj-search .wp-block-search__input:focus {
	width: 200px;
	padding-inline: 12px;
	outline: none;
	border-color: rgba(255, 255, 255, 0.3);
}

.fj-search .wp-block-search__input::placeholder { color: rgba(255, 255, 255, 0.45); }

.fj-search .wp-block-search__button {
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	display: grid;
	place-items: center;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	transition: background 0.18s var(--fj-ease), border-color 0.18s var(--fj-ease);
}

.fj-search .wp-block-search__button:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.32);
}

.fj-search .wp-block-search__button svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
	margin: 0;
}

/* Keep the label out of the layout but keep it accessible */
.fj-search .wp-block-search__button-text { display: none; }

/* --------------------------------------------------------------------------
   Search popup
   Opens from the header icon. The core Search block toggles the
   `wp-block-search__searchfield-hidden` class, so the overlay needs no JS.
   -------------------------------------------------------------------------- */
/* Lift the header above the floating WhatsApp button while the popup is open. */
body:has(.fj-search:not(.wp-block-search__searchfield-hidden)) .fj-header { z-index: 1001; }

/* Overlay */
.fj-search:not(.wp-block-search__searchfield-hidden) {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 20px 16px max(20px, env(safe-area-inset-bottom, 0px));
	background: rgba(9, 10, 12, 0.78);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color-scheme: dark;
	animation: fj-search-in 0.18s var(--fj-ease);
}

@keyframes fj-search-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Panel: dark glass card with a border, never a white block. */
.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	flex: 0 1 auto;
	width: min(560px, 100%) !important;
	max-width: 560px;
	margin: 0;
	padding: 30px 28px 28px;
	background: rgba(20, 22, 26, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper::before {
	content: "Search the catalogue";
	flex: 0 0 100%;
	margin: 0 46px 2px 0;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 18px;
	color: rgba(255, 255, 255, 0.42);
}

/* The close button is injected by assets/js/theme.js. */
.fj-search .fj-search__close { display: none; }

.fj-search:not(.wp-block-search__searchfield-hidden) .fj-search__close {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background 0.18s var(--fj-ease), border-color 0.18s var(--fj-ease);
}

.fj-search:not(.wp-block-search__searchfield-hidden) .fj-search__close:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.2);
}

.fj-search:not(.wp-block-search__searchfield-hidden) .fj-search__close svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	margin: 0;
}

.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
	display: block !important;
	flex: 1 1 160px;
	width: auto !important;
	min-width: 0;
	height: 62px;
	padding: 0 18px !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	font-size: 16px;
	outline: none;
	transition: border-color 0.18s var(--fj-ease), background 0.18s var(--fj-ease),
		box-shadow 0.18s var(--fj-ease);
}

.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input:focus {
	border-color: rgba(234, 17, 27, 0.85) !important;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(234, 17, 27, 0.18);
}

.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input::placeholder {
	color: rgba(255, 255, 255, 0.42);
}

.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__button {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	padding: 0;
	margin: 0;
	background: var(--fj-red);
	border: 0;
	border-radius: 12px;
	color: #fff;
	box-shadow: 0 12px 26px -12px rgba(234, 17, 27, 0.85);
	cursor: pointer;
}

.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__button:hover {
	background: #c50e16;
}

.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__button svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	margin: 0;
}

/* RTL label */
html[lang="ar"] .fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper::before {
	content: "ابحث في الكتالوج";
	margin: 0 0 2px 46px;
	font-size: 11.5px;
	letter-spacing: 0;
}

/* Helper line under the field — gives the card a fuller, squarer shape. */
.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper::after {
	content: "Try a product, a material or a brand — e.g. vinyl, printer, ink.";
	flex: 0 0 100%;
	margin: 2px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.36);
}

html[lang="ar"] .fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper::after {
	content: "جرّب اسم منتج أو مادة أو ماركة — مثل: فينيل، طابعة، حبر.";
}

/* Keep the card clear of the on-screen keyboard on phones. */
@media (max-width: 640px) {
	.fj-search:not(.wp-block-search__searchfield-hidden) {
		padding-bottom: max(13vh, 20px);
	}

	.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper {
		padding: 24px 18px 22px;
		border-radius: 18px;
	}

	.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input,
	.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__button {
		width: 58px;
		height: 58px;
	}

	.fj-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
		width: auto !important;
	}
}

.fj-actions__cta .wp-block-button__link {
	font-size: 13px;
	padding: 11px 18px;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.fj-hero {
	position: relative;
	isolation: isolate;
	background: radial-gradient(90% 120% at 88% 8%, rgba(234, 17, 27, 0.34) 0%, rgba(234, 17, 27, 0.08) 38%, rgba(12, 13, 15, 0) 68%),
		linear-gradient(165deg, #121418 0%, #0c0d0f 58%, #090a0c 100%);
	color: #fff;
	overflow: hidden;
	padding-block: clamp(52px, 5vw, 78px) clamp(44px, 4.5vw, 72px);
}

.fj-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(120% 90% at 70% 30%, #000 0%, transparent 72%);
	-webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 0%, transparent 72%);
	pointer-events: none;
	z-index: -1;
}

.fj-hero__grid {
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.fj-hero h1 {
	margin: 0 0 22px;
	font-size: clamp(38px, 5.2vw, 68px);
	line-height: 1.02;
	letter-spacing: -0.045em;
	color: #fff;
	text-wrap: balance;
}

.fj-hero__lead {
	max-width: 46ch;
	margin: 0 0 30px;
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.72);
}

.fj-hero__actions .wp-block-button__link { padding: 14px 24px; font-size: 14px; }

.fj-hero__media { margin: 0; position: relative; }

.fj-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--fj-radius-lg);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 -80px 90px -60px rgba(0, 0, 0, 0.55);
	pointer-events: none;
}

.fj-hero__media img {
	width: 100%;
	height: clamp(290px, 33vw, 410px);
	object-fit: cover;
	border-radius: var(--fj-radius-lg);
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
	display: block;
}

.fj-hero__media figcaption {
	margin-top: 12px;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Stats strip
   -------------------------------------------------------------------------- */

.fj-stats {
	background: #0c0d0f;
	border-top: 1px solid var(--fj-line-dark);
	border-bottom: 1px solid var(--fj-line-dark);
	padding-block: clamp(26px, 3vw, 38px);
}

.fj-stats__grid {
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
	gap: 0;
}

.fj-stat {
	position: relative;
	padding-inline: clamp(12px, 2vw, 32px);
	text-align: start;
}

.fj-stat__link {
	color: inherit;
	text-decoration: none;
}

/* Whole stat block is clickable. */
.fj-stat__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.fj-stat:hover .fj-stat__num { color: var(--fj-red-bright); }
.fj-stat__num { transition: color 0.18s var(--fj-ease); }

.fj-stat + .fj-stat::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 6px;
	bottom: 6px;
	width: 1px;
	background: rgba(255, 255, 255, 0.1);
}

.fj-stat__num {
	margin: 0 0 4px;
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	color: #fff;
	display: flex;
	align-items: baseline;
	gap: 2px;
}

.fj-stat__num span { color: var(--fj-red); }

.fj-stat__label {
	margin: 0;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--fj-on-dark);
}

/* Icon strip variant (homepage design) */
.fj-stat--icon {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-inline: clamp(10px, 2vw, 26px);
}

.fj-stat__icon { margin: 0 !important; flex: 0 0 auto; }
.fj-stat__icon img {
	width: 46px;
	height: 46px;
	object-fit: contain;
	display: block;
}

.fj-stat__body { min-width: 0; }

.fj-stat__title {
	margin: 0 0 3px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
}

.fj-stat--icon .fj-stat__label {
	margin: 0;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--fj-on-dark);
}

@media (max-width: 640px) {
	.fj-stat--icon { gap: 12px; }
	.fj-stat__icon img { width: 38px; height: 38px; }
	.fj-stat__title { font-size: 10.5px; letter-spacing: 0.08em; }
	.fj-stat--icon .fj-stat__label { font-size: 11.5px; }
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.fj-products { background: var(--fj-mist); }

.fj-products__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px !important;
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.fj-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0 !important;
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	overflow: hidden;
	padding: 0 !important;
	transition: transform 0.25s var(--fj-ease), box-shadow 0.25s var(--fj-ease), border-color 0.25s var(--fj-ease);
}

.fj-pcard:hover {
	transform: translateY(-3px);
	border-color: #d5d8dc;
	box-shadow: 0 16px 40px rgba(12, 13, 15, 0.1);
}

.fj-pcard__media {
	margin: 0 !important;
	background: #eff1f3;
	border-radius: 0 !important;
}
.fj-pcard__media img {
	width: 100%;
	height: 156px;
	object-fit: cover;
	display: block;
	border-radius: 0;
	transition: transform 0.5s var(--fj-ease);
}
.fj-pcard:hover .fj-pcard__media img { transform: scale(1.045); }

.fj-pcard__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 15px 16px;
	border-top: 1px solid var(--fj-line);
	background: #fff;
}
.fj-pcard__body > * { margin: 0 !important; }
.fj-pcard > *,
.fj-scard > *,
.fj-sup > * { margin: 0 !important; }

.fj-pcard__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--fj-ink);
}

/* Stretched link: the title anchor covers the whole card so the
   entire surface is clickable while staying editable as plain text. */
.fj-pcard__title-link { color: inherit; text-decoration: none; }
.fj-pcard__title-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: inherit;
}

.fj-pcard__arrow {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--fj-mist);
	color: var(--fj-red);
	font-size: 13px;
	line-height: 1;
	transition: background 0.2s var(--fj-ease), color 0.2s var(--fj-ease), transform 0.2s var(--fj-ease);
}
.fj-pcard:hover .fj-pcard__arrow { background: var(--fj-red); color: #fff; transform: translateX(2px); }
html[dir="rtl"] .fj-pcard:hover .fj-pcard__arrow { transform: translateX(-2px); }
html[dir="rtl"] .fj-pcard__arrow span { transform: scaleX(-1); display: inline-block; }

.fj-pcard a.fj-pcard__link {
	position: absolute;
	inset: 0;
	z-index: 2;
	text-decoration: none;
	border-radius: inherit;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.fj-about {
	position: relative;
	background: linear-gradient(160deg, #101216 0%, #0c0d0f 60%, #08090b 100%);
	color: #fff;
	overflow: hidden;
}

.fj-about::after {
	content: "";
	position: absolute;
	inset-inline-end: -12%;
	top: -30%;
	width: 62%;
	height: 150%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(234, 17, 27, 0.28) 0%, rgba(234, 17, 27, 0) 70%);
	pointer-events: none;
}

.fj-about__grid {
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
	position: relative;
	z-index: 1;
}

.fj-about h2 { color: #fff; margin: 0 0 20px; }

.fj-about__text {
	margin: 0 0 30px;
	max-width: 46ch;
	color: rgba(255, 255, 255, 0.68);
	line-height: 1.75;
}

.fj-about__media { margin: 0; }
.fj-about__media img {
	width: 100%;
	height: clamp(280px, 30vw, 400px);
	object-fit: cover;
	border-radius: var(--fj-radius-lg);
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */

.fj-partners {
	background: var(--fj-mist);
	padding-block: clamp(30px, 3.4vw, 46px);
	border-top: 1px solid var(--fj-line);
	border-bottom: 1px solid var(--fj-line);
}

.fj-partners__label {
	margin: 0 0 22px;
	text-align: center;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #5f6672;
}

.fj-partners__row {
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 2.6vw, 38px);
}

.fj-partner {
	margin: 0;
	font-size: clamp(14px, 1.35vw, 19px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #5a616d;
	line-height: 1;
	filter: grayscale(1);
	opacity: 0.9;
	transition: color 0.2s var(--fj-ease), opacity 0.2s var(--fj-ease);
	white-space: nowrap;
}
.fj-partner:hover { color: var(--fj-ink); opacity: 1; }

.fj-partner--caps { font-size: clamp(13px, 1.3vw, 16px); letter-spacing: 0.16em; font-weight: 700; }
.fj-partner--serif { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 0.02em; }
.fj-partner--light { font-weight: 500; letter-spacing: 0.02em; }

/* --------------------------------------------------------------------------
   Solutions
   -------------------------------------------------------------------------- */

.fj-solutions { background: #fff; }

.fj-solutions__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px !important;
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.fj-scard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0 !important;
	padding: 0 !important;
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	overflow: hidden;
	transition: transform 0.25s var(--fj-ease), box-shadow 0.25s var(--fj-ease);
}
.fj-scard:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(12, 13, 15, 0.1); }

.fj-scard__media { margin: 0 !important; background: #eff1f3; border-radius: 0 !important; }
.fj-scard__media img {
	width: 100%;
	height: 196px;
	object-fit: cover;
	display: block;
	border-radius: 0;
	transition: transform 0.5s var(--fj-ease);
}
.fj-scard:hover .fj-scard__media img { transform: scale(1.04); }

.fj-scard__body {
	padding: 18px 20px 20px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	justify-content: space-between;
}
.fj-scard__body > * { margin: 0 !important; }
.fj-scard__body > .wp-block-group { padding: 0 !important; flex: 1 1 auto; }

.fj-scard__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.015em;
}
.fj-scard__sub { margin: 0; font-size: 13px; color: var(--fj-muted); }

.fj-scard__arrow {
	flex: 0 0 auto;
	color: var(--fj-red);
	font-size: 16px;
	transition: transform 0.2s var(--fj-ease);
}
.fj-scard:hover .fj-scard__arrow { transform: translateX(3px); }
html[dir="rtl"] .fj-scard:hover .fj-scard__arrow { transform: translateX(-3px); }
html[dir="rtl"] .fj-scard__arrow { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   Support
   -------------------------------------------------------------------------- */

.fj-support { background: var(--fj-mist); }

.fj-support__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px !important;
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.fj-sup {
	display: flex;
	flex-direction: row;
	gap: 16px;
	align-items: flex-start;
	padding: 24px !important;
	min-height: 132px;
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	transition: border-color 0.2s var(--fj-ease), box-shadow 0.2s var(--fj-ease), transform 0.2s var(--fj-ease);
}
.fj-sup:hover {
	border-color: #d5d8dc;
	box-shadow: 0 14px 34px rgba(12, 13, 15, 0.08);
	transform: translateY(-2px);
}
.fj-sup > * { margin: 0 !important; }
.fj-sup > .wp-block-group { padding: 0 !important; }

.fj-sup__icon-wrap {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	margin: 0 !important;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--fj-red);
}
.fj-sup__icon-wrap img {
	width: 22px;
	height: 22px;
	display: block;
	filter: brightness(0) invert(1);
}

/* Heading beside the three cards (desktop, as in the design). */
@media (min-width: 981px) {
	.fj-support {
		display: grid;
		grid-template-columns: minmax(285px, 0.85fr) 3fr;
		column-gap: clamp(24px, 3vw, 44px);
		align-items: center;
		padding-inline: max(calc((100% - 1344px) / 2), clamp(20px, 4vw, 48px));
	}

	.fj-support .fj-section-head {
		display: block;
		margin: 0;
		padding-inline: 0;
	}

	.fj-support .fj-section-head__title,
	.fj-support .fj-section-head__title h2 {
		width: 100%;
		max-width: 100%;
	}

	.fj-support h2 {
		font-size: clamp(28px, 2.6vw, 40px);
		line-height: 1.06;
	}

	.fj-support__grid {
		margin: 0 !important;
		padding-inline: 0;
		max-width: none;
	}
}

.fj-sup__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.fj-sup__text { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--fj-muted); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.fj-contact { background: #fff; }

.fj-contact__grid {
	align-items: start;
	gap: clamp(28px, 4vw, 56px);
}

.fj-contact h2 { margin: 0 0 10px; }

.fj-contact__intro { margin: 0 0 30px; color: var(--fj-muted); max-width: 34ch; font-size: 15.5px; }

/* Compact contact rows */
.fj-line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	margin: 0;
	padding: 13px 0;
	border-bottom: 1px solid var(--fj-line);
	font-size: 14.5px;
}
.fj-line > span { color: var(--fj-muted); }
.fj-line a {
	color: var(--fj-ink);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.18s var(--fj-ease);
}
.fj-line a:hover { color: var(--fj-red-text); }
.fj-line:first-of-type { border-top: 1px solid var(--fj-line); }
.fj-line--last { border-bottom: 0; }

.fj-office { margin-bottom: 26px; }
.fj-office__name {
	margin: 26px 0 8px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fj-red-text);
}
.fj-office__name:first-of-type { margin-top: 0; }
.fj-office__line {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.9;
	color: var(--fj-ink);
}
.fj-office__line a { color: var(--fj-ink); text-decoration: none; }
.fj-office__line a:hover { color: var(--fj-red); }

.fj-form-card {
	background: var(--fj-mist);
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius-lg);
	padding: clamp(22px, 3vw, 34px);
}

/* Office blocks in the contact section (design: two branches side by side) */
.fj-office__row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 12px !important;
}

.fj-office__icon { margin: 3px 0 0 !important; flex: 0 0 auto; }
.fj-office__icon img { width: 15px; height: 15px; display: block; }

.fj-office__title {
	margin: 0 0 3px !important;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--fj-ink);
}

.fj-office__text {
	margin: 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: var(--fj-muted);
}

.fj-office__text a { color: inherit; text-decoration: none; }
.fj-office__text a:hover { color: var(--fj-red-text); }

@media (min-width: 861px) {
	.fj-contact__grid { align-items: flex-start; }
	.fj-offices { gap: 0 22px; }
	.fj-offices > .wp-block-column { flex-basis: 50% !important; }
	.fj-contact h2 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
}

.fj-quick {
	margin-top: 34px !important;
	padding: 22px 24px !important;
	background: var(--fj-mist);
	border: 1px solid var(--fj-line);
	border-inline-start: 3px solid var(--fj-red);
	border-radius: var(--fj-radius);
	max-width: 420px;
}
.fj-quick__title {
	margin: 0 0 6px !important;
	font-size: 15px;
	font-weight: 700;
	color: var(--fj-ink);
	letter-spacing: -0.01em;
}
.fj-quick__text {
	margin: 0 0 12px !important;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--fj-muted);
}
.fj-quick__link { margin: 0 !important; }

.fj-form-card h3 { margin: 0 0 18px; font-size: 17px; }

/* Fluent Forms inside the card */
.fj-form-card .fluentform .ff-el-input--label label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fj-muted);
}
.fj-form-card .fluentform input[type="text"],
.fj-form-card .fluentform input[type="email"],
.fj-form-card .fluentform input[type="tel"],
.fj-form-card .fluentform select,
.fj-form-card .fluentform textarea {
	width: 100%;
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: 4px;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--fj-ink);
	transition: border-color 0.2s var(--fj-ease), box-shadow 0.2s var(--fj-ease);
}
.fj-form-card .fluentform input:focus,
.fj-form-card .fluentform textarea:focus,
.fj-form-card .fluentform select:focus {
	outline: none;
	border-color: var(--fj-red);
	box-shadow: 0 0 0 3px rgba(234, 17, 27, 0.12);
}
.fj-form-card .fluentform .ff-el-group { margin-bottom: 16px; }
.fj-form-card .fluentform button.ff-btn-submit,
.fj-form-card .fluentform .ff-btn-submit {
	width: auto !important;
	background: var(--fj-red) !important;
	background-color: var(--fj-red) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 4px !important;
	padding: 13px 26px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background 0.18s var(--fj-ease), transform 0.18s var(--fj-ease);
}
.fj-form-card .fluentform button.ff-btn-submit:hover,
.fj-form-card .fluentform .ff-btn-submit:hover {
	background: var(--fj-red-deep) !important;
	background-color: var(--fj-red-deep) !important;
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------------- */

.fj-wa {
	position: fixed;
	inset-inline-end: 22px;
	bottom: 22px;
	z-index: 95;
	margin: 0 !important;
}

.fj-wa__btn .wp-block-button__link {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #25d366 !important;
	color: #fff !important;
	font-size: 0 !important;
	line-height: 0;
	box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s var(--fj-ease), box-shadow 0.2s var(--fj-ease);
	overflow: visible;
}

.fj-wa__btn .wp-block-button__link::before {
	content: "";
	width: 28px;
	height: 28px;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.87 9.87 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm0 18.15h-.01a8.2 8.2 0 0 1-4.18-1.14l-.3-.18-3.11.82.83-3.04-.2-.31a8.18 8.18 0 0 1-1.26-4.4c0-4.54 3.7-8.24 8.24-8.24 2.2 0 4.27.86 5.82 2.42a8.18 8.18 0 0 1 2.41 5.83c0 4.54-3.7 8.24-8.24 8.24zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.12-.17.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.14.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.4-.42-.56-.43-.14 0-.31-.02-.47-.02-.17 0-.43.06-.66.31-.22.25-.87.85-.87 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.07.14-1.18-.06-.11-.22-.17-.47-.29z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.87 9.87 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm0 18.15h-.01a8.2 8.2 0 0 1-4.18-1.14l-.3-.18-3.11.82.83-3.04-.2-.31a8.18 8.18 0 0 1-1.26-4.4c0-4.54 3.7-8.24 8.24-8.24 2.2 0 4.27.86 5.82 2.42a8.18 8.18 0 0 1 2.41 5.83c0 4.54-3.7 8.24-8.24 8.24zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.12-.17.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.14.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.4-.42-.56-.43-.14 0-.31-.02-.47-.02-.17 0-.43.06-.66.31-.22.25-.87.85-.87 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.07.14-1.18-.06-.11-.22-.17-.47-.29z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.fj-wa__btn .wp-block-button__link:hover {
	transform: translateY(-2px) scale(1.04);
	background: #1fbe5b !important;
	box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
}

@media (max-width: 640px) {
	.fj-wa { inset-inline-end: 14px; bottom: 14px; }
	.fj-wa__btn .wp-block-button__link { width: 48px; height: 48px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.fj-footer {
	position: relative;
	background: #0a0b0d;
	color: var(--fj-on-dark);
	padding-block: clamp(40px, 4.5vw, 60px) 0;
	overflow: hidden;
	border-top: 1px solid var(--fj-line-dark);
}

.fj-footer::after {
	content: "";
	position: absolute;
	inset-inline-end: -10%;
	bottom: -40%;
	width: 55%;
	height: 120%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(234, 17, 27, 0.22) 0%, rgba(234, 17, 27, 0) 70%);
	pointer-events: none;
}

.fj-footer__top {
	position: relative;
	z-index: 1;
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
	gap: 40px 32px !important;
	grid-template-columns: 1.35fr 0.9fr 1.1fr 1.1fr !important;
}

.fj-footer__col { min-width: 0; }

.fj-footer__logo img { width: 188px; max-width: 60vw; height: auto; }

.fj-footer__tag {
	margin: 18px 0 0;
	font-size: 12.5px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.42);
}

.fj-footer__title {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
}

.fj-footer__links,
.fj-footer__contact {
	margin: 0 0 24px;
	font-size: 13.5px;
	line-height: 2;
}

.fj-footer__links a,
.fj-footer__contact a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	transition: color 0.18s var(--fj-ease);
}
.fj-footer__links a:hover,
.fj-footer__contact a:hover { color: #fff; }

.fj-footer__social a {
	margin-inline-end: 14px;
	font-size: 12.5px;
}

/* Footer navigation blocks */
.fj-footer .fj-fnav { margin-top: -4px; }

.fj-footer .fj-fnav .wp-block-navigation__container {
	gap: 0 !important;
	align-items: flex-start;
}

.fj-footer .fj-fnav .wp-block-navigation-item { width: 100%; }

.fj-footer .fj-fnav .wp-block-navigation-item__content {
	display: inline-block;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 2;
	color: rgba(255, 255, 255, 0.78) !important;
	padding: 0;
	transition: color 0.18s var(--fj-ease);
}

.fj-footer .fj-fnav .wp-block-navigation-item__content:hover { color: #fff !important; }
.fj-footer .fj-fnav .wp-block-navigation-item__content::after { display: none; }

.fj-footer__mark {
	position: relative;
	z-index: 1;
	margin: clamp(36px, 5vw, 64px) auto 0;
	max-width: var(--fj-shell);
	padding-inline: clamp(20px, 4vw, 48px);
	font-size: clamp(40px, 8vw, 108px);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.05em;
	color: rgba(255, 255, 255, 0.045);
	text-align: end;
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
}

.fj-footer__bottom {
	position: relative;
	z-index: 1;
	max-width: var(--fj-shell);
	margin-inline: auto;
	padding: 20px clamp(20px, 4vw, 48px) 24px;
	border-top: 1px solid var(--fj-line-dark);
	padding-inline-end: clamp(20px, 4vw, 48px);
}

/* Keep the floating WhatsApp button clear of the legal links. */
@media (min-width: 641px) {
	.fj-footer__bottom { padding-inline-end: 100px; }
}
@media (max-width: 640px) {
	.fj-footer__bottom { padding-bottom: 76px; }
}

.fj-footer__legal {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}
.fj-footer__legal a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.fj-footer__legal a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Search results
   -------------------------------------------------------------------------- */
.fj-sresults__title {
	margin: 0 0 6px !important;
	font-size: clamp(26px, 4vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0c0d0f;
	text-wrap: balance;
}

.fj-sform { max-width: 620px; margin: 20px 0 0; }

.fj-sform .wp-block-search__label { display: none; }

.fj-sform .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: 6px;
}

.fj-sform .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 12px;
	border: 0;
	background: transparent;
	color: #0c0d0f;
	font-size: 15px;
	outline: none;
}

.fj-sform .wp-block-search__button {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 4px;
	background: var(--fj-red);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.fj-sresults .wp-block-query { margin-top: 28px; }

.fj-sresults .wp-block-post-template {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fj-sresults .wp-block-post-template > li { margin: 0; }

.fj-sresult {
	padding: 20px 22px !important;
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	transition: border-color 0.2s var(--fj-ease), box-shadow 0.2s var(--fj-ease);
}

.fj-sresult:hover {
	border-color: #d5d8dc;
	box-shadow: 0 12px 30px rgba(12, 13, 15, 0.07);
}

.fj-sresult__title { margin: 0 0 6px !important; font-size: 17.5px; line-height: 1.35; }
.fj-sresult__title a { color: #0c0d0f; text-decoration: none; }
.fj-sresult__title a:hover { color: var(--fj-red-text); }
.fj-sresult__ex { margin: 0 !important; color: var(--fj-muted); font-size: 14.5px; line-height: 1.65; }
.fj-sresult__empty { margin: 0; color: var(--fj-muted); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.fj-brand__tag { display: none; }
	.fj-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	.fj-header__inner { flex-wrap: wrap; gap: 10px; }
	.fj-nav { order: 3; flex: 1 1 100%; justify-content: center; overflow-x: auto; scrollbar-width: none; }
	.fj-nav::-webkit-scrollbar { width: 0; height: 0; }
	.fj-search { display: flex; }
	.fj-solutions__grid,
	.fj-support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fj-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 22px !important; }
	.fj-stat:nth-child(3)::before { display: none; }
	.fj-footer__top { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 640px) {
	/* Navigation stays visible — no hamburger menu. It moves to its own row
	   and scrolls horizontally only if the labels are wider than the screen. */
	.fj-header__inner { flex-wrap: wrap; row-gap: 0; padding-block: 12px 4px; }
	.fj-nav {
		order: 3;
		flex: 1 1 100%;
		justify-content: flex-start;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin-inline: -18px;
		padding-inline: 18px;
	}
	.fj-nav::-webkit-scrollbar { width: 0; height: 0; }
	.fj-nav .wp-block-navigation__container { gap: 13px; align-items: center; min-height: 40px; }
	.fj-nav .wp-block-navigation-item__content { font-size: 13px; padding: 9px 0 11px; }
	/* The logo already links home — dropping the duplicate keeps all items on one row. */
	.fj-nav .wp-block-navigation__container > .wp-block-navigation-item:first-child { display: none; }
	.fj-search { display: flex; }
	/* Match the language pill so the two header controls read as one pair. */
	.fj-actions { gap: 8px; }
	.fj-search .wp-block-search__inside-wrapper { width: auto !important; }
	.fj-search .wp-block-search__button { width: 46px; height: 46px; }
	.fj-search .wp-block-search__button svg { width: 18px; height: 18px; }
}

@media (max-width: 860px) {
	.fj-hero__grid,
	.fj-about__grid,
	.fj-contact__grid { flex-wrap: wrap !important; }

	.fj-hero__grid > .wp-block-column,
	.fj-about__grid > .wp-block-column,
	.fj-contact__grid > .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
		min-width: 0;
	}

	.fj-hero__media img { height: clamp(220px, 52vw, 340px); }
	.fj-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fj-actions { flex-wrap: wrap; gap: 8px; }
	.fj-actions .fj-actions__cta { display: none !important; }
	.fj-footer__mark { white-space: normal; }
	.fj-section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.fj-section-head__title { flex: 0 0 auto; max-width: 100%; }
	.fj-section-head__aside { flex: 0 0 auto; max-width: 100%; }
	.fj-header__inner { padding-inline: 18px; gap: 12px; }
}

@media (max-width: 560px) {
	.fj-brand__logo img { width: 142px; }
	.fj-brand { gap: 10px; }
	.fj-cart .wc-block-cart-link__text { display: none; }
	.fj-hero h1 { font-size: clamp(30px, 9.5vw, 44px); }
	.fj-hero__lead { font-size: 16px; }
	.fj-partners__row { gap: 14px 20px; }
	.fj-partner,
	.fj-partner--caps { font-size: 12.5px; }
	.fj-stat__num { font-size: 24px; }
	.fj-stat__label { font-size: 11.5px; }
	.fj-footer__mark {
		font-size: 30px;
		text-align: center;
		white-space: normal;
		max-width: 100%;
		padding-inline: 18px;
		letter-spacing: -0.03em;
	}
	.fj-products__grid { gap: 12px !important; }
	.fj-pcard__title { font-size: 12.5px; }
	.fj-pcard__body { padding: 11px 12px; }
	.fj-section { padding-block: 44px; }

	/* Comfortable reading size + finger-friendly targets */
	body.fj { font-size: 16px; }
	.fj-lang__item { min-height: 40px; display: inline-grid; place-items: center; padding-inline: 10px; }
	.fj-cart a,
	.fj-cart .wc-block-cart-link { min-width: 44px; min-height: 44px; justify-content: center; padding: 0 6px; }
	.fj-link-more { min-height: 44px; align-items: center; }
	.fj-pcard__title { padding-block: 2px; }
	.fj-office__line a,
	.fj-footer__links a,
	.fj-footer__contact a { display: inline-block; padding-block: 6px; }
	.fj-sup__title { font-size: 16px; }
	.fj-office__line { font-size: 15.5px; }
}

@media (max-width: 640px) {
	.fj-solutions__grid,
	.fj-support__grid { grid-template-columns: 1fr; }
	.fj-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.fj-stat { padding-inline: 0; }
	.fj-stat:nth-child(odd) { padding-inline-end: 18px; }
	.fj-stat:nth-child(even) { padding-inline-start: 18px; }
	.fj-pcard__media img { height: 130px; }
	/* Footer link lists are always expanded — put them side by side to keep it short. */
	.fj-footer__top {
		grid-template-columns: 1fr 1fr !important;
		gap: 34px 20px !important;
	}
	.fj-footer__col--brand,
	.fj-footer__col:nth-child(4) { grid-column: 1 / -1; }
	.fj-footer .fj-footer__title { margin-bottom: 10px; }
	.fj-footer .fj-fnav { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   Catalogue (custom post type)
   -------------------------------------------------------------------------- */

.fj-catalogue h1 { margin-bottom: 10px; }

.fj-catalogue,
.fj-single-product {
	padding-inline: clamp(20px, 4vw, 48px) !important;
}

.fj-cat-desc {
	max-width: 62ch;
	margin: 0 0 8px;
	color: var(--fj-muted);
	font-size: 15.5px;
}

.fj-catalogue .wp-block-query { margin-top: 34px; }

.fj-ccard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0 !important;
	padding: 0 !important;
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	overflow: hidden;
	transition: transform 0.25s var(--fj-ease), box-shadow 0.25s var(--fj-ease), border-color 0.25s var(--fj-ease);
}

.fj-ccard:hover {
	transform: translateY(-3px);
	border-color: #d5d8dc;
	box-shadow: 0 16px 40px rgba(12, 13, 15, 0.1);
}

.fj-ccard__media { margin: 0 !important; border-radius: 0 !important; }
.fj-ccard__media img {
	width: 100%;
	height: 214px;
	object-fit: cover;
	display: block;
	border-radius: 0;
	transition: transform 0.5s var(--fj-ease);
}
.fj-ccard:hover .fj-ccard__media img { transform: scale(1.04); }

.fj-ccard__body { padding: 18px 18px 20px !important; }

.fj-ccard__title {
	margin: 0 0 6px !important;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.fj-ccard__title a { color: inherit; text-decoration: none; }

/* Whole card is clickable */
.fj-ccard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.fj-ccard__ex {
	margin: 0 0 12px !important;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--fj-muted);
}

.fj-ccard__more {
	margin: 0 !important;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--fj-red-text);
}

/* Single product */
.fj-single-grid { align-items: center; }

.fj-single-media { margin: 0 !important; }

.fj-single-media img {
	width: 100%;
	max-height: 440px;
	object-fit: cover;
	border-radius: var(--fj-radius-lg);
	display: block;
}

.fj-back {
	margin: 0 0 18px !important;
	font-size: 13px;
	font-weight: 600;
}

.fj-back a { color: var(--fj-muted); text-decoration: none; }
.fj-back a:hover { color: var(--fj-red-text); }

.fj-single-cta {
	background: var(--fj-mist);
	border-top: 1px solid var(--fj-line);
}

.fj-single-media { margin: 0 !important; }
.fj-single-media img { border-radius: var(--fj-radius-lg); }

.fj-single-title {
	margin: 0 0 14px !important;
	font-size: clamp(26px, 3vw, 38px);
	letter-spacing: -0.03em;
}

.fj-single-lead {
	margin: 0 0 20px !important;
	font-size: 17px;
	line-height: 1.6;
	color: var(--fj-muted);
}

.fj-single-body { font-size: 15px; line-height: 1.75; }
.fj-single-actions { margin-top: 26px; }
.fj-single-note {
	margin-top: 18px !important;
	font-size: 13px;
	color: var(--fj-muted);
}

.fj-btn-outline-dark .wp-block-button__link {
	background: transparent !important;
	color: var(--fj-ink) !important;
	border: 1px solid var(--fj-line) !important;
}
.fj-btn-outline-dark .wp-block-button__link:hover {
	background: var(--fj-mist) !important;
	border-color: #cfd4d9 !important;
}

/* --------------------------------------------------------------------------
   Inner pages (page.html)
   -------------------------------------------------------------------------- */

.fj-page-hero {
	background: var(--fj-mist);
	border-bottom: 1px solid var(--fj-line);
	padding-block: clamp(34px, 4vw, 58px) clamp(26px, 3vw, 44px);
	padding-inline: clamp(20px, 4vw, 48px);
}

@media (min-width: 960px) {
	/* Align the page title with the 860px reading column. */
	.fj-page-hero { padding-inline: calc((100% - 860px) / 2); }
}

.fj-page-hero .fj-page-title {
	margin: 0 !important;
	font-size: clamp(32px, 4.2vw, 56px) !important;
	letter-spacing: -0.035em !important;
	line-height: 1.05;
	max-width: 20ch;
}

.fj-page-body { padding-inline: clamp(20px, 4vw, 48px); }

.fj-page-body .wp-block-post-content > * + * { margin-block-start: 1.1em; }
.fj-page-body > * + * { margin-block-start: 1.15em; }

/* Readable typography inside page content */
.fj-page-body p,
.fj-page-body li {
	font-size: 16.5px;
	line-height: 1.72;
	color: #2b2f36;
}

.fj-page-body .has-large-font-size {
	font-size: clamp(18px, 1.6vw, 21px) !important;
	line-height: 1.6;
	color: var(--fj-muted);
	font-weight: 500;
}

.fj-page-body h2 {
	font-size: clamp(26px, 2.8vw, 36px);
	margin-top: 0.4em;
}

.fj-page-body h3 {
	font-size: clamp(19px, 1.8vw, 23px);
	margin-top: 1.2em;
	letter-spacing: -0.02em;
}

.fj-page-body ul,
.fj-page-body ol { padding-inline-start: 1.2em; }

.fj-page-body li { margin-block: 6px; }

.fj-page-body img { border-radius: var(--fj-radius); }

.fj-page-body figure { margin-block: 1.6em; }

/* Lead paragraph helper */
.fj-page-body .fj-lead {
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.6;
	color: var(--fj-muted);
	font-weight: 500;
}

/* Two-column blocks inside pages */
.fj-page-split { align-items: center; gap: clamp(24px, 3vw, 44px); }
.fj-page-split .wp-block-column { min-width: 0; }
.fj-page-split img { width: 100%; height: auto; display: block; }

/* Let the image fill the height of the text column on desktop */
@media (min-width: 861px) {
	.fj-page-split { align-items: stretch; }

	.fj-page-split .wp-block-column:last-child {
		display: flex;
		flex-direction: column;
	}

	.fj-page-split .wp-block-column:last-child figure {
		margin: 0 !important;
		height: 100%;
		width: 100%;
		display: flex;
	}

	.fj-page-split .wp-block-column:last-child img {
		width: 100%;
		height: 100%;
		min-height: 300px;
		object-fit: cover;
		border-radius: var(--fj-radius);
	}
}

/* Small feature grid used on About / Partners / Support */
.fj-feature-grid {
	gap: 16px !important;
	margin-block: 28px 8px;
}

.fj-feature {
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	padding: 20px 20px 18px !important;
	transition: border-color 0.2s var(--fj-ease), box-shadow 0.2s var(--fj-ease);
}

.fj-feature:hover { border-color: #d5d8dc; box-shadow: 0 12px 28px rgba(12, 13, 15, 0.07); }

.fj-feature__k {
	margin: 0 0 6px !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fj-red-text);
}

.fj-feature__t { margin: 0 0 4px !important; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--fj-ink); }
.fj-feature__d { margin: 0 !important; font-size: 14px; line-height: 1.6; color: var(--fj-muted); }

/* Info rows (branches, contact) */
.fj-rows { border-top: 1px solid var(--fj-line); margin-block: 24px; }.fj-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 !important;
	padding: 14px 0;
	border-bottom: 1px solid var(--fj-line);
	font-size: 15px;
}
.fj-row__k { color: var(--fj-muted); font-weight: 600; }
.fj-row__v { color: var(--fj-ink); }
.fj-row__v a { color: inherit; text-decoration: none; }
.fj-row__v a:hover { color: var(--fj-red-text); }

/* Brand partner cards */
.fj-brand-card {
	background: #fff;
	border: 1px solid var(--fj-line);
	border-radius: var(--fj-radius);
	padding: 22px 20px !important;
	transition: border-color 0.2s var(--fj-ease), box-shadow 0.2s var(--fj-ease), transform 0.2s var(--fj-ease);
}

.fj-brand-card:hover {
	border-color: #d5d8dc;
	box-shadow: 0 12px 28px rgba(12, 13, 15, 0.07);
	transform: translateY(-2px);
}

.fj-brand-card__n {
	margin: 0 0 4px !important;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--fj-ink);
	line-height: 1.2;
}

.fj-brand-card__d { margin: 0 !important; font-size: 13.5px; line-height: 1.55; color: var(--fj-muted); }

/* Numbered steps */
.fj-steps {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px !important;
	margin-block: 26px;
}

.fj-step {
	position: relative;
	padding: 22px 20px 20px !important;
	background: var(--fj-mist);
	border-radius: var(--fj-radius);
}

.fj-step__n {
	margin: 0 0 8px !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--fj-red-text);
}

.fj-step__t { margin: 0 0 4px !important; font-size: 15px; font-weight: 700; color: var(--fj-ink); }
.fj-step__d { margin: 0 !important; font-size: 13.5px; line-height: 1.6; color: var(--fj-muted); }

@media (max-width: 720px) {
	.fj-steps { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Notices / generic
   -------------------------------------------------------------------------- */
.fj-note {
	font-size: 12.5px;
	color: var(--fj-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* Print */
@media print {
	.fj-header,
	.fj-footer,
	.fj-search,
	.fj-cart,
	.fj-lang { display: none !important; }
}


/* Partner logos (imported from the design file) */
.fj-partners__row { gap: 18px 14px !important; }

.fj-partners__img { margin: 0 !important; }

.fj-partners__img img {
	height: 26px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
	filter: none;
	opacity: 1;
}
/* --------------------------------------------------------------------------
   Footer — social icon buttons, brand mark, product card arrow
   -------------------------------------------------------------------------- */
.fj-footer { position: relative; overflow: hidden; }

.fj-social { gap: 10px !important; margin-top: 2px; }

.fj-social__btn { margin: 0 !important; }

.fj-social__btn a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background 0.18s var(--fj-ease), border-color 0.18s var(--fj-ease);
}

.fj-social__btn a:hover {
	background: var(--fj-red);
	border-color: var(--fj-red);
}

.fj-social__btn img { width: 16px; height: 16px; display: block; }

.fj-footer__brandmark {
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: flex-end;
	margin: 28px 0 0 !important;
	padding-inline: clamp(20px, 4vw, 48px);
	min-height: 150px;
}

.fj-footer__swirl {
	position: absolute;
	inset-inline-end: -30px;
	bottom: -40px;
	width: 420px;
	max-width: 46vw;
	margin: 0 !important;
	opacity: 0.9;
	pointer-events: none;
}

.fj-footer .fj-footer__mark {
	position: relative;
	align-self: center;
	margin: 0 !important;
	padding: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.34em;
	line-height: 2;
	text-transform: uppercase;
	text-align: end;
	color: rgba(255, 255, 255, 0.7);
	text-shadow: 0 0 16px rgba(10, 11, 13, 0.95);
	max-width: 240px;
	white-space: normal;
}

@media (max-width: 860px) {
	.fj-footer__brandmark { min-height: 120px; margin-top: 18px !important; }
	.fj-footer__swirl { width: 260px; opacity: 0.75; }
	.fj-footer .fj-footer__mark { font-size: 10px; letter-spacing: 0.24em; max-width: 170px; }
	.fj-social__btn a { width: 34px; height: 34px; }
}

/* Product cards: plain red arrow instead of a round button */
.fj-ccard__more {
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 13px !important;
	font-weight: 600;
	color: var(--fj-red) !important;
}
/* Hero as a full-bleed cover (background image, as in the design file) */
.fj-hero { padding: 0 !important; }
.fj-hero::before { display: none; }
.fj-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.7) 26%, rgba(10, 11, 13, 0.28) 50%, rgba(10, 11, 13, 0) 70%) !important;
	opacity: 1 !important;
}
html[dir="rtl"] .fj-hero .wp-block-cover__background {
	background: linear-gradient(270deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.7) 26%, rgba(10, 11, 13, 0.28) 50%, rgba(10, 11, 13, 0) 70%) !important;
}
.fj-hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1344px;
	margin-inline: auto;
	padding: clamp(56px, 6vw, 96px) clamp(20px, 4vw, 48px);
}
.fj-hero__copy { margin: 0 !important; max-width: 620px; }
.fj-hero__copy .fj-eyebrow { margin-bottom: 18px; }
/* About section: wide showroom photo as the section background */
.fj-about {
	background-image:
		linear-gradient(90deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.68) 30%, rgba(10, 11, 13, 0.25) 58%, rgba(10, 11, 13, 0) 78%),
		url('/wp-content/uploads/2026/11/about-bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

html[dir="rtl"] .fj-about {
	background-image:
		linear-gradient(270deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.68) 30%, rgba(10, 11, 13, 0.25) 58%, rgba(10, 11, 13, 0) 78%),
		url('/wp-content/uploads/2026/11/about-bg.jpg');
}

.fj-about__grid .wp-block-column:last-child { display: none !important; }

.fj-about__grid .wp-block-column:first-child {
	flex-basis: 100% !important;
	max-width: 620px;
}
/* Partners strip — left aligned like the design */
.fj-partners__label {
	text-align: start;
	color: var(--fj-red-text);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 20px !important;
}

.fj-partners__row {
	justify-content: flex-start !important;
	align-items: center;
	gap: 22px 24px !important;
	padding-inline: 0 !important;
	max-width: 100%;
}

.fj-partners__img img { height: 28px; }

.fj-partners__img:first-child {
	padding-inline-end: 30px;
	border-inline-end: 1px solid rgba(12, 13, 15, 0.12);
	margin-inline-end: 6px !important;
}
/* Partners: keep the shell gutters so the label lines up with other sections */
.fj-partners {
	padding-inline: max(calc((100% - 1344px) / 2), clamp(20px, 4vw, 48px)) !important;
}
/* Partners marquee (auto-scrolling slider) */
.fj-partners { overflow: hidden; }

.fj-partners__row {
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
	width: max-content;
	max-width: none;
	gap: 0 !important;
	animation: fj-marquee 45s linear infinite;
	will-change: transform;
}

.fj-partners__row:hover { animation-play-state: paused; }

@keyframes fj-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

html[dir="rtl"] .fj-partners__row { animation-name: fj-marquee-rtl; }

@keyframes fj-marquee-rtl {
	from { transform: translateX(0); }
	to   { transform: translateX(50%); }
}

@media (prefers-reduced-motion: reduce) {
	.fj-partners__row { animation: none; }
}

.fj-partners__img:first-child {
	padding-inline-end: 0;
	border-inline-end: 0;
	margin-inline-end: 0 !important;
}

.fj-partners__img { margin-inline-end: 0 !important; }
/* Featured solutions — tighter header + flush cards (matches the design) */
.fj-solutions h2 {
	font-size: clamp(26px, 2.9vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.fj-solutions .fj-section-head {
	margin-bottom: 26px;
	align-items: flex-end;
}

.fj-scard {
	border-color: transparent;
	box-shadow: 0 2px 10px rgba(12, 13, 15, 0.05);
}

.fj-scard:hover {
	border-color: transparent;
	box-shadow: 0 16px 38px rgba(12, 13, 15, 0.1);
}
/* Solutions header link pinned to the content's right edge */
.fj-solutions .fj-section-head {
	width: 100%;
	max-width: 100%;
}

.fj-solutions .fj-section-head__aside {
	margin-inline-start: auto;
	text-align: end;
}

.fj-solutions .fj-section-head__aside .fj-link-more {
	margin-inline-start: auto;
}
/* Get in touch — compact 2-column form like the design */
@media (min-width: 861px) {
	.fj-form-card { padding: 22px 24px 24px !important; }

	.fj-form-card form.frm-fluent-form,
	.fj-form-card .frm-fluent-form {
		display: flex;
		flex-wrap: wrap;
		gap: 0 16px;
	}

	.fj-form-card .ff-el-group { width: 100%; }

	.fj-form-card .ff-el-group:has(input[name="name"]),
	.fj-form-card .ff-el-group:has(input[name="company"]),
	.fj-form-card .ff-el-group:has(input[name="email"]),
	.fj-form-card .ff-el-group:has(input[name="phone"]) {
		width: calc(50% - 8px);
	}

	.fj-form-card .ff-el-group { margin-bottom: 12px !important; }

	.fj-contact { padding-block: clamp(40px, 4vw, 64px) !important; }
	.fj-contact h2 { font-size: clamp(24px, 2.3vw, 34px); }

	.fj-contact__grid { gap: 26px !important; }
}
/* Marquee: equal spacing so the loop has no gap */
.fj-partners__row .fj-partners__img { margin: 0 40px 0 0 !important; }
html[dir="rtl"] .fj-partners__row .fj-partners__img { margin: 0 0 0 40px !important; }

/* Get in touch: two-column form (Fluent Forms wraps fields in a fieldset) */
@media (min-width: 861px) {
	.fj-form-card fieldset {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 8px;
		row-gap: 4px;
		align-items: start;
	}

	.fj-form-card fieldset > .ff-el-group {
		width: auto;
		margin: 0 !important;
		min-width: 0;
	}

	.fj-form-card fieldset > .ff-el-group:has(textarea),
	.fj-form-card fieldset > .ff-el-group:has(.ff-btn-submit) {
		grid-column: 1 / -1;
	}
}
/* Partners: static row (no auto-scroll); swipeable on narrow screens */
.fj-partners { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fj-partners::-webkit-scrollbar { height: 0; width: 0; }
.fj-partners__row {
	animation: none !important;
	transform: none !important;
}
/* Get in touch: compact form + tighter office rows (design proportions) */
.fj-form-card { padding: 20px 22px 22px !important; }

.fj-form-card .ff-el-group { margin-bottom: 10px !important; }

.fj-form-card .ff-el-input--label { margin-bottom: 4px !important; }

.fj-form-card .ff-el-input--label label {
	font-size: 10px !important;
	letter-spacing: 0.08em;
}

.fj-form-card input.ff-el-form-control {
	height: 40px !important;
	padding: 6px 12px !important;
	font-size: 13.5px !important;
}

.fj-form-card textarea.ff-el-form-control {
	height: 78px !important;
	min-height: 78px !important;
	padding: 8px 12px !important;
	font-size: 13.5px !important;
}

.fj-form-card .ff-btn-submit {
	padding: 11px 20px !important;
	font-size: 13.5px !important;
}

.fj-office__row { margin-bottom: 9px !important; }
.fj-office__title { font-size: 13px !important; }
.fj-office__text { font-size: 12.5px !important; }

.fj-contact { padding-block: clamp(32px, 3.4vw, 52px) !important; }
/* Get in touch: tighter form card (less vertical space) */
.fj-form-card { padding: 16px 18px 18px !important; }

.fj-form-card h3 {
	font-size: 15px !important;
	margin: 0 0 10px !important;
	letter-spacing: -0.01em;
}

.fj-form-card .ff-el-group { margin-bottom: 6px !important; }
.fj-form-card .ff-el-input--label { margin-bottom: 2px !important; }
.fj-form-card .ff-el-input--label label { font-size: 9.5px !important; letter-spacing: 0.06em; }

.fj-form-card input.ff-el-form-control {
	height: 36px !important;
	padding: 4px 10px !important;
	font-size: 13px !important;
}

.fj-form-card textarea.ff-el-form-control {
	height: 58px !important;
	min-height: 58px !important;
	padding: 6px 10px !important;
	font-size: 13px !important;
}

.fj-form-card .ff-btn-submit {
	padding: 9px 18px !important;
	font-size: 12.5px !important;
}

.fj-contact .wp-block-columns:last-child { max-width: 100%; }
/* Get in touch: desktop proportions match the design (narrower form column) */
@media (min-width: 861px) {
	.fj-contact__grid > .wp-block-column:nth-child(1) { flex-basis: 23% !important; }
	.fj-contact__grid > .wp-block-column:nth-child(2) { flex-basis: 45% !important; }
	.fj-contact__grid > .wp-block-column:nth-child(3) { flex-basis: 32% !important; }
}

/* Phones: everything stacks, form stays comfortable */
@media (max-width: 860px) {
	.fj-contact__grid > .wp-block-column { flex-basis: 100% !important; width: 100% !important; }
	.fj-offices > .wp-block-column { flex-basis: 50% !important; }
	.fj-form-card { padding: 18px 16px 20px !important; }
	.fj-form-card fieldset { display: block !important; }
	.fj-form-card fieldset > .ff-el-group { width: 100% !important; }
	.fj-form-card input.ff-el-form-control { height: 44px !important; font-size: 15px !important; }
	.fj-form-card textarea.ff-el-form-control { height: 96px !important; min-height: 96px !important; font-size: 15px !important; }
}
/* Get in touch: hide field labels visually (placeholders only), keep them for screen readers */
.fj-form-card .ff-el-input--label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.fj-form-card .ff-el-group { margin-bottom: 10px !important; }

.fj-form-card input.ff-el-form-control { height: 42px !important; }
.fj-form-card textarea.ff-el-form-control { height: 86px !important; min-height: 86px !important; }
/* Shorter fields in the inquiry form */
.fj-form-card input.ff-el-form-control {
	height: 34px !important;
	min-height: 34px !important;
	padding: 2px 10px !important;
	font-size: 13px !important;
}

.fj-form-card textarea.ff-el-form-control {
	height: 62px !important;
	min-height: 62px !important;
	padding: 6px 10px !important;
	font-size: 13px !important;
}

.fj-form-card .ff-el-group { margin-bottom: 8px !important; }

.fj-form-card .ff-btn-submit {
	padding: 8px 16px !important;
	font-size: 12.5px !important;
}
/* Offices block: larger type + icons (matches the design) */
.fj-office__icon img { width: 17px !important; height: 17px !important; }
.fj-office__icon { margin-top: 4px !important; }

.fj-office__title { font-size: 14.5px !important; margin-bottom: 3px !important; }
.fj-office__text { font-size: 13.5px !important; line-height: 1.55 !important; }

.fj-office__row { margin-bottom: 13px !important; gap: 11px !important; }
/* Contact: divider between the two branches, tighter form rows */
@media (min-width: 861px) {
	.fj-offices > .wp-block-column + .wp-block-column {
		border-inline-start: 1px solid rgba(12, 13, 15, 0.1);
		padding-inline-start: 22px;
	}

	.fj-offices > .wp-block-column { padding-inline-end: 8px; }

	.fj-form-card .ff-el-group { margin-bottom: 6px !important; }

	.fj-form-card .ff-btn-submit {
		padding: 7px 16px !important;
		font-size: 12px !important;
	}

	.fj-contact h2 { font-size: clamp(24px, 2.1vw, 31px) !important; }
}
/* Final contact refinements: flush form rows, bolder office icons, tighter rows */
@media (min-width: 861px) {
	.fj-form-card .ff-el-group { margin-bottom: 3px !important; }
	.fj-form-card .ff-el-group:last-of-type { margin-bottom: 8px !important; }

	.fj-office__icon img { width: 18px !important; height: 18px !important; }
	.fj-office__row { margin-bottom: 8px !important; }
}
/* --------------------------------------------------------------------------
   Get in touch — final visual pass (layout only)
   -------------------------------------------------------------------------- */
.fj-contact {
	background: #f6f7f8;
	padding-block: clamp(24px, 2.6vw, 42px) !important;
}

.fj-contact > .wp-block-columns {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.fj-contact h2 {
	font-size: clamp(21px, 1.95vw, 28px) !important;
	line-height: 1.14;
	letter-spacing: -0.02em;
}

.fj-contact .fj-eyebrow { margin-bottom: 8px; }

/* offices: tighter, divider kept */
@media (min-width: 861px) {
	.fj-contact__grid { gap: 8px 18px !important; align-items: flex-start; }

	.fj-offices { gap: 0 14px !important; }

	.fj-offices > .wp-block-column + .wp-block-column {
		border-inline-start: 1px solid rgba(12, 13, 15, 0.08);
		padding-inline-start: 16px;
	}

	.fj-offices > .wp-block-column { padding-inline-end: 0; }

	.fj-office__row { margin-bottom: 7px !important; gap: 9px !important; }
	.fj-office__icon img { width: 15px !important; height: 15px !important; }
	.fj-office__title { font-size: 13px !important; }
	.fj-office__text { font-size: 12.5px !important; line-height: 1.5 !important; }
}

/* form: integrated card, smaller controls */
.fj-form-card {
	background: #fff !important;
	border: 1px solid rgba(12, 13, 15, 0.06) !important;
	border-radius: 10px !important;
	padding: 14px 16px 15px !important;
	box-shadow: none !important;
}

.fj-form-card h3 {
	font-size: 14px !important;
	margin: 0 0 8px !important;
	letter-spacing: -0.01em;
}

.fj-form-card .ff-el-group { margin-bottom: 4px !important; }
.fj-form-card .ff-el-group:last-of-type { margin-bottom: 7px !important; }

.fj-form-card input.ff-el-form-control {
	height: 31px !important;
	min-height: 31px !important;
	padding: 2px 9px !important;
	font-size: 12.5px !important;
}

.fj-form-card textarea.ff-el-form-control {
	height: 50px !important;
	min-height: 50px !important;
	padding: 5px 9px !important;
	font-size: 12.5px !important;
}

.fj-form-card .ff-btn-submit {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	padding: 7px 14px !important;
	font-size: 12px !important;
	border-radius: 4px;
}

.fj-form-card .ff-btn-submit::after {
	content: "\2192";
	font-size: 13px;
	line-height: 1;
}

html[dir="rtl"] .fj-form-card .ff-btn-submit::after {
	content: "\2190";
}

/* phones: comfortable controls, no card overflow */
@media (max-width: 860px) {
	.fj-contact { padding-block: 26px !important; }
	.fj-form-card input.ff-el-form-control { height: 42px !important; min-height: 42px !important; font-size: 14px !important; }
	.fj-form-card textarea.ff-el-form-control { height: 84px !important; min-height: 84px !important; font-size: 14px !important; }
	.fj-form-card .ff-el-group { margin-bottom: 8px !important; }
}
/* Get in touch — iteration 2 (compact + aligned) */
@media (min-width: 861px) {
	.fj-contact { padding-block: 18px 18px !important; }

	.fj-contact__grid { align-items: flex-start !important; gap: 6px 16px !important; }

	.fj-contact .fj-eyebrow { margin-bottom: 6px !important; }
	.fj-contact h2 { margin: 0 !important; }

	/* form */
	.fj-form-card { padding: 11px 14px 11px !important; }
	.fj-form-card h3 { font-size: 13.5px !important; margin: 0 0 6px !important; }
	.fj-form-card .ff-el-group { margin-bottom: 3px !important; }
	.fj-form-card .ff-el-group:last-of-type { margin-bottom: 6px !important; }
	.fj-form-card input.ff-el-form-control { height: 30px !important; min-height: 30px !important; }
	.fj-form-card textarea.ff-el-form-control { height: 44px !important; min-height: 44px !important; }
	.fj-form-card .ff-btn-submit { padding: 6px 13px !important; font-size: 11.5px !important; }

	/* offices */
	.fj-office__row { margin-bottom: 6px !important; gap: 8px !important; }
	.fj-office__icon { margin-top: 2px !important; }
	.fj-office__title { margin-bottom: 1px !important; }
}
/* Inquiry form — final spacing (grid) */
@media (min-width: 861px) {
	.fj-form-card h3 { margin: 0 0 10px !important; }
	.fj-form-card fieldset { row-gap: 4px; }
	.fj-form-card .ff-el-group { margin: 0 !important; padding: 0 !important; }
	.fj-form-card input.ff-el-form-control,
	.fj-form-card textarea.ff-el-form-control { margin: 0 !important; display: block; }
	.fj-form-card .ff-el-group:has(.ff-btn-submit) { margin-top: 3px !important; }
	.fj-form-card .ff-btn-submit { margin-inline-start: 0 !important; }
}
/* Inquiry form grid: prevent column overflow */
@media (min-width: 861px) {
	.fj-form-card fieldset {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.fj-form-card fieldset > .ff-el-group {
		width: 100% !important;
		max-width: 100% !important;
	}

	.fj-form-card fieldset .ff-el-input--content { width: 100% !important; }

	.fj-form-card fieldset input.ff-el-form-control,
	.fj-form-card fieldset textarea.ff-el-form-control {
		width: 100% !important;
		box-sizing: border-box;
	}
}
/* ==========================================================================
   Footer refinement — compact horizontal layout + red orb
   ========================================================================== */
.fj-footer {
	position: relative;
	overflow: hidden;
	padding-top: 26px !important;
}

/* brand row: logo | thin divider | parent company */
.fj-footer__brandrow { display: flex; align-items: center; gap: 14px; }
.fj-footer__logo img { width: 140px; max-width: 44vw; height: auto; }

.fj-footer__parent {
	border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
	padding-inline-start: 14px;
	margin: 0 !important;
	font-size: 9px;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.45);
}

.fj-footer__tag {
	margin: 12px 0 0 !important;
	font-size: 11.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.38);
	max-width: 260px;
}

/* columns */
.fj-footer__top {
	grid-template-columns: 1.5fr 0.75fr 1fr 0.8fr !important;
	gap: 18px 22px !important;
	padding-block: 0 22px !important;
	align-items: start;
	position: relative;
	z-index: 1;
}

.fj-footer__col + .fj-footer__col {
	border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
	padding-inline-start: 20px;
}

.fj-footer__title {
	margin: 0 0 9px !important;
	font-size: 10px !important;
	letter-spacing: 0.14em;
}

.fj-footer .fj-fnav .wp-block-navigation-item__content {
	font-size: 12.5px !important;
	line-height: 1.85 !important;
}

.fj-footer__col--social { padding-inline-end: 120px; }

/* decorative orb */
.fj-footer__orb {
	position: absolute !important;
	inset-inline-end: -150px;
	bottom: -130px;
	width: 480px;
	height: 480px;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(circle at 46% 52%, rgba(234, 17, 27, 0.55) 0%, rgba(234, 17, 27, 0.3) 30%, rgba(234, 17, 27, 0.12) 52%, rgba(234, 17, 27, 0) 68%),
		conic-gradient(from 210deg at 50% 50%, rgba(234, 17, 27, 0) 0deg, rgba(234, 17, 27, 0.4) 70deg, rgba(234, 17, 27, 0) 140deg, rgba(234, 17, 27, 0.35) 250deg, rgba(234, 17, 27, 0) 330deg);
	filter: blur(2px);
}

.fj-footer__orb::after {
	content: "";
	position: absolute;
	inset: 26%;
	border-radius: 50%;
	border: 1px solid rgba(234, 17, 27, 0.35);
	box-shadow: 0 0 60px rgba(234, 17, 27, 0.25) inset;
}

.fj-footer__orb .fj-footer__mark {
	position: absolute;
	inset-inline-end: 150px;
	top: 46%;
	width: 160px;
	margin: 0 !important;
	padding: 0;
	text-align: center;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.3em;
	line-height: 2.1;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	white-space: normal;
}

/* bottom bar */
.fj-footer__bottom {
	padding: 11px 0 13px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	z-index: 1;
}

.fj-footer__legal { font-size: 11px !important; }

@media (max-width: 1024px) {
	.fj-footer__top { grid-template-columns: 1fr 1fr !important; }
	.fj-footer__col--social { padding-inline-end: 0; }
	.fj-footer__orb { width: 380px; height: 380px; inset-inline-end: -160px; bottom: -140px; }
}

@media (max-width: 640px) {
	.fj-footer { padding-top: 22px !important; }
	.fj-footer__brandrow { gap: 12px; }
	.fj-footer__logo img { width: 120px; }
	.fj-footer__top { grid-template-columns: 1fr !important; gap: 18px !important; }
	.fj-footer__col + .fj-footer__col { border-inline-start: 0; padding-inline-start: 0; }
	.fj-footer__orb { width: 300px; height: 300px; inset-inline-end: -140px; bottom: -120px; opacity: 0.9; }
	.fj-footer__orb .fj-footer__mark { inset-inline-end: 40px; font-size: 9px; }
	.fj-footer__bottom { padding-bottom: 66px !important; }
}
/* Footer orb: keep the mark inside the visible area */
.fj-footer__orb { inset-inline-end: -190px !important; }
.fj-footer__orb .fj-footer__mark { inset-inline-end: 225px !important; }
/* Footer background image (supplied artwork) replaces the CSS orb */
.fj-footer {
	background-image: url('/wp-content/themes/flex-jordan/assets/img/footer-bg.jpg') !important;
	background-size: cover !important;
	background-position: center right !important;
	background-repeat: no-repeat !important;
}

.fj-footer__orb {
	position: absolute !important;
	inset: 0 !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	filter: none !important;
	z-index: 1;
}

.fj-footer__orb::after { display: none !important; }

.fj-footer__orb .fj-footer__mark {
	position: absolute;
	inset-inline-end: 58px;
	top: 50%;
	transform: translateY(-50%);
	width: 190px;
	margin: 0 !important;
	text-align: center;
	font-size: 10px;
	letter-spacing: 0.3em;
	line-height: 2.1;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
	.fj-footer__orb .fj-footer__mark { inset-inline-end: 34px; width: 150px; font-size: 9px; }
}

@media (max-width: 640px) {
	.fj-footer { background-position: center right !important; }
	.fj-footer__orb .fj-footer__mark {
		position: static;
		transform: none;
		margin: 14px 0 0 !important;
		width: 100%;
		text-align: start;
		font-size: 9px;
	}
}

/* Footer mark: sit inside the red arc */
.fj-footer__orb { padding: 0 !important; }
.fj-footer__orb .fj-footer__mark { inset-inline-end: 18px !important; }

/* Footer background: subtle dim overlay so the artwork stays in the background */
.fj-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(90deg,
		rgba(10, 11, 13, 0.9) 0%,
		rgba(10, 11, 13, 0.82) 45%,
		rgba(10, 11, 13, 0.55) 72%,
		rgba(10, 11, 13, 0.32) 100%);
}
/* Partners: auto-scrolling marquee (re-enabled) */
.fj-partners__row {
	animation: fj-marquee 40s linear infinite !important;
	flex-wrap: nowrap !important;
	width: max-content;
}
.fj-partners__row:hover { animation-play-state: paused; }
html[dir="rtl"] .fj-partners__row { animation-name: fj-marquee-rtl !important; }
/* Partners marquee: force the animation even when the OS asks for reduced motion */
@media (prefers-reduced-motion: reduce) {
	.fj-partners__row {
		animation: fj-marquee 40s linear infinite !important;
		transform: none !important;
	}
	html[dir="rtl"] .fj-partners__row {
		animation-name: fj-marquee-rtl !important;
	}
}

.fj-partners { overflow: hidden !important; }
/* Partners: auto-scrolling marquee (re-enabled) */
.fj-partners__row {
	animation: fj-marquee 40s linear infinite !important;
	flex-wrap: nowrap !important;
	width: max-content;
}
.fj-partners__row:hover { animation-play-state: paused; }
html[dir="rtl"] .fj-partners__row { animation-name: fj-marquee-rtl !important; }
/* Footer: compact proportions to match the reference */
.fj-footer { padding-top: 16px !important; }
.fj-footer__brandrow { gap: 10px; }
.fj-footer__logo img { width: 104px; }
.fj-footer__parent { font-size: 8px; line-height: 1.5; padding-inline-start: 10px; }
.fj-footer__tag { margin-top: 8px !important; font-size: 10px; line-height: 1.5; max-width: 240px; }

.fj-footer__top {
	grid-template-columns: 1.7fr 0.65fr 0.95fr 0.7fr !important;
	gap: 14px 18px !important;
	padding-block: 0 14px !important;
}

.fj-footer__col + .fj-footer__col { padding-inline-start: 16px; }

.fj-footer__title { font-size: 9px !important; margin: 0 0 6px !important; letter-spacing: 0.12em; }

.fj-footer .fj-fnav .wp-block-navigation-item__content {
	font-size: 11.5px !important;
	line-height: 1.7 !important;
}

.fj-social { gap: 8px !important; }
.fj-social__btn a { width: 30px; height: 30px; }
.fj-social__btn img { width: 13px; height: 13px; }

.fj-footer__bottom { padding: 8px 0 10px !important; }
.fj-footer__legal { font-size: 10px !important; }

.fj-footer__orb .fj-footer__mark { font-size: 9px; letter-spacing: 0.26em; line-height: 1.9; }

@media (max-width: 640px) {
	.fj-footer__logo img { width: 96px; }
	.fj-footer__top { gap: 14px !important; }
	.fj-footer__bottom { padding-bottom: 58px !important; }
}
/* Footer social icons: always one row */
.fj-social { flex-wrap: nowrap !important; gap: 6px !important; }
.fj-footer__col--social { padding-inline-end: 0 !important; min-width: 0; }
.fj-social__btn { flex: 0 0 auto; }
.fj-social__btn a { width: 28px; height: 28px; }
.fj-social__btn img { width: 12px; height: 12px; }

@media (max-width: 640px) {
	.fj-social { gap: 8px !important; }
	.fj-social__btn a { width: 32px; height: 32px; }
	.fj-social__btn img { width: 14px; height: 14px; }
}
/* Partners marquee: animate the `translate` property (the earlier
   `transform: none !important` would otherwise override the animation) */
@keyframes fj-slide-ltr {
	from { translate: 0 0; }
	to   { translate: -50% 0; }
}

@keyframes fj-slide-rtl {
	from { translate: 0 0; }
	to   { translate: 50% 0; }
}

.fj-partners__row {
	animation: fj-slide-ltr 40s linear infinite !important;
	transform: none !important;
}

html[dir="rtl"] .fj-partners__row {
	animation-name: fj-slide-rtl !important;
}

.fj-partners__row:hover { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
	.fj-partners__row { animation: fj-slide-ltr 40s linear infinite !important; }
	html[dir="rtl"] .fj-partners__row { animation-name: fj-slide-rtl !important; }
}
/* Products archive: calmer page title */
.fj-catalogue h1 {
	font-size: clamp(26px, 2.9vw, 40px) !important;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 14px !important;
}
/* Product cards: spec badge (thickness / size / colours) */
.fj-ccard__ex {
	display: inline-block;
	margin: 0 0 10px !important;
	padding: 4px 9px;
	background: #f6f7f8;
	border: 1px solid var(--fj-line);
	border-radius: 4px;
	font-size: 11.5px;
	line-height: 1.45;
	color: var(--fj-muted);
}

.fj-ccard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fj-ccard__more { margin-top: auto !important; }

/* Single product: spec paragraph */
.fj-single-product .wp-block-post-content p {
	max-width: 60ch;
}
/* Gallery page */
.fj-gallery-head {
	padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 48px) 10px;
	max-width: 1344px;
	margin-inline: auto;
}

.fj-gallery-title {
	font-size: clamp(26px, 3vw, 40px) !important;
	letter-spacing: -0.02em;
	margin: 0 !important;
}

.fj-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px !important;
	max-width: 1344px;
	margin: 0 auto clamp(40px, 5vw, 64px);
	padding: 16px clamp(20px, 4vw, 48px) 0 !important;
}

.fj-gallery .wp-block-image {
	width: 100% !important;
	margin: 0 !important;
}

.fj-gallery .wp-block-image img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

@media (max-width: 1024px) {
	.fj-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.fj-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
	.fj-gallery .wp-block-image img { height: 140px; }
}
/* Gallery grid — forced, final */
.fj-gallery,
.wp-block-post-content .fj-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 14px !important;
	width: 100% !important;
	max-width: 1344px !important;
	margin: 0 auto 56px !important;
	padding: 0 clamp(20px, 4vw, 48px) !important;
	box-sizing: border-box;
}

.fj-gallery figure.wp-block-image,
.fj-gallery .wp-block-image {
	width: 100% !important;
	margin: 0 !important;
	display: block !important;
}

.fj-gallery figure.wp-block-image img,
.fj-gallery .wp-block-image img {
	width: 100% !important;
	height: 200px !important;
	object-fit: cover !important;
	border-radius: 6px;
	display: block !important;
}

@media (max-width: 1024px) {
	.fj-gallery, .wp-block-post-content .fj-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.fj-gallery, .wp-block-post-content .fj-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.fj-gallery figure.wp-block-image img { height: 140px !important; }
}
/* Gallery page: widen the content column so the grid spans the shell */
.page-id-368 .fj-page-body,
.page-id-369 .fj-page-body {
	max-width: 1344px !important;
	width: 100% !important;
	padding-inline: 0 !important;
}

.page-id-368 .fj-gallery,
.page-id-369 .fj-gallery {
	margin-top: 10px !important;
}
/* Gallery: break out of the narrow page column and use the full shell */
.page-id-368 .fj-gallery,
.page-id-369 .fj-gallery {
	width: 100vw !important;
	max-width: 1344px !important;
	margin-inline: calc(50% - min(50vw, 672px)) !important;
	padding-inline: clamp(20px, 4vw, 48px) !important;
	box-sizing: border-box;
}
/* --------------------------------------------------------------------------
   Product specification table (single product)
   -------------------------------------------------------------------------- */

.fj-single-body .fj-spec-title {
	margin: 26px 0 0 !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fj-red-text);
}

.fj-single-body .fj-spec-table { margin: 10px 0 0 !important; width: 100%; }

.fj-single-body .fj-spec-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.fj-single-body .fj-spec-table th,
.fj-single-body .fj-spec-table td {
	padding: 9px 0;
	border: 0;
	border-bottom: 1px solid var(--fj-line);
	text-align: start;
	vertical-align: top;
	background: transparent;
}

.fj-single-body .fj-spec-table th {
	width: 40%;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--fj-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fj-single-body .fj-spec-table td { color: var(--fj-ink); font-weight: 500; }

.fj-single-body .fj-spec-table tr:first-child th,
.fj-single-body .fj-spec-table tr:first-child td { padding-top: 0; }

/* --------------------------------------------------------------------------
   Sub-category chips (product category pages)
   -------------------------------------------------------------------------- */

.fj-subcats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 30px;
}

.fj-subcats__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--fj-line);
	border-radius: 999px;
	background: #fff;
	color: var(--fj-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 0.2s var(--fj-ease), color 0.2s var(--fj-ease);
}

.fj-subcats__item:hover {
	border-color: var(--fj-red-text);
	color: var(--fj-red-text);
}

.fj-subcats__count {
	color: var(--fj-muted);
	font-size: 12px;
	font-weight: 500;
}

/* Active sub-category chip */
.fj-subcats__item.is-active {
	background: var(--fj-ink);
	border-color: var(--fj-ink);
	color: #fff;
}

.fj-subcats__item.is-active .fj-subcats__count { color: rgba(255, 255, 255, 0.65); }

.fj-subcats__item.is-active:hover {
	background: var(--fj-ink);
	border-color: var(--fj-ink);
	color: #fff;
}

/* ==========================================================================
   Reference alignment — Partners / Featured Solutions / Support / Contact
   ========================================================================== */

/* --- Our partners: single static row --- */
.fj-partners {
	display: flex !important;
	align-items: center;
	gap: clamp(14px, 2vw, 28px);
	padding-block: clamp(12px, 1.4vw, 18px) !important;
}

.fj-partners__label {
	flex: 0 0 auto;
	margin: 0 !important;
	text-align: start;
	font-size: 10px;
	letter-spacing: 0.18em;
	white-space: nowrap;
}

.fj-partners__row {
	flex: 1 1 auto;
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: space-between !important;
	gap: clamp(8px, 1.3vw, 22px) !important;
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
	padding-inline: 0 !important;
	animation: none !important;
	translate: none !important;
}

.fj-partners__img {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	margin: 0 !important;
	opacity: 1 !important;
}

.fj-partners__img img {
	height: clamp(16px, 1.55vw, 24px) !important;
	width: auto !important;
	max-width: 100%;
	object-fit: contain;
}

.fj-partners__img:first-child {
	padding-inline-end: 0 !important;
	border-inline-end: 0 !important;
	margin-inline-end: 0 !important;
}

.fj-partners__img + .fj-partners__img {
	padding-inline-start: clamp(8px, 1.3vw, 22px);
	border-inline-start: 1px solid rgba(12, 13, 15, 0.12);
}

@media (max-width: 900px) {
	.fj-partners { flex-direction: column; align-items: flex-start; gap: 10px; }
	.fj-partners__row { flex-wrap: wrap !important; justify-content: flex-start !important; gap: 10px 18px !important; }
	.fj-partners__img + .fj-partners__img { border: 0; padding-inline-start: 0; }
}

/* --- Featured solutions: heading left, cards right --- */
.fj-solutions {
	display: grid !important;
	grid-template-columns: minmax(210px, 0.8fr) 3fr !important;
	column-gap: clamp(24px, 3vw, 44px);
	align-items: start;
	padding-block: clamp(28px, 3.2vw, 46px) !important;
	padding-inline: max(calc((100% - 1344px) / 2), clamp(20px, 4vw, 48px)) !important;
}

.fj-solutions__head { margin: 0 !important; padding: 0 !important; }
.fj-solutions__head .fj-eyebrow { margin-bottom: 8px; }
.fj-solutions__head h2 {
	margin: 0 !important;
	font-size: clamp(25px, 2.3vw, 34px);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.fj-solutions__body { display: flex; flex-direction: column; min-width: 0; }
.fj-solutions__link { margin: 0 0 10px !important; text-align: end; }

.fj-solutions__grid {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-inline: 0 !important;
	gap: 12px !important;
}

.fj-solutions .fj-scard__media img { height: clamp(64px, 6vw, 86px) !important; }
.fj-solutions .fj-scard__body { padding: 11px 14px 12px !important; gap: 10px !important; }
.fj-solutions .fj-scard__title { font-size: 13.5px; margin: 0 0 2px !important; }
.fj-solutions .fj-scard__sub { font-size: 11.5px; line-height: 1.4; }
.fj-solutions .fj-scard__arrow { font-size: 14px; }

@media (max-width: 1024px) {
	.fj-solutions { grid-template-columns: 1fr !important; row-gap: 16px; }
	.fj-solutions__link { text-align: start; }
	.fj-solutions .fj-scard__media img { height: 120px !important; }
	.fj-solutions .fj-scard__title { font-size: 15px; }
	.fj-solutions .fj-scard__sub { font-size: 12.5px; }
}

@media (max-width: 640px) {
	.fj-solutions__grid { grid-template-columns: 1fr !important; }
}

/* --- Support & services --- */
.fj-support { padding-block: clamp(26px, 3vw, 44px) !important; }
.fj-support h2 { font-size: clamp(24px, 2.2vw, 33px); }
.fj-sup { padding: 15px 17px !important; min-height: 0 !important; gap: 14px; align-items: center; }
.fj-sup__icon-wrap { width: 38px; height: 38px; }
.fj-sup__icon-wrap img { width: 18px; height: 18px; }
.fj-sup__title { font-size: 14px; margin: 0 0 2px !important; }
.fj-sup__text { font-size: 12.5px; line-height: 1.5; }

@media (max-width: 860px) {
	.fj-sup { align-items: flex-start; padding: 14px !important; }
}

/* --- Get in touch --- */
.fj-contact { padding-block: clamp(26px, 3.2vw, 46px) !important; }
.fj-contact h2 { font-size: clamp(23px, 2.2vw, 32px); }
.fj-contact__grid { gap: clamp(22px, 2.6vw, 38px); }
.fj-form-card { padding: clamp(18px, 2vw, 24px) !important; }
.fj-form-card h3 { margin: 0 0 14px; font-size: 16px; }

.fj-offices > .wp-block-column + .wp-block-column {
	border-inline-start: 1px solid rgba(12, 13, 15, 0.1);
	padding-inline-start: 18px;
}

@media (max-width: 640px) {
	.fj-offices > .wp-block-column + .wp-block-column { border: 0; padding-inline-start: 0; }
}

/* Solutions link paragraph (rendered paragraph has no custom class) */
.fj-solutions__body > p:first-child,
.fj-solutions__body > .wp-block-paragraph:first-child {
	margin: 0 0 10px !important;
	text-align: end;
}

@media (max-width: 1024px) {
	.fj-solutions__body > p:first-child,
	.fj-solutions__body > .wp-block-paragraph:first-child { text-align: start; }
}

/* Corrections for WP constrained-layout auto margins inside the solutions grid */
.fj-solutions > .fj-solutions__head,
.fj-solutions > .fj-solutions__body {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Partners sizing so all logos fit on one row at desktop */
.fj-partners__img img { height: clamp(14px, 1.1vw, 18px) !important; }
.fj-partners__row { gap: clamp(6px, 1vw, 14px) !important; }
.fj-partners__img + .fj-partners__img { padding-inline-start: clamp(6px, 1vw, 14px); }

@media (max-width: 1150px) {
	.fj-partners { flex-direction: column; align-items: flex-start; gap: 10px; }
	.fj-partners__row { flex-wrap: wrap !important; justify-content: flex-start !important; gap: 10px 18px !important; }
	.fj-partners__img + .fj-partners__img { border: 0; padding-inline-start: 0; }
}

/* Final density pass (match reference proportions) */
.fj-solutions { padding-block: clamp(14px, 1.5vw, 20px) !important; }
.fj-solutions__link { margin: 0 0 6px !important; line-height: 1.25; }
.fj-solutions .fj-scard__media img { height: clamp(56px, 4.8vw, 70px) !important; }
.fj-solutions .fj-scard__body { padding: 9px 12px 10px !important; gap: 8px !important; }
.fj-solutions .fj-scard__title { font-size: 13px; }
.fj-solutions .fj-scard__sub { font-size: 11px; line-height: 1.35; }

.fj-support { padding-block: clamp(16px, 1.6vw, 22px) !important; }
.fj-sup { padding: 10px 14px !important; }
.fj-sup__icon-wrap { width: 34px; height: 34px; }
.fj-sup__icon-wrap img { width: 16px; height: 16px; }

.fj-contact { padding-block: clamp(20px, 2.4vw, 34px) !important; }

@media (max-width: 1024px) {
	.fj-solutions { padding-block: 28px !important; }
	.fj-solutions .fj-scard__media img { height: 120px !important; }
}

/* Solutions density fine-tune */
.fj-solutions { padding-block: clamp(10px, 1.1vw, 14px) !important; }
.fj-solutions__link { font-size: 13px !important; line-height: 1.2 !important; margin: 0 0 6px !important; }
.fj-solutions .fj-scard__media img { height: clamp(54px, 4.4vw, 62px) !important; }

/* Solutions: reset WP block gap + paragraph sizing */
.fj-solutions > .fj-solutions__body { margin-top: 0 !important; }
.fj-solutions > .fj-solutions__head { margin-top: 0 !important; }
.fj-solutions__body > p:first-child,
.fj-solutions__body > .wp-block-paragraph:first-child {
	margin: 0 0 6px !important;
	text-align: end;
	font-size: 13px !important;
	line-height: 1.2 !important;
}

/* Partners: final sizing */
.fj-partners__img img { height: clamp(15px, 1.25vw, 19px) !important; }
.fj-partners__img + .fj-partners__img { border-inline-start: 1px solid rgba(12, 13, 15, 0.14); }

@media (max-width: 1240px) {
	.fj-partners { flex-direction: column; align-items: flex-start; gap: 10px; }
	.fj-partners__row { flex-wrap: wrap !important; justify-content: flex-start !important; gap: 10px 18px !important; }
	.fj-partners__img + .fj-partners__img { border: 0; padding-inline-start: 0; }
}

/* ==========================================================================
   FINAL CALIBRATION — measured against the reference (1440px viewport)
   Reference metrics: shell 1280 (80px gutters) for these four sections.
   Partners 105px · Solutions 259px · Support 155px · Contact 223px.
   ========================================================================== */

/* --- Shared shell for the four sections --- */
.fj-partners,
.fj-solutions,
.fj-support,
.fj-contact {
	padding-inline: max(calc((100% - 1280px) / 2), clamp(20px, 5.5vw, 80px)) !important;
}

/* --- Our Partners --- */
.fj-partners {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 13px !important;
	padding-block: 16px 25px !important;
	background: #fefefe !important;
}

.fj-partners__label {
	margin: 0 !important;
	text-align: start !important;
	font-size: 9.5px !important;
	line-height: 1.2 !important;
	letter-spacing: 0.16em !important;
}

.fj-partners__row {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0 !important;
	animation: none !important;
	translate: none !important;
}

.fj-partners__img {
	flex: 0 0 auto !important;
	display: flex !important;
	align-items: center !important;
	margin: 0 !important;
	opacity: 1 !important;
}

.fj-partners__img img {
	height: auto !important;
	max-width: none !important;
	object-fit: contain;
}

.fj-partners__img:nth-child(1) img { width: 95px !important; }
.fj-partners__img:nth-child(2) img { width: 120px !important; }
.fj-partners__img:nth-child(3) img { width: 97px !important; }
.fj-partners__img:nth-child(4) img { width: 109px !important; }
.fj-partners__img:nth-child(5) img { width: 116px !important; }
.fj-partners__img:nth-child(6) img { width: 114px !important; }
.fj-partners__img:nth-child(7) img { width: 94px !important; }
.fj-partners__img:nth-child(8) img { width: 116px !important; }
.fj-partners__img:nth-child(9) img { width: 92px !important; }

.fj-partners__img + .fj-partners__img {
	border: 0 !important;
	padding-inline-start: 0 !important;
}

.fj-partners__img:first-child {
	padding-inline-end: 30px !important;
	border-inline-end: 1px solid rgba(12, 13, 15, 0.18) !important;
	margin-inline-end: 0 !important;
}

@media (max-width: 1240px) {
	.fj-partners__row { flex-wrap: wrap !important; justify-content: center !important; gap: 12px 26px !important; }
	.fj-partners__img:first-child { border: 0 !important; padding-inline-end: 0 !important; }
}

/* --- Featured Solutions --- */
.fj-solutions {
	display: grid !important;
	grid-template-columns: 236px minmax(0, 1fr) !important;
	column-gap: 56px !important;
	align-items: start !important;
	padding-block: 18px 16px !important;
	background: #f6f7f9 !important;
}

.fj-solutions__head h2 {
	font-size: 26px !important;
	line-height: 1.08 !important;
	letter-spacing: -0.03em !important;
}

.fj-solutions__link {
	font-size: 13px !important;
	line-height: 1.25 !important;
	margin: 0 0 8px !important;
}

.fj-solutions .fj-scard__media img { height: 135px !important; }
.fj-solutions .fj-scard__body { padding: 14px 16px 15px !important; gap: 8px !important; }
.fj-solutions .fj-scard__title { font-size: 15px !important; margin: 0 0 2px !important; }
.fj-solutions .fj-scard__sub { font-size: 12.5px !important; line-height: 1.4 !important; }
.fj-solutions .fj-scard__arrow { font-size: 15px !important; }

@media (max-width: 1024px) {
	.fj-solutions { grid-template-columns: 1fr !important; row-gap: 16px !important; }
	.fj-solutions .fj-scard__media img { height: 170px !important; }
}

/* --- Support & Services --- */
.fj-support {
	grid-template-columns: 250px minmax(0, 1fr) !important;
	column-gap: 45px !important;
	align-items: center !important;
	padding-block: 22px !important;
	background: #fefefe !important;
}

.fj-support h2 {
	font-size: 27px !important;
	line-height: 1.06 !important;
}

.fj-sup {
	padding: 20px 18px !important;
	gap: 16px !important;
	align-items: center !important;
	min-height: 0 !important;
}

.fj-sup__icon-wrap { width: 35px !important; height: 35px !important; }
.fj-sup__icon-wrap img { width: 17px !important; height: 17px !important; }
.fj-sup__title { font-size: 15px !important; margin: 0 0 4px !important; }
.fj-sup__text { font-size: 13px !important; line-height: 1.6 !important; }

.fj-support__grid { gap: 12px !important; }

@media (max-width: 860px) {
	.fj-support { grid-template-columns: 1fr !important; row-gap: 16px !important; padding-block: 24px !important; }
	.fj-sup { align-items: flex-start !important; padding: 16px !important; }
}

/* --- Get in Touch --- */
.fj-contact {
	padding-block: 20px !important;
	background: #f7f8fa !important;
}

.fj-contact__grid { gap: 24px !important; }
.fj-contact__grid > .wp-block-column:nth-child(1) { flex-basis: 20% !important; }
.fj-contact__grid > .wp-block-column:nth-child(2) { flex-basis: 42% !important; }
.fj-contact__grid > .wp-block-column:nth-child(3) { flex-basis: 34% !important; }

.fj-contact h2 { font-size: 26px !important; }
.fj-form-card { padding: 18px 20px !important; }
.fj-form-card h3 { margin: 0 0 12px !important; font-size: 16px !important; }

@media (max-width: 781px) {
	.fj-contact__grid > .wp-block-column { flex-basis: 100% !important; }
}

/* Partners: fixed gaps (keeps the separator centred between Flex and xTool) */
.fj-partners__row {
	justify-content: flex-start !important;
	gap: 35px !important;
}
.fj-partners__img:first-child {
	padding-inline-end: 30px !important;
	margin-inline-end: 0 !important;
}

@media (max-width: 1240px) {
	.fj-partners__row { justify-content: center !important; gap: 12px 26px !important; }
}

/* Neutralise the legacy marquee margins (higher specificity) */
.fj-partners__row .fj-partners__img,
html[dir="rtl"] .fj-partners__row .fj-partners__img {
	margin: 0 !important;
}

/* Calibration pass 2 */
.fj-partners__row {
	justify-content: space-between !important;
	gap: 0 !important;
}

.fj-solutions .fj-scard__body { padding: 12px 16px 13px !important; gap: 6px !important; }
.fj-solutions .fj-scard__title { line-height: 1.25 !important; }
.fj-solutions .fj-scard__sub { line-height: 1.35 !important; }

@media (max-width: 1240px) {
	.fj-partners__row { justify-content: center !important; gap: 12px 26px !important; }
}

/* Contact: use the same 1280 shell as the other three sections */
.fj-contact__grid {
	padding-inline: 0 !important;
	max-width: none !important;
	margin-inline: 0 !important;
}

/* Final micro-calibration (reference deltas ≤8px) */
.fj-partners__img:nth-child(1) img { width: 99px !important; }
.fj-partners__img:nth-child(2) img { width: 125px !important; }
.fj-partners__img:nth-child(3) img { width: 101px !important; }
.fj-partners__img:nth-child(4) img { width: 113px !important; }
.fj-partners__img:nth-child(5) img { width: 121px !important; }
.fj-partners__img:nth-child(6) img { width: 119px !important; }
.fj-partners__img:nth-child(7) img { width: 98px !important; }
.fj-partners__img:nth-child(8) img { width: 121px !important; }
.fj-partners__img:nth-child(9) img { width: 96px !important; }

.fj-solutions__link { margin-bottom: 14px !important; }
.fj-solutions { padding-bottom: 12px !important; }

.fj-sup { padding: 20px 20px !important; gap: 18px !important; }

.fj-contact { padding-block: 18px !important; }

/* Solutions: match reference card offset (48px) and section height (259px) */
.fj-solutions__link { margin-bottom: 21px !important; }
.fj-solutions .fj-scard__body { padding-bottom: 10px !important; }
.fj-solutions { padding-bottom: 14px !important; }

/* Solutions link paragraph (class is not present in the saved markup) */
.fj-solutions__body > p:first-child,
.fj-solutions__body > .wp-block-paragraph:first-child {
	margin-bottom: 13px !important;
}

/* Get in Touch: compact form to match the reference section height (223px) */
.fj-contact { padding-block: 16px !important; }
.fj-form-card { padding: 12px 16px !important; background: #f2f3f5 !important; }
.fj-form-card h3 { font-size: 15px !important; margin: 0 0 8px !important; }
.fj-form-card .ff-el-form-control {
	height: 30px !important;
	padding: 0 10px !important;
	font-size: 12.5px !important;
}
.fj-form-card textarea.ff-el-form-control { height: 42px !important; padding: 7px 10px !important; }
.fj-form-card .ff-el-group { margin-bottom: 6px !important; }
.fj-form-card fieldset { row-gap: 4px !important; }
.fj-form-card .ff-btn-submit {
	height: 30px !important;
	padding: 0 16px !important;
	font-size: 12px !important;
}

/* Get in Touch: final compact pass to reach the 223px reference height */
.fj-form-card { padding: 8px 14px !important; }
.fj-form-card h3 { font-size: 14px !important; margin: 0 0 6px !important; }
.fj-form-card .ff-el-form-control {
	height: 28px !important;
	padding: 0 8px !important;
	font-size: 12px !important;
}
.fj-form-card textarea.ff-el-form-control { height: 36px !important; padding: 6px 8px !important; }
.fj-form-card fieldset { row-gap: 3px !important; }
.fj-form-card .ff-btn-submit {
	height: 28px !important;
	padding: 0 14px !important;
	font-size: 11.5px !important;
}

/* Form controls: element-specific selectors so they win over the earlier rules */
.fj-form-card input.ff-el-form-control {
	height: 26px !important;
	min-height: 26px !important;
	padding: 0 8px !important;
	font-size: 12px !important;
}
.fj-form-card textarea.ff-el-form-control {
	height: 34px !important;
	min-height: 34px !important;
	padding: 5px 8px !important;
	font-size: 12px !important;
}
.fj-form-card .ff-btn-submit {
	height: 27px !important;
	min-height: 27px !important;
	padding: 0 14px !important;
	font-size: 11.5px !important;
}

/* ==========================================================================
   Floating WhatsApp button — single global instance, fixed bottom-right
   ========================================================================== */
.fj-wa {
	position: fixed !important;
	inset-inline-end: auto !important;
	inset-inline-start: auto !important;
	right: 24px !important;
	left: auto !important;
	bottom: 24px !important;
	top: auto !important;
	z-index: 999 !important;
	margin: 0 !important;
}

@media (max-width: 640px) {
	.fj-wa {
		inset-inline-end: auto !important;
		inset-inline-start: auto !important;
		right: 24px !important;
		left: auto !important;
		bottom: 24px !important;
	}
	.fj-wa__btn .wp-block-button__link { width: 48px !important; height: 48px !important; }
}

/* ==========================================================================
   Offices: shared three-row grid so phone and e-mail rows align across
   both branches (Amman 3-line address vs Irbid 2-line address).
   ========================================================================== */
.fj-offices {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	grid-template-rows: repeat(3, auto);
	column-gap: 22px !important;
	row-gap: 13px !important;
	align-items: start;
}

.fj-offices > .wp-block-column {
	display: grid !important;
	grid-template-rows: subgrid;
	grid-row: 1 / span 3;
	row-gap: 13px;
	min-width: 0;
	flex-basis: auto !important;
	width: auto !important;
}

.fj-offices .fj-office__row {
	margin: 0 !important;
}

@media (max-width: 781px) {
	.fj-offices {
		grid-template-columns: 1fr !important;
		grid-template-rows: none;
		row-gap: 0 !important;
	}
	.fj-offices > .wp-block-column {
		display: block !important;
		grid-row: auto;
		grid-template-rows: none;
	}
	.fj-offices .fj-office__row {
		margin-bottom: 7px !important;
	}
}

/* ==========================================================================
   Homepage calibration to the reference PDF (1440px)
   ========================================================================== */

/* Header */
.fj-header__inner { padding-block: 7px !important; }

/* Hero */
.fj-hero { min-height: 480px !important; }

/* Features bar */
.fj-stats { padding-block: 26px !important; }

/* Our Products */
.fj-products { padding-block: 32px !important; background: #fff !important; }
.fj-products .fj-section-head { margin-bottom: 24px; }
.fj-products h2 { font-size: clamp(28px, 2.8vw, 40px) !important; }
.fj-pcard__media img { height: 120px !important; }
.fj-pcard__body { padding: 10px 12px 11px !important; }
.fj-pcard__title { font-size: 13px; }

/* About */
.fj-about { padding-block: 40px !important; }
.fj-about h2 { font-size: clamp(30px, 3vw, 44px) !important; margin-bottom: 14px !important; }
.fj-about__text {
	font-size: 14.5px !important;
	line-height: 1.65 !important;
	margin-bottom: 18px !important;
	max-width: 480px !important;
}
.fj-about .wp-block-button__link { padding: 11px 22px !important; font-size: 13px !important; }

/* Homepage calibration — pass 2 (hero, about, footer) */
.fj-hero .wp-block-cover__inner-container { padding-block: clamp(36px, 4vw, 56px) !important; }
.fj-about { padding-block: 30px !important; }
.fj-about h2 { margin-bottom: 10px !important; }
.fj-about__text { margin-bottom: 14px !important; }

.fj-footer { padding-top: 10px !important; }
.fj-footer__bottom { padding-block: 12px 14px !important; }
.fj-footer__title { margin-bottom: 8px !important; }
.fj-footer .fj-fnav .wp-block-navigation-item__content { padding-block: 3px !important; font-size: 13px !important; }

/* Footer nav: keep labels on one line so columns do not grow */
.fj-footer .fj-fnav .wp-block-navigation-item__content {
	font-size: 12px !important;
	padding-block: 3px !important;
	white-space: nowrap;
}

/* Footer nav: compact rows (reference density) */
.fj-footer .fj-fnav .wp-block-navigation-item__content {
	font-size: 11.5px !important;
	line-height: 1.45 !important;
	padding: 1px 0 !important;
}
.fj-footer__title { margin-bottom: 6px !important; }

/* Footer: remove layout block gaps so the footer height matches the reference */
.fj-footer > * { margin-block-start: 0 !important; }
.fj-footer > .fj-footer__bottom {
	margin-top: 10px !important;
	padding-block: 10px 12px !important;
}

/* Hero: reference type scale and 1280 shell (80px gutters) */
.fj-hero .wp-block-cover__inner-container {
	padding-inline: max(calc((100% - 1280px) / 2), clamp(20px, 5.5vw, 80px)) !important;
}
.fj-hero h1 { font-size: clamp(38px, 4.5vw, 64px) !important; }
.fj-hero__copy { max-width: 600px !important; }

/* ==========================================================================
   Global shell: reference content width = 1280px at 1440 (80px gutters)
   ========================================================================== */
.fj-header__inner,
.fj-hero__grid,
.fj-stats__grid,
.fj-products__grid,
.fj-about__grid,
.fj-section-head,
.fj-footer__top,
.fj-footer__bottom {
	max-width: 1440px !important;
	padding-inline: clamp(20px, 5.5vw, 80px) !important;
}

/* Support heading lives inside the section grid – no extra shell padding */
.fj-support .fj-section-head {
	max-width: none !important;
	padding-inline: 0 !important;
}

/* Hero: left-align the lead paragraph and match the reference typography */
.fj-hero__lead {
	margin-inline: 0 auto !important;
	max-width: 470px !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
}
.fj-hero__copy > p,
.fj-hero__copy > .wp-block-paragraph {
	margin-inline: 0 !important;
}

/* Hero spacing to match the reference rhythm */
.fj-hero__copy .fj-eyebrow { margin-bottom: 14px !important; }
.fj-hero h1 { margin-bottom: 16px !important; }
.fj-hero__lead { margin-bottom: 26px !important; }

/* Header: language switcher as in the reference (plain EN | AR) */
.fj-lang {
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
}
.fj-lang__item {
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 8px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: rgba(255, 255, 255, 0.55) !important;
	background: transparent !important;
}
.fj-lang__item.is-current {
	color: #fff !important;
	background: transparent !important;
}
.fj-lang__item + .fj-lang__item { border-inline-start: 1px solid rgba(255, 255, 255, 0.25); }

/* Product cards: reference title size */
.fj-pcard__title { font-size: 13.5px; }

/* Hero: full-width cover inner (80px gutters) + reference type scale */
.fj-hero .wp-block-cover__inner-container { max-width: 1440px !important; }
.fj-hero__copy { max-width: 640px !important; }
.fj-hero h1 { font-size: clamp(40px, 4.7vw, 68px) !important; }
.fj-hero__lead { max-width: 500px !important; }

/* Hero paragraph measure: match the reference line breaks (3 lines) */
.fj-hero__lead { max-width: 460px !important; }
.fj-hero h1 { margin-bottom: 20px !important; }

/* Hero: heading and CTA share the exact left edge of the eyebrow and lead
   (WP constrained layout was centring them inside the 640px copy column). */
.fj-hero h1,
.fj-hero__actions { margin-inline: 0 !important; }

/* WhatsApp badge is now a static icon (no link): no pointer / hover lift */
.fj-wa__btn .wp-block-button__link { cursor: default !important; }
.fj-wa__btn .wp-block-button__link:hover {
	transform: none !important;
	background: #25d366 !important;
	box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Support cards: reference icon scale and icon-to-text gap */
.fj-sup { gap: 30px !important; }
.fj-sup__icon-wrap { width: 42px !important; height: 42px !important; }
.fj-sup__icon-wrap img { width: 20px !important; height: 20px !important; }

/* Footer: breathing room above the content + reference spacing rhythm */
.fj-footer { padding-top: 28px !important; }
.fj-footer__tag { margin-top: 18px !important; }
.fj-footer__title { margin-bottom: 12px !important; }
.fj-footer__top { padding-block: 0 8px !important; }
.fj-footer > .fj-footer__bottom {
	margin-top: 6px !important;
	padding-block: 8px 10px !important;
}

/* Footer: keep the height tight after the top-padding increase */
.fj-footer__top { padding-block: 0 4px !important; }
.fj-footer > .fj-footer__bottom {
	margin-top: 4px !important;
	padding-block: 7px 9px !important;
}

/* ==========================================================================
   Client round: Cairo for both languages, About hero, products filter
   ========================================================================== */

/* Cairo across the whole site (Arabic and English) */
body.fj,
body.fj h1,
body.fj h2,
body.fj h3,
body.fj h4,
body.fj h5,
body.fj h6,
body.fj .wp-block-heading,
body.fj button,
body.fj input,
body.fj textarea,
body.fj select,
body.fj .wp-block-button__link,
body.fj .wp-block-navigation-item__content,
body.fj .fj-eyebrow,
body.fj .fj-footer__title {
	font-family: "Cairo", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Inner page hero becomes an image hero when the page has a featured image
   (the client changes the image from the page editor). */
.fj-page-hero.has-fj-hero-image {
	display: flex;
	align-items: center;
	min-height: clamp(240px, 30vw, 360px);
	padding-block: clamp(48px, 5vw, 76px);
	border-bottom: 0;
	background-image:
		linear-gradient(90deg, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.62) 48%, rgba(10, 11, 13, 0.18) 100%),
		var(--fj-page-hero-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.fj-page-hero.has-fj-hero-image .fj-page-title {
	color: #fff;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

html[dir="rtl"] .fj-page-hero.has-fj-hero-image {
	background-image:
		linear-gradient(270deg, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.62) 48%, rgba(10, 11, 13, 0.18) 100%),
		var(--fj-page-hero-image);
}

/* Header dropdown (Products → categories) */
.fj-nav .wp-block-navigation__submenu-container {
	background: #0c0d0f !important;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
	padding: 8px;
	min-width: 250px;
	z-index: 999;
}

.fj-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
	width: 100%;
}

.fj-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	color: rgba(255, 255, 255, 0.78) !important;
	font-size: 13px !important;
	font-weight: 500;
	padding: 9px 12px !important;
	border-radius: 6px;
	white-space: nowrap;
}

.fj-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.07);
}

.fj-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
	display: none;
}

.fj-nav .wp-block-navigation-submenu__toggle {
	color: rgba(255, 255, 255, 0.7);
	margin-inline-start: 4px;
}

/* Products archive: category filter chips */
.fj-catfilter { margin: 4px 0 28px; }

/* WhatsApp badge: clean official look (static icon, no link) */
.fj-wa__btn .wp-block-button__link {
	width: 56px !important;
	height: 56px !important;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 10px 26px rgba(0, 0, 0, 0.18) !important;
}

.fj-wa__btn .wp-block-button__link::before {
	width: 30px !important;
	height: 30px !important;
}

@media (max-width: 640px) {
	.fj-wa__btn .wp-block-button__link {
		width: 52px !important;
		height: 52px !important;
	}
	.fj-wa__btn .wp-block-button__link::before {
		width: 28px !important;
		height: 28px !important;
	}
}
