/* =========================================================
   الاتجاه للمصاعد — ALETIJAH ELEVATORS
   ملف الأنماط الرئيسي
   ========================================================= */

/* ---------- المتغيرات ---------- */
:root {
  --brand: #c1272d;
  --brand-dark: #9e1f24;
  --brand-soft: rgba(193, 39, 45, .08);

  --dark: #1c1c1c;
  --dark-2: #262626;
  --text: #22252b;
  --muted: #6f7480;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;

  --radius: 12px;
  --shadow: 0 12px 32px rgba(20, 22, 30, .08);
  --shadow-lg: 0 20px 50px rgba(20, 22, 30, .14);
  --max: 1240px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  font-family: "Cairo", system-ui, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
svg { fill: currentColor; }

.container { width: 92%; max-width: var(--max); margin-inline: auto; }
.txt-brand { color: var(--brand); }

/* ---------- عناوين الأقسام ---------- */
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #fff; }

.section__head { text-align: center; margin-bottom: 58px; }
.section__title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section__title::after {
  content: "";
  position: absolute; bottom: 0; inset-inline: 50%;
  width: 46px; height: 3px; transform: translateX(50%);
  background: var(--brand); border-radius: 3px;
}
.section__sub { color: var(--muted); margin-top: 6px; }
.section--dark .section__sub { color: #b9bcc4; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border: 2px solid transparent; border-radius: 6px;
  font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); }

.btn--outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--dark); border-color: #fff; }

.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: #f0f0f0; }

