/* Zamzam Haramain — gaya utama (tanpa font eksternal) */
:root {
  --hijau: #0a3f35;
  --hijau-2: #0f5446;
  --hijau-muda: #e8f1ee;
  --emas: #c9962c;
  --emas-2: #e2b85a;
  --krem: #faf7f0;
  --teks: #1d2a26;
  --abu: #5b6b66;
  --garis: #e3ddcf;
  --r: 14px;
  --bayang: 0 10px 30px rgba(10, 63, 53, .12);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--teks); background: var(--krem); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hijau-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--hijau); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; text-align: center; }
.btn-emas { background: var(--emas); color: #fff; }
.btn-emas:hover { background: #b6851f; }
.btn-hijau { background: var(--hijau); color: #fff; }
.btn-hijau:hover { background: var(--hijau-2); }
.btn-garis { border-color: currentColor; color: #fff; background: transparent; }
.btn-garis-hijau { border-color: var(--hijau); color: var(--hijau); background: #fff; }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #178346; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--garis); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--teks); padding: 8px 10px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.nav a:hover { background: var(--hijau-muda); color: var(--hijau); }
.nav .btn { color: #fff; margin-left: 6px; padding: 10px 16px; }
.nav .btn:hover { background: #178346; color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--hijau); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 10px 16px 18px; border-bottom: 1px solid var(--garis); box-shadow: var(--bayang); display: none; }
  .nav.buka { display: flex; }
  .nav a { padding: 12px 10px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
  .brand img { height: 40px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--hijau); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 40, 33, .55) 0%, rgba(6, 40, 33, .78) 60%, rgba(6, 40, 33, .95) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(72px, 14vw, 150px) 0 clamp(48px, 8vw, 90px); }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emas-2); font-weight: 700; margin-bottom: 12px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 6.4vw, 4rem); max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--emas-2); }
.hero p.sub { font-size: clamp(1.02rem, 2.4vw, 1.2rem); max-width: 56ch; color: #e9f0ed; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.izin { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.izin span { border: 1px solid rgba(226, 184, 90, .55); background: rgba(0, 0, 0, .22); padding: 6px 12px; border-radius: 999px; font-size: .88rem; }
.izin b { color: var(--emas-2); font-weight: 700; }

/* Bagian umum */
.bagian { padding: clamp(56px, 9vw, 96px) 0; }
.bagian.putih { background: #fff; }
.bagian.hijau { background: var(--hijau); color: #e9f0ed; }
.bagian.hijau h2, .bagian.hijau h3 { color: #fff; }
.judul { max-width: 720px; margin-bottom: 34px; }
.judul p { color: var(--abu); font-size: 1.05rem; }
.bagian.hijau .judul p { color: #cfe0da; }
.ornamen { display: block; width: 64px; height: 3px; background: var(--emas); border-radius: 3px; margin-bottom: 14px; }

/* Paket */
.paket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.paket { background: #fff; border: 1px solid var(--garis); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; box-shadow: 0 2px 0 rgba(10, 63, 53, .03); }
.paket .ikon { width: 46px; height: 46px; border-radius: 12px; background: var(--hijau-muda); color: var(--hijau); display: grid; place-items: center; margin-bottom: 14px; }
.paket .ikon svg { width: 24px; height: 24px; }
.paket h3 { margin-bottom: 6px; }
.paket .label { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--emas); font-weight: 700; margin-bottom: 8px; }
.paket ul { padding-left: 18px; margin: 0 0 18px; color: var(--abu); }
.paket ul li { margin-bottom: 4px; }
.paket .btn { margin-top: auto; }
.catatan { font-size: .9rem; color: var(--abu); margin-top: 18px; }

/* Legalitas */
.legal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.legal figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--bayang); }
.legal figcaption { background: #fff; font-size: .85rem; color: var(--abu); padding: 8px 12px; }
.legal-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.legal-list li { background: #fff; border-left: 4px solid var(--emas); border-radius: 10px; padding: 14px 16px; }
.legal-list b { display: block; color: var(--hijau); font-size: 1.1rem; }
.legal-list span { color: var(--abu); font-size: .92rem; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; } }

/* Manasik */
.manasik { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.manasik figure { margin: 0; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--garis); }
.manasik img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.manasik figcaption { padding: 12px 14px; font-size: .95rem; }
@media (max-width: 820px) { .manasik { grid-template-columns: 1fr; } }

/* Galeri */
.galeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.galeri button { all: unset; cursor: zoom-in; position: relative; border-radius: 10px; overflow: hidden; display: block; background: #0c2f28; }
.galeri button:focus-visible { outline: 3px solid var(--emas); outline-offset: 2px; }
.galeri img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.galeri button:hover img { transform: scale(1.04); }
.galeri span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
@media (max-width: 600px) { .galeri { grid-template-columns: repeat(2, 1fr); } .galeri span { font-size: .74rem; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; padding: 16px; flex-direction: column; }
.lightbox.buka { display: flex; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 8px; }
.lightbox p { color: #fff; margin: 12px 0 0; text-align: center; }
.lightbox .tutup { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; padding: 6px 12px; }

/* Alur */
.alur { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.alur li { counter-increment: s; background: rgba(255, 255, 255, .06); border: 1px solid rgba(226, 184, 90, .35); border-radius: var(--r); padding: 20px; position: relative; }
.alur li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--emas); color: #fff; font-weight: 700; margin-bottom: 10px; }
.alur h3 { font-size: 1.2rem; margin-bottom: 4px; }
.alur p { margin: 0; color: #cfe0da; font-size: .95rem; }
.alur a { color: var(--emas-2); }
.app-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--garis); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--hijau); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--emas); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; color: var(--abu); }

/* Panduan (diisi Mesin SEO) */
.panduan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.panduan-grid a { display: block; background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--teks); }
.panduan-grid a b { display: block; color: var(--hijau); margin-bottom: 4px; }
.panduan-grid a span { font-size: .9rem; color: var(--abu); }
.panduan-grid a:hover { border-color: var(--emas); }

/* Kontak */
.kontak { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.kontak-info { background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--garis); }
.kontak-info dl { margin: 0 0 18px; }
.kontak-info dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--emas); font-weight: 700; margin-top: 12px; }
.kontak-info dd { margin: 2px 0 0; }
.kontak-info .btn { width: 100%; margin-top: 8px; }
.peta { border-radius: var(--r); overflow: hidden; border: 1px solid var(--garis); min-height: 320px; background: var(--hijau-muda); }
.peta iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 820px) { .kontak { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: #072d26; color: #c8d8d2; padding: 48px 0 90px; font-size: .95rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.footer a { color: #c8d8d2; text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: var(--emas-2); }
.footer .logo-f { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.footer .logo-f img { height: 48px; width: auto; }
.footer small { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; color: #8fa9a0; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr; } }

/* Tombol WA melayang */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wa-float svg { width: 30px; height: 30px; }
.draf-bar { background: #fff3cd; color: #6b4e00; border: 1px solid #f0d58a; padding: 10px 14px; border-radius: 10px; margin: 0 0 18px; font-weight: 600; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .galeri img { transition: none; } }
