/* الخط المعتمد: DIN Next LT W23 — يُفضّل رفع ملفات woff2 في fonts/ وإلغاء التعليق:
   @font-face {
     font-family: "DIN Next LT W23";
     src: url("../fonts/DINNextLTArabic-Regular.woff2") format("woff2");
     font-weight: 400;
     font-display: swap;
   }
*/
@font-face {
  font-family: "DIN Next LT W23";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    local("DIN Next LT W23"),
    local("DIN Next Arabic"),
    local("DIN Next LT Arabic");
}

@font-face {
  font-family: "DIN Next LT W23";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    local("DIN Next LT W23 Bold"),
    local("DIN Next Arabic Bold");
}

:root {
  --c-deep: #250e42;
  --c-muted: #3b2451;
  --c-accent: #bf325c;
  --c-accent-2: #da3b4f;
  --c-light: #f1f0f0;
  --c-white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(37, 14, 66, 0.35);
  --radius: 16px;
  --radius-sm: 12px;
  --nav-h: 96px;
  --content-max: 1180px;
  /* أيقونات بخط رفيع وأسلوب هادئ */
  --icon-stroke: 1.05;
  --font: "DIN Next LT W23", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

/* يضمن ظهور عنوان القسم أسفل الشريط الثابت عند التمرير السلس */
main section[id] {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.35rem;
  line-height: 1.75;
  color: var(--c-light);
  background: var(--c-deep);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

/* يمنع الوميض: نخفي الـ nav (والعلامة التجارية) قبل أن يحسب JS تحويل FLIP.
   حين يُزال is-preparing يعود opacity إلى 1 بسلاسة ويظهر الشعار في منتصف الشاشة */
html.is-preparing .nav {
  opacity: 0;
}

/* أثناء القياس ومراحل إعداد FLIP — لا ننفّذ أي transition */
html.no-transition,
html.no-transition *,
html.no-transition *::before,
html.no-transition *::after {
  transition: none !important;
}

/* ——— زخرفة داخل الهيدر — تظهر أثناء التحميل فقط.
   overflow: hidden هنا (وليس على الهيدر نفسه) حتى لا تُقصّ قائمة الجوال */
.site-header__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.5s;
}

body.is-loading .site-header__deco {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.deco-halo {
  position: absolute;
  width: 80vmin;
  height: 80vmin;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 50, 92, 0.28) 0%, rgba(59, 36, 81, 0.15) 45%, transparent 70%);
  filter: blur(6px);
  animation: deco-halo 3.2s ease-in-out infinite;
}

@keyframes deco-halo {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(241, 240, 240, 0.12);
  pointer-events: none;
}

.deco-ring--a {
  width: 320px;
  height: 320px;
  border-color: rgba(218, 59, 79, 0.45);
  animation: deco-spin 4.5s linear infinite;
}

.deco-ring--a::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-accent-2);
  box-shadow: 0 0 16px rgba(218, 59, 79, 0.9);
  transform: translateX(-50%);
}

.deco-ring--b {
  width: 420px;
  height: 420px;
  border-color: rgba(191, 50, 92, 0.3);
  animation: deco-spin 7s linear infinite reverse;
}

.deco-ring--c {
  width: 540px;
  height: 540px;
  border-color: rgba(241, 240, 240, 0.08);
  animation: deco-spin 10s linear infinite;
}

@keyframes deco-spin {
  to { transform: rotate(360deg); }
}

