/* EMCOR: clean corporate system. Brand colours from the Emcor guideline, used sparingly. */
@font-face { font-family: "EmcorArabic"; src: local("Sakkal Majalla"), local("SakkalMajalla"); size-adjust: 125%; }
@font-face { font-family: "EmcorArabic"; src: local("Sakkal Majalla Bold"), local("SakkalMajalla-Bold"); font-weight: 700; size-adjust: 125%; }

:root {
  --navy: #142e61;
  --navy-deep: #0d2150;
  --navy-ink: #0b1630;
  --blue: #2a5999;
  --sky: #4f9dd3;
  --soft: #a9b7c9;
  --ink: #142e61;
  --text: #4b5565;
  --muted: #6b7686;
  --line: #e3e7ed;
  --alt: #f5f7fa;
  --mist: #f5f7fa;
  --white: #fff;

  --f-lat: "Poppins", system-ui, sans-serif;
  --f-ar: "EmcorArabic", "Noto Naskh Arabic", "Poppins", serif;
  --f: var(--f-lat);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 9vw, 120px);
  --head-h: 76px;
  --ease: cubic-bezier(0.22, 0.7, 0.12, 1);
}
html[lang="ar"] { --f: var(--f-ar); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-size: 18px; line-height: 1.8; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { font-weight: 700; letter-spacing: 0 !important; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[lang="ar"] { font-family: var(--f-ar); }
[lang="en"] { font-family: var(--f-lat); }
html[lang="ar"] [lang="ar"], html[lang="en"] [lang="en"] { font-family: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 4px; }
.skip:focus-visible { top: 12px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus, h3[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 2px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
html[lang="ar"] .btn { font-size: 16px; font-weight: 700; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { min-height: 48px; padding: 0 24px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #e8eef6; }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline { color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.linkish { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }

.ic { width: 18px; height: 18px; flex: none; }
.ic-lg { width: 28px; height: 28px; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }

/* Headings */
.heading { max-width: 640px; }
.heading-label { font-size: 13px; font-weight: 500; color: var(--blue); margin-bottom: 12px; }
html[lang="ar"] .heading-label { font-size: 16px; font-weight: 700; }
.heading h2 { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.2; letter-spacing: -0.02em; }
html[lang="ar"] .heading h2 { line-height: 1.45; font-size: clamp(30px, 2.9vw, 42px); }
.heading-intro { margin-top: 14px; font-size: 16.5px; color: var(--text); max-width: 56ch; }
html[lang="ar"] .heading-intro { font-size: 18.5px; }
.on-dark h2 { color: var(--white); }
.on-dark .heading-intro { color: rgba(255,255,255,.78); }
.on-dark .heading-label { color: var(--soft); }

/* Header */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--head-h); color: var(--white); transition: background-color .3s, color .3s, box-shadow .3s; }
.site-header.is-solid { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.logo { height: 36px; width: auto; display: block; }
.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 11px; font-size: 14px; text-decoration: none; position: relative; color: inherit; }
html[lang="ar"] .nav-link { font-size: 16.5px; }
.nav-link::after { content: ""; position: absolute; inset-inline: 11px; bottom: 7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .25s var(--ease); }
[dir="rtl"] .nav-link::after { --origin: right; }
.nav-link:hover::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.ic-chev { width: 15px; height: 15px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .ic-chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn { height: 38px; padding: 0 12px; font-size: 14px; border-inline-start: 1px solid rgba(127,140,170,.4); }
.lang-btn[lang="ar"] { font-size: 16.5px; }
.lang-btn:hover { color: var(--sky); }
.site-header:not(.is-solid) .header-quote { background: var(--white); color: var(--navy); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-btn .ic { width: 24px; height: 24px; }
/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; inset-inline: 0; top: var(--head-h); background: var(--white); color: var(--navy);
  border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(13,33,80,.35);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.mega.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.mega-inner {
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 40px var(--gutter) 48px;
  display: grid; grid-template-columns: 300px 1fr; gap: 56px;
}
.mega-title { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
html[lang="ar"] .mega-title { font-weight: 700; letter-spacing: 0; }
.mega-note { font-size: 15px; color: var(--text); margin: 12px 0 24px; }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.mega-list button, .mega-list a {
  display: block; width: 100%; text-align: start; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mega-name { display: block; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.mega-short { display: block; font-size: 13px; color: var(--muted); }
.mega-list button:hover .mega-name, .mega-list a:hover .mega-name { color: var(--blue); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: var(--head-h) 0 0 0; background: var(--white); color: var(--navy);
  padding: 16px var(--gutter) 40px; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
}
.mobile-nav.open { visibility: visible; opacity: 1; transition: opacity .2s; }
.mobile-nav a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 400; text-decoration: none;
}
html[lang="ar"] .mobile-nav a { font-weight: 500; }
.mobile-nav-foot { margin-top: 32px; display: grid; gap: 8px; }
.mobile-nav-foot .btn { margin-bottom: 16px; }
.mobile-nav-foot p { font-size: 15px; color: var(--text); text-align: start; }

/* ---------- Story hero: real photographs, driven by scroll ---------- */
.story { position: relative; height: 640vh; background: var(--navy-ink); }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--white); --p: 0; --lp: 0; --rp: 0; isolation: isolate; }
.shots { position: absolute; inset: 0; z-index: -2; }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.shot.on { opacity: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease); will-change: transform; }
.shot.on img { transform: scale(calc(1.1 - var(--lp) * 0.08)); transition: none; }
.shot.past img { transform: scale(1.02); }
.story-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8,16,36,.4) 0%, rgba(8,16,36,0) 18%, rgba(8,16,36,0) 50%, rgba(8,16,36,.8) 100%),
    linear-gradient(to var(--fade, right), rgba(8,16,36,.6) 0%, rgba(8,16,36,.2) 45%, rgba(8,16,36,0) 65%);
}
[dir="rtl"] .story-shade { --fade: left; }
.story-ui { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; padding-top: var(--head-h); }
.story-intro, .story-caps { grid-row: 1; grid-column: 1; align-self: end; }
.story-intro { max-width: 640px; padding-bottom: 44px; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.story-intro:not(.on) { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.hero-title { color: var(--white); font-size: clamp(34px, 4.3vw, 58px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 500; max-width: 15ch; }
html[lang="ar"] .hero-title { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.4; }
.hero-intro { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.85); max-width: 46ch; }
html[lang="ar"] .hero-intro { font-size: 19px; }
.hero-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { margin-top: 36px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,.7); }
html[lang="ar"] .scroll-cue { font-size: 15.5px; }
.scroll-line { position: relative; width: 1px; height: 36px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--white); animation: cue 2.2s 1s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-14px); } 70%, 100% { transform: translateY(36px); } }

.story-caps { position: relative; height: 100%; max-width: 520px; pointer-events: none; }
.cap { position: absolute; inset-inline: 0; bottom: 44px; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s; }
.cap.on { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .6s .15s var(--ease), transform .8s .15s var(--ease); }
.cap-count { font-size: 13px; color: rgba(255,255,255,.9); font-family: var(--f-lat); }
.cap-count span { color: rgba(255,255,255,.55); }
.cap-name { color: var(--white); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin-top: 8px; }
html[lang="ar"] .cap-name { line-height: 1.45; }
.cap-desc { margin-top: 12px; font-size: 17px; color: rgba(255,255,255,.88); max-width: 40ch; }
html[lang="ar"] .cap-desc { font-size: 19px; }
.cap-out { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.72); max-width: 46ch; }
.cap-out span { color: var(--white); font-weight: 500; }
html[lang="ar"] .cap-out { font-size: 16px; }
.cap-btn { margin-top: 22px; }

