/* =========================================================
   Alpha 20 — قسم "من نحن"
   كلام حر بدون إطارات + 3 نقاط بنفس المستوى + طريق تحتهم يمشي فيه الذيب
   ========================================================= */
#about.ab-about {
  --ab-orange: #FC723F;
  position: relative;
  min-height: 0;
  padding-block: clamp(64px, 8vw, 110px);
  background: transparent;           /* ياخذ لون الخلفية الأسود من تدرّج الموقع */
  color: #FFFFFF;
  font-family: 'Tajawal', sans-serif;
  overflow: hidden;
}
html[lang^="en"] #about.ab-about { font-family: 'Poppins', 'Tajawal', sans-serif; }
#about, #about *, #about *::before, #about *::after { box-sizing: border-box; }
#about .ab-wrap { width: min(1280px, 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; }

/* ---------- المقدمة ---------- */
.ab-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.05rem; font-weight: 700; color: var(--ab-orange); }
.ab-eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; }
#about .ab-title { margin: 0; font-family: 'Free Palestine', 'Tajawal', sans-serif; font-weight: normal; font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 1.15; color: #FFFFFF; }
#about .ab-title em { font-style: normal; color: var(--ab-orange); }
html[lang^="en"] #about .ab-title { font-family: 'Poppins', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ab-lead { margin: 16px 0 0; max-width: 50ch; font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.8; color: rgba(255, 255, 255, .8); }

/* ---------- النقاط الثلاث بنفس المستوى ---------- */
.ab-points {
  position: relative;
  margin-top: clamp(48px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto clamp(130px, 13vw, 180px);   /* الصف الثاني = مكان الطريق */
  column-gap: clamp(28px, 4vw, 64px);
}
.ab-road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }

.ab-point { position: relative; z-index: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; }

/* الرقم الكبير المفرّغ وراء العنوان */
.ab-point__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(4.5rem, 8vw, 8rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(252, 114, 63, .8);
  margin-bottom: -.25em;
  user-select: none;
}
#about .ab-point__title { position: relative; margin: 0; font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1.2; color: #FFFFFF; }
.ab-point__text { margin: 12px 0 0; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.85; color: rgba(255, 255, 255, .72); }
.ab-point__text em { font-style: normal; color: var(--ab-orange); font-weight: 800; }

/* الخدمات كسطر بنقاط برتقالية */
.ab-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-weight: 800; font-size: clamp(.95rem, 1.1vw, 1.1rem); }
.ab-tags li { display: inline-flex; align-items: center; gap: 8px; }
.ab-tags li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ab-orange); box-shadow: 0 0 10px var(--ab-orange); }

