/* ============================================================
   ALC LAW FIRM — Premium v3
   International Law Firm Level Design
   Navy #141B24 · Ivory #F6F2EA · Gold #B39B6E
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&family=Jost:wght@300;400;500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ink:     #0F1620;
  --navy:    #141B24;
  --navy-2:  #1A2332;
  --navy-3:  #1F2B3C;
  --gold:    #B39B6E;
  --gold-lt: #CBB585;
  --gold-dk: #94794B;
  --gold-12: rgba(179,155,110,.12);
  --gold-22: rgba(179,155,110,.22);
  --gold-40: rgba(179,155,110,.42);
  --ivory:   #F6F2EA;
  --ivory-2: #EDE8DC;
  --white:   #FFFFFF;
  --gray:    #8A8278;
  --gray-dk: #5C5650;
  --h-dark:  rgba(246,242,234,.10);
  --h-light: rgba(15,22,32,.10);
  --fd2:     rgba(246,242,234,.55);
  --fd3:     rgba(246,242,234,.38);

  --font-ar:      'Noto Naskh Arabic', 'Amiri', Georgia, serif;    /* body — classic Naskh */
  --font-display: 'Amiri', 'Noto Naskh Arabic', Georgia, serif;    /* Arabic headings — classic */
  --font-en:      'Playfair Display', Georgia, serif;              /* English display */
  --font-ui:      'Jost', system-ui, sans-serif;                   /* wordmark / numbers */

  --r-xs: 4px; --r-sm: 8px; --r-card: 14px; --r-pill: 999px;
  --ease:  cubic-bezier(.22,1,.36,1);
  --ease-i: cubic-bezier(.65,0,.35,1);
  --ease-s: cubic-bezier(.34,1.56,.64,1); /* spring */

  --s-xs:  0 1px 3px rgba(15,22,32,.12);
  --s-sm:  0 2px 8px rgba(15,22,32,.16), 0 1px 3px rgba(15,22,32,.10);
  --s-md:  0 8px 28px rgba(15,22,32,.22), 0 2px 8px rgba(15,22,32,.12);
  --s-lg:  0 16px 56px rgba(15,22,32,.38), 0 4px 16px rgba(15,22,32,.18);
  --s-xl:  0 32px 80px rgba(15,22,32,.48), 0 8px 24px rgba(15,22,32,.22);
  --s-gold: 0 8px 36px rgba(179,155,110,.24), 0 0 0 1px rgba(179,155,110,.18);
  --s-gold-lg: 0 20px 60px rgba(179,155,110,.20), 0 0 0 1px rgba(179,155,110,.15);

  /* Back-compat aliases (older inline styles reference these) */
  --warm: #F6F2EA;
  --navy-alt: #1A2332;
  --hairline: rgba(246,242,234,.12);
  --shadow-gold: 0 8px 36px rgba(179,155,110,.24), 0 0 0 1px rgba(179,155,110,.18);
  --shadow-luxury: 0 8px 28px rgba(15,22,32,.22), 0 2px 8px rgba(15,22,32,.12);
  --shadow-lifted: 0 16px 56px rgba(15,22,32,.38), 0 4px 16px rgba(15,22,32,.18);
  --r-button: 8px; --r-input: 8px;
}

/* ── Back-compat aliases ────────────────────────────────── */
:root {
  --hairline: var(--h-dark);
  --hairline-onblack: var(--h-dark);
  --hairline-l: var(--h-light);
  --navy-alt: var(--navy-3);
  --fg-on-dark-2: var(--fd2);
  --fg-on-dark: var(--ivory);
  --alc-gold: var(--gold);
  --alc-gold-40: var(--gold-40);
  --alc-gold-12: var(--gold-12);
  --alc-ink: var(--ink);
  --alc-navy: var(--navy);
  --alc-navy-2: var(--navy-2);
  --alc-warm-white: var(--ivory);
  --alc-text-gray: var(--gray);
  --shadow-luxury: var(--s-md);
  --shadow-lifted: var(--s-lg);
  --shadow-gold: var(--s-gold);
  --ease-out: var(--ease);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* prevent any horizontal scroll */
}
body {
  font-family: var(--font-ar);
  background: var(--navy);
  color: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}
