:root {
  --bg: #070707;
  --surface: #0e0e0e;
  --surface-2: #141414;
  --gold: #d6b25e;
  --gold-soft: #f0d998;
  --text: #f5f2eb;
  --muted: #aaa59a;
  --line: rgba(214, 178, 94, 0.19);
  --max: 1180px;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(214,178,94,.11), transparent 27%),
    radial-gradient(circle at 10% 65%, rgba(214,178,94,.06), transparent 24%),
    var(--bg);
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  overflow-x: hidden;
}

body[dir="rtl"] { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
  opacity: .6;
}
.orb-one { width: 520px; height: 520px; top: -290px; right: -140px; }
.orb-two { width: 290px; height: 290px; bottom: -160px; left: -80px; }

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  color: #080808;
  font-weight: 900;
  font-size: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(214,178,94,.18);
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { letter-spacing: .18em; font-size: 16px; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .04em; }

.language-switch {
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.025);
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
}
.language-switch .active { color: var(--gold-soft); }
.language-switch .divider { padding: 0 7px; opacity: .35; }

.hero { padding: 78px 0 95px; }
.status-pill {
  width: fit-content;
  border: 1px solid var(--line);
  background: rgba(214,178,94,.05);
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(214,178,94,.10);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(214,178,94,0); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: balance; }
h1 {
  margin: 0;
  font-size: clamp(48px, 7.5vw, 102px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}
body[dir="rtl"] h1 { letter-spacing: -.03em; line-height: 1.05; }
h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  text-shadow: 0 0 45px rgba(214,178,94,.08);
}
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
  margin: 28px 0 0;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: #080808; }
.button.primary:hover { background: var(--gold-soft); }
.button.secondary { border: 1px solid rgba(255,255,255,.12); color: var(--text); }
.button.secondary:hover { border-color: var(--gold); background: rgba(214,178,94,.05); }

.visual-card {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.visual-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(214,178,94,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,178,94,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.monogram {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -54%);
  font-size: clamp(180px, 24vw, 310px);
  line-height: 1;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214,178,94,.7);
  text-shadow: 0 0 90px rgba(214,178,94,.12);
}
.visual-line {
  position: absolute;
  width: 150%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  left: -25%;
  top: 50%;
  transform: rotate(-18deg);
  box-shadow: 0 0 22px var(--gold);
}
.visual-meta {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
}

.services { padding: 90px 0; border-top: 1px solid rgba(255,255,255,.07); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}
.section-heading h2, .contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card {
  min-height: 300px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  background: rgba(214,178,94,.045);
}
.service-card .number { color: var(--gold); font-family: monospace; }
.service-card h3 { margin: auto 0 14px; font-size: 21px; line-height: 1.45; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }

.contact {
  margin-top: 35px;
  margin-bottom: 90px;
  padding: 52px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 20%, rgba(214,178,94,.12), transparent 30%),
    var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.contact-links { display: grid; gap: 12px; }
.contact-links a {
  text-decoration: none;
  padding: 19px 21px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
  transition: border-color .2s ease, transform .2s ease;
}
.contact-links a:hover { border-color: var(--gold); transform: translateX(-4px); }
body[dir="ltr"] .contact-links a:hover { transform: translateX(4px); }
.contact-links small { color: var(--muted); display: block; margin-bottom: 6px; }
.contact-links strong { color: var(--gold-soft); font-size: clamp(16px, 2vw, 21px); }

.site-footer {
  min-height: 88px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.en { display: none; }
body.lang-en { direction: ltr; }
body.lang-en .ar { display: none; }
body.lang-en .en { display: inline; }
body.lang-en .brand-copy small { display: block; }
body.lang-en .lang-ar { color: var(--muted); }
body.lang-en .lang-en { color: var(--gold-soft); }
body.lang-en .language-switch .lang-en { display: inline; }
body.lang-en .status-pill .en,
body.lang-en p .en,
body.lang-en h1 .en,
body.lang-en h2 .en,
body.lang-en h3 .en,
body.lang-en a .en,
body.lang-en small .en { display: inline; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .visual-card { min-height: 380px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 24px, var(--max)); }
  .site-header { min-height: 78px; }
  .brand-copy small { display: none; }
  .language-switch { padding: 9px 12px; font-size: 12px; }
  .hero { padding: 54px 0 72px; }
  h1 { font-size: clamp(45px, 14.5vw, 72px); }
  .lead { font-size: 16px; }
  .actions, .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .section-heading { display: block; }
  .contact { padding: 28px 20px; grid-template-columns: 1fr; }
  .site-footer { padding: 24px 0; display: block; text-align: center; }
  .visual-card { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
