/* === Iqfal Brand Tokens === */
:root {
  --indigo: #1B1F4B;
  --indigo-2: #0F1234;
  --indigo-3: #232a5e;
  --gold: #C9A875;
  --gold-soft: #d8bf94;
  --teal: #2C7A7B;
  --ivory: #F7F3EA;
  --ink: #1A1A1A;
  --stone: #6B7280;
  --stone-2: #9aa0ac;
  --line: rgba(201, 168, 117, 0.18);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.07);

  --font-en-head: 'Montserrat', 'Calibri', Arial, sans-serif;
  --font-en-body: 'Inter', 'Calibri', Arial, sans-serif;
  --font-ar-head: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-ar-body: 'Tajawal', 'Cairo', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-soft: 0 12px 40px -12px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px -10px rgba(201, 168, 117, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--indigo-2);
  color: var(--ivory);
  font-family: var(--font-en-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: var(--font-ar-body); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] .head { font-family: var(--font-ar-head); }

h1, h2, h3, h4, .head { font-family: var(--font-en-head); font-weight: 700; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

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

/* === Page background gradient === */
.page-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(44, 122, 123, 0.18), transparent 60%),
    radial-gradient(1100px 700px at 110% 10%, rgba(201, 168, 117, 0.12), transparent 55%),
    linear-gradient(180deg, #0c0f2a 0%, #11153a 35%, #0b0e29 100%);
}
.page-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.25;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.78 0 0 0 0 0.66 0 0 0 0 0.46 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* === Nav === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: linear-gradient(180deg, rgba(11, 14, 41, 0.75), rgba(11, 14, 41, 0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 14, 41, 0.88);
  padding: 12px 40px;
  border-bottom-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand .wordmark-ar { font-family: var(--font-ar-head); font-weight: 800; color: var(--ivory); font-size: 22px; line-height: 1; }
.nav-brand .wordmark-en { font-family: var(--font-en-head); font-weight: 600; letter-spacing: 0.16em; color: var(--ivory); font-size: 13px; }
.nav-brand .pivot {
  width: 26px; height: 2px; background: var(--gold); position: relative;
}
.nav-brand .pivot::after {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--stone-2);
  transition: color 0.2s ease; position: relative;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
  background: transparent;
}
.lang-toggle button {
  border: none; background: transparent; color: var(--stone-2);
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em;
}
.lang-toggle button.active { background: var(--gold); color: var(--indigo-2); }
.btn-primary {
  background: var(--gold); color: var(--indigo-2);
  padding: 12px 22px; border-radius: 999px; border: none;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(201, 168, 117, 0.55); background: var(--gold-soft); }
.btn-ghost {
  background: transparent; color: var(--ivory);
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 500; font-size: 14px; letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(201, 168, 117, 0.06); }

/* === Hero === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 140px 40px 80px;
  overflow: hidden;
}
.hero-loop {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1240px; width: 100%;
  display: grid; grid-template-columns: 1fr; gap: 32px;
  text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  justify-self: center;
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.eyebrow .line { width: 36px; height: 1px; background: var(--gold); opacity: 0.6; }

.hero h1 {
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.98; margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--gold); font-style: italic; font-weight: 600; }
.hero h1 .ar-line {
  display: block; font-family: var(--font-ar-head); font-weight: 800;
  font-size: clamp(36px, 5.5vw, 78px); margin-top: 12px; color: var(--ivory); opacity: 0.92;
  direction: rtl;
}
html[dir="rtl"] .hero h1 { font-family: var(--font-ar-head); }
html[dir="rtl"] .hero h1 .ar-line { font-family: var(--font-en-head); direction: ltr; }

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px); color: var(--stone-2);
  max-width: 640px; margin: 0 auto; line-height: 1.6;
  font-weight: 400;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-meta {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  margin-top: 48px; flex-wrap: wrap;
  color: var(--stone-2); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-meta span { display: flex; align-items: center; gap: 10px; }
.hero-meta .sep { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--stone-2); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-hint .bar { width: 1px; height: 36px; background: linear-gradient(180deg, transparent, var(--gold)); }

/* === Section base === */
.section {
  position: relative; padding: 120px 40px;
}
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 12px;
}
.section-head .label::before { content: ''; width: 24px; height: 1px; background: var(--gold); display: inline-block; }
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05; margin: 14px 0 0;
  max-width: 780px;
  font-weight: 700;
}
.section-head h2 em { color: var(--gold); font-style: italic; font-weight: 600; }
.section-head .lead { color: var(--stone-2); max-width: 420px; font-size: 16px; line-height: 1.6; }