.story-rail { padding-bottom: 28px; }
.rail-title { font-size: 12.5px; color: rgba(255,255,255,.62); margin-bottom: 12px; }
html[lang="ar"] .rail-title { font-size: 15px; }
.srail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.srail li { position: relative; }
.srail li::before, .srail li::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: rgba(255,255,255,.25); }
.srail li::after { background: var(--white); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .5s var(--ease); }
[dir="rtl"] .srail li::after { --origin: right; }
.srail li.reached::after { transform: scaleX(1); }
.srail button { display: flex; gap: 10px; align-items: baseline; width: 100%; padding-top: 12px; text-align: start; color: rgba(255,255,255,.6); transition: color .3s; }
.srail .srail-num { font-size: 12px; font-family: var(--f-lat); }
.srail .srail-name { font-size: 14px; }
html[lang="ar"] .srail .srail-name { font-size: 16px; }
.srail li.reached button { color: rgba(255,255,255,.85); }
.srail li.current button { color: var(--white); }
.srail button:hover { color: var(--white); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-text { display: grid; gap: 18px; }
.about-text .heading { margin-bottom: 6px; }
.lede { font-size: 18px; color: var(--ink); line-height: 1.6; }
html[lang="ar"] .lede { font-size: 20px; }
.direction { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.direction-item h3 { font-size: 15px; margin-bottom: 8px; }
html[lang="ar"] .direction-item h3 { font-size: 18px; }
.direction-item p { font-size: 15px; }
html[lang="ar"] .direction-item p { font-size: 17px; }
.about-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--alt); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.facts { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 24px 24px 0 0; }
[dir="rtl"] .fact { padding: 24px 0 0 24px; }
.fact dt { font-size: 17px; font-weight: 500; color: var(--ink); }
html[lang="ar"] .fact dt { font-weight: 700; font-size: 19px; }
.fact dd { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
html[lang="ar"] .fact dd { font-size: 16.5px; }

/* ---------- Services ---------- */
.services { background: var(--alt); }
.svc { margin-top: 48px; display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.svc-index { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc-tab { position: relative; text-align: start; padding: 16px 16px 16px 18px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
[dir="rtl"] .svc-tab { padding: 16px 18px 16px 16px; }
.svc-tab::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: -1px; width: 2px; background: var(--navy); transform: scaleY(0); transition: transform .3s var(--ease); }
.svc-tab-name { display: block; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.35; }
html[lang="ar"] .svc-tab-name { font-size: 17.5px; font-weight: 700; }
.svc-tab-short { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
html[lang="ar"] .svc-tab-short { font-size: 15px; }
.svc-tab:hover { background: rgba(20,46,97,.03); }
.svc-tab.active { background: var(--white); }
.svc-tab.active::before { transform: scaleY(1); }

.svc-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; background: var(--white); border: 1px solid var(--line); min-height: 560px; animation: fadein .45s var(--ease); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.svc-media { position: relative; overflow: hidden; background: var(--alt); }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 36px clamp(24px, 3vw, 44px); }
.svc-name { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -0.015em; }
html[lang="ar"] .svc-name { line-height: 1.5; }
.svc-summary { margin-top: 10px; font-size: 15.5px; max-width: 56ch; }
html[lang="ar"] .svc-summary { font-size: 17.5px; }
.svc-sub { margin-top: 24px; font-size: 13px; color: var(--blue); }
html[lang="ar"] .svc-sub { font-size: 16px; }
.svc-caps { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.svc-caps li { font-size: 14px; color: var(--ink); padding: 9px 0 9px 16px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.45; }
[dir="rtl"] .svc-caps li { padding: 9px 16px 9px 0; }
html[lang="ar"] .svc-caps li { font-size: 16px; }
.svc-caps li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.05em; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.svc-facts { margin: 24px 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-facts dt { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
html[lang="ar"] .svc-facts dt { font-size: 15px; }
.svc-facts dd { margin: 0; }
.svc-facts strong { display: block; color: var(--ink); font-weight: 500; font-size: 14.5px; line-height: 1.35; }
.svc-facts span { display: block; font-size: 13.5px; margin-top: 3px; line-height: 1.5; }
html[lang="ar"] .svc-facts strong { font-size: 16.5px; font-weight: 700; }
html[lang="ar"] .svc-facts span { font-size: 15.5px; }
.svc-package { margin-top: 28px; font-size: 14.5px; color: var(--muted); max-width: 72ch; }
html[lang="ar"] .svc-package { font-size: 16.5px; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ind-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--alt); border-radius: 2px; }
.ind-media img { width: 100%; height: 100%; object-fit: cover; }
.sectors { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; border-top: 1px solid var(--line); }
.sectors li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.sectors h3 { font-size: 16px; }
html[lang="ar"] .sectors h3 { font-size: 18.5px; }
.sectors p { margin-top: 3px; font-size: 14px; color: var(--muted); }
html[lang="ar"] .sectors p { font-size: 16px; }
.scope { margin-top: 30px; }
.scope-title { font-size: 13px; color: var(--blue); margin-bottom: 12px; }
html[lang="ar"] .scope-title { font-size: 16px; }
.scope ul { display: flex; flex-wrap: wrap; gap: 8px; }
.scope li { font-size: 13px; color: var(--ink); background: var(--alt); padding: 6px 12px; border-radius: 2px; }
html[lang="ar"] .scope li { font-size: 15px; }

/* ---------- Why ---------- */
.why { background: var(--alt); }
.why-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-grid li { background: var(--white); padding: 32px 30px 34px; }
.why-ic { display: block; color: var(--navy); margin-bottom: 18px; }
.why-grid h3 { font-size: 17px; }
html[lang="ar"] .why-grid h3 { font-size: 19px; }
.why-grid p { margin-top: 6px; font-size: 14.5px; max-width: 36ch; }
html[lang="ar"] .why-grid p { font-size: 16.5px; }

/* ---------- HSE ---------- */
.hse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hse-media { aspect-ratio: 5 / 6; overflow: hidden; background: var(--alt); border-radius: 2px; }
.hse-media img { width: 100%; height: 100%; object-fit: cover; }
.values { margin-top: 32px; border-top: 1px solid var(--line); }
.values li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.values h3 { font-size: 15.5px; }
html[lang="ar"] .values h3 { font-size: 18px; }
.values p { font-size: 14.5px; }
html[lang="ar"] .values p { font-size: 16.5px; }
.hse-measured { margin-top: 22px; font-size: 14px; color: var(--muted); }
html[lang="ar"] .hse-measured { font-size: 16px; }

/* ---------- Contact ---------- */
.contact { position: relative; color: var(--white); overflow: hidden; isolation: isolate; background: var(--navy-ink); }
.contact-media { position: absolute; inset: 0; z-index: -1; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.contact-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to var(--fade, right), rgba(11,22,48,.92) 0%, rgba(11,22,48,.6) 100%); }
[dir="rtl"] .contact-media::after { --fade: left; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact .heading { margin-bottom: 28px; }
.contact-list li { display: grid; grid-template-columns: 22px 100px 1fr; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 15px; }
html[lang="ar"] .contact-list li { grid-template-columns: 22px 120px 1fr; font-size: 17px; }
.contact-list li:first-child { border-top: 1px solid rgba(255,255,255,.18); }
.contact-list .ic { color: var(--soft); }
.contact-list .cl-k { color: rgba(255,255,255,.62); font-size: 13.5px; }
html[lang="ar"] .contact-list .cl-k { font-size: 15.5px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
[dir="rtl"] .contact-list [dir="ltr"] { text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.66); padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 52px; }
.foot-brand .logo { height: 42px; }
.foot-motto { margin-top: 18px; color: var(--white); font-size: 15px; max-width: 24ch; }
html[lang="ar"] .foot-motto { font-size: 17px; }
.foot-h { color: var(--white); font-size: 13.5px; font-weight: 500; margin-bottom: 14px; }
html[lang="ar"] .foot-h { font-size: 16px; }
.site-footer li { font-size: 14px; padding: 4px 0; }
html[lang="ar"] .site-footer li { font-size: 16px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
[dir="rtl"] .foot-contact [dir="ltr"] { text-align: right; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px 26px; font-size: 13px; }
/* ---------- Quote drawer ---------- */
.drawer-root { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s .35s; }
.drawer-root.open { visibility: visible; transition: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10,26,64,.55); opacity: 0; transition: opacity .3s; }
.drawer-root.open .drawer-scrim { opacity: 1; }
.drawer {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(560px, 100%); background: var(--white);
  overflow-y: auto; padding: 0 40px 48px; transform: translateX(var(--off, 100%)); transition: transform .4s var(--ease);
}
[dir="rtl"] .drawer { --off: -100%; }
.drawer-root.open .drawer { transform: none; }
.drawer-head { position: sticky; top: 0; background: var(--white); display: flex; align-items: center; justify-content: space-between; padding: 28px 0 20px; border-bottom: 1px solid var(--line); z-index: 1; }
.drawer-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
html[lang="ar"] .drawer-head h2 { font-weight: 700; letter-spacing: 0; }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy); margin-inline-end: -10px; }
.qform { padding-top: 24px; display: grid; gap: 20px; }
.qform-intro { font-size: 15.5px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--navy); padding: 0; }
html[lang="ar"] .field label, html[lang="ar"] .field legend { font-size: 16px; font-weight: 700; }
.req { font-weight: 400; color: var(--text); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid #c7d1df; border-radius: 3px; padding: 10px 14px; background: var(--white);
  font-size: 16px; color: var(--navy); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,157,211,.25); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field ::placeholder { color: #8a97ad; }
.has-err input, .has-err select { border-color: #b3261e; }
.err { font-size: 13.5px; color: #b3261e; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #c7d1df; border-radius: 40px; font-size: 14.5px; color: var(--navy); cursor: pointer; transition: all .2s; }
html[lang="ar"] .chip { font-size: 16px; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip:has(input:focus-visible) { outline: 2px solid var(--sky); outline-offset: 2px; }
.ready { padding-top: 28px; display: grid; gap: 16px; }
.ready h3 { font-size: 19px; font-weight: 500; }
html[lang="ar"] .ready h3 { font-weight: 700; }
.ready-summary {
  margin: 4px 0 0; padding: 18px; background: var(--mist); border-inline-start: 3px solid var(--sky);
  font-family: var(--f); font-size: 14.5px; line-height: 1.7; white-space: pre-wrap; color: var(--navy); user-select: all;
}
.ready-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ready-alt { font-size: 14px; color: #b3261e; min-height: 1px; }
.ready-phone { display: flex; gap: 10px; align-items: center; color: var(--navy); }
.ready-phone .ic { color: var(--blue); }
.ready .linkish { justify-self: start; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .main-nav, .header-quote { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .lang-btn { border: 0; }
  .svc { grid-template-columns: 1fr; }
  .svc-index { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
  .svc-tab { flex: none; width: 220px; border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .svc-tab::before { inset-inline: -1px; inset-block: auto 0; width: auto; height: 2px; transform: scaleX(0); }
  .svc-tab.active::before { transform: scaleX(1); }
}
@media (max-width: 900px) {
  :root { --head-h: 68px; }
  .logo { height: 32px; }
  .about-grid, .ind-grid, .hse-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media, .ind-media, .hse-media { aspect-ratio: 16 / 10; }
  .ind-media { order: -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .svc-panel { grid-template-columns: 1fr; min-height: 0; }
  .svc-media { height: 240px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .story { height: 520vh; }
  .story-shade { background: linear-gradient(to bottom, rgba(8,16,36,.5) 0%, rgba(8,16,36,0) 20%, rgba(8,16,36,.35) 42%, rgba(8,16,36,.9) 68%, rgba(8,16,36,.95) 100%); }
  .srail .srail-name { display: none; }
  .srail li.current .srail-name { display: inline; }
}
@media (max-width: 640px) {
  .story-intro { padding-bottom: 28px; }
  .hero-intro { font-size: 15.5px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .cap { bottom: 28px; }
  .cap-desc { font-size: 15.5px; }
  .srail { gap: 8px; }
  .srail li.current .srail-name { display: none; }
  .rail-title { display: none; }
  .direction { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .svc-caps { grid-template-columns: 1fr; }
  .svc-facts { grid-template-columns: 1fr; gap: 14px; }
  .sectors { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 1fr; gap: 4px; }
  .contact-list li, html[lang="ar"] .contact-list li { grid-template-columns: 22px 1fr; }
  .contact-list .cl-k { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .drawer { padding: 0 20px 40px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .shot.on img { transform: none; }
}
[dir="rtl"] .mobile-nav-foot [dir="ltr"] { text-align: right; }
.field-row { align-items: start; }
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; background: #1d2a3f; }
/* ---------- Service cards (home + other services) ---------- */
.svc-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); text-decoration: none; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.svc-card a:hover { border-color: #cbd3de; box-shadow: 0 18px 40px -28px rgba(11,22,48,.45); }
.svc-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alt); }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card a:hover .svc-card-media img { transform: scale(1.04); }
.svc-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.svc-card-name { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.35; }
html[lang="ar"] .svc-card-name { font-size: 18.5px; font-weight: 700; }
.svc-card-short { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
html[lang="ar"] .svc-card-short { font-size: 15.5px; }
.svc-card-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--blue); }
html[lang="ar"] .svc-card-more { font-size: 15.5px; font-weight: 700; }
.svc-card-more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc-card a:hover .svc-card-more .ic { transform: translate(2px, -2px); }
[dir="rtl"] .svc-card a:hover .svc-card-more .ic { transform: scaleX(-1) translate(2px, -2px); }
.svc-card-cta > div { height: 100%; background: var(--navy); color: var(--white); padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 260px; }
.svc-cta-text { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.88); }
html[lang="ar"] .svc-cta-text { font-size: 17.5px; }
.svc-cards-sm { grid-template-columns: repeat(3, 1fr); }

/* ---------- Service page ---------- */
.page-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: var(--white); background: var(--navy-ink); overflow: hidden; isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,16,36,.55) 0%, rgba(8,16,36,.1) 30%, rgba(8,16,36,.82) 100%), linear-gradient(to var(--fade, right), rgba(8,16,36,.5), rgba(8,16,36,0) 65%); }
[dir="rtl"] .page-hero-media::after { --fade: left; }
.page-hero-body { padding-top: calc(var(--head-h) + 60px); padding-bottom: 56px; }
.page-hero-body > * { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 18px; }
html[lang="ar"] .crumbs { font-size: 15px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--white); }
.page-title { color: var(--white); font-size: clamp(32px, 4vw, 54px); line-height: 1.15; letter-spacing: -0.02em; }
html[lang="ar"] .page-title { line-height: 1.45; }
.page-lede { margin: 16px 0 28px; font-size: 17.5px; color: rgba(255,255,255,.88); max-width: 52ch; }
html[lang="ar"] .page-lede { font-size: 19.5px; }

.page-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.page-caps { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; border-top: 1px solid var(--line); }
.page-caps li { position: relative; padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink); line-height: 1.5; }
[dir="rtl"] .page-caps li { padding: 16px 22px 16px 0; }
html[lang="ar"] .page-caps li { font-size: 17.5px; }
.page-caps li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.45em; width: 10px; height: 1px; background: var(--navy); }
.page-note { margin: 40px 0 0; padding: 4px 0 4px 22px; border-inline-start: 2px solid var(--navy); font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 46ch; }
[dir="rtl"] .page-note { padding: 4px 22px 4px 0; }
html[lang="ar"] .page-note { font-size: 22px; }
.page-aside { position: sticky; top: calc(var(--head-h) + 24px); background: var(--alt); padding: 28px 26px; border: 1px solid var(--line); }
.page-aside-title { font-size: 18px; margin-bottom: 8px; }
html[lang="ar"] .page-aside-title { font-size: 20px; }
.page-aside dl { margin: 0 0 22px; }
.page-aside dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.page-aside dt { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
html[lang="ar"] .page-aside dt { font-size: 15px; }
.page-aside dd { margin: 0; }
.page-aside strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
html[lang="ar"] .page-aside strong { font-size: 17px; font-weight: 700; }
.page-aside dd span { display: block; font-size: 14px; margin-top: 2px; }
html[lang="ar"] .page-aside dd span { font-size: 16px; }
.page-aside-contact { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); }
.page-aside-contact a { text-decoration: none; }
.page-aside-contact .ic { color: var(--blue); }

.page-extra { background: var(--alt); }
.systems { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.systems li { background: var(--white); padding: 26px 24px; }
.systems h3 { font-size: 16px; }
html[lang="ar"] .systems h3 { font-size: 18.5px; }
.systems p { margin-top: 6px; font-size: 14.5px; }
html[lang="ar"] .systems p { font-size: 16.5px; }
.steps-title { margin-top: 48px; font-size: 18px; }
.steps { margin-top: 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: st; }
.steps li { border-top: 2px solid var(--navy); padding-top: 12px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
html[lang="ar"] .steps li { font-size: 16.5px; font-weight: 700; }
.steps span { display: block; font-size: 12px; color: var(--muted); font-weight: 400; font-family: var(--f-lat); margin-bottom: 4px; }
.accessories { margin-top: 28px; font-size: 14.5px; color: var(--muted); }
html[lang="ar"] .accessories { font-size: 16.5px; }

@media (max-width: 1140px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-cards-sm { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
}
@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .systems { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-cards, .svc-cards-sm { grid-template-columns: 1fr; }
  .page-caps { grid-template-columns: 1fr; }
  .systems { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 72vh; }
}
/* ======================= Branded service pages ======================= */
.mark { display: block; }
.page-hero { min-height: min(86vh, 780px); }
.page-hero-mark { position: absolute; inset-inline-end: -4vw; bottom: -12vh; width: min(46vw, 620px); height: auto; opacity: .07; z-index: -1; pointer-events: none; }
.page-count { font-size: 13px; color: rgba(255,255,255,.85); font-family: var(--f-lat); margin-bottom: 10px; letter-spacing: .02em; }
html[lang="ar"] .page-count { font-family: var(--f-ar); font-size: 15px; }
.page-count span { color: rgba(255,255,255,.5); }
.page-alt { margin-top: 6px; font-size: 20px; color: var(--soft); }
.page-alt[lang="ar"] { font-size: 24px; }
.page-lede { margin: 18px 0 30px; }
.page-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.page-ctas .btn-ghost .ic { width: 17px; height: 17px; }

.page-facts { background: var(--navy); color: var(--white); }
.page-facts-grid { margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.page-facts-grid > div { padding: 34px 32px 36px 0; border-inline-end: 1px solid rgba(255,255,255,.14); }
.page-facts-grid > div + div { padding-inline-start: 32px; }
.page-facts-grid > div:last-child { border-inline-end: 0; }
.page-facts-grid dt { font-size: 12.5px; color: var(--soft); margin-bottom: 8px; }
html[lang="ar"] .page-facts-grid dt { font-size: 15px; }
.page-facts-grid dd { margin: 0; }
.page-facts-grid strong { display: block; font-size: 19px; font-weight: 500; line-height: 1.3; }
html[lang="ar"] .page-facts-grid strong { font-size: 21px; font-weight: 700; }
.page-facts-grid span { display: block; margin-top: 6px; font-size: 14.5px; color: rgba(255,255,255,.75); max-width: 34ch; }
html[lang="ar"] .page-facts-grid span { font-size: 16.5px; }

.page-main-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.cap-tiles { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap-tiles li { position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 150px; padding: 22px 22px 24px; background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.45; transition: border-color .25s, box-shadow .25s; }
html[lang="ar"] .cap-tiles li { font-size: 17px; font-weight: 700; }
.cap-tiles li::after { content: ""; position: absolute; inset-inline: -1px; top: -1px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .35s var(--ease); }
[dir="rtl"] .cap-tiles li::after { --origin: right; }
.cap-tiles li:hover { border-color: #cfd6e0; box-shadow: 0 16px 34px -26px rgba(11,22,48,.5); }
.cap-tiles li:hover::after { transform: scaleX(1); }
.cap-tick { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #eaf0f8; color: var(--navy); }
.tick { width: 18px; height: 18px; }

.statement { position: relative; overflow: hidden; background: var(--navy-ink); color: var(--white); isolation: isolate; }
.statement-mark { position: absolute; inset-inline-start: -6vw; top: 50%; transform: translateY(-50%); width: min(40vw, 520px); height: auto; opacity: .06; z-index: -1; }
.statement-body { padding-block: clamp(72px, 9vw, 120px); display: grid; justify-items: center; text-align: center; }
.statement blockquote { margin: 0; max-width: 30ch; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.35; font-weight: 400; letter-spacing: -0.015em; }
html[lang="ar"] .statement blockquote { font-size: clamp(26px, 2.9vw, 40px); line-height: 1.6; font-weight: 700; }
.statement-sign { margin-top: 26px; font-size: 13px; color: var(--soft); }
html[lang="ar"] .statement-sign { font-size: 16px; }

/* ======================= Branded quote modal ======================= */
.qm-root { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s .4s; }
.qm-root.open { visibility: visible; transition: none; }
.qm-scrim { position: absolute; inset: 0; background: rgba(8,16,36,.6); opacity: 0; transition: opacity .35s; backdrop-filter: blur(3px); }
.qm-root.open .qm-scrim { opacity: 1; }
.qm {
  position: absolute; inset: clamp(0px, 2.5vw, 32px); max-width: 1240px; margin: auto; display: grid; grid-template-columns: 380px 1fr;
  background: var(--white); box-shadow: 0 40px 100px -30px rgba(0,0,0,.55); overflow: hidden;
  opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.qm-root.open .qm { opacity: 1; transform: none; }
.qm-side { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 36px 34px; display: flex; flex-direction: column; gap: 28px; isolation: isolate; }
.qm-side::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, #1a3a78 0%, var(--navy) 45%, var(--navy-ink) 100%); }
.qm-side-mark { position: absolute; inset-inline-end: -90px; bottom: -60px; width: 360px; height: auto; opacity: .08; z-index: -1; }
.qm-logo { height: 40px; }
.qm-side-copy { margin-top: auto; }
.qm-eyebrow { font-size: 13px; color: var(--soft); margin-bottom: 10px; }
html[lang="ar"] .qm-eyebrow { font-size: 15.5px; }
.qm-title { color: var(--white); font-size: 32px; line-height: 1.2; letter-spacing: -0.02em; }
html[lang="ar"] .qm-title { font-size: 34px; line-height: 1.45; }
.qm-intro { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.78); }
html[lang="ar"] .qm-intro { font-size: 17px; }
.qm-contact { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.qm-contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.9); }
html[lang="ar"] .qm-contact li { font-size: 16px; }
.qm-contact .ic { color: var(--soft); }
.qm-contact a { text-decoration: none; }
.qm-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.qm-motto { font-size: 12.5px; color: var(--soft); }
html[lang="ar"] .qm-motto { font-size: 15px; }

.qm-main { position: relative; overflow-y: auto; padding: 44px clamp(24px, 4vw, 56px) 0; overscroll-behavior: contain; }
.qm-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; transition: background-color .2s; z-index: 2; }
.qm-close:hover { background: var(--alt); }
.qm-form { display: grid; gap: 34px; max-width: 820px; }
.qm-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.qm-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-size: 18px; font-weight: 500; color: var(--ink); }
html[lang="ar"] .qm-step legend { font-size: 20px; font-weight: 700; }
.qm-step legend .req { font-size: 12.5px; }
.qm-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 500; font-family: var(--f-lat); flex: none; }
.svc-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pick { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); cursor: pointer; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.85); transition: filter .2s; }
.pick-mark { width: 100%; aspect-ratio: 16 / 9; padding: 10px 0; background: var(--navy); }
.pick-pack .pick-mark { height: auto; }
.pick-name { padding: 10px 12px 12px; font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.35; }
html[lang="ar"] .pick-name { font-size: 15px; font-weight: 700; }
.pick-check { position: absolute; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--white); color: var(--white); border: 1px solid var(--line); transform: scale(.8); opacity: 0; transition: all .2s; }
.pick-check .tick { width: 15px; height: 15px; }
.pick:hover { border-color: #c4cddb; }
.pick.on { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.pick.on img { filter: none; }
.pick.on .pick-check { opacity: 1; transform: none; background: var(--navy); border-color: var(--navy); }
.pick:has(input:focus-visible) { outline: 2px solid var(--sky); outline-offset: 2px; }
.qm-step.has-err .svc-pick .pick { border-color: #e2a5a1; }
.field-label { font-size: 14px; font-weight: 500; color: var(--navy); }
html[lang="ar"] .field-label { font-size: 16px; font-weight: 700; }
.qm-hint { font-size: 13px; color: var(--muted); margin-top: -4px; }
html[lang="ar"] .qm-hint { font-size: 15px; }
.qm-submit { position: sticky; bottom: 0; margin: 0 calc(clamp(24px, 4vw, 56px) * -1); padding: 18px clamp(24px, 4vw, 56px) 22px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); display: flex; justify-content: flex-end; backdrop-filter: blur(6px); }
.qm-form .field input, .qm-form .field textarea { background: var(--alt); border-color: var(--line); }
.qm-form .field input:focus, .qm-form .field textarea:focus { background: var(--white); }
.qm-form .chip { min-height: 40px; }
.qm-form .chip.on { background: var(--navy); border-color: var(--navy); color: var(--white); }

.qm-ready { max-width: 640px; padding: 20px 0 48px; display: grid; gap: 16px; }
.qm-ready-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); }
.qm-ready-icon .tick { width: 28px; height: 28px; }
.qm-ready h3 { font-size: 26px; letter-spacing: -0.015em; }
html[lang="ar"] .qm-ready h3 { font-size: 28px; }
.qm-ready h3:focus { outline: none; }
.qm-ready-text { font-size: 15px; color: var(--text); max-width: 56ch; }
html[lang="ar"] .qm-ready-text { font-size: 17px; }
.qm-summary { margin: 6px 0 4px; border: 1px solid var(--line); background: var(--alt); }
.qm-summary > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.qm-summary > div:last-child { border-bottom: 0; }
.qm-summary dt { font-size: 13px; color: var(--muted); }
html[lang="ar"] .qm-summary dt { font-size: 15px; }
.qm-summary dd { margin: 0; font-size: 14.5px; color: var(--ink); white-space: pre-wrap; }
html[lang="ar"] .qm-summary dd { font-size: 16.5px; }
.qm-ready .ready-phone a { text-decoration: none; }

@media (max-width: 1140px) {
  .cap-tiles { grid-template-columns: repeat(2, 1fr); }
  .svc-pick { grid-template-columns: repeat(3, 1fr); }
  .qm { grid-template-columns: 300px 1fr; }
}
@media (max-width: 900px) {
  .page-facts-grid { grid-template-columns: 1fr; }
  .page-facts-grid > div, .page-facts-grid > div + div { padding: 24px 0; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .page-facts-grid > div:last-child { border-bottom: 0; }
  .qm { inset: 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .qm-side { padding: 20px 22px; gap: 10px; }
  .qm-side-copy { margin-top: 8px; }
  .qm-title { font-size: 24px; }
  .qm-intro, .qm-contact, .qm-motto { display: none; }
  .qm-logo { height: 30px; }
  .qm-close { color: var(--white); top: 14px; position: fixed; }
  .qm-main { padding-top: 28px; }
  .svc-pick { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cap-tiles { grid-template-columns: 1fr; }
  .cap-tiles li { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
  .cap-tick { flex: none; }
  .qm-summary > div { grid-template-columns: 1fr; gap: 2px; }
  .qm-submit .btn { width: 100%; }
  .page-ctas .btn { flex: 1 1 100%; }
}
.page-alt { width: fit-content; }
.page-hero-media::after { background: linear-gradient(to bottom, rgba(8,16,36,.55) 0%, rgba(8,16,36,.15) 30%, rgba(8,16,36,.85) 100%), linear-gradient(to var(--fade, right), rgba(8,16,36,.72) 0%, rgba(8,16,36,.35) 45%, rgba(8,16,36,0) 72%); }
.pick-mark { padding: 18% 0; box-sizing: border-box; }
/* ---------- Service band on home ---------- */
.svc-band { position: relative; overflow: hidden; isolation: isolate; margin-top: 20px; background: var(--navy); color: var(--white); padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.svc-band-mark { position: absolute; inset-inline-end: 120px; top: 50%; transform: translateY(-50%); width: 220px; opacity: .07; z-index: -1; }
.svc-band .svc-cta-text { max-width: 62ch; }

/* ---------- Commitments ---------- */
.commit { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-ink); color: var(--white); padding-block: var(--sec); }
.commit-mark { position: absolute; inset-inline-end: -8vw; top: 50%; transform: translateY(-50%); width: min(48vw, 640px); opacity: .06; z-index: -1; }
.commit .heading { max-width: 720px; }
.commit-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.commit-grid li { padding: 28px 28px 0 0; }
[dir="rtl"] .commit-grid li { padding: 28px 0 0 28px; }
.commit-grid li + li { border-inline-start: 1px solid rgba(255,255,255,.12); padding-inline-start: 28px; }
.commit-grid h3 { color: var(--white); font-size: 17px; }
html[lang="ar"] .commit-grid h3 { font-size: 19px; }
.commit-grid p { margin-top: 8px; font-size: 14.5px; color: rgba(255,255,255,.72); max-width: 30ch; }
html[lang="ar"] .commit-grid p { font-size: 16.5px; }

/* ---------- News ---------- */
.news-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.news-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.news-card a:hover { border-color: #cbd3de; box-shadow: 0 18px 40px -28px rgba(11,22,48,.45); }
.news-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--alt); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card a:hover .news-media img { transform: scale(1.04); }
.news-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.news-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); }
.news-meta span { color: var(--blue); font-weight: 500; }
html[lang="ar"] .news-meta { font-size: 15px; }
.news-title { font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.35; }
html[lang="ar"] .news-title { font-size: 20px; font-weight: 700; line-height: 1.5; }
.news-excerpt { font-size: 14.5px; color: var(--text); }
html[lang="ar"] .news-excerpt { font-size: 16.5px; }
.news .svc-card-more { margin-top: auto; }

/* ---------- Sub pages ---------- */
.sub-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); min-height: 420px; display: flex; align-items: flex-end; }
.sub-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, #1a3a78 0%, var(--navy) 50%, var(--navy-ink) 100%); }
.sub-hero.has-img::before { display: none; }
.sub-hero-body { padding-top: calc(var(--head-h) + 70px); padding-bottom: 52px; }
.sub-hero-body > * { max-width: 820px; }
.sub-hero .page-title { font-size: clamp(30px, 3.6vw, 48px); }

.article-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.article-body { display: grid; gap: 18px; max-width: 68ch; }
.article-body p { font-size: 16.5px; }
html[lang="ar"] .article-body p { font-size: 18.5px; }
.article-lede { font-size: 20px !important; color: var(--ink); line-height: 1.55; }
html[lang="ar"] .article-lede { font-size: 22px !important; }
.article-aside { position: sticky; top: calc(var(--head-h) + 24px); border-top: 2px solid var(--navy); padding-top: 18px; }
.article-aside li { border-bottom: 1px solid var(--line); }
.article-aside a { display: grid; gap: 4px; padding: 14px 0; text-decoration: none; }
.article-aside time { font-size: 12.5px; color: var(--muted); }
.article-aside span { font-size: 15px; color: var(--ink); font-weight: 500; }
html[lang="ar"] .article-aside span { font-size: 17px; font-weight: 700; }
.article-aside a:hover span { color: var(--blue); }

.legal-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--head-h) + 24px); }
.legal-updated { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
html[lang="ar"] .legal-updated { font-size: 15px; }
.legal-toc ol { list-style: none; border-top: 1px solid var(--line); counter-reset: toc; }
.legal-toc li { border-bottom: 1px solid var(--line); counter-increment: toc; }
.legal-toc a { display: block; padding: 10px 0; font-size: 14px; color: var(--ink); text-decoration: none; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero) "  "; color: var(--muted); font-family: var(--f-lat); font-size: 12px; }
html[lang="ar"] .legal-toc a { font-size: 16px; }
.legal-toc a:hover { color: var(--blue); }
.legal-body { max-width: 74ch; display: grid; gap: 14px; }
.legal-sec { padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; scroll-margin-top: calc(var(--head-h) + 20px); }
.legal-sec h2 { display: flex; gap: 12px; align-items: baseline; font-size: 20px; }
html[lang="ar"] .legal-sec h2 { font-size: 22px; }
.legal-sec h2 span { font-size: 13px; color: var(--muted); font-family: var(--f-lat); font-weight: 400; }
.legal-sec p { font-size: 15.5px; }
html[lang="ar"] .legal-sec p { font-size: 17.5px; }
.legal-contact { margin-top: 20px; padding: 18px 20px; background: var(--alt); font-size: 15px; }

/* Footer legal row */
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-legal { display: flex; gap: 22px; }
.foot-legal a { color: rgba(255,255,255,.66); }
.foot-legal li { padding: 0 !important; font-size: 13px !important; }

/* Nav fits 7 links */
.nav-link { padding: 0 9px; }
.nav-link::after { inset-inline: 9px; }
.svc-pick { grid-template-columns: repeat(3, 1fr); }
.svc-cards { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1240px) { .nav-link { font-size: 13.5px; padding: 0 7px; } }
@media (max-width: 1140px) {
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .commit-grid li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .article-grid, .legal-grid { grid-template-columns: 1fr; }
  .legal-toc, .article-aside { position: static; }
  .svc-band { flex-direction: column; align-items: flex-start; }
  .news-head { flex-direction: column; align-items: flex-start; }
  .svc-pick { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .commit-grid, .news-grid, .svc-cards { grid-template-columns: 1fr; }
  .commit-grid li, .commit-grid li + li, [dir="rtl"] .commit-grid li { border-inline-start: 0; padding: 22px 0 0; }
  .sub-hero { min-height: 340px; }
}
/* ======================= Motion: reveal on scroll ======================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="img"] { opacity: 1; transform: none; clip-path: inset(14% 0 0 0); transition: clip-path 1.3s var(--ease); }
[data-reveal="img"] img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
[data-reveal="img"].in { clip-path: inset(0 0 0 0); }
[data-reveal="img"].in img { transform: none; }

/* ======================= Stats ======================= */
.stats { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 28px 0 0; }
[dir="rtl"] .stat { padding: 30px 0 0 28px; }
.stat + .stat { border-inline-start: 1px solid var(--line); padding-inline-start: 28px; }
.stat dt { font-size: clamp(44px, 5vw, 72px); font-weight: 300; color: var(--navy); letter-spacing: -0.04em; line-height: 1; font-family: var(--f-lat); font-variant-numeric: tabular-nums; }
.stat dd { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
html[lang="ar"] .stat dd { font-size: 17px; }

/* ======================= Services index ======================= */
.services { background: var(--white); }
.svc-index-list { position: relative; margin-top: 52px; border-top: 1px solid var(--line); }
.svc-index-list li { border-bottom: 1px solid var(--line); }
.svc-index-list a { position: relative; display: grid; grid-template-columns: 70px 1.1fr 1fr 40px; gap: 24px; align-items: center; padding: 26px 0; text-decoration: none; color: var(--ink); isolation: isolate; }
.svc-index-list a::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--alt); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.svc-index-list a:hover::before, .svc-index-list a:focus-visible::before { transform: scaleY(1); }
.sil-num { font-family: var(--f-lat); font-size: 13px; color: var(--muted); }
.sil-name { font-size: clamp(22px, 2.4vw, 34px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; transition: transform .45s var(--ease), color .3s; }
html[lang="ar"] .sil-name { font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.sil-short { font-size: 14.5px; color: var(--muted); }
html[lang="ar"] .sil-short { font-size: 16.5px; }
.sil-arrow { justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.svc-index-list a:hover .sil-name { transform: translateX(10px); color: var(--navy); }
[dir="rtl"] .svc-index-list a:hover .sil-name { transform: translateX(-10px); }
.svc-index-list a:hover .sil-arrow { background: var(--navy); color: var(--white); border-color: var(--navy); }
.svc-preview { position: absolute; top: 0; left: 0; width: 300px; aspect-ratio: 4 / 3; z-index: 5; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .3s; box-shadow: 0 30px 60px -20px rgba(11,22,48,.45); will-change: transform; }
.svc-preview.on { opacity: 1; }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .35s, transform .6s var(--ease); }
.svc-preview img.on { opacity: 1; transform: none; }
.svc-cards-mobile { display: none; }

/* ======================= Industries (interactive) ======================= */
.ind { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy-ink); min-height: 100vh; display: flex; }
.ind-bg { position: absolute; inset: 0; z-index: -2; }
.ind-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 6s linear; }
.ind-bg img.on { opacity: 1; transform: scale(1); }
.ind-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to var(--fade, right), rgba(8,16,36,.9) 0%, rgba(8,16,36,.65) 45%, rgba(8,16,36,.25) 100%), linear-gradient(to bottom, rgba(8,16,36,.35), rgba(8,16,36,0) 30%, rgba(8,16,36,.7) 100%); }
[dir="rtl"] .ind-shade { --fade: left; }
.ind-inner { padding-block: var(--sec); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.ind-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.ind-list li { border-top: 1px solid rgba(255,255,255,.16); }
.ind-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.ind-list button { width: 100%; display: flex; align-items: baseline; gap: 18px; padding: 16px 0; text-align: start; color: rgba(255,255,255,.55); transition: color .3s, padding .4s var(--ease); }
.ind-list button.on, .ind-list button:hover { color: var(--white); padding-inline-start: 12px; }
.ind-num { font-size: 12px; font-family: var(--f-lat); }
.ind-name { font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.015em; }
html[lang="ar"] .ind-name { font-weight: 700; letter-spacing: 0; }
.ind-detail { padding-bottom: 14px; animation: fadein .6s var(--ease); }
.ind-detail h3 { color: var(--white); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.025em; }
html[lang="ar"] .ind-detail h3 { line-height: 1.45; }
.ind-detail p { margin-top: 14px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 36ch; }
html[lang="ar"] .ind-detail p { font-size: 20px; }
.ind-scope .scope-title { color: var(--soft); }
.ind-scope ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-scope li { font-size: 13px; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; backdrop-filter: blur(6px); }
html[lang="ar"] .ind-scope li { font-size: 15px; }

/* ======================= News source badge ======================= */
.news-media { position: relative; }
.news-src { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--white); color: var(--navy); font-size: 11.5px; font-weight: 600; padding: 4px 9px; font-family: var(--f-lat); letter-spacing: .02em; }
.news .heading-intro { max-width: 60ch; }

@media (max-width: 900px) {
  .svc-index-list { display: none; }
  .svc-cards-mobile { display: grid; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat { padding-bottom: 24px; }
  .ind { min-height: 0; }
  .ind-row { grid-template-columns: 1fr; }
  .ind-detail { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="img"], [data-reveal="img"] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
/* ======================= Service page v3 ======================= */
.sp-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--navy-ink); overflow: hidden; isolation: isolate; }
.sp-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sp-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kb 2.6s var(--ease) both; }
@keyframes kb { from { transform: scale(1.14); filter: brightness(.6); } to { transform: scale(1); filter: none; } }
.sp-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,16,36,.6) 0%, rgba(8,16,36,.1) 28%, rgba(8,16,36,.35) 55%, rgba(8,16,36,.92) 100%), linear-gradient(to var(--fade, right), rgba(8,16,36,.6) 0%, rgba(8,16,36,0) 60%); }
[dir="rtl"] .sp-hero-media::after { --fade: left; }
.sp-hero-body { padding-top: calc(var(--head-h) + 80px); padding-bottom: 40px; }
.sp-hero-body > * { max-width: 860px; }
.sp-hero-body > * { animation: rise .9s var(--ease) both; }
.sp-hero-body > *:nth-child(2) { animation-delay: .1s; }
.sp-hero-body > *:nth-child(3) { animation-delay: .18s; }
.sp-hero-body > *:nth-child(4) { animation-delay: .26s; }
.sp-hero-body > *:nth-child(5) { animation-delay: .34s; }
.sp-hero-body > *:nth-child(6) { animation-delay: .42s; }
.sp-title { color: var(--white); font-size: clamp(40px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
html[lang="ar"] .sp-title { line-height: 1.3; font-size: clamp(42px, 6.2vw, 90px); }
.sp-switch { border-top: 1px solid rgba(255,255,255,.18); background: rgba(8,16,36,.35); backdrop-filter: blur(10px); }
.sp-switch ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sp-switch ul::-webkit-scrollbar { display: none; }
.sp-switch a { position: relative; display: flex; gap: 8px; align-items: baseline; white-space: nowrap; padding: 18px 16px; font-size: 13.5px; color: rgba(255,255,255,.62); text-decoration: none; transition: color .25s; }
html[lang="ar"] .sp-switch a { font-size: 15.5px; }
.sp-switch a span { font-size: 11px; font-family: var(--f-lat); opacity: .7; }
.sp-switch a::after { content: ""; position: absolute; inset-inline: 16px; top: -1px; height: 2px; background: var(--white); transform: scaleX(0); transition: transform .35s var(--ease); }
.sp-switch a:hover { color: var(--white); }
.sp-switch a.on { color: var(--white); }
.sp-switch a.on::after { transform: scaleX(1); }

.sp-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sp-big { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.25; letter-spacing: -0.025em; font-weight: 400; }
html[lang="ar"] .sp-big { line-height: 1.6; font-weight: 700; }
.sp-intro-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--alt); }
.sp-intro-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }

.sp-caps { background: var(--alt); }
.sp-caps-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.sp-caps-media { position: sticky; top: calc(var(--head-h) + 28px); }
.sp-caps-media figure { aspect-ratio: 3 / 4; overflow: hidden; background: var(--line); }
.sp-caps-media img { width: 100%; height: 100%; object-fit: cover; }
.sp-tiles { grid-template-columns: repeat(2, 1fr) !important; }

.sp-banner { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy-ink); }
.sp-banner-media { position: absolute; inset: -60px 0; z-index: -2; }
.sp-banner-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.sp-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,16,36,.9) 0%, rgba(8,16,36,.3) 55%, rgba(8,16,36,.15) 100%); }
.sp-banner .statement-mark { z-index: -1; opacity: .08; }
.sp-banner-body { padding-block: 72px; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.sp-banner-motto { font-size: clamp(32px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -0.035em; max-width: 14ch; font-weight: 500; }
html[lang="ar"] .sp-banner-motto { line-height: 1.4; font-weight: 700; letter-spacing: 0; }

.flow { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: f; }
.flow li { position: relative; padding: 30px 22px 0 0; border-top: 2px solid var(--line); }
[dir="rtl"] .flow li { padding: 30px 0 0 22px; }
.flow li::before { content: ""; position: absolute; top: -2px; inset-inline: 0; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .9s var(--ease) var(--d, 0ms); }
[dir="rtl"] .flow li::before { --origin: right; }
.flow li.in::before { transform: scaleX(1); }
.flow-num { display: block; font-size: 13px; color: var(--blue); font-family: var(--f-lat); margin-bottom: 10px; }
.flow h3 { font-size: 20px; }
html[lang="ar"] .flow h3 { font-size: 22px; }
.flow p { margin-top: 8px; font-size: 14.5px; max-width: 28ch; }
html[lang="ar"] .flow p { font-size: 16.5px; }
.flow-out { color: var(--ink); padding-top: 10px; border-top: 1px dashed var(--line); }
.flow-out span { display: block; font-size: 12px; color: var(--blue); }

.sp-others { overflow: hidden; }
.sp-others-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.rail-btns { display: flex; gap: 8px; }
.rail-btns button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: background-color .25s, color .25s; }
.rail-btns button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.rb-prev .ic-chev { transform: rotate(90deg); }
.rb-next .ic-chev { transform: rotate(-90deg); }
[dir="rtl"] .rb-prev .ic-chev { transform: rotate(-90deg); }
[dir="rtl"] .rb-next .ic-chev { transform: rotate(90deg); }
.sp-rail { margin-top: 36px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.sp-rail::-webkit-scrollbar { display: none; }
.sp-rail li { flex: none; width: min(420px, 78vw); scroll-snap-align: start; }
.sp-rail a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; }
.sp-rail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.sp-rail a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,16,36,.88) 0%, rgba(8,16,36,.1) 60%); transition: background-color .4s; }
.sp-rail a:hover img { transform: scale(1.06); }
.sp-rail-body { position: absolute; inset-inline: 0; bottom: 0; padding: 26px; display: grid; gap: 6px; }
.sp-rail-name { font-size: 22px; font-weight: 500; line-height: 1.25; }
html[lang="ar"] .sp-rail-name { font-size: 24px; font-weight: 700; }
.sp-rail-short { font-size: 14px; color: rgba(255,255,255,.78); }
html[lang="ar"] .sp-rail-short { font-size: 16px; }
.sp-rail-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; margin-top: 8px; }

