/* ============================================
   BASECAMP BIMAWARI - STYLESHEET
   ============================================ */

:root {
  --green-dark: #0a3d20;
  --green-primary: #0d5c2c;
  --green-medium: #1a7a3e;
  --green-light: #e8f5ec;
  --yellow: #f5c542;
  --yellow-dark: #d9a900;
  --text-dark: #1a1a1a;
  --text-gray: #6b7280;
  --bg-light: #f7f9f7;
  --bg-gray: #eef1ee;
  --white: #ffffff;
  --border: #dde3dd;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
  --nav-h: 66px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green-medium);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-medium);
}

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section-green {
  background: var(--green-dark);
  color: var(--white);
}

.text-center { text-align: center; }

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Scrim gelap di atasnya: teks putih navbar selalu terbaca meski foto hero terang */
  background: linear-gradient(180deg, rgba(4,26,13,0.86) 0%, rgba(4,26,13,0.58) 62%, rgba(4,26,13,0.16) 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Saat discroll: solid + blur kaca (futuristik) */
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(8, 46, 24, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: 0 10px 32px rgba(0,0,0,0.25);
}

/* Garis aksen tipis di bawah header saat solid */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,197,66,0.7), rgba(126,217,160,0.45), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.site-header.scrolled::after,
.site-header.menu-open::after { opacity: 1; }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}

.brand:hover { color: var(--white); }

/* Logo putih (ikon saja) — navbar selalu berlatar gelap */
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}

.brand-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu > li { position: relative; }

.nav-menu a {
  color: rgba(255,255,255,0.95);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}

/* Hanya link menu utama yang diberi state hover/active
   (agar item dropdown tidak ikut putih -> tak terbaca di panel dropdown putih) */
.nav-menu > li > a:hover,
.nav-menu > li > a:focus-visible,
.nav-menu > li > a.active {
  color: var(--white);
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

.has-dropdown:hover > a,
.has-dropdown.open > a {
  color: var(--white);
  background: rgba(255,255,255,0.18);
}

/* Dropdown */
.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 232px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  max-height: 440px;
  overflow-y: auto;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  color: var(--text-dark);
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: none;
}

/* Panel dropdown berlatar putih -> teks harus gelap, bukan ikut style menu utama */
.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--green-light);
  color: var(--green-primary);
}

.dropdown-menu a.active {
  box-shadow: inset 3px 0 0 var(--green-primary);
}

.dropdown-menu .dropdown-header {
  padding: 10px 12px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 0.2s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.nav-toggle:hover { background: rgba(255,255,255,0.2); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, url('../img/hero.webp'));
  background-size: cover;
  /* Titik fokus default: setengah atas (subjek foto ada di area ini) */
  background-position: var(--hero-position, center 38%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* 1) scrim kiri-terang untuk teks judul, 2) scrim atas untuk navbar */
  background: linear-gradient(100deg, rgba(8,46,24,0.82) 0%, rgba(8,46,24,0.52) 52%, rgba(8,46,24,0.26) 100%),
    linear-gradient(180deg, rgba(4,26,13,0.6) 0%, rgba(4,26,13,0) 42%);
  z-index: 1;
}

/* Selector dua-kelas agar tidak kalah spesifik dari .container (yang ikut
   men-set padding shorthand di media query <=480px) */
.hero .hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 54px) 24px 80px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero h1 .accent { color: var(--yellow); }

.hero p.subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  max-width: 640px;
  opacity: 0.95;
  margin-bottom: 32px;
}

.hero .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--yellow);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 24px;
}

/* Hero halaman dalam (judul saja): lebih pendek supaya konten tidak terlalu jauh
   dari navigasi, dan tidak lagi perlu style inline per halaman */
.hero-sub {
  min-height: clamp(320px, 46vh, 440px);
}

.hero-sub .hero-content {
  padding: calc(var(--nav-h) + 44px) 24px 44px;
}

.hero-sub h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  margin-bottom: 14px;
}

.hero-sub .subtitle {
  margin-bottom: 26px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--yellow);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.btn-green {
  background: var(--green-primary);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }

