/* ==========================================================================
   Shipping company profile demo — MERSAL / مِرسال
   Corporate with an industrial edge: deep navy, steel and signal orange,
   wide Archivo (English) and Changa (Arabic) headings, container stripes.
   Every rule is under .sh-body, every class starts with sh-. Layout answers
   to the demo's width (container "demo").

   1. Fonts   2. Tokens & base   3. Buttons   4. Header   5. Hero & tracking
   6. Figures   7. Services   8. Network map   9. About & timeline
   10. Band, quote, contact   11. Footer & toast   12. Motion
   13. Narrower widths
   ========================================================================== */

/* 1. Fonts (SIL Open Font License): Space Grotesk + Inter Tight in English,
   Vazirmatn in Arabic (400–600 only). --------------------------------------- */
@font-face {
	font-family: "SH Grotesk";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/spacegrotesk-400-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "SH Inter";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/intertight-400-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "SH Vazir";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/vazirmatn-400-600-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}


/* 2. Tokens & base ----------------------------------------------------------- */
.sh-body {
	--sh-navy: #0a2730;
	--sh-navy-2: #0e3440;
	--sh-navy-3: #155061;
	--sh-steel: #eef3f2;
	--sh-steel-2: #d5e0de;
	--sh-white: #fff;
	--sh-signal: #f4b41a;
	--sh-signal-2: #dc9c05;
	--sh-accent: #0b7480;
	--sh-accent-2: #095e68;
	--sh-text: #10242a;
	--sh-muted: #55686c;
	--sh-line: rgb(10 39 48 / 0.12);
	--sh-font: "SH Inter", "Segoe UI", Arial, sans-serif;
	--sh-display: "SH Grotesk", "SH Inter", Arial, sans-serif;
	--sh-enter: 1.6s;
	--sh-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--sh-dir: 1;

	margin: 0;
	font-family: var(--sh-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--sh-text);
	background: var(--sh-white);
	-webkit-font-smoothing: antialiased;
	font-synthesis-weight: none;
}

[dir="rtl"] .sh-body {
	--sh-dir: -1;
	--sh-start: right;
}

[lang="ar"] .sh-body {
	--sh-font: "SH Vazir", "SH Inter", Tahoma, sans-serif;
	--sh-display: "SH Vazir", "SH Grotesk", Tahoma, sans-serif;

	line-height: 1.8;
}

[lang="ar"] .sh-body * {
	letter-spacing: 0 !important;
}

:where(.sh-body) *,
:where(.sh-body) *::before,
:where(.sh-body) *::after {
	box-sizing: border-box;
}

:where(.sh-body) h1,
:where(.sh-body) h2,
:where(.sh-body) h3,
:where(.sh-body) p,
:where(.sh-body) ul,
:where(.sh-body) ol,
:where(.sh-body) figure,
:where(.sh-body) fieldset {
	margin: 0;
	padding: 0;
}

:where(.sh-body) ul,
:where(.sh-body) ol {
	list-style: none;
}

:where(.sh-body) fieldset {
	border: 0;
}

:where(.sh-body) a {
	color: inherit;
	text-decoration: none;
}

:where(.sh-body) button,
:where(.sh-body) input,
:where(.sh-body) select,
:where(.sh-body) textarea {
	font: inherit;
	color: inherit;
}

:where(.sh-body) button {
	cursor: pointer;
}

.sh-body img {
	display: block;
	max-width: 100%;
	height: auto;
}

.sh-body :focus-visible {
	outline: 2px solid var(--sh-signal);
	outline-offset: 3px;
}

.sh-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

[dir="rtl"] .sh-icon--arrow {
	scale: -1 1;
}

.sh-wrap {
	width: min(100%, 1260px);
	margin-inline: auto;
	padding-inline: clamp(18px, 3cqi, 32px);
}

.sh-icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

/* Kicker with a little container-stripe block. */
.sh-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sh-accent);
}

.sh-kicker span {
	width: 30px;
	height: 12px;
	background: repeating-linear-gradient(90deg, var(--sh-accent) 0 3px, transparent 3px 6px);
}

/* Space Grotesk (Vazirmatn in Arabic) for headings and figures; Inter Tight reads the rest. */
.sh-body :is(h1, h2, h3, .sh-logo b, .sh-figures b, .sh-service__no, .sh-laneinfo b, .sh-timeline b, .sh-band__text, .sh-calc__out b, .sh-track__title) {
	font-family: var(--sh-display);
}

/* On the dark sections the accent turns container yellow. */
.sh-hero,
.sh-section--navy,
.sh-band,
.sh-contact {
	--sh-accent: var(--sh-signal);
}

.sh-body h1,
.sh-body h2,
.sh-body h3 {
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.015em;
	color: var(--sh-navy);
}

[lang="ar"] .sh-body :is(h1, h2, h3) {
	font-weight: 600;
	line-height: 1.35;
}

.sh-body h1 em,
.sh-body h2 em {
	font-style: normal;
	color: var(--sh-accent);
}