.btn--phone { background: rgba(0, 0, 0, .35); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn--phone svg { color: var(--brand); }
.btn--phone:hover { background: #fff; color: var(--dark); }
.btn--phone:hover svg { color: var(--brand); }

.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- الهيدر ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(20, 20, 20, .35);
  backdrop-filter: blur(8px);
  transition: background .3s, box-shadow .3s;
}
.header--solid, .header.is-scrolled {
  background: rgba(18, 18, 18, .96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; }

/* الشعار — اللوجو والاسم، وتحتهم جملة المجموعة */
.brand {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px; color: #fff; flex-shrink: 0;
}
.brand__row { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 42px; width: auto; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }

.brand__text {
  display: flex; flex-direction: column; line-height: 1.25;
  border-inline-start: 1px solid rgba(255, 255, 255, .2);
  padding-inline-start: 12px;
}
.brand__text strong { font-size: 17px; font-weight: 800; }
.brand__text small { font-size: 9.5px; letter-spacing: 1.4px; color: #b9bcc4; }

/* جملة "أحد شركات مجموعة الاتجاه" تحت اللوجو
   (order: 1 تنزّلها تحت .brand__row من غير ما نعدّل الـ HTML) */
.brand__tag {
  order: 1;
  font-style: normal; font-size: 9.5px; font-weight: 700;
  color: var(--brand); letter-spacing: .2px; line-height: 1.4;
  padding-inline-start: 2px;
}
/* الشعار في الفوتر أكبر */
.brand--footer { gap: 8px; }
.brand--footer .brand__logo { height: 78px; }
.brand--footer .brand__row { gap: 16px; }
.brand--footer .brand__text strong { font-size: 21px; }
.brand--footer .brand__text small { font-size: 11px; }
.brand--footer .brand__tag { font-size: 11px; }

/* القائمة */
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block; padding: 8px 12px; font-size: 15px; font-weight: 700;
  color: #e9eaee; position: relative; transition: color .25s;
}
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: var(--brand); }
.nav__link.is-active::after {
  content: ""; position: absolute; bottom: 0; inset-inline: 12px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { color: #e9eaee; font-weight: 700; font-size: 14px; transition: color .25s; }
.lang:hover { color: var(--brand); }

.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: .3s; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- الهيرو ---------- */
.hero {
  position: relative; min-height: 660px; height: 82vh;
  display: flex; align-items: center; overflow: hidden; color: #fff;
  /* مسافة تفصل الكلام عن الهيدر الثابت */
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 70px;
}
.hero__bg {
  position: absolute; inset: 0;
  background: #1b1b1b url("../img/elevators.jpg") center/cover no-repeat;
  transition: opacity .6s ease;
}
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(15, 15, 15, .2), rgba(15, 15, 15, .88) 65%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content {
  max-width: 620px;
  transition: opacity .34s ease, transform .34s ease;
}
/* حالة اختفاء النص أثناء التبديل */
.hero__content.is-out { opacity: 0; transform: translateY(16px); }
/* ارتفاع ثابت للعنوان والوصف عشان الأزرار ما ترقصش بين النصوص */
.hero__title { min-height: 4.05em; }  /* ٣ أسطر × line-height 1.35 */
.hero__sub { min-height: 3.8em; }     /* سطرين × line-height 1.9 */

.hero__title { font-size: clamp(30px, 5.2vw, 58px); font-weight: 800; line-height: 1.35; letter-spacing: 1px; }
.hero__sub { margin: 28px 0 40px; font-size: clamp(15px, 1.7vw, 19px); color: #d8dade; font-weight: 700; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__vertical {
  position: absolute; inset-inline-end: 26px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; letter-spacing: 6px; font-size: 12px;
  color: rgba(255, 255, 255, .5); z-index: 2;
}
.hero__dots {
  position: absolute; inset-inline-end: 30px; bottom: 70px; z-index: 3;
  display: flex; flex-direction: column; gap: 10px;
}
.hero__dots button {
  background: none; border: 0; color: rgba(255, 255, 255, .45);
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  padding: 2px 6px; transition: .25s;
}
.hero__dots button.is-active { color: var(--brand); border-inline-end: 2px solid var(--brand); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%; z-index: 3;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .4); color: #fff;
  animation: bob 2s ease-in-out infinite;
}
.hero__scroll svg { width: 20px; height: 20px; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* ---------- شريط الأرقام ---------- */
.stats { background: var(--bg-soft); padding: 52px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex; align-items: center; gap: 18px; justify-content: center;
  padding: 16px 26px; text-align: start;
}
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat__icon {
  width: 36px; height: 36px; color: var(--brand); flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.stat__num { font-size: 32px; font-weight: 800; color: var(--brand); line-height: 1.25; display: block; }
.stat p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- الشبكات ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

/* بطاقات الخدمات */
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 22px 32px; text-align: center; transition: .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(193, 39, 45, .35); }
.service__icon {
  width: 42px; height: 42px; color: var(--brand); margin: 0 auto 20px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.service p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- من نحن ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about__text p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.about__text strong { color: var(--text); }

.ticks { display: grid; gap: 10px; margin: 20px 0 26px; }
.ticks li { position: relative; padding-inline-start: 28px; font-size: 14.5px; color: var(--muted); }
.ticks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 6px;
  width: 19px; height: 19px; border-radius: 50%; font-size: 11px;
  display: grid; place-items: center; background: var(--brand); color: #fff;
}

.vmv { display: grid; gap: 16px; }
.vmv__card {
  background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--brand);
  border-radius: var(--radius); padding: 22px 24px; transition: .3s;
}
.vmv__card:hover { box-shadow: var(--shadow); transform: translateX(-4px); }
.vmv__card svg { width: 28px; height: 28px; color: var(--brand); margin-bottom: 8px; }
.vmv__card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.vmv__card p { font-size: 14px; color: var(--muted); }

/* ---------- الرقائق واللوحات ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(193, 39, 45, .18);
  border-radius: 50px; padding: 6px 16px; font-size: 13.5px; font-weight: 700;
}
.chips--sm li { font-size: 12.5px; padding: 4px 13px; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; height: 100%; transition: .3s;
}
.panel:hover { box-shadow: var(--shadow); }
.panel__title { font-size: 18px; font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.gap-lg { gap: 24px; }

/* ---------- مراحل التنفيذ ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 26px; inset-inline: 8%;
  height: 2px; background: repeating-linear-gradient(to left, var(--line) 0 10px, transparent 10px 18px);
}
.timeline li { text-align: center; position: relative; z-index: 2; }
.timeline__num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 14px; background: var(--brand); color: #fff;
  font-size: 19px; font-weight: 800; box-shadow: 0 6px 18px rgba(193, 39, 45, .3);
  border: 5px solid var(--bg-soft);
}
.timeline h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }
.timeline p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- لماذا الاتجاه ---------- */
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.why {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; transition: .3s;
}
.why:hover { border-color: rgba(193, 39, 45, .35); box-shadow: var(--shadow); transform: translateY(-4px); }
.why span { display: block; font-size: 22px; font-weight: 800; color: rgba(193, 39, 45, .35); margin-bottom: 6px; }
.why p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ---------- شروط الباقات ---------- */
.terms { max-width: 860px; margin: 28px auto 0; text-align: center; }
.terms summary {
  cursor: pointer; list-style: none; display: inline-block;
  color: #cfd2d8; font-size: 14px; font-weight: 700; transition: color .25s;
}
.terms summary::-webkit-details-marker { display: none; }
.terms summary:hover { color: var(--brand); }
.terms[open] summary { margin-bottom: 18px; color: var(--brand); }
.terms ul { text-align: start; display: grid; gap: 10px; }
.terms li {
  position: relative; padding-inline-start: 20px;
  font-size: 13.5px; color: #b9bcc4; line-height: 1.8;
}
.terms li::before { content: "•"; position: absolute; inset-inline-start: 4px; color: var(--brand); font-size: 18px; }

/* الشروط فوق خلفية فاتحة (صفحة الخدمات) */
.terms--light summary { color: var(--muted); }
.terms--light li { color: var(--muted); }

/* ---------- قسم الباقات (الخلفية الداكنة) ---------- */
/* ملاحظة: من غير background-attachment: fixed — بتسبب تهنيج في التمرير
   على الموبايل والأجهزة الضعيفة (repaint لكل بكسل تمرير) */
.packages-sec {
  position: relative; color: #fff; padding-bottom: 104px;
  background: linear-gradient(rgba(16, 16, 16, .93), rgba(16, 16, 16, .93)),
              url("../img/elevators.jpg") center/cover no-repeat;
}

/* الشريط الأبيض العلوي مع لسان العنوان */
.band { background: var(--bg); height: 38px; position: relative; z-index: 3; }
.band__tab {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--bg); color: var(--text); text-align: center;
  padding: 10px 130px 28px; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 46px) 100%, 46px 100%);
}
.band__title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; }
.band__sub { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---------- الباقات ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: center; padding-top: 110px; }
.packages--light { padding-top: 0; }

