/* ==============================================================
   الملاعبة من مطير — ملف التنسيق المشترك
   النهج: Mobile-first (الجوال أولًا ثم الشاشات الأكبر)
   الفهرس:
     0) المتغيرات والألوان
     1) الأساسيات العامة
     2) الأزرار والعناوين المشتركة
     3) شريط التنقل
     4) [1] الهيدر #home
     5) [2] الميزات #highlight
     6) [3] اكتشف #discover
     7) [4] ملامح / التبويبات #features
     8) [5] عن #about
     9) [6] الخطوات #guide
    10) [7] الشهادات #testimonials
    11) [8] المعرض #gallery
    12) [9] الأسئلة #faq
    13) [10] التحميل #app-download-section
    14) [11] الفوتر #contact
    15) عناصر مساعدة: lightbox، زر الأعلى، الحركات
    16) الشاشات الأكبر (Media Queries)
   ============================================================== */

/* ---------- 0) المتغيرات والألوان ---------- */
:root {
  --brown-900: #1b0f08;
  --brown-800: #24150c;
  --brown-700: #3b2416;
  --brown-500: #6b4a33;
  --gold-600: #a9822f;
  --gold-500: #c9a24a;
  --gold-300: #e6cc8a;
  --sand-300: #e9d9bc;
  --sand-100: #f6efe2;
  --sand-50: #fbf7f0;
  --sadu-red: #8e2f22;
  --text: #2b1a0f;
  /* لون النصوص الوصفية: تباين ≥ 10:1 على الأبيض والرملي (كان 5.7:1) */
  --muted: #4a3526;
  /* ذهبي داكن للعناوين الصغيرة على الخلفيات الفاتحة: تباين ≈ 5.8:1 (كان 3.1:1) */
  --gold-ink: #7a561a;
  /* نص ثانوي على الخلفيات الداكنة: تباين ≈ 7:1 */
  --muted-on-dark: #b39a80;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(36, 21, 12, .06);
  --shadow: 0 14px 40px -12px rgba(36, 21, 12, .25);
  --shadow-gold: 0 14px 40px -10px rgba(201, 162, 74, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 64px;

  --font: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  /* شريط السدو: مثلثات + معيّنات (SVG مضمّن، بدون ملفات خارجية) */
  --sadu-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Crect width='48' height='24' fill='%2324150c'/%3E%3Cpath d='M0 0h48v2H0zM0 22h48v2H0z' fill='%23c9a24a'/%3E%3Cpath d='M0 2l4 5 4-5 4 5 4-5 4 5 4-5 4 5 4-5 4 5 4-5 4 5 4-5z' fill='%23e9d9bc'/%3E%3Cpath d='M0 22l4-5 4 5 4-5 4 5 4-5 4 5 4-5 4 5 4-5 4 5 4-5 4 5z' fill='%23e9d9bc'/%3E%3Cpath d='M24 8l4 4-4 4-4-4z' fill='%238e2f22'/%3E%3Cpath d='M24 10.5l1.5 1.5-1.5 1.5-1.5-1.5z' fill='%23e6cc8a'/%3E%3Cpath d='M0 8l4 4-4 4zM48 8l-4 4 4 4z' fill='%238e2f22'/%3E%3C/svg%3E");
  /* شبكة معيّنات خفيفة للخلفيات الداكنة */
  --sadu-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 0 56 28 28 56 0 28Z' fill='none' stroke='%23c9a24a' stroke-opacity='.14'/%3E%3Cpath d='M28 21 35 28 28 35 21 28Z' fill='%23c9a24a' fill-opacity='.10'/%3E%3C/svg%3E");
  /* نفس الشبكة بلون بني خفيف جدًا للخلفيات الرملية */
  --sadu-lattice-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 0 56 28 28 56 0 28Z' fill='none' stroke='%236b4a33' stroke-opacity='.06'/%3E%3Cpath d='M28 23 33 28 28 33 23 28Z' fill='%23a9822f' fill-opacity='.07'/%3E%3C/svg%3E");
}

/* ---------- 1) الأساسيات العامة ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.35; font-weight: 800; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--gold-500); color: var(--brown-900); padding: 8px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.section { padding: 72px 0; position: relative; }
.section--light { background: var(--sand-100) var(--sadu-lattice-light); }
.section--sand { background: linear-gradient(180deg, var(--sand-100), var(--sand-300)); }
.section--dark { background: var(--brown-800) var(--sadu-lattice); color: var(--sand-100); }

/* ---------- 2) الأزرار والعناوين المشتركة ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.96); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: var(--brown-900); box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(201, 162, 74, .6); }
.btn--brown { background: var(--brown-700); color: var(--sand-100); box-shadow: var(--shadow); }
.btn--brown:hover { background: var(--brown-800); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid rgba(230, 204, 138, .55); color: var(--sand-100); }
.btn--ghost:hover { background: rgba(230, 204, 138, .1); border-color: var(--gold-300); }

.section-title { text-align: center; margin-bottom: 44px; }
.section-title small, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-ink); font-weight: 700; font-size: 1rem; letter-spacing: .02em; margin-bottom: 8px;
}
/* معيّنان صغيران حول العنوان الصغير — لمسة سدو */
.section-title small::before, .section-title small::after, .eyebrow::before {
  content: ""; width: 8px; height: 8px; background: var(--sadu-red); transform: rotate(45deg); flex: none;
}
.eyebrow--light, .section--dark .eyebrow { color: var(--gold-300); }
.section-title h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); color: var(--brown-800); margin: 0; }
.section-title h2::after {
  content: ""; display: block; width: 72px; height: 3px; margin: 16px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* أيقونة مربعة بإطار معيّن (اكتشف / عن / التحميل) */
.box-icon {
  display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px;
  border-radius: 18px; background: var(--brown-800); color: var(--gold-300); box-shadow: var(--shadow);
}
.box-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.box-icon--dark { background: rgba(230, 204, 138, .1); border: 1px solid rgba(230, 204, 138, .35); box-shadow: none; }
.box-icon--lg { width: 72px; height: 72px; border-radius: 22px; }
.box-icon--lg svg { width: 34px; height: 34px; }

.lead { font-size: 1.12rem; color: var(--muted); }

/* شريط السدو */
.sadu-band { height: 24px; background: var(--sadu-band) repeat-x center / auto 24px; position: relative; z-index: 2; }

/* ---------- 3) شريط التنقل ---------- */
.navbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--nav-h);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.navbar.is-scrolled, .navbar.is-open {
  background: rgba(27, 15, 8, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(230, 204, 138, .15);
}
.navbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--sand-100); }
.brand__mark { width: 34px; height: 34px; color: var(--gold-500); }
.brand__text { font-weight: 800; font-size: 1.2rem; line-height: 1; }
.brand__text small { font-weight: 500; font-size: .8rem; color: var(--gold-300); margin-inline-start: 2px; }

