/* =========================================================================
   Entry Point vCards — Design System (matches entry-point-logo.svg)
   Brand: charcoal #525252 · ink #1a1a1a · footer #141414
   Logo source palette: #737373 / #a5a6a5
   Typography: Noto Sans Arabic + Inter
   ========================================================================= */

/* ===== Thmanyah font family (self-hosted) ===== */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../font/thmanyahsans/woff2/thmanyahsans-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../font/thmanyahsans/woff2/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../font/thmanyahsans/woff2/thmanyahsans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../font/thmanyahsans/woff2/thmanyahsans-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../font/thmanyahsans/woff2/thmanyahsans-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../font/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../font/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../font/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../font/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../font/thmanyahseriftext/woff2/thmanyahseriftext-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../font/thmanyahseriftext/woff2/thmanyahseriftext-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../font/thmanyahseriftext/woff2/thmanyahseriftext-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --green: #37352F;
  --green-600: #2F2D27;
  --green-700: #25241F;
  --green-50: #F7F6F3;
  --green-100: #EFEEEA;
  --ink: #37352F;
  --footer-bg: #191918;
  --hero-bg-1: #1a1a1a;
  --hero-bg-2: #2a2a2a;
  --bg: #ffffff;
  --surface: #F7F6F3;
  --surface-2: #EFEEEA;
  --border: rgba(55,53,47,.09);
  --border-strong: rgba(55,53,47,.16);
  --text: #37352F;
  --text-muted: #787774;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow: 0 1px 3px rgba(15,15,15,.04), 0 6px 18px rgba(15,15,15,.06);
  --container: 1320px;
  --header-h: 62px;
  --header-pad-top: 30px;
  --font-ar: 'Cairo', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-en: 'Google Sans Flex', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Thmanyah Serif Display', 'Thmanyah Sans', serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on, 'cv11' on;
}
html[lang="ar"] body { font-family: var(--font-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 16px; }

/* ===== Plain header (logo + lang toggle only) ===== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 70;
  transform: translateY(0);
  transition: transform .25s ease;
  backdrop-filter: saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .header-inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand-mark {
  display: inline-flex; align-items: center;
  transition: opacity .2s ease;
}
.brand-mark:hover { opacity: .75; }
.brand-mark img { height: 36px; width: auto; display: block; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-dropdown {
  position: relative;
  font-family: var(--font-en);
}
.lang-dropdown-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px; font-weight: 600;
  letter-spacing: .4px;
  border: 1px solid var(--border);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15,15,15,.04);
  transition: background .15s ease, border-color .15s ease;
}
.lang-dropdown-btn:hover { background: var(--surface); border-color: var(--border-strong); }
.lang-dropdown-btn svg {
  width: 14px; height: 14px;
  transition: transform .2s ease;
}
.lang-dropdown[data-open="true"] .lang-dropdown-btn svg,
.lang-dropdown:focus-within .lang-dropdown-btn svg { transform: rotate(180deg); }
.lang-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15,15,15,.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.lang-dropdown[data-open="true"] .lang-dropdown-menu,
.lang-dropdown:focus-within .lang-dropdown-menu,
.lang-dropdown:hover .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown-menu li { margin: 0; }
.lang-dropdown-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px; font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background .12s ease, color .12s ease;
}
.lang-dropdown-menu a:hover { background: var(--surface); }
.lang-dropdown-menu a[aria-current="true"] {
  background: var(--ink); color: #fff; font-weight: 600;
}
.lang-dropdown-menu .lang-code {
  font-size: 11px;
  letter-spacing: .8px;
  color: var(--text-muted);
}
.lang-dropdown-menu a[aria-current="true"] .lang-code { color: rgba(255,255,255,.7); }
/* legacy single button — alias to switcher */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .15s ease;
  box-shadow: 0 1px 2px rgba(15,15,15,.04);
}
.lang-toggle:hover { background: var(--surface); border-color: var(--border-strong); }