/* ============ STATS BAR ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-item .value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============ SECTION TITLE ============ */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 720px;
  margin-bottom: 48px;
}

.section-title.center,
.section-subtitle.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.card p {
  color: var(--text-gray);
  font-size: 0.92rem;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ============ STEP CARDS (Alur Pendakian) ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.step-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
  font-size: 0.95rem;
}

.step-card h4 {
  color: var(--green-dark);
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-gray);
}

/* Langkah dengan foto (dipakai di halaman Jalur Pendakian) */
.step-card.step-media { padding: 12px 12px 20px; }

.step-card.step-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: var(--bg-gray);
}

.step-card.step-media .step-number {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ============ GALLERY / IMAGE CARDS ============ */
.img-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.img-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.img-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 35%;
  background: var(--bg-gray);
}

/* Sumber persegi yang judulnya tercetak di bagian atas (poster flora):
   ambil area bawahnya saja supaya judul tidak dobel dengan teks kartu */
.img-card img.crop-bottom { object-position: center bottom; }

.img-card .body {
  padding: 18px;
}

.img-card h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.img-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ============ SPLIT SECTION ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* Framing gambar di dalam split:
   - default       : foto (landscape/potret) dipotong rapi (cover) dengan titik fokus aman
   - .split-poster : gambar berisi teks/infografis (peta, zona) -> tampil utuh tanpa crop */
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  object-position: center 35%;
  background: var(--bg-gray);
}

.split .split-poster {
  /* Bingkai menyusut mengikuti gambar (justify-self mencegah stretch seukuran kolom):
     tidak ada letterbox putih di kiri-kanan */
  justify-self: center;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 540px;
  margin-inline: auto;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--border);
}

/* Gambar infografis lebar (peta/zona) ditampilkan utuh di dalam frame */
.figure {
  margin: 32px auto 44px;
  max-width: 900px;
}

.figure.narrow { max-width: 620px; }

.figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-gray);
}

.split h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.split p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

/* ============ LISTS ============ */
.info-list {
  list-style: none;
  margin-top: 16px;
}

.info-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.info-list li::before {
  content: '▪';
  position: absolute;
  left: 6px;
  color: var(--green-primary);
  font-weight: 700;
}

.info-list li b {
  color: var(--green-dark);
  display: inline-block;
  min-width: 140px;
}

/* ============ DO & DON'T ============ */
.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.do-dont h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.do-dont .do h3 { color: var(--green-primary); }
.do-dont .dont h3 { color: #d32f2f; }

.do-dont ul {
  list-style: none;
}

.do-dont ul li {
  padding: 10px 0 10px 34px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--border);
}

.do-dont .do ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  background: var(--green-light);
  color: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.do-dont .dont ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  background: #fde8e8;
  color: #d32f2f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============ ZONA VEGETASI ============ */
/* Desktop: 4 kolom (sebelumnya auto-fit -> 6 kolom, kartu jadi terlalu kecil) */
.zona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.zona-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  padding-bottom: 16px;
}

.zona-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
  background: var(--bg-gray);
}

/* Banner yang judul & subjudulnya tercetak di sisi kiri (mis. header/pos-x.webp):
   4:3 + rata kanan membuang teks tsb (crop ~47% kiri),
   menyisakan foto jalur dan papan patok di sisi kanan */
.zona-card img.img-banner { object-position: 100% 50%; }

.zona-card h4 {
  font-size: 0.86rem;
  color: var(--green-dark);
  padding: 12px 10px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.zona-card .elev {
  font-size: 0.76rem;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.zona-card p {
  font-size: 0.82rem;
  color: var(--text-gray);
  padding: 0 12px;
  line-height: 1.5;
}

/* ============ PETA JALUR / IMAGE FULL ============ */
.full-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 32px 0;
}

/* ============ GALERI POSTER (gambar berisi judul tercetak) ============ */
/* Ditampilkan utuh sesuai rasio aslinya, tanpa dipotong */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.poster-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.poster-grid img:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .poster-grid { gap: 14px; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 30px;
  margin-top: 0;
}

.footer-quote {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.5;
  font-style: italic;
}

.footer-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem;
}

