/* ============================================================
   Explore Buton — Design System 2026
   Dinas Pariwisata Kabupaten Buton
   ============================================================ */

:root {
  --primary: #0d5c75;
  --primary-dark: #073a4b;
  --primary-deep: #052732;
  --primary-light: #13789a;
  --secondary: #00a896;
  --secondary-soft: #d8f5f0;
  --tertiary: #e3a857;
  --tertiary-soft: #fdf1de;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --surface: #ffffff;
  --bg: #f4f9fa;
  --bg-2: #eaf3f5;
  --line: #e2e8f0;
  --line-soft: #eef4f6;
  --danger: #e2504c;
  --ok: #16a34a;
  --radius-s: 14px;
  --radius: 20px;
  --radius-l: 28px;
  --shadow-s: 0 4px 14px -6px rgba(13, 92, 117, 0.14);
  --shadow: 0 14px 34px -14px rgba(13, 92, 117, 0.24);
  --shadow-l: 0 30px 60px -24px rgba(5, 39, 50, 0.35);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grad: linear-gradient(135deg, #0d5c75 0%, #13789a 55%, #00a896 100%);
  --grad-soft: linear-gradient(135deg, rgba(13, 92, 117, 0.06), rgba(0, 168, 150, 0.08));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--secondary); color: #fff; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary-light);
  background: rgba(13, 92, 117, 0.08);
  border: 1px solid rgba(13, 92, 117, 0.14);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--secondary); box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.18);
}

