/* =========================================================
   Alpha 20 — صفحة "من نحن"
   رأس الصفحة ← قصتنا ← رؤيتنا ورسالتنا ← أرقامنا ← دعوة للتواصل
   (الكمبيوتر + الجوال، عربي + إنجليزي)
   ========================================================= */
.ap-page { background: #000000; color: #FFFFFF; }
.ap-page *, .ap-page *::before, .ap-page *::after { box-sizing: border-box; }

.ap-main {
  width: min(1240px, 100% - 2 * clamp(18px, 5vw, 64px));
  margin-inline: auto;
  padding: clamp(110px, 13vw, 160px) 0 clamp(60px, 8vw, 100px);
}

/* اللغة: نعرض نسخة العربي أو الإنجليزي حسب زر EN/AR */
.ap-lang { display: none; }
html:not([lang^="en"]) .ap-lang[lang="ar"],
html[lang^="en"] .ap-lang[lang="en"] { display: block; }
.ap-lang[lang="ar"] { font-family: 'Tajawal', sans-serif; }
.ap-lang[lang="en"] { font-family: 'Poppins', 'Tajawal', sans-serif; }

/* ---------- عناصر مشتركة ---------- */
.ap-eyebrow, .ap-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 1rem;
  color: #FC723F;
}
.ap-eyebrow { font-family: 'Poppins', sans-serif; letter-spacing: .04em; }
.ap-eyebrow::before, .ap-label::before { content: ""; width: 36px; height: 2px; background: currentColor; }

.ap-h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.2;
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  background: #FC723F;
  color: #000000;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.ap-btn:hover { background: #FFFFFF; transform: translateY(-2px); }
.ap-btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 4px; }
.ap-btn--big { padding: 18px 40px; font-size: 1.15rem; }

/* كل قسم: العنوان على جهة والمحتوى على الجهة الثانية (بالكمبيوتر) */
.ap-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(56px, 8vw, 110px) 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* ---------- 1) رأس الصفحة: العنوان والكلام على اليمين ---------- */
.ap-hero {
  max-width: 820px;
  padding-bottom: clamp(56px, 8vw, 110px);
}
.ap-title {
  margin: 0;
  font-family: 'Free Palestine', 'Tajawal', sans-serif;
  font-weight: normal;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 1.05;
}
.ap-lang[lang="en"] .ap-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ap-lead {
  margin: 22px 0 30px;
  max-width: 34ch;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .85);
}

/* الذيب الكبير بتوهج وحلقات تنبض */
.ap-hero__art {
  position: relative;
  justify-self: center;
  width: min(380px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 114, 63, .35), rgba(252, 114, 63, 0) 68%);
}
.ap-hero__art img { position: relative; width: 46%; height: auto; z-index: 1; }
.ap-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1.5px solid rgba(252, 114, 63, .55);
}
.ap-ring + .ap-ring { inset: 0; border-color: rgba(252, 114, 63, .25); }
@media (prefers-reduced-motion: no-preference) {
  .ap-ring { animation: ap-ring 4.5s ease-in-out infinite; }
  .ap-ring + .ap-ring { animation-delay: 1.2s; }
}
@keyframes ap-ring {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.06); opacity: .5; }
}

/* ---------- 2) قصتنا ---------- */
.ap-story__body p {
  margin: 0 0 18px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 2;
  color: rgba(255, 255, 255, .8);
}
.ap-story__body p:last-child { margin-bottom: 0; }
.ap-story__body strong { color: #FC723F; font-weight: 800; }

/* ---------- 3) رؤيتنا ورسالتنا ---------- */
.ap-vm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.ap-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .3s ease, transform .3s ease;
}
.ap-card:hover { border-color: rgba(252, 114, 63, .55); transform: translateY(-3px); }
.ap-card__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(252, 114, 63, .12);
  color: #FC723F;
  margin-bottom: 18px;
}
.ap-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-card__title { margin: 0 0 10px; font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.ap-card__text { margin: 0; font-size: 1.08rem; line-height: 1.95; color: rgba(255, 255, 255, .78); }

/* ---------- 4) أرقامنا ---------- */
.ap-nums__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.ap-num {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(160deg, rgba(252, 114, 63, .10), rgba(252, 114, 63, 0) 60%);
}
.ap-num__value {
  display: block;
  direction: ltr;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1;
  color: #FC723F;
}
.ap-lang[lang="ar"] .ap-num__value { text-align: right; }
.ap-num__label {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .85);
}

/* ---------- 5) دعوة للتواصل ---------- */
.ap-final {
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(20px, 4vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.ap-final__text {
  margin: 0 0 30px;
  font-family: 'Free Palestine', 'Tajawal', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 1.25;
}
.ap-final__text em { font-style: normal; color: #FC723F; }
.ap-lang[lang="en"] .ap-final__text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

/* ---------- الظهور الهادي وأنت تنزل ---------- */
.ap-rv { transition: opacity .9s ease, translate 1s cubic-bezier(.16, 1, .3, 1); }
.ap-rv:not(.is-in) { opacity: 0; translate: 0 32px; }
.ap-rv[data-d="1"] { transition-delay: .1s; }
.ap-rv[data-d="2"] { transition-delay: .2s; }
.ap-rv[data-d="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .ap-rv, .ap-rv:not(.is-in) { opacity: 1; translate: none; transition: none; }
}

/* ---------- الجوال والتابلت ---------- */
@media (max-width: 900px) {
  .ap-block { grid-template-columns: 1fr; gap: 20px; }
  .ap-vm__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ap-nums__grid { grid-template-columns: 1fr 1fr; }
  .ap-num__label { font-size: 1rem; }
  .ap-btn { width: 100%; }
  .ap-final .ap-btn { width: auto; }
}

/* =========================================================
   أرقامنا (4 أرقام): مربعين فوق ومربعين تحت (الكمبيوتر + الجوال)
   ========================================================= */
.ap-nums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* كل الأرقام بنفس الحجم، والحجم يتناسب مع عرض القسم عشان أطول رقم (+2,000) يدخل الكرت */
.ap-nums__grid { container-type: inline-size; }
.ap-num__value {
  font-size: clamp(2rem, 7.5cqi, 4.8rem);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .ap-num__value { font-size: clamp(1.6rem, 8.2cqi, 3.6rem); }
}