.footer-tags span {
  color: rgba(255,255,255,0.9);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ============ CONTACT ============ */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item .info strong {
  display: block;
  color: var(--green-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-item .info span {
  color: var(--text-dark);
  font-size: 0.95rem;
  word-break: break-word;
}

/* WhatsApp CTA */
.wa-box {
  background: var(--green-primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.wa-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.wa-box p { opacity: 0.9; margin-bottom: 20px; }

.wa-box img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.wa-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-btn {
  background: var(--white);
  color: var(--green-dark);
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.wa-btn:hover {
  background: var(--yellow);
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* ============ SOSIAL MEDIA (halaman Kontak) ============ */
.social-grid {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.social-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s;
}

.social-tile:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-sm);
  color: var(--green-primary);
  transform: translateY(-2px);
}

/* Ikon akun: kotak warna + nama & handle */
.social-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.25rem;
  color: #fff;
}

.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-tt { background: #000; }

.social-name { display: flex; flex-direction: column; line-height: 1.3; }

.social-name small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-gray);
}

.social-tile:hover .social-name small { color: inherit; }

/* ============ PATHOK DETAIL PAGE ============ */
.pathok-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 48px;
}

.pathok-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, url('../img/hero.webp'));
  background-size: cover;
  background-position: var(--hero-position, center 38%);
  z-index: 0;
}

.pathok-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Atas lebih gelap: teks navbar tetap terbaca di atas foto terang */
  background: linear-gradient(180deg, rgba(8,46,24,0.82) 0%, rgba(8,46,24,0.35) 32%, rgba(8,46,24,0.72) 72%, rgba(8,46,24,0.92) 100%);
  z-index: 1;
}

.pathok-hero .container {
  position: relative;
  z-index: 2;
}

.pathok-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.pathok-hero .sub {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-top: 10px;
}

/* Patok Sign Badge */
.patok-sign {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #ffd93d 0%, #f5c542 100%);
  /* Segi 8 beraturan: sudut dipotong 29,29% */
  clip-path: polygon(29.29% 0%, 70.71% 0%, 100% 29.29%, 100% 70.71%,
                     70.71% 100%, 29.29% 100%, 0% 70.71%, 0% 29.29%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  padding: 20px;
}

.patok-sign .cn { font-size: 0.85rem; }
.patok-sign .id { font-size: 1.1rem; font-style: italic; margin: 2px 0; }
.patok-sign .alt { font-size: 0.75rem; margin-top: 4px; }
.patok-sign .alt-v { font-size: 1.5rem; font-weight: 900; }
.patok-sign .code { font-size: 1.3rem; font-weight: 900; background: var(--text-dark); color: #ffd93d; padding: 2px 10px; border-radius: 4px; margin-top: 6px; }

/* Pathok Detail Grid */
.pathok-detail {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 60px 0;
  align-items: start;
}

.pathok-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin-bottom: 32px;
}

.pathok-info-grid .info-item .label {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.pathok-info-grid .info-item .value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-dark);
}

.pathok-block {
  margin-bottom: 32px;
}

.pathok-block h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-primary);
  margin-bottom: 12px;
  font-weight: 800;
}

.pathok-block p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.koordinat-table {
  display: flex;
  gap: 40px;
  margin-bottom: 16px;
}

.koordinat-table .row {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
}

.koordinat-table .row strong {
  color: var(--text-gray);
  font-weight: 600;
  min-width: 60px;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-maps:hover { background: var(--green-dark); color: var(--white); }

/* Patok Navigation */
.patok-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.patok-nav a, .patok-nav button {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
}

.patok-nav a:hover, .patok-nav button:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.patok-nav .report {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.patok-nav .report:hover {
  background: var(--green-dark);
  color: var(--white);
}

.pathok-notice {
  background: var(--yellow);
  color: var(--text-dark);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 24px;
  font-weight: 600;
}

/* ============ INDEX PATHOK ============ */
.patok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.patok-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.25s;
  color: var(--text-dark);
  display: block;
}

.patok-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--text-dark);
}

