/* Areen Al Khaleej Logistics: navy + gold, solid colour only (no gradients anywhere). RTL-first, logical properties.
   Font: Montserrat; Arabic letters fall through to Almarai (Montserrat has no Arabic). */
:root {
  --navy: #073F5C;
  --navy-d: #052F45;
  --navy-dd: #04263A;
  --gold: #D99B23;
  --gold-d: #B9811A;
  --wa: #1F9D55;
  --white: #FFFFFF;
  --off: #F5F4EF;
  --ink: #0B2A3B;
  --text: #4A5D68;
  --line: #DEDDD5;
  --r: 4px;
  --wrap: 1260px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --head-h: 92px;
  --f: 'Montserrat', 'Almarai', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.75 var(--f); }
main > section { overflow-x: clip; }
html[lang="en"] body { font-size: 16.5px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f); color: var(--ink); margin: 0; line-height: 1.3; font-weight: 800; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; line-height: 1.08; }
html[lang="en"] h3 { letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-dd); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
[dir="rtl"] .arr { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: var(--r); font: 700 15px/1 var(--f); cursor: pointer; border: 1.5px solid transparent; transition: color .35s, border-color .35s; white-space: nowrap; }
html[lang="en"] .btn { letter-spacing: .01em; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--white)); transform: scaleX(0); transform-origin: var(--o, right); transition: transform .45s var(--ease); }
[dir="ltr"] .btn::before { --o: left; }
.btn:hover::before { transform: scaleX(1); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: translate .35s var(--ease); }
.btn:hover .arr { translate: 4px 0; }
[dir="rtl"] .btn:hover .arr { translate: -4px 0; }
.btn-gold { background: var(--gold); color: var(--navy-dd); }
.btn-gold:hover { color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { color: var(--navy); border-color: var(--white); }

.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-d); font: 700 14px/1.2 var(--f); margin-bottom: 18px; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.eyebrow::before { content: ''; width: 40px; height: 2px; background: var(--gold); flex: none; transform-origin: var(--o, right); }
[dir="ltr"] .eyebrow::before { --o: left; }
.eyebrow-light { color: var(--gold); }

