/*
 * ITT for Logistics — Theme A «Harbour» component styles.
 *
 * Ported from proposal-templates/theme-a/assets/css/style.css; class names
 * match the static design so the two can be compared side by side.
 *
 * Tokens come from theme.json as --wp--preset--* custom properties (aliased
 * below); don't hardcode palette colours here. Direction-neutral by rule:
 * margin-inline-start, padding-inline, inset-inline-end, text-align: start,
 * so the same CSS serves the English (LTR) and Arabic (RTL) pages. Pointing
 * icons flip with .icon--dir. Motion only runs under html.has-motion (set in
 * <head> unless the visitor prefers reduced motion), so the editor and no-JS
 * visitors see every section.
 */

:root {
	--blaze: var(--wp--preset--color--primary);
	--blaze-ink: var(--wp--preset--color--primary-ink);
	--mirage: var(--wp--preset--color--ink);
	--night: var(--wp--preset--color--night);
	--sea: var(--wp--preset--color--sea);
	--sea-2: var(--wp--preset--color--sea-2);
	--teal: var(--wp--preset--color--teal);
	--slate: var(--wp--preset--color--slate);
	--sand: var(--wp--preset--color--surface);
	--white: var(--wp--preset--color--white);
	--line-d: rgb(255 255 255 / 12%);
	--line-l: rgb(22 35 42 / 12%);
	--display: var(--wp--preset--font-family--barlow-condensed);
	--body: var(--wp--preset--font-family--barlow);
	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--head-h: 84px;
	--admin-h: 0px;
	--dir: 1;
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

[dir="rtl"] {
	--dir: -1;
}

.admin-bar {
	--admin-h: 32px;
}

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

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--head-h) + var(--admin-h));
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

figure {
	margin: 0;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 .5em;
	letter-spacing: .005em;
}

h4 {
	font-size: 1.25rem;
}

p {
	margin: 0 0 1em;
}

.wrap {
	width: min(100% - 2 * var(--gut), var(--wrap));
	margin-inline: auto;
}

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

:focus-visible {
	outline: 3px solid var(--teal);
	outline-offset: 3px;
}

.mb-0 {
	margin-bottom: 0;
}

.mb-30 {
	margin-bottom: 30px;
}

.mt-16 {
	margin-top: 16px;
}

.mt-40 {
	margin-top: 40px;
}

.mt-56 {
	margin-top: 56px;
}

.mt-80 {
	margin-top: 80px;
}

/* Block library defaults the design doesn't use. */
.wp-block-image {
	margin: 0;
}

.wp-block-image img {
	height: auto;
}

.wp-block-list {
	margin-block: 0;
}

.wp-block-video video {
	width: 100%;
}

/* ---------- labels & buttons ---------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font: 600 .875rem/1 var(--body);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--blaze);
	margin: 0 0 20px;
}

.eyebrow::before {
	content: "";
	width: 36px;
	height: 2px;
	background: currentColor;
}

.eyebrow.is-white {
	color: var(--white);
}

.light .eyebrow:not(.is-white),
.white .eyebrow:not(.is-white) {
	color: var(--blaze-ink);
}

.btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	font: 700 1rem/1 var(--body);
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 2px;
	cursor: pointer;
	transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}

.btn svg {
	width: 18px;
	height: 18px;
	transition: transform .3s var(--ease);
}

.has-arrow .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	mask: var(--arrow) center / contain no-repeat;
	transition: transform .3s var(--ease);
}

[dir="rtl"] .has-arrow .wp-block-button__link::after,
[dir="rtl"] .icon--dir {
	scale: -1 1;
}

.btn:hover svg,
.has-arrow .wp-block-button__link:hover::after {
	transform: translateX(calc(4px * var(--dir)));
}

.btn-primary,
.btn-primary .wp-block-button__link {
	background: var(--blaze);
	color: var(--mirage);
}

.btn-primary:hover,
.btn-primary .wp-block-button__link:hover {
	background: var(--white);
	color: var(--mirage);
}

.btn-ghost,
.btn-ghost .wp-block-button__link {
	background: transparent;
	border-color: rgb(255 255 255 / 50%);
	color: var(--white);
}

.btn-ghost:hover,
.btn-ghost .wp-block-button__link:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--mirage);
}

.light .btn-ghost .wp-block-button__link,
.white .btn-ghost .wp-block-button__link {
	border-color: var(--mirage);
	color: var(--mirage);
}

.light .btn-ghost .wp-block-button__link:hover,
.white .btn-ghost .wp-block-button__link:hover {
	background: var(--mirage);
	color: var(--white);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 700 .9375rem/1 var(--body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--blaze);
}

.link-arrow a {
	text-decoration: none;
}

.link-arrow::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	mask: var(--arrow) center / contain no-repeat;
	transition: transform .3s var(--ease);
}

[dir="rtl"] .link-arrow::after {
	scale: -1 1;
}

.link-arrow:hover::after {
	transform: translateX(calc(5px * var(--dir)));
}

.light .link-arrow,
.white .link-arrow {
	color: var(--blaze-ink);
}

.wp-block-buttons,
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ---------- header ---------- */
.site-head {
	position: fixed;
	inset: var(--admin-h) 0 auto;
	z-index: 50;
	height: var(--head-h);
	transition: background .4s, height .4s, box-shadow .4s;
}

.has-motion .site-head {
	animation: fadeInDown .9s var(--ease) backwards;
}

