/* Shared public site footer */
.footer {
  background: var(--footer-bg, #0f172a);
  color: var(--footer-text, #94a3b8);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(13, 148, 136, 0.22);
  position: relative;
  margin-top: 0;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0d9488 20%, #10b981 50%, #0d9488 80%, transparent);
  opacity: 0.7;
}
.footer .container,
.footer .footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2rem;
}
.footer-brand-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 1rem;
  color: inherit;
}
.footer-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-brand-desc,
.footer-about {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--footer-text, #94a3b8);
  max-width: 300px;
}
.footer-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.footer-store-badges a {
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.92;
}
.footer-store-badges a:hover {
  transform: translateY(-2px);
  opacity: 1;
}
.footer-store-badges img {
  display: block;
  height: 36px;
  width: auto;
}
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--footer-heading, #f1f5f9);
  margin: 0 0 0.95rem;
}
.footer-link {
  display: block;
  color: var(--footer-text, #94a3b8);
  font-size: 0.9rem;
  padding: 0.28rem 0;
  text-decoration: none;
  transition: color 0.2s ease, padding-inline-start 0.2s ease;
}
.footer-link:hover {
  color: #fff;
  padding-inline-start: 0.2rem;
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(148, 163, 184, 0.15);
  margin: 0.5rem 0 1.25rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}
.footer-copyright {
  margin: 0;
  font-size: 0.8rem;
  color: var(--footer-text, #94a3b8);
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}
.footer-bottom-links a {
  color: var(--footer-text, #94a3b8);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: #fff; }
.footer .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.footer .social-icons a {
  color: var(--footer-text, #94a3b8);
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.12);
  text-decoration: none;
}
.footer .social-icons a:hover {
  color: #fff;
  background: var(--accent-color, #0d9488);
  border-color: var(--accent-color, #0d9488);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-brand-desc,
  .footer-about { max-width: none; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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