.sh-hero h1 em {
	white-space: nowrap;
}

.sh-body h2 {
	font-size: clamp(2rem, 1.1rem + 2.8cqi, 3.4rem);
}

/* 3. Buttons ------------------------------------------------------------------ */
.sh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	font-weight: 700;
	font-size: 0.95rem;
	border: 2px solid transparent;
	border-radius: 4px;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--sh-ease);
}

.sh-btn:hover {
	transform: translateY(-2px);
}

.sh-btn .sh-icon {
	transition: translate 0.3s var(--sh-ease);
}

.sh-btn:hover .sh-icon--arrow {
	translate: calc(4px * var(--sh-dir)) 0;
}

.sh-btn--signal {
	color: var(--sh-navy);
	background: var(--sh-signal);
}

.sh-btn--signal:hover {
	background: var(--sh-signal-2);
}

.sh-btn--ghost {
	color: var(--sh-white);
	background: transparent;
	border-color: rgb(255 255 255 / 0.45);
}

.sh-btn--ghost:hover {
	border-color: var(--sh-white);
	background: rgb(255 255 255 / 0.08);
}

.sh-btn--block {
	width: 100%;
}

.sh-btn:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

/* 4. Header -------------------------------------------------------------------- */
.sh-header {
	position: sticky;
	top: 0;
	z-index: 40;
	color: var(--sh-white);
	background: rgb(10 39 48 / 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.sh-header__in {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.sh-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.sh-logo__mark {
	display: grid;
	gap: 3px;
	width: 34px;
}

.sh-logo__mark i {
	height: 8px;
	background: var(--sh-signal);
	border-radius: 1px;
}

.sh-logo__mark i:nth-child(2) {
	width: 75%;
	margin-inline-start: auto;
	background: var(--sh-steel-2);
}

.sh-logo__mark i:nth-child(3) {
	width: 85%;
	background: #4f8ac0;
}

.sh-logo b {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
}

.sh-logo small {
	display: block;
	margin-top: 3px;
	font-size: 0.7rem;
	color: rgb(255 255 255 / 0.6);
}

.sh-nav {
	display: flex;
	gap: 26px;
	margin-inline-start: auto;
	font-size: 0.92rem;
	font-weight: 600;
}

.sh-nav a {
	position: relative;
	padding-block: 6px;
	color: rgb(255 255 255 / 0.8);
	transition: color 0.2s;
}

.sh-nav a:hover {
	color: var(--sh-white);
}

.sh-nav a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -2px;
	height: 3px;
	background: var(--sh-signal);
	transform: scaleX(0);
	transition: transform 0.3s var(--sh-ease);
}

.sh-nav a:hover::after {
	transform: scaleX(1);
}

.sh-tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sh-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	font-size: 0.88rem;
	font-weight: 600;
	border: 1px solid rgb(255 255 255 / 0.25);
	border-radius: 4px;
	transition: border-color 0.2s;
}

.sh-lang:hover {
	border-color: var(--sh-white);
}

.sh-lang .sh-icon {
	width: 17px;
	height: 17px;
}

.sh-header__cta {
	min-height: 44px;
	padding: 0 18px;
}

.sh-burger {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--sh-white);
	background: none;
	border: 1px solid rgb(255 255 255 / 0.25);
	border-radius: 4px;
}

.sh-burger .sh-icon:last-child,
.sh-burger[aria-expanded="true"] .sh-icon:first-child {
	display: none;
}

.sh-burger[aria-expanded="true"] .sh-icon:last-child {
	display: block;
}

/* 5. Hero slider & tracking ------------------------------------------------------ */
/* Three ways cargo moves: sea, port, road. Each new photo slides across like a
   container door (from the end side), the words rise from masks, and the
   tracking card stays docked on the end side through every slide. Without
   JavaScript only the first slide shows. */
.sh-hero {
	position: relative;
	min-height: clamp(640px, 92vh, 920px);
	overflow: hidden;
	color: var(--sh-white);
	background: var(--sh-navy);
	isolation: isolate;
}

/* Only the first slide waits for the intro. */
.sh-slide:not(:first-child),
.sh-hero.is-started {
	--sh-enter: 0s;
}

.sh-slide {
	position: absolute;
	inset: 0;
	display: grid;
	align-items: center;
	visibility: hidden;
}

.sh-slide.is-active {
	z-index: 1;
	visibility: visible;
}

.sh-slide.is-leaving {
	z-index: 0;
	visibility: visible;
	transition: visibility 0s 1.15s;
}

.sh-slide__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	clip-path: inset(0 0 0 100%);
	transition: clip-path 1.15s var(--sh-ease);
}

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

.sh-slide.is-active .sh-slide__media,
.sh-slide.is-leaving .sh-slide__media {
	clip-path: inset(0 0 0 0);
}

.sh-slide__media .sh-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	transition: transform 7s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.sh-slide.is-active .sh-slide__media .sh-photo {
	transform: scale(1.02);
}

