/* =========================================================
   Lamasat — Design System
   Palette: Midnight Oud + Antique Gold + Bone Ivory + Copper
   ========================================================= */

:root {
  /* Colors */
  --oud: #0D1B2A;
  --oud-2: #112337;
  --oud-3: #17304A;
  --gold: #C9A961;
  --gold-2: #E6C987;
  --gold-3: #B8892F;
  --copper: #B85C38;
  --bone: #F5F1EA;
  --bone-2: #EAE2D4;
  --ink: #1B2534;
  --muted: #6F7A89;
  --line: rgba(201, 169, 97, 0.18);
  --line-dark: rgba(245, 241, 234, 0.10);

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radii */
  --r-1: 6px; --r-2: 10px; --r-3: 16px; --r-4: 22px; --r-pill: 999px;

  /* Type */
  --f-en-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-en-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --f-ar-body: "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", sans-serif;
  --f-ar-display: "Amiri", "Traditional Arabic", serif;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(13, 27, 42, 0.08), 0 2px 6px rgba(13, 27, 42, 0.06);
  --shadow-2: 0 4px 20px rgba(13, 27, 42, 0.10), 0 1px 3px rgba(13, 27, 42, 0.06);
  --shadow-3: 0 20px 50px rgba(13, 27, 42, 0.15);
  --shadow-gold: 0 10px 30px rgba(184, 137, 47, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-en-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease-out); }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--gold); color: var(--oud); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

/* ========== Typography ========== */
.h2 {
  font-family: var(--f-en-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw + 0.8rem, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--oud);
  margin: var(--s-4) 0 var(--s-4);
  font-style: italic;
}
html[dir="rtl"] .h2 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; line-height: 1.3; }

.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--dark { background: var(--oud); color: var(--bone); }
.section--dark .h2 { color: var(--bone); }
.section--dark .section__lede { color: rgba(245, 241, 234, 0.78); }
.section--dark .eyebrow { color: var(--gold-2); }

