/* ============================================================
   sections.css — تخطيط الأقسام (فخامة داكنة سينمائية)
   ============================================================ */

/* ------------------------------------------------------------
   الهيدر
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-header);
  border-block-end: 1px solid transparent;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease),
              backdrop-filter var(--t) var(--ease);
}
.site-header.is-stuck {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-block-end-color: var(--glass-border);
}

.site-header__inner {
  display: flex; align-items: center; gap: var(--s-8);
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: var(--s-3); flex: none; }
.logo__mark { width: 38px; height: 38px; color: var(--accent); flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
/* nowrap ضروري: بدونه ينضغط الاسم عمودياً حرفاً حرفاً عند ضيق الهيدر */
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm); white-space: nowrap; }
.logo__tag { font-size: var(--fs-xs); color: var(--faint); white-space: nowrap; }

@media (max-width: 420px) { .logo__tag { display: none; } }

.nav { display: flex; align-items: center; gap: var(--s-6); margin-inline: auto; }

.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--muted);
  white-space: nowrap;              /* يمنع التفاف "لماذا العبور" / "Why Us" */
  transition: color var(--t) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; inset-block-end: -6px; inset-inline: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0);
  transform-origin: var(--origin-end, right);
  transition: transform var(--t) var(--ease-out);
}
[dir="ltr"] .nav__link::after { transform-origin: left; }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

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

.burger {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
}
.burger svg { width: 20px; height: 20px; }

/* التنقّل الكامل يحتاج مساحة حقيقية — نُخفيه مبكراً لتفادي القصّ */
@media (max-width: 1220px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
  .header__actions { margin-inline-start: auto; }
}

/* ------------------------------------------------------------
   الدرج الجانبي
   ------------------------------------------------------------ */
.drawer {
  position: fixed; inset: 0;
  z-index: var(--z-drawer);
  background: var(--ink);
  padding: var(--gutter);
  display: grid;
  grid-template-rows: auto 1fr auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--t-slow) var(--ease-out), visibility var(--t-slow);
  overflow-y: auto;
}
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--text);
}
.drawer__close svg { width: 20px; height: 20px; }

.drawer__nav { display: flex; flex-direction: column; justify-content: center; gap: var(--s-2); }
.drawer__link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, .95rem + 3.4vw, 2.35rem);
  color: var(--text);
  padding-block: var(--s-2);
  transition: color var(--t) var(--ease), padding-inline-start var(--t) var(--ease);
}
.drawer__link:hover { color: var(--accent-text); padding-inline-start: var(--s-4); }

.drawer__footer { display: grid; gap: var(--s-5); }
.drawer__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 2rem) var(--s-16);
  overflow: hidden;
  isolation: isolate;
}

/* صورة السيارة تشغل الجهة المقابلة للنص وتُدمج بتدرّجات */
.hero__media {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 68%;
  z-index: -2;
  clip-path: inset(0 0 0 0);
}
/* <picture> عنصر inline افتراضياً فلا يرث الارتفاع — نجعله block بارتفاع كامل
   وإلا انهار ارتفاع الصورة إلى نسبتها الطبيعية بدل ملء الـHero. */
.hero__media picture { display: block; width: 100%; height: 100%; }

.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform;
}

/* تدرّجات تدمج الصورة بالخلفية.
   النص على جهة البداية (يمين في RTL، يسار في LTR) — لذا يكون
   التعتيم على تلك الجهة وتبقى السيارة مكشوفة على الجهة الأخرى. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
[dir="rtl"] .hero__scrim::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 8%, var(--ink) 68%);
}
[dir="ltr"] .hero__scrim::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, transparent 8%, var(--ink) 68%);
}
.hero__scrim::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 1%, transparent 38%),
    linear-gradient(to bottom, var(--ink) 0%, transparent 26%);
}

/* قوس الجسر — motif الهوية */
.hero__arch {
  position: absolute;
  inset-block-start: 14%;
  inset-inline-start: -6%;
  width: min(62vw, 780px);
  height: auto;
  color: var(--accent);
  opacity: .13;
  z-index: -1;
  pointer-events: none;
}

.hero__inner { position: relative; width: 100%; }

.hero__content { max-width: min(46rem, 60%); }

.hero__title {
  font-size: var(--fs-hero);
  margin-block: var(--s-5) var(--s-5);
  overflow-wrap: break-word;
}
.hero__title em { font-style: normal; color: var(--accent-text); }