/* ===== Light hero (PDF-aligned) ===== */
.hero-dark {
  background: #fff;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 130px 0 56px;
  border-bottom: 1px solid var(--border);
}
/* Home hero — use home-hero.avif as backdrop */
.hero-home {
  padding: 150px 0;
  background-image:
    linear-gradient(180deg, rgba(15,15,15,.58) 0%, rgba(15,15,15,.72) 50%),
    url('../images/home-hero.avif');
  background-size: cover;
  background-position: center 30%;
  color: #fff;
  border-bottom: none;
}
.hero-home > .container { text-align: center; }
.hero-home .hero-logo {
  display: block;
  margin: 0 auto 0;
  width: auto;
  max-width: min(640px, 92%);
  height: auto;
  max-height: 320px;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.5));
}
.hero-dark.hero-home .lede {
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  margin: 18px auto 0;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.5);
  text-align: center;
  letter-spacing: -.2px;
}
.hero-dark.hero-home h1 {
  margin-inline: auto;
  max-width: 900px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.65), 0 1px 4px rgba(0,0,0,.5);
  font-weight: 800;
}
.hero-dark.hero-home .lede {
  margin-inline: auto;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 16px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.45);
  font-weight: 500;
}

/* C-suite hero — use csuite-hero.avif as backdrop */
.hero-csuite {
  background-image: linear-gradient(180deg, rgba(20,20,20,.40) 0%, rgba(20,20,20,.55) 100%), url('../images/csuite-hero.avif');
  background-size: cover;
  background-position: center;
  color: #fff;
  border-bottom: none;
  padding-top: 280px;
}
/* Individual person profile hero — use c-level-person-hero.avif */
.hero-csuite.hero-person {
  background-image: linear-gradient(180deg, rgba(15,15,15,.40) 0%, rgba(15,15,15,.55) 100%), url('../images/c-level-person-hero.avif');
  padding-top: 214px;
}
.hero-csuite h1,
.hero-csuite .lede,
.hero-csuite .crumbs,
.hero-csuite .crumbs .here,
.hero-csuite .profile-hero h1,
.hero-csuite .profile-hero .title,
.hero-csuite .profile-hero .org { color: #fff !important; }
.hero-csuite h1,
.hero-csuite .profile-hero h1 {
  text-shadow: 0 2px 22px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.55);
  font-weight: 800;
}
.hero-csuite .lede,
.hero-csuite .profile-hero .title,
.hero-csuite .profile-hero .org {
  text-shadow: 0 1px 14px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.5);
  font-weight: 500;
}
.hero-csuite .profile-hero .title { font-weight: 700; }
.hero-csuite .crumbs {
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.hero-csuite .crumbs a {
  color: rgba(255,255,255,.95) !important;
  font-weight: 500;
}
.hero-csuite .crumbs a:hover { color: #fff !important; }
.hero-csuite .crumbs .sep { color: rgba(255,255,255,.75) !important; }
.hero-csuite .btn {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-csuite .btn:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.34);
}
.hero-csuite .btn.primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero-csuite .btn.primary:hover { background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.92); }
.hero-dark > .container { position: relative; z-index: 2; }
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.crumbs a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .25s;
}
.crumbs a:hover { color: #fff; }
.crumbs .sep {
  color: rgba(255,255,255,.6);
  font-size: 12px;
}
.crumbs .here {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hero-dark h1 {
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -.5px;
  margin: 12px 0 14px;
  color: var(--ink);
  font-weight: 700;
}
html[lang="ar"] .hero-dark h1 { letter-spacing: 0; line-height: 1.25; }
.hero-dark .lede {
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0;
  font-weight: 400;
  line-height: 1.7;
}

/* ===== Cards section ===== */
.section { padding: 88px 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(700px, 100%), 1fr));
  gap: 20px;
  justify-content: center;
  max-width: 920px;
  margin-inline: auto;
}
.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
html[dir="rtl"] .card::before { transform-origin: right; }
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.card:hover::before { transform: scaleX(1); }
.card .eyebrow {
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.card h3 { font-size: 24px; margin: 0 0 8px; color: var(--ink); font-weight: 700; letter-spacing: -.3px; }
.card .role { font-size: 15px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.6; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.card .tag {
  font-size: 12px; font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.card .cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--green);
}
.card .cta::after { content: "→"; transition: transform .25s ease; }
html[dir="rtl"] .card .cta::after { content: "←"; }
.card:hover .cta::after { transform: translateX(4px); }
html[dir="rtl"] .card:hover .cta::after { transform: translateX(-4px); }

.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 22px;
  margin-bottom: 18px;
  font-family: var(--font-en);
}
html[lang="ar"] .avatar { font-family: var(--font-ar); }
img.avatar {
  object-fit: cover;
  background: none;
  display: block;
}

