:root {
  --teal: #0f5c66;
  --teal-d: #0a444c;
  --cream: #fbf6ee;
  --sand: #f3ead9;
  --gold: #b8893b;
  --pink: #e98aa0;
  --ink: #1f2a2c;
  --muted: #5e6b6d;
  --wa: #25d366;
  --wa-d: #1da851;
  --r: 18px;
  --shadow: 0 10px 30px rgba(15, 92, 102, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.65 Poppins, system-ui, sans-serif; color: var(--ink); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--teal-d); }
h4 { margin: 1.4em 0 .5em; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
svg { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow-wrap { max-width: 760px; }
.center { text-align: center; }
.narrow { max-width: 620px; margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6em; }
.eyebrow.light { color: #f6d79b; }

/* Butang */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-d); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-ghost { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-waze { background: #33ccff; color: #0b2a36; }
.btn-waze:hover { background: #1fb8eb; }
.nav-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn-light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.actions.center { justify-content: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(15,92,102,.08); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-d); font-family: "Playfair Display", serif; font-size: 1.35rem; font-weight: 700; margin: 0; }
.brand em { font-style: italic; color: var(--gold); font-weight: 600; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.links a:hover { color: var(--teal); }

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,68,76,.92) 0%, rgba(10,68,76,.7) 50%, rgba(10,68,76,.25) 100%); }
.hero-in { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); margin-bottom: .2em; }
.lead { font-size: 1.2rem; max-width: 520px; opacity: .95; }
.hero-pts { list-style: none; padding: 0; margin: 2em 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; }
.hero-pts svg { color: #f6d79b; }

/* Seksyen */
.sec { padding: 90px 0; }
.sec.alt { background: var(--sand); }

/* Pilih rumah */
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 40px 0 70px; }
.pick-card { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--shadow); aspect-ratio: 16/9; }
.pick-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pick-card:hover img { transform: scale(1.05); }
.pick-card > div { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(transparent, rgba(10,68,76,.92)); }
.pick-card h3 { font-size: 1.6rem; margin: .3em 0 .1em; }
.pick-card p { margin: 0; opacity: .9; font-size: .9rem; }
.tag { display: inline-block; background: var(--pink); color: #fff; font-size: .75rem; font-weight: 600; padding: .25em .8em; border-radius: 999px; letter-spacing: .05em; }

/* Unit */
.unit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; padding: 50px 0; border-top: 1px solid rgba(15,92,102,.1); }
.unit.flip .unit-gallery { order: 2; }
.unit-gallery { position: sticky; top: 90px; }
.unit-gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; display: block; width: 100%; }
.unit-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.unit-gallery button:hover img { transform: scale(1.04); }
.g-main { aspect-ratio: 16/10; box-shadow: var(--shadow); }
.g-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.g-row button { aspect-ratio: 4/3; }
.unit h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--teal-d); margin-top: .5em; }
.unit .muted svg { color: var(--pink); }
.tagline { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.15rem; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--teal); color: #fff; padding: .35em .9em; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.chips.soft span { background: #fff; color: var(--teal-d); border: 1px solid rgba(15,92,102,.2); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; }
.ticks svg { color: var(--wa-d); margin-top: .25em; }
.nearby { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.nearby li { display: flex; gap: 12px; font-size: .95rem; background: #fff; padding: 8px 14px; border-radius: 10px; }
.nearby b { color: var(--teal); min-width: 96px; font-weight: 600; }

/* Tempahan */
.book { background: linear-gradient(135deg, var(--teal-d), var(--teal)); color: #fff; }
.book h2 { color: #fff; }
.book-in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.book-form { background: #fff; color: var(--ink); padding: 30px; border-radius: var(--r); box-shadow: 0 20px 50px rgba(0,0,0,.2); display: grid; gap: 14px; }
.book-form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--teal-d); }
.book-form input, .book-form select { font: inherit; font-weight: 400; padding: .7em .9em; border: 1px solid #d6dcdc; border-radius: 10px; background: #fff; width: 100%; }
.book-form input:focus, .book-form select:focus { outline: 2px solid var(--teal); border-color: transparent; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form .btn { justify-content: center; margin-top: 6px; }

/* Peta */
.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.map-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-info { padding: 20px 24px 24px; }
.map-info h3 { margin: 0; color: var(--teal-d); }

/* Ulasan */
.rating-box { display: inline-flex; align-items: center; gap: 18px; background: #fff; padding: 18px 30px; border-radius: var(--r); box-shadow: var(--shadow); margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.rating-box p { margin: .2em 0 0; color: var(--muted); }
.rating-box .big { font-family: "Playfair Display", serif; font-size: 3rem; font-weight: 700; color: var(--teal-d); line-height: 1; }
.stars { color: #f5b301; display: flex; gap: 2px; justify-content: center; }
.stars svg { width: 1.3em; height: 1.3em; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 36px; text-align: left; }
.review { margin: 0; background: #fff; padding: 24px; border-radius: var(--r); box-shadow: var(--shadow); }
.review .stars { justify-content: flex-start; }
.review blockquote { margin: 12px 0; font-style: italic; }
.review { display: flex; flex-direction: column; }
.review blockquote { flex: 1; }
.review figcaption { font-size: .9rem; color: var(--muted); display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.review figcaption b { color: var(--ink); }
.review figcaption small { grid-column: 2; font-size: .78rem; }
.avatar { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 600; }
.stars .off { color: #d9d9d9; display: contents; }
.more-reviews { margin-top: 24px; }
.more-reviews summary { cursor: pointer; display: inline-block; font-weight: 600; color: var(--teal); padding: .6em 1.4em; border: 2px solid var(--teal); border-radius: 999px; list-style: none; }
.more-reviews summary::-webkit-details-marker { display: none; }
.more-reviews[open] summary { display: none; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin: 40px 0; }
.post-card { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card > div { padding: 20px 22px 24px; }
.post-card time { font-size: .8rem; color: var(--gold); font-weight: 600; }
.post-card h3 { font-size: 1.25rem; color: var(--teal-d); margin: .3em 0; }
.post-card p { font-size: .92rem; color: var(--muted); margin: 0 0 .8em; }
.more { color: var(--teal); font-weight: 600; font-size: .9rem; }
.page-head { background: linear-gradient(135deg, var(--teal-d), var(--teal)); color: #fff; padding: 70px 0 60px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-head time { opacity: .85; }
.back { color: #f6d79b; text-decoration: none; font-weight: 600; display: inline-block; margin-bottom: 1em; }
.post-body { padding-top: 40px; padding-bottom: 60px; font-size: 1.05rem; }
.post-body h2 { font-size: 1.6rem; margin-top: 1.6em; }
.post-body li { margin-bottom: .4em; }
.post-hero { border-radius: var(--r); width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 30px; box-shadow: var(--shadow); }
.post-cta { background: var(--sand); padding: 28px; border-radius: var(--r); margin-top: 40px; text-align: center; }
.post-cta h3 { color: var(--teal-d); }

/* CTA & footer */
.cta { background: var(--sand) url("/assets/img/kenari-rumah.jpg") center/cover; position: relative; color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(10,68,76,.85); }
.cta .wrap { position: relative; }
.cta h2 { color: #fff; }
.foot { background: var(--teal-d); color: rgba(255,255,255,.85); padding: 60px 0 20px; }
.foot a { color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.foot .brand { color: #fff; margin-bottom: 1em; }
.foot h4 { color: #f6d79b; margin-top: 0; }
.foot p { margin: .4em 0; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.copy { text-align: center; font-size: .85rem; opacity: .6; margin: 40px 0 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; right: 20px; font-size: 2.4rem; color: #fff; background: none; border: 0; cursor: pointer; }

/* Bar WhatsApp mudah alih */
.mobile-bar { display: none; }

@media (max-width: 860px) {
  .links { display: none; }
  .nav .btn-wa { margin-left: auto; }
  .unit, .book-in, .foot-in { grid-template-columns: 1fr; gap: 30px; }
  .unit.flip .unit-gallery { order: 0; }
  .unit-gallery { position: static; }
  .hero { min-height: 560px; }
  .sec { padding: 64px 0; }
  .ticks { grid-template-columns: 1fr; }
  body { padding-bottom: 68px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; position: fixed; inset: auto 0 0 0; z-index: 60; box-shadow: 0 -4px 20px rgba(0,0,0,.15); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; font-weight: 600; color: #fff; text-decoration: none; }
  .mb-call { background: var(--teal); }
  .mb-wa { background: var(--wa); }
}