.sh-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(8 35 44 / 0.95) 0%, rgb(8 35 44 / 0.75) 42%, rgb(8 35 44 / 0.3) 100%);
}

[dir="rtl"] .sh-slide__media::after {
	background: linear-gradient(270deg, rgb(8 35 44 / 0.95) 0%, rgb(8 35 44 / 0.75) 42%, rgb(8 35 44 / 0.3) 100%);
}

.sh-slide.is-leaving .sh-hero__text {
	opacity: 0;
	transition: opacity 0.35s;
}

.sh-slide__in {
	padding-block: 120px 150px;
}

.sh-hero__text {
	max-width: calc(58% - 20px);
}

.sh-slide__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sh-white);
	background: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.2);
	border-radius: 999px;
}

[dir="rtl"] .sh-slide__kicker {
	padding: 6px 6px 6px 14px;
}

.sh-slide__kicker .sh-icon {
	width: 30px;
	height: 30px;
	padding: 6px;
	color: var(--sh-navy);
	background: var(--sh-signal);
	border-radius: 50%;
}

.sh-hero .sh-slide__title {
	margin-block: 22px 20px;
	font-size: clamp(2.6rem, 1.2rem + 4.6cqi, 5.4rem);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--sh-white);
}

.sh-hero .sh-slide__title em {
	font-style: normal;
	color: var(--sh-signal);
}

[lang="ar"] .sh-hero .sh-slide__title {
	font-size: clamp(2.3rem, 1.2rem + 3.8cqi, 4.4rem);
	line-height: 1.35;
}

.sh-mask {
	display: block;
	overflow: hidden;
	padding-block: 0.04em 0.1em;
}

.sh-mask > * {
	display: inline-block;
}

.sh-lead {
	max-width: 34em;
	font-size: 1.08rem;
	color: rgb(255 255 255 / 0.8);
}

.sh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.sh-slide.is-active .sh-slide__kicker,
.sh-slide.is-active .sh-lead,
.sh-slide.is-active .sh-hero__actions {
	animation: sh-rise 0.9s var(--sh-ease) both;
}

.sh-slide.is-active .sh-mask > * {
	animation: sh-line 1s var(--sh-ease) both;
}

.sh-slide.is-active .sh-slide__kicker {
	animation-delay: calc(var(--sh-enter) + 0.25s);
}

.sh-slide.is-active .sh-mask:nth-child(1) > * {
	animation-delay: calc(var(--sh-enter) + 0.35s);
}

.sh-slide.is-active .sh-mask:nth-child(2) > * {
	animation-delay: calc(var(--sh-enter) + 0.48s);
}

.sh-slide.is-active .sh-lead {
	animation-delay: calc(var(--sh-enter) + 0.6s);
}

.sh-slide.is-active .sh-hero__actions {
	animation-delay: calc(var(--sh-enter) + 0.72s);
}

@keyframes sh-line {
	from {
		transform: translateY(105%);
	}
}

/* The dock: controls at the foot of the words, the tracking card on the end side. */
.sh-hero__dock {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr minmax(300px, 0.72fr);
	align-items: center;
	gap: 40px;
	pointer-events: none;
}

.sh-hero__dock > * {
	pointer-events: auto;
}

.sh-slider__ui {
	align-self: end;
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 56px;
	animation: sh-rise 0.9s var(--sh-ease) calc(var(--sh-enter) + 0.85s) both;
}

.sh-slider__tabs {
	display: flex;
	gap: 10px;
}

.sh-slider__tabs button {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 46px;
	padding: 0;
	overflow: hidden;
	color: rgb(255 255 255 / 0.65);
	background: rgb(255 255 255 / 0.08);
	border: 1px solid rgb(255 255 255 / 0.2);
	border-radius: 10px;
	cursor: pointer;
	transition: color 0.3s, background-color 0.3s;
}

.sh-slider__tabs button .sh-icon {
	width: 22px;
	height: 22px;
}

.sh-slider__tabs button[aria-selected="true"],
.sh-slider__tabs button:hover {
	color: var(--sh-white);
	background: rgb(255 255 255 / 0.16);
}

.sh-slider__tabs i {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: var(--sh-signal);
	transform: scaleX(0);
	transform-origin: var(--sh-start, left);
}

.sh-slider__tabs button[aria-selected="true"] i {
	transform: scaleX(1);
}

.sh-hero.is-playing .sh-slider__tabs button[aria-selected="true"] i {
	animation: sh-fill var(--sh-slide-time, 6.5s) linear both;
}

.sh-hero.is-paused .sh-slider__tabs button[aria-selected="true"] i {
	animation-play-state: paused;
}

@keyframes sh-fill {
	from {
		transform: scaleX(0);
	}
}

.sh-slider__arrows {
	display: flex;
	gap: 8px;
}

.sh-slider__arrow {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	color: var(--sh-navy);
	background: var(--sh-signal);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 0.25s, transform 0.25s var(--sh-ease);
}

