/* ==========================================================
   Site footer: "Global footprint" (dark, dotted world map)
   All classes are prefixed sf- so they don't clash with style.css
   ========================================================== */
.sf { position: relative; overflow: hidden; background: #0b1220; color: #94a3b8; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; }
.sf *, .sf *::before, .sf *::after { box-sizing: border-box; }
.sf a { color: inherit; text-decoration: none; }
.sf ul { list-style: none; margin: 0; padding: 0; }
.sf p { color: inherit; }
.sf-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* glowing top edge */
.sf-glow { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #3b82f6, #a78bfa, transparent); }
.sf-glow::after { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 60%; height: 120px; background: radial-gradient(ellipse at top, rgba(59,130,246,.22), transparent 70%); }

/* ---------- global footprint map ---------- */
.sf-gm { position: relative; padding: 72px 0 8px; }
.sf-gm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sf-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #60a5fa; margin-bottom: 10px; }
.sf-kicker::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, #3b82f6, #a78bfa); border-radius: 2px; }
.sf .sf-gm-head h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.2; }
.sf-gm-head h3 span { background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sf .sf-hint { margin: 0; font-size: 14.5px; color: #64748b; }
.sf-map { position: relative; aspect-ratio: 1440 / 560; }
.sf-map::before { content: ""; position: absolute; inset: 10% 15%; background: radial-gradient(ellipse, rgba(59,130,246,.12), transparent 70%); pointer-events: none; }
.sf-map-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }

.sf-pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2; outline: none; }
.sf-pin:hover, .sf-pin:focus-within, .sf-pin.open { z-index: 10; }
.sf-dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #60a5fa; border: 3px solid #0b1220; box-shadow: 0 0 0 1px #60a5fa, 0 0 18px 4px rgba(96,165,250,.55); cursor: pointer; transition: transform .2s, background .2s; }
.sf-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(96,165,250,.6); animation: sf-ping 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes sf-ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.sf-pin:hover .sf-dot, .sf-pin.open .sf-dot, .sf-pin:focus-visible .sf-dot { transform: scale(1.3); background: #fff; }
.sf-lbl { position: absolute; top: -10px; white-space: nowrap; font-size: 13px; font-weight: 600; color: #cbd5e1; pointer-events: none; transition: color .2s; }
.sf-lbl.r { left: 14px; } .sf-lbl.l { right: 14px; } .sf-lbl.b { top: 12px; right: -6px; }
.sf-pin:hover .sf-lbl, .sf-pin.open .sf-lbl { color: #fff; }

.sf-card { position: absolute; left: 50%; bottom: 20px; width: 280px; padding: 18px 18px 16px; border-radius: 16px; background: rgba(15,23,42,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(96,165,250,.35); box-shadow: 0 20px 50px rgba(0,0,0,.5); text-align: left; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; cursor: default; }
.sf-card.below { bottom: auto; top: 20px; transform: translate(-50%, -8px); }
.sf-card.end { left: auto; right: -24px; transform: translate(0, 8px); }
.sf-pin:hover .sf-card, .sf-pin.open .sf-card, .sf-pin:focus-within .sf-card { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sf-pin:hover .sf-card.end, .sf-pin.open .sf-card.end, .sf-pin:focus-within .sf-card.end { transform: translate(0, 0); }
.sf-card-k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #60a5fa; }
.sf-card-h { margin: 4px 0 10px; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.sf-card-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: #cbd5e1; margin-top: 8px; }
.sf-card-row i { width: 14px; margin-top: 4px; color: #60a5fa; font-size: 12px; flex: none; }
.sf .sf-card-row a { color: #fff; font-weight: 600; }
.sf .sf-card-row a:hover { color: #60a5fa; }
.sf-list { display: none; }

/* ---------- link columns ---------- */
.sf-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 56px 0 40px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.06); }
.sf-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }
.sf-brand img { width: 38px; height: 38px; flex: none; }
.sf-brand .ai { background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sf-sub { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
.sf .sf-about { margin: 18px 0 0; font-size: 15px; line-height: 1.7; max-width: 330px; color: #94a3b8; }
.sf-social { display: flex; gap: 10px; margin-top: 22px; }
.sf .sf-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); color: #cbd5e1; transition: transform .2s, border-color .2s, color .2s; }
.sf .sf-social a:hover { transform: translateY(-3px); border-color: #60a5fa; color: #fff; }
.sf .sf-col h4 { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #64748b; -webkit-text-fill-color: #64748b; line-height: 1.4; }
.sf-col li { margin-bottom: 11px; }
.sf .sf-col a { font-size: 15px; color: #cbd5e1; transition: color .2s; }
.sf .sf-col a:hover { color: #60a5fa; }
.sf-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #cbd5e1; }
.sf-contact i { color: #60a5fa; width: 16px; margin-top: 5px; font-size: 13px; flex: none; }

/* ---------- wordmark + bottom bar ---------- */
.sf-word { position: relative; font-weight: 800; font-size: clamp(64px, 17vw, 230px); letter-spacing: -0.05em; line-height: .8; text-align: center; margin: 12px 0 -0.08em; background: linear-gradient(180deg, rgba(96,165,250,.55) 0%, rgba(167,139,250,.25) 55%, rgba(11,18,32,0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; user-select: none; }
.sf-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.sf-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sf .sf-legal a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .sf-grid { grid-template-columns: 1fr 1fr; }
  .sf-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .sf-gm { padding-top: 52px; }
  .sf-lbl, .sf-card { display: none; }
  .sf-dot { left: -5px; top: -5px; width: 10px; height: 10px; border-width: 2px; }
  .sf-list { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 10px; margin-top: 18px; }
  .sf-item { position: relative; padding: 12px 34px 12px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); cursor: pointer; transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
  .sf-item::after { content: "+"; position: absolute; right: 14px; top: 12px; font-size: 18px; line-height: 1; color: #60a5fa; transition: transform .2s; }
  .sf-item.on { grid-column: 1 / -1; border-color: #60a5fa; background: rgba(96,165,250,.08); cursor: default; }
  .sf-item.on::after { transform: rotate(45deg); }
  .sf-item .sf-card-k { font-size: 10px; }
  .sf-item .sf-card-h { font-size: 15px; margin: 2px 0 0; }
  .sf-item .sf-card-row { display: none; font-size: 13px; margin-top: 6px; }
  .sf-item.on .sf-card-h { margin-bottom: 4px; }
  .sf-item.on .sf-card-row { display: flex; }
}
@media (max-width: 560px) {
  .sf-wrap { padding: 0 16px; }
  .sf-grid { grid-template-columns: 1fr; gap: 32px; }
  .sf-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .sf-dot::after { animation: none; } }
