/* Agaaz global presence globe: all rules scoped to #globe */
#globe { overflow: hidden; padding-block: clamp(44px, 5.5vw, 76px) !important; }
#globe .ag-section-inner.agg { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); column-gap: clamp(24px, 3.5vw, 56px); align-items: center; }
#globe .agg-copy { min-width: 0; }
#globe .agg-copy .ag-section-headline { margin-bottom: 14px; text-wrap: balance; }
#globe .agg-copy .ag-section-label { border: 0 !important; background: none !important; box-shadow: none !important; outline: 0 !important; padding-inline: 0 !important; }
#globe .agg-copy .ag-section-sub { margin: 0 0 24px; max-width: 46ch; }
#globe .agg-copy .ag-reveal, #globe .agg-copy .ag-rv { filter: none !important; transform: none !important; opacity: 1 !important; transition: none !important; }

/* country selector: the same pills, now the keyboard route to every marker */
#globe .agg .ag-globe-countries { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
#globe .agg .ag-country-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin: 0; padding: 0 13px; border: 1px solid rgba(150, 190, 240, .18); border-radius: 999px; background: transparent; box-shadow: none; font-size: 13.5px; line-height: 1; color: #b9c8de; white-space: nowrap; }
#globe .agg .ag-country-pill .dot { width: 4px; height: 4px; flex: none; border-radius: 50%; background: #8fb8ee; box-shadow: none; animation: none; }
#globe .agg .ag-country-pill:first-child .dot { background: #e3c98f; }
#globe.agg-js .agg .ag-country-pill { cursor: pointer; }
#globe .agg .ag-country-pill:hover { border-color: rgba(160, 204, 255, .45); color: #eaf3ff; transform: none; }
#globe .agg .ag-country-pill[aria-pressed="true"] { border-color: #cfe4ff !important; background: #d9eaff !important; color: #0a1a33 !important; font-weight: 600; }
#globe .agg .ag-country-pill[aria-pressed="true"] .dot { background: #1257ad !important; }
#globe .agg .ag-country-pill:focus-visible { outline: 2px solid #a9cdf7; outline-offset: 2px; }

/* detail line for the chosen market (all twelve stay in the page; one is shown) */
#globe .agg .ag-country-grid { margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(150, 190, 240, .16); }
#globe.agg-js .agg .ag-country-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "card"; }
#globe.agg-js .agg .ag-country-card { grid-area: card; visibility: hidden; }
#globe.agg-js .agg .ag-country-card.on { visibility: inherit; }
#globe .agg .ag-country-card, #globe .agg .ag-country-card:hover { min-width: 0; min-height: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; transform: none !important; animation: none !important; transition: none !important; filter: none !important; opacity: 1 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
#globe .agg .ag-country-card::before, #globe .agg .ag-country-card::after { content: none !important; }
#globe .agg .ag-country-card h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.3; color: #eef5ff; }
#globe .agg .ag-country-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #9fb0c9; }

#globe .agg .ag-globe-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 24px 0 0; padding: 0; border: 0; background: none; }
#globe .agg .ag-globe-stats > div { text-align: start; padding: 0; border: 0; background: none; }
#globe .agg .ag-globe-stat-num { font-size: 26px; line-height: 1.15; }
#globe .agg .ag-globe-stat-label { margin-top: 2px; font-size: 12.5px; }
#globe .agg .agg-cta { margin-top: 24px; }

/* the globe sits on the section background: no card, no frame */
#globe .agg-stage { position: relative; justify-self: center; width: 100%; max-width: min(680px, max(460px, calc(100vh - 96px))); aspect-ratio: 1 / 1; }
#globe #agGlobe { position: absolute; inset: 0; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
#globe .agg-ready #agGlobe { cursor: grab; }
#globe .agg-ready #agGlobe:active { cursor: grabbing; }
#globe .agg-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
#globe .agg-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#globe .agg-ready .agg-fallback { visibility: hidden; }
#globe .agg-leads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
#globe .agg-leads path { fill: none; stroke: rgba(222, 237, 255, .62); stroke-width: 1; opacity: 0; }
#globe .agg-leads path.show { opacity: 1; }

