/* ═══════════════════════════════════════════════════════
   KIF — Footer (Premium Design)
   ═══════════════════════════════════════════════════════ */

.site-footer {
  position: relative;
  background: var(--ink-deep);
  overflow: hidden;
}

/* ─── Top accent gradient line ───────────────────── */
.footer-accent {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
  opacity: .6;
}

/* ─── Grid wrapper ───────────────────────────────── */
.footer-grid-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

/* ─── Brand column ───────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: opacity .3s;
}

.footer-logo-link:hover .footer-logo-img {
  opacity: .8;
}

.footer-tagline {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--frost-faint);
  max-width: 280px;
}

/* ─── Social icons ───────────────────────────────── */
.footer-socials {
  display: flex;
  gap: .75rem;
  margin-top: .5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--edge-bright);
  background: var(--surface);
  color: var(--frost-dim);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.social-icon svg {
  width: 17px;
  height: 17px;
}

.social-icon:hover {
  color: var(--gold);
  border-color: rgba(232, 97, 26, .4);
  background: rgba(232, 97, 26, .08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 97, 26, .15);
}

/* ─── Column title ───────────────────────────────── */
.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--frost);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: .75rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* ─── Navigation links ──────────────────────────── */
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.footer-nav a {
  font-size: .85rem;
  color: var(--frost-faint);
  text-decoration: none;
  transition: color .25s, padding-left .25s;
  display: inline-flex;
  align-items: center;
}

.footer-nav a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-right: 0;
  transition: width .3s, margin-right .3s;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-nav a:hover::before {
  width: 12px;
  margin-right: 8px;
}

/* ─── Contact list ───────────────────────────────── */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.footer-contact svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--gold);
  margin-top: 2px;
}

.footer-contact a {
  font-size: .85rem;
  color: var(--frost-faint);
  text-decoration: none;
  line-height: 1.6;
  transition: color .25s;
}

.footer-contact a:hover {
  color: var(--gold);
}

/* ─── Bottom bar ─────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid var(--edge);
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-copy {
  font-size: .7rem;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .2);
}

.footer-credit {
  font-size: .7rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .15);
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid-wrap {
    padding: 3rem 1.5rem 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
