/* ── SHARED ACROSS ALL PAGES ── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@200;300;400;500;600&family=Noto+Sans+Arabic:wght@300;400;500;600&display=swap');

:root {
  --ink: #08090B;
  --ink2: #0E1014;
  --card: #13151A;
  --card2: #1A1D24;
  --gold: #C9A96E;
  --gold-dim: #8A6E3A;
  --gold-pale: rgba(201,169,110,0.08);
  --cream: #F0EBE1;
  --cream2: #D8D0C4;
  --mist: #7A7670;
  --border: rgba(255,255,255,0.06);
  --border-gold: rgba(201,169,110,0.18);
  --green-wa: #25D366;
  --font: 'Sora', sans-serif;
  --font-ar: 'Noto Sans Arabic', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.ar { direction: rtl; font-family: var(--font-ar); }
body.ar .logo-wordmark { font-family: var(--font); }

/* NOISE */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 1;
}

/* HIDE/SHOW LANG */
.ar-text { display: none; }
body.ar .ar-text { display: block; }
body.ar .en-text { display: none; }
.ar-inline { display: none; }
body.ar .ar-inline { display: inline; }
body.ar .en-inline { display: none; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  transition: all 0.3s;
}
nav.scrolled {
  background: rgba(8,9,11,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  width: auto;
}
.logo-wordmark {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.logo-wordmark span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--mist);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--gold);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.lang-btn:hover { background: var(--gold-pale); }

.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: var(--ink) !important; }

.mob-btn {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.22s;
  letter-spacing: 0.01em;
}
.btn-gold:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(201,169,110,0.25); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cream);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.22s;
  letter-spacing: 0.01em;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); }

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--border-gold);
  transition: all 0.22s;
}
.btn-outline-gold:hover { background: var(--gold-pale); }

/* ── SECTION LABELS ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.label::before { content: ''; width: 20px; height: 1px; background: var(--gold); }

/* ── HEADINGS ── */
.h-display {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 24px;
}
.h-display em { font-style: italic; font-weight: 300; color: var(--gold); }
.h-display strong { font-weight: 500; }

.h-section {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 18px;
}
.h-section em { font-style: italic; font-weight: 300; color: var(--gold); }

.body-lg { font-size: 16px; color: var(--mist); line-height: 1.8; font-weight: 300; }
.body-md { font-size: 14px; color: var(--mist); line-height: 1.75; font-weight: 300; }

/* ── LAYOUT ── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s;
}
.card:hover { border-color: var(--border-gold); }
.card-featured {
  background: var(--card2);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
}

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 200;
  width: 52px; height: 52px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: transform 0.3s;
  animation: waPulse 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
body.ar .wa-float { right: auto; left: 28px; }
@keyframes waPulse { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 13px; color: var(--mist); max-width: 280px; margin-top: 14px; line-height: 1.7; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream2); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--mist); text-decoration: none; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: var(--mist); flex-wrap: wrap; gap: 10px; }

/* ── MOBILE ── */
@media (max-width: 860px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .mob-btn { display: block; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