.hero__lead {
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 44ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-block-start: var(--s-8); }

.hero__foot {
  display: flex; flex-wrap: wrap;
  gap: var(--s-3) var(--s-8);
  margin-block-start: var(--s-10);
  padding-block-start: var(--s-6);
  border-block-start: 1px solid var(--line-soft);
}
.hero__trust { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-sm); color: var(--muted); }
.hero__trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* مؤشّر التمرير
   ⚠️ writing-mode: vertical-rl يقلب محوري block/inline للعنصر نفسه،
   فتصبح inset-block-* أفقية. لذا نُبقي الحاوية أفقية ونطبّق
   الكتابة العمودية على النص وحده فقط. */
.hero__scroll {
  position: absolute;
  bottom: var(--s-8);
  inset-inline-end: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--faint);
}
.hero__scroll span { writing-mode: vertical-rl; letter-spacing: .2em; }
html[lang="ar"] .hero__scroll span { letter-spacing: 0 !important; }
.hero__scroll::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@media (max-width: 1024px) {
  .hero { align-items: flex-end; }
  .hero__content { max-width: none; }
  .hero__media { width: 100%; inset-block-end: auto; height: 58%; }
  [dir="rtl"] .hero__scrim::before,
  [dir="ltr"] .hero__scrim::before { background: none; }
  .hero__scrim::after {
    background: linear-gradient(to top, var(--ink) 40%, transparent 82%);
  }
  .hero__scroll { display: none; }
}

/* ------------------------------------------------------------
   شريط الحجز
   ------------------------------------------------------------ */
.booking { position: relative; z-index: 3; margin-block-start: calc(var(--s-16) * -1); }

.booking__card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.booking__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: var(--s-4);
  align-items: end;
}
@media (max-width: 1080px) { .booking__grid { grid-template-columns: repeat(2, 1fr); } .booking__grid > .btn { grid-column: 1 / -1; } }
@media (max-width: 560px)  { .booking__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   عنوان القسم
   ------------------------------------------------------------ */
.head { margin-block-end: var(--s-16); max-width: 60ch; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow::before { display: none; }
.head__title { font-size: var(--fs-4xl); margin-block-start: var(--s-5); }
.head__lead { margin-block-start: var(--s-5); color: var(--muted); font-size: var(--fs-lg); }

.head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-8); max-width: none;
}
@media (max-width: 820px) { .head--split { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------
   البيان الكبير — كلمات تُضيء مع التمرير
   ------------------------------------------------------------ */
.statement__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-mega);
  line-height: 1.22;
  max-width: 20ch;
}
html[lang="ar"] .statement__text { line-height: 1.42; }

.statement__text .w { color: var(--faint); transition: color .25s linear; }
.statement__text .w.on { color: var(--text); }
.statement__text .w.hl.on { color: var(--accent-text); }

/* بلا حركة لا يوجد ما يضيف .on — نعرض النص بألوانه النهائية */
html.no-motion .statement__text .w { color: var(--text); }
html.no-motion .statement__text .w.hl { color: var(--accent-text); }

@media (prefers-reduced-motion: reduce) {
  .statement__text .w { color: var(--text); }
  .statement__text .w.hl { color: var(--accent-text); }
}

/* ------------------------------------------------------------
   الإحصاءات
   ------------------------------------------------------------ */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}
.stat { padding-block-start: var(--s-6); border-block-start: 1px solid var(--line-soft); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-4xl);
  line-height: 1;
  color: var(--accent-text);
}
.stat__label { margin-block-start: var(--s-3); color: var(--muted); font-size: var(--fs-sm); }

@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); } }

/* ------------------------------------------------------------
   الأسطول — تمرير أفقي مثبّت
   ------------------------------------------------------------ */
.fleet { position: relative; }
.fleet__viewport { overflow: hidden; }

.fleet__track {
  display: flex;
  gap: var(--s-6);
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}

.car {
  flex: 0 0 clamp(280px, 30vw, 420px);
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: border-color var(--t) var(--ease);
}
.car:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }

.car__stage { position: relative; overflow: hidden; background: var(--stage); }
.car__stage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out), filter var(--t) var(--ease);
}
.car:hover .car__stage img { transform: scale(1.07); }

/* صور الأسطول من مصادر مختلفة (استوديو + بيئي). هذا التدرّج
   يدمج أسفل الصورة في البطاقة فتبدو المجموعة متجانسة. */