.sh-slider__arrow:hover {
	background: var(--sh-white);
	transform: translateY(-2px);
}

[dir="rtl"] .sh-slider__arrow .sh-icon {
	scale: -1 1;
}

.sh-body:not(.sh-ready) .sh-slider__ui {
	display: none;
}

.sh-track {
	display: grid;
	gap: 12px;
	padding: clamp(20px, 2.6cqi, 30px);
	color: var(--sh-text);
	background: var(--sh-white);
	border-radius: 8px;
	border-top: 5px solid var(--sh-signal);
	box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.55);
	animation: sh-rise 0.9s var(--sh-ease) calc(var(--sh-enter) + 0.55s) both;
}

.sh-track__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--sh-navy);
}

.sh-track__title .sh-icon {
	color: var(--sh-signal);
}

.sh-track__field {
	display: flex;
	gap: 8px;
}

.sh-track__field input {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	background: var(--sh-steel);
	border: 2px solid transparent;
	border-radius: 4px;
}

.sh-track__field input:focus {
	border-color: var(--sh-signal);
	outline: none;
}

.sh-track__hint {
	font-size: 0.82rem;
	color: var(--sh-muted);
}

.sh-steps {
	display: grid;
	gap: 0;
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px solid var(--sh-line);
}

.sh-steps[hidden] {
	display: none;
}

.sh-step {
	position: relative;
	display: grid;
	grid-template-columns: 26px 1fr auto;
	gap: 12px;
	align-items: start;
	padding-bottom: 14px;
	font-size: 0.9rem;
	color: var(--sh-muted);
	animation: sh-rise 0.5s var(--sh-ease) both;
}

.sh-step::before {
	content: "";
	position: absolute;
	top: 22px;
	bottom: 0;
	inset-inline-start: 12px;
	width: 2px;
	background: var(--sh-steel-2);
}

.sh-step:last-child::before {
	display: none;
}

.sh-step i {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	background: var(--sh-steel);
	border: 2px solid var(--sh-steel-2);
	border-radius: 50%;
}

.sh-step.is-done {
	color: var(--sh-text);
}

.sh-step.is-done i {
	color: var(--sh-white);
	background: var(--sh-navy);
	border-color: var(--sh-navy);
}

.sh-step.is-done::before {
	background: var(--sh-navy);
}

.sh-step.is-now i {
	background: var(--sh-signal);
	border-color: var(--sh-signal);
	box-shadow: 0 0 0 6px rgb(244 180 26 / 0.2);
	animation: sh-ping 1.6s ease-out infinite;
}

.sh-step.is-now b {
	color: var(--sh-accent);
}

.sh-step i .sh-icon {
	width: 14px;
	height: 14px;
	stroke-width: 2.6;
}

.sh-step small {
	font-size: 0.78rem;
	white-space: nowrap;
}

@keyframes sh-ping {
	50% {
		box-shadow: 0 0 0 10px rgb(244 180 26 / 0);
	}
}

/* 6. Figures ------------------------------------------------------------------ */
.sh-figures {
	color: var(--sh-white);
	background: var(--sh-navy-2);
	border-top: 4px solid var(--sh-signal);
}

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

.sh-figures p {
	display: grid;
	gap: 4px;
	padding: 32px 24px;
	border-inline-start: 1px solid rgb(255 255 255 / 0.1);
}

.sh-figures p:first-child {
	border-inline-start: 0;
	padding-inline-start: 0;
}

.sh-figures b {
	font-size: clamp(2rem, 1.2rem + 2cqi, 3rem);
	font-weight: 700;
	line-height: 1;
	color: var(--sh-signal);
	font-variant-numeric: tabular-nums;
}

.sh-figures span {
	font-size: 0.9rem;
	color: rgb(255 255 255 / 0.72);
}

/* 7. Sections & services -------------------------------------------------------- */
.sh-section {
	padding-block: clamp(70px, 8cqi, 120px);
}

.sh-section--navy {
	color: rgb(255 255 255 / 0.78);
	background: var(--sh-navy);
}

.sh-section--steel {
	background: var(--sh-steel);
}

.sh-head {
	display: grid;
	gap: 14px;
	max-width: 680px;
	margin-bottom: clamp(36px, 4cqi, 56px);
}

.sh-head p:not(.sh-kicker) {
	color: var(--sh-muted);
}

.sh-head--light h2 {
	color: var(--sh-white);
}

.sh-head--light p:not(.sh-kicker) {
	color: rgb(255 255 255 / 0.7);
}

.sh-services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2cqi, 26px);
}

.sh-service {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--sh-white);
	border: 1px solid var(--sh-line);
	border-radius: 8px;
	transition: transform 0.4s var(--sh-ease), box-shadow 0.4s var(--sh-ease);
}

.sh-service:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -30px rgb(10 39 48 / 0.4);
}

.sh-service__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--sh-steel-2);
}

.sh-service__media .sh-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--sh-ease);
}

.sh-service:hover .sh-photo {
	transform: scale(1.07);
}

