.global-site-footer {
  --footer-bg: #070b18;
  --footer-surface: #0d1428;
  --footer-surface-strong: #121d3b;
  --footer-line: rgba(151, 174, 239, 0.18);
  --footer-text: #dbe5ff;
  --footer-muted: #93a3c8;
  --footer-accent: #87efe7;
  --footer-accent-2: #aab4ff;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--footer-text);
  direction: ltr;
  background:
    radial-gradient(circle at 84% 4%, rgba(128, 139, 255, 0.13), transparent 34rem),
    radial-gradient(circle at 10% 96%, rgba(78, 232, 214, 0.08), transparent 28rem),
    var(--footer-bg);
  border-top: 1px solid var(--footer-line);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.global-site-footer *,
.global-site-footer *::before,
.global-site-footer *::after { box-sizing: border-box; }

.global-site-footer a { color: inherit; text-decoration: none; }

.global-footer-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.global-footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  min-height: 350px;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--footer-line);
}

.global-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: var(--footer-text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.global-footer-brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(167, 188, 249, 0.22);
  border-radius: 13px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.global-footer-lead h2 {
  max-width: 780px;
  margin: 0;
  color: var(--footer-text);
  font-family: "Literata", Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.global-footer-lead h2 span {
  color: var(--footer-accent);
}

.global-footer-action {
  align-self: end;
  padding-bottom: 0.45rem;
}

.global-footer-action p {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  color: var(--footer-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.global-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.global-footer-primary,
.global-footer-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.05rem;
  border-radius: 13px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.global-footer-primary {
  color: #091326 !important;
  background: linear-gradient(110deg, var(--footer-accent), var(--footer-accent-2));
  box-shadow: 0 14px 34px rgba(85, 220, 213, 0.12);
}

.global-footer-secondary {
  color: var(--footer-text) !important;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--footer-line);
}

.global-footer-primary:hover,
.global-footer-secondary:hover {
  transform: translateY(-2px);
}

.global-footer-secondary:hover { border-color: rgba(135, 239, 231, 0.45); }

.global-footer-directory {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5.25rem);
  padding: clamp(3.25rem, 6vw, 5rem) 0;
}

.global-footer-column h3 {
  margin: 0 0 1.35rem;
  color: var(--footer-accent);
  font: 800 0.7rem/1.2 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.global-footer-column ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-footer-column li { margin: 0; padding: 0; }

.global-footer-column a {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  color: var(--footer-text);
  font-size: 0.95rem;
  font-weight: 560;
  line-height: 1.35;
  opacity: 0.88;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.global-footer-column a:hover,
.global-footer-column a[aria-current="page"] {
  color: var(--footer-accent);
  opacity: 1;
  transform: translateX(3px);
}

.global-footer-language-list a { gap: 0.6rem; }

.global-footer-language-list small {
  min-width: 2.1rem;
  color: var(--footer-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.global-footer-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0 1.75rem;
  color: var(--footer-muted);
  border-top: 1px solid var(--footer-line);
  font-size: 0.78rem;
}

.global-footer-meta p { margin: 0; }

.global-footer-meta-links,
.global-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.global-footer-meta a { color: var(--footer-muted); }
.global-footer-meta a:hover { color: var(--footer-accent); }

.global-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.global-footer-social-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--footer-text);
  border: 1px solid var(--footer-line);
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 900;
}

@media (max-width: 900px) {
  .global-footer-lead { grid-template-columns: 1fr; min-height: 0; }
  .global-footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .global-footer-meta { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .global-footer-shell { width: min(100% - 32px, 1240px); }
  .global-footer-lead { padding-top: 4rem; }
  .global-footer-lead h2 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .global-footer-directory { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .global-footer-primary,
  .global-footer-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .global-site-footer a { transition: none; }
}