/* ===== Profile page (hero is dark, body is light) ===== */
.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 16px 0 12px;
}
.profile-hero .avatar-lg {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-size: 42px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.profile-hero img.avatar-lg {
  object-fit: cover;
  background: none;
  display: block;
}
.profile-hero.no-avatar { grid-template-columns: 1fr; }
.profile-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -.5px;
  font-weight: 700;
}
.profile-hero .title { font-size: 17px; color: var(--green); font-weight: 600; margin: 0 0 4px; }
.profile-hero .org { font-size: 14px; color: var(--text-muted); margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  transition: all .15s ease;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15,15,15,.04);
}
.btn:hover { border-color: var(--border-strong); background: var(--surface); box-shadow: 0 1px 3px rgba(15,15,15,.08); }
.btn.primary {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,15,15,.1);
}
.btn.primary:hover { background: var(--green-700); border-color: var(--green-700); box-shadow: 0 2px 6px rgba(15,15,15,.15); }
.btn .icon { width: 16px; height: 16px; }

.profile-body { padding: 56px 0 64px; }
.profile-body h2 {
  font-size: 34px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -.3px;
  margin: 36px 0 16px;
}
.profile-body h2:first-child { margin-top: 0; }
.profile-body .bio {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  max-width: 420px;
  margin: 0;
  text-align: justify;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 520px; }
.contact-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
}
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--green); }
.contact-list .lbl {
  font-size: 11px; text-transform: uppercase;
  font-weight: 700; color: var(--text-muted);
  letter-spacing: 1px;
  margin-inline-end: auto;
}

.timeline { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.timeline li {
  position: relative;
  padding-inline-start: 26px;
  padding-block: 14px;
  border-inline-start: 2px solid var(--border-strong);
}
.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: -7px; top: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--green);
}
.timeline .role { font-weight: 700; color: var(--ink); margin: 0 0 2px; font-size: 15px; }
.timeline .org { color: var(--text); margin: 0 0 2px; font-size: 14px; }
.timeline .when { color: var(--text-muted); font-size: 12px; margin: 0; }

.qr-block {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 36px;
  padding: 24px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 420px;
  text-align: center;
}
.qr-block .qr {
  width: 220px; height: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  display: grid; place-items: center;
  color: var(--text-muted); font-size: 11px;
  overflow: hidden;
}
.qr-block .qr svg { width: 100%; height: 100%; display: block; }
.qr-block .qr-cap { font-size: 12px; color: var(--text-muted); }
.qr-block .qr[role="button"] { cursor: zoom-in; transition: transform .15s ease; }
.qr-block .qr[role="button"]:hover { transform: scale(1.02); }
.qr-block .qr[role="button"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* QR enlargement modal */
.qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  cursor: zoom-out;
  animation: qr-modal-in .15s ease;
}
@keyframes qr-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.qr-modal-inner {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(92vw, 560px);
}
.qr-modal-inner svg {
  width: 100%;
  height: auto;
  max-width: 480px;
  max-height: 70vh;
  display: block;
}
.qr-modal-url {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
  text-align: center;
}

