/* ==========================================================
   SAFIR AL DARB  |  styles.css
   Premium Dark Corporate — Van Conversion
   ========================================================== */

/* ----------------------------------------------------------
   CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  /* Colour palette */
  --c-bg:        #080c13;
  --c-bg-2:      #0c1320;
  --c-bg-3:      #101826;
  --c-bg-card:   #0e1724;
  --c-border:    rgba(201, 168, 76, 0.11);
  --c-border-hv: rgba(201, 168, 76, 0.28);

  --c-gold:      #c9a84c;
  --c-gold-lt:   #d4b97a;
  --c-gold-dim:  rgba(201, 168, 76, 0.12);

  --c-white:     #f0ede8;
  --c-text:      #c0cad8;
  --c-muted:     #718096;
  --c-dim:       #3a4556;
  --c-ink:       #050810;
  --shadow-deep: 0 32px 80px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 24px 48px rgba(0, 0, 0, 0.35);

  /* Typography */
  --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-arabic:  'Cairo', 'Tahoma', 'Arial', sans-serif;

  /* Layout */
  --max-w:    1200px;
  --pad-x:    40px;
  --sec-pad:  120px;
  --head-h:   80px;

  /* Motion */
  --t-fast: 0.18s ease;
  --t-med:  0.35s ease;
  --t-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Arabic global font switch */
[dir="rtl"] body { font-family: var(--f-arabic); }
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3  { font-family: var(--f-arabic); }

img, svg { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ----------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Section skeleton */
.section { padding: var(--sec-pad) 0; position: relative; }
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-border), transparent);
}

/* Section labels / titles / descs */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.18;
  margin-bottom: 18px;
}

[dir="rtl"] .section-title { font-family: var(--f-arabic); line-height: 1.3; }

.section-desc {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.8;
  max-width: 580px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-gold);
  color: #06090f;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 1px;
  border: 1px solid var(--c-gold);
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
[dir="rtl"] .btn-primary { font-family: var(--f-arabic); letter-spacing: 0; }

.btn-primary:hover {
  background: var(--c-gold-lt);
  border-color: var(--c-gold-lt);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.28);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 1px;
  border: 1px solid rgba(240, 237, 232, 0.25);
  transition: border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
[dir="rtl"] .btn-outline { font-family: var(--f-arabic); letter-spacing: 0; }

.btn-outline:hover { border-color: var(--c-gold); color: var(--c-gold); }

.btn-large { padding: 16px 38px; font-size: 0.88rem; }

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 22px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.btn-card::after  { content: '→'; }
[dir="rtl"] .btn-card::after { content: '←'; }
.btn-card:hover   { color: var(--c-gold-lt); gap: 10px; }

/* ----------------------------------------------------------
   REVEAL ANIMATIONS
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--t-slow), transform 0.7s var(--t-slow);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger for grid children */
.solutions-grid .solution-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.solutions-grid .solution-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.platforms-list .platform-row.reveal:nth-child(2)  { transition-delay: 0.06s; }
.platforms-list .platform-row.reveal:nth-child(3)  { transition-delay: 0.12s; }
.platforms-list .platform-row.reveal:nth-child(4)  { transition-delay: 0.18s; }
.platforms-list .platform-row.reveal:nth-child(5)  { transition-delay: 0.24s; }
.why-grid .why-card.reveal:nth-child(2) { transition-delay: 0.07s; }
.why-grid .why-card.reveal:nth-child(3) { transition-delay: 0.14s; }
.why-grid .why-card.reveal:nth-child(4) { transition-delay: 0.21s; }
.why-grid .why-card.reveal:nth-child(5) { transition-delay: 0.28s; }
.why-grid .why-card.reveal:nth-child(6) { transition-delay: 0.35s; }