.patok-card .sign-mini {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #ffd93d, #f5c542);
  /* Segi 8 beraturan, mengikuti bentuk .patok-sign */
  clip-path: polygon(29.29% 0%, 70.71% 0%, 100% 29.29%, 100% 70.71%,
                     70.71% 100%, 29.29% 100%, 0% 70.71%, 0% 29.29%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--text-dark);
  font-size: 0.75rem;
}

.patok-card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 4px;
  font-weight: 800;
}

.patok-card .nama {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.patok-card .alt {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-primary);
}

/* Search box */
.search-box {
  max-width: 480px;
  margin: 0 auto 40px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.search-box input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(13,92,44,0.1);
}

.search-box::before {
  content: '🔍';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
}

/* ============ BOOKING CTA BANNER ============ */
.booking-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a3d20 0%, #0d5c2c 55%, #14663a 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.booking-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(245,197,66,0.22), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(126,217,160,0.12), transparent 40%);
  pointer-events: none;
}

.booking-banner > * { position: relative; z-index: 1; }

.booking-eyebrow {
  display: inline-block;
  background: rgba(245,197,66,0.14);
  border: 1px solid rgba(245,197,66,0.5);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 18px;
}

.booking-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.booking-banner p {
  opacity: 0.92;
  font-size: 0.98rem;
}

.booking-points {
  list-style: none;
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
}

.booking-points li {
  position: relative;
  padding-left: 32px;
  font-size: 0.92rem;
  opacity: 0.95;
}

.booking-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.booking-note {
  font-size: 0.8rem;
  opacity: 0.75;
  font-style: italic;
}

.booking-visual {
  display: flex;
  justify-content: center;
}

/* Kartu QRIS (visual CSS murni) */
.qris-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: 18px;
  padding: 22px;
  width: 100%;
  max-width: 270px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  transform: rotate(2.5deg);
  text-align: center;
}

.qris-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}

.qris-badge {
  background: #16241a;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
}

.qris-brand {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-primary);
}

.qris-code {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 8px;
  border: 6px solid #fff;
  outline: 1px solid #e3e8e3;
  background: #fff;
  overflow: hidden;
}

.qris-code img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qris-label {
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.88rem;
  color: #16241a;
}

.qris-sub {
  font-size: 0.72rem;
  color: var(--text-gray);
}

/* Baris tombol */
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ PATHOK FILTER & PAGINATION ============ */
.filter-bar {
  max-width: 780px;
  margin: 0 auto 28px;
}

.filter-bar .search-box { margin: 0 auto 18px; }

.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.chip {
  padding: 9px 18px;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.chip.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13,92,44,0.28);
}

.chip .count {
  font-size: 0.72rem;
  opacity: 0.75;
  margin-left: 6px;
  font-weight: 500;
}

.filter-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.zona-select {
  padding: 11px 18px;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
  max-width: 100%;
}

.zona-select:focus { border-color: var(--green-primary); }

.result-info {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.page-btn.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13,92,44,0.28);
}

.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.page-dots { color: var(--text-gray); padding: 0 2px; }

#daftarPatok { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ============ FOOTER BOOKING LINK ============ */
.footer-book { text-align: center; margin-bottom: 26px; }

.footer-book a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,66,0.12);
  border: 1px solid rgba(245,197,66,0.45);
  color: var(--yellow);
  padding: 12px 26px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.footer-book a:hover {
  background: var(--yellow);
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* ============ RESPONSIVE ============ */

/* Desktop kecil: rapatkan navbar */
@media (max-width: 1200px) {
  .nav-menu { gap: 2px; }
  .nav-menu a { padding: 9px 9px; font-size: 0.82rem; }
  .brand { font-size: 0.92rem; }
  .brand-logo { width: 38px; height: 38px; }
}

/* Tablet & di bawahnya: navbar jadi drawer */
@media (max-width: 1140px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #06261a;
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    border-bottom: 0 solid transparent;
    transition: max-height 0.35s ease, padding 0.35s ease, border-bottom-width 0.35s ease;
    box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  }

  .nav-menu.open {
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom-width: 1px;
    border-bottom-color: rgba(255,255,255,0.12);
  }

  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { display: block; padding: 12px 14px; font-size: 0.95rem; }

  .has-dropdown::after { display: none; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0,0,0,0.22);
    box-shadow: none;
    border: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    transition: max-height 0.3s ease;
  }

  .has-dropdown.open .dropdown-menu {
    max-height: 440px;
    overflow-y: auto;
    padding: 8px;
  }

  /* Di drawer (latar gelap) item dropdown harus tetap terbaca */
  .dropdown-menu a { color: rgba(255,255,255,0.85); padding: 10px 12px; }
  .dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .dropdown-menu a.active {
    background: rgba(245,197,66,0.18);
    color: var(--yellow);
    box-shadow: inset 3px 0 0 var(--yellow);
  }
  .dropdown-menu .dropdown-header { color: rgba(255,255,255,0.5); }
}