@media (max-width: 1140px) { .flow { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 900px) {
  .sp-intro-grid, .sp-caps-grid { grid-template-columns: 1fr; }
  .sp-caps-media { position: static; }
  .sp-caps-media figure { aspect-ratio: 16 / 10; }
  .sp-intro-media { aspect-ratio: 16 / 11; }
  .sp-banner { min-height: 60vh; }
}
@media (max-width: 640px) {
  .sp-tiles { grid-template-columns: 1fr !important; }
  .flow { grid-template-columns: 1fr; }
  .sp-hero-body { padding-bottom: 28px; }
  .rail-btns { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sp-hero-media img, .sp-hero-body > * { animation: none; } }
/* ======================= Brand moments ======================= */
/* header hides while reading down, returns on scroll up */
.site-header { transition: background-color .3s, color .3s, box-shadow .3s, transform .45s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }

/* buttons: a small lift and a soft brand shadow */
.btn { transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn-primary:hover, .btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(20,46,97,.55); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* marquee of service lines */
.mq { overflow: hidden; background: var(--white); border-block: 1px solid var(--line); padding-block: 26px; }
.mq-track { display: flex; width: max-content; animation: mq 48s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
[dir="rtl"] .mq-track { animation-name: mq-rtl; }
.mq-row { display: flex; }
.mq-item { display: inline-flex; align-items: center; gap: 34px; padding-inline-end: 34px; font-size: clamp(30px, 4vw, 58px); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--navy); transition: color .3s; }
.mq-item:hover { color: var(--navy); }
html[lang="ar"] .mq-item { font-weight: 700; letter-spacing: 0; -webkit-text-stroke: 0; color: var(--navy); opacity: .9; }
.mq-mark { width: 34px; height: auto; flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes mq-rtl { to { transform: translateX(50%); } }

/* first-visit intro */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--navy); transition: transform .8s var(--ease); }
.intro::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #1a3a78 0%, var(--navy) 50%, var(--navy-ink) 100%); }
.intro.out { transform: translateY(-100%); }
.intro-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.intro-mark { position: absolute; width: 520px; max-width: 120vw; opacity: .07; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.85); animation: intro-mark 1.6s var(--ease) both; }
.intro-logo { height: 64px; animation: rise .9s .15s var(--ease) both; }
.intro-line { display: block; width: 160px; height: 2px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.intro-line::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; animation: draw 1.2s .3s var(--ease) both; }
@keyframes intro-mark { from { opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-20deg); } to { opacity: .07; transform: translate(-50%, -50%) scale(.85); } }