.site-head.is-solid {
	background: rgb(13 22 27 / 92%);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 var(--line-d);
	height: 70px;
}

.site-head__bar {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 24px;
}

.brand img {
	height: 46px;
	width: auto;
	transition: height .4s;
}

.is-solid .brand img {
	height: 38px;
}

.nav {
	margin-inline-start: auto;
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav .menu,
.nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav .menu > li {
	position: relative;
}

.nav .menu > li > a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font: 600 .9375rem/1 var(--body);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: rgb(255 255 255 / 85%);
}

.nav .menu > li > a::after {
	content: "";
	position: absolute;
	inset-inline: 14px;
	bottom: 2px;
	height: 2px;
	background: var(--blaze);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}

[dir="rtl"] .nav .menu > li > a::after {
	transform-origin: right;
}

.nav .menu > li > a:hover,
.nav .menu > li > a[aria-current="page"],
.nav .menu > .current-menu-ancestor > a {
	color: var(--white);
}

.nav .menu > li > a:hover::after,
.nav .menu > li > a[aria-current="page"]::after,
.nav .menu > li:hover > a::after,
.nav .menu > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.nav .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 280px;
	padding: 12px 0;
	background: var(--night);
	border-top: 2px solid var(--blaze);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: .3s var(--ease);
	z-index: 5;
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav .sub-menu a {
	display: block;
	padding: 9px 22px;
	font-size: .9375rem;
	text-decoration: none;
	color: rgb(255 255 255 / 80%);
	transition: color .2s, padding .3s var(--ease);
}

.nav .sub-menu a:hover {
	color: var(--blaze);
	padding-inline-start: 28px;
}

.site-head .lang-switch a {
	display: block;
	padding: 8px 10px;
	font: 600 .9375rem/1 var(--body);
	text-decoration: none;
	color: rgb(255 255 255 / 85%);
	border: 1px solid var(--line-d);
	border-radius: 2px;
}

.site-head .lang-switch a:hover {
	color: var(--white);
	border-color: var(--blaze);
}

.head-cta {
	padding: 12px 20px;
}

.head-cta-m {
	display: none;
}

.burger {
	display: none;
	order: 10;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}

.burger i {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--white);
	margin: 6px 0;
	transition: .3s;
}

.burger[aria-expanded="true"] i:nth-of-type(1) {
	transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] i:nth-of-type(2) {
	opacity: 0;
}

.burger[aria-expanded="true"] i:nth-of-type(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ---------- floating contact (AUL style) ---------- */
.float-cta {
	position: fixed;
	inset-inline-end: 18px;
	bottom: 18px;
	z-index: 40;
	display: grid;
	gap: 10px;
}

.float-cta a {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--blaze);
	color: var(--mirage);
	box-shadow: 0 8px 24px rgb(0 0 0 / 30%);
	transition: transform .3s var(--ease);
}

.float-cta a:hover {
	transform: scale(1.1);
}

.float-cta svg {
	width: 22px;
	height: 22px;
}

/* ---------- hero ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	padding: calc(var(--head-h) + 60px) 0 120px;
	overflow: hidden;
	isolation: isolate;
}

.hero-media,
.cta-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

.hero-media video,
.hero-media img,
.cta-media video,
.cta-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(calc(90deg * var(--dir)), rgb(13 22 27 / 92%) 0%, rgb(13 22 27 / 55%) 55%, rgb(13 22 27 / 20%) 100%),
		linear-gradient(0deg, var(--mirage) 0%, transparent 40%);
}

.hero-title {
	margin-bottom: 28px;
}

.hero-title .line {
	display: block;
	overflow: hidden;
}

.hero-title .line > span {
	display: inline-block;
}

.hero-title .line:nth-child(2) > span {
	color: var(--blaze);
}

.hero .lead {
	max-width: 600px;
	font-size: var(--wp--preset--font-size--large);
	color: rgb(255 255 255 / 85%);
}

.hero .hero-actions {
	margin-top: 34px;
}

.has-motion .hero-title .line > span {
	animation: lineUp 1.1s var(--ease) both;
}

.has-motion .hero-title .line:nth-child(2) > span {
	animation-delay: .15s;
}

.has-motion .hero .lead {
	animation: fadeInUp 1s .45s var(--ease) both;
}

.has-motion .hero .eyebrow {
	animation: fadeInStart 1s .1s var(--ease) both;
}

.has-motion .hero .hero-actions {
	animation: fadeInUp 1s .6s var(--ease) both;
}

.hero-badge {
	position: absolute;
	inset-inline-end: var(--gut);
	bottom: 130px;
	width: 168px;
	height: 168px;
	border-radius: 50%;
	display: grid;
	place-items: center;
}

.hero-badge svg {
	position: absolute;
	inset: 0;
	fill: var(--white);
	font: 700 12.5px var(--body);
	letter-spacing: 3.6px;
}

.hero-badge img {
	width: 54px;
	height: auto;
}

.has-motion .hero-badge {
	animation: fadeIn 1.4s .9s both;
}

.has-motion .hero-badge svg {
	animation: spin 22s linear infinite;
}

.ticker {
	position: absolute;
	inset: auto 0 0;
	height: 54px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--blaze);
	color: var(--mirage);
}

.ticker-track {
	display: flex;
	gap: 48px;
	white-space: nowrap;
	list-style: none;
	margin: 0;
	padding: 0;
	padding-inline-start: 48px;
	width: max-content;
}

.has-motion .marquee-track,
.has-motion .ticker-track {
	animation: marquee 40s linear infinite;
}

[dir="rtl"].has-motion .marquee-track,
[dir="rtl"].has-motion .ticker-track {
	animation-name: marquee-rtl;
}

.ticker-track li {
	font: 700 1.125rem/1 var(--display);
	letter-spacing: .12em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 48px;
}

.ticker-track li::after {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--mirage);
	transform: rotate(45deg);
}

/* inner page hero */
.page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: calc(var(--head-h) + 110px) 0 90px;
	min-height: 62vh;
	display: flex;
	align-items: flex-end;
}