/* Prevent any element from causing horizontal scroll */
section, header, footer, div.container, div.container-wide {
  max-width: 100%;
}
[data-lang="en"] body,
[data-lang="en"] p,
[data-lang="en"] span.t,
[data-lang="en"] a { font-family: var(--font-ui); }
[data-lang="en"] h1,
[data-lang="en"] h2,
[data-lang="en"] h3 { font-family: var(--font-en); }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
::selection { background: var(--gold-22); color: var(--ivory); }

/* Phone numbers — always LTR */
.tel { direction: ltr !important; unicode-bidi: embed !important; display: inline !important; }

/* Numbers always Latin */
.num, [data-target], .stat-num {
  font-family: var(--font-ui) !important;
  direction: ltr; unicode-bidi: isolate;
}

/* Language */
[data-lang="ar"] .en-only { display: none !important; }
[data-lang="en"] .ar-only { display: none !important; }

/* ── Layout ─────────────────────────────────────────────── */
.container  { max-width: 1280px; margin-inline: auto; padding-inline: 48px; }
.container-wide { max-width: 1440px; margin-inline: auto; padding-inline: 48px; }
.section    { padding-block: 112px; }
.section-sm { padding-block: 68px; }

/* Light section override */
.light-section {
  background: var(--ivory) !important;
  color: var(--navy) !important;
}
.light-section .title { color: var(--navy) !important; }
.light-section .lead { color: var(--gray-dk) !important; }
.light-section .eyebrow { color: var(--gold-dk) !important; }
.light-section .eyebrow::before { background: var(--gold-dk) !important; }

/* ── Scroll progress ──────────────────────────────────────── */
#scroll-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  width: 0%; background: linear-gradient(to right, var(--gold-dk), var(--gold), var(--gold-lt));
  z-index: 999; transition: width .06s linear;
}

/* ── Custom cursor glow ───────────────────────────────────── */
#cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(179,155,110,.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  opacity: 0;
}
body:hover #cursor-glow { opacity: 1; }

/* ── Typography ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12px; font-weight: 700;
  color: var(--gold);
  /* NO letter-spacing on Arabic — it breaks character ligatures */
}
/* Letter-spacing only for Latin/English contexts */
[dir="ltr"] .eyebrow,
[data-lang="en"] .eyebrow { letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content:''; width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.eyebrow.center::before { display: none; }
.light-section .eyebrow::before { background: var(--gold-dk); }

h2.title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700; line-height: 1.3;
  color: var(--ivory); margin-top: 16px;
  overflow-wrap: break-word; text-wrap: balance;
}
/* Letter-spacing only for English titles */
[data-lang="en"] h2.title { letter-spacing: -.01em; }
[data-lang="en"] h2.title { font-family: var(--font-en); font-weight: 600; }

p.lead {
  font-size: 17px; line-height: 1.75;
  color: var(--fd2); margin-top: 14px; max-width: 600px;
  overflow-wrap: break-word; word-break: normal;
}

.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.wide { max-width: 100%; }

/* Gold rule */
.gold-line {
  display: block; width: 48px; height: 1.5px;
  background: var(--gold); margin-bottom: 20px; border-radius: 2px;
}
.gold-line.center { margin-inline: auto; }
.gold-line.full { width: 100%; }

/* Horizontal marquee divider */
.marquee-divider {
  overflow: hidden; border-top: 1px solid var(--h-dark);
  border-bottom: 1px solid var(--h-dark); padding-block: 14px;
  background: var(--ink);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 28s linear infinite;
}
[dir="rtl"] .marquee-track { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-ar); font-size: 13px; font-weight: 500;
  color: var(--fd3); white-space: nowrap;
  display: flex; align-items: center; gap: 16px;
}
[dir="ltr"] .marquee-track span, [data-lang="en"] .marquee-track span {
  font-family: var(--font-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.marquee-track span::after { content:'·'; color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: var(--r-sm);
  font-family: var(--font-ar); font-size: 15px; font-weight: 700; line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              filter .18s, background .18s, color .18s, border-color .18s;
  white-space: nowrap; letter-spacing: .01em;
}
[data-lang="en"] .btn { font-family: var(--font-ui); }
.btn:active { transform: translateY(1px) scale(.99) !important; }

.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: var(--s-gold); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--gold); border-color: var(--gold-40); }
.btn-ghost:hover { background: var(--gold-12); border-color: var(--gold); box-shadow: var(--s-gold); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--ivory); border-color: var(--h-dark); }
.btn-outline:hover { border-color: var(--gold-40); color: var(--gold); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; color: var(--navy); border-color: rgba(15,22,32,.25); }
.btn-outline-dark:hover { border-color: var(--gold-dk); color: var(--gold-dk); }