/* split headings: each word sits in a mask and rises in */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- header ---------- */
.head { position: fixed; top: 0; inset-inline: 0; z-index: 50; transition: background .4s, box-shadow .4s; }
.head-in { display: flex; align-items: center; gap: 28px; height: var(--head-h); transition: height .4s var(--ease); }
.head.stuck { background: var(--white); box-shadow: 0 8px 30px rgba(4, 38, 58, .08); }
.head.stuck .head-in { height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { position: relative; width: 62px; height: 32px; flex: none; }
.brand-logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font: 800 17px/1.15 var(--f); color: var(--navy); transition: color .4s; }
.brand-name small { font-size: 12px; font-weight: 500; color: var(--text); transition: color .4s; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { position: relative; font-weight: 600; font-size: 14.5px; color: var(--ink); padding: 8px 0; transition: color .4s; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: var(--o, right); transition: transform .35s var(--ease); }
[dir="ltr"] .nav a::after { --o: left; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.lang { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--ink); transition: color .3s; }
.lang svg { width: 17px; height: 17px; color: var(--gold); }
.lang:hover { color: var(--gold-d); }
.head-cta { height: 48px; padding: 0 22px; }
/* over the hero: light text, white logo */
.head:not(.stuck) .logo-dark { opacity: 0; }
.head.stuck .logo-light { opacity: 0; }
.head:not(.stuck) .brand-name b, .head:not(.stuck) .nav a, .head:not(.stuck) .lang { color: var(--white); }
.head:not(.stuck) .brand-name small { color: rgba(255,255,255,.72); }
.head.open { background: var(--white); }
.head.open .logo-dark { opacity: 1; } .head.open .logo-light { opacity: 0; }
.head.open .brand-name b { color: var(--navy); } .head.open .brand-name small { color: var(--text); }
.progress { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(var(--sp, 0)); transform-origin: var(--o, right); }
[dir="ltr"] .progress { --o: left; }
.head:not(.stuck) .progress { opacity: 0; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); background: transparent; border-radius: var(--r); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-inline-start: auto; }
.burger span { width: 20px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s, background .3s; }
.head.stuck .burger, .head.open .burger { border-color: var(--line); }
.head.stuck .burger span, .head.open .burger span { background: var(--navy); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); background: var(--white); padding: 8px 24px 26px; display: grid; max-height: calc(100vh - 72px); overflow: auto; }
.mnav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.mnav .mnav-lang { color: var(--gold-d) !important; }
.mnav .btn { margin-top: 20px; }
.mnav[hidden] { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(100vh, 700px); display: flex; flex-direction: column; justify-content: center; color: var(--white); overflow: hidden; background: var(--navy-dd); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.08); }
.hero-media img.on { opacity: 1; animation: drift 9s linear forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-tint { position: absolute; inset: 0; background: rgba(4, 38, 58, .6); }
.hero-in { position: relative; padding-block: 150px 190px; }
.hero h1 { color: var(--white); font-size: clamp(40px, 6vw, 86px); max-width: 14ch; font-weight: 900; }
html[lang="ar"] .hero h1 { line-height: 1.3; max-width: 15ch; font-weight: 800; }
.hero .lead { margin-top: 26px; max-width: 46ch; font-size: 19px; color: rgba(255,255,255,.86); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-foot { position: absolute; inset-inline: 0; bottom: 116px; display: flex; justify-content: space-between; align-items: center; }
.scroll-cue { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.slide-meta { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.8); font-size: 13.5px; font-weight: 500; }
.slide-no b { color: var(--white); font-weight: 800; }
.slide-bar { width: 80px; height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.slide-bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: var(--o, right); }
[dir="ltr"] .slide-bar i { --o: left; }
.slide-bar i.run { animation: bar 7s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.slide-cap { transition: opacity .4s; }

/* quick card overlapping the hero */
.quick { position: relative; z-index: 3; margin-top: -84px; display: grid; grid-template-columns: 1fr 1fr 1.15fr; background: var(--white); box-shadow: 0 24px 60px rgba(4, 38, 58, .14); border-radius: var(--r); overflow: hidden; }
.quick-item { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 36px 32px; background: var(--navy); color: rgba(255,255,255,.78); transition: background .4s; }
.quick-item + .quick-item { border-inline-start: 1px solid rgba(255,255,255,.12); }
.quick-item:hover { background: var(--navy-d); }
.quick-item b { display: block; color: var(--white); font: 800 18px/1.3 var(--f); margin-bottom: 6px; }
.quick-item span { font-size: 14.5px; line-height: 1.6; }
.qi { flex: none; width: 56px; height: 56px; display: grid; place-items: center; background: var(--gold); border-radius: var(--r); color: var(--navy-dd); transition: transform .5s var(--ease); }
.quick-item:hover .qi { transform: rotate(-8deg) scale(1.06); }
.qi svg { width: 30px; height: 30px; }
.quick-call { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 26px 34px; }
.quick-call > span { font-size: 14.5px; color: var(--text); font-weight: 500; }
.quick-call > a[href^="tel"] { font: 800 27px/1.3 var(--f); color: var(--navy); }
html[dir="rtl"] .quick-call > a[href^="tel"] { align-self: flex-start; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 700; font-size: 14.5px; margin-top: 4px; }
.wa-link svg { width: 17px; height: 17px; }
.wa-link:hover { color: var(--navy); }

/* ---------- sections ---------- */
.sec { padding-block: 130px; }
.sec-off { background: var(--off); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 64px; }
.sec-head h2 { max-width: 18ch; }
.sec-head > p { max-width: 38ch; font-size: 16.5px; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
html[lang="ar"] h2 { line-height: 1.35; }

/* about */
.about { padding-top: 150px; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.about-media { position: relative; padding-bottom: 80px; padding-inline-end: 70px; }
.ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--off); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-main { aspect-ratio: 4 / 3.4; }
.ph-main img.par { height: 116%; margin-top: -8%; }
.ph-sub { position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 8px solid var(--white); border-radius: calc(var(--r) + 2px); }
.badge { position: absolute; inset-inline-start: -26px; bottom: 34px; background: var(--gold); color: var(--navy-dd); padding: 24px 28px; border-radius: var(--r); display: flex; flex-direction: column; min-width: 180px; box-shadow: 0 18px 40px rgba(4, 38, 58, .18); }
.badge b { font: 900 46px/1 'Montserrat', sans-serif; letter-spacing: -.02em; }
.badge span { font-size: 14px; font-weight: 700; margin-top: 6px; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p { margin-bottom: 12px; max-width: 52ch; }
.ticks { display: grid; gap: 14px; margin-block: 30px 36px; }
.ticks li { display: flex; gap: 14px; align-items: center; color: var(--ink); font-weight: 700; }
.tk { width: 30px; height: 30px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--gold); border-radius: var(--r); }
.tk svg { width: 18px; height: 18px; stroke-width: 2.6; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin: 0; }
.facts div { padding-top: 22px; }
.facts div + div { padding-inline-start: 22px; border-inline-start: 1px solid var(--line); margin-top: 22px; padding-top: 0; }
.facts dt { font-size: 13.5px; font-weight: 500; }
html[dir="rtl"] .facts dd, html[dir="rtl"] .badge b { text-align: right; }
.facts dd { margin: 4px 0 0; color: var(--navy); font: 800 21px/1.3 var(--f); }

/* services */
.services { overflow: hidden; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; position: relative; box-shadow: 0 1px 0 var(--line); transition: box-shadow .5s, translate .5s var(--ease); }
.svc-card::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; z-index: 2; background: var(--gold); transform: scaleX(0); transform-origin: var(--o, right); transition: transform .5s var(--ease); }
[dir="ltr"] .svc-card::before { --o: left; }
.svc-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-body { position: relative; padding: 50px 30px 32px; display: flex; flex-direction: column; flex: 1; transition: background .45s; }
.svc-ic { position: absolute; top: -36px; inset-inline-start: 28px; width: 72px; height: 72px; display: grid; place-items: center; background: var(--navy); color: var(--gold); border-radius: var(--r); transition: background .45s, color .45s, transform .6s var(--ease); }
.svc-ic svg { width: 42px; height: 42px; stroke-width: 1.7; }
.svc-no { position: absolute; top: 18px; inset-inline-end: 26px; font: 900 44px/1 'Montserrat', sans-serif; color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: -webkit-text-stroke-color .45s; }
.svc-body h3 { font-size: 22px; margin-bottom: 10px; transition: color .45s; }
.svc-body p { font-size: 15.5px; transition: color .45s; }
.more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; font-size: 14.5px; transition: color .45s; }
.more svg { width: 17px; height: 17px; transition: translate .35s var(--ease); }
.svc-card:hover { box-shadow: 0 30px 60px rgba(4, 38, 58, .16); translate: 0 -8px; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover img { transform: scale(1.07); }
.svc-card:hover .svc-body { background: var(--navy); }
.svc-card:hover .svc-ic { background: var(--gold); color: var(--navy-dd); transform: rotate(-6deg); }
.svc-card:hover h3 { color: var(--white); }
.svc-card:hover p { color: rgba(255,255,255,.78); }
.svc-card:hover .more { color: var(--gold); }
.svc-card:hover .svc-no { -webkit-text-stroke-color: rgba(255,255,255,.25); }
.svc-card:hover .more svg { translate: 5px 0; }
[dir="rtl"] .svc-card:hover .more svg { translate: -5px 0; }

/* journey */
.jr-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.jr-frame { position: sticky; top: 110px; aspect-ratio: 4 / 3.4; border-radius: var(--r); overflow: hidden; background: var(--off); }
.jr-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.6s var(--ease); }
.jr-frame img.on { opacity: 1; transform: scale(1); }
.jr-tag { position: absolute; inset-inline-start: 0; bottom: 0; background: var(--white); padding: 18px 24px; display: flex; gap: 14px; align-items: baseline; color: var(--navy); font: 800 18px/1.2 var(--f); border-start-end-radius: var(--r); }
.jr-tag b { color: var(--gold-d); font: 900 16px/1 'Montserrat', sans-serif; }
.jr-steps { position: relative; display: grid; }
.jr-line { position: absolute; inset-inline-start: 29px; top: 58px; bottom: 58px; width: 0; border-inline-start: 2px dashed var(--line); }
.jr-fill { position: absolute; inset-inline-start: -2px; top: 0; width: 2px; height: calc(var(--p, 0) * 100%); background: var(--gold); }
.truck { position: absolute; inset-inline-start: -9px; top: calc(var(--p, 0) * 100%); width: 16px; height: 16px; margin-top: -8px; background: var(--gold); border-radius: 2px; box-shadow: 0 0 0 6px rgba(217, 155, 35, .22); transform: rotate(45deg); }
.jr-step { display: grid; grid-template-columns: 60px 1fr; gap: 26px; padding-block: 28px; position: relative; }
.jr-step + .jr-step { border-top: 1px solid var(--line); }
.jr-dot { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--white); color: #8094A0; position: relative; z-index: 1; transition: background .45s, color .45s, border-color .45s, transform .5s var(--ease); }
.jr-dot svg { width: 26px; height: 26px; }
.jr-n { display: block; font: 800 12.5px/1 'Montserrat', sans-serif; color: var(--gold-d); letter-spacing: .12em; margin-top: 6px; }
.jr-step h3 { font-size: 23px; margin: 8px 0 8px; transition: color .45s; color: #8094A0; }
.jr-step p { max-width: 42ch; }
.jr-step.on .jr-dot { background: var(--navy); border-color: var(--navy); color: var(--gold); transform: scale(1.06); }
.jr-step.on h3 { color: var(--ink); }
.jr-thumb { display: none; }

/* band */
.band { position: relative; color: var(--white); text-align: center; overflow: hidden; }
.band-img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.band-tint { position: absolute; inset: 0; background: rgba(4, 38, 58, .78); }
.band-in { position: relative; padding-block: 150px; display: flex; flex-direction: column; align-items: center; }
.band h2 { color: var(--white); max-width: 18ch; font-size: clamp(34px, 5vw, 66px); }
.band p:not(.eyebrow) { margin-top: 20px; color: rgba(255,255,255,.84); max-width: 46ch; font-size: 18px; }
.band .eyebrow::after { content: ''; width: 40px; height: 2px; background: var(--gold); }
.band .ctas { justify-content: center; }

/* vision + mission */
.vm { position: relative; background: var(--navy-dd); color: rgba(255,255,255,.7); padding-block: 130px 70px; overflow: hidden; }
.vm-mark { position: absolute; inset-inline-end: -8%; top: 12%; width: 62%; max-width: 860px; opacity: .045; pointer-events: none; }
.vm-head { margin-bottom: 70px; }
.vm-head h2 { color: var(--white); max-width: 16ch; }
.vm-row { display: grid; grid-template-columns: 300px 1fr; gap: 64px; padding-block: 64px; border-top: 1px solid rgba(255,255,255,.12); }
.vm-side { position: sticky; top: 120px; align-self: start; display: grid; gap: 14px; justify-items: start; }
.vm-ic { width: 76px; height: 76px; display: grid; place-items: center; border: 1.5px solid rgba(217,155,35,.55); color: var(--gold); border-radius: var(--r); }
.vm-ic svg { width: 44px; height: 44px; stroke-width: 1.6; }
.vm-ix { font: 900 15px/1 'Montserrat', sans-serif; color: var(--gold); letter-spacing: .14em; margin-top: 10px; }
.vm-side h3 { color: var(--white); font-size: 28px; }
.vm-text { font: 700 clamp(26px, 3.2vw, 44px)/1.45 var(--f); color: var(--white); max-width: 26ch; }
html[lang="en"] .vm-text { letter-spacing: -.015em; line-height: 1.3; }
.motion .fill .w { opacity: .16; }

/* values */
.vals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.vals li { position: relative; padding: 38px 28px 34px; background: var(--white); border-radius: var(--r); overflow: hidden; transition: translate .5s var(--ease), box-shadow .5s; isolation: isolate; }
.vals li::after { content: ''; position: absolute; inset: auto 0 0 0; height: 0; background: var(--navy); z-index: -1; transition: height .5s var(--ease); }
.vals li:hover::after { height: 100%; }
.vals li:hover { translate: 0 -8px; box-shadow: 0 26px 50px rgba(4, 38, 58, .16); }
.val-no { position: absolute; top: 20px; inset-inline-end: 22px; font: 900 34px/1 'Montserrat', sans-serif; color: transparent; -webkit-text-stroke: 1.2px var(--line); transition: -webkit-text-stroke-color .45s; }
.vi { display: grid; place-items: center; width: 64px; height: 64px; background: var(--off); color: var(--navy); border-radius: var(--r); margin-bottom: 26px; transition: background .45s, color .45s, transform .6s var(--ease); }
.vi svg { width: 36px; height: 36px; stroke-width: 1.7; }
.vals h3 { font-size: 19px; margin-bottom: 8px; transition: color .45s; }
.vals p { font-size: 14.5px; line-height: 1.65; transition: color .45s; }
.vals li:hover .vi { background: var(--gold); color: var(--navy-dd); transform: rotate(-8deg) scale(1.05); }
.vals li:hover h3 { color: var(--white); }
.vals li:hover p { color: rgba(255,255,255,.75); }
.vals li:hover .val-no { -webkit-text-stroke-color: rgba(255,255,255,.3); }

/* projects */
.pj-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 20px; }
.pj { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--navy); }
.pj-xl { grid-column: span 2; grid-row: span 2; }
.pj-tall { grid-row: span 2; }
.pj-wide { grid-column: 1 / -1; }
.pj img { width: 100%; height: 124%; margin-top: -12%; object-fit: cover; transition: scale 1s var(--ease); }
.pj figcaption { position: absolute; inset-inline-start: 0; bottom: 0; max-width: calc(100% - 24px); background: var(--white); padding: 14px 22px 16px; display: flex; flex-direction: column; gap: 2px; border-start-end-radius: var(--r); }
.pj figcaption::after { content: ''; position: absolute; inset-inline-start: 22px; bottom: 0; height: 3px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.pj figcaption b { color: var(--ink); font: 800 17px/1.3 var(--f); order: 1; }
.pj figcaption small { color: var(--text); font-size: 13.5px; font-weight: 500; order: 2; }
.ph-flag { order: 0; align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--gold-d); border: 1px solid var(--gold); padding: 1px 8px; border-radius: 2px; margin-bottom: 6px; }
.pj:hover img { scale: 1.06; }
.pj:hover figcaption::after { width: calc(100% - 44px); }

/* clients */
.cl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cl { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; transition: translate .5s var(--ease), box-shadow .5s; }
.cl:nth-child(4n+1):nth-last-child(2) { grid-column: 2; }
.cl::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: var(--o, right); transition: transform .5s var(--ease); }
[dir="ltr"] .cl::before { --o: left; }
.cl-logo { height: 176px; display: grid; place-items: center; padding: 24px; }
.cl-logo img { width: var(--w); max-width: 88%; height: auto; max-height: 118px; transition: transform .6s var(--ease); }
.cl-name { display: flex; flex-direction: column; gap: 2px; padding: 18px 24px 20px; border-top: 1px solid var(--line); transition: background .45s; }
.cl-name b { color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1.45; transition: color .45s; }
.cl-name small { color: var(--text); font-size: 13px; font-weight: 500; transition: color .45s; }
.cl:hover { translate: 0 -6px; box-shadow: 0 24px 50px rgba(4, 38, 58, .14); }
.cl:hover::before { transform: scaleX(1); }
.cl:hover .cl-logo img { transform: scale(1.07); }
.cl:hover .cl-name { background: var(--navy); }
.cl:hover .cl-name b { color: var(--white); }
.cl:hover .cl-name small { color: var(--gold); }