.page-hero .hero-media img {
	transform: scale(1.1);
}

.has-motion .page-hero .hero-media img {
	animation: kenburns 14s ease-out both;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(calc(90deg * var(--dir)), rgb(13 22 27 / 94%), rgb(13 22 27 / 45%)), linear-gradient(0deg, var(--mirage), transparent 50%);
}

.page-hero h1 {
	font-size: clamp(2.75rem, 7vw, 6rem);
}

.page-hero .lead {
	max-width: 680px;
	color: rgb(255 255 255 / 85%);
}

.has-motion .page-hero h1 {
	animation: fadeInUp 1s .1s var(--ease) both;
}

.has-motion .page-hero .lead {
	animation: fadeInUp 1s .3s var(--ease) both;
}

.crumbs {
	font: 500 .875rem/1 var(--body);
	color: rgb(255 255 255 / 70%);
	margin-bottom: 18px;
}

.crumbs a {
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--blaze);
}

/* ---------- sections ---------- */
.section {
	padding: clamp(80px, 10vw, 140px) 0;
	position: relative;
}

.section.pt-0 {
	padding-top: 0;
}

.section.py-70 {
	padding-block: 70px;
}

.section.light {
	background: var(--sand);
	color: var(--mirage);
}

.section.white {
	background: var(--white);
	color: var(--mirage);
}

.section.sea {
	background: var(--sea);
}

.section.night,
.hrail.night {
	background: var(--night);
}

.sec-head {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px 80px;
	align-items: end;
	margin-bottom: 64px;
}

.sec-head > p {
	color: rgb(255 255 255 / 75%);
	margin: 0;
}

.light .sec-head > p,
.white .sec-head > p {
	color: var(--slate);
}

.sec-head h2 {
	margin: 0;
}

.muted {
	color: rgb(255 255 255 / 72%);
}

.light .muted,
.white .muted {
	color: var(--slate);
}

.accent {
	color: var(--blaze);
}

.light .accent,
.white .accent {
	color: var(--blaze-ink);
}

/* stats */
.stats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border-top: 1px solid var(--line-d);
}

.stat {
	padding: 36px 24px 8px 0;
	padding-inline: 0 24px;
	border-inline-end: 1px solid var(--line-d);
	margin-inline-end: 24px;
}

.stat:last-child {
	border-inline-end: 0;
}

.stat .num {
	font: 800 clamp(2.5rem, 4.4vw, 4rem)/1 var(--display);
	color: var(--white);
	margin: 0;
}

.stat .num em,
.spec .num em {
	font-style: normal;
	color: var(--blaze);
}

.stat .label {
	margin: 10px 0 0;
	font-size: .9375rem;
	line-height: 1.5;
	color: rgb(255 255 255 / 70%);
	letter-spacing: .04em;
}

.stats-note {
	margin-top: 26px;
	font-size: .875rem;
	color: rgb(255 255 255 / 55%);
}

/* split intro */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}

.split.align-start {
	align-items: start;
}

.split-media {
	position: relative;
	isolation: isolate;
}

.split-media .frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.split-media.square .frame {
	aspect-ratio: 1;
}

.split-media .frame .parallax {
	height: 120%;
}

.split-media .frame img,
.frame.wide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.frame.wide {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.frame.wide .wp-block-image {
	height: 100%;
}

.split-media .tag {
	position: absolute;
	inset-inline-start: -32px;
	bottom: 40px;
	z-index: 2;
	background: var(--blaze);
	color: var(--mirage);
	padding: 26px 30px;
	max-width: 260px;
}

.split-media .tag-num {
	font: 800 3rem/1 var(--display);
	margin: 0;
}

.split-media .tag-text {
	font-weight: 600;
	line-height: 1.35;
	margin: 6px 0 0;
}

.split-media.has-outline::before {
	content: "";
	position: absolute;
	inset-block: 28px -28px;
	inset-inline: 28px -28px;
	border: 2px solid var(--sea-2);
	z-index: -1;
}

.checks {
	list-style: none;
	padding: 0;
	margin: 28px 0 36px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 28px;
}

.checks li {
	position: relative;
	padding-inline-start: 30px;
	font-weight: 500;
	line-height: 1.4;
}

.checks li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 3px;
	width: 16px;
	height: 16px;
	background: var(--blaze);
	clip-path: polygon(0 0, 100% 50%, 0 100%, 28% 50%);
}

[dir="rtl"] .checks li::before {
	scale: -1 1;
}

/* bridge (ITT Global -> Egypt) */
.bridge {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	margin-top: 72px;
}

.bridge-node {
	border: 1px solid var(--line-d);
	padding: 30px;
	background: rgb(255 255 255 / 3%);
}