.ab-cta { margin-top: 18px; padding: 12px 26px; border-radius: 999px; background: var(--ab-orange); color: #000; font-weight: 800; text-decoration: none; transition: background-color .2s, transform .2s; }
.ab-cta:hover { background: #FFFFFF; transform: translateY(-2px); }
.ab-cta:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 4px; }

/* محطة على الطريق تحت كل نقطة */
.ab-stop {
  position: absolute;
  z-index: 1;
  width: 22px; height: 22px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #000;
  border: 3px solid var(--ab-orange);
  scale: .7;
  transition: background-color .4s ease, box-shadow .5s ease, scale .5s cubic-bezier(.34, 1.56, .64, 1);
}
.ab-stop.is-lit { background: var(--ab-orange); scale: 1; box-shadow: 0 0 0 8px rgba(252, 114, 63, .18), 0 0 30px rgba(252, 114, 63, .8); }

/* آخر الطريق: صورة الذيب */
.ab-goal {
  position: absolute;
  z-index: 2;
  width: clamp(110px, 11vw, 150px);
  aspect-ratio: 1;
  translate: -50% -50%;
  opacity: 0;          /* مخفية لين يوصل لها الذيب */
  scale: .6;
  transition: opacity .6s ease, scale .7s cubic-bezier(.34, 1.56, .64, 1);
}
.ab-goal::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(252, 114, 63, .45), rgba(252, 114, 63, 0) 70%); }
.ab-goal.is-lit { opacity: 1; scale: 1; }
.ab-goal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ab-goal__fallback { position: absolute; inset: 0; display: none; place-items: center; border-radius: 50%; background: #000; border: 2px solid var(--ab-orange); }
.ab-goal__fallback img { width: 50%; height: auto; }
.ab-goal.is-empty .ab-goal__img { display: none; }
.ab-goal.is-empty .ab-goal__fallback { display: grid; }

/* الذيب اللي يمشي على الطريق */
.ab-walker { position: absolute; z-index: 3; left: 0; top: 0; width: 48px; height: 48px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; background: var(--ab-orange); box-shadow: 0 0 0 3px #FFFFFF, 0 0 26px rgba(252, 114, 63, .7); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ab-walker img { width: 58%; height: auto; display: block; }
.ab-walker.is-on { opacity: 1; }

/* ---------- الظهور ---------- */
[data-reveal] .ab-rv { transition: opacity .9s ease, translate 1s cubic-bezier(.16, 1, .3, 1); }
[data-reveal]:not(.is-in) .ab-rv { opacity: 0; translate: 0 36px; }
[data-reveal] .ab-rv[data-d="1"] { transition-delay: .12s; }
[data-reveal] .ab-rv[data-d="2"] { transition-delay: .24s; }
/* كلام كل نقطة يطلع لما يوصلها الذيب */
.ab-point > * { transition: opacity .8s ease, translate .9s cubic-bezier(.16, 1, .3, 1); }
.ab-point:not(.is-lit) > * { opacity: 0; translate: 0 26px; }
.ab-point.is-lit > *:nth-child(2) { transition-delay: .1s; }
.ab-point.is-lit > *:nth-child(3) { transition-delay: .2s; }
.ab-point.is-lit > *:nth-child(4) { transition-delay: .3s; }
.ab-no-anim, .ab-no-anim * { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  #about * { transition: none !important; }
  [data-reveal]:not(.is-in) .ab-rv, .ab-point:not(.is-lit) > * { opacity: 1; translate: none; }
}

/* ---------- الجوال: النقاط تحت بعض، والطريق على الطرف ---------- */
@media (max-width: 900px) {
  .ab-points {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    row-gap: 56px;
    padding-inline-end: 52px;
    padding-bottom: 150px;           /* مكان صورة الذيب آخر الطريق */
  }
  .ab-point { grid-row: auto; }
  .ab-walker { width: 40px; height: 40px; }
  .ab-stop { width: 18px; height: 18px; }
}

/* =========================================================
   الإضافات
   ========================================================= */

/* 1) آثار أقدام الذيب على الطريق */
.ab-paw {
  position: absolute;
  z-index: 1;
  width: 14px; height: 14px;
  translate: -50% -50%;
  pointer-events: none;
  animation: ab-paw-fade 1.6s ease-out forwards;
}
.ab-paw svg { width: 100%; height: 100%; fill: var(--ab-orange); }
@keyframes ab-paw-fade {
  0%   { opacity: 0; scale: .4; }
  15%  { opacity: .95; scale: 1; }
  100% { opacity: 0; scale: .9; }
}

/* 2) الأرقام المفرّغة تتعبّى برتقالي لما يوصلها الذيب */
.ab-point__num {
  background-image: linear-gradient(to top, rgba(252, 114, 63, .45) 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 0;
  -webkit-background-clip: text;
          background-clip: text;
  transition: background-position 1.1s cubic-bezier(.45, 0, .25, 1) .15s, opacity .8s ease, translate .9s cubic-bezier(.16, 1, .3, 1);
}
.ab-point.is-lit .ab-point__num { background-position: 0 100%; }

/* 4) كلمات الخدمات تنوّر وحدة ورا الثانية */
.ab-tags li { opacity: .35; transition: opacity .4s ease, color .4s ease; }
.ab-tags li::before { transition: scale .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease; scale: .6; box-shadow: none; }
.ab-tags li.is-on { opacity: 1; }
.ab-tags li.is-on::before { scale: 1.2; box-shadow: 0 0 12px var(--ab-orange); }

/* 5) تمرير الماوس على نقطة: المؤشر يتغير ويبين إنها تفاعلية */
@media (hover: hover) {
  .ab-points.is-ready .ab-point { cursor: pointer; }
  .ab-points.is-ready .ab-point:hover .ab-point__title { color: var(--ab-orange); transition: color .3s ease; }
}

/* 6) عواء الوصول: دوائر نبض من صورة الذيب + زر "ابدأ مشروعك" ينبض */
.ab-goal__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ab-orange);
  opacity: 0;
  pointer-events: none;
}
.ab-goal.is-howl .ab-goal__ring { animation: ab-howl 1.6s ease-out forwards; }
.ab-goal.is-howl .ab-goal__ring:nth-of-type(2) { animation-delay: .25s; }
.ab-goal.is-howl .ab-goal__ring:nth-of-type(3) { animation-delay: .5s; }
@keyframes ab-howl {
  0%   { opacity: .9; scale: 1; }
  100% { opacity: 0; scale: 2.2; }
}
.ab-cta.is-pulse { animation: ab-cta-pulse 1s ease-out 2; }
@keyframes ab-cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(252, 114, 63, .7); scale: 1; }
  40%  { scale: 1.06; }
  100% { box-shadow: 0 0 0 18px rgba(252, 114, 63, 0); scale: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-paw { display: none; }
  .ab-goal.is-howl .ab-goal__ring, .ab-cta.is-pulse { animation: none; }
}