/* ── Header ─────────────────────────────────────────────── */
#header {
  position: fixed; top: 0; inset-inline: 0; z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s;
}
#header.scrolled {
  background: rgba(14,19,28,.96);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom-color: var(--h-dark);
  box-shadow: 0 4px 32px rgba(15,22,32,.40);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.wordmark {
  font-family: var(--font-ui); font-weight: 600; font-size: 26px;
  letter-spacing: .16em; color: var(--gold); line-height: 1;
  transition: text-shadow .24s var(--ease), filter .24s;
}
.brand:hover .wordmark {
  text-shadow: 0 0 24px rgba(179,155,110,.45);
  filter: brightness(1.1);
}
.brand-sep { width: 1px; height: 26px; background: var(--h-dark); }
.brand-desc { font-size: 11.5px; font-weight: 500; color: var(--fd3); line-height: 1.38; max-width: 160px; overflow-wrap: break-word; word-break: keep-all; }

/* Nav */
nav.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
nav.main-nav a {
  position: relative; font-size: 14px; font-weight: 500;
  color: var(--fd2); padding: 9px 14px; border-radius: var(--r-sm);
  transition: color .18s, background .18s, text-shadow .18s;
}
nav.main-nav a::after {
  content: ''; position: absolute;
  bottom: 5px; inset-inline: 14px; height: 1px;
  background: var(--gold); transform: scaleX(0); border-radius: 2px;
  transition: transform .22s var(--ease), box-shadow .22s;
}
nav.main-nav a:hover {
  color: var(--gold); text-shadow: 0 0 18px rgba(179,155,110,.40);
}
nav.main-nav a:hover::after {
  transform: scaleX(1); box-shadow: 0 0 10px rgba(179,155,110,.50);
}
nav.main-nav a.active {
  color: var(--gold); background: rgba(179,155,110,.07);
  text-shadow: 0 0 14px rgba(179,155,110,.35);
}
nav.main-nav a.active::after { transform: scaleX(1); box-shadow: 0 0 8px rgba(179,155,110,.40); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-btn {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .10em; color: var(--fd3);
  border: 1px solid var(--h-dark); border-radius: var(--r-sm);
  padding: 7px 14px; transition: color .18s, border-color .18s;
}
.lang-btn:hover { color: var(--gold); border-color: var(--gold-40); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--ivory); border-radius: 2px; transition: transform .22s, opacity .22s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 88;
  background: rgba(10,14,22,.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 26px;
  opacity: 0; pointer-events: none; transition: opacity .28s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-size: 22px; font-weight: 700; color: var(--fd2);
  transition: color .16s, text-shadow .16s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); text-shadow: 0 0 20px rgba(179,155,110,.4); }
.mobile-nav-divider { width: 40px; height: 1px; background: var(--h-dark); }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--ink); padding-block: 170px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 70% at 85% 15%, rgba(179,155,110,.08), transparent 55%);
}
.page-hero-rule {
  position: absolute; bottom: 0; inset-inline: 0; height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--gold-40) 30%, var(--gold-40) 70%, transparent 100%);
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700; color: var(--ivory); line-height: 1.28;
  letter-spacing: -.005em; margin-top: 18px; position: relative; z-index: 2;
}
[data-lang="en"] .page-hero h1 { font-family: var(--font-en); font-style: italic; }
.page-hero .lead { position: relative; z-index: 2; }

/* ── 3D Card System ─────────────────────────────────────── */
.card-3d {
  background: var(--navy-2); border: 1px solid var(--h-dark);
  border-radius: var(--r-card);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card-3d::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(179,155,110,.04) 0%, transparent 60%);
  opacity: 0; transition: opacity .28s;
  pointer-events: none;
}
.card-3d:hover { box-shadow: var(--s-gold-lg); border-color: rgba(179,155,110,.22); }
.card-3d:hover::after { opacity: 1; }

/* Card gold sweep line */
.card-3d .card-sweep {
  position: absolute; inset-inline: 0; bottom: 0; height: 1.5px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .35s var(--ease);
  box-shadow: 0 0 12px rgba(179,155,110,.5); border-radius: 2px;
}
.card-3d:hover .card-sweep { transform: scaleX(1); }

