/* =========================================================
   Desa Wisata Pejeng Kangin – tampilan publik
   ========================================================= */
:root {
  --forest: #173f2c;
  --forest-2: #21543b;
  --leaf: #3d7a4e;
  --leaf-soft: #e4efe5;
  --sand: #f7f2e8;
  --sand-2: #efe6d4;
  --ink: #18221d;
  --text: #36413b;
  --muted: #6a756e;
  --line: #e3ddd0;
  --accent: #d0892f;
  --accent-2: #b87120;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(23, 63, 44, .25);
  --shadow-lg: 0 30px 60px -20px rgba(23, 63, 44, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-decoration: none; transition: color .2s; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #f3c98e; }
.lead { font-size: 1.15rem; color: var(--text); }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s; line-height: 1.2; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-2); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; box-shadow: 0 12px 26px -10px rgba(208, 137, 47, .7); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: #fff; color: var(--forest); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; color: var(--forest); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .2s; }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(4px); }
.chip { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--leaf); background: var(--leaf-soft); padding: .25rem .75rem; border-radius: 999px; margin-bottom: .7rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 0, 0, .05); transition: background .3s, box-shadow .3s, border-color .3s; }
.has-hero .site-header { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.has-hero .site-header.is-scrolled, .site-header.is-scrolled { background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .18); border-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--forest); }
.brand:hover { color: var(--forest); }
.brand-mark { color: var(--forest); display: grid; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; opacity: .75; }
.brand-text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.has-hero .site-header:not(.is-scrolled) .brand, .has-hero .site-header:not(.is-scrolled) .brand-mark { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; }
.main-nav a:not(.btn) { display: block; padding: .5rem .85rem; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .96rem; }
.main-nav a:not(.btn):hover { background: var(--leaf-soft); color: var(--forest); }
.main-nav a.is-active { color: var(--forest); background: var(--leaf-soft); font-weight: 600; }
.has-hero .site-header:not(.is-scrolled) .main-nav a:not(.btn) { color: rgba(255, 255, 255, .92); }
.has-hero .site-header:not(.is-scrolled) .main-nav a:not(.btn):hover,
.has-hero .site-header:not(.is-scrolled) .main-nav a.is-active { background: rgba(255, 255, 255, .15); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px; border-radius: 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .3s, opacity .3s; }
.has-hero .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 28, 19, .55) 0%, rgba(10, 28, 19, .15) 35%, rgba(10, 28, 19, .75) 100%); }
.hero-content { padding: calc(var(--header-h) + 60px) 0 110px; max-width: 820px; margin-left: max(20px, calc((100% - var(--container)) / 2)); }
.hero h1 { color: #fff; margin-bottom: .35em; text-wrap: balance; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .9); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero-sm { min-height: 62vh; }
.hero-sm .hero-content { padding-bottom: 70px; }
.back-link { display: inline-block; font-weight: 600; font-size: .92rem; margin-bottom: 1.2rem; color: var(--leaf); }
.back-light { color: rgba(255, 255, 255, .85); }
.back-light:hover { color: #fff; }

/* ---------- Section ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-tight { padding-top: 40px; }
.section-sand { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 620px; }
.section-head > p { max-width: 420px; color: var(--muted); margin: 0; }
.center-head { justify-content: center; text-align: center; }
.center-head .eyebrow { justify-content: center; }

.page-hero { padding: 70px 0 50px; background: radial-gradient(ellipse at top right, var(--leaf-soft), transparent 60%), var(--sand); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .3em; }
.page-hero p { color: var(--muted); max-width: 620px; font-size: 1.1rem; }

/* ---------- Split / profil ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.collage img { border-radius: var(--radius); object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.collage img:first-child { aspect-ratio: 3/4; }
.collage img:nth-child(2) { aspect-ratio: 3/4; margin-top: 70px; }
.collage-badge { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); background: var(--accent); color: #fff; padding: .9rem 1.4rem; border-radius: 16px; box-shadow: var(--shadow-lg); text-align: center; white-space: nowrap; font-size: .95rem; }
.stack { display: grid; gap: 18px; }
.stack img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.stack img:nth-child(2) { width: 80%; margin-left: auto; margin-top: -80px; border: 6px solid #fff; }
.feature-list { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list strong { display: block; color: var(--ink); font-size: 1.02rem; }
.feature-list span { color: var(--muted); font-size: .96rem; }
.fi { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf); display: grid; place-items: center; }
.fi svg { width: 22px; height: 22px; }

/* ---------- Kartu ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 28px; }
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; color: var(--text); transition: transform .35s, box-shadow .35s; }
.dest-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .7s; }
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.dest-card:hover img { transform: scale(1.06); }
.dest-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.dest-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.dest-body h3 { margin-bottom: .4rem; }

.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .35s, box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sand-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-empty { height: 100%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; color: var(--leaf); background: linear-gradient(135deg, var(--leaf-soft), var(--sand-2)); }
.post-body { padding: 1.4rem 1.5rem 1.6rem; }
.post-body h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.post-body p { color: var(--muted); font-size: .96rem; margin: 0; }
.meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }

/* ---------- Spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--forest); color: rgba(255, 255, 255, .85); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.spotlight-text { padding: clamp(36px, 5vw, 64px); }
.spotlight-text h2 { color: #fff; }
.spotlight .eyebrow { color: #f3c98e; }
.facts { margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.facts div { border-left: 3px solid var(--accent); padding-left: 1rem; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #f3c98e; font-weight: 700; }
.facts dd { margin: 0; color: #fff; }
.spotlight .btn-primary { background: #fff; color: var(--forest); }
.spotlight .btn-primary:hover { background: var(--accent); color: #fff; }

/* ---------- Mosaic / galeri ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mosaic-item { border-radius: 16px; overflow: hidden; position: relative; }
.mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(6) { grid-column: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; }
.mosaic-item:hover img { transform: scale(1.07); filter: brightness(.9); }

.masonry { columns: 3 300px; column-gap: 16px; }
.masonry-item { display: block; position: relative; margin-bottom: 16px; border-radius: 16px; overflow: hidden; break-inside: avoid; }
.masonry-item img { width: 100%; transition: transform .6s; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-caption { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .9rem; color: #fff; font-size: .92rem; font-weight: 500; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transform: translateY(8px); transition: .3s; }
.masonry-item:hover .masonry-caption { opacity: 1; transform: none; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.filter-tabs a { padding: .5rem 1.1rem; border-radius: 999px; background: #fff; color: var(--text); font-weight: 500; font-size: .93rem; border: 1px solid var(--line); }
.filter-tabs a small { color: var(--muted); margin-left: .2rem; }
.filter-tabs a.is-active, .filter-tabs a:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.filter-tabs a.is-active small, .filter-tabs a:hover small { color: rgba(255, 255, 255, .7); }

/* ---------- CTA ---------- */
.cta-band { position: relative; padding: clamp(80px, 10vw, 130px) 0; color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(16, 45, 31, .82), rgba(16, 45, 31, .88)); }
.cta-inner { max-width: 760px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Daftar wisata ---------- */
.dest-list { display: grid; gap: clamp(50px, 7vw, 90px); }
.dest-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.dest-row.is-flipped .dest-row-media { order: 2; }
.dest-row-media { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.dest-row-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s; }
.dest-row-media:hover img { transform: scale(1.05); }
.dest-row-text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.booking-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--sand); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: .8rem; }
.booking-card h3 { margin: 0; }
.booking-card p { color: var(--muted); font-size: .95rem; margin: 0 0 .4rem; }

