/* ---------- Thmanyah — خط ثمانية (self-hosted) ---------- */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('fonts/thmanyahsans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('fonts/thmanyahsans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Display';
  src: url('fonts/thmanyahserifdisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Display';
  src: url('fonts/thmanyahserifdisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2B1B3D;
  --ink-soft: rgba(43,27,61,0.64);
  --ink-faint: rgba(43,27,61,0.42);
  --line: rgba(43,27,61,0.12);
  --paper: #FFFFFF;
  --paper-soft: #F6F1FB;
  --bronze: #6E2FA0;
  --bronze-ink: #FFFFFF;
  --teal: #8A6D1E;
  --gold-on-dark: #D9B76A;
  --radius: 4px;
  --shadow: 0 24px 60px -32px rgba(27,34,48,0.35);
  --font-serif: 'Thmanyah Display', 'Iowan Old Style', Georgia, serif;
  --font-en: 'Thmanyah Sans', system-ui, sans-serif;
  --font-ar: 'Thmanyah Sans', 'Segoe UI', system-ui, sans-serif;
  --font: var(--font-en);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[dir="rtl"] body { --font: var(--font-ar); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, blockquote {
  font-family: var(--font-serif);
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] blockquote {
  font-family: var(--font-serif);
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 0.8s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}

.nav-links > a, .nav-item > a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links > a:hover, .nav-item > a:hover { color: var(--ink); }

.nav-item { position: relative; }
.nav-item .drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  flex-direction: column;
}
.nav-item:hover .drop, .nav-item:focus-within .drop, .nav-item.drop-open .drop { display: flex; }
.nav-parent { cursor: pointer; }
.nav-item .drop a {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-radius: 3px;
  white-space: nowrap;
}
.nav-item .drop a:hover { background: var(--paper-soft); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 15px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.lang-btn:hover { background: var(--paper-soft); border-color: var(--ink-faint); }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { width: 22px; height: 1.5px; background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s, color 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

.btn-primary { background: var(--bronze); color: var(--bronze-ink); border-color: var(--bronze); }
.btn-primary:hover { transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-lg { padding: 15px 28px; font-size: 0.95rem; }

/* ---------- Shared section chrome ---------- */
section { padding: 68px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

.eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--bronze); }
html[dir="rtl"] .eyebrow { font-family: var(--font-ar); letter-spacing: 0; }
html[dir="rtl"] .eyebrow::before { order: 2; }

.section-head { max-width: 640px; margin: 0 0 38px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.18; }
.section-sub { font-size: 1.02rem; color: var(--ink-soft); margin: 18px 0 0; max-width: 56ch; }

/* ---------- Intro + Founder (one block) ---------- */
.founder { padding: 76px 0 72px; }

/* the merged section: intro on top, founder below, one hairline between */
.hero.founder { padding: 84px 0 76px; }

/* the two data panels close the block, side by side */
.founder-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
  margin-top: 58px;
}
.founder-panels .founder-record { margin-top: 0; }
@media (max-width: 860px) { .founder-panels { grid-template-columns: 1fr; gap: 22px; } }

/* CTA closing the whole block */
.founder-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 58px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.founder-inner {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 64px;
  align-items: start;
}

/* portrait */
.founder-shot { position: relative; }
.founder-shot-block {
  position: absolute;
  inset-inline-start: -18px;
  bottom: -18px;
  width: 100%;
  height: 100%;
  background: var(--bronze);
  z-index: 0;
}
.founder-shot figure { position: relative; z-index: 1; margin: 0; background: var(--paper-soft); }
.founder-shot img { width: 100%; height: auto; aspect-ratio: 900 / 1125; object-fit: cover; }
.founder-shot figcaption {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  background: var(--ink);
  padding: 13px 16px 15px;
}
html[dir="rtl"] .founder-shot figcaption { font-family: var(--font-ar); letter-spacing: 0; font-size: 0.78rem; text-transform: none; }

/* credentials */
.founder-creds { position: relative; z-index: 2; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.founder-creds h4 {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin: 0 0 12px;
}
html[dir="rtl"] .founder-creds h4 { font-family: var(--font-ar); letter-spacing: 0; font-size: 0.82rem; text-transform: none; }
.founder-creds ul { list-style: none; margin: 0; padding: 0; }
.founder-creds li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.founder-creds li::before { content: "—"; color: var(--bronze); flex: none; }
.founder-creds li:last-child { border-bottom: none; }

.founder-byline {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.founder-byline h3 { font-size: 1.35rem; font-weight: 600; }
.founder-byline span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;
}
html[dir="rtl"] .founder-byline span { font-family: var(--font-ar); letter-spacing: 0; font-size: 0.84rem; text-transform: none; }

.founder-bio p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.97rem; max-width: 58ch; }
.founder-bio p:last-child { margin-bottom: 0; }
html[dir="rtl"] .founder-bio p { font-size: 1rem; line-height: 1.95; }

.founder-closing {
  margin: 28px 0 0;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--bronze);
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 500;
  color: var(--ink);
  max-width: 56ch;
}
html[dir="rtl"] .founder-closing { line-height: 1.95; }

/* founder track record */
.founder-record {
  margin-top: 40px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 28px 34px 30px;
}
.founder-record h4 {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin: 0 0 4px;
}
html[dir="rtl"] .founder-record h4 { font-family: var(--font-ar); letter-spacing: 0; font-size: 0.84rem; text-transform: none; }
.founder-record dl { margin: 0; }
.founder-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.founder-row:last-child { border-bottom: none; padding-bottom: 0; }
.founder-record dt { font-size: 0.95rem; color: var(--ink-soft); }
.founder-record dd {
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bronze);
  text-align: end;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .founder-record dd { font-family: var(--font-ar); }

@media (max-width: 960px) {
  /* single column: portrait, then the words, then credentials */
  .founder-inner { display: flex; flex-direction: column; align-items: stretch; gap: 34px; }
  .founder-aside { display: contents; }
  .founder-shot { order: 1; width: 100%; max-width: 320px; }
  .founder-body { order: 2; }
  .founder-creds { order: 3; margin-top: 0; }
  .founder-record { margin-top: 44px; padding: 22px 20px 24px; }
  .founder-row { flex-direction: column; align-items: flex-start; gap: 3px; }
  html[dir="rtl"] .founder-row { align-items: flex-end; }
}

@media (max-width: 600px) {
  .founder { padding: 54px 0 58px; }
  .founder-shot { max-width: 232px; }
  .founder-shot figcaption { font-size: 0.6rem; letter-spacing: 0.08em; padding: 11px 13px 12px; }
  html[dir="rtl"] .founder-shot figcaption { font-size: 0.72rem; }
  .founder-lead { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 84px 0 76px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.hero-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 52ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-tagline { font-size: 1.02rem; font-weight: 500; color: var(--ink); margin: 0; }
.hero-tagline span + span { color: var(--bronze); }

.hero-panel {
  background: var(--ink);
  color: var(--paper);
  padding: 30px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
}
.panel-title {
  font-family: var(--font-en);
  color: rgba(251,250,247,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  border-bottom: 1px solid rgba(251,250,247,0.18);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
html[dir="rtl"] .panel-title { font-family: var(--font-ar); letter-spacing: 0; }
.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(251,250,247,0.16);
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: rgba(251,250,247,0.82);
}
html[dir="rtl"] .panel-row { font-family: var(--font-ar); }
.panel-row:last-child { border-bottom: none; }
.panel-row .val { font-family: ui-monospace, monospace; color: var(--gold-on-dark); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

/* ---------- Activity ticker (top of body) ---------- */
.ticker {
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--gold-on-dark);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker-scroll 26s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .ticker-track { animation-name: ticker-scroll-rtl; }
@keyframes ticker-scroll-rtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.ticker-track span {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 10px 28px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
}
html[dir="rtl"] .ticker-track span { font-family: var(--font-ar); }
.ticker-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-on-dark);
  margin-inline-start: 28px;
}

/* ---------- VMV ---------- */
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.vmv-card { background: var(--paper); padding: 36px 30px; transition: background 0.2s; }
.vmv-card:hover { background: var(--paper-soft); }
.vmv-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 50% 6px;
  background: linear-gradient(135deg, var(--bronze), var(--gold-on-dark));
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  transform: rotate(-8deg);
  transition: transform 0.25s ease;
}
.vmv-card:hover .vmv-mark { transform: rotate(0deg) scale(1.06); }
.vmv-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.vmv-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .vmv-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 26px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -30px;
  inset-inline-end: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-on-dark), transparent 70%);
  opacity: 0.35;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--bronze);
  box-shadow: var(--shadow);
}
.service-card:hover::before { transform: scale(1.3); }
.service-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--ink);
  color: var(--gold-on-dark);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  transition: border-radius 0.3s ease;
}
.service-card:hover .service-mark { border-radius: 50%; }
.service-card h3 { position: relative; font-size: 1.12rem; margin-bottom: 10px; line-height: 1.3; }
.service-card p { position: relative; font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Mystery Shopper ---------- */
.mystery { background: var(--ink); color: var(--paper); }
.mystery-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mystery .eyebrow { color: var(--gold-on-dark); }
.mystery .eyebrow::before { background: var(--gold-on-dark); }
.mystery-copy h2 { color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.mystery-copy p { color: rgba(251,250,247,0.72); font-size: 1rem; margin: 0 0 22px; max-width: 48ch; }
.mystery-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mystery-list li {
  font-size: 0.92rem;
  color: rgba(251,250,247,0.85);
  padding-inline-start: 22px;
  position: relative;
}
.mystery-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 1px;
  background: var(--gold-on-dark);
}
html[dir="rtl"] .mystery-list li { padding-inline-start: 0; padding-inline-end: 22px; }
html[dir="rtl"] .mystery-list li::before { left: auto; right: 0; }
.mystery .btn-ghost { border-color: rgba(251,250,247,0.4); color: var(--paper); }
.mystery .btn-ghost:hover { background: var(--paper); color: var(--ink); }

.mystery-dash { background: rgba(251,250,247,0.04); border: 1px solid rgba(251,250,247,0.14); padding: 26px; }
.dash-head { font-size: 0.82rem; color: rgba(251,250,247,0.6); border-bottom: 1px solid rgba(251,250,247,0.14); padding-bottom: 14px; margin-bottom: 18px; }
.dash-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(251,250,247,0.14); margin-bottom: 22px; }
.dash-tile { background: rgba(16,25,43,0.4); padding: 16px 18px; }
.dash-num { font-family: var(--font-serif); font-size: 1.7rem; color: var(--gold-on-dark); font-variant-numeric: tabular-nums; }
.dash-lbl { font-size: 0.76rem; color: rgba(251,250,247,0.6); margin-top: 4px; }
.dash-bars { display: flex; flex-direction: column; gap: 14px; }
.bar-row span { display: block; font-size: 0.78rem; color: rgba(251,250,247,0.7); margin-bottom: 6px; }
.bar-row .bar { height: 5px; background: rgba(251,250,247,0.12); }
.bar-row .bar i { display: block; height: 100%; background: var(--gold-on-dark); }