/* Card icon */
.card-ic {
  width: 50px; height: 50px; border-radius: 11px;
  background: var(--gold-12); border: 1px solid var(--gold-40);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 20px;
  transition: box-shadow .24s, background .24s;
}
.card-3d:hover .card-ic { background: rgba(179,155,110,.18); box-shadow: 0 0 20px rgba(179,155,110,.22); }

/* Light card variant */
.card-light {
  background: var(--white); border-color: var(--h-light); color: var(--navy);
}
.card-light .card-ic { background: rgba(179,155,110,.10); }
.card-light h3 { color: var(--navy) !important; }
.card-light p { color: var(--gray-dk) !important; }
.card-light:hover { box-shadow: 0 20px 60px rgba(15,22,32,.15), var(--s-gold); }

/* ── Stats ──────────────────────────────────────────────── */
.stat-num {
  font-family: var(--font-ui) !important;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 600; color: var(--gold); line-height: 1; display: block;
  direction: ltr; unicode-bidi: embed;
}
.stat-label { font-size: 13.5px; color: var(--fd3); margin-top: 10px; display: block; }
.light-section .stat-num { color: var(--gold-dk); }
.light-section .stat-label { color: var(--gray); }

/* ── Trust strip ────────────────────────────────────────── */
.trust-strip { border-top: 1px solid var(--h-dark); background: rgba(10,14,22,.8); backdrop-filter: blur(8px); }
.trust-inner { display: flex; align-items: center; gap: 40px; padding-block: 22px; flex-wrap: wrap; }
.trust-item { font-size: 13px; color: var(--fd3); display: flex; align-items: center; gap: 7px; }
.trust-item b { font-family: var(--font-ui) !important; color: var(--gold); font-size: 15px; font-weight: 600; unicode-bidi: isolate; direction: ltr; display: inline-block; }
.trust-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-40); flex-shrink: 0; }

/* ── TextRotate ─────────────────────────────────────────── */
.tr-wrap {
  display: inline-flex;
  flex-wrap: nowrap;        /* keep Arabic word on one line */
  align-items: center;
  overflow: visible;        /* NEVER clip — clipping breaks Arabic descenders */
  vertical-align: baseline;
  white-space: nowrap;      /* Arabic: whole word stays together */
}
.tr-char {
  display: inline;          /* inline preserves Arabic shaping context */
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .5s var(--ease), transform .55s var(--ease);
  will-change: transform, opacity;
}
.tr-char.tr-in { opacity: 1; transform: translateY(0); }
.tr-char.tr-out {
  opacity: 0 !important;
  transform: translateY(-50%) !important;
  transition: opacity .24s var(--ease-i), transform .3s var(--ease-i) !important;
}
/* English chars: can use inline-block for individual stagger */
[dir="ltr"] .tr-char,
[data-lang="en"] .tr-char {
  display: inline-block;
}

/* ── WhatsApp FAB ───────────────────────────────────────── */
#wa-fab {
  position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 88;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.38);
  transition: transform .22s var(--ease-s), box-shadow .22s;
}
#wa-fab:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 8px 36px rgba(37,211,102,.55); }
#wa-fab svg { width: 26px; height: 26px; }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; } .d2 { transition-delay: .13s; }
.d3 { transition-delay: .20s; } .d4 { transition-delay: .27s; }
.d5 { transition-delay: .34s; } .d6 { transition-delay: .41s; }

/* Reveal from sides */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

/* ── Modal ──────────────────────────────────────────────── */
@keyframes popIn { from { opacity:0; transform:translateY(14px) scale(.96); } to { opacity:1; transform:none; } }
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,12,20,.78); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity .22s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--navy-2); border: 1px solid var(--h-dark); border-radius: 16px;
  width: min(540px,100%); box-shadow: var(--s-xl);
  animation: popIn .3s var(--ease); max-height: 90svh; overflow-y: auto;
}
.modal-head { background: var(--ink); padding: 24px 30px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--h-dark); }
.modal-head h3 { font-size: 20px; font-weight: 700; color: var(--ivory); margin-top: 6px; }
[data-lang="en"] .modal-head h3 { font-family: var(--font-en); }
.modal-close { color: var(--fd3); transition: color .16s; padding: 2px; }
.modal-close:hover { color: var(--gold); }
.modal-body { padding: 28px 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fd3); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px;
  padding: 12px 15px; border: 1.5px solid var(--h-dark);
  border-radius: var(--r-sm); background: rgba(255,255,255,.03);
  color: var(--ivory); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(246,242,234,.22); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(179,155,110,.14); }