/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */
#header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--head-h);
  z-index: 1000;
  transition: background var(--t-med), border-color var(--t-med),
              backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(8, 12, 19, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo-main {
  font-family: var(--f-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.02em;
}
[dir="rtl"] .logo-main { font-family: var(--f-arabic); font-size: 1.18rem; }

.logo-sub {
  font-family: var(--f-arabic);
  font-size: 0.68rem;
  color: var(--c-gold);
  opacity: 0.8;
  letter-spacing: 0.03em;
}
[dir="rtl"] .logo-sub { font-family: var(--f-body); letter-spacing: 0.04em; }

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 4px;
}
.nav-links a {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--c-text);
  padding: 6px 13px;
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 13px; right: 13px;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
[dir="rtl"] .nav-links a::after { transform-origin: right; }
.nav-links a:hover,
.nav-links a.active { color: var(--c-white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.lang-toggle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-muted);
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  border-radius: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
  font-family: var(--f-body);
}
.lang-toggle:hover { color: var(--c-gold); border-color: var(--c-gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-white);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

/* Mobile nav */
.mobile-nav {
  position: absolute;
  top: var(--head-h);
  inset-inline: 0;
  background: rgba(8, 12, 19, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border);
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.mobile-nav.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li a {
  display: block;
  padding: 13px 32px;
  font-size: 0.9rem;
  color: var(--c-text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-nav li a:hover { color: var(--c-gold); }
[dir="rtl"] .mobile-nav li a:hover { padding-left: 32px; padding-right: 38px; }
[dir="ltr"] .mobile-nav li a:hover { padding-left: 38px; }
.mobile-nav-cta {
  padding: 16px 32px;
}
.mobile-nav-cta .btn-primary { width: 100%; justify-content: center; }

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--head-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 70% at 78% 42%, rgba(201, 168, 76, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 12% 88%, rgba(14, 22, 36, 0.95) 0%, transparent 50%),
    linear-gradient(168deg, #060a12 0%, #0c1422 45%, #080c14 100%);
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 35%, rgba(212, 185, 122, 0.04) 0%, transparent 42%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 8, 14, 0.92) 0%, rgba(5, 8, 14, 0.35) 42%, transparent 72%),
    linear-gradient(to top, rgba(5, 8, 14, 0.75) 0%, transparent 28%);
  pointer-events: none;
}

/* Split layout: copy + editorial photo */
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  min-height: calc(100vh - var(--head-h));
  padding-top: clamp(32px, 5vh, 56px);
  padding-bottom: clamp(48px, 8vh, 88px);
}

.hero-content {
  padding: 0;
  width: 100%;
}
.hero-text { max-width: 34rem; }

/* Hero photography */
.hero-media {
  margin: 0;
  position: relative;
  justify-self: stretch;
}
.hero-media-frame {
  position: relative;
  max-width: 520px;
  margin-inline-start: auto;
}
[dir="rtl"] .hero-media-frame { margin-inline-start: 0; margin-inline-end: auto; }

.hero-media-offset {
  position: absolute;
  inset: -14px -14px auto auto;
  width: 72%;
  height: 58%;
  border: 1px solid rgba(201, 168, 76, 0.22);
  pointer-events: none;
  z-index: 0;
}
[dir="rtl"] .hero-media-offset {
  inset: -14px auto auto -14px;
}

.hero-media-inner {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 640px);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(145deg, #0f1828 0%, #1a1510 50%, #0a0e16 100%);
}
.hero-media-inner.is-fallback .hero-photo { display: none; }

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-media:hover .hero-photo,
.hero-media:focus-within .hero-photo {
  transform: scale(1.08);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(5, 8, 14, 0.55) 0%, transparent 45%),
    linear-gradient(to top, rgba(5, 8, 14, 0.82) 0%, transparent 42%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 25%);
}
[dir="rtl"] .hero-photo-overlay {
  background:
    linear-gradient(-105deg, rgba(5, 8, 14, 0.55) 0%, transparent 45%),
    linear-gradient(to top, rgba(5, 8, 14, 0.82) 0%, transparent 42%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 25%);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 22px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--c-gold);
  flex-shrink: 0;
}
[dir="rtl"] .hero-label { flex-direction: row-reverse; }
[dir="rtl"] .hero-label::before { order: 1; }

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
[dir="rtl"] .hero-title { font-family: var(--f-arabic); line-height: 1.28; }

.hero-subtitle {
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 490px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 38px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
  color: var(--c-text);
}
.hero-bullets li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--c-gold);
  border-radius: 50%;
  flex-shrink: 0;
}
[dir="rtl"] .hero-bullets li { flex-direction: row-reverse; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50%       { opacity: 0.8;  transform: scaleY(1.12); }
}

/* ----------------------------------------------------------
   SOLUTIONS
   ---------------------------------------------------------- */
.section-solutions { background: var(--c-bg-2); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--c-bg-card);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.45);
}

.solution-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, #0c1524 0%, #1a1410 100%);
}
.solution-card-media.is-fallback .solution-photo { display: none; }

.solution-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.solution-card:hover .solution-photo { transform: scale(1.1); }

.solution-photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 8, 14, 0.82) 0%, rgba(5, 8, 14, 0.2) 48%, rgba(5, 8, 14, 0.45) 100%);
}
.solution-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(201, 168, 76, 0.06) 100%);
  pointer-events: none;
}