.bridge-node .kicker {
	font: 600 .8125rem/calc(1.0625rem * 1.7) var(--body);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--teal);
	margin: 0;
}

.bridge-node h3 {
	margin: 12px 0 8px;
}

.bridge-node p:last-child {
	margin: 0;
	color: rgb(255 255 255 / 70%);
	font-size: .9375rem;
}

.bridge-line {
	width: clamp(120px, 18vw, 260px);
	height: 60px;
	color: var(--blaze);
}

.bridge-line path {
	stroke-dasharray: 8 10;
}

.has-motion .bridge-line path {
	animation: dash 1.2s linear infinite;
}

/* icons */
.icon-tile {
	display: grid;
	place-items: center;
}

.icon-tile svg {
	width: 26px;
	height: 26px;
}

/* services grid */
.svc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	background: var(--line-d);
	border: 1px solid var(--line-d);
}

.svc {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: 420px;
	padding: 34px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--mirage);
	color: var(--white);
}

.svc .card-bg,
.hrail-card .card-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.svc .card-bg img,
.hrail-card .card-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}

.svc::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgb(13 22 27 / 96%) 10%, rgb(13 22 27 / 35%) 70%);
	transition: background .5s;
}

.svc:hover .card-bg img {
	transform: scale(1.08);
}

.svc:hover::before {
	background: linear-gradient(0deg, rgb(7 80 86 / 97%) 20%, rgb(7 80 86 / 55%) 90%);
}

.svc .num {
	position: absolute;
	top: 28px;
	inset-inline-start: 34px;
	font: 700 1rem/1 var(--display);
	letter-spacing: .2em;
	color: var(--blaze);
	margin: 0;
}

.svc h3 {
	margin-bottom: 10px;
}

.svc h3 a,
.hrail-card h3 a,
.svc-row h3 a {
	text-decoration: none;
}

.svc h3 a::after,
.hrail-card h3 a::after,
.svc-row h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.svc .svc-text {
	margin: 0;
	color: rgb(255 255 255 / 80%);
	font-size: .9688rem;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .6s var(--ease), opacity .4s, margin .4s;
}

.svc:hover .svc-text,
.svc:focus-within .svc-text {
	max-height: 140px;
	opacity: 1;
	margin-bottom: 14px;
}

.svc .link-arrow {
	margin: 12px 0 0;
	color: var(--blaze);
}

/* horizontal pinned rail */
.hrail {
	position: relative;
}

.hrail-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hrail-track {
	display: flex;
	gap: 28px;
	padding-inline-start: max(var(--gut), calc((100vw - var(--wrap)) / 2));
	will-change: transform;
}

.hrail-card {
	flex: 0 0 clamp(300px, 30vw, 420px);
	height: min(62vh, 560px);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 34px;
	background: var(--sea);
}

.hrail-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgb(13 22 27 / 95%) 15%, transparent 75%);
}

.hrail-card:hover .card-bg img {
	transform: scale(1.07);
}

.hrail-card .num {
	font: 800 5rem/1 var(--display);
	color: transparent;
	-webkit-text-stroke: 1.5px var(--blaze);
	margin: 0 0 auto;
}

.hrail-card p:last-child {
	color: rgb(255 255 255 / 80%);
	font-size: .9688rem;
	margin: 0;
}

.hrail-head {
	margin-bottom: 44px;
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 30px;
}

.hrail-progress {
	width: 220px;
	height: 2px;
	background: var(--line-d);
	position: relative;
	flex: none;
}

.hrail-progress i {
	position: absolute;
	inset: 0;
	background: var(--blaze);
	transform-origin: left;
	transform: scaleX(0);
}

[dir="rtl"] .hrail-progress i {
	transform-origin: right;
}

/* lifecycle */
.cycle {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	position: relative;
}

.cycle::before,
.cycle::after {
	content: "";
	position: absolute;
	top: 36px;
	inset-inline: 7%;
	height: 2px;
	background: var(--line-l);
}

.cycle::after {
	background: var(--blaze);
	transform-origin: left;
	transform: scaleX(var(--p, 0));
}

[dir="rtl"] .cycle::after {
	transform-origin: right;
}

.step {
	text-align: center;
	padding: 0 10px;
	position: relative;
}

.step .dot {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--line-l);
	color: var(--mirage);
	position: relative;
	z-index: 1;
	transition: .5s var(--ease);
}

.step.on .dot,
html:not(.has-motion) .step .dot {
	background: var(--blaze);
	border-color: var(--blaze);
}

.step.on .dot {
	transform: scale(1.06);
}

.step .dot svg {
	width: 30px;
	height: 30px;
}

.step h4 {
	margin-bottom: 6px;
}

.step p {
	font-size: .875rem;
	color: var(--slate);
	line-height: 1.5;
	margin: 0;
}

/* partners */
.partners {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	gap: 24px;
}

.partner {
	position: relative;
	padding: 40px 34px;
	background: var(--white);
	color: var(--mirage);
	border-top: 4px solid var(--sea);
	transition: transform .5s var(--ease), box-shadow .5s;
}

.partner:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 50%);
}

.partner.lead-partner {
	background: var(--mirage);
	color: var(--white);
	border-top-color: var(--blaze);
}

.partner.is-bare {
	padding: 0;
	background: none;
	border: 0;
}

.partner.is-bare:hover {
	transform: none;
	box-shadow: none;
}

