/* ==========================================================================
   SIG Wisata - style.css
   Tema: Ocean Blue - modern, clean, glassmorphism
   Urutan: tokens > base > tombol > navbar > hero > section > peta > card >
           kategori > tentang > CTA > footer > halaman dalam > responsive
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --ocean: #0EA5E9;
    --ocean-deep: #0369A1;
    --navy: #0F172A;
    --soft-blue: #E0F2FE;
    --very-light: #F0F9FF;
    --green: #16A34A;
    --gold: #F59E0B;
    --bg: #F8FAFC;
    --text: #0F172A;
    --muted: #64748B;

    --r-lg: 24px;
    --r-md: 20px;
    --r-sm: 14px;

    --shadow-sm: 0 2px 6px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
    --shadow-md: 0 4px 12px rgba(3, 105, 161, .08), 0 18px 40px rgba(3, 105, 161, .12);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, .10), 0 30px 70px rgba(3, 105, 161, .16);

    --font-head: 'Bricolage Grotesque', 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Ganti gambar hero di sini (mis. foto asli wisata alam) */
    --hero-image: url('../images/hero-wisata.svg');
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--navy);
}

a { color: var(--ocean-deep); text-decoration: none; }
img { max-width: 100%; }

:focus-visible { outline: 3px solid rgba(14, 165, 233, .6); outline-offset: 2px; }

.skip-link {
    position: absolute; left: -9999px; top: 12px; z-index: 3000;
    background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { left: 12px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 3. Tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px;
    --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .7rem;
    --bs-btn-font-weight: 700; --bs-btn-border-radius: 14px;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background-color .2s ease, color .2s ease;
}

.btn-ocean {
    --bs-btn-color: #fff; --bs-btn-bg: var(--ocean); --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ocean-deep); --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ocean-deep); --bs-btn-active-border-color: transparent;
    background-image: linear-gradient(135deg, #38BDF8 0%, var(--ocean) 45%, var(--ocean-deep) 100%);
    box-shadow: 0 10px 24px rgba(14, 165, 233, .32);
}
.btn-ocean:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(14, 165, 233, .4); }
.btn-ocean.btn-sm { --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: .9rem; min-height: 40px; }

.btn-soft {
    --bs-btn-color: var(--ocean-deep); --bs-btn-bg: var(--soft-blue); --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ocean); --bs-btn-hover-border-color: var(--ocean);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ocean-deep); --bs-btn-active-border-color: var(--ocean-deep);
}

.btn-outline-ocean {
    --bs-btn-color: var(--ocean-deep); --bs-btn-bg: transparent; --bs-btn-border-color: var(--ocean); --bs-btn-border-width: 2px;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ocean); --bs-btn-hover-border-color: var(--ocean);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ocean-deep); --bs-btn-active-border-color: var(--ocean-deep);
    --bs-btn-padding-x: 1.8rem;
}

.btn-white {
    --bs-btn-color: var(--ocean-deep); --bs-btn-bg: #fff; --bs-btn-border-color: #fff;
    --bs-btn-hover-color: var(--ocean-deep); --bs-btn-hover-bg: var(--soft-blue); --bs-btn-hover-border-color: var(--soft-blue);
    --bs-btn-active-color: var(--ocean-deep); --bs-btn-active-bg: var(--soft-blue); --bs-btn-active-border-color: var(--soft-blue);
    --bs-btn-padding-x: 2rem; --bs-btn-padding-y: .85rem;
    box-shadow: 0 12px 28px rgba(3, 30, 60, .22);
}
.btn-white:hover { transform: translateY(-1px); }

/* ---------- 4. Glass helper ---------- */
.glass {
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 20px 50px rgba(2, 12, 30, .28);
}

/* ---------- 5. Navbar ---------- */
.site-nav {
    --nav-fg: #fff;
    --nav-muted: rgba(255, 255, 255, .86);
    --nav-hover: rgba(255, 255, 255, .14);
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
    padding: 14px 0;
    transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-nav.is-scrolled,
.site-nav.menu-open {
    --nav-fg: var(--navy);
    --nav-muted: #475569;
    --nav-hover: rgba(14, 165, 233, .1);
    padding: 8px 0;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
}
.site-nav .navbar { padding: 0; }

.navbar-brand, .footer-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em;
    margin-right: 0;
}
.site-nav .navbar-brand { color: var(--nav-fg); }