/* contact */
.contact { background: var(--navy); color: rgba(255,255,255,.8); }
.ct-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.ct-info h2 { color: var(--white); margin-bottom: 18px; }
.ct-info > p { max-width: 40ch; font-size: 17.5px; }
.ct-list { margin-top: 40px; display: grid; border-top: 1px solid rgba(255,255,255,.14); }
.ct-list li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.ct-list small { display: block; font-size: 13px; color: rgba(255,255,255,.6); }
.ct-list a, .ct-list span:not(.ci) { color: var(--white); font-weight: 700; font-size: 17px; }
.ct-list a:hover { color: var(--gold); }
.ci { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r); color: var(--gold); transition: background .35s, color .35s; }
.ct-list li:hover .ci { background: var(--gold); color: var(--navy-dd); }
.ci svg { width: 20px; height: 20px; }
.wa-panel { background: var(--white); border-radius: var(--r); border-top: 4px solid var(--gold); padding: 56px 52px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--text); }
.wa-ic { width: 70px; height: 70px; display: grid; place-items: center; background: var(--wa); color: var(--white); border-radius: var(--r); margin-bottom: 8px; }
.wa-ic svg { width: 38px; height: 38px; }
.wa-panel h3 { font-size: 30px; }
.wa-panel p { max-width: 42ch; font-size: 17px; }
.btn-wa { background: var(--wa); color: var(--white); height: 60px; padding: 0 34px; font-size: 17px; margin-top: 12px; --fill: var(--navy); }
.btn-wa svg { width: 22px; height: 22px; }
.wa-num { color: var(--navy); font-weight: 700; font-size: 15.5px; }
.wa-num:hover { color: var(--gold-d); }

