: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);
  font-family: "Open Sans", sans-serif;
}

/* =========================================
   MAIN CONTAINER — 4 kolom desktop
   ========================================= */
.sf-footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

/* =========================================
   BRAND
   ========================================= */
.sf-footer-brand {
  display: flex;
  flex-direction: column;
}

.sf-footer-logo-img {
  width: clamp(110px, 12vw, 145px);
  margin-bottom: 20px;
}

.sf-footer-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #f1f5f9;
}

.sf-footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 340px;
  margin-bottom: 22px;
}

/* ── Social buttons ── */
.sf-footer-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-link);
  font-size: 0.8rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sf-social-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
  color: #d4af37;
}

.sf-social-btn svg {
  flex-shrink: 0;
}

/* =========================================
   NAV
   ========================================= */
.sf-footer-nav-label {
  font-size: 0.63rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 18px;
}

.sf-nav-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sf-nav-links a {
  font-size: 0.87rem;
  color: var(--text-link);
  text-decoration: none;
  position: relative;
  width: fit-content;
  transition: color 0.25s;
}

.sf-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.25s ease;
}

.sf-nav-links a:hover {
  color: #d4af37;
}

.sf-nav-links a:hover::after {
  width: 100%;
}

/* =========================================
   MAP
   ========================================= */
.sf-footer-map {
  display: flex;
  flex-direction: column;
}

.sf-map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 65%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 12px;
}

.sf-map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(30%) brightness(0.85) contrast(1.05);
  transition: filter 0.3s;
}

.sf-map-wrapper:hover iframe {
  filter: grayscale(0%) brightness(1) contrast(1);
}

.sf-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s;
}

.sf-map-link:hover {
  color: #d4af37;
}

/* =========================================
   FOOTER BOTTOM
   ========================================= */
.sf-footer-bottom {
  margin-top: clamp(52px, 7vw, 80px);
  padding: 22px 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.76rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* =========================================
   TABLET  ≤ 1024px  — 2+2 grid
   ========================================= */
@media (max-width: 1024px) {
  .sf-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Brand full width baris pertama */
  .sf-footer-brand {
    grid-column: 1 / -1;
  }

  /* Map full width baris terakhir */
  .sf-footer-map {
    grid-column: 1 / -1;
  }

  .sf-map-wrapper {
    padding-bottom: 38%;
  }
}

/* =========================================
   MOBILE  ≤ 640px  — 1 kolom
   ========================================= */
@media (max-width: 640px) {
  .sf-footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .sf-footer-brand {
    grid-column: auto;
    align-items: center;
  }

  .sf-footer-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .sf-footer-socials {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sf-footer-map {
    grid-column: auto;
    align-items: center;
  }

  .sf-footer-nav-label {
    text-align: center;
  }

  .sf-nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .sf-nav-links a {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
  }

  .sf-nav-links a::after { display: none; }

  .sf-nav-links a:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.96);
  }

  .sf-map-wrapper {
    padding-bottom: 65%;
  }

  .sf-map-link {
    margin: 0 auto;
  }
}