.brand-mark {
    width: 40px; height: 40px; border-radius: 12px; flex: none;
    display: grid; place-items: center; font-size: 1.15rem; color: #fff;
    background: linear-gradient(135deg, #38BDF8, var(--ocean-deep));
    box-shadow: 0 6px 16px rgba(14, 165, 233, .4);
}

.site-nav .navbar-nav .nav-link {
    color: var(--nav-muted); font-weight: 600;
    padding: .55rem 1.05rem; border-radius: 999px;
    transition: background-color .2s ease, color .2s ease;
}
.site-nav .navbar-nav .nav-link:hover,
.site-nav .navbar-nav .nav-link.active { color: var(--nav-fg); background: var(--nav-hover); }

.navbar-toggler {
    border: 0; box-shadow: none !important; color: var(--nav-fg);
    width: 44px; height: 44px; padding: 0; display: grid; place-items: center; font-size: 1.7rem; line-height: 1;
}
.site-nav .navbar-toggler { color: var(--nav-fg); }
.navbar-toggler .toggler-close { display: none; }
.navbar-toggler[aria-expanded="true"] .toggler-open { display: none; }
.navbar-toggler[aria-expanded="true"] .toggler-close { display: inline-block; }

.btn-nav { --bs-btn-padding-y: .55rem; --bs-btn-padding-x: 1.25rem; min-height: 44px; }

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        margin-top: 12px; padding: 12px;
        border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg);
    }
    .site-nav .navbar-nav .nav-link { padding: .85rem 1rem; border-radius: 12px; }
    .btn-nav { width: 100%; }
}

/* ---------- 6. Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(680px, 92vh, 750px);
    display: flex; align-items: center;
    padding: 130px 0 90px;
    color: #fff;
    background: var(--hero-image) center / cover no-repeat, var(--navy);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(15, 23, 42, .62) 0%, rgba(15, 23, 42, 0) 62%),
        linear-gradient(180deg, rgba(15, 23, 42, .55) 0%, rgba(3, 105, 161, .38) 50%, rgba(15, 23, 42, .82) 100%);
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px;
    font-weight: 600; font-size: .92rem;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-badge .bi { color: #7DD3FC; }

.hero-title {
    color: #fff; margin: 22px 0 18px;
    font-size: clamp(2.25rem, 1.3rem + 3.7vw, 4rem);
    font-weight: 800; line-height: 1.06;
    text-shadow: 0 2px 24px rgba(2, 12, 30, .35);
}
.hero-lead { max-width: 540px; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .88); margin: 0; }

.search-panel { border-radius: var(--r-lg); padding: 14px; margin-top: 34px; max-width: 740px; }
.search-panel .row { margin-top: 2px; }
.search-field { position: relative; margin-bottom: 10px; }
.search-field .bi {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    font-size: 1.15rem; color: var(--ocean-deep); pointer-events: none;
}
.sw-input {
    width: 100%; height: 60px; border: 0; border-radius: 16px;
    padding: 0 20px 0 52px; font-size: 1.05rem; color: var(--navy); background: #fff;
    box-shadow: 0 6px 18px rgba(2, 12, 30, .12);
}
.sw-input::placeholder { color: #7B8AA0; }
.sw-input:focus { outline: 3px solid rgba(14, 165, 233, .5); outline-offset: 0; }

.sw-select {
    height: 52px; border: 0; border-radius: 14px; background-color: #fff;
    font-weight: 600; font-size: .95rem; color: var(--navy);
    padding-left: 1rem;
}
.sw-select:focus { border-color: transparent; box-shadow: 0 0 0 3px rgba(14, 165, 233, .5); }
.btn-search { height: 52px; min-height: 52px; }

.hero-stats { border-radius: var(--r-lg); padding: 10px; }
.stat { display: flex; align-items: center; gap: 16px; padding: 18px 18px; }
.stat + .stat { border-top: 1px solid rgba(255, 255, 255, .2); }
.stat-icon {
    width: 50px; height: 50px; flex: none; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.3rem; color: #fff;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
}
.stat-value { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; line-height: 1; color: #fff; }
.stat-label { display: block; margin-top: 4px; font-size: .95rem; color: rgba(255, 255, 255, .82); }

@media (min-width: 992px) {
    .hero-stats { animation: floaty 7s ease-in-out infinite; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 991.98px) {
    .hero { padding: 112px 0 56px; min-height: 0; }
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px; }
    .stat { flex-direction: column; text-align: center; gap: 10px; padding: 14px 6px; }
    .stat + .stat { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .2); }
    .stat-icon { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 13px; }
    .stat-value { font-size: 1.7rem; }
    .stat-label { font-size: .8rem; margin-top: 2px; }
}
@media (max-width: 575.98px) {
    .search-panel { padding: 12px; margin-top: 26px; }
    .sw-input { height: 56px; }
}

/* ---------- 7. Section umum ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-title { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.6rem); font-weight: 800; margin: 0 0 12px; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }
@media (max-width: 767.98px) {
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 34px; }
}

.section-map { background: #fff; }
.section-destinasi { background: var(--bg); }
.section-kategori { background: var(--very-light); }
.section-tentang { background: #fff; }

/* ---------- 8. Peta interaktif (UI) ---------- */
.map-shell {
    position: relative; overflow: hidden;
    border-radius: var(--r-lg); background: #fff;
    border: 1px solid rgba(148, 163, 184, .28);
    box-shadow: var(--shadow-lg);
}
.map-viewport { position: relative; }

