/* =========================================================
   LUMINA VIESTA GROUP — Premium Dark & Gold Theme
   ========================================================= */

:root {
  --bg-base: #050b1a;
  --bg-elevated: #0a1530;
  --bg-card: #0d1838;
  --gold: #c9a24b;
  --gold-light: #e8c97a;
  --gold-glow: rgba(201, 162, 75, 0.35);
  --text-main: #f5f0e6;
  --text-soft: #b9c2d9;
  --text-muted: #7c8aa8;
  --line: rgba(201, 162, 75, 0.18);

  --font-display: "Aref Ruqaa", "Tajawal", serif;
  --font-body: "Tajawal", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  direction: rtl;
  overflow-x: hidden;
  position: relative;
}

/* ---------- خلفية محيطية / نسيج عام ---------- */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 85% 8%, rgba(201, 162, 75, 0.09), transparent 60%),
    radial-gradient(ellipse 50% 35% at 10% 90%, rgba(201, 162, 75, 0.07), transparent 60%),
    linear-gradient(180deg, #050b1a 0%, #061029 50%, #050b1a 100%);
}

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

.content-wrap {
  position: relative;
  z-index: 2;
}

::selection {
  background: var(--gold);
  color: #0a1124;
}

/* ---------- خطوط موجية ذهبية (مأخوذة من هوية الشركة) ---------- */
.wave-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

/* ---------- شريط التنقل الزجاجي ---------- */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(5, 11, 26, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(5, 11, 26, 0.85);
  padding-block: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.nav-logo svg {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  list-style: none;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding-block: 4px;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--gold-light);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: rgba(201, 162, 75, 0.08);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.35s var(--ease);
}

.nav-cta:hover {
  background: var(--gold);
  color: #0a1124;
  box-shadow: 0 0 24px var(--gold-glow);
}

.mobile-only-cta {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: all 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- قسم البطل (Hero) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px clamp(20px, 6vw, 80px) 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(201, 162, 75, 0.06);
  margin-bottom: 28px;
  opacity: 0;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  line-height: 1.25;
  color: var(--text-main);
  opacity: 0;
}

.hero h1 .accent {
  color: var(--gold-light);
  background: linear-gradient(90deg, var(--gold), var(--gold-light) 50%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  margin-top: 26px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.95;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: #0a1124;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 10px 30px -8px var(--gold-glow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -8px var(--gold-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.35s var(--ease);
}
.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 75, 0.06);
}

.hero-stats {
  display: flex;
  gap: clamp(22px, 4vw, 48px);
  margin-top: 64px;
  opacity: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--gold-light);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- شعار/قوس البطل ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 420px;
  opacity: 0;
}

.arch-frame {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 3/4;
  border: 1px solid var(--gold);
  border-bottom: none;
  border-radius: 200px 200px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 50px;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(201, 162, 75, 0.12), transparent 70%);
}

.arch-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 200px 200px 0 0;
  box-shadow: inset 0 0 60px rgba(201, 162, 75, 0.15);
}

.arch-frame svg {
  width: 55%;
  height: auto;
  filter: drop-shadow(0 0 22px var(--gold-glow));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 1px;
  opacity: 0;
}

.scroll-cue .line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  inset-inline: 0;
  height: 50%;
  background: var(--gold-light);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ---------- العناوين العامة للأقسام ---------- */
.section {
  position: relative;
  padding: 130px clamp(20px, 6vw, 80px);
  max-width: 1320px;
  margin-inline: auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 70px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow-label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 18px;
  position: relative;
  padding-inline-start: 28px;
}
.eyebrow-label::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 1px;
  background: var(--gold-light);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.35;
  color: var(--text-main);
}

.section-head p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ---------- نبذة عن الشركة ---------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-glow {
  position: relative;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(140deg, var(--gold), transparent 40%, transparent 60%, var(--gold));
}

.about-card-inner {
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4/5;
  position: relative;
}

.about-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-card-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,26,0) 40%, rgba(5,11,26,0.85) 100%);
}

.about-feature-badge {
  position: absolute;
  bottom: -28px;
  inset-inline-start: -28px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
}

.about-feature-badge .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-light);
}

.about-feature-badge .label {
  font-size: 0.82rem;
  color: var(--text-soft);
  max-width: 130px;
  line-height: 1.5;
}