.lead { font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--ink-2); max-width: 62ch; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem; color: var(--primary);
  margin-top: 6px; transition: gap 0.25s var(--ease);
}
.section-head .more:hover { gap: 14px; color: var(--primary-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 0.97rem; border: none;
  padding: 14px 28px; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(13, 92, 117, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(13, 92, 117, 0.6); }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }
.btn-outline { background: var(--surface); color: var(--primary); border: 1.5px solid rgba(13, 92, 117, 0.25); }
.btn-outline:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding: 14px 0;
  transition: background 0.35s var(--ease), box-shadow 0.35s, padding 0.35s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(13, 92, 117, 0.08), 0 16px 40px -24px rgba(5, 39, 50, 0.35);
  padding: 9px 0;
}
.nav-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.13rem; letter-spacing: -0.02em; color: var(--ink); }
.brand .mark {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(13, 92, 117, 0.6);
  overflow: hidden; flex: 0 0 auto;
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand .mark-img { background: #fff; }
.brand small { display: block; font-size: 0.63rem; font-weight: 700; letter-spacing: 0.18em; color: var(--primary-light); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 0.94rem;
  color: var(--ink-2); transition: 0.22s;
}
.nav-links a:hover { color: var(--primary); background: rgba(13, 92, 117, 0.07); }
.nav-links a.active { color: #fff; background: var(--primary); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.9rem; }
.nav-burger {
  display: none; width: 44px; height: 44px; border: none; border-radius: 13px;
  background: rgba(13, 92, 117, 0.08); color: var(--primary);
  align-items: center; justify-content: center; margin-left: auto;
}
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 72px; left: 4%; right: 4%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(20px);
    border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-l);
    opacity: 0; pointer-events: none; transform: translateY(-12px);
    transition: 0.3s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(620px, 96vh, 900px);
  display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 39, 50, 0.72) 0%, rgba(5, 39, 50, 0.38) 45%, rgba(5, 39, 50, 0.88) 100%),
    radial-gradient(90% 70% at 82% 20%, rgba(0, 168, 150, 0.28), transparent 60%);
}
.hero-content { padding: 150px 0 120px; max-width: 780px; }
.hero .badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px); padding: 8px 16px; border-radius: 999px;
  font-size: 0.83rem; font-weight: 700; letter-spacing: 0.03em;
}
.hero h1 { color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #7ef0e0, #e3a857); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: rgba(255, 255, 255, 0.88); font-size: clamp(1rem, 1.7vw, 1.16rem); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
}
.hero-stats .container { display: flex; gap: 14px; flex-wrap: wrap; }
.stat-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 18px; padding: 14px 22px; min-width: 150px;
  transition: transform 0.3s var(--ease);
}
.stat-glass:hover { transform: translateY(-4px); }
.stat-glass b { display: block; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.stat-glass span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); font-weight: 600; }
@media (max-width: 720px) {
  /* Hero jadi kolom: statistik mengalir di bawah konten (tidak bertumpuk) */
  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero-content { padding: 112px 0 26px; max-width: none; }
  .hero-stats { position: static; padding-bottom: 34px; }
  .hero-stats .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-glass { min-width: 0; padding: 12px 16px; }
  .stat-glass b { font-size: 1.45rem; }
}
@media (max-width: 340px) {
  .hero-stats .container { grid-template-columns: 1fr; }
}

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: 0.92rem;
  color: var(--ink); transition: 0.25s var(--ease); box-shadow: var(--shadow-s);
}
.chip .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; }
.chip:hover { transform: translateY(-3px); border-color: rgba(13, 92, 117, 0.35); box-shadow: var(--shadow); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: ""; position: absolute; inset: auto 0 0; height: 55%;
  background: linear-gradient(180deg, transparent, rgba(5, 39, 50, 0.78));
}
.card-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px);
  color: var(--primary); font-size: 0.72rem; font-weight: 800;
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.04em;
  display: inline-flex; gap: 6px; align-items: center;
}
.card-tag.gold { background: rgba(227, 168, 87, 0.95); color: #4a3108; }
.card-price {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(5, 39, 50, 0.78); color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(8px);
}
.card-title-over {
  position: absolute; left: 16px; right: 16px; bottom: 13px; z-index: 2;
  color: #fff; font-weight: 800; font-size: 1.06rem; letter-spacing: -0.01em; line-height: 1.3;
}
.card-body { padding: 17px 18px 19px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.08rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.83rem; color: var(--ink-3); font-weight: 600; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-text { font-size: 0.9rem; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot {
  margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; font-weight: 700; color: var(--primary);
}
.card-foot .rating { color: var(--tertiary); display: inline-flex; gap: 5px; align-items: center; }

/* Featured bento */
.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(228px, 1fr); }
.bento .card:first-child { grid-column: span 2; grid-row: span 2; }
.bento .card:first-child .card-title-over { font-size: 1.5rem; }
.bento .card:first-child .card-media { aspect-ratio: auto; height: 100%; min-height: 300px; }
/* Kartu keempat melebar agar tidak ada sel kosong */
.bento .card:nth-child(4) { grid-column: span 2; }
/* Media mengisi sisa tinggi kartu sehingga semua kartu sejajar */
.bento .card-media { aspect-ratio: auto; flex: 1; min-height: 168px; }
.bento .card-body { flex: 0 0 auto; }
.bento .card-title-over { font-size: 1.02rem; }
/* Beri ruang agar judul tidak menabrak badge harga */
.bento .card-media:has(.card-price) .card-title-over { right: 104px; }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card:first-child { grid-column: span 2; grid-row: auto; }
  .bento .card:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card:first-child,
  .bento .card:nth-child(4) { grid-column: auto; }
  .bento .card-media:has(.card-price) .card-title-over { right: 16px; }
}

/* ---------- Feature strip (why) ---------- */
.features { background: var(--primary-deep); color: #fff; position: relative; overflow: hidden; }
.features::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 10% 0%, rgba(0, 168, 150, 0.22), transparent 55%),
    radial-gradient(50% 80% at 90% 100%, rgba(227, 168, 87, 0.14), transparent 60%);
}
.features .container { position: relative; }
.features h2 { color: #fff; }
.features .lead { color: rgba(255, 255, 255, 0.72); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 26px 22px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.feature:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); }
.feature .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.3), rgba(13, 92, 117, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.18); margin-bottom: 16px;
}
.feature h3 { color: #fff; font-size: 1.05rem; margin-bottom: 7px; }
.feature p { color: rgba(255, 255, 255, 0.68); font-size: 0.89rem; margin: 0; }

/* ---------- Download section ---------- */
.download { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 60%, var(--primary-deep) 100%); color: #fff; position: relative; overflow: hidden; }
.download::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.3), transparent 65%); pointer-events: none;
}
.download .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .download .container { grid-template-columns: 1fr; } }
.download h2 { color: #fff; }
.download .lead { color: rgba(255, 255, 255, 0.8); }
.app-feats { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .app-feats { grid-template-columns: 1fr; } }
.app-feats li {
  display: flex; gap: 11px; align-items: flex-start; font-size: 0.94rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.app-feats .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0, 168, 150, 0.28); border: 1px solid rgba(126, 240, 224, 0.5);
  display: grid; place-items: center; color: #7ef0e0; font-size: 0.72rem; margin-top: 2px;
}
.app-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); font-weight: 600; margin-top: 18px; }
.app-meta b { color: #fff; }

.phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; }
.phone {
  position: absolute; width: clamp(190px, 24vw, 235px);
  border-radius: 34px; background: #0b0f1a;
  padding: 9px; box-shadow: var(--shadow-l);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.5s var(--ease);
}
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 42%; height: 18px; background: #0b0f1a; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone img { border-radius: 26px; width: 100%; }
.phone.p1 { transform: translate(-46%, 8%) rotate(-8deg); z-index: 1; }
.phone.p2 { transform: translate(0, -4%) rotate(3deg); z-index: 3; }
.phone.p3 { transform: translate(46%, 14%) rotate(10deg); z-index: 2; }
.phones:hover .phone.p1 { transform: translate(-52%, 6%) rotate(-11deg); }
.phones:hover .phone.p2 { transform: translate(0, -7%) rotate(1deg); }
.phones:hover .phone.p3 { transform: translate(52%, 12%) rotate(13deg); }
@media (max-width: 900px) { .phones { min-height: 430px; } }
@media (max-width: 480px) {
  .phone.p1 { display: none; }
  .phone.p2 { transform: translate(-16%, 0) rotate(-4deg); }
  .phone.p3 { transform: translate(30%, 8%) rotate(7deg); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 150px 0 56px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--primary-deep) 0%, var(--primary) 78%, var(--primary-light) 130%);
  color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: -60%; width: 46vw; height: 46vw;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.35), transparent 65%); pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero p { color: rgba(255, 255, 255, 0.76); margin: 0; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.66); font-weight: 600; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Toolbar (search/filter) ---------- */
