/* ==========================================
   FOOTER — Purple / Magenta gradient panel
   (senada demo Nomina Indonesia)
   ========================================== */

:root {
  --color-footer-grad-start: #3d1f6e;
  --color-footer-grad-end: #b0388f;
  --color-footer-accent: #e63965;
}

.site-footer {
  position: relative;
  font-family: var(--font-footer);
  background: linear-gradient(135deg, var(--color-footer-grad-start) 0%, var(--color-footer-grad-end) 100%);
  color: rgba(255,255,255,.75);
  overflow: hidden;
}

/* Footer Widgets (opsional, tetap tersedia jika widget area diisi) */
.footer-widgets {
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-widgets-inner.container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.footer-widget .widget-title {
  color: var(--color-white);
  font-weight: 700;
  border-bottom: none;
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}
.footer-widget .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--color-white);
  opacity: .6;
}
.footer-widget a { color: rgba(255,255,255,.7); }
.footer-widget a:hover { color: var(--color-white); }

/* Media Network — panel utama, semua konten center align */
.footer-media-network { position: relative; text-align: center; }
.footer-media-inner.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
  max-width: 720px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; width: 100%; }
.footer-logo { margin-bottom: var(--space-md); }
.footer-logo img { max-height: 56px; width: auto; }
.footer-site-title {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0 0 var(--space-lg);
  max-width: 360px;
}

/* Info perusahaan (PT, alamat, email, telp) */
.footer-company-info {
  margin: 0 0 var(--space-lg);
  max-width: 420px;
}
.footer-company-name {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 var(--space-xs);
}
.footer-company-line {
  color: rgba(255,255,255,.75);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin: 0;
}
.footer-company-line a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-company-line a:hover { color: var(--color-white); }

/* Social icons — glass circle, center row */
.footer-social { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-sm); }
.footer-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.12);
  color: var(--color-white);
  transition: background .25s ease, transform .2s ease;
}
.footer-social .social-link svg { width: 18px; height: 18px; }
.footer-social .social-link:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-2px);
}

/* Divider tipis antar blok footer */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.18);
  margin-bottom: var(--space-lg);
}

/* Media Network heading + link grid */
.footer-network-links { width: 100%; display: flex; flex-direction: column; align-items: center; }
.footer-network-heading {
  color: var(--color-white);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 var(--space-md);
}
.network-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.network-menu a {
  color: rgba(255,255,255,.8);
  font-size: var(--font-size-sm);
  transition: color .2s ease;
}
.network-menu a:hover { color: var(--color-white); text-decoration: underline; }

/* Footer Legal */
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.12);
}
.footer-legal-inner.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  text-align: center;
}
.legal-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm) 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal-menu li { display: flex; align-items: center; }
.legal-menu li a {
  color: rgba(255,255,255,.85);
  font-size: var(--font-size-2xs);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 0 var(--space-sm);
}
.legal-menu li a:hover { color: var(--color-white); }
.legal-menu li:not(:last-child)::after {
  content: "/";
  color: rgba(255,255,255,.4);
}
.footer-copyright {
  font-size: var(--font-size-2xs);
  color: rgba(255,255,255,.55);
}
.footer-site-name { color: var(--color-white); font-weight: 600; }

/* Scroll to Top — bulat merah/pink, senada aksen brand di screenshot */
.scroll-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--color-footer-accent);
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.scroll-to-top.visible { display: flex; }
.scroll-to-top:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.35); }

@media (max-width: 1023px) { /* --bp-tablet */
  .footer-widgets-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) { /* --bp-mobile */
  .footer-widgets-inner { grid-template-columns: 1fr; }
  .footer-tagline,
  .footer-company-info { max-width: 100%; }
  .network-menu { gap: var(--space-sm) var(--space-md); }
}
