:root {
  --footer-bg: linear-gradient(180deg, #020617, #000);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-link: #cbd5f5;
  --border-color: rgba(255, 255, 255, 0.08);
  --container-max: 1200px;
}

/* =========================================
   FOOTER WRAPPER
   ========================================= */
.sf-footer {
  background: var(--footer-bg);
  padding: clamp(60px, 8vw, 100px) 0 0;
  color: var(--text-main);
}

/* =========================================
   MAIN CONTAINER
   ========================================= */
.sf-footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 60px;
}

/* =========================================
   BRAND
   ========================================= */
.sf-footer-brand {
  display: flex;
  flex-direction: column;
}

.sf-footer-logo-img {
  width: clamp(120px, 15vw, 160px);
  margin-bottom: 24px;
}

.sf-footer-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
}

.sf-footer-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 460px;
}

/* =========================================
   NAV LINKS (DESKTOP)
   ========================================= */
.sf-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.sf-nav-links a {
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--text-link);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.sf-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.sf-nav-links a:hover::after {
  width: 100%;
}

/* =========================================
   FOOTER BOTTOM
   ========================================= */
.sf-footer-bottom {
  margin-top: clamp(60px, 8vw, 100px);
  padding: 30px 24px;
  border-top: 1px solid var(--border-color);
}

.sf-bottom-content {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* =========================================
   TABLET
   ========================================= */
@media (max-width: 992px) {
  .sf-footer-container {
    gap: 40px;
  }
}

/* =========================================
   MOBILE (LAYOUT & UX BERUBAH TOTAL)
   ========================================= */
@media (max-width: 768px) {
  .sf-footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .sf-footer-brand {
    align-items: center;
  }

  .sf-footer-desc {
    margin: 0 auto;
  }

  /* NAV JADI BUTTON GROUP (BUKAN LIST) */
  .sf-nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .sf-nav-links a {
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
  }

  .sf-nav-links a::after {
    display: none;
  }

  .sf-nav-links a:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.15);
  }
}