@media (max-width: 860px) { .mystery-inner { grid-template-columns: 1fr; } }

/* ---------- Draya platform ---------- */
.assess-inner { display: grid; grid-template-columns: 1fr 0.68fr; gap: 60px; align-items: start; }
.assess-copy h2 { font-size: clamp(1.7rem, 2.9vw, 2.4rem); line-height: 1.2; margin-bottom: 20px; }
.assess-lead { font-size: 1.02rem; color: var(--ink-soft); margin: 0 0 26px; max-width: 56ch; }
html[dir="rtl"] .assess-lead { line-height: 1.9; }

.assess-list { list-style: none; margin: 0 0 32px; padding: 0; }
.assess-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.94rem; color: var(--ink);
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.assess-list li::before { content: "—"; color: var(--bronze); flex: none; }
.assess-list li:last-child { border-bottom: none; }

.assess-note { font-size: 0.86rem; color: var(--ink-faint); margin: 14px 0 0; }

.assess-panel { background: var(--ink); color: var(--paper); padding: 30px 32px 32px; }
.assess-panel h4 {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 600; margin: 0 0 6px;
}
html[dir="rtl"] .assess-panel h4 { font-family: var(--font-ar); letter-spacing: 0; font-size: 0.84rem; text-transform: none; }
.assess-panel dl { margin: 0; }
.assess-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.assess-row:last-child { border-bottom: none; padding-bottom: 0; }
.assess-panel dt { font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.assess-panel dd {
  margin: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.95rem; font-weight: 600; color: var(--gold-on-dark);
  text-align: end; font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .assess-panel dd { font-family: var(--font-ar); }

@media (max-width: 900px) {
  .assess-inner { grid-template-columns: 1fr; gap: 38px; }
  .assess-panel { padding: 24px 22px 26px; }
}

/* ---------- Process / Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stage { position: relative; padding-top: 30px; }
.stage::before {
  content: attr(data-n);
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--bronze);
  position: absolute;
  top: 0;
  left: 0;
}
html[dir="rtl"] .stage::before { left: auto; right: 0; }
.stage::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(to right, var(--bronze), transparent); }
html[dir="rtl"] .stage::after { background: linear-gradient(to left, var(--bronze), transparent); }
.stage h3 { font-size: 1.25rem; margin-top: 18px; }
.stage p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats-band { background: var(--paper-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.stat-big { font-family: var(--font-serif); font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--bronze); font-variant-numeric: tabular-nums; }
.stat-cap { font-size: 0.86rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Testimonial ---------- */
.testimonial blockquote { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.5; max-width: 840px; font-style: italic; margin: 0; }
html[dir="rtl"] .testimonial blockquote { font-style: normal; }
.testimonial-attr { margin: 22px 0 0; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Insights ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.insight-card { border-top: 1px solid var(--line); padding-top: 20px; }
.insight-tag {
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
html[dir="rtl"] .insight-tag { font-family: var(--font-ar); letter-spacing: 0; }
.insight-card h3 { font-size: 1.15rem; margin-top: 12px; line-height: 1.35; }
@media (max-width: 760px) { .insight-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ / Accordion ---------- */
.faq-inner { max-width: 780px; }
.accordion { display: flex; flex-direction: column; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  text-align: start;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 22px 30px 22px 0;
  cursor: pointer;
  position: relative;
}
html[dir="rtl"] .acc-trigger { padding: 22px 0 22px 30px; }
.acc-trigger::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 20px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--bronze);
  transition: transform 0.2s;
}
html[dir="rtl"] .acc-trigger::after { right: auto; left: 0; }
.acc-item.open .acc-trigger::after { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.acc-item.open .acc-panel { max-height: 240px; }
.acc-panel p { margin: 0 0 22px; font-size: 0.94rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- CTA band ---------- */
.cta-band { padding: 70px 0; background: var(--ink); color: var(--paper); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-inner h2 { color: var(--paper); font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 26ch; }
.cta-band .btn-primary { border-color: var(--bronze); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.contact-copy p { color: var(--ink-soft); font-size: 1rem; max-width: 40ch; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--bronze); outline-offset: 1px; background: var(--paper); }
.contact-form button { align-self: flex-start; }
html[dir="rtl"] .contact-form button { align-self: flex-end; }
.form-status { font-size: 0.9rem; font-weight: 600; color: var(--teal); margin: 0; }
@media (max-width: 760px) { .contact-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 84px 0 0;
}

.footer-watermark {
  position: absolute;
  top: -0.28em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 13.5vw;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
html[dir="rtl"] .footer-watermark { font-family: var(--font-ar); }

.footer-top {
  position: relative;
  text-align: center;
  padding-bottom: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin: 0 0 20px;
}
html[dir="rtl"] .footer-eyebrow { font-family: var(--font-ar); letter-spacing: 0; }
.footer-headline {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 6vw, 4.2rem);
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 34px;
  transition: color 0.2s;
}
.footer-headline:hover { color: var(--gold-on-dark); }
.footer-cta { border-color: var(--gold-on-dark); background: transparent; color: var(--gold-on-dark); }
.footer-cta:hover { background: var(--gold-on-dark); color: var(--ink); transform: translateY(-2px); }

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 44px;
}
.footer-brand .logo { display: block; margin-bottom: 12px; font-family: var(--font-serif); font-size: 1.3rem; color: var(--paper); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); max-width: 28ch; margin: 0; }
.footer-col h4 { font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 0 16px; font-weight: 700; }
html[dir="rtl"] .footer-col h4 { font-family: var(--font-ar); letter-spacing: 0; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.68); transition: color 0.15s; }
.footer-col a:hover { color: var(--gold-on-dark); }
.footer-bottom { position: relative; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Responsive nav ---------- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 18px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-item { position: static; }
  .nav-item > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-item .drop {
    display: flex;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 6px;
    min-width: 0;
  }
  .nav-item .drop a { padding: 10px 0; font-size: 0.86rem; }
  .menu-btn { display: flex; }
  .service-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .nav-actions .btn { display: none; }
}

/* ---------- Active nav state ---------- */
.nav-links > a[aria-current="page"],
.nav-item > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-links > a[aria-current="page"]::after,
.nav-item > a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 5px; background: var(--bronze);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 76px 0 58px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.14;
  margin: 12px 0 18px;
  max-width: 22ch;
}
html[dir="rtl"] .page-hero h1 { font-weight: 700; }
.page-hero-sub { font-size: 1.05rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
html[dir="rtl"] .page-hero-sub { line-height: 1.9; }

/* ---------- Delivery network / expert panel ---------- */
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 46px;
}
.network-card { background: var(--paper); padding: 32px 28px 30px; transition: background 0.2s; }
.network-card:hover { background: var(--paper-soft); }
.network-mark {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 700; color: var(--bronze);
}
.network-card h3 { font-size: 1.05rem; line-height: 1.32; margin: 14px 0 6px; }
.network-role { font-size: 0.84rem; font-weight: 500; color: var(--bronze); margin: 0 0 13px; }
.network-card > p:last-of-type { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
html[dir="rtl"] .network-card > p:last-of-type { line-height: 1.9; }
.network-photo {
  width: 74px; height: 74px; border-radius: 50%; object-fit: cover;
  display: block; margin-bottom: 14px; border: 1px solid var(--line);
}

.partners { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); text-align: center; }
.partners-label {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 24px;
}
html[dir="rtl"] .partners-label { letter-spacing: 0; text-transform: none; font-size: 0.94rem; }
.partners-list {
  list-style: none; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 16px 46px; margin: 0; padding: 0;
}
.partners-list li {
  font-family: var(--font-serif); font-size: 1.22rem; font-weight: 700;
  color: var(--ink-faint); letter-spacing: 0.02em;
}
.partners-logos li img { height: 42px; width: auto; filter: grayscale(1); opacity: 0.62; }

@media (max-width: 1000px) { .network-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .network-grid { grid-template-columns: 1fr; }
  .partners-list { gap: 12px 28px; } .partners-list li { font-size: 1.05rem; } }

/* ---------- Embedded tool ---------- */
.embed-section { background: var(--paper-soft); }
.embed-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.embed-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 8px 0 14px; }
.embed-head .section-sub { margin: 0; }
.embed-wrap {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.embed-frame {
  display: block; width: 100%; border: 0;
  height: min(1180px, 150vh); min-height: 700px;
}
.embed-note { text-align: center; font-size: 0.86rem; color: var(--ink-faint); margin: 18px 0 0; }
@media (max-width: 680px) { .embed-frame { min-height: 620px; height: 140vh; } }
.embed-fallback { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.embed-fallback:hover { color: var(--ink); }

@media (max-width: 900px) {
  .nav-links > a[aria-current="page"]::after,
  .nav-item > a[aria-current="page"]::after { display: none; }
  .nav-links > a[aria-current="page"],
  .nav-item > a[aria-current="page"] { color: var(--bronze); }
}
