/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(232, 238, 247, 0.1);
  background: #0a0f14;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-inner {
  position: relative;
  z-index: 2;
  padding: 64px 20px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
    gap: 34px;
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(143, 173, 49, 0.18);
}

.footer-logo-icon {
  width: 26px;
  height: 26px;
  color: var(--primary-fg);
}

.footer-brand-title {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.1;
}

.footer-brand-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(232, 238, 247, 0.65);
}

.footer-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(232, 238, 247, 0.65);
  max-width: 520px;
}

.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(232, 238, 247, 0.72);
}

.footer-h {
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(232, 238, 247, 0.65);
  display: inline-flex;
  align-items: center;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.footer-links a:hover {
  color: rgba(232, 238, 247, 0.92);
  transform: translateX(4px);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(232, 238, 247, 0.65);
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact a {
  color: rgba(232, 238, 247, 0.65);
  transition:
    opacity 0.18s ease,
    color 0.18s ease;
}

.footer-contact a:hover {
  color: rgba(232, 238, 247, 0.92);
}

.footer-contact-col {
  display: grid;
  gap: 6px;
}

.footer-address {
  display: inline-block;
}

.footer-bank {
  background: rgba(232, 238, 247, 0.05);
  border: 1px solid rgba(232, 238, 247, 0.1);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  color: rgba(232, 238, 247, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.footer-bank p {
  margin: 0 0 6px;
}

.footer-bank p:last-child {
  margin-bottom: 0;
}

.footer-muted {
  color: rgba(232, 238, 247, 0.5);
}

.footer-bank-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(232, 238, 247, 0.5);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 238, 247, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(232, 238, 247, 0.5);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(232, 238, 247, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    opacity 0.18s ease,
    color 0.18s ease;
}

.footer-bottom-links a:hover {
  color: rgba(232, 238, 247, 0.92);
}

/* Scroll to top button */
.scroll-top-btn {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(143, 173, 49, 0.22);
  transition:
    transform 0.15s ease,
    filter 0.15s ease,
    opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