.toolbar {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin: -34px 0 34px; position: relative; z-index: 5;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.search-box { flex: 1 1 300px; display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 8px 4px 18px; transition: border 0.25s; }
.search-box:focus-within { border-color: var(--primary-light); background: #fff; }
.search-box input { flex: 1; border: none; outline: none; background: transparent; font-size: 0.96rem; font-family: inherit; padding: 10px 0; color: var(--ink); min-width: 0; }
.search-box button { border: none; background: var(--primary); color: #fff; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: 0.25s; }
.search-box button:hover { background: var(--primary-light); transform: scale(1.05); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; font-family: inherit; font-size: 0.92rem; font-weight: 600;
  color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 13px 42px 13px 18px; outline: none; cursor: pointer;
  transition: border 0.25s;
}
.select-wrap select:focus { border-color: var(--primary-light); }
.select-wrap::after {
  content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px;
  border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

.result-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.result-line b { color: var(--ink); }
.result-line span { font-size: 0.9rem; color: var(--ink-3); font-weight: 600; }

/* ---------- Detail page ---------- */
.detail-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.detail-hero > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 39, 50, 0.55) 0%, transparent 34%, rgba(5, 39, 50, 0.92) 100%);
}
.detail-hero .container { padding: 130px 0 42px; }
.detail-hero h1 { color: #fff; margin: 14px 0 8px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-badges .b {
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px); font-size: 0.76rem; font-weight: 700;
  padding: 6px 13px; border-radius: 999px;
}
.detail-badges .b.gold { background: rgba(227, 168, 87, 0.9); border-color: transparent; color: #4a3108; }
.detail-info-row { display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, 0.86); font-size: 0.9rem; font-weight: 600; }
.detail-info-row span { display: inline-flex; gap: 8px; align-items: center; }

.detail-layout { display: grid; grid-template-columns: 1fr 350px; gap: clamp(24px, 3.5vw, 44px); align-items: start; padding: 46px 0 70px; }
@media (max-width: 940px) { .detail-layout { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-s); margin-bottom: 22px; }
.panel h2 { font-size: 1.28rem; margin-bottom: 14px; }
.panel h2 .ico { margin-right: 9px; }

.story { color: var(--ink-2); font-size: 1rem; line-height: 1.78; white-space: pre-line; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid a { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); display: block; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.08); }

.facilities { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; padding: 0; margin: 0; }
.facilities li {
  display: flex; gap: 9px; align-items: center; background: var(--bg);
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 13px;
  font-size: 0.89rem; font-weight: 600; color: var(--ink);
}
.facilities li::before { content: "✓"; color: var(--secondary); font-weight: 900; }