.section__head { max-width: 680px; margin-bottom: clamp(48px, 7vw, 80px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__lede {
  font-size: clamp(1.02rem, 1vw + 0.8rem, 1.18rem);
  color: var(--muted);
  max-width: 60ch;
}
.section__head--center .section__lede { margin-left: auto; margin-right: auto; }

.lede { font-size: 1.08rem; color: var(--muted); margin: 0 0 var(--s-4); }
.section--dark .lede { color: rgba(245, 241, 234, 0.75); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-en-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 500;
}
html[dir="rtl"] .eyebrow { font-family: var(--f-ar-body); letter-spacing: 0.04em; text-transform: none; }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .32s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: var(--oud);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(184, 137, 47, 0.32);
}
.btn--ghost {
  background: transparent;
  color: var(--oud);
  border-color: var(--oud);
}
.section--dark .btn--ghost { color: var(--bone); border-color: rgba(245, 241, 234, 0.35); }
.btn--ghost:hover { background: var(--oud); color: var(--bone); }
.section--dark .btn--ghost:hover { background: var(--bone); color: var(--oud); }
.btn--full { width: 100%; padding: 16px 26px; font-size: 1rem; }

/* ========== Preloader ========== */
.preloader {
  position: fixed; inset: 0;
  background: var(--oud);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .8s var(--ease-out), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark { width: 80px; height: 80px; }
.pl-ring { animation: spin 6s linear infinite; transform-origin: 60px 60px; }
.pl-letter-en { opacity: 1; animation: fade 2.4s ease-in-out infinite; }
.pl-letter-ar { opacity: 0; animation: fade-alt 2.4s ease-in-out infinite; }
html[dir="rtl"] .pl-letter-en { animation: fade-alt 2.4s ease-in-out infinite; }
html[dir="rtl"] .pl-letter-ar { animation: fade 2.4s ease-in-out infinite; }
.preloader__word {
  margin-top: var(--s-5);
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  color: var(--gold-2);
  opacity: 0.7;
}
.preloader__word .pl-word-ar { display: none; }
html[dir="rtl"] .preloader__word .pl-word-en { display: none; }
html[dir="rtl"] .preloader__word .pl-word-ar { display: inline; letter-spacing: 0.15em; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes fade-alt { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* ========== WhatsApp FAB ========== */
.wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform .3s var(--ease-out);
}
html[dir="rtl"] .wa { right: auto; left: 24px; }
.wa:hover { transform: scale(1.08); }
.wa::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: var(--s-4) 0;
  transition: all .38s var(--ease-out);
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(13, 27, 42, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); }
.logo__mark { width: 36px; height: 36px; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__en {
  font-family: var(--f-en-display);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-style: italic;
}
.logo__ar {
  font-family: var(--f-ar-display);
  font-size: 0.95rem;
  margin-top: 2px;
  color: var(--gold-2);
  opacity: 0.85;
}
html[dir="rtl"] .logo__en { font-size: 1rem; }
html[dir="rtl"] .logo__ar { font-size: 1.35rem; margin-top: 0; }

.nav__links {
  display: flex;
  gap: clamp(12px, 2vw, 32px);
  align-items: center;
}
.nav__links a {
  color: var(--bone);
  font-size: 0.92rem;
  font-weight: 450;
  position: relative;
  padding: 6px 2px;
}
html[dir="rtl"] .nav__links a { font-size: 0.98rem; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease-out);
}
html[dir="rtl"] .nav__links a::after { transform-origin: right; }
.nav__links a:hover { color: var(--gold-2); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; gap: var(--s-3); align-items: center; }

.lang {
  background: transparent;
  border: 1px solid rgba(245, 241, 234, 0.2);
  color: var(--bone);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all .2s var(--ease-out);
}
.lang:hover { border-color: var(--gold-2); color: var(--gold-2); }
.lang__divider { opacity: 0.35; }
.lang__other { opacity: 0.5; }

.burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(245, 241, 234, 0.2);
  color: var(--bone);
  width: 40px; height: 40px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--oud);
  padding: 96px var(--s-5) var(--s-5);
  display: none;
  flex-direction: column;
  gap: var(--s-4);
  z-index: 40;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: var(--bone);
  font-size: 1.4rem;
  font-family: var(--f-en-display);
  font-style: italic;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line-dark);
}
html[dir="rtl"] .mobile-menu a { font-family: var(--f-ar-display); font-style: normal; }
.mobile-menu .btn { margin-top: var(--s-4); justify-content: center; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 64px;
  display: flex;
  align-items: center;
  background: var(--oud);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 169, 97, 0.18), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(184, 92, 56, 0.15), transparent 50%),
    linear-gradient(180deg, #0A1725 0%, #0D1B2A 60%, #112337 100%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 18s infinite var(--ease-smooth);
}
.hero__orb--a {
  width: 480px; height: 480px;
  top: -140px; left: -120px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
}
.hero__orb--b {
  width: 520px; height: 520px;
  bottom: -160px; right: -160px;
  background: radial-gradient(circle, var(--copper) 0%, transparent 60%);
  animation-delay: -9s;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.25;
  mix-blend-mode: overlay;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: 100%;
}