/* ===== Cookie consent banner (LP) ===== */
.lp-cookie {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  inset-inline-end: 20px;
  max-width: 520px;
  margin-inline: auto;
  background: #1d1d1d;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  padding: 20px 22px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s,
              background .25s ease, color .25s ease, border-color .25s ease;
}
.lp-cookie.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lp-cookie h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.lp-cookie p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
.lp-cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.lp-cookie button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lp-c-accept {
  background: #fff;
  color: #1d1d1d;
  border-color: #fff;
}
.lp-c-accept:hover { background: rgba(255,255,255,.85); }
.lp-c-reject {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.lp-c-reject:hover { background: rgba(255,255,255,.08); }

/* Over footer: invert to light (footer bg is dark, so banner switches to white) */
.lp-cookie.over-footer {
  background: #fff;
  border-color: rgba(15,15,15,.10);
  box-shadow: 0 8px 32px rgba(15,15,15,.12);
}
.lp-cookie.over-footer h3 { color: var(--ink); }
.lp-cookie.over-footer p { color: var(--text-muted); }
.lp-cookie.over-footer .lp-c-accept {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.lp-cookie.over-footer .lp-c-accept:hover { background: var(--green-700); }
.lp-cookie.over-footer .lp-c-reject {
  color: var(--ink);
  border-color: var(--border-strong);
}
.lp-cookie.over-footer .lp-c-reject:hover { background: var(--surface); }

@media (max-width: 520px) {
  .lp-cookie {
    bottom: 12px;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    padding: 16px 18px;
  }
  .lp-cookie-actions { justify-content: stretch; }
  .lp-cookie-actions button { flex: 1; }
}

/* Force LTR for phone numbers, emails, URLs in RTL context */
.ltr {
  unicode-bidi: isolate;
  direction: ltr;
  display: inline-block;
}

/* ===== Footer (dark, no wave) ===== */
.site-footer {
  position: relative;
  background: #141414;
  color: #fff;
  padding: 36px 28px 22px;
  margin-top: 64px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}
.site-footer::before {
  top: -20vw; left: -10vw;
  background: radial-gradient(circle, rgba(46,129,63,.6) 0%, rgba(46,129,63,0) 70%);
  animation: footer-orb-a 14s ease-in-out infinite alternate;
}
.site-footer::after {
  bottom: -25vw; right: -15vw;
  background: radial-gradient(circle, rgba(46,129,63,.5) 0%, rgba(46,129,63,0) 70%);
  animation: footer-orb-b 18s ease-in-out infinite alternate;
}
@keyframes footer-orb-a {
  0%   { transform: translate(0, 0) scale(.95); opacity: .45; }
  50%  { opacity: .6; }
  100% { transform: translate(40vw, 8vw) scale(1.15); opacity: .5; }
}
@keyframes footer-orb-b {
  0%   { transform: translate(0, 0) scale(1.05); opacity: .5; }
  50%  { opacity: .65; }
  100% { transform: translate(-40vw, -10vw) scale(.95); opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer::before,
  .site-footer::after { animation: none; }
}
.site-footer > .container { position: relative; z-index: 1; }

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.footer-brand {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  width: 100%;
  text-align: center;
}
.footer-brand .logo-row {
  display: inline-flex; align-items: center;
  /* filter: brightness(0) invert(1); */
}
.footer-brand .logo-row img { height: 96px; width: auto; display: block; }
.footer-brand .tag {
  max-width: 520px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  margin: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
  flex: 1;
}
@media (min-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) {
  .footer-cols {
    display: flex; flex-wrap: wrap;
    justify-content: flex-end;
    gap: 48px;
  }
  .footer-cols > div { min-width: 150px; }
}
@media (min-width: 1024px) {
  .footer-cols { gap: 64px; }
  .footer-cols > div { min-width: 180px; }
}
.footer-cols h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-cols li { transition: transform .2s ease; }
.footer-cols li:hover { transform: translateX(4px); }
html[dir="rtl"] .footer-cols li:hover { transform: translateX(-4px); }
.footer-cols a {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgb(156 163 175);
  font-size: 15px;
  transition: color .2s ease;
}
.footer-cols a:hover { color: #fff; }

.footer-brand .tag .legal {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .2px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 16px;
  margin-top: 18px;
}
.f-powered-content {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.f-powered-txt {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.f-powered-logo {
  display: inline-flex;
  align-items: center;
  transition: opacity .2s ease;
}
.f-powered-logo:hover { opacity: .8; }
.f-powered-logo img {
  height: 56px;
  width: auto;
  display: block;
}

/* ===== vCard download CTA card ===== */
.vcf-cta {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  margin: 24px 0 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  max-width: 760px;
  box-shadow: 0 10px 30px rgba(46,129,63,.20);
  flex-wrap: wrap;
}
.vcf-cta .vcf-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
}
.vcf-cta .vcf-icon svg { width: 26px; height: 26px; color: #fff; }
.vcf-cta .vcf-text { flex: 1; min-width: 200px; }
.vcf-cta .vcf-text h3 {
  margin: 0 0 4px; font-size: 17px; font-weight: 700;
  color: #fff;
}
.vcf-cta .vcf-text p {
  margin: 0; font-size: 13px; color: rgba(255,255,255,.85); font-weight: 400;
}
.vcf-cta .vcf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 14px; font-weight: 700;
  transition: all .2s ease;
}
.vcf-cta .vcf-btn:hover { background: rgba(255,255,255,.92); transform: translateY(-1px); }
.vcf-cta .vcf-btn svg { width: 16px; height: 16px; }

/* ===== Sitemap ===== */
.sitemap-list { padding: 24px 0 64px; }
.sitemap-list h2 {
  font-size: 14px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--green);
  font-weight: 700; margin: 28px 0 12px;
}
.sitemap-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sitemap-list a { color: var(--ink); font-weight: 500; }
.sitemap-list a:hover { color: var(--green); text-decoration: underline; }

/* ===== Bilingual section heading (PDF-style "English | عربي") ===== */
.section-head {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 980px;
  padding: 0 16px;
}
.section-head h2 {
  display: inline-block;
  position: relative;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  padding-bottom: 14px;
  letter-spacing: -.8px;
  line-height: 1.15;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.section-head h2 .alt {
  color: var(--text-muted);
  font-weight: 400;
}
.section-head .divider { display: none; }

/* ===== About block ===== */
.about-block {
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.about-block p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
}
.about-block p + p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* ===== Section icons (removed) ===== */
.section-head > .icon { display: none; }

/* ===== Glass card variant (c-suite directory) ===== */
.section-glass { background: #fff; padding-top: 64px; padding-bottom: 64px; }
.cards-glass .card {
  background: linear-gradient(135deg, rgba(245,245,245,.85) 0%, rgba(255,255,255,.65) 100%);
  border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.7);
}
.cards-glass .card::before {
  background: linear-gradient(90deg, var(--ink) 0%, var(--green) 50%, var(--ink) 100%);
  height: 3px;
}
.cards-glass .card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(250,250,250,.85) 100%);
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.cards-glass .card .eyebrow {
  color: var(--ink);
  letter-spacing: 1.6px;
}
.cards-glass .card .cta { color: var(--ink); }

/* ===== About highlights ===== */
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
@media (max-width: 767px) {
  .about-highlights { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.about-highlights li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(15,15,15,.03);
}
.about-highlights .hl-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.about-highlights .hl-icon svg { width: 18px; height: 18px; stroke-width: 1.8; }
.about-highlights li:nth-child(4n+1) .hl-icon { background: #ff8a33; }
.about-highlights li:nth-child(4n+2) .hl-icon { background: #ad6ded; }
.about-highlights li:nth-child(4n+3) .hl-icon { background: #2a9d99; }
.about-highlights li:nth-child(4n+4) .hl-icon { background: #ff83dd; }

/* ===== Profile download CTA ===== */
.profile-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 920px;
  margin: 28px auto 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a2a 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.profile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.profile-cta .cta-icon { display: none; }
.profile-cta .cta-text { width: 100%; }
.profile-cta .cta-text h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #fff; }
.profile-cta .cta-text p { margin: 0; font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.55; }
.profile-cta .cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px; font-weight: 700;
  transition: background .2s ease;
}
.profile-cta:hover .cta-btn { background: rgba(255,255,255,.92); }
.profile-cta .cta-btn svg { width: 16px; height: 16px; }

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 700px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }
.service {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  overflow: hidden;
}
.service-head {
  position: relative;
  padding: 28px 26px 18px;
  background: var(--bg);
  transition: background .25s ease;
}
.service-body {
  padding: 18px 26px 22px;
  background: linear-gradient(135deg, rgba(247, 246, 243, 0.78), rgba(239, 238, 234, 0.55));
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex: 1;
  transition: background .25s ease;
}
.service:hover .service-head { background: var(--surface); }
.service:hover .service-body {
  background: linear-gradient(135deg, rgba(239, 238, 234, 0.85), rgba(231, 229, 222, 0.65));
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
html[dir="rtl"] .service::before { transform-origin: right; }
.service:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.service:hover::before { transform: scaleX(1); }
.service .num {
  position: absolute;
  top: 16px;
  inset-inline-end: 18px;
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  font-family: var(--font-en);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  transition: all .25s ease;
}
.service:hover .num {
  background: var(--ink);
  color: #fff;
}
.service .icon {
  display: block;
  width: 40px; height: 40px;
  margin: 0 0 18px;
  padding: 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  stroke-width: 1.8;
}
.services-grid .service:nth-child(6n+1) .icon { background: #ff8a33; }
.services-grid .service:nth-child(6n+2) .icon { background: #ad6ded; }
.services-grid .service:nth-child(6n+3) .icon { background: #2a9d99; }
.services-grid .service:nth-child(6n+4) .icon { background: #ff83dd; }
.services-grid .service:nth-child(6n+5) .icon { background: #3b82f6; }
.services-grid .service:nth-child(6n+6) .icon { background: #f59e0b; }
.service h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  min-height: 2.8em;
  padding-inline-end: 40px;
  letter-spacing: -.2px;
}
.service-body p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}
.service p + p { margin-top: 6px; }

/* ===== Profile preview (Company Profile) ===== */
.profile-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 12px 0 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 420px;
  text-align: center;
}
.profile-preview > a:first-child { width: 100%; max-width: 220px; }
.profile-preview .preview-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  margin-inline: auto;
}
.profile-preview .preview-meta { width: 100%; }
.profile-preview .preview-meta h3 {
  margin: 0 0 6px;
  font-size: 18px; font-weight: 700;
  color: var(--ink);
}
.profile-preview .preview-meta p {
  margin: 0 0 14px;
  font-size: 14px; color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 767px) {
  .footer-loc { display: none; }
  .site-footer {
    padding: 28px 20px 18px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
  }
  .site-footer .footer-brand .logo-row img {
    height: 94px;
    max-width: 100%;
    width: auto;
  }
  .site-footer .footer-brand .tag { max-width: 100%; }
  .f-powered-logo img {
    height: 72px;
    max-width: 100%;
    width: auto;
  }
}

/* ===== Back to top button ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 18px rgba(15,15,15,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease, visibility .2s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top.over-footer {
  background: #fff;
  color: var(--ink);
  border-color: rgba(15,15,15,.10);
}
.back-to-top:hover { background: var(--green-700); }
.back-to-top.over-footer:hover { background: var(--surface); color: var(--ink); }
.back-to-top svg { display: block; }
@media (max-width: 640px) {
  .back-to-top { bottom: 18px; inset-inline-end: 18px; width: 40px; height: 40px; }
  .back-to-top svg { width: 20px; height: 20px; }
}
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .profile-hero { grid-template-columns: 1fr; gap: 18px; padding: 8px 0 4px; }
  .profile-hero .avatar-lg { width: 88px; height: 88px; font-size: 32px; }
  .profile-body { padding: 40px 0 56px; }
  .section { padding: 40px 0; }
  .hero-dark { padding: 110px 0 40px; }
}

/* ===== Mobile: center all body content (header excluded) ===== */
@media (max-width: 767px) {
  main { text-align: center; }
  main .hero-dark,
  main .section,
  main .profile-body,
  main .container { text-align: center; }
  main .card,
  main .service,
  main .about-block,
  main .about-block p,
  main .profile-cta { text-align: center; }
  main .about-highlights li {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    padding: 12px 10px;
    font-size: 13px;
  }
  main .about-block { padding: 22px 16px; }
  main .service h3 { padding-inline-end: 0; }
  main .service .icon,
  main .card .avatar,
  main img.avatar,
  main .section-head .icon { margin-inline: auto; }
  main .actions { justify-content: center; }
  main .crumbs { justify-content: center; }
  main .profile-hero,
  main .profile-hero > div { text-align: center; }
  main .profile-hero img.avatar-lg,
  main .profile-hero .avatar-lg { margin-inline: auto; }
  main .tags { justify-content: center; }
  main .card .cta { display: inline-flex; }
  main .cta-text { text-align: center; }
  main .profile-cta { flex-direction: column; }
  main .qr-block {
    margin-inline: auto;
    align-items: center;
  }
  main .profile-body { text-align: center; }
  main .profile-body .bio,
  main .timeline,
  main .timeline li { text-align: center; }
  .hero-home .hero-logo { max-height: 177px; }
  .footer-brand .footer-company-name { display: none; }
}