/* زر القائمة (همبرغر) للجوال */
.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 12px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--sand-100); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* القائمة على الجوال: لوح منسدل */
.nav-links {
  list-style: none; margin: 0; padding: 12px 20px 24px;
  position: absolute; top: var(--nav-h); inset-inline: 0;
  background: rgba(27, 15, 8, .97); border-bottom: 1px solid rgba(230, 204, 138, .2);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.navbar.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
.nav-links a:not(.btn) {
  display: block; padding: 12px 4px; color: var(--sand-300); font-weight: 500;
  border-bottom: 1px solid rgba(230, 204, 138, .08); transition: color .2s;
}
.nav-links a:not(.btn):hover, .nav-links a.is-active { color: var(--gold-300); }
.nav-links__cta { margin-top: 14px; }
.nav-links__cta .btn { width: 100%; }

/* ---------- 4) [1] الهيدر #home ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--sand-100);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(201, 162, 74, .22), transparent 60%),
    linear-gradient(180deg, var(--brown-900), var(--brown-700));
  padding-top: calc(var(--nav-h) + 36px);
}
.hero__pattern { position: absolute; inset: 0; background: var(--sadu-lattice); opacity: .9; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.hero__inner { position: relative; display: grid; gap: 36px; text-align: center; padding-bottom: 56px; }
.hero__title { font-size: clamp(2.5rem, 11vw, 4.6rem); margin: 6px 0 14px; letter-spacing: -.01em;
  background: linear-gradient(180deg, #f7e7bb, var(--gold-500) 70%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title span { display: block; font-size: .5em; font-weight: 500; color: var(--sand-300); -webkit-text-fill-color: var(--sand-300); margin-top: 4px; }
.hero__tagline { font-size: clamp(1.05rem, 3.8vw, 1.3rem); color: var(--sand-300); max-width: 34ch; margin: 0 auto 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__media { position: relative; display: grid; place-items: center; }
.phone-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 204, 138, .45), transparent 65%); filter: blur(20px); }
.hero__phone { position: relative; width: min(230px, 62vw); border-radius: 30px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(230, 204, 138, .25);
  animation: float 6s ease-in-out infinite; }

/* ---------- 5) [2] الميزات #highlight ---------- */
.cards { display: grid; gap: 18px; }
.feature-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(169, 130, 47, .15);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
/* خط سدو رفيع أعلى البطاقة */
.feature-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px;
  background: var(--sadu-band) repeat-x center / auto 12px; opacity: .9; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 162, 74, .45); }