.field select option { background: var(--navy-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-success { text-align: center; padding: 36px 20px; display: none; }
.modal-success.show { display: block; }
.modal-form.hide { display: none; }
.success-ic { width: 60px; height: 60px; border-radius: 50%; background: rgba(47,125,91,.15); color: #3CAB7A; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.modal-success p { font-size: 15px; line-height: 1.65; color: var(--fd2); margin-bottom: 22px; }

/* ── Newsletter ─────────────────────────────────────────── */
.nl-section { background: var(--navy-3); border-top: 1px solid var(--h-dark); padding-block: 80px; }
.nl-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.nl-box { background: rgba(255,255,255,.03); border: 1px solid var(--h-dark); border-radius: var(--r-card); padding: 38px; }
.nl-box h3 { font-size: 22px; font-weight: 700; color: var(--ivory); margin-bottom: 6px; }
[data-lang="en"] .nl-box h3 { font-family: var(--font-en); }
.nl-box .sub { font-size: 13.5px; color: var(--fd3); margin-bottom: 24px; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--h-dark); color: var(--fd3); cursor: pointer; transition: all .18s; user-select: none; }
.chip:hover { border-color: var(--gold-40); color: var(--gold); }
.chip.on { background: var(--gold-12); border-color: var(--gold-40); color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────── */
#footer { background: var(--ink); border-top: 1px solid var(--h-dark); padding-top: 80px; padding-bottom: 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 52px; padding-bottom: 56px; border-bottom: 1px solid var(--h-dark);
}
.footer-wm { font-family: var(--font-ui); font-weight: 600; font-size: 32px; letter-spacing: .15em; color: var(--gold); }
.footer-tag { font-size: 12px; font-weight: 600; color: var(--gold-lt); letter-spacing: .05em; margin-top: 8px; }
.footer-blurb { font-size: 13px; line-height: 1.68; color: var(--fd3); margin-top: 16px; max-width: 270px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: var(--gold); margin-bottom: 20px; }
[dir="ltr"] .footer-col h4, [data-lang="en"] .footer-col h4 { letter-spacing: .18em; text-transform: uppercase; }
.footer-col a, .footer-col .ci {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--fd3); margin-bottom: 11px;
  transition: color .16s; line-height: 1.45;
}
.footer-col a:hover { color: var(--gold); }
.footer-col .ci { cursor: default; }
.footer-col a svg, .footer-col .ci svg { flex-shrink: 0; margin-top: 2px; }

/* Map embed */
.map-wrap {
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--h-dark); margin-bottom: 20px;
  position: relative;
}
.map-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(179,155,110,.12);
  border-radius: var(--r-card);
}
.map-wrap iframe {
  width: 100%; height: 200px; display: block;
  filter: grayscale(.65) brightness(.80) contrast(1.08) sepia(.12);
  transition: filter .3s;
}
.map-wrap:hover iframe { filter: grayscale(.3) brightness(.9) contrast(1.05) sepia(.06); }

/* ── Designed Map Card (lightweight, premium) ───────────── */
.map-card {
  position: relative; display: block;
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--h-dark); margin-bottom: 20px;
  background: var(--ink); height: 200px;
  transition: border-color .28s, box-shadow .28s, transform .28s var(--ease);
}
.map-card.tall { height: 300px; }
.map-card:hover { border-color: var(--gold-40); box-shadow: var(--s-gold); transform: translateY(-2px); }
/* Topographic gold grid */
.map-card::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(179,155,110,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179,155,110,.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, black 30%, transparent 85%);
}
/* Diagonal "roads" */
.map-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(125deg, transparent 46%, rgba(179,155,110,.16) 47%, rgba(179,155,110,.16) 48%, transparent 49%),
    linear-gradient(60deg, transparent 62%, rgba(179,155,110,.12) 63%, rgba(179,155,110,.12) 64%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(179,155,110,.06), transparent 70%);
}
.map-pin {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center;
}
.map-pin-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 6px rgba(179,155,110,.18), 0 0 20px rgba(179,155,110,.5);
  position: relative;
}
.map-pin-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--gold); animation: pinPulse 2.4s var(--ease) infinite;
}
@keyframes pinPulse { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(3.4);opacity:0} }
.map-card-label {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 4;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(15,22,32,.96), rgba(15,22,32,.0));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.map-card-addr { font-size: 12.5px; color: var(--fd2); display: flex; align-items: center; gap: 7px; }
.map-card-addr svg { color: var(--gold); flex-shrink: 0; }
.map-card-go {
  font-size: 11.5px; font-weight: 700; color: var(--gold); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .2s;
}
.map-card:hover .map-card-go { gap: 9px; }