.map-scroller {
    height: 460px; overflow: auto; cursor: grab;
    scrollbar-width: none; -ms-overflow-style: none;
}
.map-scroller::-webkit-scrollbar { display: none; }
.map-scroller.is-dragging { cursor: grabbing; user-select: none; }
.map-scroller:focus-visible { outline-offset: -4px; }

.map-stage {
    --zoom: 1; --stage-base: 900px;
    /* warna peta (mode terang) */
    --m-land: #F1F5F2; --m-park: #CFE9D6; --m-contour: #8FC4A0; --m-block: #E0E7EC;
    --m-sea: #BAE0F5; --m-foam: #EAF6FD; --m-wave: #7FC0E8; --m-water: #BAE0F5;
    --m-casing: #D3DCE4; --m-road: #FFFFFF; --m-center: #F2C96B;
    --m-label: #64748B; --m-label-sea: #3A8DBF;

    position: relative; aspect-ratio: 2 / 1; min-width: 100%;
    width: calc(var(--stage-base) * var(--zoom));
}
.map-shell[data-theme="dark"] .map-stage {
    --m-land: #14263B; --m-park: #14432E; --m-contour: #2C7D55; --m-block: #1B3149;
    --m-sea: #0A3250; --m-foam: #1D6392; --m-wave: #1F6B9C; --m-water: #0A3250;
    --m-casing: #0B1828; --m-road: #35526F; --m-center: #B98A24;
    --m-label: #93A9C2; --m-label-sea: #63AEDA;
}