.hero__title {
  font-family: var(--f-en-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw + 0.5rem, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: var(--s-5) 0 var(--s-5);
  color: var(--bone);
}
html[dir="rtl"] .hero__title { font-family: var(--f-ar-display); line-height: 1.18; font-weight: 700; font-size: clamp(2.3rem, 5vw + 0.5rem, 4.6rem); }

.hero__title-line { display: block; font-style: italic; }
html[dir="rtl"] .hero__title-line { font-style: normal; }
.hero__title-line--accent {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__lede {
  font-size: 1.1rem;
  color: rgba(245, 241, 234, 0.78);
  max-width: 58ch;
  margin: 0 0 var(--s-6);
}

.hero__cta {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-6);
}
.hero .btn--ghost {
  color: var(--bone);
  border-color: rgba(245, 241, 234, 0.4);
}
.hero .btn--ghost:hover { background: var(--bone); color: var(--oud); border-color: var(--bone); }

.hero__chips {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.chip {
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: rgba(245, 241, 234, 0.72);
  background: rgba(201, 169, 97, 0.04);
}

.hero__visual { display: flex; justify-content: center; }
.compass { width: min(460px, 90%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4)); }
.compass__rose { animation: rotate-slow 60s linear infinite; transform-origin: center; }
@keyframes rotate-slow { to { transform: rotate(360deg); } }
.compass__dots .dot {
  animation: blink 3.2s ease-in-out infinite;
  transform-origin: center;
}
.dot--1 { animation-delay: 0s; }
.dot--2 { animation-delay: 0.6s; }
.dot--3 { animation-delay: 1.2s; }
.dot--4 { animation-delay: 1.8s; }
.dot--5 { animation-delay: 2.4s; }
@keyframes blink {
  0%, 100% { opacity: 0.3; r: 2; }
  50% { opacity: 1; r: 3.5; }
}

.compass__word-ar { display: none; }
html[dir="rtl"] .compass__word-en { display: none; }
html[dir="rtl"] .compass__word-ar { display: block; }

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.5);
}
html[dir="rtl"] .hero__scroll { letter-spacing: 0.05em; text-transform: none; }
.hero__scroll svg { animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ========== Stats ========== */
.stats {
  background: linear-gradient(180deg, var(--oud) 0%, #0A1725 100%);
  padding: var(--s-8) 0;
  color: var(--bone);
  border-top: 1px solid var(--line-dark);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--f-en-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: baseline;
}
html[dir="rtl"] .stat__num { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; }
.stat__plus { font-size: 0.7em; opacity: 0.7; }
.stat__label {
  margin-top: var(--s-2);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
}
html[dir="rtl"] .stat__label { letter-spacing: 0.02em; text-transform: none; }

/* ========== About ========== */
.about { background: var(--bone); }
.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.value__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(201, 169, 97, 0.12);
  color: var(--gold-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
}
.value h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--oud);
}
html[dir="rtl"] .value h4 { font-size: 1.12rem; }
.value p { margin: 0; font-size: 0.94rem; color: var(--muted); }

.about__card {
  position: relative;
  background: linear-gradient(180deg, #FFFDF8 0%, var(--bone-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: var(--s-6);
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.card-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.25), transparent 70%);
  pointer-events: none;
}
html[dir="rtl"] .card-glow { right: auto; left: -20%; }

.about__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--oud);
  color: var(--gold-2);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