.partner .logo {
	height: 84px;
	display: flex;
	align-items: center;
	margin-bottom: 26px;
}

.partner .logo img {
	max-height: 72px;
	width: auto;
}

.partner .logo.chip-light,
.partner .logo.chip-dark {
	padding: 10px 16px;
	width: max-content;
}

.partner .logo.chip-light {
	background: var(--white);
}

.partner .logo.chip-light img {
	max-height: 52px;
}

.partner .logo.chip-dark {
	background: var(--mirage);
}

.partner .logo.chip-dark img {
	max-height: 64px;
}

.partner .kicker {
	font: 700 .8125rem/calc(1.0625rem * 1.7) var(--body);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--blaze-ink);
	margin: 0;
}

.partner.lead-partner .kicker {
	color: var(--blaze);
}

.partner h3 {
	margin: 12px 0 14px;
	font-size: 1.75rem;
}

.partner h3.h-xl {
	font-size: 2.75rem;
}

.partner p {
	font-size: .9688rem;
	color: var(--slate);
}

.partner.lead-partner p {
	color: rgb(255 255 255 / 78%);
}

.partner ul {
	margin: 0;
	padding-inline-start: 18px;
	font-size: .9375rem;
	color: var(--slate);
}

.partner.lead-partner ul {
	color: rgb(255 255 255 / 78%);
}

/* certifications marquee */
.certs {
	overflow: hidden;
	border-block: 1px solid var(--line-d);
	padding: 26px 0;
}

.certs-track {
	display: flex;
	gap: 22px;
	width: max-content;
}

.has-motion .certs-track {
	animation-duration: 34s;
}

.cert {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 24px;
	border: 1px solid var(--line-d);
	white-space: nowrap;
}

.cert p {
	margin: 0;
}

.cert-name {
	font: 800 1.5rem/1 var(--display);
	color: var(--blaze);
}

.cert-desc {
	font-size: .9375rem;
	color: rgb(255 255 255 / 80%);
}

/* locations */
.locs {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 60px;
	align-items: center;
}

.map {
	position: relative;
	aspect-ratio: 1;
	max-width: 560px;
}

.map svg {
	width: 100%;
	height: 100%;
}

.map .pin circle {
	fill: var(--blaze);
}

.map .pin-label {
	fill: var(--white);
	font: 700 20px var(--display);
}

.map .map-note {
	fill: var(--blaze);
	font: 600 12px var(--body);
	letter-spacing: 1.5px;
}

.has-motion .map .pin circle.pulse {
	animation: pulse 2.4s infinite;
	transform-origin: center;
	transform-box: fill-box;
}

.loc {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 18px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line-d);
}

.loc-num {
	font: 800 2.25rem/1 var(--display);
	color: var(--blaze);
	margin: 0;
}

.loc h4 {
	font-size: 1.5rem;
	margin: 0 0 6px;
}

.loc p:last-child {
	margin: 0;
	font-size: .9375rem;
	color: rgb(255 255 255 / 70%);
}

/* industries */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	padding: 0;
}

.chips li {
	padding: 14px 22px;
	border: 1px solid var(--line-l);
	background: var(--white);
	color: var(--mirage);
	font: 600 1rem/1 var(--body);
	transition: .35s var(--ease);
}

.chips li:hover {
	background: var(--mirage);
	color: var(--white);
	transform: translateY(-3px);
}

/* CTA band */
.cta-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(90px, 12vw, 160px) 0;
	text-align: center;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(7 80 86 / 86%);
}

.cta-band h2 {
	max-width: 900px;
	margin-inline: auto;
}

.cta-band p:not(.eyebrow) {
	max-width: 720px;
	margin: 0 auto 34px;
	color: rgb(255 255 255 / 85%);
}

.cta-band .hero-actions,
.cta-band .wp-block-buttons {
	justify-content: center;
}

/* feature cards (inner pages) */
.cols-2,
.cols-3,
.cols-4 {
	display: grid;
	gap: 24px;
}

.cols-2 {
	grid-template-columns: 1fr 1fr;
}

.cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
	grid-template-columns: repeat(4, 1fr);
}

.card {
	padding: 34px;
	border: 1px solid var(--line-d);
	background: rgb(255 255 255 / 3%);
	transition: border-color .4s, transform .5s var(--ease);
}

.card:hover {
	border-color: var(--blaze);
	transform: translateY(-6px);
}

.light .card,
.white .card {
	border-color: var(--line-l);
	background: var(--white);
}

.light .card:hover,
.white .card:hover {
	border-color: var(--blaze);
}

.light .card p,
.white .card p {
	color: var(--slate);
}

.card .ico {
	width: 54px;
	height: 54px;
	background: var(--blaze);
	color: var(--mirage);
	margin-bottom: 22px;
}

.card h3 {
	font-size: 1.625rem;
}

.card h3.h-lg {
	font-size: 2.5rem;
}

.card p {
	margin: 0;
	color: rgb(255 255 255 / 72%);
	font-size: .9688rem;
}

.card ul {
	margin: 14px 0 0;
	padding-inline-start: 18px;
	font-size: .9375rem;
}

.light .card ul,
.white .card ul {
	color: var(--slate);
}

.values {
	counter-reset: v;
}

.values .card h3::before {
	counter-increment: v;
	content: "0" counter(v);
	display: block;
	font-size: 1rem;
	letter-spacing: .2em;
	color: var(--blaze);
	margin-bottom: 14px;
}