.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.m-land { fill: var(--m-land); }
.m-park { fill: var(--m-park); }
.m-contour { stroke: var(--m-contour); stroke-width: 1.6; opacity: .75; }
.m-block { fill: var(--m-block); }
.m-sea { fill: var(--m-sea); }
.m-foam { stroke: var(--m-foam); stroke-width: 6; stroke-linecap: round; }
.m-wave { stroke: var(--m-wave); stroke-width: 3; stroke-linecap: round; opacity: .7; }
.m-water { fill: var(--m-water); }
.m-river { stroke: var(--m-water); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.m-road-casing.m-minor { stroke: var(--m-casing); stroke-width: 9; }
.m-road.m-minor { stroke: var(--m-road); stroke-width: 6; }
.m-road-casing.m-major { stroke: var(--m-casing); stroke-width: 18; }
.m-road.m-major { stroke: var(--m-road); stroke-width: 13; }
.m-road-center { stroke: var(--m-center); stroke-width: 2; stroke-dasharray: 14 12; }
.m-label {
    font: 700 21px var(--font-body); letter-spacing: .14em; fill: var(--m-label);
    paint-order: stroke; stroke: var(--m-land); stroke-width: 5px; stroke-linejoin: round;
}
.m-label-sea { font-style: italic; font-weight: 600; letter-spacing: .06em; fill: var(--m-label-sea); stroke: var(--m-sea); }

/* Marker */
.map-pin {
    position: absolute; z-index: 2; width: 44px; height: 52px; padding: 0;
    transform: translate(-50%, -100%);
    border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pin-body {
    position: absolute; top: 0; left: 0; width: 44px; height: 44px;
    display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
    background: var(--pin); border: 3px solid #fff; border-radius: 50%;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .32);
    transform-origin: 50% 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.pin-body::after {
    content: ""; position: absolute; left: 50%; top: 100%; margin: 0 0 0 -8px;
    border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 10px solid var(--pin);
    filter: drop-shadow(0 4px 3px rgba(15, 23, 42, .25));
}
.map-pin:hover .pin-body { transform: scale(1.08); }
.map-pin.is-active { z-index: 5; }
.map-pin.is-active .pin-body { transform: scale(1.2); box-shadow: 0 0 0 7px rgba(255, 255, 255, .55), 0 12px 26px rgba(15, 23, 42, .4); }
.map-pin:focus-visible { outline: none; }
.map-pin:focus-visible .pin-body { box-shadow: 0 0 0 4px rgba(15, 23, 42, .85), 0 0 0 7px rgba(14, 165, 233, .9); }

/* Overlay: hint, kontrol, kartu info, legenda */
.map-hint, .map-controls .map-btn, .map-legend, .map-card {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .16);
}
.map-hint {
    position: absolute; z-index: 4; top: 16px; left: 16px; max-width: calc(100% - 92px);
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: var(--r-sm);
    font-size: .88rem; font-weight: 600; color: var(--navy);
}
.map-hint .bi { color: var(--ocean); }

.map-controls { position: absolute; z-index: 4; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; }
.map-btn {
    width: 44px; height: 44px; padding: 0; border-radius: var(--r-sm);
    display: grid; place-items: center; font-size: 1.1rem; color: var(--navy); cursor: pointer;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.map-controls .map-btn:hover:not(:disabled) { background: #fff; color: var(--ocean-deep); }
.map-btn:disabled { opacity: .45; cursor: not-allowed; }
.map-btn[aria-pressed="true"] { background: var(--ocean-deep); color: #fff; }

.map-card {
    position: absolute; z-index: 6; right: 20px; bottom: 20px;
    width: min(390px, calc(100% - 40px));
    display: flex; align-items: center; gap: 14px; padding: 12px 44px 12px 12px;
    border-radius: 20px;
    animation: cardIn .25s ease;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.map-card-img { width: 96px; height: 96px; flex: none; object-fit: cover; border-radius: 14px; }
.map-card-body { min-width: 0; }
.map-card-chip {
    display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700;
    color: var(--ocean-deep); background: var(--soft-blue);
}
.map-card-title { font-size: 1.05rem; margin: 6px 0 2px; }
.map-card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.map-card-rate { color: var(--navy); font-weight: 700; }
.map-card-rate .bi { color: var(--gold); }
.map-card-close {
    position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.map-card-close:hover { background: rgba(15, 23, 42, .06); color: var(--navy); }

.map-legend {
    position: absolute; z-index: 4; left: 20px; bottom: 20px;
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px; border-radius: 20px;
}
.legend-title { padding: 2px 10px 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.legend-item {
    display: flex; align-items: center; gap: 10px; min-height: 36px;
    padding: 4px 10px 4px 6px; border: 0; border-radius: 12px; background: none;
    font-weight: 600; font-size: .9rem; color: var(--navy); text-align: left; cursor: pointer;
    transition: background-color .2s ease, opacity .2s ease;
}
.legend-item:hover { background: rgba(14, 165, 233, .1); }
.legend-item[aria-pressed="false"] { opacity: .45; }
.legend-dot {
    width: 28px; height: 28px; flex: none; border-radius: 50%;
    display: grid; place-items: center; font-size: .9rem; background: var(--pin); border: 2px solid #fff;
}

@media (min-width: 992px) {
    .map-scroller { height: auto; aspect-ratio: 2 / 1; }
    .map-stage { --stage-base: 100%; }
}

@media (max-width: 991.98px) {
    .map-legend {
        position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px;
        padding: 12px 14px; border-radius: 0; border: 0; border-top: 1px solid #E2E8F0;
        background: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    }
    .legend-title { width: 100%; padding: 0 2px; }
    .legend-item { min-height: 44px; padding: 4px 14px 4px 8px; border: 1px solid #E2E8F0; border-radius: 999px; }
    .map-card { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (max-width: 575.98px) {
    .map-scroller { height: 420px; }
    .map-stage { --stage-base: 840px; }
    .map-hint { top: 12px; left: 12px; font-size: .82rem; }
    .map-controls { top: 12px; right: 12px; }
    .map-card-img { width: 80px; height: 80px; }
}

/* ---------- 9. Card destinasi ---------- */
.dest-card {
    height: 100%; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid rgba(148, 163, 184, .24); border-radius: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dest-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft-blue); }
.dest-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.dest-card:hover .dest-media img { transform: scale(1.04); }
.dest-badge {
    position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
    font-size: .8rem; font-weight: 700; color: #fff;
    background: rgba(15, 23, 42, .42);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .25);
}
.dest-rating {
    position: absolute; top: 14px; right: 14px; padding: 5px 11px; border-radius: 999px;
    font-size: .85rem; font-weight: 800; color: var(--navy); background: rgba(255, 255, 255, .92);
}
.dest-rating .bi { color: var(--gold); }
.dest-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 22px; }
.dest-title { font-size: 1.28rem; margin: 0; }
.dest-title a { color: var(--navy); }
.dest-title a:hover { color: var(--ocean-deep); }
.dest-loc { margin: 0; font-size: .92rem; color: var(--muted); }
.dest-loc .bi { color: var(--ocean); }
.dest-desc {
    margin: 4px 0 0; color: #475569; font-size: .97rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dest-foot { margin-top: auto; padding-top: 14px; }

/* ---------- 10. Kategori ---------- */
.cat-card {
    height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 30px 14px 26px; text-align: center; color: var(--navy);
    background: #fff; border: 1px solid rgba(148, 163, 184, .22); border-radius: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--navy); }
.cat-icon {
    width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center;
    font-size: 2.3rem; color: var(--c);
    background: var(--soft-blue);
    background: color-mix(in srgb, var(--c) 12%, #fff);
}
.cat-name { font-size: 1.08rem; margin: 4px 0 0; }
.cat-count { font-size: .88rem; color: var(--muted); margin-top: -6px; }

/* ---------- 11. Tentang ---------- */
.about-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.about-list li {
    display: flex; gap: 18px; align-items: flex-start; padding: 22px;
    background: var(--very-light); border-radius: 20px; border: 1px solid rgba(14, 165, 233, .14);
}
.about-icon {
    width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center;
    font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, #38BDF8, var(--ocean-deep));
}
.about-list h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.about-list p { margin: 0; color: var(--muted); }

/* ---------- 12. CTA ---------- */
.section-cta { padding: 0 0 96px; background: #fff; }
.cta-box {
    position: relative; overflow: hidden; text-align: center; color: #fff;
    padding: 72px 28px; border-radius: 28px;
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 50%, #0369A1 100%);
    box-shadow: 0 30px 70px rgba(3, 105, 161, .3);
}
.cta-box::before, .cta-box::after {
    content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); pointer-events: none;
}
.cta-box::before { width: 360px; height: 360px; right: -110px; top: -160px; }
.cta-box::after { width: 260px; height: 260px; left: -90px; bottom: -130px; }
.cta-box > * { position: relative; }
.cta-title { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; margin: 0 0 12px; }
.cta-text { max-width: 520px; margin: 0 auto 30px; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
@media (max-width: 767.98px) {
    .section-cta { padding-bottom: 64px; }
    .cta-box { padding: 52px 22px; border-radius: 24px; }
}

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 72px 0 28px; }
.footer-brand { color: #fff; }
.footer-brand:hover { color: #fff; }
.footer-text { max-width: 340px; margin: 16px 0 22px; color: #94A3B8; }
.social { display: flex; gap: 10px; }
.social a {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    color: #E2E8F0; font-size: 1.15rem;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
    transition: background-color .2s ease, color .2s ease;
}
.social a:hover { background: var(--ocean); color: #fff; }
.footer-title { font-size: 1rem; color: #fff; margin: 0 0 16px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 6px 0; color: #94A3B8; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; color: #94A3B8; }

/* ---------- 14. Halaman dalam: hero kecil, breadcrumb ---------- */
.page-hero, .detail-hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy);
}
.page-hero {
    padding: 148px 0 72px;
    background: var(--hero-image) center 62% / cover no-repeat, var(--navy);
}
.page-hero::before, .detail-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(15, 23, 42, .6) 0%, rgba(3, 105, 161, .45) 55%, rgba(15, 23, 42, .8) 100%);
}
.page-title { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); font-weight: 800; margin: 0 0 10px; }
.page-lead { max-width: 560px; margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }

.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .9); }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Filter kategori */
.filter-panel {
    margin-top: -36px; position: relative; z-index: 2;
    padding: 20px; background: #fff; border-radius: var(--r-lg);
    border: 1px solid rgba(148, 163, 184, .24); box-shadow: var(--shadow-md);
}
.filter-panel .search-field { margin: 0 0 16px; }
.filter-panel .sw-input { border: 1px solid #DBE4EE; box-shadow: none; height: 54px; background: #F8FAFC; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.filter-chip {
    min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer;
    border: 1px solid #DBE4EE; background: #fff; color: var(--navy); font-weight: 600; font-size: .93rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.filter-chip:hover { border-color: var(--ocean); color: var(--ocean-deep); }
.filter-chip.active { background: var(--ocean-deep); border-color: var(--ocean-deep); color: #fff; }
.result-meta { margin: 32px 0 20px; color: var(--muted); }
.result-meta strong { color: var(--navy); }
.empty-state { text-align: center; padding: 56px 20px; }
.empty-state .bi { font-size: 2.6rem; color: var(--ocean); }
.empty-state h2 { font-size: 1.4rem; margin: 12px 0 6px; }
.empty-state p { color: var(--muted); margin: 0; }
.section-list { padding: 0 0 96px; background: var(--bg); }

@media (max-width: 767.98px) {
    .page-hero { padding: 116px 0 64px; }
    .filter-panel { padding: 16px; margin-top: -28px; }
    .chip-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .chip-list::-webkit-scrollbar { display: none; }
    .filter-chip { white-space: nowrap; flex: none; }
    .section-list { padding-bottom: 64px; }
}

/* ---------- 15. Halaman detail ---------- */
.detail-hero { min-height: 460px; display: flex; align-items: flex-end; padding: 140px 0 52px; }
.detail-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.detail-title { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 800; margin: 14px 0 12px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0; color: rgba(255, 255, 255, .9); }
.detail-meta .bi-star-fill { color: var(--gold); }
.detail-badge {
    display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.section-detail { padding: 56px 0 96px; background: var(--bg); }
.panel {
    background: #fff; padding: 28px; border-radius: var(--r-lg);
    border: 1px solid rgba(148, 163, 184, .22); box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 24px; }
.panel h2 { font-size: 1.35rem; margin: 0 0 14px; }
.panel p { color: #475569; margin: 0; }
.panel p + p { margin-top: 12px; }

.facility-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.facility {
    display: flex; align-items: center; gap: 12px; padding: 13px 14px;
    background: var(--very-light); border-radius: 14px; font-weight: 600; font-size: .93rem;
}
.facility .bi { font-size: 1.15rem; color: var(--ocean); }

.gallery-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 16 / 9; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 16px; background: var(--soft-blue); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid .g-main { grid-row: span 2; }
.gallery-grid .g-a img { transform: scale(1.8); transform-origin: 18% 62%; }
.gallery-grid .g-b img { transform: scale(1.8); transform-origin: 84% 38%; }

.mini-map { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid #E2E8F0; }
.mini-map .map-stage { --zoom: 1; --stage-base: 100%; width: 100%; }
.mini-map .map-pin { cursor: default; }
.mini-map .pin-body { transform: scale(1.1); }

.info-card {
    background: #fff; padding: 26px; border-radius: var(--r-lg);
    border: 1px solid rgba(148, 163, 184, .22); box-shadow: var(--shadow-md);
}
.rating-big { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #EEF2F7; }
.rating-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--navy); }
.rating-stars { color: var(--gold); letter-spacing: 2px; }
.rating-count { display: block; font-size: .88rem; color: var(--muted); }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #EEF2F7; }
.info-icon {
    width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center;
    background: var(--soft-blue); color: var(--ocean-deep);
}
.info-label { display: block; font-size: .85rem; color: var(--muted); }
.info-value { display: block; font-weight: 700; color: var(--navy); }
.status-pill {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 3px 12px; border-radius: 999px;
    font-size: .82rem; font-weight: 700; color: var(--green); background: rgba(22, 163, 74, .12);
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.info-actions { display: grid; gap: 10px; margin-top: 22px; }

@media (min-width: 992px) {
    .info-card { position: sticky; top: 96px; }
}
@media (max-width: 767.98px) {
    .detail-hero { min-height: 0; padding: 116px 0 40px; }
    .section-detail { padding: 36px 0 64px; }
    .panel, .info-card { padding: 20px; }
    .gallery-grid { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery-grid .g-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
    .gallery-grid .g-a, .gallery-grid .g-b { aspect-ratio: 4 / 3; }
}

/* ---------- 16. Placeholder admin ---------- */
.placeholder-page {
    min-height: 72vh; display: grid; place-items: center; padding: 140px 0 80px; text-align: center; background: var(--very-light);
}
.placeholder-icon {
    width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 26px; display: grid; place-items: center;
    font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, #38BDF8, var(--ocean-deep));
    box-shadow: 0 16px 36px rgba(14, 165, 233, .35);
}
.placeholder-page h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin: 0 0 10px; }
.placeholder-page p { max-width: 460px; margin: 0 auto 26px; color: var(--muted); }
