:root {
  --site-footer-bg: #141414;
  --site-footer-border: var(--border, rgba(255, 255, 255, 0.1));
  --site-footer-muted: rgba(255, 255, 255, 0.5);
  --site-footer-link: rgba(255, 255, 255, 0.6);
  --site-footer-heading: rgba(255, 255, 255, 0.72);
  --site-footer-red: #cc0000;
}

.footer {
  width: 100%;
  padding: 0;
  border-top: 1px solid var(--site-footer-border);
  background: var(--site-footer-bg);
}

.footer * {
  box-sizing: border-box;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px 40px;
  text-align: center;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 70px;
}

.footer-desc {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--site-footer-muted);
  font-size: 15px;
  font-weight: 200;
  line-height: 1.8;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--site-footer-link);
  background: transparent;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
  border-color: var(--site-footer-red);
  color: #ffffff;
  background: var(--site-footer-red);
  transform: translateY(-2px);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-nav {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav h4 {
  margin: 0 0 20px;
  color: var(--site-footer-heading);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-nav ul {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.footer-nav li + li {
  margin-top: 12px;
}

.footer-nav a {
  color: var(--site-footer-link);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 200;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav li > a::before {
  content: "•";
  display: inline-block;
  margin-right: 7px;
  color: rgba(204, 0, 0, 0.8);
  font-size: 10px;
  vertical-align: 1px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  width: 100%;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.footer-designer {
  margin: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

.footer-designer a {
  color: rgba(204, 0, 0, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-designer a:hover,
.footer-designer a:focus-visible {
  color: var(--site-footer-red);
}

.footer-brand {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-inner {
    padding: 50px 20px 30px;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
    text-align: center;
  }

  .footer-nav-grid > * {
    min-width: 0;
  }
}

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