/* floating WhatsApp, always at the bottom */
.wa-float { position: fixed; z-index: 60; inset-inline-end: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; background: var(--wa); color: var(--white); font: 700 16px/1 var(--f); border-radius: 29px; box-shadow: 0 10px 30px rgba(4, 38, 58, .28); transition: background .25s, transform .3s var(--ease); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float:hover { background: var(--navy); transform: translateY(-3px); }
.motion .wa-float { animation: floatIn .7s 1.2s var(--ease) both; }
@keyframes floatIn { from { opacity: 0; transform: translateY(20px); } }
.motion .wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.6s 2s ease-out infinite; pointer-events: none; }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.35); } }

/* footer */
.foot { background: var(--navy-dd); color: rgba(255,255,255,.66); font-size: 15px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 52px 42px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-light .brand-name b { color: var(--white); }
.brand-light .brand-name small { color: rgba(255,255,255,.6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-block: 52px 30px; }
.foot-about { max-width: 34ch; line-height: 1.8; }
.foot h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.foot ul { display: grid; gap: 10px; }
.foot a:hover { color: var(--gold); }
.foot-word { text-align: center; padding-inline: 16px; overflow: hidden; }
.foot-word span { display: inline-block; font: 900 clamp(46px, 11.5vw, 190px)/1.05 var(--f); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); white-space: nowrap; letter-spacing: -.03em; }
html[lang="ar"] .foot-word span { font-size: clamp(64px, 17vw, 260px); line-height: 1.3; letter-spacing: 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }

/* ---------- initial states before GSAP plays (only with .motion) ---------- */
.motion .hero-kick, .motion .hero .lead, .motion .hero-ctas, .motion .hero-foot { opacity: 0; }
.motion .split .w > span { transform: translateY(110%); }
.motion .rv { opacity: 0; }

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

.credit { font-size: 12px; opacity: .75; }
.credit a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.credit a:hover { color: var(--white); }

/* ---------- gallery: navy band, masonry of the team's own job photos, full-screen viewer ---------- */
.gallery { background: var(--navy-dd); color: rgba(255,255,255,.72); }
.gallery h2 { color: var(--white); }
.gl-grid { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 20px; }
.gl-grid li { break-inside: avoid; margin-bottom: 20px; }
.gl-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--navy); border-radius: var(--r); overflow: hidden; cursor: zoom-in; color: inherit; font: inherit; text-align: start; }
.gl-item img { width: 100%; height: auto; transition: scale 1.1s var(--ease), opacity .5s; }
.gl-item::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--gold); border-radius: var(--r); opacity: 0; transition: opacity .4s; pointer-events: none; }
.gl-cap { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--navy-dd); color: var(--white); font: 600 14.5px/1.4 var(--f); transform: translateY(101%); transition: transform .5s var(--ease); }
.gl-cap b { color: var(--gold); font-weight: 800; }
.gl-item:hover img { scale: 1.05; }
.gl-item:hover .gl-cap, .gl-item:focus-visible .gl-cap { transform: none; }
.gl-item:hover::after, .gl-item:focus-visible::after { opacity: 1; }

