/* ════════════════════════════════════════════════════════════════
   /ar/about — page-scoped styles (.nxa-* prefix)
   Reuses: <x-numox.page-banner/> · .nx-features · <x-numox.cta-strip/> · .nx-eyebrow
   Pulls global tokens from theme.css
   ════════════════════════════════════════════════════════════════ */

/* ── Editorial intro ───────────────────────────────────────── */
.nxa-intro { background: var(--nx-bone); padding: 120px 0 80px; }

.nxa-intro-side { display: flex; flex-direction: column; gap: 18px; }

.nxa-intro-h {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900; line-height: 1; letter-spacing: -2px;
  color: var(--nx-dark); margin: 0;
}

.nxa-intro-body { display: flex; flex-direction: column; gap: 20px; max-width: 580px; }
.nxa-intro-body p {
  font-size: 17px; font-weight: 300; color: var(--nx-body);
  line-height: 1.85; margin: 0;
}
.nxa-intro-body p b { font-weight: 800; color: var(--nx-dark); }

/* ── Numbers band ──────────────────────────────────────────── */
.nxa-numbers { background: var(--nx-grad); padding: 60px 0; position: relative; overflow: hidden; }
.nxa-numbers::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.nxa-numbers-row { position: relative; z-index: 1; }

.nxa-num-cell {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 18px; text-align: center;
  border-inline-end: 1px solid rgba(255,255,255,.18);
}
.nxa-num-cell:nth-child(4) { border-inline-end: none; }

.nxa-num {
  font-family: var(--font-num); font-size: clamp(48px, 5vw, 72px); font-weight: 900;
  color: #fff; line-height: 1; letter-spacing: -2px; display: block;
}
.nxa-num-lbl {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.78); line-height: 1.5;
}

/* ── Mission + Vision ──────────────────────────────────────── */
.nxa-mv { background: var(--nx-bone); padding: 100px 0; }

.nxa-mv-card {
  background: var(--nx-dark); color: #fff;
  border-radius: 24px; padding: 40px 36px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.nxa-mv-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(10,14,46,.18); }

.nxa-mv-card::before {
  content: ''; position: absolute; pointer-events: none;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,39,58,.30) 0%, transparent 65%);
  top: -100px; inset-inline-end: -80px;
}

.nxa-mv-card.light {
  background: #fff; color: var(--nx-dark);
  border: 1px solid var(--nx-border);
}
.nxa-mv-card.light::before { background: radial-gradient(circle, rgba(31,46,122,.10) 0%, transparent 65%); }

.nxa-mv-num {
  position: relative; z-index: 1;
  font-family: var(--font-num); font-size: 64px; font-weight: 900;
  line-height: 1; letter-spacing: -2px;
  color: var(--nx-red);
}
.nxa-mv-tag {
  position: relative; z-index: 1;
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--nx-red-soft);
}
.nxa-mv-card.light .nxa-mv-tag { color: var(--nx-red); }

.nxa-mv-title {
  position: relative; z-index: 1;
  font-size: 24px; font-weight: 800; line-height: 1.35;
  letter-spacing: -.5px; margin: 0;
}
.nxa-mv-desc {
  position: relative; z-index: 1;
  font-size: 15px; font-weight: 300; line-height: 1.85;
  color: rgba(255,255,255,.65); margin: 0;
}
.nxa-mv-card.light .nxa-mv-desc { color: var(--nx-muted); }

/* ── Distinctions ──────────────────────────────────────────── */
.nxa-distinctions { background: var(--nx-bone); padding: 100px 0; }

.nxa-badge {
  background: #fff; border: 1px solid var(--nx-border);
  border-radius: 18px; padding: 24px 26px;
  display: flex; flex-direction: column; gap: 8px;
  height: 100%;
  transition: all .25s var(--ease);
  position: relative;
}
.nxa-badge:hover {
  border-color: var(--nx-dark);
  box-shadow: 0 14px 32px rgba(10,14,46,.08);
  transform: translateY(-3px);
}
.nxa-badge-num {
  font-family: var(--font-num); font-size: 14px; font-weight: 900;
  color: var(--nx-red); letter-spacing: .04em;
}
.nxa-badge h4 {
  font-size: 18px; font-weight: 800; color: var(--nx-dark);
  margin: 0; letter-spacing: -.3px;
}
.nxa-badge p {
  font-size: 14px; font-weight: 300; color: var(--nx-muted);
  line-height: 1.7; margin: 0;
}

/* ── Partners ──────────────────────────────────────────────── */
.nxa-partners { background: var(--nx-bone); padding: 80px 0 120px; }

.nxa-partners-head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 40px; align-items: flex-start;
}

.nxa-partner-cell {
  background: #fff; border: 1px solid var(--nx-border); border-radius: 14px;
  height: 120px; padding: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, transform .25s;
}
.nxa-partner-cell:hover { border-color: var(--nx-dark); transform: translateY(-2px); }

.nxa-partner-cell img {
  max-width: 100%; max-height: 80px;
  object-fit: contain; filter: grayscale(.3); opacity: .85;
  transition: filter .25s, opacity .25s;
}
.nxa-partner-cell:hover img { filter: grayscale(0); opacity: 1; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nxa-intro       { padding: 72px 0 48px; }
  .nxa-mv          { padding: 64px 0; }
  .nxa-mv-card     { padding: 32px 24px; }
  .nxa-mv-num      { font-size: 48px; }
  .nxa-mv-title    { font-size: 20px; }
  .nxa-distinctions{ padding: 64px 0; }
  .nxa-partners    { padding: 40px 0 72px; }

  .nxa-num-cell {
    border-inline-end: none;
    border-bottom: 1px solid rgba(255,255,255,.18);
    padding: 20px 12px;
  }
  .nxa-num-cell:nth-child(4) { border-bottom: none; }
}
