/* ==========================================================================
   FSME — Fast Solution Middle East
   Public stylesheet. Built on the Fast Solution visual identity:
   yellow #FCE606, dark navy #111821, white, bold geometric type, wave + dot motif.
   Logical properties throughout so Arabic RTL mirrors automatically.
   ========================================================================== */

:root {
  --brand-yellow: #FCE606;
  --brand-dark:   #111821;

  --ink:        #111821;
  --ink-soft:   #3b4653;
  --muted:      #6b7580;
  --line:       #e3e7ec;
  --line-soft:  #eef1f4;
  --surface:    #ffffff;
  --tint:       #f4f6f8;
  --dark-2:     #1a2431;
  --dark-3:     #263240;
  --on-dark:    #e8ecf1;
  --on-dark-mut:#9aa6b4;

  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  9px;

  --shell:      1200px;
  --gap:        clamp(20px, 3vw, 34px);
  --section-y:  clamp(56px, 8vw, 108px);

  --shadow-sm:  0 1px 2px rgba(17, 24, 33, .06), 0 4px 14px rgba(17, 24, 33, .05);
  --shadow-md:  0 10px 34px rgba(17, 24, 33, .10);
  --shadow-lg:  0 24px 60px rgba(17, 24, 33, .16);

  --font-sans:  "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ar:    "Cairo", "Segoe UI", system-ui, sans-serif;
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* -------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.lang-ar { font-family: var(--font-ar); line-height: 1.85; }

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.022em;
  color: var(--ink);
}
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }

h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.06rem, 1.5vw, 1.24rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul.plain { list-style: none; margin: 0; padding: 0; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.section { padding-block: var(--section-y); }
.max-70 { max-width: 72ch; }
.muted { color: var(--muted); }
.h-sm { font-size: clamp(1.24rem, 2vw, 1.6rem); margin-bottom: .7em; }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 200;
  background: var(--brand-dark); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { inset-inline-start: 0; }

/* ------------------------------------------------------------------ kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
body.lang-ar .kicker { letter-spacing: .04em; font-size: .85rem; }
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-yellow); flex: none; }
.kicker.light { color: var(--on-dark-mut); }

.section-head { max-width: 60ch; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head h2 { margin-bottom: 0; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: inherit; font-size: .96rem; font-weight: 700; line-height: 1;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand-yellow); color: var(--brand-dark); box-shadow: 0 6px 20px rgba(252, 230, 6, .32); }
.btn-primary:hover { background: #ffef3d; }

.btn-dark { background: var(--brand-dark); color: #fff; }
.btn-dark:hover { background: var(--dark-3); }

.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .38); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }

.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--brand-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem;
  border-bottom: 2px solid var(--brand-yellow); padding-bottom: 3px;
  transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { transition: transform .2s var(--ease); }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* ------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s, background .25s;
}
.site-header.is-stuck { box-shadow: 0 4px 24px rgba(17, 24, 33, .09); }

.header-inner { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); min-height: 78px; }
.logo { flex: none; display: block; }
.logo img { width: clamp(138px, 14vw, 176px); }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: block; padding: 9px 2px;
  font-size: .945rem; font-weight: 600; color: var(--ink-soft);
  white-space: nowrap; /* menu labels must never break mid-item */
  transition: color .18s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 2px;
  width: 100%; height: 2.5px; background: var(--brand-yellow);
  transform: scaleX(0); transform-origin: inherit; transition: transform .22s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch {
  padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .84rem; font-weight: 700; color: var(--ink-soft); transition: .18s;
}
.lang-switch:hover { border-color: var(--brand-dark); color: var(--ink); }

.burger { display: none; width: 44px; height: 40px; padding: 0; background: none; border: 0; cursor: pointer; }
.burger span {
  display: block; width: 24px; height: 2.4px; margin: 5px auto;
  background: var(--ink); border-radius: 2px; transition: transform .24s var(--ease), opacity .18s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--brand-dark);
  color: #fff;
  padding-block: clamp(64px, 11vw, 132px);
}
.hero-home { padding-block: clamp(84px, 15vw, 176px); }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(1100px 520px at 78% 12%, rgba(252, 230, 6, .16), transparent 62%),
    radial-gradient(700px 500px at 6% 92%, rgba(255, 255, 255, .07), transparent 60%),
    linear-gradient(160deg, #0d141c 0%, #111821 46%, #17202c 100%);
}
/* Optional admin-uploaded hero photo, dimmed for contrast. */
.hero[style*="--hero-image"]::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image);
  background-size: cover; background-position: center;
  opacity: .3; mix-blend-mode: luminosity;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-wave {
  position: absolute; inset-inline-end: -6%; bottom: -14%;
  width: min(660px, 62%); opacity: .1;
}
[dir="rtl"] .hero-wave { transform: scaleX(-1); }