.card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-family: var(--f-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 10px;
}
[dir="rtl"] .card-title { font-family: var(--f-arabic); }

.card-text {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.card-bullets {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--c-text);
}
.card-bullets li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--c-gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
[dir="rtl"] .card-bullets li { flex-direction: row-reverse; }

/* ----------------------------------------------------------
   PLATFORMS — typographic list, no icons
   ---------------------------------------------------------- */
.section-platforms { background: var(--c-bg); }

.platforms-list {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.platform-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 28px 40px;
  padding: 26px 32px;
  background: var(--c-bg-card);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--t-med), padding-inline-start var(--t-fast);
}
.platform-row:last-child { border-bottom: none; }
.platform-row:hover {
  background: #111c2c;
}
[dir="rtl"] .platform-row {
  grid-template-columns: 1fr auto;
}

.platform-index {
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(201, 168, 76, 0.45);
  padding-top: 4px;
}
[dir="rtl"] .platform-index { font-family: var(--f-arabic); letter-spacing: 0.12em; }

.platform-copy { min-width: 0; }

.platform-name {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin-bottom: 4px;
}
[dir="rtl"] .platform-name { font-family: var(--f-arabic); }

.platform-meta {
  font-size: 0.78rem;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
[dir="rtl"] .platform-meta { letter-spacing: 0; }

.platform-row--other .platform-name { color: var(--c-text); }
.platform-row--other .platform-meta { opacity: 0.85; }

/* ----------------------------------------------------------
   WHY SAFIR AL DARB
   ---------------------------------------------------------- */
.section-why { background: var(--c-bg-2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--c-bg-card);
  padding: 36px 32px 40px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.why-card:hover {
  background: #101b2c;
  border-color: rgba(201, 168, 76, 0.15);
  transform: translateY(-3px);
}

.why-num {
  display: block;
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(201, 168, 76, 0.55);
  margin-bottom: 14px;
}
[dir="rtl"] .why-num { font-family: var(--f-arabic); letter-spacing: 0.14em; }

.why-card h3 {
  font-family: var(--f-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: 10px;
}
[dir="rtl"] .why-card h3 { font-family: var(--f-arabic); }

.why-card p {
  font-size: 0.84rem;
  color: var(--c-muted);
  line-height: 1.72;
}

/* ----------------------------------------------------------
   ABOUT
   ---------------------------------------------------------- */
.section-about { background: var(--c-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  margin: 0;
  position: relative;
}
.about-media-inner {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-deep);
  background: linear-gradient(160deg, #0c1524 0%, #15120e 100%);
}
.about-media-inner.is-fallback .about-photo { display: none; }

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 0.9s ease;
}
.about-visual:hover .about-photo { transform: scale(1.06); }

.about-photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 8, 14, 0.55) 0%, transparent 45%);
}

.about-text .section-title { margin-top: 6px; }
.about-text p {
  font-size: 0.97rem;
  color: var(--c-text);
  line-height: 1.82;
  margin-bottom: 32px;
}