/* page change wipe */
.wipe { position: fixed; inset: 0; z-index: 150; pointer-events: none; background: var(--navy); display: grid; place-items: center; animation: wipe .9s var(--ease) both; }
.wipe-mark { width: 64px; opacity: .9; animation: fadein .3s both; }
@keyframes wipe { 0% { transform: translateY(0); } 35% { transform: translateY(0); } 100% { transform: translateY(-100%); } }

/* back to top, with reading progress ring */
.totop { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; box-shadow: 0 14px 30px -14px rgba(11,22,48,.55); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); --prog: 0; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--navy) calc(var(--prog) * 1%), var(--line) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
.totop-ic .ic-chev { transform: rotate(180deg); width: 20px; height: 20px; }
.totop:hover { background: var(--navy); color: var(--white); }

/* footer brand line */
.foot-hero { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.foot-big { color: var(--white); font-size: clamp(34px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; max-width: 15ch; }
html[lang="ar"] .foot-big { line-height: 1.35; font-weight: 700; letter-spacing: 0; }
.foot-mark { width: clamp(80px, 10vw, 150px); opacity: .9; flex: none; }

/* image hover polish */
.about-media img, .hse-media img, .sp-caps-media img { transition: transform 1.2s var(--ease); }
.about-media:hover img, .hse-media:hover img { transform: scale(1.04); }

/* selection in brand colour */
::selection { background: var(--navy); color: var(--white); }

@media (max-width: 640px) {
  .totop { width: 46px; height: 46px; inset-inline-end: 14px; bottom: 14px; }
  .foot-hero { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
  .wipe { display: none; }
}

/* ===== tidy: no cropped symbol watermarks, full logo only ===== */
.page-hero-mark, .commit-mark, .svc-band-mark, .statement-mark, .qm-side-mark, .intro-mark, .foot-mark, .foot-hero { display: none !important; }
.wipe-logo { height: 52px; animation: fadein .3s both; }

/* simple branded footer */
.site-footer { background: var(--navy); padding-top: 72px; color: rgba(255,255,255,.7); }
.foot-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot-brand .logo { height: 46px; }
.foot-motto { margin-top: 18px; color: rgba(255,255,255,.85); font-size: 15px; max-width: 24ch; line-height: 1.6; }
html[lang="ar"] .foot-motto { font-size: 17px; }
.foot-h { color: var(--white); font-size: 13px; font-weight: 500; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
html[lang="ar"] .foot-h { font-size: 15.5px; font-weight: 700; }
.site-footer li { font-size: 14px; padding: 5px 0; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.foot-base { background: var(--navy-ink); max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); border-top: 0; padding-block: 18px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.foot-legal a { color: rgba(255,255,255,.55); }

/* ===== Footer v3: dark photographic block, no separate blue band ===== */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-ink); color: rgba(255,255,255,.72); padding-top: 0; }
.foot-media { position: absolute; inset: 0; z-index: -1; }
.foot-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .32; }
.foot-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to var(--fade, right), rgba(11,22,48,.94) 0%, rgba(11,22,48,.72) 55%, rgba(11,22,48,.6) 100%), linear-gradient(to bottom, rgba(11,22,48,0) 40%, rgba(11,22,48,.85) 100%); }
[dir="rtl"] .foot-media::after { --fade: left; }
.foot-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(80px, 9vw, 128px) clamp(56px, 6vw, 80px); }
.foot-title { color: var(--white); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -0.025em; max-width: 18ch; }
html[lang="ar"] .foot-title { line-height: 1.45; letter-spacing: 0; }
.foot-text { margin: 16px 0 28px; font-size: 16.5px; color: rgba(255,255,255,.78); max-width: 50ch; }
html[lang="ar"] .foot-text { font-size: 18.5px; }
.site-footer .contact-list li { color: var(--white); border-color: rgba(255,255,255,.16); }
.site-footer .contact-list .cl-k { color: rgba(255,255,255,.6); }
.site-footer .contact-list .ic { color: var(--soft); }