.pack {
  position: relative; border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  transition: .3s; text-align: center;
}
.pack:hover { transform: translateY(-6px); }
.pack--featured {
  background: #fff; color: var(--text); border-color: transparent;
  box-shadow: var(--shadow-lg); padding-top: 40px; transform: scale(1.04);
}
.pack--featured:hover { transform: scale(1.04) translateY(-6px); }
.pack__badge {
  position: absolute; top: 0; inset-inline: 0; margin-inline: auto; width: max-content;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 20px; border-radius: 0 0 8px 8px;
}
.pack__icon { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--brand); }
.pack__icon--gold { color: #c9a227; }
.pack__name { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.pack__desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.pack__price { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pack--featured .pack__price, .packages--light .pack__price { border-bottom-color: var(--line); }
.pack__amount { display: block; font-size: 42px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.pack__per { display: block; font-size: 13px; font-weight: 700; color: #a9adb6; }
.pack--featured .pack__per, .packages--light .pack__per { color: var(--muted); }

.pack__list { text-align: start; margin: 26px 0 32px; display: grid; gap: 13px; font-size: 13.5px; }
.pack__list li { position: relative; padding-inline-start: 24px; }
.pack__list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  width: 16px; height: 16px; border-radius: 50%; font-size: 10px;
  display: grid; place-items: center; margin-top: 8px;
  background: rgba(255, 255, 255, .12); color: #fff;
}
.pack__list li b { font-weight: 800; color: #fff; }
.pack--featured .pack__list li b, .packages--light .pack__list li b { color: var(--text); }
.pack__list--check li::before { background: var(--brand); color: #fff; }
.pack--featured .pack__list li::before { background: var(--brand); color: #fff; }
.packages--light .pack {
  background: #fff; border-color: var(--line); color: var(--text);
}
.packages--light .pack--featured { border-color: var(--brand); }
.packages--light .pack__list li::before { background: var(--brand); }

.packages__note { text-align: center; margin-top: 26px; font-size: 14px; }
.packages__note a { color: #cfd2d8; transition: color .25s; }
.packages__note a:hover { color: var(--brand); }

/* ---------- العملاء ---------- */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.client {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 12px; text-align: center; transition: .3s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 150px;
}
.client:hover { box-shadow: var(--shadow); border-color: rgba(193, 39, 45, .3); transform: translateY(-4px); }
.client > span { font-size: 26px; }
.client strong { font-size: 13px; font-weight: 700; }
.client small { font-size: 10px; color: var(--muted); letter-spacing: .4px; }
.client img {
  max-width: 82%; max-height: 62px; width: auto; height: auto;
  filter: grayscale(1); opacity: .78; transition: .3s;
}
.client:hover img { filter: grayscale(0); opacity: 1; }

/* الشكل البديل لحد ما تتحط الشعارات — بيبان مقصود مش ناقص */
.client__name { display: block; color: var(--text); }
.client__name strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.5; }
.client__name small {
  display: block; font-size: 10px; letter-spacing: .5px;
  color: var(--muted); text-transform: uppercase; margin-top: 2px;
}
.client:hover .client__name strong { color: var(--brand); }
.client--more { color: var(--muted); font-weight: 700; font-size: 14px; line-height: 1.6; }
.client--more b { color: var(--brand); font-size: 18px; }
.client--more:hover { color: var(--brand); }

/* ---------- شريط الدعوة ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(to left, var(--brand) 0%, #8f1a1f 42%, #1c1c1c 78%);
  padding: 56px 0;
}
/* شعار المجموعة كعلامة مائية في نص الشريط */
.cta::after {
  content: ""; position: absolute; pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 190px; height: 190px; opacity: .14;
  background: url("../img/logo-white.png") center/contain no-repeat;
}
.cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta__text h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
.cta__text p { color: rgba(255, 255, 255, .85); font-size: 15px; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* صندوق دعوة داخلي (صفحة الخدمات) */
.cta-box {
  background: var(--dark); color: #fff; border-radius: var(--radius);
  padding: 44px 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-box::after {
  content: ""; position: absolute; pointer-events: none;
  inset-inline-start: 4%; top: 50%; transform: translateY(-50%);
  width: 170px; height: 170px; opacity: .09;
  background: url("../img/logo-white.png") center/contain no-repeat;
}
.cta-box h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; margin-bottom: 8px; }
.cta-box p { color: #c3c6cc; font-size: 15px; }
.cta-box > * { position: relative; z-index: 2; }

/* ---------- هيرو الصفحات الداخلية ---------- */
.page-hero { padding: calc(var(--header-h) + 60px) 0 60px; }
.page-hero__inner { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 44px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; line-height: 1.35; margin: 6px 0 16px; }
.page-hero p { color: var(--muted); max-width: 460px; }
.page-hero__img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }

.badges { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 12px; }
.badge svg { width: 34px; height: 34px; color: var(--brand); flex-shrink: 0; }
.badge strong { display: block; font-size: 15px; }
.badge small { color: var(--muted); font-size: 12px; }

/* ---------- بطاقات الخدمات الكبيرة ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .3s;
}
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature__body { padding: 32px 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.feature__icon { width: 40px; height: 40px; color: var(--brand); margin-bottom: 14px; }
.feature__body h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.feature__body p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.feature__img img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }

/* ---------- قسم مقسوم ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; }
.split__list { display: grid; gap: 26px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__icon {
  width: 42px; height: 42px; padding: 9px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); flex-shrink: 0;
}
.step h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.step p { font-size: 13.5px; color: var(--muted); }
.split__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }

/* =========================================================
   الصفحات الداخلية
   ========================================================= */

/* ---------- ترويسة الصفحة ---------- */
.page-head {
  padding: calc(var(--header-h) + 60px) 0 52px; color: #fff; position: relative;
  background: linear-gradient(rgba(16, 16, 16, .82), rgba(16, 16, 16, .9)),
              url("../img/elevators.jpg") center/cover no-repeat;
}
.page-head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.page-head__sub {
  color: #c3c6cc; font-size: 15.5px; line-height: 1.9;
  max-width: 560px; margin-top: 10px;
}
.crumbs { font-size: 14px; color: #b9bcc4; margin-top: 8px; }
.page-head__sub + .crumbs { margin-top: 16px; }
.crumbs a { color: #fff; transition: color .25s; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 8px; color: var(--brand); }

.section__title--start { display: block; text-align: start; }
.section__title--start::after { inset-inline: 0; transform: none; }
.muted-text { color: var(--muted); font-size: 15px; }
.muted-text a { color: var(--brand); font-weight: 700; }
.note {
  text-align: center; margin-top: 34px; font-size: 13.5px; color: var(--muted);
  background: var(--brand-soft); border: 1px dashed rgba(193, 39, 45, .3);
  border-radius: var(--radius); padding: 14px 18px;
}

/* قسم مقسوم عريض (صفحة من نحن) */
.split--wide { grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split__body p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.split__body strong { color: var(--text); }
.split__body .section__title { margin: 10px 0 18px; }

/* ---------- رحلتنا ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.journey__step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative; transition: .3s;
}
.journey__step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(193, 39, 45, .3); }
.journey__dot {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 16px;
  margin-bottom: 16px; box-shadow: 0 6px 16px rgba(193, 39, 45, .28);
}
.journey__step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.journey__step p { font-size: 13.5px; color: var(--muted); }

/* ---------- الشركاء ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 118px; display: grid; place-items: center; padding: 20px; transition: .3s;
}
.partner:hover { box-shadow: var(--shadow); border-color: rgba(193, 39, 45, .3); transform: translateY(-4px); }
.partner img { max-width: 78%; max-height: 58px; filter: grayscale(1); opacity: .75; transition: .3s; }
.partner:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- بطاقات المشاريع ---------- */
.work__tag {
  display: inline-block; align-self: flex-start; margin-bottom: 8px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 50px;
}
.work__overlay h3 { font-size: 17px; font-weight: 800; }

/* ---------- بطاقات المقالات ---------- */
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .3s;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(193, 39, 45, .3); }
.post__img { display: block; overflow: hidden; }
.post__img img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: 12px; color: var(--brand); font-weight: 700; }
.post__body h3 { font-size: 17px; font-weight: 800; margin: 8px 0 10px; line-height: 1.6; }
.post__body h3 a:hover { color: var(--brand); }
.post__body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.post__more { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--brand); }
.post__more:hover { text-decoration: underline; }

/* ---------- النشرة البريدية ---------- */
.newsletter {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; box-shadow: var(--shadow);
}
.newsletter h2 { font-size: 22px; font-weight: 800; }
.newsletter p { color: var(--muted); font-size: 14px; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__form input {
  min-width: 260px; padding: 13px 18px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--bg-soft); font-family: inherit; font-size: 15px; color: var(--text);
}
.newsletter__form input:focus { outline: none; border-color: var(--brand); background: #fff; }
.newsletter .form__done { width: 100%; text-align: start; }

/* ---------- بطاقات التواصل ---------- */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; transition: .3s; display: block;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(193, 39, 45, .35); }
.contact-card svg {
  width: 40px; height: 40px; padding: 8px; border-radius: 12px; margin: 0 auto 16px;
  background: var(--brand-soft); color: var(--brand);
}
.contact-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* كارت فيه أكتر من رقم (جوال + أرضي) */
.contact-card__lines { display: grid; gap: 12px; margin-top: 4px; }
.contact-card__lines a { display: block; }
.contact-card__lines small {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--muted); margin-bottom: 1px;
}
.contact-card__lines bdi {
  font-size: 15px; font-weight: 800; color: var(--text);
  white-space: nowrap; transition: color .25s;
}
.contact-card__lines a:hover bdi { color: var(--brand); }

.reg-box {
  margin-top: 24px; background: #fff; border: 1px solid var(--line);
  border-inline-start: 3px solid var(--brand); border-radius: var(--radius); padding: 16px 20px;
}
.reg-box strong { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.reg-box span { font-size: 17px; font-weight: 800; letter-spacing: .5px; }

/* ---------- تبويبات الفلترة ---------- */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 38px; }
.filter {
  padding: 9px 24px; border-radius: 50px; border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-family: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: .25s;
}
.filter:hover, .filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- بطاقة المشروع ---------- */
.work { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.work img { width: 100%; height: 262px; object-fit: cover; transition: transform .5s; }
.work:hover img { transform: scale(1.07); }
.work__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff; opacity: 0; transition: .35s;
  background: linear-gradient(to top, rgba(15, 12, 12, .92), rgba(15, 12, 12, .25) 55%, transparent);
}
.work:hover .work__overlay { opacity: 1; }
.work__overlay p { font-size: 13.5px; opacity: .88; }
.work.is-hidden { display: none; }

/* ---------- النموذج ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 46px; align-items: start; }
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: 15px;
  resize: vertical; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field.has-error input, .field.has-error textarea { border-color: #e74c3c; }
.error { color: #e74c3c; font-size: 12.5px; display: none; margin-top: 4px; }
.field.has-error .error { display: block; }
.form__done, .form__fail {
  display: none; text-align: center; font-weight: 700; margin-top: 16px;
  font-size: 14px; line-height: 1.9;
}
.form__done { color: #0f9d58; }
.form__fail { color: #d13438; font-weight: 600; }
.form__done.is-visible, .form__fail.is-visible {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.form__done svg, .form__fail svg {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.form__fail a { color: var(--brand); text-decoration: underline; }

/* فخّ السبام — مخفي عن الزائر وظاهر للبوتات */
.hp { position: absolute !important; inset-inline-start: -9999px !important; opacity: 0; height: 0; width: 0; }

/* الزر أثناء الإرسال */
.form button[type="submit"]:disabled { opacity: .65; cursor: wait; transform: none; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field select {
  width: 100%; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: 15px;
}
.field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(193, 39, 45, .12); }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(193, 39, 45, .12); }
.field.has-error select { border-color: #e74c3c; }

/* =========================================================
   عارض ملف الشركة
   ========================================================= */
.viewer {
  background: var(--dark); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.viewer:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.viewer:fullscreen .viewer__stage { flex: 1; }

/* شريط الأدوات */
.viewer__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 14px 20px;
  background: #161616; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.viewer__nav, .viewer__tools { display: flex; align-items: center; gap: 8px; }
.viewer__count { color: #d7d9de; font-size: 14px; font-weight: 700; min-width: 130px; text-align: center; }

.vbtn {
  width: 38px; height: 38px; border-radius: 8px; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; transition: .2s;
}
.vbtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vbtn:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); }
.vbtn:disabled { opacity: .3; cursor: default; }

/* مسرح العرض */
.viewer__stage {
  --zoom: 1;
  position: relative; min-height: 560px;
  display: grid; place-items: center; padding: 30px 20px;
  background: #101010 radial-gradient(ellipse at center, #1e1e1e, #0d0d0d 70%);
  overflow: auto;
}
.viewer__stage.is-zoomed { align-items: start; }

.viewer__loader { text-align: center; color: #b9bcc4; display: grid; gap: 14px; justify-items: center; }
.viewer__loader p { font-size: 14px; }
.spinner {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--brand);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* الفرخ والصفحات */
.sheet { position: relative; perspective: 2200px; width: 100%; display: grid; place-items: center; }
.sheet__inner {
  display: flex; gap: 2px; transform-origin: center;
  transition: transform .4s ease, opacity .4s ease;
  transform: scale(var(--zoom));
}
.sheet__page {
  background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  max-height: 74vh; display: flex;
}
.sheet__page img { max-height: 74vh; width: auto; max-width: 100%; display: block; }

/* حركة التقليب */
.sheet__inner.is-in-next  { transform: scale(var(--zoom)) rotateY(-22deg) translateX(6%); opacity: 0; }
.sheet__inner.is-in-prev  { transform: scale(var(--zoom)) rotateY(22deg) translateX(-6%); opacity: 0; }
.sheet__inner.is-out-next {
  position: absolute; inset-block-start: 0;
  transform: scale(var(--zoom)) rotateY(22deg) translateX(-6%); opacity: 0;
}
.sheet__inner.is-out-prev {
  position: absolute; inset-block-start: 0;
  transform: scale(var(--zoom)) rotateY(-22deg) translateX(6%); opacity: 0;
}

/* شريط المصغّرات */
.viewer__thumbs {
  display: flex; gap: 10px; overflow-x: auto; padding: 14px 20px;
  background: #161616; border-top: 1px solid rgba(255, 255, 255, .08);
  scrollbar-width: thin;
}
.thumb {
  position: relative; flex: 0 0 auto; width: 58px; cursor: pointer;
  background: #222; border: 2px solid transparent; border-radius: 6px;
  padding: 0; overflow: hidden; line-height: 0; transition: .2s;
}
.thumb img { width: 100%; height: auto; display: block; opacity: .65; transition: .2s; }
.thumb span {
  position: absolute; inset-block-end: 0; inset-inline: 0;
  font-size: 10px; font-weight: 700; color: #fff; line-height: 1.6;
  background: rgba(0, 0, 0, .6);
}
.thumb:hover img { opacity: 1; }
.thumb.is-active { border-color: var(--brand); }
.thumb.is-active img { opacity: 1; }

.viewer.is-failed .viewer__thumbs,
.viewer.is-failed .viewer__nav { display: none; }

/* البديل: عارض المتصفح المدمج */
.viewer.is-native .viewer__thumbs,
.viewer.is-native .viewer__nav,
.viewer.is-native #btnZoomIn,
.viewer.is-native #btnZoomOut { display: none; }
.viewer.is-native .viewer__bar { justify-content: flex-end; }
.viewer.is-native .viewer__stage { padding: 0; display: block; }
.viewer__frame { width: 100%; height: 78vh; min-height: 520px; border: 0; display: block; background: #fff; }
.viewer__native-note {
  background: #161616; color: #b9bcc4; font-size: 13px;
  text-align: center; padding: 12px; margin: 0;
}
.viewer__native-note a { color: var(--brand); font-weight: 700; }

/* ---------- الخريطة ---------- */
.map { line-height: 0; position: relative; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.25); display: block; }

/* شريط العنوان وزر الاتجاهات تحت الخريطة */
.map__bar {
  line-height: 1.9; background: var(--dark); color: #d7d9de;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 18px 6%;
}
.map__addr {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; margin: 0;
}
.map__addr svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }
.map__bar .btn { flex-shrink: 0; }

/* ---------- الفوتر ---------- */
.footer { background: var(--dark); color: #d7d9de; padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 46px; padding-bottom: 56px; }
.brand--footer { margin-bottom: 16px; }
.footer__about { font-size: 13.5px; color: #a9adb6; line-height: 1.9; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 30px; height: 2px; background: var(--brand); }

.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: 14px; color: #a9adb6; transition: color .25s, padding .25s; }
.footer__links a:hover { color: var(--brand); padding-inline-start: 5px; }

.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: #a9adb6; }
.footer__contact li > span {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .25s, border-color .25s;
}
.footer__contact li > span svg {
  width: 16px; height: 16px; color: var(--brand);
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.footer__contact li:hover > span { background: rgba(193, 39, 45, .18); border-color: rgba(193, 39, 45, .4); }
.footer__contact a:hover { color: var(--brand); }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #d7d9de; transition: .25s;
}
.socials a svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
/* لينكدإن وإكس علاماتهم مصمتة مش خطوط */
.socials a[aria-label="LinkedIn"] svg,
.socials a[aria-label="X"] svg { fill: currentColor; stroke: none; }
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; }
.footer__bar p { text-align: center; font-size: 13px; color: #8e929b; }

/* ---------- زر أعلى الصفحة ---------- */
.to-top {
  position: fixed; inset-inline-start: 24px; bottom: 24px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 20px;
  box-shadow: 0 8px 20px rgba(193, 39, 45, .4);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- أنيميشن الظهور ---------- */
/* مهم: الإخفاء يشتغل بس لما الجافاسكريبت يكون شغال (كلاس js على عنصر html).
   من غير الشرط ده، أي خطأ في السكريبت كان بيخلي الموقع كله صفحة بيضا. */
.reveal { opacity: 1; transform: none; }

html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- تحسينات الأداء ---------- */
/* خلفية رمادية مكان الصورة أثناء التحميل بدل الفراغ الأبيض */
.work img, .post__img img, .feature__img img, .page-hero__img img, .split__img img {
  background: var(--bg-soft);
}
/* الصور بتحافظ على نسبتها فمفيش قفز في التخطيط */
.work img, .post__img img { aspect-ratio: 3 / 2; }

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

/* =========================================================
   الاستجابة للشاشات
   ========================================================= */
/* =========================================================
   دعم النسخة الإنجليزية (LTR)
   ========================================================= */
[dir="ltr"] body { font-family: "Inter", "Cairo", system-ui, "Segoe UI", sans-serif; line-height: 1.75; }
[dir="ltr"] .brand__text small { letter-spacing: 1.6px; }

/* التدرجات الاتجاهية تنعكس عشان الغامق يفضل خلف النص */
.hero__veil { background: linear-gradient(to right, rgba(15, 15, 15, .22), rgba(15, 15, 15, .86) 62%); }
[dir="ltr"] .hero__veil { background: linear-gradient(to left, rgba(15, 15, 15, .22), rgba(15, 15, 15, .86) 62%); }

[dir="ltr"] .cta { background: linear-gradient(to right, var(--brand) 0%, #8f1a1f 42%, #1c1c1c 78%); }

[dir="ltr"] .vmv__card:hover { transform: translateX(4px); }
[dir="ltr"] .to-top { inset-inline-start: auto; inset-inline-end: 24px; }
[dir="ltr"] .hero__dots button.is-active { border-inline-end: 0; border-inline-start: 2px solid var(--brand); }

/* الأرقام الإنجليزية تفضل بخط لاتيني واضح */
[dir="ltr"] .pack__amount, [dir="ltr"] .stat__num { font-family: "Inter", sans-serif; }

/* =========================================================
   الاستجابة للشاشات
   ========================================================= */

/* ---------- لابتوب صغير ---------- */
@media (max-width: 1200px) {
  .nav__link { padding: 8px 9px; font-size: 13.5px; }
  .brand__text small { font-size: 9px; }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .timeline::before { display: none; }
}

/* ---------- تابلت ---------- */
@media (max-width: 992px) {
  :root { --header-h: 74px; }

  /* القائمة المنسدلة */
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset-inline: 0; top: var(--header-h);
    background: rgba(18, 18, 18, .98); padding: 8px 0;
    clip-path: inset(0 0 100% 0); transition: clip-path .35s ease;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 14px 6%; font-size: 15.5px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .nav__link.is-active { background: rgba(193, 39, 45, .16); }
  .nav__link.is-active::after { display: none; }
  body.nav-open { overflow: hidden; }

  /* الهيرو */
  .hero { height: auto; min-height: 0; padding: calc(var(--header-h) + 56px) 0 96px; }
  .hero__vertical { display: none; }

  /* blur على عنصر ثابت غالي جدًا على الموبايل — نستبدله بخلفية معتمة */
  .header { backdrop-filter: none; background: rgba(18, 18, 18, .92); }
  .hero__scroll { backdrop-filter: none; }

  /* الأقسام */
  .stats { padding: 36px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .stat + .stat { border: 0; }
  .packages { grid-template-columns: 1fr; padding-top: 78px; max-width: 470px; margin-inline: auto; }
  .band__tab { padding: 8px 46px 22px; }
  .pack--featured { transform: none; }
  .pack--featured:hover { transform: translateY(-6px); }

  .page-hero__inner, .split, .split--wide, .grid--2, .about, .contact { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .split--wide .split__img, .page-hero__img { order: -1; }
  .map iframe { height: 320px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

/* ---------- موبايل ---------- */
@media (max-width: 600px) {
  .container { width: 90%; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 40px; }

  /* الهيدر */
  .header__actions .btn { display: none; }
  .brand { gap: 3px; }
  .brand__row { gap: 9px; }
  .brand__logo { height: 34px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__text { padding-inline-start: 9px; }
  .brand__text strong { font-size: 13px; }
  .brand__text small { display: none; }
  .brand__tag { font-size: 8px; }
  .brand--footer .brand__logo { height: 62px; }
  .brand--footer .brand__row { gap: 12px; }
  .brand--footer .brand__text strong { font-size: 17px; }
  .brand--footer .brand__tag { font-size: 10px; }
  .brand--footer .brand__text small { display: block; font-size: 9.5px; }

  /* الهيرو */
  .hero { padding: calc(var(--header-h) + 44px) 0 82px; }
  .hero__title { line-height: 1.45; }
  .hero__sub { margin: 20px 0 30px; }
  .hero__btns { gap: 10px; }
  .hero__btns .btn { padding: 12px 22px; font-size: 14px; }
  .hero__dots { inset-inline-end: 0; inset-inline-start: 0; bottom: 16px;
    flex-direction: row; justify-content: center; gap: 8px; }
  .hero__dots button.is-active { border-inline-end: 0; border-bottom: 2px solid var(--brand); }
  .hero__scroll { display: none; }

  /* الأرقام — الأيقونة فوق الرقم */
  .stat { flex-direction: column; text-align: center; gap: 8px; padding: 16px 6px; }
  .stat__icon { width: 30px; height: 30px; }
  .stat__num { font-size: 26px; }
  .stat p { font-size: 12px; }

  /* الشبكات */
  .grid { gap: 16px; }
  .grid--6, .clients, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .journey, .form__row { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 28px 14px 24px; }
  .service h3 { font-size: 14.5px; }
  .service p { font-size: 12px; }
  .client { min-height: 100px; padding: 14px 8px; }
  .client__name strong { font-size: 12.5px; }

  /* الباقات — لسان العنوان يبقى عنوان عادي داخل القسم
     (height: auto مهم: لو كانت 0 العنوان بيركب على أول باقة) */
  .band { height: auto; background: transparent; }
  .band__tab {
    position: static; transform: none; width: 100%;
    background: transparent; color: #fff; clip-path: none;
    padding: 0 6%; white-space: normal; text-align: center;
  }
  .band__sub { color: #b9bcc4; }
  .packages-sec { padding-top: 60px; padding-bottom: 70px; background-attachment: scroll; }
  .packages { padding-top: 34px; }
  .pack { padding: 30px 22px; }

  /* بطاقات ونماذج */
  .feature { grid-template-columns: 1fr; }
  .feature__img { order: -1; }
  .feature__img img { min-height: 190px; }
  .feature__body { padding: 26px 22px; }
  .form { padding: 24px 18px; }
  .newsletter { flex-direction: column; text-align: center; padding: 30px 22px; }
  .newsletter__form { width: 100%; justify-content: center; }
  .newsletter__form input { min-width: 0; flex: 1; }
  .post__img img { height: 180px; }
  .map iframe { height: 260px; }
  /* العارض على الموبايل */
  .viewer__bar { padding: 12px; gap: 10px; justify-content: center; }
  .viewer__count { min-width: 0; font-size: 13px; }
  .viewer__tools .btn { padding: 9px 14px; font-size: 13px; }
  .viewer__stage { min-height: 420px; padding: 18px 10px; }
  .sheet__page, .sheet__page img { max-height: 62vh; }
  .viewer__thumbs { padding: 10px; gap: 7px; }
  .thumb { width: 44px; }

  .map__bar { flex-direction: column; align-items: stretch; text-align: center; padding: 20px 6%; }
  .map__addr { justify-content: center; font-size: 13px; }
  .map__bar .btn { justify-content: center; }

  /* المشاريع — مفيش hover على اللمس فالطبقة تفضل ظاهرة */
  .work img { height: 220px; }
  .work__overlay { opacity: 1; padding: 18px; }

  /* الدعوة والفوتر */
  .cta { padding: 44px 0; }
  .cta::after { width: 130px; height: 130px; opacity: .09; }
  .cta-box::after { width: 120px; height: 120px; opacity: .06; }
  .cta__inner, .cta-box { flex-direction: column; text-align: center; }
  .cta__btns { justify-content: center; width: 100%; }
  .cta__btns .btn { flex: 1 1 auto; justify-content: center; }
  .cta-box { padding: 34px 22px; }
  .footer { padding-top: 56px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 44px; }
  .footer__contact li { word-break: break-word; }
  .to-top { inset-inline-start: 16px; bottom: 16px; width: 40px; height: 40px; font-size: 18px; }

  /* الجدول الزمني (النسخة الموسّعة) */
  .timeline { grid-template-columns: 1fr; text-align: start; }
  .timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; }
  .timeline__num { margin: 0; grid-row: span 2; }
  .timeline h3 { align-self: end; }
}

/* ---------- موبايل صغير ---------- */
@media (max-width: 400px) {
  .grid--6, .grid--4, .clients, .partners { grid-template-columns: repeat(2, 1fr); }
  .client { min-height: 92px; }
  .client__name strong { font-size: 12.5px; }
  .client__name small { font-size: 8.5px; }
  .hero__btns, .cta__btns { flex-direction: column; }
  .hero__btns .btn, .cta__btns .btn { width: 100%; }
  .lang { display: none; }
  .filters { gap: 6px; }
  .filter { padding: 7px 16px; font-size: 13px; }
  .page-head { padding: calc(var(--header-h) + 44px) 0 40px; }
}

/* ---------- أضيق الشاشات: عمود واحد ---------- */
@media (max-width: 340px) {
  .grid--6, .grid--4, .clients, .partners { grid-template-columns: 1fr; }
  .brand__text strong { font-size: 12px; }
}

/* =========================================================
   إضافات ووردبريس
   ========================================================= */

/* رابط تخطي المحتوى — للقارئ الشاشي والكيبورد */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
  position: fixed !important; top: 12px; inset-inline-start: 12px;
  width: auto; height: auto; clip: auto; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 22px;
  border-radius: 6px; font-weight: 700;
}

/* محتوى المحرر */
.entry { color: var(--muted); font-size: 15px; }
.entry > * + * { margin-top: 16px; }
.entry h2 { font-size: 24px; font-weight: 800; color: var(--text); margin-top: 32px; }
.entry h3 { font-size: 19px; font-weight: 800; color: var(--text); margin-top: 26px; }
.entry strong { color: var(--text); }
.entry a { color: var(--brand); font-weight: 700; }
.entry ul, .entry ol { padding-inline-start: 22px; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: 8px; }
.entry img { border-radius: var(--radius); }
.entry blockquote {
  border-inline-start: 3px solid var(--brand);
  padding-inline-start: 18px; color: var(--text); font-weight: 700;
}

/* ترقيم الصفحات */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination .page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); transition: .25s;
}
.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* أيقونات الفوتر والسوشيال SVG بدل الإيموجي */
.footer__contact li > span svg { width: 15px; height: 15px; }
.socials svg { width: 15px; height: 15px; }
.contact-card svg, .step__icon, .feature__icon, .vmv__card > svg { stroke-width: 1.5; }
