/* ============================================================
   LokaLinc — Footer Styles
   Self-contained. Load via <link> in <head> on every page.
   Requires: nothing from styles.css
   ============================================================ */

/* ── Layout shell ── */
.site-footer {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #047857 100%);
  color: #f1f5f9;
  padding: 42px 24px 22px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

/* ── Decorative background circles ── */
.footer-bg-c1,
.footer-bg-c2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.footer-bg-c1 {
  top: -30%; right: -8%;
  width: clamp(160px, 38vw, 520px);
  height: clamp(160px, 38vw, 520px);
  background: rgba(255, 255, 255, 0.04);
}
.footer-bg-c2 {
  bottom: -30%; left: -6%;
  width: clamp(120px, 26vw, 360px);
  height: clamp(120px, 26vw, 360px);
  background: rgba(255, 255, 255, 0.03);
}

/* ── Inner wrapper ── */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Top grid: brand + link columns ── */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(36px, 7vw, 96px);
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ── Brand column ── */
.footer-brand {
  flex: 0 1 360px;
  min-width: 280px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.footer-logo-row img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-logo-row span {
  font-size: 20px;
  font-weight: 800;
  color: #10b981;
}

.footer-tagline {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

/* ── App store badges ── */
.footer-app-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-app-row a {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer-app-row a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.footer-app-row img {
  height: 34px;
  width: auto;
  display: block;
}

/* ── Social icons ── */
.footer-social-row { display: flex; gap: 8px; }

.footer-social-row a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social-row a:hover {
  background: #10b981;
  color: white;
  transform: translateY(-2px);
}
.footer-social-row img {
  width: 15px;
  height: 15px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

/* ── Link columns ── */
.footer-links {
  flex: 1 1 420px;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  justify-content: end;
  min-width: 320px;
  position: relative;
  z-index: 2;
}

.footer-col {
  display: block;
  min-width: 0;
  opacity: 1;
  visibility: visible;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li { list-style: none; }

.footer-col a,
.footer-col a:link,
.footer-col a:visited {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.25;
  display: inline-block;
  transition: color 0.18s, transform 0.18s;
}

.footer-col a::after {
  content: "\2192";
  opacity: 0;
  display: inline-block;
  margin-left: 8px;
  transform: translateX(-5px);
  transition: opacity 0.18s, transform 0.18s;
}

.footer-col a:hover,
.footer-col a:focus {
  color: #6ee7b7;
  text-decoration: none;
  transform: translateX(6px);
}

.footer-col a:hover::after,
.footer-col a:focus::after {
  opacity: 1;
  transform: translateX(0);
}

/* ── Bottom copyright bar ── */
.footer-bottom {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-brand,
  .footer-links {
    width: 100%;
    flex: none;
    min-width: 0;
  }
  .footer-links { justify-content: start; }
  .footer-desc { max-width: 100%; }
}

@media (max-width: 480px) {
  .site-footer { padding: 34px 20px 22px; }
  .footer-top { gap: 26px; }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .footer-logo-row { margin-bottom: 12px; }
  .footer-desc { margin-bottom: 16px; }
  .footer-app-row { margin-bottom: 14px; }
  .footer-bottom { margin-top: 16px; }
}