/* === Services grid === */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: radial-gradient(380px 200px at var(--mx, 50%) var(--my, 0%), rgba(201, 168, 117, 0.18), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(201, 168, 117, 0.45); background: var(--glass-strong); }
.service-card:hover::before { opacity: 1; }

.service-card .num {
  font-family: var(--font-en-head); font-weight: 500;
  color: var(--gold); font-size: 12px; letter-spacing: 0.2em;
}
.service-card h3 {
  font-size: 24px; margin: 18px 0 12px; line-height: 1.15;
  font-weight: 600;
}
.service-card p {
  color: var(--stone-2); font-size: 14px; line-height: 1.55; margin: 0;
}
.service-card .tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px;
}
.service-card .tag {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--stone-2);
  letter-spacing: 0.04em;
}
.service-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 168, 117, 0.18), rgba(44, 122, 123, 0.12));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}

/* === Industries marquee === */
.industries {
  position: relative; overflow: hidden;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 14, 41, 0.4), rgba(11, 14, 41, 0));
}
.marquee {
  display: flex; gap: 60px; animation: scroll 40s linear infinite;
  width: max-content;
}
.marquee.reverse { animation-direction: reverse; animation-duration: 55s; }
.marquee-item {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-en-head); font-size: 28px; font-weight: 600; color: var(--ivory); opacity: 0.7;
  white-space: nowrap;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.marquee-item:hover { opacity: 1; color: var(--gold); }
.marquee-item .glyph { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === Approach (Loop) === */
.approach-loop {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
}
@media (max-width: 880px) { .approach-loop { grid-template-columns: 1fr; } }

.loop-vis {
  position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto;
}
.loop-vis svg { width: 100%; height: 100%; overflow: visible; }
.loop-phase {
  position: absolute; width: 130px; transform: translate(-50%, -50%);
  text-align: center;
}
.loop-phase .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--font-en-head); font-weight: 600; font-size: 14px;
  background: var(--indigo-2);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.loop-phase.active .num { background: var(--gold); color: var(--indigo-2); transform: scale(1.1); }
.loop-phase .name {
  display: block; margin-top: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}

.approach-list { list-style: none; padding: 0; margin: 0; }
.approach-list li {
  display: flex; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: padding 0.3s ease;
}
.approach-list li:last-child { border-bottom: none; }
.approach-list li:hover { padding-left: 8px; }
html[dir="rtl"] .approach-list li:hover { padding-left: 0; padding-right: 8px; }
.approach-list .step-num {
  font-family: var(--font-en-head); font-weight: 600; color: var(--gold); font-size: 14px;
  min-width: 32px;
}
.approach-list .step-body h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.approach-list .step-body p { margin: 0; color: var(--stone-2); font-size: 14px; line-height: 1.55; }
.approach-list li.active .step-body h4 { color: var(--gold); }