.about-list {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.about-list .icon-arch {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-top: 2px;
}

.about-tagline {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
  line-height: 1.7;
}

/* ---------- الرسالة والرؤية ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 38px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.mv-card::before {
  content: "";
  position: absolute;
  top: -60px;
  inset-inline-end: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  opacity: 0.5;
}

.mv-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 50% 50% 10px 10px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.mv-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mv-card li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.98rem;
}

.mv-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--gold-light);
}

/* ---------- بطاقات الخدمات ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,0.7);
}

.service-card .sc-index {
  position: absolute;
  top: 24px;
  inset-inline-end: 28px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(201, 162, 75, 0.14);
  transition: color 0.45s var(--ease);
}
.service-card:hover .sc-index {
  color: rgba(201, 162, 75, 0.3);
}

.sc-icon {
  width: 58px;
  height: 58px;
  border-radius: 50% 50% 12px 12px;
  background: linear-gradient(135deg, rgba(201,162,75,0.18), transparent);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 26px;
  color: var(--gold-light);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.85;
}

.service-card.wide {
  grid-column: span 1;
}

/* ---------- لماذا لومينا فيستا ---------- */
.why-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-orb {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(201,162,75,0.16), var(--bg-card) 70%);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-orb svg {
  width: 42%;
  filter: drop-shadow(0 0 18px var(--gold-glow));
}

.why-orb::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  animation: spin 40s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.why-item:hover {
  border-color: var(--gold);
  background: var(--bg-elevated);
}

.why-item .wi-icon {
  font-size: 1.3rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.why-item span:last-child {
  font-size: 0.98rem;
  color: var(--text-main);
}

/* ---------- القيم ---------- */
.values-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.value-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 1.02rem;
  color: var(--text-main);
  transition: all 0.4s var(--ease);
  cursor: default;
}

.value-pill:hover {
  border-color: var(--gold);
  background: linear-gradient(120deg, rgba(201,162,75,0.12), transparent);
  transform: translateY(-4px);
}

.value-pill .vp-icon {
  font-size: 1.3rem;
}

/* ---------- الأهداف ---------- */
.goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.goals-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gold);
}

.goals-img img {
  width: 100%;
  display: block;
  aspect-ratio: 16/11;
  object-fit: cover;
}

.goals-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,11,26,0.7), transparent 50%);
}

.goals-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.goal-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.goal-row:first-child { padding-top: 0; }

.goal-row .gr-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  width: 36px;
  flex-shrink: 0;
}

.goal-row p {
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ---------- نداء ختامي (CTA) ---------- */
.cta-section {
  position: relative;
  margin: 0 clamp(20px, 6vw, 80px) 130px;
  border-radius: 32px;
  overflow: hidden;
  padding: 90px clamp(24px, 6vw, 70px);
  text-align: center;
  border: 1px solid var(--gold);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(201,162,75,0.15), transparent 60%),
    var(--bg-elevated);
}

.cta-section .arch-mark {
  width: 60px;
  margin-inline: auto 18px;
  display: block;
  filter: drop-shadow(0 0 14px var(--gold-glow));
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.4;
}

.cta-section p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- التذييل / الاتصال ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 70px clamp(20px, 6vw, 80px) 36px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  max-width: 1320px;
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-brand svg {
  height: 36px;
  width: auto;
}

.footer-col p.desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}
.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-contact .fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.35s var(--ease);
  font-size: 1rem;
}

.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1320px;
  margin: 60px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- تأثيرات الظهور عند التمرير ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- زر العودة للأعلى ---------- */
.back-top {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6);
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--gold);
  color: #0a1124;
}

/* =========================================================
   الاستجابة للأجهزة (Responsive)
   ========================================================= */

@media (max-width: 1024px) {
  .hero-grid,
  .about,
  .why-section,
  .goals {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; min-height: 320px; }
  .about-visual { order: -1; }
  .goals-img { order: -1; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    flex-direction: column;
    top: 0;
    inset-inline-end: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(8, 14, 32, 0.97);
    backdrop-filter: blur(20px);
    padding: 110px 36px 40px;
    gap: 30px;
    border-inline-start: 1px solid var(--line);
    align-items: flex-start;
    font-size: 1.1rem;
    z-index: 105;
  }

  .mobile-only-cta {
    display: list-item;
    width: 100%;
  }
  .mobile-only-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .mv-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-wrap: wrap; row-gap: 24px; }
  .about-feature-badge {
    position: static;
    margin-top: -40px;
    margin-inline: auto;
    width: fit-content;
  }
  .section { padding-block: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