/* Social */
.socials { display: flex; gap: 9px; margin-top: 20px; }
.soc-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--h-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--fd3); transition: color .18s, border-color .18s, box-shadow .18s, transform .18s var(--ease-s);
}
.soc-btn:hover { color: var(--gold); border-color: var(--gold-40); box-shadow: 0 0 16px rgba(179,155,110,.16); transform: translateY(-2px); }

/* Footer base */
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.footer-base span { font-size: 12px; color: rgba(246,242,234,.28); }
.footer-base .en-mark { font-family: var(--font-ui); letter-spacing: .14em; color: rgba(179,155,110,.28); }

/* ── Back-compat: legacy footer classes (articles/contact) ── */
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 52px; padding-bottom: 56px; border-bottom: 1px solid var(--h-dark); }
.footer-wordmark { font-family: var(--font-ui); font-weight: 600; font-size: 32px; letter-spacing: .15em; color: var(--gold); }
.footer-tagline { font-size: 12px; font-weight: 600; color: var(--gold-lt); letter-spacing: .05em; margin-top: 8px; }
.social-row { display: flex; gap: 9px; margin-top: 20px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--h-dark); display: flex; align-items: center; justify-content: center; color: var(--fd3); transition: color .18s, border-color .18s, box-shadow .18s, transform .18s var(--ease-s); }
.social-btn:hover { color: var(--gold); border-color: var(--gold-40); box-shadow: 0 0 16px rgba(179,155,110,.16); transform: translateY(-2px); }
.contact-item { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--fd3); margin-bottom: 11px; transition: color .18s; line-height: 1.45; }
.contact-item:hover { color: var(--gold); }
.contact-item svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; } }

/* ── CTA Section ────────────────────────────────────────── */
.cta-band { background: var(--ink); position: relative; overflow: hidden; padding-block: 110px; }
.cta-band::before {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(179,155,110,.07), transparent 65%);
  pointer-events: none;
}
.cta-band::after {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-40) 25%, var(--gold-40) 75%, transparent);
}
.cta-band-inner { text-align: center; position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ── Trusted-by logos strip ─────────────────────────────── */
.trusted { background: var(--ink); border-top: 1px solid var(--h-dark); border-bottom: 1px solid var(--h-dark); padding-block: 44px; }
.trusted-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--fd3); margin-bottom: 30px; }
.trusted-row { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trusted-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--fd2); opacity: .6; transition: opacity .24s, color .24s;
  font-family: var(--font-ui); font-weight: 600; font-size: 19px; letter-spacing: .04em;
}
.trusted-logo svg { color: var(--gold); opacity: .85; }
.trusted-logo:hover { opacity: 1; color: var(--ivory); }

/* ── Rankings / Awards badges ───────────────────────────── */
.rankings { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.rank-badge {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--gold-40); border-radius: var(--r-card);
  padding: 16px 24px; background: var(--gold-12);
  transition: box-shadow .24s, transform .24s var(--ease);
}
.rank-badge:hover { box-shadow: var(--s-gold); transform: translateY(-3px); }
.rank-badge .rb-ic { color: var(--gold); flex-shrink: 0; }
.rank-badge .rb-t { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--ivory); }
.rank-badge .rb-s { font-size: 12px; color: var(--fd3); margin-top: 2px; }
.light-section .rank-badge .rb-t { color: var(--navy); }
.light-section .rank-badge .rb-s { color: var(--gray); }