.sh-service__no {
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	padding: 8px 14px;
	font-weight: 700;
	color: var(--sh-white);
	background: var(--sh-navy);
}

.sh-service__body {
	position: relative;
	display: grid;
	gap: 10px;
	padding: 24px;
}

.sh-service__body::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: var(--sh-signal);
	transform: scaleX(0);
	transform-origin: var(--sh-start, left);
	transition: transform 0.4s var(--sh-ease);
}

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

.sh-service:hover .sh-service__body::after {
	transform: scaleX(1);
}

.sh-service__body .sh-icon {
	width: 30px;
	height: 30px;
	color: var(--sh-accent);
}

.sh-service h3 {
	font-size: 1.3rem;
}

.sh-service p {
	font-size: 0.93rem;
	color: var(--sh-muted);
}

/* 8. Network map ---------------------------------------------------------------- */
.sh-map {
	display: grid;
	grid-template-columns: 1.65fr 1fr;
	gap: clamp(18px, 2.5cqi, 32px);
	align-items: stretch;
}

.sh-map__chart {
	padding: 10px;
	background: var(--sh-navy-2);
	border: 1px solid rgb(255 255 255 / 0.08);
	border-radius: 10px;
}

.sh-map svg {
	display: block;
	width: 100%;
	height: auto;
}

.sh-lane {
	fill: none;
	stroke: rgb(255 255 255 / 0.22);
	stroke-width: 1.6;
	stroke-dasharray: 5 6;
	transition: stroke 0.3s, stroke-width 0.3s;
}

.sh-lane.is-on {
	stroke: var(--sh-signal);
	stroke-width: 3;
	stroke-dasharray: 10 8;
	animation: sh-sail 1.2s linear infinite;
	filter: drop-shadow(0 0 6px rgb(244 180 26 / 0.6));
}

@keyframes sh-sail {
	to {
		stroke-dashoffset: -36;
	}
}

.sh-port circle {
	fill: #8fb4d6;
}

.sh-port text {
	font-family: var(--sh-font);
	font-size: 15px;
	font-weight: 600;
	text-anchor: middle;
	fill: rgb(255 255 255 / 0.55);
	transition: fill 0.3s;
}

.sh-port text.sh-port__end {
	text-anchor: end;
}

.sh-port--far.is-on circle {
	fill: var(--sh-signal);
}

.sh-port--far.is-on text {
	fill: var(--sh-white);
}

.sh-port--home circle {
	fill: var(--sh-signal);
}

.sh-port__pulse {
	transform-box: fill-box;
	transform-origin: center;
	animation: sh-pulse 2.4s ease-out infinite;
}

@keyframes sh-pulse {
	from {
		opacity: 0.8;
		transform: scale(1);
	}

	to {
		opacity: 0;
		transform: scale(3.4);
	}
}

.sh-map__egypt {
	font-family: var(--sh-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-anchor: middle;
	fill: rgb(255 255 255 / 0.35);
}

.sh-map__side {
	display: grid;
	align-content: space-between;
	gap: 18px;
}

.sh-lanes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.sh-lanebtn {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: 12px;
	font-size: 0.85rem;
	text-align: start;
	color: rgb(255 255 255 / 0.75);
	background: rgb(255 255 255 / 0.04);
	border: 1px solid rgb(255 255 255 / 0.1);
	border-radius: 6px;
	transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.sh-lanebtn span {
	opacity: 0.7;
}

.sh-lanebtn .sh-icon {
	width: 14px;
	height: 14px;
	color: var(--sh-signal);
}

.sh-lanebtn b {
	color: var(--sh-white);
}

.sh-lanebtn:hover {
	border-color: rgb(255 255 255 / 0.35);
}

.sh-lanebtn[aria-pressed="true"] {
	background: rgb(244 180 26 / 0.14);
	border-color: var(--sh-signal);
}

.sh-laneinfo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.sh-laneinfo p {
	display: grid;
	gap: 2px;
	padding: 18px;
	background: var(--sh-signal);
	border-radius: 8px;
	color: var(--sh-navy);
}

.sh-laneinfo p + p {
	color: var(--sh-white);
	background: var(--sh-navy-3);
}

.sh-laneinfo small {
	font-size: 0.8rem;
	opacity: 0.85;
}

.sh-laneinfo b {
	font-size: clamp(1.4rem, 0.9rem + 1.2cqi, 1.9rem);
	white-space: nowrap;
	font-weight: 700;
	line-height: 1.1;
}

/* 9. About & timeline ---------------------------------------------------------- */
.sh-about {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: start;
	gap: clamp(32px, 6cqi, 90px);
}

.sh-about__media {
	position: sticky;
	top: 100px;
	overflow: hidden;
	border-radius: 8px;
}

.sh-about__media .sh-photo {
	width: 100%;
	aspect-ratio: 5 / 6;
	object-fit: cover;
}

.sh-about__media figcaption {
	position: absolute;
	inset-inline-start: 20px;
	bottom: 20px;
	display: grid;
	padding: 14px 18px;
	color: var(--sh-white);
	background: var(--sh-navy);
	border-inline-start: 4px solid var(--sh-signal);
}

.sh-about__media figcaption b {
	font-size: 1.3rem;
	font-weight: 700;
	}

.sh-about__media figcaption span {
	font-size: 0.82rem;
	opacity: 0.75;
}

.sh-about__text {
	display: grid;
	gap: 18px;
}

.sh-about__text > p:not(.sh-kicker) {
	color: var(--sh-muted);
	font-size: 1.04rem;
}

.sh-timeline {
	display: grid;
	gap: 0;
	margin-top: 10px;
}

.sh-timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 20px;
	padding-block: 18px;
	border-top: 1px solid var(--sh-line);
}

.sh-timeline b {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--sh-accent);
}