html[dir="rtl"] .about__badge { letter-spacing: 0.04em; text-transform: none; }
.about__quote {
  margin: var(--s-5) 0 var(--s-4);
  font-family: var(--f-en-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--oud);
}
html[dir="rtl"] .about__quote { font-family: var(--f-ar-display); font-style: normal; font-size: 1.45rem; line-height: 1.7; font-weight: 400; }
.about__sig-name { font-size: 0.88rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
html[dir="rtl"] .about__sig-name { letter-spacing: 0.02em; text-transform: none; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.about__stats > div { display: flex; flex-direction: column; }
.about__stats strong {
  font-family: var(--f-en-display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--gold-3);
  font-weight: 600;
  font-style: normal;
}
.about__stats span { font-size: 0.88rem; color: var(--ink); margin-top: 2px; }

/* ========== Services ========== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.service {
  position: relative;
  padding: var(--s-6);
  background: var(--oud-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-3);
  transition: all .4s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 169, 97, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.4);
  background: var(--oud-3);
}
.service:hover::before { opacity: 1; }
.service__num {
  font-family: var(--f-en-display);
  font-style: italic;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 0.6;
}
.service__icon {
  margin: var(--s-5) 0 var(--s-4);
  color: var(--gold-2);
}
.service h3 {
  font-family: var(--f-en-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 var(--s-3);
  color: var(--bone);
}
html[dir="rtl"] .service h3 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; font-size: 1.5rem; }
.service p { margin: 0; color: rgba(245, 241, 234, 0.7); font-size: 0.96rem; }

/* ========== Sectors ========== */
.sectors__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: var(--s-4);
}
.tile {
  position: relative;
  border-radius: var(--r-3);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform .5s var(--ease-out);
  isolation: isolate;
}
.tile--1 { grid-column: span 2; grid-row: span 2; }
.tile__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.1) 0%, rgba(13, 27, 42, 0.85) 100%);
  transition: background .4s var(--ease-out);
}
.tile__body {
  position: absolute;
  inset: 0;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--bone);
}
.tile h3 {
  font-family: var(--f-en-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 var(--s-2);
  letter-spacing: -0.01em;
}
html[dir="rtl"] .tile h3 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; }
.tile--1 h3 { font-size: 2.2rem; }
.tile p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 241, 234, 0.82);
  max-height: 0;
  opacity: 0;
  transition: max-height .5s var(--ease-out), opacity .4s var(--ease-out), margin .5s var(--ease-out);
  overflow: hidden;
}
.tile:hover { transform: scale(1.01); }
.tile:hover .tile__shade {
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.05) 0%, rgba(13, 27, 42, 0.92) 60%);
}
.tile:hover p { max-height: 120px; opacity: 1; margin-top: 6px; }

/* ========== Why ========== */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.why__list { display: flex; flex-direction: column; gap: var(--s-5); }
.why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-3);
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.04), transparent);
  transition: all .3s var(--ease-out);
}
.why__item:hover {
  border-color: rgba(201, 169, 97, 0.35);
  transform: translateX(6px);
}
html[dir="rtl"] .why__item:hover { transform: translateX(-6px); }
.why__num {
  font-family: var(--f-en-display);
  font-size: 2rem;
  color: var(--gold-2);
  line-height: 1;
}
.why__item h4 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--bone);
  font-family: var(--f-en-display);
  font-style: italic;
}
html[dir="rtl"] .why__item h4 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; }
.why__item p { margin: 0; color: rgba(245, 241, 234, 0.7); font-size: 0.94rem; }