.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(2, 20, 31, .96); color: var(--white); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: transparent; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 70px 90px 40px; max-width: 100%; }
.lb-fig img { max-width: min(1300px, 100%); max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: var(--r); }
.lb-fig figcaption { display: flex; gap: 12px; font: 600 15.5px/1.5 var(--f); text-align: center; }
.lb-fig figcaption b { color: var(--gold); font-weight: 800; }
.lb.swap .lb-fig img { animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-btn { position: absolute; width: 54px; height: 54px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dd); }
.lb-x { top: 20px; inset-inline-end: 20px; }
.lb-prev, .lb-next { top: 50%; margin-top: -27px; }
.lb-prev { inset-inline-start: 20px; }
.lb-next { inset-inline-end: 20px; }
html[dir="rtl"] .lb-prev svg, html[dir="rtl"] .lb-next svg { transform: scaleX(-1); }
@media (max-width: 980px) { .gl-grid { columns: 2; column-gap: 14px; } .gl-grid li { margin-bottom: 14px; } }
@media (max-width: 640px) {
  .gl-grid { column-gap: 10px; } .gl-grid li { margin-bottom: 10px; }
  .gl-cap { display: none; }
  .lb-fig { padding: 70px 12px 96px; }
  .lb-fig img { max-height: calc(100dvh - 210px); }
  .lb-prev, .lb-next { top: auto; bottom: 22px; margin-top: 0; }
  .lb-prev { inset-inline-start: calc(50% - 64px); }
  .lb-next { inset-inline-end: calc(50% - 64px); }
}
@media (hover: none) { .gl-item:hover img { scale: 1; } .gl-item:hover::after { opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .vals { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  :root { --head-h: 74px; }
  .nav, .head-cta, .head-in > .lang { display: none; }
  .burger { display: flex; }
  .head.stuck .head-in { height: 66px; }
  .sec { padding-block: 96px; }
  .about { padding-top: 110px; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick-call { grid-column: span 2; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 20px; }
  .about-grid, .jr-grid, .ct-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 640px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc-card:last-child { grid-column: span 2; }
  .svc-card:last-child figure { aspect-ratio: 16 / 7; }
  .jr-frame { display: none; }
  .jr-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin-top: 18px; }
  .vm-row { grid-template-columns: 1fr; gap: 26px; padding-block: 48px; }
  .vm-side { position: static; grid-template-columns: auto 1fr; align-items: center; column-gap: 18px; }
  .vm-ic { grid-row: span 2; width: 64px; height: 64px; }
  .vm-ix { margin-top: 0; }
  .vm-mark { width: 120%; inset-inline-end: -40%; top: 30%; }
  .pj-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .pj-xl { grid-column: span 2; grid-row: span 1; }
  .cl-grid { grid-template-columns: repeat(2, 1fr); }
  .cl:nth-child(4n+1):nth-last-child(2) { grid-column: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .brand-logo { width: 52px; height: 27px; }
  .brand-name b { font-size: 15px; }
  .brand-name small { font-size: 11px; }
  .hero { min-height: 100svh; }
  .hero-in { padding-block: 120px 170px; }
  .hero .lead { font-size: 16.5px; }
  .hero-foot { bottom: 100px; }
  .slide-cap { display: none; }
  .ctas .btn { flex: 1 1 auto; }
  .quick { grid-template-columns: 1fr; margin-top: -70px; }
  .quick-item + .quick-item { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .quick-item { padding: 24px 22px; }
  .quick-call { grid-column: auto; padding: 22px; flex-direction: column; align-items: flex-start; }
  .quick-call > a[href^="tel"] { font-size: 23px; }
  .sec { padding-block: 76px; }
  .about { padding-top: 84px; }
  .about-media { padding-inline-end: 32px; padding-bottom: 56px; }
  .badge { inset-inline-start: -8px; bottom: 18px; padding: 14px 16px; min-width: 0; }
  .badge b { font-size: 32px; }
  .ph-sub { border-width: 5px; width: 50%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { grid-column: span 2; border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .sec-head { margin-bottom: 40px; }
  .svc { grid-template-columns: 1fr; gap: 48px; }
  .svc-card:last-child { grid-column: auto; }
  .svc-card:last-child figure { aspect-ratio: 4 / 3; }
  .svc-body { padding: 50px 22px 26px; }
  .jr-step { grid-template-columns: 50px 1fr; gap: 18px; }
  .jr-dot { width: 50px; height: 50px; }
  .jr-dot svg { width: 22px; height: 22px; }
  .jr-line { inset-inline-start: 24px; top: 52px; bottom: 52px; }
  .jr-step h3 { font-size: 20px; }
  .band-in { padding-block: 96px; }
  .vm { padding-block: 84px 40px; }
  .vm-head { margin-bottom: 30px; }
  .vals { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vals li { padding: 26px 18px; }
  .vals li:last-child { grid-column: span 2; }
  .vi { width: 54px; height: 54px; margin-bottom: 18px; }
  .pj-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 14px; }
  .pj-xl, .pj-tall, .pj-wide { grid-column: auto; grid-row: auto; }
  .cl-grid { gap: 12px; }
  .cl-logo { height: 136px; padding: 14px; }
  .cl-logo img { width: calc(var(--w) * .78); max-width: 90%; max-height: 92px; }
  .cl-name { padding: 14px 16px 16px; }
  .cl-name b { font-size: 13.5px; }
  .cl-name small { font-size: 12px; }
  .wa-panel { padding: 36px 22px; }
  .btn-wa { width: 100%; }
  .wa-float { inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); height: 54px; padding: 0 18px 0 15px; font-size: 15px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-about { grid-column: auto; }
  .foot-bottom { flex-direction: column; padding-bottom: 90px; }
}

/* touch screens: no sticky hover states after a tap */
@media (hover: none) {
  .svc-card:hover, .vals li:hover, .cl:hover { translate: none; box-shadow: none; }
  .svc-card:hover .svc-body, .cl:hover .cl-name { background: transparent; }
  .vals li:hover::after { height: 0; }
  .svc-card:hover h3, .vals li:hover h3, .cl:hover .cl-name b { color: var(--ink); }
  .svc-card:hover p, .vals li:hover p { color: var(--text); }
  .cl:hover .cl-name small { color: var(--text); }
  .svc-card:hover .more { color: var(--navy); }
  .svc-card:hover .svc-ic { background: var(--navy); color: var(--gold); transform: none; }
  .vals li:hover .vi { background: var(--off); color: var(--navy); transform: none; }
  .svc-card:hover img, .cl:hover .cl-logo img, .pj:hover img { transform: none; scale: 1; }
}