.deco-bar {
  position: absolute;
  bottom: 18%;
  width: min(260px, 50vw);
  height: 3px;
  background: rgba(241, 240, 240, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.deco-bar-fill {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  animation: deco-bar 1.6s cubic-bezier(0.6, 0, 0.2, 1) infinite;
}

@keyframes deco-bar {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-accent-2);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a:hover {
  color: var(--c-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* أيقونات SVG — خطوط رفيعة، زوايا حادة قليلاً، بدون مظهر "ألعاب" */
.icon {
  display: block;
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
  color: currentColor;
  stroke: currentColor;
  fill: none;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.icon--sm {
  width: 1.05em;
  height: 1.05em;
}

.icon--md {
  width: 1.2em;
  height: 1.2em;
  opacity: 0.88;
}

.icon--nav {
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.48;
  transition: opacity 0.2s var(--ease-out);
}

.nav__link:hover .icon--nav,
.nav__link--cta .icon--nav {
  opacity: 0.9;
}

/* الهيدر نفسه هو شاشة التحميل — يتحول إلى شريط تنقل عند انتهاء التحميل.
   ارتفاع صريح (= nav + padding) حتى يعمل transition بين 100dvh والشريط */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: calc(var(--nav-h) + 2rem);
  padding: 1rem 1.75rem;
  background: linear-gradient(180deg, rgba(37, 14, 66, 0.92) 0%, rgba(37, 14, 66, 0.65) 70%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    height 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    padding 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    box-shadow 0.4s var(--ease-out);
}

/* حالة التحميل: الهيدر يملأ الشاشة ويعرض خلفية التحميل */
body.is-loading .site-header {
  height: 100vh;
  height: 100dvh;
  padding: 0 1.75rem;
  background: radial-gradient(circle at 50% 40%, #3b2451 0%, #250e42 55%, #1a0930 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  background: rgba(37, 14, 66, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nav {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--nav-h);
  height: 100%;
  position: relative;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* العلامة التجارية: شعار واحد. أثناء التحميل يُطبَّق عليه تحويل FLIP يُحسبه JS
   فيظهر في منتصف الشاشة بحجم كبير. عند انتهاء التحميل يعود إلى موضعه الطبيعي
   في الزاوية اليمنى للشريط — بنفس المنحنى، بلا تبادل شفافية، بلا عناصر مكررة */
.nav__brand {
  flex-shrink: 0;
  opacity: 0.95;
  transform-origin: center center;
  transform: translate(0, 0) scale(1);
  will-change: transform;
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s;
}

body.is-loading .nav__brand {
  transform: translate(var(--brand-tx, 0px), var(--brand-ty, 0px)) scale(var(--brand-s, 1));
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.45));
}

.nav__brand:hover {
  opacity: 1;
}

.nav__logo {
  height: 72px;
  width: auto;
  max-width: min(320px, 52vw);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--c-light);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* أثناء التحميل: روابط الشريط والـ toggle يختفيان — لا يظهر إلا الشعار */
body.is-loading .nav__list,
body.is-loading .nav__toggle {
  opacity: 0;
  pointer-events: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  color: var(--c-light);
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 999px;
  position: relative;
  transition: background 0.25s var(--ease-out), color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-white);
}

.nav__link.is-active {
  color: var(--c-white);
  background: rgba(191, 50, 92, 0.15);
}

.nav__link--cta {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  color: var(--c-white) !important;
  margin-inline-start: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.22rem;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(191, 50, 92, 0.4);
}

@media (max-width: 900px) {
  :root {
    --nav-h: 84px;
  }

  .nav__logo {
    height: 56px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: absolute;
    top: calc(var(--nav-h) + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(37, 14, 66, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
  }

  .nav__list.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__link {
    text-align: center;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2.5rem) 2rem 4.5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/background.png") center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-zoom 22s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.06);
  }
}

/* بدون طبقة تعتيم: تُعرض صورة الخلفية بألوانها الأصلية بدون أي تأثير فوقها */
.hero__overlay {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  text-align: center;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--c-white);
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.35rem;
  color: rgba(241, 240, 240, 0.88);
  max-width: 44rem;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--c-accent), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, filter 0.25s;
}

.btn .icon {
  opacity: 0.82;
}

.btn--primary {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  color: var(--c-white);
  box-shadow: 0 12px 32px rgba(191, 50, 92, 0.35);
}

.btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

/* شريط نمط بعرض النافذة ومتمركز — آمن مع شريط التمرير.
   نستخدم calc(50% - 50vw) بدلاً من left:50%;margin-left:-50vw لأن 100vw يشمل
   عرض شريط التمرير بينما عرض القسم لا يشمله، مما يُزيح الصورة جانبياً */
.section__pattern-strap {
  position: relative;
  display: block;
  width: auto;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  margin-top: 3.25rem;
  margin-bottom: 0;
  line-height: 0;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}

.section__pattern-strap .section-pattern {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  vertical-align: bottom;
}

.section {
  position: relative;
  padding: 5rem 0 0;
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  min-width: 0;
  width: 100%;
  padding: 0 2rem;
}

.section__inner--about {
  max-width: 48rem;
  margin: 0 auto;
}

.section__inner--about .about__content {
  text-align: center;
}

.section__inner--about .about__text {
  text-align: start;
  max-width: 42rem;
  margin-inline: auto;
}

.section--vision {
  background: linear-gradient(180deg, var(--c-deep) 0%, var(--c-muted) 100%);
}

.section--about {
  background: var(--c-deep);
}

.section--services {
  background: linear-gradient(180deg, var(--c-muted) 0%, var(--c-deep) 50%, var(--c-muted) 100%);
}

.section--map {
  background: linear-gradient(180deg, var(--c-muted) 0%, var(--c-deep) 100%);
  padding-bottom: 5rem;
}

.ksa-map {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 1rem auto 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

/* يحتجز ارتفاع الصندوق: كائن SVG مطلق الموضع لا يُغذّي min-content/النسبة بشكل موحّد في كل المتصفحات */
.ksa-map::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 82.4%;
}

.ksa-map__object {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
}

.section--contact {
  background: linear-gradient(180deg, var(--c-muted) 0%, #2a1a3d 100%);
}

.section__head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: 0.75rem;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  color: var(--c-white);
  font-weight: 700;
}

.section__subtitle {
  margin: 0;
  color: rgba(241, 240, 240, 0.78);
  font-size: 1.25rem;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 800px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section__pattern-strap {
    margin-top: 2.5rem;
  }
}

.vision-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.vision-card:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 50, 92, 0.35);
  box-shadow: 0 20px 50px rgba(37, 14, 66, 0.45);
}

.vision-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  margin-bottom: 1.1rem;
  margin-inline-start: 0;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.vision-card__icon .icon {
  width: 1.35rem;
  height: 1.35rem;
  opacity: 0.95;
}

.vision-card__icon--2,
.vision-card__icon--3 {
  /* موحّد مع البطاقة الأولى — بدون تدرجات وردية */
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.vision-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--c-white);
}

