/* ================================================================
   SHALFA HOLDING V2.2
   01 Variables
   ================================================================ */
@font-face {
  font-family: "Almarai";
  src: url("assets/fonts/almarai/Almarai-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Almarai";
  src: url("assets/fonts/almarai/Almarai-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Almarai";
  src: url("assets/fonts/almarai/Almarai-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Almarai";
  src: url("assets/fonts/almarai/Almarai-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --shalfa-blue: #2054a4;
  --shalfa-blue-bright: #2b68bb;
  --shalfa-green: #118b82;
  --shalfa-green-light: #5fc7b9;
  --shalfa-navy: #071c33;
  --shalfa-navy-soft: #0c2948;
  --shalfa-white: #ffffff;
  --shalfa-off-white: #f5f6f3;
  --shalfa-text: #13263a;
  --shalfa-muted: #667685;
  --shalfa-border: #dce2e4;
  --container: 1240px;
  --header-height: 80px;
  --space-xs: clamp(.5rem, .7vw, .75rem);
  --space-sm: clamp(.875rem, 1vw, 1.125rem);
  --space-md: clamp(1.25rem, 2vw, 2rem);
  --space-lg: clamp(2rem, 3.5vw, 3.75rem);
  --space-xl: clamp(3.5rem, 6vw, 6.5rem);
  --space-2xl: clamp(5rem, 8vw, 9rem);
  --space-section: clamp(6rem, 10vw, 10rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 24px 70px rgba(7, 28, 51, .1);
}

/* ================================================================
   02 Reset / Base
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  color: var(--shalfa-text);
  background: var(--shalfa-white);
  font-family: "Almarai", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html[lang="en"] body {
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body.nav-open { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure { margin-block-start: 0; }

::selection { color: var(--shalfa-white); background: var(--shalfa-green); }

/* ================================================================
   03 Typography
   ================================================================ */
h1, h2, h3, strong {
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  margin-block-end: var(--space-md);
  color: var(--shalfa-white);
  font-size: clamp(3.2rem, 4.45vw, 5.1rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

html[lang="ar"] h1 { line-height: 1.12; letter-spacing: -.03em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 800; }
html[lang="en"] h1 { font-size: clamp(3rem, 4.1vw, 4.2rem); line-height: 1.06; }

h1 span, h2 span { display: block; }

h2 {
  margin-block-end: var(--space-md);
  color: var(--shalfa-navy);
  font-size: clamp(2.35rem, 4.7vw, 5.25rem);
  line-height: 1.15;
  letter-spacing: -.045em;
}

html[lang="ar"] h2 { line-height: 1.28; letter-spacing: -.025em; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-block-end: 1.15rem;
  color: var(--shalfa-green);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow-light { color: #8bd8cf; }

.section-lead {
  max-width: 43rem;
  margin-block-end: var(--space-md);
  color: var(--shalfa-muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 2;
  font-weight: 300;
}

html[lang="en"] .section-lead { line-height: 1.75; font-weight: 400; }

/* ================================================================
   04 Utilities
   ================================================================ */
.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.section { position: relative; padding-block: var(--space-section); }
.section-soft { background: var(--shalfa-off-white); }

.skip-link {
  position: fixed;
  inset-block-start: .75rem;
  inset-inline-start: .75rem;
  z-index: 9999;
  padding: .7rem 1rem;
  color: var(--shalfa-white);
  background: var(--shalfa-blue);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: .8rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.button:hover { transform: translateY(-2px); }
.button-arrow { font-size: 1.1rem; transition: transform .25s var(--ease); }
.button:hover .button-arrow { transform: translate(.2rem, -.2rem); }
html[dir="rtl"] .button:hover .button-arrow { transform: translate(-.2rem, -.2rem); }

.button-primary { color: var(--shalfa-white); background: var(--shalfa-green); }
.button-primary:hover { background: #0c756e; }
.button-outline-light { color: var(--shalfa-white); border-color: rgba(255, 255, 255, .48); background: rgba(7, 28, 51, .14); }
.button-outline-light:hover { border-color: var(--shalfa-white); background: rgba(255, 255, 255, .1); }
.button-dark { color: var(--shalfa-white); background: var(--shalfa-navy); }
.button-dark:hover { background: var(--shalfa-blue); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-block: .4rem;
  border-bottom: 1px solid var(--shalfa-green);
  color: var(--shalfa-navy);
  font-size: .9rem;
  font-weight: 800;
  transition: gap .3s var(--ease), color .2s ease;
}

.text-link:hover { gap: 1.4rem; color: var(--shalfa-green); }
.text-link-light { color: var(--shalfa-white); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .62fr);
  align-items: end;
  gap: var(--space-lg);
  margin-block-end: var(--space-lg);
}

.section-heading h2 { margin-block-end: 0; }
.section-heading > p { max-width: 35rem; margin: 0; color: var(--shalfa-muted); font-size: 1.05rem; }

/* ================================================================
   05 Header
   ================================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: var(--shalfa-white);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: height .35s var(--ease), color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  height: 72px;
  color: var(--shalfa-text);
  border-color: rgba(7, 28, 51, .09);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 35px rgba(7, 28, 51, .06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner { display: flex; height: 100%; align-items: center; gap: clamp(.75rem, 1vw, 1rem); }

.brand {
  position: relative;
  width: 8.65rem;
  height: 4.1rem;
  flex: 0 0 auto;
  overflow: visible;
  padding: 0;
  background: transparent;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-logo-light, .brand-logo-symbol { display: none; }
.site-header.is-scrolled .brand-logo-dark { display: none; }
.site-header.is-scrolled .brand-logo-light { display: block; }

.primary-nav { display: flex; align-items: center; gap: clamp(.58rem, .82vw, .9rem); margin-inline-start: auto; }

.primary-nav a {
  position: relative;
  padding-block: .7rem;
  font-size: clamp(.7rem, .72vw, .76rem);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: .28rem;
  height: 1px;
  background: var(--shalfa-green-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

html[dir="rtl"] .primary-nav a::after { transform-origin: right; }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.language-switcher { display: inline-flex; align-items: center; gap: .3rem; font-family: Inter, Arial, sans-serif; font-size: .68rem; }
.language-switcher button { padding: .45rem .25rem; border: 0; color: inherit; background: transparent; cursor: pointer; opacity: .55; }
.language-switcher button[aria-pressed="true"] { color: var(--shalfa-green-light); font-weight: 800; opacity: 1; }
.site-header.is-scrolled .language-switcher button[aria-pressed="true"] { color: var(--shalfa-green); }

.header-cta {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  padding-inline: 1.1rem;
  color: var(--shalfa-white);
  background: var(--shalfa-green);
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease;
}

.header-cta:hover { background: #0c756e; }

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .3rem;
  padding: 0;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span { width: 1.15rem; height: 1px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(.37rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.37rem) rotate(-45deg); }
.nav-scrim { display: none; }

/* ================================================================
   06 Hero
   ================================================================ */
.hero {
  position: relative;
  min-height: max(45rem, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--shalfa-navy);
  isolation: isolate;
}

.hero-media, .hero-shade, .hero-grid-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media {
  z-index: -3;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  filter: saturate(.76) contrast(1.04) brightness(.92);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 42%);
  mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 42%);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 21, 39, .95) 0%, rgba(5, 21, 39, .77) 44%, rgba(5, 21, 39, .18) 100%),
    linear-gradient(0deg, rgba(5, 21, 39, .42), rgba(5, 21, 39, .03) 58%);
}

html[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(5, 21, 39, .95) 0%, rgba(5, 21, 39, .79) 44%, rgba(5, 21, 39, .17) 100%),
    linear-gradient(0deg, rgba(5, 21, 39, .42), rgba(5, 21, 39, .03) 58%);
}

.hero-grid-pattern {
  z-index: -1;
  opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

html[dir="rtl"] .hero-grid-pattern { transform: scaleX(-1); }

.hero-inner { padding-block: calc(var(--header-height) + 1.5rem) 1.5rem; }
.hero-copy { width: min(48%, 38rem); max-width: 38rem; margin-inline-end: auto; }
html[lang="en"] .hero-copy { width: min(60%, 48rem); max-width: 48rem; }
.hero-copy .eyebrow { margin-block-end: 1rem; font-size: .7rem; }
.hero-copy h1 { margin-block-end: 1.45rem; }
html[lang="ar"] .hero-copy h1 { line-height: 1.09; }
html[lang="en"] .hero-copy h1 { line-height: 1.04; }
.hero-lead { max-width: 36rem; margin-block-end: 1.75rem; color: rgba(255, 255, 255, .8); font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.78; }
html[lang="en"] .hero-lead { max-width: 42rem; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: nowrap; gap: .7rem; }
.hero-actions .button { min-height: 3.15rem; padding: .72rem 1.25rem; }

@media (min-width: 769px) {
  html[lang="ar"] .hero-copy h1 {
    font-size: clamp(2.679rem, 3.726vw, 4.270rem);
    font-weight: 400;
    line-height: 1.075;
    letter-spacing: normal;
  }
}

@media (min-width: 1121px) {
  .hero-copy { transform: translateY(-1rem); }
  .hero-lead { margin-block-end: 1.65rem; }
}

.scroll-cue {
  position: absolute;
  inset-inline-end: max(1.5rem, calc((100vw - var(--container)) / 2));
  inset-block-end: 2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: rgba(255, 255, 255, .65);
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .15em;
}

.scroll-cue i { position: relative; width: 1px; height: 3.2rem; overflow: hidden; background: rgba(255,255,255,.3); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--shalfa-green-light); animation: scroll-line 2s ease-in-out infinite; }

/* ================================================================
   07 About
   ================================================================ */
.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(26rem, 1.13fr); align-items: center; gap: clamp(3rem, 7vw, 7.5rem); }
.about-copy h2 { font-size: clamp(2.45rem, 4.3vw, 4.85rem); }
.about-detail { max-width: 43rem; margin-block-end: var(--space-md); color: var(--shalfa-muted); font-weight: 300; line-height: 2; }
html[lang="en"] .about-detail { font-weight: 400; }
.about-detail:empty { display: none; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 1.75rem; }
.profile-download { min-height: 3.15rem; }

.company-facts { position: relative; padding: clamp(2rem, 4vw, 3.5rem); border-top: 3px solid var(--shalfa-green); background: #eff3f1; box-shadow: var(--shadow-soft); }
.company-facts::after { content: ""; position: absolute; inset-inline-end: 0; inset-block-start: 0; width: 32%; aspect-ratio: 1; background: linear-gradient(135deg, transparent 49.5%, rgba(17,139,130,.08) 50%); pointer-events: none; }
.company-facts-heading { position: relative; z-index: 1; margin-block-end: 1.75rem; }
.company-facts-heading > span { color: var(--shalfa-green); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.company-facts h3 { max-width: 28rem; margin: .55rem 0 0; color: var(--shalfa-navy); font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.55; }
.company-facts dl { position: relative; z-index: 1; margin: 0; }
.company-facts dl > div { display: grid; grid-template-columns: minmax(8rem, .75fr) minmax(0, 1.25fr); gap: 1rem; padding-block: 1rem; border-top: 1px solid #d4ddda; }
.company-facts dt { color: var(--shalfa-muted); font-size: .78rem; }
.company-facts dd { margin: 0; color: var(--shalfa-navy); font-size: .88rem; font-weight: 700; }
.company-facts .status-active { color: var(--shalfa-green); }

.editorial-image {
  position: relative;
  min-height: clamp(29rem, 51vw, 43rem);
  margin: 0;
  overflow: hidden;
  background: #d9dfdf;
}

.editorial-image::before {
  content: "";
  position: absolute;
  inset-block: 2rem;
  inset-inline-start: -1.2rem;
  z-index: 2;
  width: 2px;
  background: var(--shalfa-green);
}

.editorial-image img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: 2% center; transform: scale(1.52); transform-origin: left center; filter: saturate(.78); }
html[dir="rtl"] .editorial-image img { transform-origin: left center; }

.editorial-image figcaption {
  position: absolute;
  inset-inline: 1.5rem;
  inset-block-end: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--shalfa-white);
  background: rgba(7, 28, 51, .88);
  font-size: .72rem;
}

.editorial-image figcaption span:first-child { color: var(--shalfa-green-light); font-family: Inter, Arial, sans-serif; font-weight: 800; letter-spacing: .08em; }

/* ================================================================
   08 Executive Leadership
   ================================================================ */
.leadership { overflow: hidden; background: #edf2ef; }
.leadership-heading { margin-block-end: clamp(2rem, 3vw, 2.75rem); }
.leadership-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(19rem, .72fr); align-items: stretch; gap: 1.5rem; }
.leader-card { position: relative; min-height: clamp(34rem, 50vw, 45rem); height: 100%; overflow: hidden; color: var(--shalfa-white); background: var(--shalfa-navy); isolation: isolate; }
.leader-card-ceo > img, .leader-photo-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.leader-card-ceo > img { z-index: -2; max-width: none; object-fit: cover; object-position: center 18%; filter: saturate(.9) contrast(1.02); }
.leader-photo-shade { z-index: -1; background: linear-gradient(0deg, rgba(4,22,41,.96), rgba(4,22,41,.08) 60%); }
.leader-card-content { position: absolute; inset-inline: clamp(1.5rem, 4vw, 3.5rem); inset-block-end: clamp(1.75rem, 4vw, 3.5rem); z-index: 1; }
.leader-card-content p { margin-block-end: .65rem; color: var(--shalfa-green-light); font-size: .82rem; font-weight: 700; line-height: 1.6; }
.leader-card-content h3 { max-width: 39rem; margin: 0 0 .65rem; color: var(--shalfa-white); font-size: clamp(2rem, 3.7vw, 3.65rem); line-height: 1.38; text-wrap: pretty; }
.leader-card-content span { display: block; color: rgba(255,255,255,.66); font-family: Inter, Arial, sans-serif; font-size: clamp(.75rem, 1.15vw, 1rem); line-height: 1.55; }
.leader-card-evp { padding: clamp(1.5rem, 3vw, 2.5rem); background: #061b31; }
.leader-card-evp::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(95,199,185,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(95,199,185,.5) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 48%); mask-image: linear-gradient(180deg, #000, transparent 48%); }
.leader-symbol { position: relative; z-index: 1; width: 5.25rem; aspect-ratio: 1; margin-inline: auto; margin-block-start: 2.25rem; }
.leader-symbol img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.leader-card-evp .leader-card-content { inset-inline: clamp(1.5rem, 3vw, 2.5rem); inset-block-end: 9.25rem; }
.leader-card-evp .leader-card-content h3 { font-size: clamp(1.7rem, 2.7vw, 2.6rem); }
.portrait-note { position: absolute; inset-inline: clamp(1.5rem, 3vw, 2.5rem); inset-block-end: 2.25rem; z-index: 1; margin: 0; color: rgba(255,255,255,.45); font-size: .7rem; font-weight: 300; line-height: 1.85; }

/* ================================================================
   09 Business Sectors
   ================================================================ */
.sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 1px; background: rgba(7,28,51,.13); border: 1px solid rgba(7,28,51,.13); }
.sector-panel { position: relative; min-height: 24rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding: 1.65rem; overflow: hidden; color: var(--shalfa-navy); background: var(--shalfa-white); transition: color .35s ease, background-color .35s ease, transform .35s var(--ease); }
.sector-panel::after { content: ""; position: absolute; inset-inline-end: -4rem; inset-block-start: -4rem; width: 9rem; height: 9rem; border: 1px solid rgba(17,139,130,.12); transform: rotate(45deg); }
.sector-panel:hover { z-index: 1; color: var(--shalfa-white); background: var(--shalfa-green); transform: translateY(-.3rem); box-shadow: 0 20px 45px rgba(7,28,51,.12); }
.sector-number { position: relative; z-index: 1; color: var(--shalfa-green); font-family: Inter, Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.sector-icon { position: absolute; inset-inline-end: 1.65rem; inset-block-start: 1.45rem; width: 1.8rem; height: 1.8rem; border: 1px solid rgba(17,139,130,.42); }
.sector-icon::before, .sector-icon::after { content: ""; position: absolute; background: currentColor; opacity: .4; }
.sector-icon::before { inset: 50% -35% auto; height: 1px; }
.sector-icon::after { inset: -35% auto -35% 50%; width: 1px; }
.sector-content { position: relative; z-index: 1; display: block; margin-block-start: auto; padding-block-start: 4.5rem; }
.sector-kicker { display: block; min-height: 2.2rem; margin-block-end: .75rem; color: var(--shalfa-green); font-family: Inter, Arial, sans-serif; font-size: .62rem; font-weight: 800; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.sector-content strong { display: block; min-height: 5.5rem; font-size: clamp(1.05rem, 1.45vw, 1.42rem); line-height: 1.65; text-wrap: pretty; }
.sector-content small { display: block; min-height: 5.25rem; margin-block-start: 1rem; color: var(--shalfa-muted); font-size: .78rem; font-weight: 300; line-height: 1.85; }
html[lang="en"] .sector-content small { font-weight: 400; line-height: 1.65; }
.sector-panel:hover .sector-number, .sector-panel:hover .sector-kicker, .sector-panel:hover .sector-content small { color: rgba(255,255,255,.78); }
.sector-panel-tech { color: var(--shalfa-white); background: var(--shalfa-navy); }
.sector-panel-tech .sector-number, .sector-panel-tech .sector-kicker { color: var(--shalfa-green-light); }
.sector-panel-tech .sector-content small { color: rgba(255,255,255,.62); }

/* ================================================================
   10 Investment
   ================================================================ */
.investments { overflow: hidden; color: var(--shalfa-white); background: var(--shalfa-navy); }
.investment-lines { position: absolute; inset: 0; opacity: .18; background: radial-gradient(circle at 82% 35%, rgba(43,104,187,.65), transparent 27%), linear-gradient(120deg, transparent 45%, rgba(95,199,185,.24) 45.1%, transparent 45.3%); }
.investment-layout { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(25rem, .65fr); align-items: end; gap: clamp(3rem, 8vw, 8rem); }
.investment-copy h2 { color: var(--shalfa-white); }
.investment-copy .section-lead { color: rgba(255,255,255,.67); }
.investment-themes { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.investment-themes li { display: flex; align-items: center; gap: 1.4rem; padding-block: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.investment-themes > li > span { color: var(--shalfa-green-light); font-family: Inter, Arial, sans-serif; font-size: .7rem; letter-spacing: .12em; }
.investment-themes strong, .investment-themes small { display: block; }
.investment-themes strong { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.investment-themes small { color: rgba(255,255,255,.5); font-family: Inter, Arial, sans-serif; font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }

/* ================================================================
   10 Technology
   ================================================================ */
.technology { overflow: hidden; color: var(--shalfa-white); background: #091d32; isolation: isolate; }
.technology::after { content: ""; position: absolute; inset-block-end: -12rem; inset-inline-start: -9rem; z-index: -1; width: 34rem; height: 34rem; border: 1px solid rgba(95,199,185,.12); border-radius: 50%; box-shadow: 0 0 0 6rem rgba(95,199,185,.025), 0 0 0 12rem rgba(43,104,187,.025); }
.tech-grid-pattern { position: absolute; inset: 0; z-index: -2; opacity: .08; background-image: linear-gradient(rgba(95,199,185,.8) 1px, transparent 1px), linear-gradient(90deg, rgba(95,199,185,.8) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%); mask-image: linear-gradient(90deg, #000, transparent 75%); }
html[dir="rtl"] .tech-grid-pattern { transform: scaleX(-1); }
.technology-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(28rem, .72fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.tech-signature { margin-block-end: var(--space-lg); color: var(--shalfa-white); font-family: Inter, Arial, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.tech-signature span { color: var(--shalfa-green-light); }
.technology-copy h2 { color: var(--shalfa-white); font-size: clamp(2.6rem, 4.8vw, 5.2rem); }
.technology-copy .section-lead { color: rgba(255,255,255,.66); }
.capability-list { border-top: 1px solid rgba(255,255,255,.18); }
.capability-list article { display: grid; grid-template-columns: 2.7rem 1fr; gap: 1rem; align-items: center; padding-block: 1.35rem; border-bottom: 1px solid rgba(255,255,255,.16); transition: padding-inline .3s var(--ease), background-color .25s ease; }
.capability-list article:hover { padding-inline: 1rem; background: rgba(255,255,255,.035); }
.capability-list article > span { color: var(--shalfa-green-light); font-family: Inter, Arial, sans-serif; font-size: .68rem; }
.capability-list strong, .capability-list small { display: block; }
.capability-list strong { font-size: clamp(1rem, 1.5vw, 1.3rem); }
.capability-list small { color: rgba(255,255,255,.48); font-family: Inter, Arial, sans-serif; font-size: .66rem; letter-spacing: .05em; }

/* ================================================================
   11 Projects
   ================================================================ */
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); }
.project-card { min-width: 0; }
.project-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #d9dfdf; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s ease; filter: saturate(.78); }
.project-card:hover .project-image img { transform: scale(1.035); filter: saturate(.95); }
.project-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--shalfa-border); }
.project-meta span { color: var(--shalfa-green); font-size: .65rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.project-meta h3 { margin: .35rem 0 0; color: var(--shalfa-navy); font-family: Inter, Arial, sans-serif; font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.25; }
.project-meta > a { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; color: var(--shalfa-navy); font-size: .75rem; font-weight: 750; }
.project-meta > a b { font-size: 1.1rem; transition: transform .25s var(--ease); }
.project-meta > a:hover b { transform: translate(.2rem, -.2rem); }
html[dir="rtl"] .project-meta > a:hover b { transform: translate(-.2rem, -.2rem); }
.section-action { display: flex; justify-content: center; margin-block-start: var(--space-lg); }

/* ================================================================
   12 Vision
   ================================================================ */
.vision { background: #edf2ef; overflow: hidden; }
.vision-grid { display: grid; grid-template-columns: minmax(18rem, .55fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); }
.vision-mark { position: relative; aspect-ratio: 1; display: grid; place-items: center; color: var(--shalfa-white); background: var(--shalfa-green); overflow: hidden; }
.vision-mark::before, .vision-mark::after { content: ""; position: absolute; width: 64%; height: 64%; border: 1px solid rgba(255,255,255,.26); transform: rotate(45deg); }
.vision-mark::after { width: 42%; height: 42%; }
.vision-mark span { position: relative; z-index: 1; font-size: clamp(6rem, 13vw, 12rem); font-weight: 300; line-height: 1; opacity: .92; }
.vision-mark i { position: absolute; inset-inline-end: 0; inset-block-end: 0; width: 26%; height: 26%; background: var(--shalfa-blue); }
.vision-copy blockquote { max-width: 51rem; margin: 0; color: var(--shalfa-text); font-size: clamp(1.45rem, 2.45vw, 2.6rem); font-weight: 500; line-height: 1.75; }
html[lang="en"] .vision-copy blockquote { line-height: 1.5; }
.vision-2030 { display: flex; align-items: center; gap: .9rem; margin: var(--space-md) 0 0; color: var(--shalfa-muted); font-size: .78rem; font-weight: 700; }
.vision-2030 > span:first-child { width: 2.5rem; height: 2px; background: linear-gradient(90deg, var(--shalfa-green) 50%, var(--shalfa-blue) 50%); }

/* ================================================================
   13 Values
   ================================================================ */
.values-heading { margin-block-end: var(--space-md); }
.values-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--shalfa-border); list-style: none; }
.values-list li { position: relative; min-height: 19rem; display: flex; flex-direction: column; padding: 2rem 1.5rem; border-inline-end: 1px solid var(--shalfa-border); }
.values-list li:last-child { border-inline-end: 0; }
.values-list li > span { color: rgba(32,84,164,.18); font-family: Inter, Arial, sans-serif; font-size: clamp(3.7rem, 6vw, 6.5rem); font-weight: 800; line-height: 1; }
.values-list strong { margin-block-start: auto; color: var(--shalfa-navy); font-size: clamp(1.25rem, 1.8vw, 1.75rem); line-height: 1.4; }
.values-list small { color: var(--shalfa-green); font-family: Inter, Arial, sans-serif; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

/* ================================================================
   14 Partners
   ================================================================ */
.partners-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(30rem, 1fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); }
.partners-copy h2 { margin-block-end: 1rem; }
.partner-logos { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 1rem; }
.partner-logo {
  min-height: 12rem;
  display: grid;
  place-items: center;
  padding: 2rem 1.35rem;
  border: 1px solid var(--shalfa-border);
  background: #f8faf9;
  overflow: hidden;
}
.partner-logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 6.75rem; object-fit: contain; }
.partner-logo-shalfa img { width: min(100%, 11.75rem); max-height: 7.5rem; object-position: center; }
.partner-logo-bhc img, .partner-logo-done img { width: min(100%, 9rem); }
.partner-note { grid-column: 2; margin: -2.5rem 0 0; color: var(--shalfa-muted); font-size: .7rem; }

/* ================================================================
   15 Final CTA
   ================================================================ */
.final-cta { position: relative; min-height: clamp(36rem, 62vw, 48rem); display: grid; align-items: center; overflow: hidden; color: var(--shalfa-white); background: var(--shalfa-navy); isolation: isolate; }
.final-cta > img, .final-cta-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta > img { z-index: -2; max-width: none; object-fit: cover; object-position: center; filter: saturate(.76) contrast(1.04); }
.final-cta-overlay { z-index: -1; background: linear-gradient(90deg, rgba(5,21,38,.97), rgba(5,21,38,.82) 55%, rgba(5,21,38,.54)); }
html[dir="rtl"] .final-cta-overlay { background: linear-gradient(270deg, rgba(5,21,38,.97), rgba(5,21,38,.83) 55%, rgba(5,21,38,.54)); }
.final-cta-content { padding-block: var(--space-xl); }
.final-cta-content h2 { max-width: 61rem; color: var(--shalfa-white); font-size: clamp(2.9rem, 6vw, 6.4rem); }
.final-cta-content > p:not(.eyebrow) { margin-block-end: var(--space-md); color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.4vw, 1.2rem); }

/* ================================================================
   16 Footer
   ================================================================ */
.site-footer { color: rgba(255,255,255,.68); background: #041629; }
.footer-main { display: grid; grid-template-columns: minmax(17rem, 1.5fr) repeat(3, minmax(8rem, .65fr)); align-items: start; column-gap: var(--space-lg); row-gap: 2.5rem; padding-block: var(--space-xl); }
.footer-brand { display: block; width: 11.75rem; height: 6.35rem; margin-block-end: 1.35rem; overflow: visible; background: transparent; }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.footer-intro > p { margin-block-end: .85rem; color: var(--shalfa-white); font-weight: 650; }
.footer-intro .footer-legal { color: rgba(255,255,255,.5); font-size: .73rem; font-weight: 400; line-height: 2; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.footer-column h2 { margin: 0 0 .55rem; color: var(--shalfa-white); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a, .footer-column p { margin: 0; font-size: .78rem; transition: color .2s ease; }
.footer-column a:hover { color: var(--shalfa-green-light); }
.footer-contact { gap: .7rem; }
.footer-contact a { min-height: 1.25rem; display: inline-flex; align-items: center; direction: ltr; unicode-bidi: isolate; line-height: 1.55; }
.footer-contact p { line-height: 1.55; }
.footer-profile-link { direction: inherit !important; margin-block-start: .45rem; padding-block-end: .25rem; border-bottom: 1px solid rgba(95,199,185,.55); color: var(--shalfa-white); font-weight: 700; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .68rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: flex; align-items: center; gap: .7rem; color: var(--shalfa-white); }

/* ================================================================
   17 Animations
   ================================================================ */
.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes scroll-line {
  0% { transform: translateY(-110%); }
  50%, 100% { transform: translateY(110%); }
}

/* ================================================================
   18 Responsive
   ================================================================ */
@media (max-width: 1120px) {
  :root { --header-height: 78px; }
  .brand { width: 3.2rem; height: 3.2rem; }
  .brand-logo-dark, .brand-logo-light { display: none !important; }
  .brand-logo-symbol, .site-header.is-scrolled .brand-logo-symbol { display: block; }
  .menu-toggle { display: flex; margin-inline-start: auto; }
  .header-actions { margin-inline-start: 0; }
  .header-cta { display: none; }

  .primary-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 1100;
    width: min(30rem, 88vw);
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    color: var(--shalfa-text);
    background: var(--shalfa-white);
    box-shadow: var(--shadow-soft);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(105%);
    transition: visibility .35s ease, transform .45s var(--ease);
  }

  html[dir="rtl"] .primary-nav { transform: translateX(-105%); }
  .primary-nav.is-open { visibility: visible; transform: translateX(0); }
  html[dir="rtl"] .primary-nav.is-open { transform: translateX(0); }
  .primary-nav a { padding: 1rem .25rem; border-bottom: 1px solid var(--shalfa-border); font-size: .95rem; }
  .primary-nav a::after { display: none; }
  .menu-toggle { position: relative; z-index: 1200; }
  body.nav-open .site-header { color: var(--shalfa-text); }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(3,15,29,.65);
    opacity: 0;
    visibility: hidden;
    cursor: default;
    transition: opacity .3s ease, visibility .3s ease;
  }

  .nav-scrim.is-visible { opacity: 1; visibility: visible; }
  .site-header.is-scrolled { height: 70px; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .about-grid, .investment-layout, .technology-layout, .vision-grid, .partners-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: 45rem; }
  .editorial-image { min-height: 36rem; }
  .investment-layout, .technology-layout { align-items: start; }
  .investment-themes, .capability-list { max-width: 42rem; }
  .vision-mark { max-width: 32rem; }
  .partners-copy { max-width: 43rem; }
  .partner-note { grid-column: 1; margin: -2rem 0 0; }
  .footer-main { grid-template-columns: 1.35fr repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .section-heading > p { max-width: 40rem; }
  .hero-copy, html[lang="en"] .hero-copy { width: min(100%, 40rem); max-width: 40rem; }
  .hero-shade, html[dir="rtl"] .hero-shade { background: linear-gradient(0deg, rgba(5,21,39,.94), rgba(5,21,39,.64)); }
  .hero-media {
    object-position: left center;
    transform: scale(1.28);
    transform-origin: left center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .scroll-cue { display: none; }
  .about-grid { gap: var(--space-lg); }
  .editorial-image { min-height: 30rem; }
  .leadership-grid { grid-template-columns: 1fr; }
  .leader-card { min-height: 39rem; }
  .leader-card-evp { min-height: 34rem; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-panel { min-height: 20rem; }
  .project-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: repeat(2, 1fr); }
  .values-list li:nth-child(2) { border-inline-end: 0; }
  .values-list li { min-height: 15rem; border-bottom: 1px solid var(--shalfa-border); }
  .partner-logos { grid-template-columns: 1fr; gap: .75rem; }
  .partner-logo { min-height: 9.5rem; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-intro { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  :root { --space-section: 4.9rem; }
  .container { width: min(calc(100% - 1.5rem), var(--container)); }
  .site-header, .site-header.is-scrolled { height: 68px; }
  .brand { width: 2.75rem; height: 2.75rem; }
  .header-inner { gap: .75rem; }
  .language-switcher { gap: .2rem; }
  .menu-toggle { width: 2.65rem; height: 2.65rem; }
  .primary-nav { padding-inline: 1.25rem; }
  .hero { min-height: max(43rem, 100svh); }
  .hero-inner { padding-block-start: 6.85rem; }
  h1, html[lang="en"] h1 { font-size: clamp(2.4rem, 10vw, 2.75rem); line-height: 1.12; }
  html[lang="ar"] .hero-copy h1 {
    font-size: clamp(2.256rem, 9.4vw, 2.585rem);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: normal;
  }
  html[lang="en"] .hero-copy h1 { font-size: clamp(2.15rem, 8.6vw, 2.4rem); line-height: 1.12; }
  h2 { font-size: clamp(2.15rem, 10.5vw, 3rem); line-height: 1.2; }
  html[lang="ar"] h2 { line-height: 1.25; }
  .hero-copy .eyebrow { margin-block-end: .8rem; }
  .hero-copy h1 { margin-block-end: 1.1rem; }
  .hero-lead { margin-block-end: 1.4rem; font-size: .98rem; line-height: 1.78; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section-heading { margin-block-end: 1.75rem; }
  .editorial-image { min-height: 25rem; }
  .editorial-image img { transform: scale(1.62); }
  .editorial-image figcaption { inset-inline: .75rem; inset-block-end: .75rem; align-items: flex-start; flex-direction: column; gap: .15rem; }
  .company-facts { padding: 1.5rem; }
  .company-facts dl > div { grid-template-columns: 1fr; gap: .3rem; }
  .about-actions { align-items: stretch; flex-direction: column; }
  .profile-download { width: 100%; }
  .leadership-heading { margin-block-end: 1.75rem; }
  .leadership-grid { gap: 1rem; }
  .leader-card, .leader-card-evp { min-height: 34rem; }
  .leader-card-ceo > img { object-position: center 15%; }
  .leader-card-evp .leader-card-content { inset-block-end: 8.5rem; }
  .sector-panel { min-height: 19rem; padding: 1.4rem; }
  .sector-content { padding-block-start: 4.5rem; }
  .sector-kicker, .sector-content strong, .sector-content small { min-height: 0; }
  .sector-content strong { font-size: 1.25rem; }
  .investment-layout, .technology-layout { gap: var(--space-lg); }
  .capability-list article { grid-template-columns: 2rem 1fr; }
  .project-meta { align-items: flex-start; flex-direction: column; }
  .project-meta > a { align-self: stretch; justify-content: space-between; }
  .vision-mark { max-width: 100%; }
  .values-list { grid-template-columns: 1fr; }
  .values-list li, .values-list li:nth-child(2) { min-height: 12rem; border-inline-end: 0; }
  .values-list li > span { font-size: 4rem; }
  .partner-note { margin-block-start: -1.25rem; }
  .final-cta { min-height: 40rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.25rem 1.25rem; }
  .footer-contact { padding-block-start: .25rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* ================================================================
   19 Accessibility / Reduced Motion
   ================================================================ */
:focus-visible {
  outline: 3px solid #f0b94f;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .button, .menu-toggle, .language-switcher button, .sector-arrow { border: 1px solid currentColor; }
}