.feature-card h3 { font-size: 1.2rem; color: var(--brown-800); }
.feature-card p { color: var(--muted); margin: 0; font-size: 1.0625rem; line-height: 1.85; }
.sadu-icon { display: block; width: 64px; height: 64px; margin-bottom: 16px; transition: transform .5s var(--ease); }
.feature-card:hover .sadu-icon { transform: rotate(90deg); }
.feature-card:hover .si-glyph { transform: rotate(-90deg); }
.si-frame { fill: var(--brown-800); }
.si-inner { fill: none; stroke: var(--gold-500); stroke-width: 1.5; stroke-dasharray: 3 3; }
.si-glyph { fill: none; stroke: var(--gold-300); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transform-origin: 32px 32px; transition: transform .5s var(--ease); }

/* ---------- 6) [3] اكتشف #discover  +  تخطيط القسمين المشترك ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__text { text-align: center; }
.split__text h2 { font-size: clamp(1.7rem, 6vw, 2.5rem); color: var(--brown-800); }
.split__media { display: grid; place-items: center; }
/* إطار على شكل قوس (طابع معماري خليجي) */
.arch {
  position: relative; padding: 34px 34px 0; border-radius: 999px 999px 24px 24px;
  background: linear-gradient(180deg, var(--sand-300), var(--sand-100));
  border: 1px solid rgba(169, 130, 47, .3);
}
.arch::after { content: ""; position: absolute; inset: 10px 10px 0; border-radius: inherit;
  border: 1px dashed rgba(169, 130, 47, .45); border-bottom: 0; pointer-events: none; }
.arch img { width: min(220px, 56vw); border-radius: 26px 26px 0 0; box-shadow: var(--shadow); }

/* ---------- 7) [4] ملامح / التبويبات #features ---------- */
.tabs { max-width: 900px; margin-inline: auto; }
.tabs__list {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid rgba(169, 130, 47, .18);
  margin-bottom: 28px;
}
.tabs__btn { position: relative; z-index: 1; min-height: 48px; padding: 0 10px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; color: var(--muted); transition: color .3s; line-height: 1.3; }
.tabs__btn.is-active { color: var(--sand-100); }
.tabs__indicator { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: var(--brown-700);
  box-shadow: 0 6px 18px -6px rgba(36, 21, 12, .5); transition: inset .45s var(--ease), width .45s var(--ease); }