.about-highlights { display: flex; flex-direction: column; gap: 14px; }
.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
}
[dir="rtl"] .highlight-item { flex-direction: row-reverse; }
.highlight-dot {
  width: 7px;
  height: 7px;
  background: var(--c-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   CUSTOM CTA
   ---------------------------------------------------------- */
.section-cta {
  background: var(--c-bg-2);
  padding: 110px 0;
  overflow: hidden;
}
.section-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.cta-accent-line {
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  margin: 0 auto 28px;
  opacity: 0.75;
  transform: rotate(45deg);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.35);
}
.cta-inner h2 {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 18px;
}
[dir="rtl"] .cta-inner h2 { font-family: var(--f-arabic); line-height: 1.32; }
.cta-inner p {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 34px;
}

/* ----------------------------------------------------------
   CONTACT
   ---------------------------------------------------------- */
.section-contact { background: var(--c-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 0.9rem;
  padding: 13px 17px;
  border-radius: 1px;
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea { font-family: var(--f-arabic); text-align: right; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-gold);
  background: #0f1c2c;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
  cursor: pointer;
}
[dir="rtl"] .form-group select {
  background-position: left 15px center;
  padding-right: 17px;
  padding-left: 38px;
}
.form-group select option { background: var(--c-bg-2); color: var(--c-white); }
.form-group textarea { resize: vertical; min-height: 124px; font-family: inherit; }

.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
[dir="rtl"] .form-footer { flex-direction: row-reverse; }

.form-feedback {
  font-size: 0.84rem;
  line-height: 1.5;
  min-height: 22px;
}
.form-feedback.success { color: #74c28a; }
.form-feedback.error   { color: #e07878; }

/* Contact info sidebar */
.contact-info {
  padding: 36px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
}
.contact-info h3 {
  font-family: var(--f-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}
[dir="rtl"] .contact-info h3 { font-family: var(--f-arabic); }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
[dir="rtl"] .info-item { flex-direction: row-reverse; text-align: right; }

.info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}
.info-icon svg { width: 100%; height: 100%; }

.info-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 3px;
}
.info-value {
  display: block;
  font-size: 0.88rem;
  color: var(--c-white);
}
a.info-value:hover { color: var(--c-gold); }

.contact-note {
  padding-top: 22px;
  border-top: 1px solid var(--c-border);
}
.contact-note p {
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.65;
  font-style: italic;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  background: #050810;
  border-top: 1px solid var(--c-border);
  padding: 56px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 28px;
}

.footer-logo {
  display: block;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 9px;
}
[dir="rtl"] .footer-logo { font-family: var(--f-arabic); }

.footer-brand p {
  font-size: 0.8rem;
  color: var(--c-muted);
  max-width: 200px;
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  font-size: 0.8rem;
  color: var(--c-muted);
  transition: color var(--t-fast);
  letter-spacing: 0.02em;
}
.footer-nav a:hover { color: var(--c-gold); }

.footer-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}
[dir="rtl"] .footer-contact-block { align-items: flex-start; }
.footer-contact-block a,
.footer-contact-block span {
  font-size: 0.82rem;
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.footer-contact-block a:hover { color: var(--c-gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.75rem; color: var(--c-dim); }

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-bottom-right a {
  font-size: 0.75rem;
  color: var(--c-dim);
  transition: color var(--t-fast);
}
.footer-bottom-right a:hover { color: var(--c-gold); }

/* ----------------------------------------------------------
   RTL LAYOUT ADJUSTMENTS
   ---------------------------------------------------------- */
[dir="rtl"] .section-header { text-align: right; }
[dir="rtl"] .section-header .section-desc { margin: 0; }
[dir="rtl"] .hero-layout { direction: rtl; }
[dir="rtl"] .about-grid  { direction: rtl; }
[dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .footer-grid  { direction: rtl; }
[dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .hero-cta { direction: rtl; }
[dir="rtl"] .platform-row { text-align: right; }

/* ----------------------------------------------------------
   RESPONSIVE — 1100px
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --sec-pad: 88px; --pad-x: 28px; }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 56px;
  }
  .hero-media-frame {
    max-width: 100%;
    margin-inline: auto;
  }
  .hero-media-offset { display: none; }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
    margin: 0 auto;
  }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { gap: 52px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact-block { display: none; }
}

/* ----------------------------------------------------------
   RESPONSIVE — 900px
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 520px; margin: 0 auto; width: 100%; }
}

/* ----------------------------------------------------------
   RESPONSIVE — 768px (tablet / mobile)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --sec-pad: 72px; --pad-x: 22px; --head-h: 66px; }

  /* Header */
  .nav-links                  { display: none; }
  .header-actions .btn-primary { display: none; }
  .hamburger                  { display: flex; }
  .mobile-nav                 { display: block; }

  /* Hero */
  .hero-title   { font-size: clamp(1.85rem, 7vw, 2.8rem); }
  .hero-cta     { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { width: 100%; justify-content: center; }
  .hero-media-inner { max-height: 56vh; }

  /* Solutions */
  .solutions-grid { max-width: none; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 28px 22px; }

  /* Platforms */
  .platform-row { padding: 22px 20px; gap: 20px 24px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-nav ul { flex-direction: column; gap: 10px; align-items: flex-start; }
  [dir="rtl"] .footer-nav ul { align-items: flex-end; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  [dir="rtl"] .footer-bottom { align-items: flex-end; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  [dir="rtl"] .form-footer { align-items: flex-end; }
}

/* ----------------------------------------------------------
   RESPONSIVE — 480px
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  :root { --pad-x: 18px; }

  .hero { min-height: 92vh; }
  .hero-title { font-size: 1.8rem; }

  .platform-row { grid-template-columns: 1fr; gap: 8px; }
  .platform-index { padding-top: 0; }

  .contact-info { padding: 24px 18px; }

  .section-cta { padding: 80px 0; }
  .cta-inner h2 { font-size: 1.6rem; }
}
