/* ============================================================
   U SUSTAIN — نظام التصميم
   ============================================================ */

:root {
  /* الألوان */
  --ink: #071f18;            /* زمردي شبه أسود */
  --emerald-900: #0a2e22;
  --emerald-800: #0e3b2c;
  --emerald-700: #134a37;
  --emerald-500: #1d6b4f;
  --emerald-300: #4fa583;
  --amber: #ff8a3d;          /* برتقالي السترات */
  --amber-deep: #f2681c;
  --sand: #f6f1e7;           /* رملي فاتح */
  --sand-2: #efe7d8;
  --white: #ffffff;
  --line: rgba(10, 46, 34, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  /* الخطوط */
  --font-head: "Alexandria", sans-serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;

  /* الإيقاع */
  --radius: 20px;
  --radius-lg: 32px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

::selection { background: var(--amber); color: var(--ink); }

/* ============================================================
   شاشة التحميل
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.preloader-inner { text-align: center; }

.preloader-blocks {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
}

.preloader-blocks .pb {
  width: 34px;
  height: 22px;
  border-radius: 4px;
  background: var(--sand);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}

.preloader-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.35em;
  color: var(--sand);
}

.preloader-sub {
  margin-top: 8px;
  color: var(--emerald-300);
  font-size: 0.95rem;
}

/* ============================================================
   شريط التقدم + الهيدر
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  transform-origin: right center;
  transform: scaleX(0);
  z-index: 900;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(16px, 4vw, 48px);
  z-index: 800;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 31, 24, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--white);
  font-size: 1.05rem;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.brand-mark span {
  width: 26px;
  height: 7px;
  border-radius: 2px;
  background: var(--sand);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.brand-mark span:nth-child(2) { background: var(--amber); width: 20px; }
.brand-mark span:nth-child(3) { width: 14px; }

.main-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-block: 6px;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: var(--amber);
  transition: width 0.3s ease;
}

.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease,
    background 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(242, 104, 28, 0.35);
}

.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(242, 104, 28, 0.45);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.btn-header {
  background: var(--amber);
  color: var(--ink);
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-header:hover { background: var(--amber-deep); transform: translateY(-2px); }

.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   1 · الواجهة الرئيسية
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg img { transform: scale(1.15); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 31, 24, 0.62) 0%, rgba(7, 31, 24, 0.25) 45%, rgba(7, 31, 24, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(880px, 92%);
  padding-top: var(--header-h);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sand);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(8px);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.25);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.2vw, 5.2rem);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--amber);
  position: relative;
  display: inline-block;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-title .word > span {
  display: inline-block;
  will-change: transform;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.chip {
  font-size: 0.8rem;
  color: var(--sand);
  border: 1px solid var(--line-light);
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 26px;
  right: 50%;
  transform: translateX(50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.cue-line {
  width: 2px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.cue-line i {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--amber);
  animation: cueDrop 1.6s ease-in-out infinite;
}

@keyframes cueDrop {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(280%); }
}

/* ============================================================
   الشريط المتحرك
   ============================================================ */
.marquee {
  background: var(--ink);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 18px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-inline-end: 40px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--sand);
}

.marquee-group i {
  color: var(--amber);
  font-style: normal;
}

/* ============================================================
   عناصر مشتركة
   ============================================================ */
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--amber-deep);
  background: rgba(242, 104, 28, 0.1);
  border: 1px solid rgba(242, 104, 28, 0.25);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-tag.light {
  color: var(--amber);
  background: rgba(255, 138, 61, 0.12);
  border-color: rgba(255, 138, 61, 0.3);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 22px;
}

.section-title.light { color: var(--white); }

.section-title .line {
  display: block;
  overflow: hidden;
}

.section-title .line > span {
  display: block;
  will-change: transform;
}

/* ============================================================
   2 · من نحن
   ============================================================ */
.story {
  padding-block: clamp(90px, 12vw, 150px);
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(29, 107, 79, 0.07), transparent 60%),
    var(--sand);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.story .lead {
  font-size: 1.12rem;
  margin-bottom: 16px;
}

.story-text p { color: rgba(7, 31, 24, 0.78); }

.story-points {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.story-points li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(10, 46, 34, 0.05);
}

.story-points li i {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--amber-deep);
  font-size: 0.9rem;
}