/* === Experience stats === */
.experience {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
@media (max-width: 880px) { .experience { grid-template-columns: 1fr; } }
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat {
  padding: 32px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--glass);
  backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.stat .num {
  font-family: var(--font-en-head); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 56px); color: var(--gold); line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.stat .suffix { font-size: 28px; color: var(--gold-soft); }
.stat .label { margin-top: 12px; font-size: 13px; color: var(--stone-2); letter-spacing: 0.06em; }

/* === Wizard === */
.wizard-section {
  padding: 120px 40px;
  position: relative;
}
.wizard-shell {
  max-width: 1100px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(27, 31, 75, 0.7), rgba(15, 18, 52, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft), 0 0 80px -20px rgba(201, 168, 117, 0.18);
  position: relative;
}
.wizard-shell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.wizard-head {
  padding: 36px 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.wizard-head h3 { font-size: 28px; margin: 0; font-weight: 600; }
.wizard-head .sub { color: var(--stone-2); font-size: 14px; margin-top: 4px; }
.wizard-progress {
  display: flex; align-items: center; gap: 10px;
}
.wizard-progress .pip { display: flex; align-items: center; gap: 8px; }
.wizard-progress .ring {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-family: var(--font-en-head); font-weight: 600;
  color: var(--stone-2);
  transition: all 0.3s ease;
}
.wizard-progress .pip.done .ring { background: var(--gold); border-color: var(--gold); color: var(--indigo-2); }
.wizard-progress .pip.active .ring { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 168, 117, 0.15); }
.wizard-progress .bar { width: 28px; height: 1px; background: var(--line); }
.wizard-progress .pip.done + .bar { background: var(--gold); }

.wizard-body { padding: 32px 48px 48px; min-height: 420px; position: relative; }
.wizard-step { animation: stepIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.wizard-step .q-eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.wizard-step .q-title { font-size: clamp(24px, 3vw, 36px); margin: 8px 0 4px; font-weight: 600; letter-spacing: -0.01em; }
.wizard-step .q-help { color: var(--stone-2); font-size: 14px; margin: 0 0 28px; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--glass);
  text-align: start;
  transition: all 0.25s ease;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--ivory);
}
.choice:hover { border-color: rgba(201, 168, 117, 0.55); background: rgba(201, 168, 117, 0.04); transform: translateY(-2px); }
.choice.selected { border-color: var(--gold); background: rgba(201, 168, 117, 0.1); box-shadow: 0 0 0 3px rgba(201, 168, 117, 0.12); }
.choice .icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(201, 168, 117, 0.12); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 4px; }
.choice .name { font-weight: 600; font-size: 15px; }
.choice .desc { font-size: 12px; color: var(--stone-2); line-height: 1.45; }
.choice .check {
  position: absolute; top: 14px; right: 14px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: transparent; background: transparent;
  transition: all 0.25s ease;
}
html[dir="rtl"] .choice .check { right: auto; left: 14px; }
.choice.selected .check { background: var(--gold); border-color: var(--gold); color: var(--indigo-2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone-2); font-weight: 600; }
.field input, .field textarea {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ivory);
  padding: 14px 16px;
  font-family: inherit; font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(0, 0, 0, 0.4); }
.field textarea { min-height: 120px; resize: vertical; }

.wizard-footer {
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}
.wizard-footer .hint { color: var(--stone-2); font-size: 12px; }

.wizard-done {
  text-align: center; padding: 40px 20px;
}
.wizard-done .icon-big {
  width: 96px; height: 96px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.wizard-done .icon-big svg { width: 100%; height: 100%; }
.wizard-done h3 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 14px; font-weight: 600; }
.wizard-done p { color: var(--stone-2); max-width: 540px; margin: 0 auto 28px; font-size: 16px; line-height: 1.6; }
.wizard-done .summary {
  margin: 30px auto 0; max-width: 620px; text-align: start;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px;
}
.wizard-done .summary h5 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.wizard-done .summary dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 10px 18px; }
.wizard-done .summary dt { color: var(--stone-2); font-size: 13px; }
.wizard-done .summary dd { margin: 0; font-size: 14px; color: var(--ivory); }

/* === Contact === */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
.contact-methods { display: grid; gap: 12px; }
.contact-method {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--glass);
  transition: all 0.25s ease;
  text-decoration: none; color: var(--ivory);
}
.contact-method:hover { border-color: var(--gold); transform: translateY(-2px); background: rgba(201, 168, 117, 0.06); }
.contact-method .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(201, 168, 117, 0.12); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.contact-method .label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-2); font-weight: 600; }
.contact-method .value { font-size: 16px; font-weight: 500; margin-top: 2px; }
.contact-method .arrow { margin-inline-start: auto; color: var(--gold); transition: transform 0.25s ease; }
.contact-method:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .contact-method:hover .arrow { transform: translateX(-4px); }

/* === Footer === */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 40px 36px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-col h5 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { font-size: 14px; color: var(--stone-2); }
.footer-col a:hover { color: var(--ivory); }
.footer-brand p { color: var(--stone-2); font-size: 14px; line-height: 1.6; margin: 14px 0 0; max-width: 320px; }
.footer-bottom {
  max-width: 1240px; margin: 36px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--stone-2); font-size: 12px; letter-spacing: 0.05em;
  flex-wrap: wrap; gap: 12px;
}

/* === Pulse / float animations === */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.4); opacity: 0.95; }
}
@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Floating glow dots */
.glow-dot {
  position: absolute; border-radius: 50%; background: var(--gold);
  filter: blur(0.5px);
  animation: pulse 3s ease-in-out infinite;
}

/* === RTL refinements === */
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .section-head { flex-direction: row-reverse; }

/* === Utility === */
.divider {
  height: 1px; background: var(--line);
  margin: 0; border: none;
}
