:root {
  --footer-bg: #0d0f13;
  --footer-ink: #c9d1d9;
  --footer-muted: #8b949e;
  --footer-accent: #b71c1c;
  --footer-accent-2: #f44336;
  --footer-border: #20252b;
}

.site-footer {
  color: var(--footer-ink);
  background: radial-gradient(1200px 500px at 10% -10%, rgba(183, 28, 28, 0.12), transparent 50%),
              radial-gradient(800px 400px at 90% 0%, rgba(183, 28, 28, 0.08), transparent 55%),
              var(--footer-bg);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 28px);
}

.footer-top-shape { color: var(--footer-bg); }
.footer-top-shape svg { display: block; width: 100%; height: 90px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.1fr 1.5fr;
  gap: clamp(16px, 5vw, 48px);
  padding: clamp(32px, 6vw, 56px) 0 clamp(20px, 5vw, 36px);
  align-items: start;
}

.footer-kicker {
  margin: 0 0 10px;
  color: rgba(244, 67, 54, 0.9);
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  letter-spacing: .22em;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-logo { text-decoration: none; color: var(--footer-accent); display: inline-block; }
.footer-logo-main {
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 700;
  letter-spacing: 4px;
  display: block;
  transition: transform .22s ease, letter-spacing .22s ease;
}
.footer-logo:hover .footer-logo-main { transform: translateY(-1px); letter-spacing: 5px; }
.footer-logo-sub {
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
}
.footer-desc { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--footer-muted); }
.footer-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 0; list-style: none; }
.footer-tags li { border: 1px solid var(--footer-border); color: var(--footer-muted); font-size: 12px; padding: 6px 10px; border-radius: 999px; }

.footer-links h4,
.footer-contacts h4,
.footer-social h4 {
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  color: #fff;
  text-transform: uppercase;
}
.footer-links a { display: block; text-decoration: none; color: var(--footer-ink); opacity: 0.9; font-size: 14px; margin-bottom: 8px; transition: color .2s ease, opacity .2s ease, transform .15s ease; text-align: left; }
.footer-links a:hover { color: var(--footer-accent-2); opacity: 1; transform: translateX(2px); }

.footer-contacts p { font-size: 14px; color: var(--footer-muted); margin-bottom: 10px; }
.footer-contacts a { color: var(--footer-ink); text-decoration: none; }
.footer-contacts .hours { color: var(--footer-ink); }
.footer-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--footer-border);
  color: #fff;
  transition: transform .18s ease, border-color .22s ease, background-color .22s ease;
}
.footer-map-link:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 67, 54, 0.3);
  background: rgba(244, 67, 54, 0.08);
}

.socials { gap: 10px; }
.social-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: #1f232a; border: 1px solid var(--footer-border); transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { transform: translateY(-3px); }
.social-btn.vk { background: linear-gradient(135deg, #2787F5 0%, #155EDC 100%); }
.social-btn.tg { background: linear-gradient(135deg, #2AABEE 0%, #2396E6 100%); }
.social-btn.yt { background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%); }
.social-btn.ig { background: linear-gradient(135deg, #F58529, #FEDA77, #DD2A7B, #8134AF, #515BD4); }

.footer-social .footer-tags { margin-top: 10px; }
.footer-social .footer-desc { margin-top: 10px; }
.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.footer-mini-links a {
  color: var(--footer-ink);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px dashed rgba(255,255,255,0.18);
  transition: color .2s ease, border-color .2s ease;
}
.footer-mini-links a:hover {
  color: var(--footer-accent-2);
  border-color: rgba(244, 67, 54, 0.4);
}

.footer-bottom { border-top: 1px solid var(--footer-border); margin-top: 20px; padding: 14px 0 24px; background: linear-gradient(0deg, rgba(0,0,0,.06), transparent); }
.bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--footer-muted); font-size: 13px; }
.bottom-inner .made { color: var(--footer-muted); }
.kanji { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; margin-left: 6px; background: #1f232a; color: #ffeb3b; border: 1px solid var(--footer-border); }

@media (max-width: 1350px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .container { padding: 0 32px; }
  .footer-grid { gap: 28px; }
  .footer-grid > * { padding-inline: 8px; }
}
@media (max-width: 900px) {
  .container { padding: 0 32px; }
  .footer-grid { gap: 28px; }
  .footer-grid > * { padding-inline: 8px; }
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > * { text-align: center; max-width: 560px; margin: 0 auto; padding-inline: 0; }
  .footer-links a { text-align: center; }
  .footer-tags { justify-content: center; }
}
@media (max-width: 640px) {
  .bottom-inner { flex-direction: column; text-align: center; }
}