.tabs__panel {
  display: grid; gap: 24px; align-items: center; text-align: center;
  background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(169, 130, 47, .15);
  animation: fadeUp .5s var(--ease);
}
.tabs__panel img { width: 100%; max-width: 240px; margin-inline: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.tabs__panel h3 { font-size: 1.5rem; color: var(--brown-800); }
.tabs__panel p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- 8) [5] عن #about ---------- */
.section--dark .split__text h2 { color: var(--sand-100); }
.about__title { font-size: clamp(1.3rem, 4.6vw, 1.9rem) !important; font-weight: 700; line-height: 1.7; margin-bottom: 28px; }
.frame-sadu { position: relative; padding: 10px; border-radius: 32px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
/* شريط سدو رفيع تحت الصورة */
.frame-sadu::after { content: ""; position: absolute; inset-inline: 40px; bottom: -22px; height: 12px; border-radius: 6px;
  background: var(--sadu-band) repeat-x center / auto 12px; }
.frame-sadu img { width: min(280px, 70vw); border-radius: 24px; }

/* ---------- 9) [6] الخطوات #guide ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; text-align: start; counter-reset: none; }
.step { display: flex; gap: 16px; align-items: flex-start; background: #fff; padding: 20px; border-radius: var(--radius);
  border: 1px solid rgba(169, 130, 47, .15); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateX(-4px); box-shadow: var(--shadow); }
.step__num { flex: none; width: 48px; height: 48px; display: grid; place-items: center; position: relative;
  font-weight: 800; font-size: 1.2rem; color: var(--brown-900); }
/* رقم داخل معيّن ذهبي */
.step__num::before { content: ""; position: absolute; inset: 6px; transform: rotate(45deg); border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); z-index: -1; }
.step__num { z-index: 0; }
.step h3 { font-size: 1.12rem; color: var(--brown-800); margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; font-size: 1.0625rem; line-height: 1.85; }
.shot { width: min(230px, 60vw); border-radius: 28px; box-shadow: var(--shadow); }