.sh-timeline span {
	display: grid;
	color: var(--sh-muted);
	font-size: 0.94rem;
}

.sh-timeline strong {
	font-size: 1.04rem;
	color: var(--sh-navy);
}

.sh-certs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sh-certs li {
	padding: 8px 14px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--sh-navy);
	border: 2px solid var(--sh-navy);
	border-radius: 4px;
}

/* 10. Band, quote, contact ----------------------------------------------------- */
.sh-band {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(260px, 32cqi, 440px);
	overflow: hidden;
	background: var(--sh-navy);
}

.sh-band .sh-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.sh-band__text {
	position: relative;
	padding: 0 24px;
	font-size: clamp(1.8rem, 1rem + 3.4cqi, 4rem);
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	color: var(--sh-white);
	text-shadow: 0 4px 30px rgb(0 0 0 / 0.5);
}

.sh-quote {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: clamp(28px, 5cqi, 80px);
}

.sh-quote > div {
	display: grid;
	gap: 16px;
}

.sh-quote > div > p:last-child {
	color: var(--sh-muted);
}

.sh-calc,
.sh-form {
	display: grid;
	gap: 18px;
	padding: clamp(22px, 3cqi, 34px);
	background: var(--sh-white);
	border-radius: 10px;
	box-shadow: 0 30px 60px -40px rgb(10 39 48 / 0.5);
}

.sh-modes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.sh-modes input {
	position: absolute;
	opacity: 0;
}

.sh-modes span {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 14px 8px;
	font-weight: 700;
	text-align: center;
	background: var(--sh-steel);
	border: 2px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.sh-modes .sh-icon {
	width: 26px;
	height: 26px;
}

.sh-modes input:checked + span {
	color: var(--sh-white);
	background: var(--sh-navy);
	border-color: var(--sh-navy);
}

.sh-modes input:focus-visible + span {
	outline: 2px solid var(--sh-signal);
	outline-offset: 2px;
}

.sh-field {
	display: grid;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--sh-navy);
}

.sh-field input:not([type="range"]),
.sh-field select,
.sh-field textarea {
	min-height: 50px;
	padding: 12px 14px;
	font-weight: 500;
	background: var(--sh-steel);
	border: 2px solid transparent;
	border-radius: 6px;
	transition: border-color 0.2s;
}

.sh-field textarea {
	resize: vertical;
}

.sh-field :is(input, select, textarea):focus {
	border-color: var(--sh-signal);
	outline: none;
}

.sh-field input[aria-invalid="true"] {
	border-color: #c62828;
}

.sh-field input[type="range"] {
	width: 100%;
	accent-color: var(--sh-signal);
}

.sh-field output {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--sh-accent);
}

.sh-calc__out {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 8px;
}

.sh-calc__out p {
	display: grid;
	padding: 16px 18px;
	color: var(--sh-white);
	background: var(--sh-navy);
	border-radius: 8px;
}

.sh-calc__out p:first-child {
	color: var(--sh-navy);
	background: var(--sh-signal);
}

.sh-calc__out small {
	font-size: 0.8rem;
	opacity: 0.85;
}

.sh-calc__out b {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.25;
}

.sh-calc__out b.is-new {
	animation: sh-tick 0.4s var(--sh-ease);
}

@keyframes sh-tick {
	from {
		opacity: 0.3;
		transform: translateY(6px);
	}
}

.sh-calc__note {
	font-size: 0.8rem;
	color: var(--sh-muted);
}

.sh-contact {
	position: relative;
	isolation: isolate;
	padding-block: clamp(70px, 8cqi, 120px);
	color: rgb(255 255 255 / 0.8);
	background: var(--sh-navy);
}

.sh-contact__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.sh-contact__media .sh-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sh-contact__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(10 39 48 / 0.84);
}

.sh-contact__in {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: clamp(28px, 5cqi, 80px);
}

.sh-contact__in > div {
	display: grid;
	gap: 18px;
}

.sh-contact h2 {
	color: var(--sh-white);
}

.sh-offices {
	display: grid;
	gap: 14px;
	margin-top: 8px;
}