.hero-inner { position: relative; max-width: 62ch; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .kicker { color: var(--brand-yellow); }
.hero-sub { font-size: clamp(1.02rem, 1.65vw, 1.22rem); color: var(--on-dark); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

/* --------------------------------------------------------------- stats band */
.stats-band { background: var(--brand-yellow); color: var(--brand-dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; padding-block: 0;
}
.stat { padding: clamp(26px, 3.6vw, 40px) clamp(14px, 2vw, 26px); position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; inset-block: 22%; inset-inline-start: 0;
  width: 1.5px; background: rgba(17, 24, 33, .18);
}
.stat-value {
  display: block; font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1;
}
.stat-label { display: block; margin-top: 10px; font-size: .875rem; font-weight: 600; line-height: 1.45; opacity: .82; }

/* ------------------------------------------------------------- intro / grid */
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px); align-items: start;
}
.lede { font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: var(--ink-soft); }
.usp {
  margin-top: 26px; padding-inline-start: 20px;
  border-inline-start: 4px solid var(--brand-yellow);
  font-size: 1.05rem; font-weight: 600; font-style: italic; color: var(--ink);
}
body.lang-ar .usp { font-style: normal; }
.intro-copy .link-arrow { margin-top: 26px; }

.intro-facts {
  background: var(--tint); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  position: relative; overflow: hidden;
}
.intro-facts::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0;
  width: 74px; height: 5px; background: var(--brand-yellow);
}
.intro-facts h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.lang-ar .intro-facts h3 { letter-spacing: .03em; font-size: .95rem; }
.intro-facts dl { margin: 14px 0 0; }
.intro-facts dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.intro-facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.intro-facts dt { font-size: .875rem; color: var(--muted); }
.intro-facts dd { margin: 0; font-weight: 700; font-size: .93rem; text-align: end; }

/* ------------------------------------------------------------ dark sections */
.section-dark { background: var(--brand-dark); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-mut); }
.section-tint { background: var(--tint); }

/* --------------------------------------------------------------------- cards */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: var(--gap); }

.card {
  position: relative; overflow: hidden;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .26s var(--ease), box-shadow .26s;
}
.card::after {
  content: ""; position: absolute; top: 0; inset-inline-start: 0;
  width: 0; height: 4px; background: var(--brand-yellow); transition: width .32s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card:hover::after { width: 100%; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card-tagline { font-weight: 700; color: var(--ink) !important; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--brand-yellow); color: var(--brand-dark);
}
.section-dark .card { background: var(--dark-2); border-color: rgba(255, 255, 255, .09); }
.section-dark .card p { color: var(--on-dark-mut); }
.section-dark .card .card-tagline { color: var(--on-dark) !important; }
.section-dark .card .link-arrow { color: var(--on-dark); }

.ticks { list-style: none; margin: 16px 0 20px; padding: 0; }
.ticks li {
  position: relative; padding-inline-start: 26px; margin-bottom: 9px;
  font-size: .93rem; color: var(--ink-soft);
}
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .58em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--brand-yellow);
}
.section-dark .ticks li { color: var(--on-dark-mut); }
.ticks-lg li { font-size: 1rem; margin-bottom: 12px; }

