/* =====================================================================
   SEFORAA – footer (includes/footer.php), dipakai semua halaman.
   Keadaan tersembunyi HANYA bila <html> punya .has-fto dan belum .fto-fallback.
   ===================================================================== */
.sf-foot {
  --f-pink: #F2B8BE; --f-spring: cubic-bezier(.34, 1.56, .64, 1); --f-out: cubic-bezier(.22, 1, .36, 1);
  position: relative; overflow: hidden; isolation: isolate; padding: 80px 0 0; color: rgba(255, 255, 255, .78);
  background: linear-gradient(170deg, #5A0F18 0%, #3A0910 100%);
}
.sf-foot-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 95% 0%, rgba(199, 74, 86, .35), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.sf-foot a { color: inherit; text-decoration: none; }
.sf-foot ul { list-style: none; margin: 0; padding: 0; }

/* ajakan */
.sf-foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sf-foot-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--f-pink); }
.sf-foot-tag { margin: 0; max-width: 22ch; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.sf-foot-cta-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.sf-foot-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 12px; background: #fff;
  font-size: 16px; font-weight: 600; color: #69131B !important; transition: transform .45s var(--f-spring), box-shadow .3s ease;
}
.sf-foot-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); }
.sf-foot-btn svg { transition: transform .35s var(--f-out); }
.sf-foot-btn:hover svg { transform: translateX(4px); }
.sf-foot-link { font-size: 17px; font-weight: 500; color: #fff !important; text-decoration: underline !important; text-decoration-color: rgba(255, 255, 255, .35) !important; text-underline-offset: 5px; }
.sf-foot-link:hover { text-decoration-color: #fff !important; }

/* kolom */
.sf-foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 5fr); gap: 48px; padding: 56px 0 52px; }
.sf-foot-title { margin: 0 0 20px; font-family: inherit; line-height: 1.4; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--f-pink); }
.sf-foot-apps ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.sf-foot-apps a { display: flex; align-items: center; gap: 12px; padding: 7px 10px 7px 7px; border-radius: 12px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .86); transition: background-color .3s ease, color .3s ease, transform .45s var(--f-spring); }
.sf-foot-apps a:hover { color: #fff; background: rgba(255, 255, 255, .09); transform: translateX(4px); }
.sf-foot-apps .sm-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; }
.sf-foot-apps .sm-ico svg { width: 18px; height: 18px; }
.sf-foot-apps a:hover .sm-ico { transform: rotate(-6deg) scale(1.08); }
.sf-foot-pages { display: grid; gap: 4px; }
.sf-foot-pages a { position: relative; display: inline-block; padding: 6px 0; font-size: 16px; color: rgba(255, 255, 255, .86); transition: color .3s ease, transform .4s var(--f-out); }
.sf-foot-pages a::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--f-out); }
.sf-foot-pages a:hover { color: #fff; transform: translateX(3px); }
.sf-foot-pages a:hover::after { transform: scaleX(1); }

.sf-foot-card { display: grid; gap: 4px; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.sf-foot-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .9); transition: background-color .3s ease; }
.sf-foot-row:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.sf-foot-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #69131B; background: #fff; transition: transform .45s var(--f-spring); }
.sf-foot-row:hover .sf-foot-ico { transform: rotate(-8deg) scale(1.08); }
.sf-foot-ico svg { width: 19px; height: 19px; }
.sf-foot-social { display: flex; gap: 10px; margin-top: 18px; }
.sf-foot-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .3s ease, color .3s ease, transform .45s var(--f-spring); }
.sf-foot-social a:hover { color: #69131B; background: #fff; transform: translateY(-4px); }

/* bawah */
.sf-foot-bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 36px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.sf-foot-logo img { display: block; }
.sf-foot-legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.sf-foot-legal a { display: inline-block; padding: 7px 0; font-size: 14px; color: rgba(255, 255, 255, .72); transition: color .3s ease; }
.sf-foot-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.sf-foot-copy { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .62); }
.sf-foot-copy a:hover { color: #fff; }
.sf-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* gerak */
.has-fto:not(.fto-fallback) .sf-foot [data-sf-in]:not(.is-in) { opacity: 0; }

@media (max-width: 1199px) {
  .sf-foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sf-foot-apps { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .sf-foot { padding-top: 56px; }
  .sf-foot-cta { padding-bottom: 40px; }
  .sf-foot-grid { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .sf-foot-apps ul { grid-template-columns: 1fr; }
  .sf-foot-cta-act { width: 100%; }
  .sf-foot-btn { width: 100%; justify-content: center; }
  .sf-foot-bottom { grid-template-columns: 1fr; text-align: left; }
}

/* tombol "Pengaturan cookie" (CookiePro) di daftar legal footer: tampil seperti tautan lain */
.sf-foot-legal .ot-sdk-show-settings { display: inline-block; padding: 7px 0; font: inherit; font-size: 14px; color: rgba(255, 255, 255, .72); background: none; border: 0; cursor: pointer; text-align: left; transition: color .3s ease; }
.sf-foot-legal .ot-sdk-show-settings:hover, .sf-foot-legal .ot-sdk-show-settings:focus-visible { color: #fff; }
