/* About page: /about. Client logos and the testimonial band are shared (see "Client logos + testimonials" in /css/aafia.css). */

/* ---------- Hero ---------- */
.ab-hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.ab-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, #D5DBE3 1px, transparent 0); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 75% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 75% 40%, #000 20%, transparent 75%);
}
html[dir="rtl"] .ab-dots {
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 25% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 25% 40%, #000 20%, transparent 75%);
}
.ab-hero-ecg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.ab-hero .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.ab-hero-copy { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ab-hero-copy .eyebrow { margin: 0; }
.ab-hero-copy h1 { font-size: 64px; line-height: 1; margin: 0; animation-delay: .06s; }
.ab-hero-copy .lead { font-size: 20px; animation-delay: .12s; }
@media (max-width: 900px) { .ab-hero-copy h1 { font-size: 42px; } .ab-hero-copy .lead { font-size: 18px; } }

.ab-hero-art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; animation-delay: .15s; }
.ab-mark {
  position: relative; width: 320px; max-width: calc(100% - 40px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(26, 36, 51, .8);
  display: flex; align-items: center; justify-content: center;
}
.ab-mark-ring { position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(224, 20, 44, .25); }
.ab-mark img { width: 58%; height: auto; }
.beat { animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.06); } 30% { transform: scale(1); } 45% { transform: scale(1.04); } }
@media (max-width: 480px) { .ab-hero { padding: 48px 0 80px; } .ab-hero .wrap { gap: 40px; } .ab-mark { width: 240px; } }

/* ---------- Stats strip ---------- */
.ab-stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ab-stat { padding: 40px 24px; border-inline-start: 1px solid #EEF1F4; display: flex; flex-direction: column; gap: 6px; }
.ab-stat > b { font-size: 44px; line-height: 1.1; letter-spacing: -0.04em; color: var(--ink); }
.ab-stat > span { font-size: 15px; color: var(--slate); font-weight: 600; }
.ab-stat-links { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.ab-stat-links a { font-size: 14px; font-weight: 700; color: var(--red-hover); text-decoration: none; padding: 2px 0; }
.ab-stat-links a:hover { color: var(--red-deep); text-decoration: underline; }
@media (max-width: 480px) {
  .ab-stats .wrap { grid-template-columns: 1fr; }
  .ab-stat { padding: 24px 4px; border-inline-start: 0; border-top: 1px solid #EEF1F4; }
  .ab-stat:first-child { border-top: 0; }
  .ab-stat > b { font-size: 36px; }
}

/* ---------- Story ---------- */
.ab-story { padding: 104px 0; }
.ab-story .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.ab-story-head { flex: 1 1 340px; min-width: 0; position: sticky; top: 100px; }
.ab-story-body { flex: 1.6 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; transition-delay: .1s; }
.ab-story-body p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--navy); }
html[lang="ar"] .ab-story-body p { line-height: 1.9; }
@media (max-width: 900px) {
  .ab-story { padding: 72px 0; }
  .ab-story .wrap { gap: 8px; }
  .ab-story-head { position: static; }
  .ab-story-body p { font-size: 17px; }
}

/* Founder card (quote only — no name, role or photo, owner decision 17 Oct) */
.ab-founder { margin: 12px 0 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.ab-founder::before { content: "\201C"; position: absolute; top: 4px; inset-inline-end: 24px; font-size: 96px; line-height: 1; font-weight: 800; color: var(--red-tint); }
.ab-founder blockquote { margin: 0; position: relative; padding-inline-end: 56px; font-size: 20px; line-height: 1.55; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
html[lang="ar"] .ab-founder blockquote { letter-spacing: 0; line-height: 1.8; }
@media (max-width: 480px) { .ab-founder { padding: 22px; } .ab-founder blockquote { font-size: 18px; } }

/* ---------- Values ---------- */
.ab-values .wrap { display: flex; flex-direction: column; gap: 40px; }
.ab-vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.ab-val { padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, box-shadow .3s; }
.ab-val:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -28px rgba(26, 36, 51, .55); }
.ab-val h3 { margin: 0; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.ab-val p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--slate); }
.ab-val-link { margin-top: auto; font-size: 15px; font-weight: 700; text-decoration: none; }
.ab-val-link::after { content: " \2191"; } /* the testimonials are above this section */
.ab-val-link:hover { text-decoration: underline; }
.ab-vi {
  width: 52px; height: 52px; border-radius: 14px; background: var(--red-tint); color: var(--red);
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.ab-val:hover .ab-vi { background: var(--red); color: #fff; transform: rotate(-6deg); }

/* ---------- Customers ---------- */
.ab-customers .wrap { display: flex; flex-direction: column; gap: 40px; }

/* ---------- Where we are ---------- */
.ab-visit { padding: 0 0 104px; } /* follows the values section, same background */
.ab-visit-box { display: flex; flex-wrap: wrap; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ab-visit-copy { flex: 1 1 380px; min-width: 0; padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.ab-visit-copy .eyebrow { margin: 0; }
.ab-visit-copy .h2 { margin: 0; font-size: 36px; }
.ab-visit-text { margin: 0; font-size: 16px; line-height: 1.65; color: var(--slate); }
.ab-visit-contact { margin: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.ab-visit-contact dt { font-size: 13px; font-weight: 700; color: var(--slate-3); }
.ab-visit-contact dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; }
.ab-visit-contact a { text-decoration: none; }
.ab-visit-contact a:hover { text-decoration: underline; }
.ab-visit-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ab-map {
  flex: 1 1 380px; min-height: 280px; position: relative; background: var(--navy);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .12) 1px, transparent 0); background-size: 22px 22px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ab-map-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(224, 20, 44, .5); }
.ab-map-ring.r1 { width: 140px; height: 140px; }
.ab-map-ring.r2 { width: 240px; height: 240px; border-color: rgba(224, 20, 44, .25); }
.ab-map-pin { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; }
@media (max-width: 900px) { .ab-visit { padding: 0 0 72px; } .ab-visit-copy .h2 { font-size: 30px; } }
@media (max-width: 480px) { .ab-visit-copy { padding: 28px 22px; } .ab-map { min-height: 220px; flex-basis: 100%; } }