.car__stage::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--surface) 0%, rgba(0, 0, 0, 0) 42%);
}
:root:not([data-theme="light"]) .car__stage img { filter: brightness(.93) contrast(1.05) saturate(.95); }

.car__flag { position: absolute; inset-block-start: var(--s-4); inset-inline-start: var(--s-4); }

.car__body { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-6); flex: 1; }
.car__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.car__name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); }
.car__year { font-size: var(--fs-sm); color: var(--faint); }
.car__desc { font-size: var(--fs-sm); color: var(--muted); flex: 1; }
.car__specs { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* الأسعار لا تُعرض — الزر يملأ العرض ويحلّ محلّ كتلة السعر */
.car__foot {
  padding-block-start: var(--s-5);
  border-block-start: 1px solid var(--line-soft);
}
.car__cta { width: 100%; }

.fleet__progress { height: 1px; background: var(--line-soft); margin-block-start: var(--s-10); }
.fleet__progress-bar { height: 100%; width: 0; background: var(--accent); }

.fleet__hint { margin-block-start: var(--s-5); font-size: var(--fs-xs); color: var(--faint); text-align: center; }

/* على الشاشات الصغيرة: سحب أفقي طبيعي بدل التثبيت */
@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  .fleet__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .fleet__viewport::-webkit-scrollbar { display: none; }
  .car { scroll-snap-align: center; }
}

/* ------------------------------------------------------------
   المزايا
   ------------------------------------------------------------ */
/* 6 مزايا: نثبّت 3 أعمدة ليكون الصف مكتملاً (3+3) بدل 4+2 وخانة فارغة */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why__cell {
  background: var(--ink);
  padding: var(--s-10) var(--s-8);
  display: grid; gap: var(--s-5); align-content: start;
  transition: background-color var(--t) var(--ease);
}
.why__cell:hover { background: var(--surface); }
.why__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 50%;
}
.why__icon svg { width: 21px; height: 21px; }
.why__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); }
.why__text { color: var(--muted); font-size: var(--fs-sm); }

@media (max-width: 1024px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .why__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   الخطوات — عنوان ثابت + خطوات متحرّكة
   ------------------------------------------------------------ */
.steps__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-16); align-items: start; }
.steps__sticky { position: sticky; top: calc(var(--header-h) + 3rem); }
.steps__list { display: grid; gap: var(--s-4); }

.step {
  display: flex; gap: var(--s-6);
  padding: var(--s-8);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.step:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.step__num {
  flex: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-2xl);
  color: var(--accent-text);
  line-height: 1;
  opacity: .7;
}
.step__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); margin-block-end: var(--s-2); }
.step__text { color: var(--muted); font-size: var(--fs-sm); }

@media (max-width: 900px) {
  .steps__grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .steps__sticky { position: static; }
}

/* ------------------------------------------------------------
   الخدمات
   ------------------------------------------------------------ */
.services__list { border-block-start: 1px solid var(--line-soft); }
.service {
  display: grid;
  grid-template-columns: auto 1fr 1.3fr auto;
  align-items: center;
  gap: var(--s-8);
  padding-block: var(--s-8);
  border-block-end: 1px solid var(--line-soft);
  /* transform وليس padding: تحريك الحشو يُعيد حساب التخطيط
     في كل إطار فيبدو متقطّعاً — transform يعمل على الـGPU. */
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
  will-change: transform;
}
[dir="ltr"] .service:hover { transform: translateX(14px); }
[dir="rtl"] .service:hover { transform: translateX(-14px); }
.service__idx { font-size: var(--fs-xs); color: var(--faint); font-family: var(--font-display); }
.service__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-2xl); }
.service:hover .service__title { color: var(--accent-text); }
.service__text { color: var(--muted); font-size: var(--fs-sm); }
.service__arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted);
  transition: all var(--t) var(--ease);
}
.service:hover .service__arrow { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.service__arrow svg { width: 17px; height: 17px; }

@media (max-width: 900px) {
  .service { grid-template-columns: auto 1fr; gap: var(--s-4) var(--s-5); }
  .service__text { grid-column: 1 / -1; }
  .service__arrow { display: none; }
}

/* ------------------------------------------------------------
   الباقات
   ------------------------------------------------------------ */
.plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--s-6); }
.plan {
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-6);
  padding: var(--s-10) var(--s-8);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.plan--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface));
  box-shadow: var(--shadow-accent);
}
.plan__flag { position: absolute; inset-block-start: 0; inset-inline-end: var(--s-8); translate: 0 -50%; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); }
.plan__save { color: var(--accent-text); font-size: var(--fs-sm); margin-block-start: var(--s-1); }
.plan__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--accent-text);
  line-height: 1.3;
}
.plan__list { display: grid; gap: var(--s-3); flex: 1; }
.plan__list li { display: flex; gap: var(--s-3); font-size: var(--fs-sm); color: var(--muted); }
.plan__list svg { flex: none; width: 17px; height: 17px; color: var(--accent); margin-block-start: 3px; }