.safety {
  background: var(--tertiary-soft); border: 1px solid rgba(227, 168, 87, 0.4);
  border-radius: var(--radius-s); padding: 17px 19px; display: flex; gap: 14px;
  font-size: 0.92rem; color: #6b4a12;
}
.safety b { color: #4a3108; display: block; margin-bottom: 3px; }

.side-card { position: sticky; top: 92px; }
.price-tag { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.price-tag b { font-size: 1.75rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.price-tag span { font-size: 0.85rem; color: var(--ink-3); font-weight: 600; }
.info-list { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 12px; font-size: 0.92rem; color: var(--ink-2); align-items: flex-start; }
.info-list li b { display: block; color: var(--ink); font-size: 0.97rem; }
.info-list .ico {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad-soft); border: 1px solid rgba(13, 92, 117, 0.14);
  display: grid; place-items: center; color: var(--primary);
}
.open-badge {
  display: inline-flex; gap: 7px; align-items: center; font-size: 0.8rem;
  font-weight: 800; color: var(--ok); background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3); padding: 5px 12px; border-radius: 999px;
}
.open-badge.closed { color: var(--danger); background: rgba(226, 80, 76, 0.08); border-color: rgba(226, 80, 76, 0.3); }

/* ---------- Reviews ---------- */
.review { display: flex; gap: 14px; padding: 17px 0; border-bottom: 1px dashed var(--line); }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem;
}
.review-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review-head b { font-size: 0.95rem; }
.review-head time { font-size: 0.79rem; color: var(--ink-3); font-weight: 600; }
.stars { color: var(--tertiary); font-size: 0.86rem; letter-spacing: 2px; }
.review p { margin: 6px 0 0; font-size: 0.92rem; }

/* ---------- Agenda ---------- */
.event-date {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #fff; border-radius: 14px; padding: 8px 13px; text-align: center;
  box-shadow: var(--shadow-s); line-height: 1.1;
}
.event-date b { display: block; font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.event-date span { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary); }
.status-dot { display: inline-flex; gap: 7px; align-items: center; font-size: 0.78rem; font-weight: 700; color: var(--ink-3); }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.status-dot.live { color: var(--danger); }
.status-dot.live::before { background: var(--danger); animation: pulse 1.4s infinite; }
.status-dot.soon { color: var(--secondary); }
.status-dot.soon::before { background: var(--secondary); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 80, 76, 0.5); } 50% { box-shadow: 0 0 0 7px rgba(226, 80, 76, 0); } }

/* ---------- Culture audio ---------- */
.audio-bar {
  display: flex; align-items: center; gap: 12px; margin-top: auto;
  padding-top: 13px; border-top: 1px dashed var(--line);
}
.play-btn {
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 20px -8px rgba(13, 92, 117, 0.55);
  transition: 0.25s var(--ease); flex: 0 0 auto;
}
.play-btn:hover { transform: scale(1.08); }
.audio-bar .meta { font-size: 0.8rem; color: var(--ink-3); font-weight: 700; }
.audio-bar .meta b { display: block; color: var(--ink); font-size: 0.88rem; }
audio { width: 100%; margin-top: 12px; height: 40px; }