/* ---------- Artikel ---------- */
.article { padding-top: 60px; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); text-wrap: balance; }
.article-cover { margin: 2rem auto 2.5rem; max-width: 1000px; }
.article-cover img { border-radius: 24px; width: 100%; max-height: 560px; object-fit: cover; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: 16px; margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 1rem 1.4rem; border-left: 4px solid var(--accent); background: var(--sand); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: 2rem 0 4rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.share span { font-weight: 600; color: var(--ink); margin-right: .3rem; }
.share a, .share button { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .9rem; color: var(--text); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--forest); color: var(--forest); }

/* ---------- Pencarian & paginasi ---------- */
.search { display: flex; gap: .5rem; max-width: 480px; margin-top: 1.6rem; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; padding: .5rem 1rem; font: inherit; background: transparent; outline: none; min-width: 0; }
.result-info { color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pagination a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.pagination a.is-active, .pagination a:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.empty-state { padding: 60px 0; }
.empty-state p { color: var(--muted); }

/* ---------- Nilai (profil) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.value-num { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 1rem; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.contact-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--leaf); transform: translateX(4px); box-shadow: var(--shadow); color: var(--text); }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card strong { color: var(--ink); font-weight: 600; word-break: break-word; }
.cc-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--leaf-soft); color: var(--leaf); }
.cc-icon svg { width: 24px; height: 24px; }
.cc-wa { background: #e3f7ea; color: #1faa53; }
.cc-ig { background: #fde8f1; color: #d62976; }
.cc-fb { background: #e6effd; color: #1877f2; }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 440px; box-shadow: var(--shadow); background: var(--sand-2); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #0f2a1d; color: rgba(255, 255, 255, .72); padding: 80px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-bottom: 50px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: #f3c98e; }
.brand-light, .brand-light:hover { color: #fff; margin-bottom: 1.1rem; }
.footer-about p { max-width: 380px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .86rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp mengambang ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .25s; animation: waPulse 2.6s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45), 0 12px 28px -8px rgba(37, 211, 102, .7); } 50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 12px 28px -8px rgba(37, 211, 102, .7); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 18, 13, .94); display: flex; align-items: center; justify-content: center; padding: 30px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: calc(100vh - 120px); max-width: 100%; border-radius: 10px; margin: 0 auto; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); margin-top: .8rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .main-nav { position: fixed; inset: 0; background: #fff; flex-direction: column; justify-content: center; align-items: stretch; padding: 100px 32px 40px; gap: 2rem; transform: translateX(100%); transition: transform .4s cubic-bezier(.7, 0, .3, 1); visibility: hidden; }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: .3rem; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 1.8rem; padding: .4rem 0; color: var(--ink) !important; background: none !important; }
  .main-nav a.is-active { color: var(--accent-2) !important; }
  .nav-open .site-header .brand, .nav-open .site-header .brand-mark { color: var(--forest) !important; }
  .nav-open .nav-toggle span { background: var(--ink) !important; }
  .nav-open { overflow: hidden; }
  .split, .spotlight, .dest-row, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .dest-row.is-flipped .dest-row-media { order: 0; }
  .spotlight-media img { min-height: 280px; max-height: 380px; }
  .booking-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .value-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .mosaic-item:nth-child(6) { grid-column: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .brand-text strong { font-size: 1.15rem; }
  .brand-mark svg { width: 34px; height: 34px; }
  .hero-content { padding-bottom: 90px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .card-grid { grid-template-columns: 1fr; }
  .collage img:nth-child(2) { margin-top: 40px; }
  .collage-badge { white-space: normal; width: 85%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry-item { margin-bottom: 10px; border-radius: 12px; }
  .masonry-caption { display: none; }
  .lightbox { padding: 20px 10px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 18px; transform: none !important; }
  .lb-prev { left: 30%; } .lb-next { right: 30%; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
