.site-footer {
  background-color: var(--color-dark, #1a1a2e);
  color: var(--color-white, #ffffff);
  padding: 60px 0 20px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs, 4px);
  text-decoration: none;
  margin-bottom: var(--space-md, 16px);
}

.footer-logo .logo-text {
  font-weight: 700;
  color: var(--color-primary, #1a73e8);
  font-size: 24px;
}

.footer-logo .logo-sub {
  font-weight: 500;
  color: var(--color-white, #ffffff);
  font-size: var(--font-size-sm, 14px);
  margin-top: 4px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm, 14px);
  line-height: 1.6;
  margin-bottom: var(--space-lg, 24px);
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: var(--space-md, 16px);
}

.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-full, 9999px);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white, #ffffff);
  font-size: var(--font-size-xs, 12px);
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
}

.footer-social .social-icon:hover {
  background-color: var(--color-primary, #1a73e8);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.footer-title {
  color: var(--color-white, #ffffff);
  font-size: var(--font-size-lg, 18px);
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: var(--space-xs, 4px);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary, #1a73e8);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm, 8px) var(--space-md, 16px);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm, 14px);
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s ease);
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 100%;
  line-height: 1.4;
}

.footer-links a:hover {
  color: var(--color-primary, #1a73e8);
}

.footer-links .active a {
  color: var(--color-primary, #1a73e8);
  font-weight: 600;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-info li {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm, 14px);
  line-height: 1.5;
}

.footer-contact-info strong {
  color: var(--color-white, #ffffff);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 20px 0 0;
  text-center: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs, 12px);
  text-align: center;
  margin: 0;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full, 9999px);
  background-color: var(--color-primary, #1a73e8);
  color: var(--color-white, #ffffff);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: all var(--transition-normal, 0.3s ease);
  z-index: 998;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-dark, #1557b0);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-xs, 4px) 0;
  }

  .footer-links a {
    min-height: 44px;
    padding: var(--space-xs, 4px) 0;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}
