html { scroll-behavior: smooth; }
body { background: #F8FAFC; }
[id] { scroll-margin-top: 150px; }
#kami-header { display: contents; }
img { background: #E7ECF3; }
img[data-noimgbg] { background: transparent; }

/* Mega menu */
.mega { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.nav-item.open > button, .nav-item.is-current > button { color: #D97706; }
.nav-item.open .chev { transform: rotate(180deg); }
.nav-item > button { position: relative; }
.nav-item.is-current > button::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -6px; height: 2px; background: #D97706; border-radius: 2px; }

/* Slider */
.track { transition: transform .75s cubic-bezier(.65,0,.35,1); }
.slide img.bg { transform: scale(1.07); transition: transform 7s ease; }
.slide.is-active img.bg { transform: scale(1); }
.slide .copy > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.slide.is-active .copy > * { opacity: 1; transform: none; }
.slide.is-active .copy > *:nth-child(2) { transition-delay: .1s; }
.slide.is-active .copy > *:nth-child(3) { transition-delay: .2s; }
.slide.is-active .copy > *:nth-child(4) { transition-delay: .3s; }
.dot[aria-current="true"] { width: 28px; background: #D97706; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Accordion */
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.acc.open > .acc-panel { grid-template-rows: 1fr; }
.acc.open > button .chev { transform: rotate(180deg); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Marquee mitra */
.marquee { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Artikel */
.prose-kami p { margin: 0 0 1.1em; line-height: 1.85; }
.prose-kami h2 { font-size: 1.45rem; font-weight: 800; color: #0B2447; margin: 1.6em 0 .6em; }
.prose-kami h3 { font-size: 1.2rem; font-weight: 700; color: #0B2447; margin: 1.4em 0 .5em; }
.prose-kami ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.1em; }
.prose-kami ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1.1em; }
.prose-kami li { margin: .3em 0; line-height: 1.75; }
.prose-kami blockquote { border-left: 4px solid #D97706; background: #FFF8EB; padding: .9em 1.2em; margin: 1.4em 0; border-radius: 0 .6rem .6rem 0; color: #12345F; font-weight: 600; }
.prose-kami a { color: #B45F06; text-decoration: underline; text-underline-offset: 3px; }
.prose-kami strong { color: #0B2447; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5,19,42,.94); display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; }

/* Skeleton */
.skel { background: linear-gradient(90deg, #EEF2F7 25%, #E2E8F0 37%, #EEF2F7 63%); background-size: 400% 100%; animation: skel 1.4s ease infinite; }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Fokus keyboard */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #EA8A0C; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, .reveal, .slide .copy > *, .marquee { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Peta cakupan */
.kami-pin { position: relative; display: block; width: 26px; height: 26px; }
.kami-pin::before { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: rgba(217,119,6,.22); }
.kami-pin span { position: absolute; inset: 6px; border-radius: 50%; background: #D97706; border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(11,36,71,.35); }
.kami-pin.is-prep span { background: #64748B; }
.kami-pin.is-prep::before { background: rgba(100,116,139,.3); }
@keyframes pin { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.leaflet-container { font-family: 'Nunito Sans', system-ui, sans-serif; background: #E8EEF5; }
.leaflet-popup-content-wrapper { border-radius: 12px; }

/* Bilah kemajuan slider */
.slide-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: #D97706; width: 0; }
.slide-bar.run { animation: bar 6.5s linear forwards; }
@keyframes bar { to { width: 100%; } }

/* Label kecil judul bagian */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #B45F06; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: #D97706; border-radius: 2px; }
.eyebrow.light { color: #F2B45C; }
.leaflet-tile-pane { filter: grayscale(.85) contrast(.92) brightness(1.06); }
/* Makna logo */
.logo-part { transition: opacity .3s ease; }
.logo-part.is-dim { opacity: .18; }
.logo-gap { transition: fill .3s ease; }
.logo-gap.is-dim { opacity: 0; }
#logoStage:has(.logo-part.is-dim) .logo-gap:not(.is-dim) { fill: rgb(217 119 6 / .35); }
.logo-pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 999px; background: #fff; color: #0B2447; font-weight: 800; font-size: 13px; border: 2px solid #0B2447; box-shadow: 0 4px 12px rgb(11 36 71 / .2); cursor: pointer; transition: transform .2s, background-color .2s, color .2s; }
.logo-pin:hover, .logo-pin.is-on { background: #D97706; border-color: #D97706; color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.logo-card.is-on { border-color: #D97706; box-shadow: 0 0 0 3px rgb(217 119 6 / .15); }
