.footer-hub {
  --fh-bg: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  --fh-line: rgba(255,255,255,.12);
  --fh-line-soft: rgba(255,255,255,.08);
  --fh-text: #f8fafc;
  --fh-muted: #cbd5e1;
  --fh-shadow: 0 12px 40px rgba(0, 0, 0, .25);

  --fh-wb: #a855f7;
  --fh-wb-2: #7e22ce;
  --fh-ozon: #38bdf8;
  --fh-ozon-2: #2563eb;
}

.footer-hub {
  padding: 10px 0 24px;
  color: var(--fh-text);
}

.footer-hub .container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-hub-card {
  background: var(--fh-bg);
  border: 1px solid var(--fh-line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--fh-shadow);
}

.footer-hub-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-hub-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer-hub-text {
  margin: 0;
  color: var(--fh-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 68ch;
}

.footer-market {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-hub .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: .2s ease;
  cursor: pointer;
}

.footer-hub .btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.footer-hub .btn-wb {
  background: linear-gradient(180deg, var(--fh-wb), var(--fh-wb-2));
  color: #fdf4ff;
  box-shadow: 0 8px 18px rgba(168,85,247,.28);
}

.footer-hub .btn-ozon {
  background: linear-gradient(180deg, var(--fh-ozon), var(--fh-ozon-2));
  color: #eff6ff;
  box-shadow: 0 8px 18px rgba(56,189,248,.26);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.footer-col {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--fh-line-soft);
  border-radius: 16px;
  padding: 14px;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.3;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-links span {
  color: var(--fh-muted);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  word-break: break-word;
}

.footer-links a:hover {
  color: var(--fh-text);
}

.footer-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--fh-line-soft);
  color: #d1fae5;
  font-size: 14px;
  line-height: 1.5;
}

.footer-note a {
  color: inherit;
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0 28px;
  color: #94a3b8;
  font-size: 13px;
}

.site-footer .container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-hub-card {
    padding: 16px;
    border-radius: 18px;
  }

  .footer-hub-title {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-market {
    width: 100%;
    flex-direction: column;
  }

  .footer-hub .btn {
    width: 100%;
    white-space: normal;
  }
}