.story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(10, 46, 34, 0.22);
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.story-badge img { height: 16px; width: auto; }

/* ============================================================
   3 · الفريق
   ============================================================ */
.team { background: var(--ink); }

.team-pin {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 70px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 15% 10%, rgba(29, 107, 79, 0.35), transparent 60%),
    radial-gradient(700px 420px at 90% 90%, rgba(242, 104, 28, 0.12), transparent 60%),
    var(--ink);
}

.team-head { text-align: center; margin-bottom: clamp(30px, 5vh, 60px); }

.team-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
}

.team-card {
  text-align: center;
  will-change: transform;
}

.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  background: var(--emerald-800);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-photo img { transform: scale(1.06); }

.team-card h3 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.05rem;
  margin-top: 16px;
}

.team-card p {
  color: var(--emerald-300);
  font-size: 0.86rem;
}

.team-tail {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  margin-top: clamp(28px, 4vh, 48px);
  font-size: 1.05rem;
}

/* ============================================================
   4 · مشهد البناء
   ============================================================ */
.build { background: var(--sand-2); }

.build-pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 40px;
  overflow: hidden;
}

.build-head {
  text-align: center;
  margin-bottom: 26px;
}

.build-head .section-title { margin-bottom: 8px; }

.build-hint {
  color: rgba(7, 31, 24, 0.55);
  font-size: 0.9rem;
}

.build-layout {
  width: min(1240px, 94%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: stretch;
}

/* — المشهد — */
.scene-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(10, 46, 34, 0.25);
  border: 1px solid var(--line);
}

.scene {
  position: relative;
  width: 100%;
  height: clamp(380px, 58vh, 560px);
  overflow: hidden;
}

.scene-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #a8dcee 0%, #cfeef5 55%, #f4e9d2 100%);
}

.scene-dusk {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #12314f 0%, #7a4a7a 45%, #f2884b 100%);
  opacity: 0;
}

.scene-sun {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8e1, #ffd54d 60%, #ffb300);
  box-shadow: 0 0 60px 20px rgba(255, 200, 80, 0.55);
}

.scene-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16%;
  background: linear-gradient(180deg, #d9c9a3, #c3b088);
  border-top: 3px solid rgba(122, 100, 60, 0.35);
}

/* الرافعة */
.crane {
  position: absolute;
  bottom: 16%;
  left: 8%;
  width: 220px;
  height: 78%;
  pointer-events: none;
}

.crane-mast {
  position: absolute;
  bottom: 0;
  left: 24px;
  width: 14px;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--amber-deep) 0 8px,
    #d8570f 8px 16px
  );
  border-radius: 3px;
}

.crane-jib {
  position: absolute;
  top: 0;
  left: 24px;
  width: 190px;
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber-deep) 0 8px,
    #d8570f 8px 16px
  );
  border-radius: 3px;
  transform-origin: left center;
}

.crane-counter {
  position: absolute;
  top: -6px;
  left: 0;
  width: 34px;
  height: 24px;
  background: #9a4a10;
  border-radius: 4px;
}

.crane-cable {
  position: absolute;
  top: 12px;
  left: 178px;
  width: 2px;
  height: 60px;
  background: #444;
  transform-origin: top center;
}