/* ── Vision 2030 ────────────────────────────────────────── */
.vision { background: var(--ink); position: relative; overflow: hidden; }
.vision::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 85% 30%, rgba(179,155,110,.08), transparent 55%);
}
.vision-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.vision-badge {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--gold-40); border-radius: var(--r-pill);
  padding: 10px 22px; margin-bottom: 26px; background: var(--gold-12);
}
.vision-badge .v-num { font-family: var(--font-ui); font-weight: 700; font-size: 22px; color: var(--gold); }
.vision-badge .v-tx { font-size: 13px; font-weight: 600; color: var(--ivory); }
.vision-points { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.vision-point { display: flex; gap: 14px; align-items: flex-start; }
.vision-point .vp-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-12); border: 1px solid var(--gold-40); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.vision-point .vp-t { font-size: 16px; font-weight: 700; color: var(--ivory); margin-bottom: 3px; }
.vision-point .vp-d { font-size: 14px; line-height: 1.6; color: var(--fd2); }
.vision-visual {
  aspect-ratio: 4/5; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(160deg, var(--navy-2), var(--ink));
  border: 1px solid var(--gold-40); position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--s-gold-lg);
}
.vision-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(179,155,110,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(179,155,110,.08) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.vision-visual .vv-num { font-family: var(--font-ui); font-weight: 700; font-size: clamp(80px,12vw,150px); color: var(--gold); line-height: 1; position: relative; z-index: 2; letter-spacing: .02em; }
.vision-visual .vv-sub { position: absolute; bottom: 32px; font-size: 14px; font-weight: 600; color: var(--fd2); letter-spacing: .1em; z-index: 2; }

/* ── Testimonials ───────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi-card {
  background: var(--white); border: 1px solid var(--h-light); border-radius: var(--r-card);
  padding: 34px 30px; position: relative;
  transition: transform .26s var(--ease), box-shadow .26s, border-color .26s;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: 0 20px 56px rgba(15,22,32,.12), var(--s-gold); border-color: rgba(179,155,110,.3); }
.testi-quote-mark { font-family: 'Playfair Display', Georgia, serif; font-size: 60px; line-height: .8; color: var(--gold); opacity: .3; }
.testi-text { font-family: var(--font-display); font-size: 16px; line-height: 1.8; color: var(--navy); margin: 8px 0 22px; }
.testi-foot { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--h-light); }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-12); border: 1px solid var(--gold-40); display: flex; align-items: center; justify-content: center; color: var(--gold-dk); flex-shrink: 0; }
.testi-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.testi-role { font-size: 12.5px; color: var(--gray); margin-top: 2px; }
.testi-stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 14px; }

/* ── Clients logo wall (3D) ─────────────────────────────── */
.clients-wall {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  perspective: 1400px;
}
.client-tile {
  background: var(--white); border: 1px solid var(--h-light);
  border-radius: var(--r-card); height: 116px;
  display: flex; align-items: center; justify-content: center;
  padding: 22px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  transform-style: preserve-3d; will-change: transform;
}
.client-tile::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(179,155,110,.10), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.client-tile:hover { box-shadow: 0 24px 60px rgba(15,22,32,.18), 0 0 0 1px var(--gold-40); border-color: var(--gold-40); }
.client-tile:hover::after { opacity: 1; }
.client-tile img { max-width: 100%; max-height: 64px; object-fit: contain; }
/* Fallback styled name (shown until real logo image is added) */
.client-name {
  text-align: center; line-height: 1.3;
}
.client-name .cn-en { font-family: var(--font-ui); font-weight: 700; font-size: 17px; letter-spacing: .02em; color: var(--navy); display: block; }
.client-name .cn-ar { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--gold-dk); display: block; margin-top: 3px; }
.clients-note { text-align: center; margin-top: 18px; font-size: 11.5px; color: var(--gray); }
@media (max-width: 900px) { .clients-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .clients-wall { grid-template-columns: repeat(2, 1fr); } .client-tile { height: 96px; } }

@media (max-width: 1024px) {
  .vision-grid { grid-template-columns: 1fr; gap: 40px; }
  .vision-visual { aspect-ratio: 16/10; max-height: 320px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .testi-grid { grid-template-columns: 1fr; }
  .trusted-row { gap: 32px; }
  .rankings { gap: 12px; }
}

/* ── Animated floating 3D ───────────────────────────────── */
@keyframes float3D {
  0%,100% { transform: perspective(1100px) rotateY(-10deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(1100px) rotateY(-10deg) rotateX(4deg) translateY(-14px); }
}
@keyframes float3D-ltr {
  0%,100% { transform: perspective(1100px) rotateY(10deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(1100px) rotateY(10deg) rotateX(4deg) translateY(-14px); }
}
[dir="rtl"] .img-3d { animation: float3D 7s ease-in-out infinite; }
[dir="ltr"] .img-3d { animation: float3D-ltr 7s ease-in-out infinite; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .container, .container-wide { padding-inline: 22px; }
  .section { padding-block: 72px; }
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .brand-sep, .brand-desc { display: none; }
  .header-actions .btn { display: none; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}
