/* ==========================================================================
   Swayamvara Matrimony — Unified Shared Site Footer (site_footer.css)
   Single visual source of truth extracted from modified_landingpage.html /
   landing_revamp.css and used across both public and authenticated pages.
   Consumes canonical theme tokens from static/css/homecss/theme.css.
   Strictly scoped under .site-footer so page-level resets, Bootstrap, or
   root rem changes never alter footer typography, buttons, or layout.
   ========================================================================== */

.site-footer {
  background: var(--color-bg-footer, #0a0c0e);
  color: #e5e7eb;
  padding: 68px 0 34px;
  font-family: var(--font-sans, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.site-footer[id] {
  scroll-margin-top: 96px;
}

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
  font-family: var(--font-sans, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.site-footer img {
  display: block;
}

.site-footer button {
  font-family: inherit;
  line-height: inherit;
}

.site-footer .footer-contact-address {
  font-style: normal;
  margin: 0 0 20px;
}

.site-footer :where(a, button):focus-visible {
  outline: 2px solid var(--color-hero-accent, #00d562);
  outline-offset: 3px;
}

.site-footer .lp-container {
  width: 100%;
  max-width: calc(var(--container-max, 1602px) + clamp(32px, 8vw, 160px));
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 80px);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) minmax(130px, 0.85fr) minmax(140px, 0.9fr) minmax(140px, 0.9fr) minmax(240px, 1.35fr);
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: 48px;
}

.site-footer .footer-logo {
  position: relative;
  display: block;
  width: 224px;
  aspect-ratio: 314 / 68;
  overflow: hidden;
  margin-bottom: 18px;
}

.site-footer .footer-logo .brand-logo-img {
  position: absolute;
  width: 105.52%;
  height: 341.84%;
  left: -4.7%;
  top: -120.92%;
  max-width: none;
  pointer-events: none;
}

.site-footer .footer-tagline {
  margin: 0 0 22px;
  max-width: 310px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #9ca3af;
}

.site-footer .footer-download-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.site-footer .footer-app-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .footer-store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border-footer, #2b3139);
  background: rgba(255, 255, 255, 0.03);
  color: #e5e7eb;
  font-family: var(--font-sans, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}

.site-footer .footer-store-pill:hover {
  border-color: var(--color-accent, #009b47);
  background: rgba(0, 155, 71, 0.12);
  color: var(--color-white, #ffffff);
}

.site-footer .footer-heading {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white, #ffffff);
}

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

.site-footer .footer-link {
  display: inline-block;
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  transition: color 220ms ease, transform 240ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.site-footer .footer-link:hover {
  color: var(--color-white, #ffffff);
  transform: translate3d(3px, 0, 0);
}

.site-footer .footer-link-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.site-footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  color: #9ca3af;
}

.site-footer .footer-contact-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary, #178a43);
}

.site-footer .footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .footer-copyright {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #8e95a2;
}

.site-footer .footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-follow-label {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #8e95a2;
}

.site-footer .footer-social-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer .footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border-footer, #2b3139);
  background: transparent;
  color: #d1d5db;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer .footer-social-icon {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}

.site-footer .footer-social-btn:hover {
  border-color: var(--color-accent, #009b47);
  color: var(--color-white, #ffffff);
  background: rgba(0, 155, 71, 0.14);
}

.site-footer .footer-store-pill,
.site-footer .footer-social-btn {
  transition:
    transform 260ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow 260ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
    background-color 220ms ease,
    border-color 220ms ease,
    filter 220ms ease,
    color 220ms ease;
}

.site-footer .footer-store-pill:active,
.site-footer .footer-social-btn:active {
  transform: translate3d(0, 0, 0) scale(0.97);
}

@media (max-width: 1120px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer .footer-brand-col {
    grid-column: 1 / -1;
  }

  .site-footer .footer-contact-col {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .site-footer[id] {
    scroll-margin-top: 76px;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding: 48px 0 28px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

  .site-footer .footer-contact-col {
    grid-column: auto;
  }

  .site-footer .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    transition-duration: 0.01ms !important;
  }
}
