/* ── Shared Footer — iMoodsy ────────────────────────────────────────── */
@import url('/imoodsy1/assets/css/shared-fonts.css');

:root {
  --footer-bg:     linear-gradient(180deg, color-mix(in srgb, var(--bg2, #eef2ff) 72%, white 28%) 0%, color-mix(in srgb, var(--bg, #f8fafc) 86%, white 14%) 100%);
  --footer-text:   var(--text, #1a1a2e);
  --footer-muted:  var(--text2, #6b6b80);
  --footer-border: color-mix(in srgb, var(--cat, var(--primary, #6d5efc)) 18%, rgba(15,23,42,.08));
  --footer-pill:   color-mix(in srgb, var(--cat, var(--primary, #6d5efc)) 12%, white 88%);
}

footer.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 60px 5% 0;
  margin-top: 56px;
  font-family: var(--font-en);
}

/* ── Grid ── */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 32px 28px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--footer-border);
}

/* ── Brand column ── */
.site-footer .footer-brand-card { padding-right: 12px; }

.site-footer .footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cat, #a78bfa);
  margin-bottom: 14px;
}

.site-footer .footer-brand-card .logo {
  display: block;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary, #6d5efc) 0%, var(--accent2, #d44870) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.site-footer .footer-brand-card .logo span {
  -webkit-text-fill-color: var(--cat, #6d5efc);
}

.site-footer .footer-brand-card p {
  color: var(--text2);
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 280px;
}

.site-footer .footer-meta {
  color: var(--text2);
  font-size: 12.5px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.site-footer .footer-meta strong {
  color: var(--text);
  font-weight: 700;
}

/* ── Social Icons ── */
.site-footer .footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 17px;
  transition: transform .22s ease, opacity .22s ease;
  flex-shrink: 0;
}
.site-footer .footer-socials a:hover {
  transform: translateY(-3px);
  opacity: .88;
}

.site-footer .footer-socials a.social-fb        { background: #1877f2; color: #fff; }
.site-footer .footer-socials a.social-tw        { background: #000;    color: #fff; }
.site-footer .footer-socials a.social-pinterest { background: #e60023; color: #fff; }
.site-footer .footer-socials a.social-telegram  { background: #229ed9; color: #fff; }
.site-footer .footer-socials a.social-wa        { background: #25d366; color: #fff; }
.site-footer .footer-socials a.social-insta     {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
}

/* ── Column headings ── */
.site-footer .footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--footer-border);
}

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

.site-footer .footer-col li + li { margin-top: 11px; }

.site-footer .footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text2);
  font-size: 13.5px;
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
}
.site-footer .footer-col a:hover {
  color: var(--primary, #6d5efc);
  gap: 13px;
}
.site-footer .footer-col a i {
  font-size: 10px;
  color: var(--cat, var(--primary, #6d5efc));
  flex-shrink: 0;
}

/* ── Bottom bar ── */
.site-footer .footer-bottom {
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer .footer-bottom .footer-copy {
  color: var(--text2);
  font-size: 13px;
}
.site-footer .footer-bottom .footer-copy a {
  color: var(--primary, #6d5efc);
  text-decoration: none;
  font-weight: 600;
}
.site-footer .footer-bottom .footer-copy a:hover {
  text-decoration: underline;
}

.site-footer .footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer .footer-legal a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text2);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
}
.site-footer .footer-legal a i {
  font-size: 11px;
  color: var(--cat, var(--primary, #6d5efc));
}
.site-footer .footer-legal a:hover {
  color: var(--primary, #6d5efc);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .site-footer .footer-brand-card {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .site-footer .footer-brand-card p { max-width: 100%; }
}

@media (max-width: 580px) {
  footer.site-footer { padding: 44px 5% 0; }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 32px;
  }
  .site-footer .footer-brand-card { grid-column: auto; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}
