/* ============================================================
   KISU Foundation — footer.css
   ============================================================ */

/* ---------- layout ---------- */
.site-footer {
  background: #2d1b4e;
  color: #d4c4e8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* decorative top arch */
.site-footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 60px;
  background: #2d1b4e;
  clip-path: ellipse(55% 100% at 50% 100%);
  margin-top: -58px;
  position: relative;
  z-index: 1;
}

/* faint radial glow in the background */
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(120, 60, 200, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 0;
  position: relative;
  z-index: 2;
}

/* ---------- top grid ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- brand column ---------- */
.footer-brand .footer-logo {
  height: 46px;
  width: auto;
  border-radius: 12px;
  margin-bottom: 18px;
  filter: brightness(1.05);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #b8a5d0;
  max-width: 260px;
}

/* ---------- social icons ---------- */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4c4e8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.25s, border-color 0.25s, transform 0.2s, color 0.2s;
  background: rgba(255, 255, 255, 0.05);
}

.footer-socials a:hover {
  background: rgb(72, 13, 149);
  border-color: rgb(72, 13, 149);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- column headings ---------- */
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #c084fc;
  border-radius: 2px;
}

/* ---------- nav links ---------- */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav li a {
  text-decoration: none;
  font-size: 0.88rem;
  color: #b8a5d0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s, gap 0.2s;
}

.footer-nav li a::before {
  content: '→';
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-4px);
  color: #c084fc;
}

.footer-nav li a:hover {
  color: #fff;
  gap: 11px;
}

.footer-nav li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- contact items ---------- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: #b8a5d0;
  line-height: 1.5;
}

.footer-contact-list li i {
  color: #c084fc;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.footer-contact-list li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list li a:hover {
  color: #fff;
}

/* ---------- bottom bar ---------- */
.footer-bottom {
  padding: 22px 0;
  position: relative;
  z-index: 2;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #9880b8;
}

.footer-bottom p a {
  color: #b89fd4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom p a:hover {
  color: #fff;
}

.footer-tagline {
  font-size: 0.78rem;
  color: #7a6594;
  font-style: italic;
  letter-spacing: 0.03em;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: unset;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}