:root{
  --f-bg: radial-gradient(1200px 500px at 10% 0%, #0b1220 0%, #0b1120 35%, #0a0f1a 100%);
  --f-card: rgba(255,255,255,0.06);
  --f-border: rgba(255,255,255,0.12);
  --f-text: #e5e7eb;
  --f-muted: #94a3b8;
  --f-link: #93c5fd;
  --f-link-hover: #bfdbfe;
  --f-accent: #60a5fa;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0,0,0,.35);
}

.site-footer{
  color: var(--f-text);
  background: var(--f-bg);
  margin-top: 32px;
  box-shadow: var(--shadow) inset 0 1px 0 rgba(255,255,255,.04);
}
.site-footer a{ color: var(--f-link); text-decoration: none; }
.site-footer a:hover{ color: var(--f-link-hover); text-decoration: underline; }

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 16px;
}

/* Бренд */
.footer-brand{
  background: var(--f-card);
  border: 1px solid var(--f-border);
  border-radius: var(--radius);
  padding: 14px;
}
.brand{
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--f-border);
  border-radius: 14px;
  padding: 8px 10px;
}
.brand-logo{
  width: auto; height: 40px;
  object-fit: contain;
}
.brand-name{
  font-weight: 700; font-size: 18px; line-height: 1;
}
.brand-tag{
  color: var(--f-muted);
  margin: 10px 0 0 0;
}

/* Контакти */
.footer-contacts{
  display: grid; gap: 8px; margin-top: 12px;
}
.contact{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--f-border);
}
.contact svg{ width: 18px; height: 18px; }

/* Соціалки */
.socials{
  display: inline-flex; gap: 10px; margin-top: 12px;
}
.socials a{
  display: inline-flex; width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--f-border);
  border-radius: 12px;
}
.socials svg{ width: 18px; height: 18px; color: var(--f-text); }

/* Нижня плашка */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--f-muted);
}
.to-top{
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--f-border);
  border-radius: 12px;
  padding: 8px 10px;
}

/* Адаптивність */
@media (min-width: 768px){
  .footer-inner{padding: 26px 20px;}
  .brand-logo{height: 48px;}
  .brand-name{font-size: 20px;}
}
@media (min-width: 1024px){
  .footer-inner{padding: 30px 20px;}
  .brand-logo{height: 54px;}
  .brand-name{font-size: 22px;}
}