/* --------------------------------------------------------------- advantages */
.grid-adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(22px, 3vw, 38px); }
.adv { display: flex; gap: 16px; align-items: flex-start; }
.adv-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(252, 230, 6, .18); color: var(--ink);
}
.on-dark .adv-icon { background: rgba(252, 230, 6, .16); color: var(--brand-yellow); }
.adv h3 { margin-bottom: .3em; font-size: 1.05rem; }
.adv p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
.on-dark .adv p { color: var(--on-dark-mut); }

/* ------------------------------------------------------------------- values */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.value {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px);
  transition: box-shadow .24s, transform .24s var(--ease);
}
.value:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px; border-radius: 11px;
  background: var(--brand-dark); color: var(--brand-yellow);
}
.value h3 { font-size: 1.02rem; margin-bottom: .3em; }
.value p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ----------------------------------------------------------------- timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; inset-inline-start: 7px; top: 10px; bottom: 10px;
  width: 2px; background: linear-gradient(var(--brand-yellow), var(--line));
}
.timeline li { position: relative; padding-inline-start: 40px; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-yellow); border: 3px solid var(--tint);
  box-shadow: 0 0 0 2px var(--brand-yellow);
}
.tl-year { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.tl-body h3 { margin: 4px 0 .25em; font-size: 1.1rem; }
.tl-body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* --------------------------------------------------------------- objectives */
.obj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: clamp(20px, 3vw, 34px); }
.obj { position: relative; padding-top: 20px; border-top: 3px solid var(--line); transition: border-color .24s; }
.obj:hover { border-top-color: var(--brand-yellow); }
.obj-num { font-size: .9rem; font-weight: 800; color: var(--brand-yellow); letter-spacing: .1em; }
.obj h3 { margin: 8px 0 .35em; font-size: 1.06rem; }
.obj p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------- panels */
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 66px); align-items: start; }
.stack { display: grid; gap: 18px; }
.panel { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.panel h3 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
body.lang-ar .panel h3 { letter-spacing: .03em; font-size: .98rem; }
.panel p { margin: 0; font-size: 1.03rem; line-height: 1.65; }
.panel-yellow { background: var(--brand-yellow); color: var(--brand-dark); }
.panel-dark { background: var(--brand-dark); color: #fff; }
.panel-dark h3 { color: var(--brand-yellow); }
.panel-sm { padding: 22px; margin-top: 20px; }
.usp-sm { font-size: .97rem; font-weight: 600; }

.prose p { color: var(--ink-soft); }
.prose ul { padding-inline-start: 1.2em; color: var(--ink-soft); }

/* --------------------------------------------------------------- facts table */
.facts-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.fact-row { display: grid; grid-template-columns: minmax(150px, 30%) 1fr; gap: 16px; padding: 15px clamp(16px, 2.4vw, 26px); border-bottom: 1px solid var(--line-soft); }
.fact-row:last-child { border-bottom: 0; }
.fact-row:nth-child(odd) { background: #fbfcfd; }
.fact-k { font-weight: 700; font-size: .92rem; }
.fact-v { color: var(--ink-soft); font-size: .95rem; }

/* -------------------------------------------------------------- anchor nav */
.anchor-nav { position: sticky; top: 78px; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.anchor-row { display: flex; gap: clamp(10px, 2vw, 28px); overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.anchor-row::-webkit-scrollbar { display: none; }
.anchor-row a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: .9rem; font-weight: 700; color: var(--muted); padding: 6px 0;
  border-bottom: 2.5px solid transparent; transition: .18s;
}
.anchor-row a:hover { color: var(--ink); border-bottom-color: var(--brand-yellow); }

/* ----------------------------------------------------------------- services */
.service-block { scroll-margin-top: 130px; }
.service-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.service-grid.reverse .service-copy { order: 2; }
.service-tagline { font-size: 1.14rem; font-weight: 700; color: var(--ink); }
.service-visual { position: relative; }
.service-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.visual-placeholder {
  display: grid; place-items: center; gap: 14px; aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); color: var(--brand-dark);
  background:
    radial-gradient(420px 300px at 76% 18%, rgba(252, 230, 6, .55), transparent 60%),
    linear-gradient(150deg, #f7f9fb, #e7ebf0);
  border: 1px solid var(--line);
}
.visual-placeholder span { font-weight: 800; font-size: 1rem; letter-spacing: -.01em; padding-inline: 24px; text-align: center; }

/* --------------------------------------------------------------- markets */
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); margin-top: clamp(30px, 4vw, 50px); }
.market-group { background: var(--tint); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); }
.market-group h2 { display: flex; align-items: center; gap: 11px; font-size: 1.06rem; margin-bottom: 16px; }
.mg-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-yellow); color: var(--brand-dark); flex: none; }
.market-list { list-style: none; margin: 0; padding: 0; }
.market-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.market-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.market-list strong { display: block; font-size: 1rem; }
.market-list span { font-size: .875rem; color: var(--muted); }
.card-loc h3 { font-size: 1.02rem; }