/* ------------------------------------------------------------
   آراء العملاء
   ------------------------------------------------------------ */
.quote {
  display: flex; flex-direction: column; gap: var(--s-6);
  padding: var(--s-10) var(--s-8);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--surface);
  height: 100%;
}
.quote__text { font-size: var(--fs-lg); flex: 1; }
.quote__author { display: flex; align-items: center; gap: var(--s-4); }
.quote__avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 800;
  flex: none;
}
.quote__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); }
.quote__meta { font-size: var(--fs-xs); color: var(--faint); }

/* ------------------------------------------------------------
   الأسئلة الشائعة
   ------------------------------------------------------------ */
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: var(--s-16); align-items: start; }
.faq__sticky { position: sticky; top: calc(var(--header-h) + 3rem); }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .faq__sticky { position: static; }
}

/* ------------------------------------------------------------
   شريط الدعوة
   ------------------------------------------------------------ */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-2xl);
  padding: clamp(3.5rem, 2rem + 7vw, 8rem) var(--gutter);
  text-align: center;
}
.cta__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,7,8,.72), rgba(7,7,8,.9));
}
.cta__title { font-size: var(--fs-mega); color: #F4F2EE; }
.cta__lead { margin-block: var(--s-6) var(--s-10); color: rgba(244,242,238,.72); font-size: var(--fs-lg); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }
.cta .btn--ghost { color: #F4F2EE; border-color: rgba(255,255,255,.28); }
.cta .btn--ghost::before { background: #F4F2EE; }
.cta .btn--ghost:hover { color: #070708; }

/* ------------------------------------------------------------
   التواصل
   ------------------------------------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__form { display: grid; gap: var(--s-5); }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 520px) { .contact__row { grid-template-columns: 1fr; } }

.contact__cards { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.contact-card {
  display: flex; align-items: center; gap: var(--s-5);
  padding: var(--s-6);
  background: var(--ink);
  transition: background-color var(--t) var(--ease);
}
.contact-card:hover { background: var(--surface); }
.contact-card__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 50%; }
.contact-card__icon svg { width: 19px; height: 19px; }
.contact-card__label { font-size: var(--fs-xs); color: var(--faint); }
.contact-card__value { font-size: var(--fs-sm); word-break: break-word; }

.map { margin-block-start: var(--s-5); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); line-height: 0; }
.map iframe { width: 100%; height: 280px; border: 0; }
:root:not([data-theme="light"]) .map iframe { filter: invert(.92) hue-rotate(180deg) brightness(.9) contrast(.88); }

/* ------------------------------------------------------------
   الفوتر
   ------------------------------------------------------------ */
.site-footer { border-block-start: 1px solid var(--line-soft); padding-block-start: var(--section-y); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s-10) var(--s-8);
  padding-block-end: var(--s-16);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__about p { margin-block-start: var(--s-5); color: var(--muted); font-size: var(--fs-sm); max-width: 38ch; }

.footer-col__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); color: var(--faint); margin-block-end: var(--s-5); }
.footer-col ul { display: grid; gap: var(--s-3); }
.footer-col a, .footer-col span { font-size: var(--fs-sm); color: var(--muted); transition: color var(--t) var(--ease); }
.footer-col a:hover { color: var(--accent-text); }

.socials { display: flex; gap: var(--s-3); margin-block-start: var(--s-6); }
.social {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted);
  transition: all var(--t) var(--ease);
}
.social:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.social svg { width: 18px; height: 18px; }

/* الاسم الضخم في أسفل الصفحة */
.site-footer__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 10.5vw, 9.5rem);
  line-height: .9;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  padding-block: var(--s-8);
  user-select: none;
}
/* الحروف العربية لها امتدادات علوية وسفلية — 0.9 يقصّها */
html[lang="ar"] .site-footer__word { line-height: 1.2; }

.site-footer__bottom {
  border-block-start: 1px solid var(--line-soft);
  padding-block: var(--s-6);
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--faint);
}
