/* من نحن — صفحة فاتحة بهوية آفاق */

.ab-page { background: #f5f8fc; }

.ab {
  --ab-navy: #163a7a;
  --ab-ink: #1a3a72;
  --ab-muted: #5d7194;
  direction: rtl;
  color: var(--ab-ink);
  font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  overflow: clip;
}

.ab-wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.ab-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--ab-navy);
  font-size: 0.82rem;
  font-weight: 800;
}
.ab-hero-copy .ab-kicker { justify-content: center; }
.ab-kicker span {
  width: 1.7rem;
  height: 2px;
  background: #f5a322;
}

.ab em {
  font-style: normal;
  color: #2f6ec0;
}

.ab-hero {
  padding: 2.6rem 0 1.4rem;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgb(91 167 214 / .16), transparent 60%),
    #fff;
  overflow: clip;
}

.ab-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 2rem 2.6rem;
  align-items: center;
}

.ab-crumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  color: var(--ab-muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.ab-crumb a {
  color: var(--ab-navy);
  text-decoration: none;
}
.ab-crumb a:hover { text-decoration: underline; }

.ab-hero h1 {
  margin: 0;
  color: var(--ab-navy);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: center;
}

.ab-lead {
  margin: 1rem auto 0;
  max-width: 38rem;
  color: #3d5278;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.95;
  text-align: center;
}
.ab-lead strong { color: var(--ab-navy); font-weight: 800; }

.ab-hero-art {
  display: flex;
  justify-content: center;
}
.ab-hero-art svg {
  width: min(100%, 26rem);
  height: auto;
}

.ab-why { padding: 3.2rem 0 2.4rem; background: #f5f8fc; }

.ab-head { max-width: 40rem; margin-bottom: 1.8rem; }
.ab-head h2 {
  margin: 0;
  color: var(--ab-navy);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.4;
}
.ab-head-why h2 {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.35;
}
.ab-head-why h2 span { color: var(--ab-navy); }
.ab-head-why .ab-kicker span { display: none; }
.ab-head p {
  margin: 0.7rem 0 0;
  color: var(--ab-muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.ab-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-row-in {
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem 1.2rem 1.2rem;
  border: 1px solid rgb(22 58 122 / .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgb(22 58 122 / .05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ab-row-in:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgb(22 58 122 / .1);
}

.ab-no {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.6rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(160deg, #2f6ec0, #163a7a);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}
.ab-row:nth-child(2) .ab-no { background: linear-gradient(160deg, #5aa2e6, #2f6ec0); }
.ab-row:nth-child(3) .ab-no { background: linear-gradient(160deg, #ffd46a, #f5a322); color: #163a7a; }
.ab-row:nth-child(4) .ab-no { background: linear-gradient(160deg, #163a7a, #102c5e); }

.ab-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0 0.6rem;
  border-radius: 8px;
  background: #f3f7fc;
  color: var(--ab-navy);
  font-size: 0.75rem;
  font-weight: 800;
}
.ab-row-copy h3 {
  margin: 0.45rem 0 0;
  color: var(--ab-navy);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
}
.ab-row-copy p {
  margin: 0.35rem 0 0;
  color: #4c6288;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.8;
}

.ab-close { padding: 0.4rem 0 3.2rem; background: #f5f8fc; }
.ab-close-card {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: 16rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f5bb0 0%, #163a7a 55%, #102c5e 100%);
  box-shadow: 0 22px 50px rgb(16 44 94 / .18);
}
.ab-close-art {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: min(28rem, 48%);
  height: 100%;
}
.ab-close-copy {
  padding: 2.6rem 2.8rem 2.6rem 46%;
  color: #fff;
}
.ab-close-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
}
.ab-close-copy p {
  margin: 0.7rem 0 0;
  max-width: 32rem;
  color: rgb(255 255 255 / .82);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.85;
}
.ab-go {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  min-height: 2.8rem;
  padding: 0.15rem 1.15rem 0.15rem 0.28rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ab-navy);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.ab-go:hover { color: var(--ab-navy); transform: translateY(-3px); }
.ab-go i {
  position: relative;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #f5a322;
}
.ab-go i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translate(-35%, -50%) rotate(45deg);
}

@keyframes abRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .ab-hero-copy,
  .ab-hero-art {
    animation: abRise 0.7s both;
  }
  .ab-hero-art { animation-delay: 0.12s; }
  .ab-head,
  .ab-row,
  .ab-close-card {
    animation: abRise linear both;
    animation-timeline: view();
    animation-range: entry 25% cover 28%;
  }
}

@media (max-width: 980px) {
  .ab-hero-grid,
  .ab-rows { grid-template-columns: 1fr 1fr; }
  .ab-hero-grid { grid-template-columns: 1fr; }
  .ab-hero-art { order: -1; }
  .ab-hero h1 { max-width: none; }
  .ab-close-copy { padding: 2.2rem 1.5rem 2.2rem 38%; }
}

@media (max-width: 680px) {
  .ab-rows { grid-template-columns: 1fr; }
  .ab-close-art { display: none; }
  .ab-close-copy { padding: 1.8rem 1.25rem; }
}