/* ========== Process ========== */
.process__steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  position: relative;
}
.process__steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 10%; right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
  opacity: 0.4;
  z-index: 0;
}
.step {
  position: relative;
  padding: var(--s-5);
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  text-align: center;
  transition: all .3s var(--ease-out);
  z-index: 1;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--gold);
}
.step__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: var(--oud);
  font-family: var(--f-en-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-4);
  box-shadow: var(--shadow-gold);
}
.step h4 {
  margin: 0 0 6px;
  font-family: var(--f-en-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--oud);
}
html[dir="rtl"] .step h4 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ========== Quotes ========== */
.quotes {
  background: linear-gradient(180deg, var(--bone) 0%, #EFE9DC 100%);
}
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.quote {
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  margin: 0;
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.quote__mark {
  width: 32px; height: 32px;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: var(--s-3);
}
.quote blockquote {
  margin: 0 0 var(--s-4);
  font-family: var(--f-en-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--oud);
}
html[dir="rtl"] .quote blockquote { font-family: var(--f-ar-display); font-style: normal; font-size: 1.1rem; line-height: 1.8; font-weight: 400; }
.quote figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.quote figcaption strong { color: var(--oud); font-weight: 600; }

/* ========== Contact ========== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.contact__info dt {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 4px;
}
html[dir="rtl"] .contact__info dt { letter-spacing: 0.02em; text-transform: none; }
.contact__info dd { margin: 0; color: var(--bone); font-size: 0.98rem; }
.contact__info dd a { color: var(--bone); border-bottom: 1px solid var(--line); }
.contact__info dd a:hover { color: var(--gold-2); border-color: var(--gold-2); }

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  background: rgba(245, 241, 234, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-4);
  padding: var(--s-6);
  backdrop-filter: blur(12px);
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(245, 241, 234, 0.65);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  background: rgba(245, 241, 234, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-2);
  padding: 12px 14px;
  font: inherit;
  color: var(--bone);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  background: rgba(245, 241, 234, 0.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-2) 50%),
                    linear-gradient(135deg, var(--gold-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
html[dir="rtl"] .field select {
  background-position: 14px 50%, 20px 50%;
  background-image: linear-gradient(-45deg, transparent 50%, var(--gold-2) 50%),
                    linear-gradient(-135deg, var(--gold-2) 50%, transparent 50%);
  padding-right: 14px;
  padding-left: 36px;
}
.field select option { background: var(--oud); color: var(--bone); }

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.contact__note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(245, 241, 234, 0.55);
  text-align: center;
}

.contact__success {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--r-2);
  color: #8ee6ab;
  font-size: 0.92rem;
}
.contact__success.is-visible { display: flex; }

/* ========== Footer ========== */
.footer {
  background: #07121C;
  color: rgba(245, 241, 234, 0.7);
  padding: var(--s-8) 0 0;
  border-top: 1px solid var(--line-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-6);
  padding-bottom: var(--s-7);
}
.footer__brand p { margin: var(--s-3) 0 0; max-width: 32ch; font-size: 0.92rem; }
.footer__brand .logo__ar { color: var(--gold-2); }
.footer h5 {
  font-family: var(--f-en-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bone);
  margin: 0 0 var(--s-3);
  letter-spacing: 0.02em;
}
html[dir="rtl"] .footer h5 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; font-size: 1.1rem; }
.footer ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer a:hover { color: var(--gold-2); }
.footer__social { display: flex; gap: var(--s-3); margin-top: 4px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition: all .2s;
}
.footer__social a:hover { border-color: var(--gold-2); color: var(--gold-2); transform: translateY(-2px); }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding: var(--s-5) 0;
  font-size: 0.82rem;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.footer__oman { color: var(--gold-2); letter-spacing: 0.08em; }

/* ========== Reveal animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 360px; margin: 0 auto; }
  .about__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .sectors__mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .tile--1 { grid-column: span 2; grid-row: span 1; }
  .why__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); }
  .values { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .sectors__mosaic { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile--1 { grid-column: 1; grid-row: span 1; }
  .tile--1 h3 { font-size: 1.7rem; }
  .contact__form { grid-template-columns: 1fr; padding: var(--s-5); }
  .contact__info { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; gap: var(--s-3); }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .wa { bottom: 18px; right: 18px; width: 48px; height: 48px; }
  html[dir="rtl"] .wa { left: 18px; }
}

/* RTL helpers */
html[dir="rtl"] .hero__scroll {
  /* keep centered */
}
html[dir="rtl"] .nav__links a::after { transform-origin: right; }
html[dir="rtl"] .service__num { text-align: right; }

/* ========== Clients marquee ========== */
.clients {
  background: var(--bone);
  padding: var(--s-8) 0 var(--s-7);
  border-top: 1px solid var(--line);
}
.clients__eyebrow {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s-5);
}
html[dir="rtl"] .clients__eyebrow { letter-spacing: 0.04em; text-transform: none; }

.clients__marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__track {
  display: flex;
  gap: var(--s-8);
  width: max-content;
  animation: marquee 42s linear infinite;
  color: #6B7280;
}
html[dir="rtl"] .clients__track { animation-direction: reverse; }
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.client-logo {
  width: 170px;
  height: 44px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity .3s var(--ease-out), color .3s;
}
.client-logo:hover { opacity: 1; color: var(--gold-3); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== Catalog ========== */
.section--cream { background: linear-gradient(180deg, #FFFDF8 0%, var(--bone-2) 100%); }

.catalog__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-7);
}
.filter {
  background: #FFFDF8;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .2s var(--ease-out);
}
.filter:hover {
  border-color: var(--gold);
  color: var(--gold-3);
}
.filter.is-active {
  background: var(--oud);
  color: var(--gold-2);
  border-color: var(--oud);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.product {
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.product.is-hidden {
  display: none;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: rgba(201, 169, 97, 0.45);
}
.product__img {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.product__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13, 27, 42, 0.2) 100%);
}
.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--oud);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[dir="rtl"] .product__badge { left: auto; right: 12px; letter-spacing: 0.02em; text-transform: none; }
.product__badge--alt { background: var(--copper); color: var(--bone); }