/* Tablet */
@media (max-width: 1024px) {
  .split { gap: 40px; }
  .booking-banner { padding: 44px 36px; gap: 36px; }
  .zona-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .split, .wa-box, .do-dont, .pathok-detail {
    grid-template-columns: 1fr;
  }
  .pathok-detail { padding: 40px 0; gap: 32px; }
  .pathok-sign { margin: 0 auto; }
  .pathok-info-grid { grid-template-columns: 1fr 1fr; }
  .split img, .split .split-poster { max-height: 420px; }
  .split .split-poster { max-height: 620px; }
  .booking-banner { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* Mobile besar */
@media (max-width: 768px) {
  .hero { min-height: 62vh; }
  .hero .hero-content { padding: calc(var(--nav-h) + 28px) 18px 56px; }

  .hero-sub { min-height: 320px; }
  .hero-sub .hero-content { padding: calc(var(--nav-h) + 28px) 18px 32px; }
  .hero-sub h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }

  .section { padding: 56px 0; }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stats-bar .stat-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .patok-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }
  .patok-card { padding: 18px 12px; }
  .patok-card .sign-mini { width: 56px; height: 56px; font-size: 0.6rem; margin-bottom: 10px; }
  .patok-card h3 { font-size: 1rem; }
  .patok-card .nama { font-size: 0.78rem; }
  .patok-card .alt { font-size: 0.82rem; }

  .filter-chips {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;
  }
  .filter-chips::-webkit-scrollbar { display: none; }

  .pathok-hero { padding: 100px 0 40px; min-height: 280px; }
  .pathok-hero h1 { font-size: 2.4rem; }

  .footer-tags { gap: 12px 18px; font-size: 0.8rem; }
  .footer-quote { font-size: 1.05rem; }

  .wa-box { padding: 28px 22px; }
  .wa-box h3 { font-size: 1.4rem; }

  .zona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .zona-card h4 { font-size: 0.78rem; }

  .booking-banner { padding: 34px 22px; border-radius: 16px; }
  .booking-banner h2 { font-size: 1.5rem; }
  .qris-card { max-width: 240px; padding: 18px; }
  .qris-code { width: 130px; height: 130px; }

  .pagination { gap: 6px; margin-top: 32px; }
  .page-btn { min-width: 38px; height: 38px; padding: 0 10px; font-size: 0.82rem; }

  .img-card img { aspect-ratio: 5 / 4; }
}

/* Mobile kecil-menengah */
@media (max-width: 560px) {
  .koordinat-table { flex-direction: column; gap: 10px; }

  .patok-nav { flex-direction: column; align-items: stretch; }
  .patok-nav a, .patok-nav button { width: 100%; text-align: center; }

  .hero-content .btn-row .btn { width: 100%; justify-content: center; }

  .pathok-info-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

  .booking-actions { flex-direction: column; align-items: stretch; }
  .booking-actions .btn { justify-content: center; }
  .booking-note { text-align: center; }

  .search-box input { padding: 12px 16px 12px 46px; font-size: 0.9rem; }

  .footer-book a { font-size: 0.84rem; padding: 11px 20px; }
}

/* Mobile kecil */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item .value { font-size: 1.4rem; }
  .stat-item .label { font-size: 0.72rem; }

  .brand { font-size: 0.8rem; gap: 10px; }
  .brand-text small { font-size: 0.58rem; letter-spacing: 0.5px; }

  .patok-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

  .wa-btn { font-size: 0.85rem; padding: 12px 14px; }
}