/* -------------------------------------------------------------------- team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(24px, 3.4vw, 44px); }
.member {
  display: grid; grid-template-columns: 116px 1fr; gap: 22px; align-items: start;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 28px);
  transition: box-shadow .24s, transform .24s var(--ease);
}
.member:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.member-photo { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; background: var(--brand-dark); display: grid; place-items: center; flex: none; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.initials { font-size: 2rem; font-weight: 800; color: var(--brand-yellow); letter-spacing: .02em; }
.member h3 { margin-bottom: .15em; font-size: 1.14rem; }
.member-role { font-size: .87rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .8em; }
body.lang-ar .member-role { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.member p { font-size: .94rem; color: var(--ink-soft); }
.member-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: .88rem; font-weight: 700; }
.member-links a { border-bottom: 2px solid var(--brand-yellow); padding-bottom: 2px; }
.team-note { display: flex; gap: 18px; align-items: center; margin-top: clamp(28px, 4vw, 44px); }
.team-note .card-icon { background: var(--brand-dark); color: var(--brand-yellow); margin: 0; }

/* ----------------------------------------------------------------- partners */
.logo-block { margin-top: clamp(32px, 4vw, 52px); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 16px; }
.logo-tile {
  display: grid; place-content: center; gap: 6px; text-align: center;
  min-height: 132px; padding: 22px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .22s, box-shadow .22s, transform .22s var(--ease);
}
.logo-tile:hover { border-color: var(--brand-yellow); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.logo-tile img { max-height: 62px; width: auto; margin-inline: auto; filter: grayscale(1); opacity: .78; transition: .22s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-name { font-weight: 800; font-size: .98rem; }
.logo-note { font-size: .82rem; color: var(--muted); }
.usp-panel { display: flex; gap: 20px; align-items: center; margin-top: clamp(32px, 4vw, 52px); }
.usp-panel .card-icon { margin: 0; flex: none; }
.usp-panel p { font-size: 1.08rem; font-weight: 600; }

/* ------------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); gap: clamp(30px, 4.5vw, 62px); align-items: start; }
.form { margin-top: 22px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: 7px; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  font-family: inherit; font-size: .97rem; color: var(--ink);
  background: #fbfcfd; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #c9d0d8; }
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; border-color: var(--brand-dark); outline-offset: 1px; }
.field.has-error input, .field.has-error textarea { border-color: #d94f45; background: #fef7f6; }
.field-err { display: block; margin-top: 6px; font-size: .82rem; font-weight: 600; color: #c0392b; }
.trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 15px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .95rem; }
.alert-ok { background: #eaf7ee; border: 1px solid #b7e0c4; color: #1d6a37; }
.alert-err { background: #fdeceb; border: 1px solid #f5c2be; color: #a3271c; }

.contact-info { display: grid; gap: 16px; }
.info-card { background: var(--tint); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line-soft); }
.info-card h3 { display: flex; align-items: center; gap: 9px; font-size: .95rem; margin-bottom: .5em; }
.info-card h3 svg { color: var(--ink); flex: none; }
.info-card p, .info-card li { font-size: .93rem; color: var(--ink-soft); }
.info-card li { padding: 5px 0; }
.info-card a:hover { border-bottom: 2px solid var(--brand-yellow); }
.info-hours { background: var(--brand-dark); border-color: transparent; }
.info-hours h3 { color: #fff; }
.info-hours h3 svg { color: var(--brand-yellow); }
.info-hours p { color: var(--on-dark-mut); }

.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: clamp(300px, 42vw, 460px); border: 0; filter: grayscale(.25); }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--brand-yellow); color: var(--brand-dark); }
.cta-inner {
  display: flex; flex-wrap: wrap; gap: clamp(22px, 3vw, 46px);
  align-items: center; justify-content: space-between;
  padding-block: clamp(40px, 6vw, 72px);
}
.cta-inner h2 { margin-bottom: .3em; max-width: 26ch; }
.cta-inner p { margin: 0; font-weight: 600; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .btn-line { border-color: rgba(17, 24, 33, .3); color: var(--brand-dark); }
.cta-actions .btn-line:hover { border-color: var(--brand-dark); background: rgba(17, 24, 33, .06); }

/* ------------------------------------------------------------------- footer */
.site-footer { background: var(--brand-dark); color: var(--on-dark-mut); padding-block: clamp(48px, 6vw, 76px) 26px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 52px); }
.footer-brand img { width: 210px; margin-bottom: 18px; }
.footer-brand p { font-size: .93rem; max-width: 42ch; }
.tagline-sm { color: var(--brand-yellow) !important; font-weight: 800; letter-spacing: .01em; }
.footer-col h3 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
body.lang-ar .footer-col h3 { letter-spacing: .03em; font-size: .96rem; }
.footer-col li { padding: 6px 0; font-size: .93rem; }
.footer-col a { transition: color .18s; }
.footer-col a:hover { color: var(--brand-yellow); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--brand-yellow); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: .82rem; font-weight: 600; }
.socials a:hover { background: var(--brand-yellow); border-color: var(--brand-yellow); color: var(--brand-dark); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  margin-top: clamp(34px, 5vw, 58px); padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-meta a:hover { color: var(--brand-yellow); }

.to-top {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 90;
  display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--brand-yellow); color: var(--brand-dark);
  border-radius: 50%; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px) rotate(-90deg);
  transition: opacity .24s, transform .24s var(--ease), visibility .24s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) rotate(-90deg); }