.vision-card__text {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(241, 240, 240, 0.82);
}

.about__text {
  color: rgba(241, 240, 240, 0.85);
  margin: 0 0 1.35rem;
}

.about__stats {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .about__stats {
    grid-template-columns: 1fr;
  }
}

.about__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.15rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0.4rem;
}

.stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.1rem;
}

.stat__icon .icon {
  width: 1.2rem;
  height: 1.2rem;
  opacity: 1;
}

.stat-num {
  display: block;
  font-size: 2.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--c-light), var(--c-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1.05rem;
  color: rgba(241, 240, 240, 0.65);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.project-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.project-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  /* مربع: 50% من ارتفاع الشريط (100px) أو 50% من عرضه — أيهما أضيق */
  width: min(100px, 50%);
  max-width: 100%;
  aspect-ratio: 1;
  height: auto;
  min-width: 0;
  color: rgba(255, 255, 255, 0.72);
  filter: none;
}

.project-card__icon .icon {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  max-width: 100%;
  max-height: 100%;
}

.project-card__media--1 {
  background-image: linear-gradient(135deg, rgba(191, 50, 92, 0.55), rgba(37, 14, 66, 0.92));
}

.project-card__media--2 {
  background-image: linear-gradient(135deg, rgba(218, 59, 79, 0.5), rgba(59, 36, 81, 0.96));
}

.project-card__media--3 {
  background-image: linear-gradient(135deg, rgba(59, 36, 81, 0.88), rgba(191, 50, 92, 0.45));
}

.project-card__title {
  margin: 0 0 0.5rem;
  padding: 1.35rem 1.35rem 0;
  font-size: 1.3rem;
  color: var(--c-white);
}

.project-card__desc {
  margin: 0;
  padding: 0 1.35rem 1.5rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(241, 240, 240, 0.75);
}

.section__inner--contact {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(241, 240, 240, 0.9);
}

.form-label__icon {
  display: flex;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.form-label__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
  opacity: 0.95;
}

.form-input {
  font-family: inherit;
  font-size: 1.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(37, 14, 66, 0.5);
  color: var(--c-light);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input::placeholder {
  color: rgba(241, 240, 240, 0.35);
}

.form-input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(191, 50, 92, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  margin: 1.25rem 0 0;
  min-height: 1.5rem;
  font-size: 1.1rem;
  color: var(--c-accent-2);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vision-grid .reveal:nth-child(1) {
  transition-delay: 0s;
}
.vision-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.vision-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.projects-grid .reveal:nth-child(1) {
  transition-delay: 0s;
}
.projects-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.projects-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.site-footer {
  position: relative;
  padding: 3rem 2rem 2rem;
  background: var(--c-deep);
  overflow: hidden;
}

.footer__inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.footer__logo {
  margin: 0 auto 1.25rem;
  opacity: 0.85;
  height: 56px;
  width: auto;
}

.footer__copy {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  color: rgba(241, 240, 240, 0.55);
}

.footer__top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1.1rem;
  color: var(--c-accent-2);
}

.footer__top .icon {
  width: 1em;
  height: 1em;
  opacity: 0.6;
}

.footer__top:hover {
  color: var(--c-accent);
}

.footer__top:hover .icon {
  opacity: 0.9;
}

/* لا نُعطّل الرسوم بناءً على إعدادات النظام حتى لا يختفي الأنيميشن عند بعض المستخدمين */