.sh-offices li {
	display: flex;
	gap: 14px;
}

.sh-offices .sh-icon {
	width: 24px;
	height: 24px;
	color: var(--sh-signal);
}

.sh-offices span {
	display: grid;
}

.sh-offices b {
	color: var(--sh-white);
}

.sh-form {
	grid-template-columns: 1fr 1fr;
	color: var(--sh-text);
}

.sh-field--full,
.sh-form .sh-btn,
.sh-form__error,
.sh-form__ok {
	grid-column: 1 / -1;
}

.sh-form__error {
	font-size: 0.9rem;
	font-weight: 700;
	color: #c62828;
}

.sh-form__ok {
	padding: 14px 16px;
	font-size: 0.92rem;
	color: var(--sh-navy);
	background: #e3f1e6;
	border-radius: 6px;
}

/* 11. Footer & toast ------------------------------------------------------------- */
.sh-footer {
	padding-block: 44px 28px;
	color: rgb(255 255 255 / 0.65);
	background: #07131f;
}

.sh-footer__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}

.sh-footer .sh-logo {
	color: var(--sh-white);
}

.sh-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	font-weight: 600;
}

.sh-footer nav a:hover {
	color: var(--sh-white);
}

.sh-footer__bar {
	flex: 1 0 100%;
	padding-top: 20px;
	font-size: 0.82rem;
	border-top: 1px solid rgb(255 255 255 / 0.1);
}

.sh-toast {
	position: fixed;
	bottom: 20px;
	inset-inline-start: 20px;
	z-index: 110;
	max-width: min(90%, 400px);
	padding: 14px 18px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--sh-white);
	background: var(--sh-navy);
	border-inline-start: 4px solid var(--sh-signal);
	border-radius: 4px;
	box-shadow: 0 20px 40px -16px rgb(0 0 0 / 0.5);
	animation: sh-rise 0.4s var(--sh-ease);
}

.sh-toast[hidden] {
	display: none;
}

/* 12. Motion: intro, progress line, header, reveals ------------------------- */
/* The intro: three containers drop and stack, MERSAL is stencilled on, then the
   ocean panel lifts away. Pure CSS: it ends even without the script. */
.sh-intro {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	color: var(--sh-white);
	background:
		radial-gradient(60% 60% at 50% 40%, rgb(15 76 92 / 0.8), transparent 70%),
		var(--sh-navy);
	pointer-events: none;
	animation: sh-intro-out 0.8s var(--sh-ease) 1.35s both;
}

.sh-intro__in {
	display: grid;
	justify-items: center;
	gap: 14px;
}

.sh-intro__stack {
	display: grid;
	justify-items: center;
	gap: 4px;
}

.sh-intro__stack i {
	display: block;
	width: 74px;
	height: 22px;
	background: repeating-linear-gradient(90deg, rgb(0 0 0 / 0.18) 0 2px, transparent 2px 9px), var(--sh-signal);
	border-radius: 2px;
	animation: sh-drop-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sh-intro__stack i:nth-child(1) {
	width: 52px;
	background-color: var(--sh-white);
	background-image: repeating-linear-gradient(90deg, rgb(0 0 0 / 0.14) 0 2px, transparent 2px 9px);
	animation-delay: 0.3s;
}

.sh-intro__stack i:nth-child(2) {
	background-color: var(--sh-navy-3);
	background-image: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.18) 0 2px, transparent 2px 9px);
	animation-delay: 0.15s;
}

.sh-intro b {
	font-family: "SH Grotesk", sans-serif;
	font-size: 2.3rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	animation: sh-rise 0.6s var(--sh-ease) 0.5s both;
}

[lang="ar"] .sh-intro b {
	font-family: "SH Vazir", sans-serif;
	font-weight: 600;
	letter-spacing: 0;
}

.sh-intro small {
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.65);
	animation: sh-rise 0.6s var(--sh-ease) 0.65s both;
}

@keyframes sh-drop-in {
	from {
		opacity: 0;
		transform: translateY(-70px);
	}
}

@keyframes sh-intro-out {
	to {
		clip-path: inset(0 0 100% 0);
		visibility: hidden;
	}
}

@keyframes sh-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
}

/* Reading progress, where the browser can tie an animation to scrolling. */
.sh-progress {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 60;
	height: 3px;
	background: var(--sh-signal);
	transform: scaleX(0);
	transform-origin: var(--sh-start, left);
}

@supports (animation-timeline: scroll()) {
	.sh-progress {
		animation: sh-progress linear both;
		animation-timeline: scroll(root);
	}
}

@keyframes sh-progress {
	to {
		transform: scaleX(1);
	}
}

.sh-header {
	animation: sh-down 0.8s var(--sh-ease) 1.55s both;
}

@keyframes sh-down {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
}

/* Reveals: lists one after another, photos settle from a slight zoom. */
.sh-ready [data-sh-reveal] {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.9s var(--sh-ease), transform 0.9s var(--sh-ease);
	transition-delay: calc(var(--sh-i, 0) * 80ms);
}