#globe .agg-m { position: absolute; left: 0; top: 0; z-index: 2; width: 28px; height: 28px; margin: -14px 0 0 -14px; cursor: pointer; }
#globe .agg-m i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #f2f8ff; box-shadow: 0 0 5px rgba(150, 200, 255, .75); }
#globe .agg-m i::before { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(206, 229, 255, .55); border-radius: 50%; }
#globe .agg-m.hot i::before, #globe .agg-m.on i::before { inset: -6.5px; border-color: #e6f1ff; }
#globe .agg-m.on i::after { content: ""; position: absolute; inset: -6.5px; border: 1px solid #cfe4ff; border-radius: 50%; animation: aggPulse 2.4s cubic-bezier(.2, .6, .3, 1) 3 both; }
#globe .agg-m.agg-home i { background: #eed7a2; box-shadow: 0 0 6px rgba(238, 215, 162, .65); }
#globe .agg-m.agg-home i::before { border-color: rgba(238, 215, 162, .75); }
@keyframes aggPulse { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(2.3); opacity: 0; } }

#globe .agg-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (pointer: coarse) { #globe .agg-m { width: 40px; height: 40px; margin: -20px 0 0 -20px; } }

/* annotations: type and a hairline, no box */
#globe .agg-l { position: absolute; left: 0; top: 0; z-index: 3; font-size: 12.5px; font-weight: 500; line-height: 1.2; white-space: nowrap; color: #e6f0ff; text-shadow: 0 0 2px #030a16, 0 0 4px #030a16, 0 0 10px #030a16; pointer-events: none; opacity: 0; visibility: hidden; }
#globe .agg-l.show { opacity: 1; visibility: visible; transition: opacity .22s ease; }
#globe .agg-l.on { font-size: 15px; font-weight: 600; color: #fff; }
#globe .agg-l.agg-home { color: #f3e2b8; }


html[lang^="ar"] #globe .agg-l { direction: rtl; }
html[lang^="ar"] #globe #agGlobe { direction: ltr; }

@media (max-width: 900px) {
  /* phones and tablets: heading, then the globe, then the selector, so the globe is not buried under text */
  #globe .ag-section-inner.agg { display: flex; flex-direction: column; align-items: stretch; }
  #globe .agg-copy { display: contents; }
  #globe .agg-copy > * { order: 3; }
  #globe .agg-copy > .ag-section-label, #globe .agg-copy > .ag-section-headline, #globe .agg-copy > .ag-section-sub { order: 1; }
  #globe .agg-stage { order: 2; align-self: center; width: min(calc(100% + 28px), 600px); margin: -6px 0 2px; flex: none; }
  #globe .agg-copy .ag-section-sub { margin-bottom: 4px; }
  #globe .agg .ag-globe-countries { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 3px 16px; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #globe .agg .ag-globe-countries::-webkit-scrollbar { display: none; }
  #globe .agg .ag-country-pill { flex: none; min-height: 44px; padding: 0 15px; }
  #globe .agg .ag-country-grid { margin-top: 14px; padding-top: 13px; }
  #globe .agg .ag-globe-stats { gap: 12px 22px; margin-top: 18px; }
  #globe .agg .ag-globe-stat-num { font-size: 22px; }
  #globe .agg .agg-cta { margin-top: 18px; }
  #globe .agg-l { font-size: 12px; }
  #globe .agg-l.on { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #globe .agg-m.on i::after { animation: none; opacity: 0; }
  #globe .agg-l.show { transition: none; }
}