/* ----------------------------------------------------------------- 404 page */
.error-page { text-align: center; padding-block: clamp(70px, 12vw, 150px); }
.error-page .kicker { justify-content: center; }
.error-page .btn-row { justify-content: center; }
.error-page .lede { max-width: 46ch; margin-inline: auto; }
.err-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.err-links a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before, .stat:nth-child(odd)::before { display: none; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 78px 0 auto; z-index: 99;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 78px); overflow-y: auto;
    display: none; margin: 0;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(18px, 4vw, 40px) 20px; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav a { padding: 15px 0; font-size: 1.04rem; }
  .nav a::after { display: none; }
  .burger { display: block; }
  .header-cta { display: none; }
  .anchor-nav { top: 78px; }

  .intro-grid, .split, .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid.reverse .service-copy { order: 0; }
  .service-visual { order: -1; }
  .member { grid-template-columns: 88px 1fr; gap: 18px; }
  .member-photo { width: 88px; height: 88px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-top: 1px solid rgba(17, 24, 33, .16); }
  .stat + .stat::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; gap: 4px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .team-note, .usp-panel { flex-direction: column; align-items: flex-start; }
  .to-top { inset-inline-end: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------- print */
@media print {
  .site-header, .site-footer, .to-top, .cta-band, .anchor-nav, .hero-bg { display: none !important; }
  .hero { background: #fff !important; color: #000 !important; padding-block: 20px; }
  .hero h1, .hero-sub { color: #000 !important; }
  .section { padding-block: 18px; }
  body { font-size: 11pt; }
}