.crane-cable::after {
  content: "";
  position: absolute;
  bottom: -14px;
  right: -8px;
  width: 18px;
  height: 14px;
  background: #666;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

/* — الجدار والقوالب — */
.wall {
  position: absolute;
  bottom: 16%;
  right: 50%;
  transform: translateX(50%);
  width: min(72%, 460px);
  height: 66%;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.foundation {
  width: 108%;
  height: 18px;
  background: linear-gradient(180deg, #9aa0a6, #7d8288);
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transform-origin: center bottom;
}

.blocks {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column-reverse;
}

.block-row {
  display: flex;
  width: 100%;
  flex: 1;
}

.gblock {
  position: relative;
  flex: 1;
  margin: 1px;
  border-radius: 3px;
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.9) 0 18%, transparent 22%),
    radial-gradient(circle at 62% 65%, rgba(255, 255, 255, 0.7) 0 14%, transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #eef0ee 70%, #dfe3df 100%);
  box-shadow:
    inset 0 -3px 0 rgba(120, 130, 125, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    0 3px 6px rgba(30, 40, 35, 0.12);
  will-change: transform, opacity;
}

.gblock::before {
  /* أسنان التعشيق العلوية */
  content: "";
  position: absolute;
  top: -1px;
  left: 6%;
  right: 6%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(150, 158, 152, 0.45) 0 8px,
    transparent 8px 16px
  );
  border-radius: 2px;
}

.gblock::after {
  /* الروابط البلاستيكية الرمادية */
  content: "";
  position: absolute;
  inset: 22% 12%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 26%,
    rgba(128, 136, 142, 0.5) 26% 30%,
    transparent 30% 56%
  );
  opacity: 0.6;
}

/* الفتحات */
.door-frame {
  position: absolute;
  bottom: 18px;
  right: 12%;
  width: 17%;
  height: 46%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #123c2d, #0b2b20);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform-origin: bottom center;
}

.door-frame i {
  position: absolute;
  top: 50%;
  left: 22%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.win-frame {
  position: absolute;
  top: 22%;
  left: 16%;
  width: 26%;
  height: 26%;
  border-radius: 6px;
  background: #10352a;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.85);
  opacity: 0;
}

.win-frame .glass {
  position: absolute;
  inset: 5px;
  border-radius: 3px;
  background: linear-gradient(135deg, #bfe8f2 0%, #7fc6dc 50%, #a9dbe9 100%);
  overflow: hidden;
}

.win-frame .glass::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 40%;
  height: 160%;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(20deg);
}

/* صب الخرسانة */
.pour-overlay {
  position: absolute;
  inset: 18px 0 18px 0;
  background: linear-gradient(180deg, rgba(108, 114, 120, 0.85), rgba(84, 90, 96, 0.9));
  transform: scaleY(0);
  transform-origin: bottom center;
  mix-blend-mode: multiply;
  border-radius: 4px;
  pointer-events: none;
}

/* السقف */
.roof-slab {
  position: absolute;
  top: -4%;
  right: -5%;
  left: -5%;
  height: 12%;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #e8eae7 60%, #d7dbd6 100%);
  box-shadow:
    inset 0 -4px 0 rgba(120, 130, 125, 0.3),
    0 10px 24px rgba(30, 40, 35, 0.2);
  opacity: 0;
}

.roof-slab::after {
  content: "";
  position: absolute;
  inset: 30% 4%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 40px,
    rgba(128, 136, 142, 0.4) 40px 44px
  );
}

/* النخيل */
.palm {
  position: absolute;
  bottom: 15%;
  width: 90px;
  height: auto;
  opacity: 0;
  transform-origin: bottom center;
}

.palm-1 { right: 6%; }
.palm-2 { left: 4%; width: 70px; }

/* — الخطوات — */
.build-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding-inline-start: 24px;
}

.steps-progress {
  position: absolute;
  top: 6%;
  bottom: 6%;
  right: 0;
  width: 3px;
  background: rgba(10, 46, 34, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.steps-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  transform: scaleY(0);
  transform-origin: top center;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  opacity: 0.38;
  transition: opacity 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.step.is-active {
  opacity: 1;
  border-color: rgba(242, 104, 28, 0.45);
  box-shadow: 0 14px 34px rgba(10, 46, 34, 0.12);
}

.step b {
  font-family: var(--font-head);
  color: var(--amber-deep);
  font-size: 1rem;
}

.step h4 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.step p {
  font-size: 0.86rem;
  color: rgba(7, 31, 24, 0.7);
  line-height: 1.7;
}

/* ============================================================
   5 · المنتجات
   ============================================================ */
.products {
  background:
    radial-gradient(1000px 500px at 10% 15%, rgba(29, 107, 79, 0.3), transparent 55%),
    var(--emerald-900);
  padding-block: clamp(90px, 12vw, 150px);
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(36px, 5vw, 60px);
  text-align: right;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.product-media {
  background: radial-gradient(circle at 50% 40%, #124634, #0a2e22 75%);
  padding: 34px;
  display: grid;
  place-items: center;
}

.product-media img {
  max-height: 280px;
  width: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-media img { transform: scale(1.06) rotate(-1.5deg); }

.product-info { padding: 28px 30px 34px; }

.product-info h3 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-info > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.product-info ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.product-info li {
  color: var(--emerald-300);
  font-size: 0.9rem;
  padding-inline-start: 22px;
  position: relative;
}

.product-info li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--amber);
  font-weight: 700;
}

.products-badges {
  margin-top: clamp(30px, 4vw, 50px);
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.products-badges span {
  color: var(--sand);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.86rem;
}

/* ============================================================
   6 · الأرقام
   ============================================================ */
.stats {
  padding-block: clamp(90px, 12vw, 150px);
  background: var(--sand);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: clamp(36px, 5vw, 60px);
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 44px) 18px;
  box-shadow: 0 14px 40px rgba(10, 46, 34, 0.07);
  will-change: transform;
}

.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--emerald-700);
  line-height: 1.1;
  direction: ltr;
}

.stat b small {
  font-size: 0.45em;
  color: var(--amber-deep);
  font-weight: 700;
}

.stat p {
  margin-top: 10px;
  color: rgba(7, 31, 24, 0.7);
  font-size: 0.95rem;
}

/* ============================================================
   7 · المشاريع (سكرول أفقي)
   ============================================================ */
.projects { background: var(--ink); }

.projects-pin {
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.projects-track {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.5vw, 48px);
  padding-inline: clamp(24px, 6vw, 90px);
  width: max-content;
  will-change: transform;
}

.project-intro {
  width: min(420px, 82vw);
  flex-shrink: 0;
}

.project-intro p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}