.sh-ready [data-sh-reveal].is-in {
	opacity: 1;
	transform: none;
}

.sh-ready [data-sh-reveal] .sh-photo {
	transition: transform 1.6s var(--sh-ease);
}

.sh-ready [data-sh-reveal]:not(.is-in) .sh-photo {
	transform: scale(1.14);
}

.sh-body main {
	overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
	.sh-body *,
	.sh-body *::before,
	.sh-body *::after {
		animation: none !important;
		transition: none !important;
	}

	.sh-intro {
		display: none;
	}

	.sh-ready [data-sh-reveal] {
		opacity: 1;
		transform: none;
	}

	.sh-ready [data-sh-reveal]:not(.is-in) .sh-photo {
		transform: none;
	}
}

/* 13. Narrower widths ------------------------------------------------------------ */
@container demo (max-width: 1080px) {
	.sh-nav {
		gap: 18px;
	}

	.sh-header__cta {
		display: none;
	}

	.sh-services {
		grid-template-columns: repeat(2, 1fr);
	}
}

@container demo (max-width: 900px) {
	.sh-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		flex-direction: column;
		gap: 0;
		padding: 8px 24px 20px;
		background: var(--sh-navy);
		border-bottom: 1px solid rgb(255 255 255 / 0.1);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
	}

	.sh-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.sh-nav a {
		padding: 14px 0;
		border-bottom: 1px solid rgb(255 255 255 / 0.08);
	}

	.sh-nav a::after {
		display: none;
	}

	.sh-tools {
		margin-inline-start: auto;
	}

	.sh-burger {
		display: grid;
	}

	/* The slides stack in one cell; the controls and the tracking card follow below. */
	.sh-hero {
		display: grid;
		min-height: 0;
	}

	.sh-slide {
		position: relative;
		grid-area: 1 / 1;
		min-height: 560px;
	}

	.sh-slide__in {
		padding-block: 110px 36px;
	}

	.sh-hero__text {
		max-width: 640px;
	}

	.sh-slide__media::after,
	[dir="rtl"] .sh-slide__media::after {
		background: linear-gradient(180deg, rgb(8 35 44 / 0.55) 0%, rgb(8 35 44 / 0.88) 70%, var(--sh-navy) 100%);
	}

	.sh-hero__dock {
		position: relative;
		inset: auto;
		grid-area: 2 / 1;
		grid-template-columns: 1fr;
		gap: 22px;
		padding-block: 4px 36px;
	}

	.sh-slider__ui {
		justify-content: space-between;
		margin: 0;
	}

	.sh-map,
	.sh-about,
	.sh-quote,
	.sh-contact__in {
		grid-template-columns: 1fr;
	}

	.sh-figures__in {
		grid-template-columns: 1fr 1fr;
	}

	.sh-figures p:nth-child(3) {
		border-inline-start: 0;
		padding-inline-start: 0;
	}

	.sh-figures p:nth-child(n + 3) {
		border-top: 1px solid rgb(255 255 255 / 0.1);
	}

	.sh-about__media {
		position: relative;
		top: 0;
		max-width: 520px;
	}
}

@container demo (max-width: 560px) {
	.sh-lang {
		padding: 8px 10px;
		font-size: 0;
		gap: 0;
	}

	.sh-lang .sh-icon {
		width: 20px;
		height: 20px;
	}

	.sh-logo small {
		display: none;
	}

	.sh-services,
	.sh-lanes,
	.sh-form {
		grid-template-columns: 1fr;
	}

	.sh-track__field {
		flex-direction: column;
	}

	.sh-figures p {
		padding: 22px 14px;
	}

	.sh-timeline li {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.sh-calc__out {
		grid-template-columns: 1fr;
	}

	.sh-slide {
		min-height: 600px;
	}

	.sh-slider__tabs button {
		width: 48px;
	}

	.sh-hero__actions .sh-btn {
		flex: 1 1 auto;
	}
}

/* Arabic weights: 400–600 only: every bold part is 600 here, and the browser never
   fakes a heavier weight. (Generated from the rules above; keep it last.) */
[lang="ar"] .sh-body {
	font-synthesis: none;
}

:where([lang="ar"] .sh-body) :where(b, strong, h1, h2, h3, h4, h5, h6, th, optgroup) {
	font-weight: 600;
}

[lang="ar"] .sh-body :is(.sh-kicker, h1, h2, h3, .sh-btn, .sh-logo b),
[lang="ar"] .sh-body :is(.sh-track__title, .sh-track__field input, .sh-figures b, .sh-service__no, .sh-map__egypt, .sh-laneinfo b),
[lang="ar"] .sh-body :is(.sh-about__media figcaption b, .sh-timeline b, .sh-certs li, .sh-band__text, .sh-modes span, .sh-field),
[lang="ar"] .sh-body :is(.sh-field output, .sh-calc__out b, .sh-form__error, .sh-intro b) {
	font-weight: 600;
}