.product__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product__tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 8px;
}
html[dir="rtl"] .product__tag { letter-spacing: 0.02em; text-transform: none; }
.product__body h3 {
  margin: 0 0 8px;
  font-family: var(--f-en-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.28rem;
  color: var(--oud);
  line-height: 1.3;
}
html[dir="rtl"] .product__body h3 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; font-size: 1.3rem; }
.product__body > p {
  margin: 0 0 var(--s-4);
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.product__specs {
  margin: 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.product__specs > div { display: flex; flex-direction: column; }
.product__specs dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 500;
}
html[dir="rtl"] .product__specs dt { letter-spacing: 0.02em; text-transform: none; }
.product__specs dd {
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: var(--ink);
}

.catalog__empty {
  text-align: center;
  padding: var(--s-7);
  color: var(--muted);
  font-style: italic;
}
.catalog__cta {
  text-align: center;
  margin-top: var(--s-7);
  font-size: 1rem;
  color: var(--muted);
}
.catalog__cta a {
  color: var(--gold-3);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
}
.catalog__cta a:hover { color: var(--oud); }

/* ========== Team ========== */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.member {
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-5);
  text-align: center;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(201, 169, 97, 0.4);
}
.member__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--s-4);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.15);
}
.member h3 {
  margin: 0 0 4px;
  font-family: var(--f-en-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--oud);
}
html[dir="rtl"] .member h3 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; font-size: 1.3rem; }
.member__role {
  margin: 0 0 var(--s-3);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
}
html[dir="rtl"] .member__role { letter-spacing: 0.02em; text-transform: none; }
.member__bio {
  margin: 0 0 var(--s-4);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.member__links {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
}
.member__link {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.member__link:hover { color: var(--gold-3); border-color: var(--gold); transform: translateY(-2px); }

.team__join {
  margin-top: var(--s-7);
  padding: var(--s-6);
  background: var(--oud);
  border-radius: var(--r-4);
  color: var(--bone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.team__join h4 {
  margin: 0 0 4px;
  font-family: var(--f-en-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--gold-2);
}
html[dir="rtl"] .team__join h4 { font-family: var(--f-ar-display); font-style: normal; font-weight: 700; }
.team__join p {
  margin: 0;
  color: rgba(245, 241, 234, 0.75);
  max-width: 58ch;
  font-size: 0.95rem;
}
.team__join .btn--ghost {
  color: var(--bone);
  border-color: rgba(245, 241, 234, 0.35);
}
.team__join .btn--ghost:hover { background: var(--gold-2); color: var(--oud); border-color: var(--gold-2); }

/* ========== Honeypot ========== */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ========== Form submit states ========== */
.btn--loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}
.btn--loading::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
html[dir="rtl"] .btn--loading::after { right: auto; left: 18px; }

.contact__error {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.4);
  border-radius: var(--r-2);
  color: #ff9b9b;
  font-size: 0.92rem;
}
.contact__error.is-visible { display: flex; }

.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #ff6b6b;
}

/* ========== Responsive overrides (new sections) ========== */
@media (max-width: 1024px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .team__join { flex-direction: column; align-items: flex-start; text-align: start; }
}

@media (max-width: 720px) {
  .catalog__grid { grid-template-columns: 1fr; }
  .catalog__filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .catalog__filters .filter { flex-shrink: 0; }
  .team__grid { grid-template-columns: 1fr; }
  .client-logo { width: 130px; }
  .clients__track { gap: var(--s-6); }
}