.drag-cue {
  margin-top: 26px;
  color: var(--amber);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.project-card {
  position: relative;
  width: min(560px, 78vw);
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.project-card img {
  width: 100%;
  height: min(62vh, 520px);
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.project-meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 60px 28px 26px;
  background: linear-gradient(180deg, transparent, rgba(7, 31, 24, 0.92));
  color: var(--white);
}

.project-meta span {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
}

.project-meta h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-block: 6px 4px;
}

.project-meta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

/* ============================================================
   الشركاء
   ============================================================ */
.partners {
  background: var(--emerald-900);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 26px;
  overflow: hidden;
}

.partners-track { display: flex; width: max-content; }

.partners-group {
  display: flex;
  gap: clamp(36px, 5vw, 70px);
  padding-inline-end: clamp(36px, 5vw, 70px);
  align-items: center;
}

.partners-group span {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.partners-group span:hover { color: var(--sand); }

/* ============================================================
   8 · تواصل معنا
   ============================================================ */
.contact {
  position: relative;
  background:
    radial-gradient(1000px 560px at 50% 0%, rgba(29, 107, 79, 0.4), transparent 60%),
    var(--ink);
  padding-block: clamp(100px, 13vw, 170px);
  text-align: center;
  overflow: hidden;
}

.contact-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 18px;
}

.contact-title .line { display: block; overflow: hidden; }
.contact-title .line > span { display: block; }

.contact-sub {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 6vw, 70px);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin-inline: auto;
}

.c-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--sand);
}

.c-card b {
  display: block;
  font-family: var(--font-head);
  margin-bottom: 6px;
  color: var(--white);
}

.c-card span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   الفوتر
   ============================================================ */
.site-footer {
  background: #051710;
  color: var(--sand);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  align-items: start;
  padding-bottom: 40px;
}

.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-brand b {
  font-family: var(--font-head);
  letter-spacing: 0.18em;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-partner span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 10px;
}

.footer-partner img {
  height: 18px;
  width: auto;
  filter: brightness(1.4);
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-badges span {
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding-block: 18px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   استجابة الشاشات
   ============================================================ */
@media (max-width: 1024px) {
  .build-layout { grid-template-columns: 1fr; }
  .build-steps {
    flex-direction: row;
    overflow-x: auto;
    padding-inline-start: 0;
    padding-bottom: 8px;
  }
  .steps-progress { display: none; }
  .step { min-width: 240px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(7, 31, 24, 0.97);
    flex-direction: column;
    padding: 26px 8vw 34px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 790;
  }
  .main-nav.is-open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }

  .story-grid { grid-template-columns: 1fr; }
  .story-media img { min-height: 320px; }

  .team-row { grid-template-columns: repeat(2, 1fr); }

  .products-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-cards { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .team-row { gap: 12px; }
  .team-card h3 { font-size: 0.9rem; }
  .team-card p { font-size: 0.75rem; }
  .crane { display: none; }
  .wall { width: 84%; }
}

/* تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cue-line i { animation: none; }
}
