/* Platform bar: official logos in one palette color, scrolling */
.stack { background: var(--teal); padding-block: clamp(48px, 6vw, 72px); overflow: hidden; }
.stack-label { margin: 0 0 24px; font-size: 14px; color: var(--teal-40); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
html[dir="rtl"] .stack-label { letter-spacing: 0; text-transform: none; font-size: 16px; }
.stack { direction: ltr; }
html[dir="rtl"] .stack .wrap { direction: rtl; }
.marquee { display: flex; width: max-content; direction: ltr; gap: 12px; animation: marquee 40s linear infinite; }
.marquee + .marquee { margin-top: 12px; }
.marquee.reverse { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.logos { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex: none; }
.logos li { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 24px; border: var(--rule) solid rgba(241,241,237,.14); border-radius: 999px; color: var(--off); font: 500 15px/1 "Space Grotesk", var(--f-body); white-space: nowrap; transition: border-color .2s, color .2s; }
.logos li:hover { border-color: var(--acid); color: var(--acid); }
.logos svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.mark { display: block; height: 26px; width: calc(26px * var(--r)); max-width: 124px; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
@media (max-width: 600px) { .logos li { height: 50px; padding: 0 18px; font-size: 14px; } .logos svg { width: 20px; height: 20px; } .mark { height: 21px; width: calc(21px * var(--r)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; width: auto; flex-wrap: wrap; padding-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto; }
  .marquee .track[aria-hidden="true"], .marquee .dup { display: none; }
  .marquee .logos { flex-wrap: wrap; }
}

/* Clients: brand logos in one palette color, scrolling */
.clients { background: var(--off); color: var(--teal); padding-block: clamp(48px, 6vw, 72px); overflow: hidden; direction: ltr; }
html[dir="rtl"] .clients .wrap { direction: rtl; }
.clients .kicker { color: var(--teal-70); }
.clients-title { margin: 0 0 24px; max-width: 30ch; }
.clients-row { animation-duration: 50s; }
.clients-row .logos li { height: 76px; padding: 0 28px; background: #fff; border-color: var(--teal-15); color: var(--teal); }
.clients-row .logos li:hover { border-color: var(--teal); color: var(--teal); }
.clients-row .mark { height: 34px; width: calc(34px * var(--r)); max-width: 120px; }
.clients-row .mark.sq { height: 58px; width: calc(58px * var(--r)); }
@media (max-width: 600px) { .clients-row .logos li { height: 62px; padding: 0 18px; } .clients-row .mark { height: 28px; width: calc(28px * var(--r)); max-width: 100px; } .clients-row .mark.sq { height: 48px; width: calc(48px * var(--r)); } }

/* Client map */
.reach { background: var(--teal); color: var(--off); padding-block: clamp(64px, 8vw, 104px); overflow: hidden; }
.reach .kicker { color: var(--teal-40); }
.reach-lead { margin: 16px 0 0; color: var(--teal-15); }
.map { position: relative; direction: ltr; margin-top: clamp(28px, 4vw, 48px); aspect-ratio: 1500 / 550; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-dots { stroke: var(--teal-70); stroke-width: 5.4; stroke-linecap: round; fill: none; opacity: .75; }
.map-route { fill: none; stroke: var(--acid); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; animation: route 1.4s linear infinite; opacity: .9; }
@keyframes route { to { stroke-dashoffset: -24; } }
.pin { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--off); }
.pin-dot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 3px var(--teal); z-index: 2; transition: transform .2s; }
.pin-ring { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid var(--acid); animation: ping 2s ease-out infinite; }
.pin-ring.r2 { animation-delay: 1s; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.pin-label { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); display: grid; gap: 2px; text-align: left; white-space: nowrap; padding: 8px 12px; border-radius: 12px; background: rgba(11,69,80,.88); border: var(--rule) solid rgba(241,241,237,.14); transition: border-color .2s, background .2s; }
.pin-label b { font: 700 15px/1.1 var(--f-head); }
.pin-label small { font-size: 12px; color: var(--teal-40); }
.pin[data-city="riyadh"] .pin-label { left: auto; right: 34px; text-align: right; }
.pin:hover .pin-dot, .pin.active .pin-dot { transform: scale(1.35); }
.pin.active .pin-label, .pin:hover .pin-label { border-color: var(--acid); background: var(--teal); }
.cities { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.city { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px; border-radius: 999px; border: var(--rule) solid rgba(241,241,237,.16); background: transparent; color: var(--off); font: 400 15px/1 var(--f-body); cursor: pointer; transition: border-color .2s; }
.city b { font-weight: 600; }
.city small { color: var(--teal-40); font-size: 14px; }
.city:hover, .city.active { border-color: var(--acid); }
.city-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(230,255,40,.18); }
html[dir="rtl"] .city small { font-size: 14px; }
@media (max-width: 600px) {
  .map { aspect-ratio: auto; height: 220px; margin-inline: calc(var(--gutter) * -1); }
  .map-svg { left: -38%; width: 176%; }
  .pin { left: calc(var(--x) * 1.76 - 38%); }
  .pin-label { padding: 6px 10px; }
  .pin-label b { font-size: 13px; }
  .pin-label small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pin-ring, .map-route { animation: none; } .pin-ring { opacity: .4; transform: scale(2.2); } }