.foot-links { display: grid; grid-template-columns: 1.2fr .8fr 1.6fr; gap: 48px; padding-block: 48px; border-top: 1px solid rgba(255,255,255,.14); }
.foot-brand .logo { height: 50px; }
.foot-motto { margin-top: 16px; color: rgba(255,255,255,.8); font-size: 15px; max-width: 24ch; }
.foot-h { color: var(--white); font-size: 13px; font-weight: 500; margin-bottom: 12px; padding-bottom: 0; border-bottom: 0; }
html[lang="ar"] .foot-h { font-size: 15.5px; font-weight: 700; }
.foot-svcs ul { columns: 2; column-gap: 32px; }
.site-footer li { font-size: 14px; padding: 4px 0; break-inside: avoid; }
html[lang="ar"] .site-footer li { font-size: 16px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--white); }
.foot-base { background: transparent; padding-inline: var(--gutter); max-width: calc(var(--wrap) + var(--gutter) * 2); border-top: 1px solid rgba(255,255,255,.14); padding-block: 20px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.55); }
.foot-legal a { color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .foot-cta { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .foot-links { grid-template-columns: 1fr; }
  .foot-svcs ul { columns: 1; }
  .site-footer .contact-list li { grid-template-columns: 22px 1fr; }
  .site-footer .contact-list .cl-k { display: none; }
}

/* footer alignment: even rows, equal columns */
.foot-links { grid-template-columns: 1.15fr 0.75fr 2.1fr; align-items: start; column-gap: clamp(32px, 5vw, 72px); }
.foot-links ul { display: grid; row-gap: 12px; columns: auto; }
.foot-svcs ul { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 40px; columns: auto; }
.site-footer .foot-links li { padding: 0; line-height: 1.45; }
.foot-links a { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; }
.foot-links a::before { content: ""; width: 0; height: 1px; background: var(--soft); transition: width .3s var(--ease), margin .3s var(--ease); }
.foot-links a:hover::before { width: 12px; margin-inline-end: 8px; }
.foot-h { min-height: 20px; margin-bottom: 16px; letter-spacing: .01em; }
.foot-brand { padding-top: 2px; }
@media (max-width: 1140px) { .site-footer .foot-links li { font-size: 13.5px; } .foot-svcs ul { column-gap: 28px; } }
@media (max-width: 900px) { .foot-links { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .foot-svcs ul { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; } }
@media (max-width: 640px) { .foot-links { grid-template-columns: 1fr; } }

/* footer: brand | company | services (one list) | contact */
.foot-cta { grid-template-columns: 1fr; padding-block: clamp(72px, 8vw, 112px) clamp(48px, 5vw, 64px); }
.foot-cta > div { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: center; }
.foot-cta .foot-title { grid-column: 1; grid-row: 1; }
.foot-cta .foot-text { grid-column: 1; grid-row: 2; margin: 14px 0 0; }
.foot-cta .btn { grid-column: 2; grid-row: 1 / span 2; }
.foot-links { grid-template-columns: 1.2fr .8fr 1.2fr 1.2fr; }
.foot-svcs ul { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
.foot-contact li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: 14px; }
.foot-contact .ic { width: 16px; height: 16px; color: var(--soft); flex: none; }
.foot-contact a::before { display: none; }
[dir="rtl"] .foot-contact [dir="ltr"] { text-align: right; }
@media (max-width: 1140px) { .foot-links { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .foot-cta > div { grid-template-columns: 1fr; } .foot-cta .btn { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 22px; } .foot-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .foot-links { grid-template-columns: 1fr; } }

/* about: location caption */
.about-media { position: relative; }
.about-cap { position: absolute; inset-inline-start: 16px; inset-block-end: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,.92); color: #211D1D; font-size: 12.5px; font-weight: 500; border-radius: 2px; backdrop-filter: blur(6px); }
.about-cap svg { width: 14px; height: 14px; color: var(--accent, #0b5fa5); }

/* loading screens: white with the original logo, no blue page */
.intro, .wipe { background: #fff; }
.intro::before { display: none; }
.intro.out { transform: none; opacity: 0; transition: opacity .6s var(--ease); }
.intro-line { background: rgba(33,29,29,.12); }
.intro-line::after { background: var(--navy); }
.wipe { animation: wipe-fade .75s var(--ease) both; }
@keyframes wipe-fade { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
.wipe-logo { height: 56px; animation: wipe-logo .75s var(--ease) both; }
@keyframes wipe-logo { 0% { opacity: 0; transform: scale(.94); } 25%, 55% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* loading: only the logo over the current page, no full-screen background */
.intro, .wipe { background: transparent !important; }
.intro-inner { background: rgba(255,255,255,.94); padding: 22px 30px 20px; border-radius: 14px; box-shadow: 0 18px 50px -18px rgba(11,22,48,.45); backdrop-filter: blur(8px); gap: 14px; }
.intro-logo { height: 48px; }
.intro-line { width: 120px; }
.wipe-logo { height: 46px; padding: 18px 26px; box-sizing: content-box; background: rgba(255,255,255,.94); border-radius: 14px; box-shadow: 0 18px 50px -18px rgba(11,22,48,.45); backdrop-filter: blur(8px); }

/* loader: logo only, fully transparent, no card */
.intro-inner { background: none !important; box-shadow: none !important; backdrop-filter: none !important; padding: 0; }
.wipe-logo { background: none !important; box-shadow: none !important; backdrop-filter: none !important; padding: 0; height: 54px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); }
.intro-logo { height: 58px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); }
.intro-line { background: rgba(255,255,255,.3); box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.intro-line::after { background: #fff; }

/* company profile download */
.about-dl { margin-top: 32px; }
.profile-dl { display: inline-flex; align-items: center; gap: 10px; }
.profile-dl .ic { width: 18px; height: 18px; }
.profile-dl small { font-size: 12px; font-weight: 400; opacity: .65; padding-inline-start: 10px; border-inline-start: 1px solid currentColor; }

/* careers */
.cw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.cw-grid li { padding: 28px 28px 8px 0; border-inline-end: 1px solid var(--line); padding-inline: 0 28px; }
.cw-grid li + li { padding-inline-start: 28px; }
.cw-grid li:last-child { border-inline-end: 0; }
.cw-grid h3, .cr-grid h3 { font-size: 17px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.cw-grid p, .cr-grid p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.careers-roles { background: var(--alt); }
.cr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cr-grid li { background: var(--white); padding: 26px 26px 24px; border-radius: 4px; border-top: 3px solid var(--navy); }
.ca-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.ca-aside .btn { margin-top: 26px; display: inline-flex; gap: 10px; align-items: center; }
.ca-aside .btn .ic { width: 18px; height: 18px; }
.ca-contact { margin-top: 28px; display: grid; gap: 12px; font-size: 14.5px; }
.ca-contact li { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.ca-contact .ic { width: 18px; height: 18px; color: var(--blue); }
.ca-box { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 30px 60px -40px rgba(11,22,48,.35); }
.ca-form { display: grid; gap: 18px; }
.ca-form .field input, .ca-form .field select, .ca-form .field textarea { background: var(--alt); border-color: var(--line); }
.ca-form .field input:focus, .ca-form .field select:focus, .ca-form .field textarea:focus { background: var(--white); }
.ca-submit { padding-top: 6px; }
.ca-box .qm-ready { padding: 8px 0; }
.btn[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 1000px) {
  .cw-grid { grid-template-columns: 1fr 1fr; }
  .cw-grid li, .cw-grid li + li { padding-inline: 0 24px; border-inline-end: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .cr-grid { grid-template-columns: 1fr 1fr; }
  .ca-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cw-grid, .cr-grid { grid-template-columns: 1fr; }
}

/* service strip arrows and edge fades */
.sp-switch-in { position: relative; }
.sp-switch ul { scroll-behavior: smooth; }
.sp-arrow { position: absolute; top: 0; bottom: 0; z-index: 2; width: 56px; display: flex; align-items: center; color: var(--white); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sp-arrow .ic, .sp-arrow svg { width: 18px; height: 18px; }
.sp-arrow-back { inset-inline-start: 0; justify-content: flex-start; padding-inline-start: 6px; background: linear-gradient(to right, rgba(15,25,50,.98) 35%, rgba(15,25,50,0)); }
.sp-arrow-fwd { inset-inline-end: 0; justify-content: flex-end; padding-inline-end: 6px; background: linear-gradient(to left, rgba(15,25,50,.98) 35%, rgba(15,25,50,0)); }
[dir="rtl"] .sp-arrow-back { background: linear-gradient(to left, rgba(15,25,50,.98) 35%, rgba(15,25,50,0)); }
[dir="rtl"] .sp-arrow-fwd { background: linear-gradient(to right, rgba(15,25,50,.98) 35%, rgba(15,25,50,0)); }
.sp-arrow-back svg { transform: rotate(90deg); }
.sp-arrow-fwd svg { transform: rotate(-90deg); }
[dir="rtl"] .sp-arrow-back svg { transform: rotate(-90deg); }
[dir="rtl"] .sp-arrow-fwd svg { transform: rotate(90deg); }
.sp-switch.can-back .sp-arrow-back, .sp-switch.can-fwd .sp-arrow-fwd { opacity: 1; pointer-events: auto; }
.sp-arrow:hover svg { transform-origin: center; }
.cr-grid { grid-template-columns: repeat(4, 1fr); }
.cr-grid h3 { font-size: 16px; }
.cr-grid p { font-size: 13.5px; }
.cr-any { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; background: var(--white); border-radius: 4px; color: var(--navy); font-size: 15.5px; font-weight: 500; }
@media (max-width: 1000px) { .cr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cr-grid { grid-template-columns: 1fr; } }

/* menu links: no underline (they were buttons before) */
.mega-list a, .brand { text-decoration: none; }
.mega-list a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* ---------- Insights ---------- */
.ins-lead { margin-bottom: 24px; }
.ins-big a { display: grid; grid-template-columns: 1.25fr 1fr; }
.ins-big .news-media { aspect-ratio: auto; min-height: 360px; }
.ins-big .news-body { padding: clamp(26px, 3.4vw, 48px); justify-content: center; gap: 14px; }
.ins-big .news-title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -0.015em; }
html[lang="ar"] .ins-big .news-title { line-height: 1.5; letter-spacing: 0; }
.ins-big .news-excerpt { font-size: 16px; }
.ins-card .news-meta span { color: var(--muted); font-weight: 400; }
.ins-card .news-meta time { color: var(--blue); font-weight: 500; }
.ins-card .news-src { background: var(--navy); color: var(--white); font-family: inherit; }

.post-hero { min-height: 480px; }
.post-hero .sub-hero-body > * { max-width: 900px; }
.post-cat { display: inline-block; margin-top: 18px; padding: 5px 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: 12.5px; font-weight: 500; color: var(--white); }
.post-hero .page-title { margin-top: 14px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.18; }
html[lang="ar"] .post-hero .page-title { line-height: 1.5; }
.post-meta { display: flex; gap: 12px; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.78); }

.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.post-body { max-width: 720px; }
.post-body > p, .post-body > ul { font-size: 17px; line-height: 1.8; color: var(--text); margin-top: 18px; }
html[lang="ar"] .post-body > p, html[lang="ar"] .post-body > ul { font-size: 19px; line-height: 1.95; }
.post-body .post-lede { margin-top: 0; font-size: 20px; line-height: 1.65; color: var(--navy); font-weight: 500; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
html[lang="ar"] .post-body .post-lede { font-size: 22px; line-height: 1.8; }
.post-body > h2 { margin-top: 42px; font-size: clamp(21px, 2vw, 26px); color: var(--navy); line-height: 1.3; }
html[lang="ar"] .post-body > h2 { line-height: 1.6; }
.post-body > ul { display: grid; gap: 12px; padding: 0; }
.post-body > ul li { position: relative; padding-inline-start: 26px; }
.post-body > ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: 12px; height: 2px; background: var(--blue); }
.post-sources { margin-top: 48px; padding: 24px 26px; background: var(--alt); border-inline-start: 3px solid var(--navy); }
.post-sources h2 { font-size: 15px; color: var(--navy); }
.post-sources p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.post-sources ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.post-sources a { color: var(--navy); }

.post-side { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 18px; }
.post-card { border: 1px solid var(--line); padding: 24px; background: var(--white); }
.post-card h2 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.post-card ul li + li { border-top: 1px solid var(--line); }
.post-card ul a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--navy); font-size: 14.5px; font-weight: 500; }
.post-card ul a svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
[dir="rtl"] .post-card ul a svg { transform: scaleX(-1); }
.post-card ul a:hover { color: var(--blue); }
.post-cta { background: var(--navy); border-color: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.post-cta h2 { color: var(--white); font-size: 20px; margin-top: 18px; }
.post-cta p { font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.6; margin-bottom: 18px; }
.post-cta-logo { height: 34px; }
.post-cta-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.85); text-decoration: none; }
.post-cta-phone svg { width: 16px; height: 16px; }
.post-more { background: var(--alt); }

@media (max-width: 1000px) {
  .ins-big a { grid-template-columns: 1fr; }
  .ins-big .news-media { min-height: 0; aspect-ratio: 16 / 9; }
  .post-grid { grid-template-columns: 1fr; }
  .post-side { position: static; }
}

/* larger tap targets on phones */
@media (max-width: 760px) {
  .foot-links a, .foot-legal a, .crumbs a, .ca-contact a { display: inline-block; padding-block: 8px; }
  .foot-links li, .foot-legal li { margin-block: -4px; }
}