/* ---------- Stats / about ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-box {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-s);
}
.stat-box b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.stat-box span { font-size: 0.87rem; color: var(--ink-3); font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(22px, 3vw, 40px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.map-embed { border: 0; width: 100%; min-height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-s); }

/* ---------- Empty / loader ---------- */
.empty {
  text-align: center; padding: 60px 20px; color: var(--ink-3);
  background: var(--surface); border: 1.5px dashed var(--line);
  border-radius: var(--radius); grid-column: 1 / -1;
}
.empty .big { font-size: 2.4rem; margin-bottom: 8px; }
.empty b { display: block; color: var(--ink-2); font-size: 1.05rem; margin-bottom: 4px; }
.loader { display: flex; justify-content: center; padding: 44px; grid-column: 1 / -1; }
.loader .ring {
  width: 44px; height: 44px; border-radius: 50%;
  border: 4px solid rgba(13, 92, 117, 0.15); border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-soft); border: 1px solid rgba(13, 92, 117, 0.14);
  border-radius: var(--radius-l); padding: clamp(30px, 5vw, 54px);
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-deep); color: rgba(255, 255, 255, 0.72); margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 54px); padding: clamp(48px, 6vw, 76px) 0 40px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { color: rgba(255, 255, 255, 0.62); font-size: 0.92rem; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.66); transition: 0.2s; display: inline-flex; gap: 8px; align-items: center; }
.footer ul a:hover { color: #7ef0e0; transform: translateX(3px); }
.footer .contact-line { display: flex; gap: 11px; font-size: 0.9rem; margin-bottom: 13px; align-items: flex-start; }
.footer .contact-line .ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; font-size: 0.83rem; color: rgba(255, 255, 255, 0.5);
}
.footer-bottom b { color: rgba(255, 255, 255, 0.8); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* ---------- Peta interaktif (Leaflet) ---------- */
.map-wrap {
  position: relative;
  height: clamp(420px, 64vh, 700px);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 26px 56px -36px rgba(5, 39, 50, 0.6);
}
.map-wrap.compact { height: clamp(340px, 52vh, 520px); }
.map-canvas { position: absolute; inset: 0; z-index: 1; }
.map-wrap .leaflet-container { font-family: inherit; background: #e8eef1; }

.map-tools {
  position: absolute; z-index: 600; top: 12px; right: 12px;
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end;
}
.map-tools button {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.96);
  color: var(--ink); font: inherit; font-size: 0.8rem; font-weight: 700;
  padding: 9px 13px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 24px -16px rgba(5, 39, 50, 0.7);
  transition: 0.2s var(--ease);
}
.map-tools button:hover {
  color: var(--primary); border-color: rgba(13, 92, 117, 0.4);
  transform: translateY(-1px); background: #fff;
}

.map-legend {
  position: absolute; z-index: 600; left: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 13px;
  font-size: 0.77rem; font-weight: 600; color: var(--ink-3);
  max-width: calc(100% - 24px);
  box-shadow: 0 12px 28px -20px rgba(5, 39, 50, 0.7);
}
.map-legend b { color: var(--ink); }
.lg-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.lg-sep { width: 1px; height: 13px; background: var(--line); display: inline-block; }

.map-status[hidden] { display: none; }
.map-status {
  position: absolute; z-index: 700; top: 12px; left: 12px; right: 12px;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; background: rgba(227, 168, 87, 0.97);
  color: #43300a; border: 1px solid rgba(67, 48, 10, 0.2);
  border-radius: 12px; padding: 10px 14px; font-size: 0.84rem; font-weight: 600;
}
.map-status button {
  border: 0; background: #43300a; color: #ffe9c4; padding: 7px 14px;
  border-radius: 999px; font-weight: 700; font-size: 0.8rem; cursor: pointer;
}

/* pin destinasi (divIcon) */
.map-pin-wrap { background: none; border: 0; }
.map-pin {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
}
.map-pin-dot {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 8px;
  background: var(--pin, #0d5c75); color: #fff;
  display: grid; place-items: center; font-size: 14px; line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 10px 20px -10px rgba(5, 39, 50, 0.9);
}
.map-pin-label {
  position: absolute; top: 36px; left: 50%; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line);
  border-radius: 8px; padding: 2px 7px; font-size: 10px; font-weight: 700;
  color: var(--ink); white-space: nowrap;
}

/* popup destinasi */
.leaflet-popup-content-wrapper {
  border-radius: 16px; padding: 0; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 26px 56px -30px rgba(5, 39, 50, 0.7);
}
.leaflet-popup-content { margin: 0; width: 232px !important; }
.leaflet-popup-tip { background: #fff; border: 1px solid var(--line); }
.map-pop img { width: 100%; height: 112px; object-fit: cover; display: block; background: var(--bg-2); }
.map-pop-body { padding: 11px 13px 13px; display: grid; gap: 4px; }
.map-pop-body b { font-size: 0.95rem; color: var(--ink); line-height: 1.3; }
.map-pop-body span { font-size: 0.78rem; color: var(--ink-3); }
.map-pop-meta { color: #b45309 !important; font-weight: 700; }
.map-pop-body a { font-size: 0.83rem; font-weight: 800; color: var(--primary); text-decoration: none; margin-top: 3px; }
.map-pop-body a:hover { text-decoration: underline; }
.leaflet-container a.leaflet-popup-close-button { color: var(--ink-3); padding: 8px 8px 0 0; }
.leaflet-bar a { color: var(--primary); }
.leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, 0.82); }

@media (max-width: 720px) {
  .map-wrap { height: clamp(360px, 62vh, 540px); border-radius: 16px; }
  .map-wrap.compact { height: clamp(320px, 50vh, 440px); }
  .map-tools { top: 10px; right: 10px; }
  .map-tools button { padding: 8px 11px; font-size: 0.75rem; }
  .map-legend { font-size: 0.72rem; padding: 7px 10px; left: 10px; bottom: 10px; }
}
