.site-footer {
  --footer-top-gap: clamp(100px, 7vw, 120px);
  --footer-globe-size: clamp(260px, 16vw, 285px);
  --footer-notch-radius: clamp(155px, 11vw, 170px);
  --footer-globe-overlap: 110px;
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: var(--footer-top-gap) clamp(16px, 1.6vw, 30px) 34px;
  overflow: hidden;
  color: #f7f8fa;
  background: #f7f6f3;
}

.footer-shell {
  position: relative;
  width: 100%;
  max-width: 1920px;
  min-height: clamp(490px, 31vw, 610px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: clamp(28px, 2.4vw, 48px);
  background: var(--black);
  -webkit-mask-image: radial-gradient(circle var(--footer-notch-radius) at 50% 0, transparent calc(var(--footer-notch-radius) - 1px), #000 var(--footer-notch-radius));
  mask-image: radial-gradient(circle var(--footer-notch-radius) at 50% 0, transparent calc(var(--footer-notch-radius) - 1px), #000 var(--footer-notch-radius));
}
.footer-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 28%, rgba(255,255,255,.035), transparent 61%); }

.footer-notch-rim {
  position: absolute;
  z-index: 2;
  top: calc(var(--footer-top-gap) - var(--footer-notch-radius));
  left: 50%;
  width: calc(var(--footer-notch-radius) + var(--footer-notch-radius));
  aspect-ratio: 1;
  border: 1px solid rgba(89,175,219,.68);
  border-radius: 50%;
  clip-path: inset(50% 0 0 0);
  filter: drop-shadow(0 2px 5px rgba(46,153,211,.38));
  pointer-events: none;
  transform: translateX(-50%);
}
.footer-globe {
  position: absolute;
  z-index: 3;
  top: calc(var(--footer-top-gap) - var(--footer-globe-overlap));
  left: 50%;
  display: block;
  width: var(--footer-globe-size);
  height: var(--footer-globe-size);
  object-fit: contain;
  filter: drop-shadow(0 13px 12px rgba(3, 22, 39, .28));
  pointer-events: none;
  transform: translateX(-50%);
}

.footer-brand-area { position: absolute; z-index: 1; top: 140px; left: 6%; width: 330px; }
.footer-brand-link { display: inline-flex; align-items: center; color: #fff; }
.footer-brand-link:focus-visible, .footer-nav a:focus-visible, .footer-socials a:focus-visible { outline: 2px solid #b9d8ec; outline-offset: 5px; }
.footer-brand-type { display: block; }
.footer-brand-type strong { display: block; font-size: clamp(30px, 2.2vw, 40px); font-weight: 800; line-height: 1; letter-spacing: -.065em; white-space: nowrap; }
.footer-brand-type strong span { font-weight: 400; }
.footer-brand-type small { display: block; margin-top: 9px; font-size: 11px; font-weight: 500; letter-spacing: .37em; white-space: nowrap; }
.footer-brand-area > p { margin: 31px 0 31px 10px; color: #bfccd6; font-size: 14px; line-height: 1.72; letter-spacing: .25em; white-space: nowrap; }
.footer-socials { display: flex; gap: 13px; margin-left: 10px; }
.footer-socials a { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #f4f7fa; background: #1b3448; transition: background-color .25s ease, transform .25s ease; }
.footer-socials a:hover { background: #31536b; transform: translateY(-3px); }
.footer-socials svg { width: 21px; height: 21px; stroke-width: 1.8; }

.footer-nav { position: absolute; z-index: 1; top: 126px; right: 6%; display: flex; flex-direction: column; align-items: flex-start; gap: 23px; min-width: 165px; }
.footer-nav a { color: #f3f5f7; font-size: clamp(14px, 1.05vw, 19px); font-weight: 500; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; transition: color .2s ease, transform .2s ease; }
.footer-nav a:hover { color: #a6d5ee; transform: translateX(4px); }

.footer-center { position: absolute; z-index: 1; top: max(250px, calc(var(--footer-globe-size) - var(--footer-globe-overlap) + 44px)); left: 50%; width: min(490px, 46%); text-align: center; transform: translateX(-50%); }
.footer-center > p:first-child { margin: 0 0 8px; color: #bbcad6; font-size: 13px; line-height: 1.2; letter-spacing: .43em; }
.footer-center strong { display: block; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: .31em; white-space: nowrap; }
.footer-center-rule { display: block; width: 55px; height: 1px; margin: 21px auto 23px; background: #e2ebf0; }
.footer-center-description { max-width: 440px; margin: 0 auto; color: #b8c7d2; font-size: 15px; line-height: 1.47; }

.footer-legal { position: absolute; z-index: 1; right: 4%; bottom: 29px; left: 4%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; border-top: 1px solid #f7f8fa; color: #f7f6f3; font-size: 12px; line-height: 1.4; letter-spacing: .02em; }
.footer-legal > span:last-child { display: inline-flex; align-items: center; gap: 26px; color: #9faeba; font-size: 10px; letter-spacing: .2em; white-space: nowrap; }
.footer-legal i { display: inline-block; width: 36px; height: 1px; background: #b4c3cd; }

@media (max-width: 1100px) {
  .footer-brand-area { left: 5%; width: 280px; }
  .footer-brand-type strong { font-size: 27px; }
  .footer-brand-type small { font-size: 9px; }
  .footer-brand-area > p { font-size: 12px; }
  .footer-nav { right: 5%; }
  .footer-center { width: 400px; }
  .footer-center strong { font-size: 19px; }
  .footer-center-description { font-size: 13px; }
  .footer-legal { font-size: 10px; }
  .footer-legal > span:last-child { font-size: 8px; }
}

@media (max-width: 900px) {
  .footer-shell { min-height: 660px; }
  .footer-brand-area { top: 215px; }
  .footer-nav { top: 215px; gap: 18px; }
  .footer-center { top: 415px; width: min(490px, 74%); }
}

@media (max-width: 680px) {
  .site-footer {
    --footer-top-gap: 88px;
    --footer-globe-size: clamp(190px, 56vw, 225px);
    --footer-notch-radius: clamp(120px, 34vw, 139px);
    --footer-globe-overlap: clamp(69px, 21vw, 85px);
    padding: var(--footer-top-gap) 13px 18px;
  }
  .footer-shell { display: flex; flex-direction: column; align-items: center; min-height: 0; padding: calc(var(--footer-notch-radius) + 42px) 24px 28px; border-radius: 28px; }
  .footer-brand-area { position: relative; top: auto; left: auto; display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
  .footer-brand-type strong { font-size: clamp(22px, 6.2vw, 28px); }
  .footer-brand-type small { margin-top: 6px; font-size: 8px; }
  .footer-brand-area > p { margin: 23px 0 21px; font-size: 10px; line-height: 1.55; letter-spacing: .2em; }
  .footer-socials { justify-content: center; margin-left: 0; gap: 11px; }
  .footer-socials a { width: 38px; height: 38px; }
  .footer-socials svg { width: 19px; height: 19px; }
  .footer-nav { position: relative; top: auto; right: auto; left: auto; display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; gap: 17px; margin-top: 48px; text-align: center; }
  .footer-nav a { font-size: 12px; letter-spacing: .18em; }
  .footer-center { position: relative; top: auto; left: auto; width: 100%; margin-top: 54px; transform: none; }
  .footer-center > p:first-child { font-size: 9px; letter-spacing: .35em; }
  .footer-center strong { font-size: 15px; letter-spacing: .23em; }
  .footer-center-rule { margin: 17px auto 18px; width: 42px; }
  .footer-center-description { max-width: 290px; font-size: 12px; line-height: 1.5; }
  .footer-legal { position: relative; right: auto; bottom: auto; left: auto; display: flex; flex-direction: column; width: 100%; margin-top: 54px; padding-top: 16px; font-size: 9px; line-height: 1.55; text-align: center; }
  .footer-legal > span:last-child { display: flex; justify-content: center; font-size: 7px; gap: 11px; }
  .footer-legal i { width: 22px; }
}

@media (max-width: 360px) {
  .footer-shell { padding-right: 20px; padding-left: 20px; }
  .footer-brand-type strong { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-socials a, .footer-nav a { transition: none; }
}