.light .values .card h3::before {
	color: var(--blaze-ink);
}

.photo-card {
	padding: 0;
	overflow: hidden;
}

.photo-card .card-photo img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
}

.photo-card .card-body {
	padding: 28px;
}

.spec {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	background: var(--line-d);
	margin-top: 40px;
}

.spec-3 {
	grid-template-columns: repeat(3, 1fr);
}

.spec-item {
	background: var(--mirage);
	padding: 26px;
}

.spec .num {
	font: 800 2.5rem/1 var(--display);
	color: var(--blaze);
	margin: 0;
}

.spec .label {
	margin: 6px 0 0;
	font-size: .9375rem;
	line-height: 1.5;
	color: rgb(255 255 255 / 75%);
}

.taglist {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 20px 0 0;
	list-style: none;
}

.taglist li {
	padding: 8px 14px;
	font-size: .875rem;
	border: 1px solid var(--line-d);
}

.light .taglist li,
.white .taglist li {
	border-color: var(--line-l);
	background: var(--white);
}

/* service index list */
.svc-rows {
	border-top: 1px solid var(--line-l);
}

.svc-row {
	display: grid;
	grid-template-columns: 70px 1.1fr 1.4fr 200px;
	gap: 30px;
	align-items: center;
	padding: 30px 0;
	border-bottom: 1px solid var(--line-l);
	color: var(--mirage);
	position: relative;
	transition: padding .4s var(--ease);
}

.svc-row:hover {
	padding-inline-start: 18px;
}

.svc-row .num {
	font: 700 1.125rem/1 var(--display);
	color: var(--blaze-ink);
	letter-spacing: .14em;
	margin: 0;
}

.svc-row h3 {
	margin: 0;
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}

.svc-row p {
	margin: 0;
	color: var(--slate);
	font-size: .9688rem;
}

.svc-row .thumb {
	height: 120px;
	overflow: hidden;
	clip-path: inset(0 0 0 100%);
	transition: clip-path .6s var(--ease);
}

[dir="rtl"] .svc-row .thumb {
	clip-path: inset(0 100% 0 0);
}

.svc-row:hover .thumb,
.svc-row:focus-within .thumb {
	clip-path: inset(0);
}

.svc-row .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* sub-nav for the ISO tank page */
.subnav {
	position: sticky;
	top: calc(70px + var(--admin-h));
	z-index: 20;
	background: var(--night);
	border-bottom: 1px solid var(--line-d);
}

.subnav-links {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	margin: 0;
}

.subnav-links a {
	padding: 18px 16px;
	white-space: nowrap;
	text-decoration: none;
	font: 600 .875rem/1 var(--body);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 70%);
	border-bottom: 2px solid transparent;
}

.subnav-links a:hover,
.subnav-links a.on {
	color: var(--white);
	border-color: var(--blaze);
}

/* contact */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 60px;
}

.info-block {
	padding: 26px 0;
	border-bottom: 1px solid var(--line-l);
}

.info-block small {
	font: 700 .8125rem/1 var(--body);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--blaze-ink);
}

.info-block p,
.info-block a {
	margin: 8px 0 0;
	display: block;
	font-size: 1.0625rem;
	color: var(--mirage);
	text-decoration: none;
}

[dir="rtl"] .info-block a[dir="ltr"] {
	text-align: end;
}

.info-block a:hover {
	color: var(--blaze-ink);
}

.form {
	background: var(--mirage);
	color: var(--white);
	padding: clamp(28px, 4vw, 50px);
}

.form h3 {
	font-size: 2rem;
}

.fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.field {
	display: grid;
	gap: 8px;
}

.field.full {
	grid-column: 1 / -1;
}

.field label {
	font: 600 .875rem/1 var(--body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 75%);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	font: inherit;
	color: var(--white);
	background: rgb(255 255 255 / 5%);
	border: 1px solid var(--line-d);
	border-radius: 2px;
	transition: border-color .3s, background .3s;
}

[dir="rtl"] .field input[dir="ltr"] {
	text-align: end;
}

.field select option {
	color: var(--mirage);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--blaze);
	background: rgb(255 255 255 / 8%);
}

.form button {
	margin-top: 24px;
}

.steps-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 26px;
}

.steps-tabs span {
	flex: 1;
	height: 4px;
	background: var(--line-d);
}

.steps-tabs span.on {
	background: var(--blaze);
}

.form-done {
	padding: 30px 0 10px;
}

.form-error {
	padding: 14px 16px;
	border-inline-start: 3px solid var(--blaze);
	background: rgb(255 91 4 / 12%);
}

.hp {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* plain pages (privacy etc.) */
.page-content {
	background: var(--sand);
	color: var(--mirage);
}

.prose {
	max-width: 760px;
	margin-inline: auto;
}

.prose h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	margin-top: 1.4em;
}

.prose a {
	color: var(--blaze-ink);
}

/* news */
.news-section {
	background: var(--white);
	color: var(--mirage);
}

.sec-head__action {
	justify-self: end;
}

.news-section .btn-ghost {
	border-color: var(--mirage);
	color: var(--mirage);
}

.news-section .btn-ghost:hover {
	background: var(--mirage);
	color: var(--white);
}

.news-section .eyebrow {
	color: var(--blaze-ink);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	color: var(--mirage);
	border: 1px solid var(--line-l);
	transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}