/* ===== photographic Earth: composition ===== */
#globe.ag-section, html[data-theme="light"] #globe.ag-section { position: relative; color-scheme: dark; background: radial-gradient(70% 90% at 78% 46%, #091428 0%, #04070e 46%, #020409 100%) !important; }
#globe::before, #globe::after { content: none !important; }
#globe .agg .ag-section-headline, html[data-theme="light"] #globe .agg .ag-section-headline { color: #f3f6fb !important; -webkit-text-fill-color: #f3f6fb !important; background: none !important; text-shadow: none !important; }
#globe .agg .ag-section-sub, #globe .agg .ag-section-label { color: #b9c6da !important; }
#globe .agg .ag-globe-stat-num { color: #f3f6fb !important; -webkit-text-fill-color: #f3f6fb !important; background: none !important; }
#globe .agg .ag-globe-stat-label { color: #98a9c3 !important; }
#globe .agg .agg-cta a { color: #e8eef8 !important; border-color: rgba(214,226,245,.34) !important; }
#globe .agg .ag-country-pill { border: 0 !important; border-bottom: 1px solid rgba(170,200,240,.20) !important; border-radius: 0; padding-inline: 2px; margin-inline-end: 14px; background: transparent !important; }
#globe .agg .ag-country-pill:hover { border-bottom-color: rgba(190,218,255,.65) !important; }
#globe .agg .ag-country-pill[aria-pressed="true"] { background: transparent !important; color: #fff !important; border-bottom: 2px solid #8fbef5 !important; }
#globe .agg .ag-country-pill[aria-pressed="true"] .dot { background: #8fbef5 !important; }
#globe .agg-credit { position: absolute; right: 12%; bottom: 3%; z-index: 4; font-size: 11px; color: rgba(185,198,218,.66); pointer-events: none; }
#globe .agg-m i { width: 6px; height: 6px; margin: -3px 0 0 -3px; box-shadow: 0 0 0 1.5px rgba(2,8,18,.75), 0 0 7px rgba(170,210,255,.85); }
#globe .agg-m i::before { border-color: rgba(236,245,255,.82); box-shadow: 0 0 3px rgba(0,0,0,.7); }
#globe .agg-m.agg-home i { box-shadow: 0 0 0 1.5px rgba(2,8,18,.75), 0 0 8px rgba(238,215,162,.9); }
#globe .agg-l { text-shadow: 0 0 2px #000, 0 0 3px #000, 0 0 8px rgba(0,0,0,.9), 0 1px 14px rgba(0,0,0,.8); font-size: 13px; letter-spacing: .005em; }
#globe .agg-l.on { font-size: 17px; }
#globe .agg-leads path { stroke: rgba(236,245,255,.78); filter: drop-shadow(0 0 2px rgba(0,0,0,.9)); }
@media (min-width: 901px) {
  #globe.ag-section { padding-block: 0 !important; }
  #globe .ag-section-inner.agg { position: relative; display: block; max-width: 1520px; min-height: clamp(700px, 62vw, 940px); }
  #globe .agg-copy { position: relative; z-index: 6; width: min(38%, 480px); padding-block: clamp(70px, 7vw, 120px) 60px; pointer-events: none; }
  #globe .agg-copy > * { pointer-events: auto; }
  /* the planet is larger than its column and runs past the right edge of the section */
  #globe .agg-stage { position: absolute; top: 50%; right: min(-3vw, -24px); transform: translateY(-50%); width: clamp(600px, 63vw, 960px); max-width: none; margin: 0; }
}
@media (min-width: 901px) and (max-width: 1180px) { #globe .agg-copy { width: 42%; } #globe .agg-stage { right: -9vw; } }
@media (min-width: 1700px) { #globe .agg-stage { right: calc((100% - 1520px) / -2 + 3vw); } }
@media (max-width: 900px) {
  #globe.ag-section { padding-block: 44px 40px !important; }
  /* phones: the planet is wider than the screen's text column; atmosphere runs to both edges */
  #globe .agg-stage { width: 100vw; max-width: 640px; margin: -8px calc(50% - 50vw) -6px; align-self: stretch; }
  @supports (width: 100dvw) { #globe .agg-stage { width: min(100vw, 640px); } }
  #globe .agg-stage { margin-inline: 0; align-self: center; }
  #globe .agg-credit { right: 14px; bottom: 2px; font-size: 10.5px; }
  #globe .agg .ag-country-pill { margin-inline-end: 10px; padding-inline: 4px; }
}

#globe .agg .ag-country-pill { box-shadow: none !important; outline-offset: 3px; }
#globe .agg .ag-country-pill::before, #globe .agg .ag-country-pill::after { content: none !important; }
#globe .agg .ag-country-pill:focus-visible { outline: 2px solid #a9cdf7 !important; }