/* ---------- 10) [7] الشهادات #testimonials (مخفي حاليًا) ---------- */
.quotes { display: grid; gap: 18px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.quote blockquote { margin: 0 0 12px; color: var(--muted); font-size: 1.05rem; }
.quote figcaption { font-weight: 700; color: var(--brown-800); }

/* ---------- 11) [8] المعرض #gallery ---------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 4px 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: center; padding: 0; border-radius: 26px; overflow: hidden;
  background: var(--brown-800); box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.carousel__item:hover { transform: translateY(-6px); }
.carousel__item img { width: 100%; aspect-ratio: 230 / 498; object-fit: cover; }
.carousel__arrow {
  display: none; position: absolute; top: calc(50% - 30px); z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brown-800); color: var(--gold-300); box-shadow: var(--shadow); place-items: center;
  transition: transform .25s var(--ease), opacity .25s;
}
.carousel__arrow:hover { transform: scale(1.08); }
.carousel__arrow:disabled { opacity: .35; cursor: default; transform: none; }
.carousel__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel__arrow--prev { inset-inline-start: -10px; }
.carousel__arrow--next { inset-inline-end: -10px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; }
.carousel__dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(107, 74, 51, .3); transition: width .3s var(--ease), background .3s; }
.carousel__dots span.is-active { width: 26px; background: var(--gold-600); }

/* ---------- 12) [9] الأسئلة #faq ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: var(--radius); border: 1px solid rgba(169, 130, 47, .18);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: rgba(201, 162, 74, .55); box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 1.08rem;
  color: var(--brown-800); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9822f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--ease), background-color .3s; }
.faq__item[open] summary::after { transform: rotate(135deg); background-color: var(--sand-300); }
.faq__body { padding: 0 20px 18px; color: var(--muted); font-size: 1.0625rem; }
.faq__body p { margin: 0; }

/* ---------- 13) [10] التحميل #app-download-section ---------- */
.download { position: relative; overflow: hidden; color: var(--sand-100); text-align: center;
  background: radial-gradient(90% 80% at 50% 100%, rgba(201, 162, 74, .25), transparent 60%), linear-gradient(180deg, var(--brown-700), var(--brown-900)); }
.download .hero__pattern { -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent); mask-image: linear-gradient(0deg, #000 20%, transparent); }
.download__inner { position: relative; padding: 72px 20px; }
.download h2 { font-size: clamp(1.8rem, 6.5vw, 2.7rem); color: var(--gold-300); }
.download__tagline { color: var(--sand-300); font-size: 1.1rem; max-width: 36ch; margin-inline: auto; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 22px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 10px 22px; border-radius: 16px;
  background: var(--sand-50); color: var(--brown-900); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), box-shadow .25s; direction: ltr; text-align: left;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.store-btn:active { transform: scale(.97); }
.store-btn svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store-btn span { display: grid; line-height: 1.2; font-weight: 800; letter-spacing: .04em; }
.store-btn small { font-weight: 500; font-size: .85rem; letter-spacing: 0; color: var(--muted); direction: rtl; text-align: left; }
.download__note { color: var(--gold-300); font-size: .95rem; font-style: italic; margin: 0; }

/* ---------- 14) [11] الفوتر #contact ---------- */
.footer { background: var(--brown-900); color: var(--sand-300); }
.footer__inner { display: grid; gap: 26px; padding-block: 40px; text-align: center; justify-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; justify-items: center; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { transition: color .2s; }
.contact-list a:hover { color: var(--gold-300); }
.social { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  border: 1px solid rgba(230, 204, 138, .25); color: var(--gold-300);
  transition: background-color .25s, color .25s, transform .25s var(--ease), border-color .25s; }
.social a:hover { background: var(--gold-500); color: var(--brown-900); border-color: var(--gold-500); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { border-top: 1px solid rgba(230, 204, 138, .1); padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  text-align: center; font-size: .95rem; color: var(--muted-on-dark); background: var(--sadu-band) repeat-x top / auto 8px; background-color: var(--brown-900); }

/* ---------- 15) عناصر مساعدة ---------- */
/* نافذة تكبير الصور */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(27, 15, 8, .85); backdrop-filter: blur(6px); }
.lightbox[open] { animation: zoomIn .35s var(--ease); }
.lightbox img { max-height: 86vh; width: auto; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__close { position: absolute; top: -14px; inset-inline-end: -14px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-500); color: var(--brown-900); font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow); }

/* زر الرجوع للأعلى */
.to-top { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-start: 18px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brown-800); color: var(--gold-300); box-shadow: var(--shadow); border: 1px solid rgba(230, 204, 138, .3);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* حركات الظهور عند التمرير (تُفعّل من main.js) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

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

/* ---------- 16) الشاشات الأكبر ---------- */
@media (min-width: 600px) {
  .carousel__track { grid-auto-columns: 38%; }
  .contact-list { grid-auto-flow: column; gap: 28px; }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .tabs__panel { grid-template-columns: 240px 1fr; text-align: start; padding: 32px; gap: 36px; }
  .tabs__btn { font-size: 1.02rem; }
  .carousel__track { grid-auto-columns: calc((100% - 48px) / 4); }
  .carousel__arrow { display: grid; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  :root { --nav-h: 76px; }
  .container { padding-inline: 32px; }

  /* القائمة الأفقية على الكمبيوتر */
  .nav-toggle { display: none; }
  .nav-links {
    position: static; display: flex; align-items: center; gap: 4px; padding: 0; background: none; border: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-links a:not(.btn) { padding: 8px 12px; border: 0; font-size: .95rem; position: relative; }
  .nav-links a:not(.btn)::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--gold-500); transform: scaleX(0); transition: transform .3s var(--ease); }
  .nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
  .nav-links__cta { margin: 0 8px 0 0; }

  .hero__inner { grid-template-columns: 1.15fr .85fr; text-align: start; align-items: center; padding-block: 40px 90px; min-height: min(760px, calc(100vh - var(--nav-h) - 24px)); }
  .hero__tagline { margin-inline: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__phone { width: 270px; }

  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__media { order: 2; }
  .split__text { text-align: start; }
  #guide .split { grid-template-columns: 1.5fr 1fr; }
  .arch img { width: 240px; }
  .frame-sadu img { width: 340px; }
  .carousel__track { grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; }
  .footer__inner { grid-template-columns: 1fr auto; text-align: start; justify-items: stretch; align-items: center; }
  .contact-list { justify-items: start; justify-content: start; }
}