.news-card:hover {
	border-color: var(--blaze);
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 35%);
}

.news-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}

.news-card:hover .news-card__media img {
	transform: scale(1.06);
}

.news-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 28px;
}

.news-card__date,
.article__date {
	font: 600 .8125rem/1 var(--body);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blaze-ink);
	margin-bottom: 14px;
}

.news-card h3 {
	font-size: 1.625rem;
	margin-bottom: 12px;
}

.news-card h3 a {
	text-decoration: none;
}

.news-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.news-card p {
	color: var(--slate);
	font-size: .9688rem;
	margin-bottom: 18px;
}

.news-card .link-arrow {
	margin-top: auto;
	color: var(--blaze-ink);
}

.pager {
	margin-top: 56px;
}

.pager .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pager a.page-numbers,
.pager span.page-numbers {
	display: block;
	min-width: 44px;
	padding: 12px 16px;
	text-align: center;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--line-l);
	background: var(--white);
	color: var(--mirage);
}

.pager .current,
.pager a.page-numbers:hover {
	background: var(--mirage);
	color: var(--white);
}

.no-results {
	font-size: 1.125rem;
	color: var(--slate);
}

.news-list .search-form,
.page-content .search-form {
	margin-bottom: 40px;
}

/* single news article */
.article .prose {
	font-size: 1.125rem;
}

.prose h3 {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	margin-top: 1.4em;
}

.prose ul,
.prose ol {
	padding-inline-start: 1.25em;
	margin: 0 0 1em;
}

.prose li {
	margin-bottom: .4em;
}

.prose img {
	margin-block: 1.5em;
}

.prose blockquote {
	margin: 1.5em 0;
	padding-inline-start: 24px;
	border-inline-start: 4px solid var(--blaze);
	font: 600 1.375rem/1.4 var(--body);
}

.prose .wp-block-image figcaption {
	font-size: .875rem;
	color: var(--slate);
}

/* ---------- footer ---------- */
.site-foot {
	background: var(--night);
	padding: 90px 0 0;
	position: relative;
	overflow: hidden;
}

.foot-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 50px;
}

.foot-brand .brand img {
	height: 52px;
	width: auto;
	margin-bottom: 22px;
}

.foot-slogan {
	font: 800 2.25rem/1 var(--display);
	text-transform: uppercase;
	margin-bottom: 12px;
}

.foot-slogan em {
	font-style: normal;
	color: var(--blaze);
}

.foot-title {
	font-size: 1.125rem;
	letter-spacing: .14em;
	margin-bottom: 20px;
	color: var(--blaze);
}

.site-foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-foot li {
	margin-bottom: 10px;
}

.site-foot li a,
.site-foot address a {
	text-decoration: none;
	color: rgb(255 255 255 / 75%);
	transition: color .2s;
}

.site-foot li a:hover,
.site-foot address a:hover {
	color: var(--blaze);
}

.site-foot address {
	font-style: normal;
	color: rgb(255 255 255 / 75%);
	font-size: .9688rem;
}

.site-foot address p {
	margin-bottom: 12px;
}

.foot-big {
	font: 800 clamp(4rem, 17vw, 15rem)/.8 var(--wp--preset--font-family--barlow-condensed);
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 1px rgb(255 255 255 / 10%);
	white-space: nowrap;
	margin: 70px 0 -.08em;
	text-align: center;
	user-select: none;
}

.foot-bar {
	border-top: 1px solid var(--line-d);
	padding: 22px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	font-size: .875rem;
	color: rgb(255 255 255 / 60%);
	position: relative;
	background: var(--night);
}

.foot-bar .lang-switch a {
	color: rgb(255 255 255 / 75%);
	text-decoration: none;
}

.foot-bar .lang-switch a:hover {
	color: var(--blaze);
}

/* ---------- motion ---------- */
.has-motion [class*="anim-"] {
	transition: opacity 1s var(--ease), transform 1s var(--ease);
	transition-delay: var(--d, 0s);
}

.has-motion .anim-up:not(.is-in),
.has-motion .anim-down:not(.is-in),
.has-motion .anim-left:not(.is-in),
.has-motion .anim-right:not(.is-in),
.has-motion .anim-zoom:not(.is-in) {
	opacity: 0;
}

.has-motion .anim-up:not(.is-in) {
	transform: translateY(60px);
}

.has-motion .anim-down:not(.is-in) {
	transform: translateY(-50px);
}

.has-motion .anim-left:not(.is-in) {
	transform: translateX(calc(-70px * var(--dir)));
}

.has-motion .anim-right:not(.is-in) {
	transform: translateX(calc(70px * var(--dir)));
}

.has-motion .anim-zoom:not(.is-in) {
	transform: scale(.88);
}

.page-wipe {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: var(--blaze);
	transform: scaleY(0);
	transform-origin: bottom;
	pointer-events: none;
}

.page-wipe.enter {
	animation: wipeOut .8s var(--ease) both;
	transform-origin: top;
}

.page-wipe.leave {
	animation: wipeIn .45s var(--ease) both;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-40px);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
}

@keyframes fadeInStart {
	from {
		opacity: 0;
		transform: translateX(calc(-50px * var(--dir)));
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
}

@keyframes lineUp {
	from {
		transform: translateY(105%);
	}
}

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

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

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes dash {
	to {
		stroke-dashoffset: -36;
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: .7;
	}

	100% {
		transform: scale(3.2);
		opacity: 0;
	}
}

@keyframes kenburns {
	to {
		transform: scale(1);
	}
}

@keyframes wipeIn {
	from {
		transform: scaleY(0);
	}

	to {
		transform: scaleY(1);
	}
}

@keyframes wipeOut {
	from {
		transform: scaleY(1);
	}

	to {
		transform: scaleY(0);
	}
}

/* Without motion the rail is a plain horizontal scroller. */
html:not(.has-motion) .hrail-sticky {
	position: static;
	height: auto;
	padding-block: clamp(80px, 10vw, 140px);
}

html:not(.has-motion) .hrail-track {
	overflow-x: auto;
	padding-bottom: 20px;
}

/* ---------- Arabic ---------- */
[dir="rtl"] * {
	letter-spacing: 0 !important;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .foot-slogan {
	line-height: 1.3;
}

[dir="rtl"] .hero-title {
	font-size: clamp(2.75rem, 7vw, 6rem);
}

[dir="rtl"] .page-hero h1 {
	font-size: clamp(2.25rem, 5.5vw, 4.5rem);
}

[dir="rtl"] h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
}

[dir="rtl"] .hero-title .line {
	padding-bottom: .08em;
}

[dir="rtl"] .stat {
	padding-inline: 0 24px;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.nav,
	.head-cta {
		display: none;
	}

	.burger {
		display: block;
	}

	.site-head .lang-switch {
		margin-inline-start: auto;
	}

	.nav.open {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		position: fixed;
		inset: calc(70px + var(--admin-h)) 0 0;
		padding: 20px var(--gut) 40px;
		background: var(--night);
		overflow-y: auto;
	}

	.nav.open .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav.open .menu > li > a {
		padding: 16px 0;
		font-size: 1.125rem;
		border-bottom: 1px solid var(--line-d);
	}

	.nav.open .menu > li > a::after {
		display: none;
	}

	.nav.open .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		padding: 4px 0 10px;
		padding-inline-start: 12px;
		background: none;
		min-width: 0;
	}

	.nav.open .head-cta-m {
		display: inline-flex;
		align-self: flex-start;
		margin-top: 24px;
	}

	.nav.open > * {
		flex-shrink: 0;
	}

	.site-head:has(.nav.open) {
		background: var(--night);
		backdrop-filter: none;
	}

	.stats {
		grid-template-columns: repeat(3, 1fr);
	}

	.svc-grid,
	.cols-3,
	.news-grid {
		grid-template-columns: 1fr 1fr;
	}

	.cols-4 {
		grid-template-columns: 1fr 1fr;
	}

	.partners {
		grid-template-columns: 1fr;
	}

	.cycle {
		grid-template-columns: repeat(4, 1fr);
		row-gap: 40px;
	}

	.cycle::before,
	.cycle::after {
		display: none;
	}

	.foot-grid {
		grid-template-columns: 1fr 1fr;
	}

	.svc-row {
		grid-template-columns: 50px 1fr;
	}

	.svc-row p:not(.num) {
		grid-column: 2;
	}

	.svc-row .thumb {
		display: none;
	}

	.spec {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	:root {
		--head-h: 70px;
	}

	.brand img,
	.is-solid .brand img {
		height: 38px;
	}

	.sec-head,
	.split,
	.locs,
	.contact-grid,
	.cols-2,
	.bridge {
		grid-template-columns: 1fr;
	}

	.bridge-line {
		transform: rotate(90deg);
		margin: -10px auto;
		width: 90px;
	}

	[dir="rtl"] .bridge-line {
		transform: rotate(90deg) scaleY(-1);
		scale: 1;
	}

	.stats {
		grid-template-columns: 1fr 1fr;
	}

	.stat {
		margin-inline-end: 0;
		padding-inline-end: 12px;
		border-inline-end: 0;
	}

	.svc-grid,
	.cols-3,
	.news-grid {
		grid-template-columns: 1fr;
	}

	.sec-head__action {
		justify-self: start;
	}

	.cols-4,
	.spec-3 {
		grid-template-columns: 1fr 1fr;
	}

	.svc {
		min-height: 340px;
	}

	.svc .svc-text {
		max-height: none;
		opacity: 1;
		margin-bottom: 10px;
	}

	.checks {
		grid-template-columns: 1fr;
	}

	.split-media .tag {
		inset-inline-start: 0;
	}

	.split-media.has-outline::before {
		display: none;
	}

	.hero-badge {
		display: none;
	}

	.cycle {
		grid-template-columns: 1fr 1fr;
	}

	.fields {
		grid-template-columns: 1fr;
	}

	.foot-grid {
		grid-template-columns: 1fr;
	}

	.foot-bar {
		flex-direction: column;
	}

	.hrail-sticky {
		position: static;
		height: auto;
		padding-block: 80px;
	}

	.hrail {
		height: auto !important;
	}

	.hrail-track {
		transform: none !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-inline-end: var(--gut);
		padding-bottom: 10px;
	}

	.hrail-card {
		scroll-snap-align: start;
		flex-basis: 82vw;
		height: 460px;
	}

	.hrail-progress {
		display: none;
	}

	.float-cta a {
		width: 46px;
		height: 46px;
	}
}

@media (max-width: 480px) {
	.cols-4 {
		grid-template-columns: 1fr;
	}
}

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