/* =====================================================================
   Villa1000Pesona - Design System (Frontend)

   Konsep: Luxury Tropical / Modern Minimalist / Elegant Hospitality.
   Dibangun di atas Bootstrap 5, ditulis mobile first (semua media query
   memakai min-width).

   Font: Plus Jakarta Sans variable (200-800), self-hosted.
   Perbedaan antara judul dan teks isi dibuat lewat weight, ukuran, dan
   letter-spacing - bukan dengan menambah keluarga font kedua, supaya
   halaman hanya perlu mengunduh satu berkas font.
   ===================================================================== */

:root {
    /* ---- Primary ---- */
    --white:   #FFFFFF;
    --cream:   #FAF7F2;
    --beige:   #EFE7DA;
    --sand:    #E3DBCC;

    /* ---- Secondary ---- */
    --olive:   #7C7A52;
    --forest:  #22372B;
    --brown:   #8A6F52;

    /* ---- Accent ---- */
    --gold:    #B99765;
    --gold-600:#A07F4F;
    --emerald: #2F6B54;
    --navy:    #1D2B3A;

    /* ---- Teks ---- */
    --ink:     #22372B;
    --body:    #5A5A4E;
    --muted:   #8A8A7C;
    --line:    #E3DBCC;

    /* ---- Lapisan lembut (dipakai untuk latar chip & ikon) ---- */
    --gold-soft:    rgba(185, 151, 101, .12);
    --forest-soft:  rgba(34, 55, 43, .06);
    --emerald-soft: rgba(47, 107, 84, .10);

    /* ---- Tipografi ---- */
    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

    /* ---- Radius ---- */
    --r-sm:  12px;
    --r-md:  16px;
    --r-lg:  24px;
    --r-xl:  32px;
    --r-pill: 999px;

    /* ---- Bayangan berlapis, sengaja sangat halus ---- */
    --shadow-xs: 0 1px 2px rgba(34, 55, 43, .04);
    --shadow-sm: 0 2px 10px rgba(34, 55, 43, .05);
    --shadow-md: 0 10px 30px rgba(34, 55, 43, .07);
    --shadow-lg: 0 22px 60px rgba(34, 55, 43, .10);
    --shadow-xl: 0 32px 80px rgba(34, 55, 43, .14);

    /* ---- Ritme vertikal antar section ---- */
    --section-y: clamp(4.5rem, 9vw, 8rem);

    /* ---- Tinggi navbar (dipakai juga oleh scroll-padding) ---- */
    --nav-h: 76px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 1.0625rem;          /* 17px */
    font-weight: 400;
    line-height: 1.75;
    color: var(--body);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.03em;
    margin: 0 0 .6em;
}

/* Hero 48-60px, Heading 32-42px, Sub Heading 24-30px (lihat spesifikasi) */
h1 { font-size: clamp(2.35rem, 5.2vw, 3.75rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.625rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.875rem); letter-spacing: -.025em; }
h4 { font-size: 1.25rem; letter-spacing: -.02em; }
h5 { font-size: 1.0625rem; letter-spacing: -.01em; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--emerald);
    text-decoration: none;
    transition: color .25s var(--ease);
}
a:hover { color: var(--forest); }

/* Pengaman agar media apa pun tidak pernah melebihi lebar layar */
img, svg, video, iframe { max-width: 100%; }
img, svg, video { height: auto; }

/* Kata sangat panjang (URL, email) dipatahkan daripada merusak tata letak */
p, li, h1, h2, h3, h4, h5, h6, td, th, blockquote { overflow-wrap: break-word; }

hr { border: 0; border-top: 1px solid var(--line); opacity: 1; margin: 2rem 0; }

::selection { background: var(--gold); color: var(--white); }

/* Fokus keyboard harus selalu terlihat jelas - jangan pernah dihilangkan
   tanpa pengganti, karena itu satu-satunya petunjuk posisi bagi pengguna
   yang menavigasi dengan Tab. */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Lewati navigasi, tampil hanya saat difokuskan dengan keyboard */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--forest);
    color: var(--cream);
    padding: .75rem 1.25rem;
    border-radius: var(--r-sm);
    font-weight: 600;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* =====================================================================
   UTILITAS TATA LETAK
   ===================================================================== */
.section      { padding: var(--section-y) 0; }
.section-sm   { padding: calc(var(--section-y) * .62) 0; }
.bg-cream     { background: var(--cream); }
.bg-beige     { background: var(--beige); }
.bg-forest    { background: var(--forest); color: rgba(250, 247, 242, .82); }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4 { color: var(--cream); }

.container-narrow { max-width: 760px; margin-inline: auto; }

.text-gold    { color: var(--gold) !important; }
.text-emerald { color: var(--emerald) !important; }
.text-ink     { color: var(--ink) !important; }
.text-muted-2 { color: var(--muted) !important; }

.lead {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.8;
    color: var(--body);
}

/* Label kecil di atas judul section */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}
.eyebrow.is-center::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}
.bg-forest .eyebrow { color: var(--gold); }

.section-head { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }

/* =====================================================================
   TOMBOL
   ===================================================================== */
.btn {
    --bs-btn-focus-box-shadow: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: var(--r-pill);
    padding: .875rem 1.75rem;
    border: 1.5px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
                background-color .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    line-height: 1.4;
}
.btn:active { transform: translateY(1px); }

.btn-lg { font-size: 1.0625rem; padding: 1.0625rem 2.25rem; }
.btn-sm { font-size: .9375rem; padding: .6rem 1.25rem; }

.btn-primary,
.btn-primary:focus {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
}
.btn-primary:hover {
    background: #2C4838;
    border-color: #2C4838;
    color: var(--cream);
    box-shadow: 0 14px 30px rgba(34, 55, 43, .28);
    transform: translateY(-2px);
}

.btn-gold,
.btn-gold:focus {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--forest);
}
.btn-gold:hover {
    background: var(--gold-600);
    border-color: var(--gold-600);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(185, 151, 101, .38);
    transform: translateY(-2px);
}

.btn-outline-ink,
.btn-outline-ink:focus {
    background: transparent;
    border-color: var(--sand);
    color: var(--ink);
}
.btn-outline-ink:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
    transform: translateY(-2px);
}

/* Di atas foto hero: garis tepi terang dengan sedikit blur di belakangnya */
.btn-glass,
.btn-glass:focus {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .55);
    color: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--forest);
    transform: translateY(-2px);
}

/* Tombol WhatsApp memakai warna resmi WhatsApp supaya langsung dikenali */
.btn-wa,
.btn-wa:focus {
    background: #1FAF54;
    border-color: #1FAF54;
    color: var(--white);
}
.btn-wa:hover {
    background: #189946;
    border-color: #189946;
    color: var(--white);
    box-shadow: 0 14px 30px rgba(31, 175, 84, .34);
    transform: translateY(-2px);
}

/* Tautan bergaris bawah yang tumbuh saat disorot */
.link-underline {
    position: relative;
    font-weight: 600;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.link-underline::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.link-underline:hover { color: var(--gold-600); }
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }
.link-underline i { transition: transform .3s var(--ease); }
.link-underline:hover i { transform: translateX(4px); }

/* =====================================================================
   NAVBAR
   Transparan di atas hero, berubah jadi solid + blur setelah di-scroll.
   ===================================================================== */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
                border-color .4s var(--ease), height .4s var(--ease);
}
.site-nav.is-solid {
    background: rgba(250, 247, 242, .88);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
    height: 68px;
}

/* Halaman selain Home tidak punya hero gelap, jadi navbar langsung solid */
.site-nav.is-static {
    background: var(--cream);
    border-bottom-color: var(--line);
}

.site-nav .nav-logo { display: block; line-height: 0; }
.site-nav .nav-logo img { height: 46px; width: auto; transition: height .4s var(--ease); }
.site-nav.is-solid .nav-logo img { height: 42px; }

/* Dua versi logo ditumpuk; yang tampil ditentukan status navbar */
.logo-light { display: block; }
.logo-dark  { display: none; }
.site-nav.is-solid .logo-light,
.site-nav.is-static .logo-light { display: none; }
.site-nav.is-solid .logo-dark,
.site-nav.is-static .logo-dark { display: block; }

.nav-menu {
    display: none;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    position: relative;
    font-size: .9688rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: rgba(255, 255, 255, .92);
    padding: .35rem 0;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.site-nav.is-solid .nav-menu a,
.site-nav.is-static .nav-menu a { color: var(--ink); text-shadow: none; }

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-menu a.is-active { color: var(--gold); }
.site-nav.is-solid .nav-menu a.is-active,
.site-nav.is-static .nav-menu a.is-active { color: var(--gold-600); }

.nav-cta { display: none; }

/* Tombol hamburger */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .4s var(--ease);
}
.site-nav.is-solid .nav-toggle span,
.site-nav.is-static .nav-toggle span { background: var(--ink); }

body.nav-open .nav-toggle span { background: var(--ink); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panel menu layar kecil */
.nav-drawer {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 1029;
    background: var(--cream);
    padding: 2rem 1.5rem 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
}
body.nav-open .nav-drawer { transform: translateX(0); visibility: visible; }
body.nav-open { overflow: hidden; }

.nav-drawer ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.nav-drawer li + li { border-top: 1px solid var(--line); }
.nav-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem .25rem;
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--ink);
}
.nav-drawer a.is-active { color: var(--gold-600); }
.nav-drawer a i { color: var(--gold); font-size: .875rem; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--forest);
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s var(--ease);
}
.hero-slide.is-active { opacity: 1; }

.hero-slide img,
.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide aktif perlahan membesar - memberi kesan hidup tanpa video */
.hero-slide.is-active img { animation: heroZoom 12s var(--ease) forwards; }
@keyframes heroZoom {
    from { transform: scale(1.0); }
    to   { transform: scale(1.08); }
}

/* Gradasi ganda: dari bawah agar teks terbaca, dari atas agar navbar
   putih tetap kontras terhadap langit yang cerah. */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(15, 26, 20, .82) 0%, rgba(15, 26, 20, .38) 45%, rgba(15, 26, 20, .12) 70%),
        linear-gradient(to bottom, rgba(15, 26, 20, .45) 0%, rgba(15, 26, 20, 0) 32%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 7rem;
    color: rgba(255, 255, 255, .92);
    max-width: 780px;
}

.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }

.hero h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}

.hero-sub {
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, .88);
    max-width: 560px;
    margin-bottom: 2.25rem;
    text-shadow: 0 1px 16px rgba(0, 0, 0, .35);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; }

/* Animasi masuk bertahap untuk isi hero */
.hero-fade {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFade .9s var(--ease) forwards;
}
.hero-fade:nth-child(1) { animation-delay: .15s; }
.hero-fade:nth-child(2) { animation-delay: .3s; }
.hero-fade:nth-child(3) { animation-delay: .45s; }
.hero-fade:nth-child(4) { animation-delay: .6s; }
@keyframes heroFade {
    to { opacity: 1; transform: translateY(0); }
}

/* Titik navigasi slide */
.hero-dots {
    position: absolute;
    left: 0; right: 0;
    bottom: 2.25rem;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: .625rem;
}
.hero-dots button {
    width: 34px;
    height: 3px;
    border: 0;
    padding: 0;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .34);
    cursor: pointer;
    transition: background-color .3s var(--ease), width .3s var(--ease);
}
.hero-dots button.is-active { background: var(--gold); width: 52px; }

/* Indikator gulir */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 4.5rem;
    z-index: 3;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .7);
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
}
.hero-scroll .mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, .55);
    border-radius: var(--r-pill);
    position: relative;
}
.hero-scroll .mouse::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px; height: 7px;
    margin-left: -1.5px;
    border-radius: var(--r-pill);
    background: var(--gold);
    animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
    0%   { transform: translateY(0);    opacity: 1; }
    70%  { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 0; }
}

/* Hero versi ringkas untuk halaman selain Home */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero .lead { max-width: 640px; }

.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: .875rem;
    color: var(--muted);
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--gold-600); }
.crumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--sand); }
.crumb li[aria-current] { color: var(--ink); font-weight: 600; }

/* =====================================================================
   KARTU
   ===================================================================== */
.card-v {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card-v:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--beige);
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.card-v:hover .card-media img { transform: scale(1.07); }

.card-body-v { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body-v h3 { font-size: 1.3125rem; margin-bottom: .35rem; }

.card-lokasi {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9375rem;
    color: var(--muted);
    margin-bottom: 1rem;
}
.card-lokasi i { color: var(--gold); }

/* Baris ringkas kamar / kamar mandi / kapasitas */
.card-spek {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    padding: .875rem 0;
    margin-bottom: 1rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: .9375rem;
    color: var(--body);
}
.card-spek span { display: inline-flex; align-items: center; gap: .45rem; }
.card-spek i { color: var(--olive); width: 1rem; text-align: center; }

.card-harga { margin-top: auto; margin-bottom: 1.125rem; }
.card-harga .angka {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
}
.card-harga .satuan { font-size: .875rem; color: var(--muted); }
.card-harga .mulai {
    display: block;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: .1rem;
}

.card-aksi { display: flex; gap: .625rem; }
.card-aksi .btn { flex: 1; padding-inline: .875rem; }

/* Label sudut */
.badge-v {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .875rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--forest);
    box-shadow: var(--shadow-sm);
}
.badge-v.is-gold { background: var(--gold); color: var(--white); }

/* =====================================================================
   FASILITAS
   ===================================================================== */
.fitur {
    display: flex;
    gap: 1.125rem;
    padding: 1.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    height: 100%;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.fitur:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.fitur-ikon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--gold-soft);
    color: var(--gold-600);
    font-size: 1.25rem;
    transition: background-color .4s var(--ease), color .4s var(--ease);
}
.fitur:hover .fitur-ikon { background: var(--forest); color: var(--gold); }
.fitur h4 { font-size: 1.0625rem; margin-bottom: .25rem; }
.fitur p  { font-size: .9375rem; line-height: 1.65; color: var(--muted); margin: 0; }

/* Daftar fasilitas ringkas di halaman detail */
.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .875rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fasilitas-grid li {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .9688rem;
    color: var(--body);
}
.fasilitas-grid i {
    flex: 0 0 auto;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--emerald-soft);
    color: var(--emerald);
    font-size: .875rem;
}

/* Kelompok fasilitas per kategori (halaman Fasilitas) */
.kat-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.kat-head .ikon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: var(--r-sm);
    background: var(--forest);
    color: var(--gold);
    font-size: 1.125rem;
    flex: 0 0 auto;
}
.kat-head h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin: 0; }
.kat-head p  { font-size: .9375rem; color: var(--muted); margin: 0; }

/* =====================================================================
   GALERI MASONRY
   ===================================================================== */
.masonry { columns: 1; column-gap: 1rem; }
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    display: block;
    background: var(--beige);
    cursor: zoom-in;
}
.masonry-item img {
    width: 100%;
    display: block;
    transition: transform .8s var(--ease);
}
.masonry-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34, 55, 43, .55), rgba(34, 55, 43, 0) 55%);
    opacity: 0;
    transition: opacity .45s var(--ease);
}
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item:hover::after { opacity: 1; }

.masonry-cap {
    position: absolute;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 2;
    color: var(--white);
    font-size: .9375rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.masonry-item:hover .masonry-cap { opacity: 1; transform: translateY(0); }

/* Ikon kaca pembesar */
.masonry-item .zoom {
    position: absolute;
    top: 50%; left: 50%;
    z-index: 2;
    width: 52px; height: 52px;
    margin: -26px 0 0 -26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--forest);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.masonry-item:hover .zoom { opacity: 1; transform: scale(1); }

/* Galeri detail villa: satu foto besar + sisanya kecil */
.galeri-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}
.galeri-detail a {
    position: relative;
    display: block;
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--beige);
    cursor: zoom-in;
}
.galeri-detail a img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.galeri-detail a:hover img { transform: scale(1.06); }

.galeri-sisa {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(34, 55, 43, .68);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
}

/* =====================================================================
   TESTIMONI
   ===================================================================== */
.testi {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 2rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.testi-bintang { color: var(--gold); font-size: .9375rem; letter-spacing: .1em; }
.testi-teks {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--body);
    margin: 0;
    flex: 1;
}
.testi-orang { display: flex; align-items: center; gap: .875rem; }
.testi-orang img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}
.testi-orang .nama { font-weight: 700; color: var(--ink); line-height: 1.3; }
.testi-orang .asal { font-size: .875rem; color: var(--muted); }

/* Swiper: tinggi kartu disamakan dalam satu baris */
.swiper-slide { height: auto; }
.swiper-slide > .testi { height: 100%; }

.swiper-pagination-bullet {
    width: 8px; height: 8px;
    background: var(--sand);
    opacity: 1;
    transition: width .3s var(--ease), background-color .3s var(--ease);
}
.swiper-pagination-bullet-active { background: var(--gold); width: 26px; border-radius: var(--r-pill); }

/* =====================================================================
   STATISTIK / COUNTER
   ===================================================================== */
.stat { text-align: center; padding: 1rem .5rem; }
.stat .angka {
    display: block;
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.1;
    color: var(--gold);
}
.stat .label {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(250, 247, 242, .68);
}
.stat-divider { border-top: 1px solid rgba(250, 247, 242, .14); }

/* =====================================================================
   NEARBY
   ===================================================================== */
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.25rem;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--body);
    font-size: .9375rem;
    font-weight: 600;
    transition: all .3s var(--ease);
    white-space: nowrap;
}
.filter-pill:hover { border-color: var(--gold); color: var(--gold-600); }
.filter-pill.is-active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
}
.filter-pill i { font-size: .8125rem; }

.filter-bar {
    display: flex;
    gap: .625rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.jarak-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .75rem;
    border-radius: var(--r-pill);
    background: var(--forest-soft);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink);
}
.jarak-chip i { color: var(--olive); }

/* =====================================================================
   TABEL INFORMASI (detail villa)
   ===================================================================== */
.info-panel {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.75rem;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    font-size: .9688rem;
}
.info-list li + li { border-top: 1px solid var(--line); }
.info-list .k { color: var(--muted); }
.info-list .v { font-weight: 600; color: var(--ink); text-align: right; }

.rules-list { list-style: none; margin: 0; padding: 0; }
.rules-list li {
    position: relative;
    padding: .5rem 0 .5rem 1.875rem;
    font-size: .9688rem;
    color: var(--body);
}
.rules-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0; top: .55rem;
    color: var(--emerald);
    font-size: .8125rem;
}

/* Panel harga yang menempel saat digulir (desktop) */
.harga-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
}
.harga-box .angka {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.03em;
    line-height: 1.15;
}

/* =====================================================================
   FAQ (accordion)
   ===================================================================== */
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--white);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item:has(.faq-q[aria-expanded="true"]) {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--font);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}
.faq-q i { color: var(--gold); flex: 0 0 auto; transition: transform .35s var(--ease); }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-a { padding: 0 1.5rem 1.5rem; font-size: .9688rem; line-height: 1.8; }

/* =====================================================================
   CTA BESAR
   ===================================================================== */
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--forest);
    border-radius: var(--r-xl);
    padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 4rem);
    text-align: center;
}
.cta-band::before,
.cta-band::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
/* Dua lingkaran gradasi samar sebagai tekstur latar */
.cta-band::before {
    width: 420px; height: 420px;
    top: -180px; right: -120px;
    background: radial-gradient(circle, rgba(185, 151, 101, .28), transparent 68%);
}
.cta-band::after {
    width: 360px; height: 360px;
    bottom: -160px; left: -110px;
    background: radial-gradient(circle, rgba(47, 107, 84, .32), transparent 68%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-band p  { color: rgba(250, 247, 242, .78); max-width: 560px; margin: 0 auto 2rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: var(--forest);
    color: rgba(250, 247, 242, .68);
    padding: clamp(3.5rem, 7vw, 5rem) 0 0;
    font-size: .9688rem;
}
.site-footer h5 {
    color: var(--cream);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.site-footer a { color: rgba(250, 247, 242, .68); }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-logo img { height: 52px; width: auto; margin-bottom: 1.25rem; }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li + li { margin-top: .625rem; }

.footer-kontak li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    line-height: 1.6;
}
.footer-kontak i { color: var(--gold); margin-top: .3rem; flex: 0 0 auto; width: 1rem; }

.sosial-list { display: flex; gap: .625rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.sosial-list a {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(250, 247, 242, .18);
    color: rgba(250, 247, 242, .78);
    transition: all .3s var(--ease);
}
.sosial-list a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--forest);
    transform: translateY(-3px);
}

.footer-bawah {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(250, 247, 242, .12);
    font-size: .875rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

/* =====================================================================
   TOMBOL MENGAMBANG
   ===================================================================== */
.fab-wa {
    position: fixed;
    right: 1.125rem;
    bottom: 1.125rem;
    z-index: 1020;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #1FAF54;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(31, 175, 84, .42);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fab-wa:hover {
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 14px 38px rgba(31, 175, 84, .55);
}

/* Denyut halus untuk menarik perhatian tanpa mengganggu */
.fab-wa::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #1FAF54;
    animation: fabPulse 2.6s var(--ease) infinite;
}
@keyframes fabPulse {
    0%   { transform: scale(1);    opacity: .7; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

.to-top {
    position: fixed;
    right: 1.125rem;
    bottom: 5.25rem;
    z-index: 1019;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--forest);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .35s var(--ease);
    cursor: pointer;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--forest); color: var(--gold); border-color: var(--forest); }

/* Batang WhatsApp menempel di bawah pada halaman detail villa (mobile) */
.sticky-wa {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1021;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
    background: rgba(250, 247, 242, .96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(34, 55, 43, .08);
    transform: translateY(100%);
    transition: transform .4s var(--ease);
}
.sticky-wa.is-show { transform: translateY(0); }
.sticky-wa .harga { flex: 1; min-width: 0; line-height: 1.25; }
.sticky-wa .harga .mulai { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sticky-wa .harga .angka { font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.sticky-wa .btn { flex: 0 0 auto; }

/* Saat batang WhatsApp aktif, tombol mengambang dinaikkan agar tidak
   saling menutupi di layar kecil. */
body.has-sticky-wa .fab-wa  { bottom: 5.5rem; }
body.has-sticky-wa .to-top  { bottom: 9.75rem; }

/* =====================================================================
   FORMULIR
   ===================================================================== */
.form-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .5rem;
    letter-spacing: .01em;
}
.form-control,
.form-select {
    font-family: var(--font);
    font-size: 1rem;
    padding: .8125rem 1.125rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background-color: var(--white);
    color: var(--ink);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-control::placeholder { color: #B6B2A6; }
.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-soft);
    background-color: var(--white);
    color: var(--ink);
}
textarea.form-control { min-height: 140px; resize: vertical; }

/* Kolom perangkap bot: tidak terlihat, tapi tetap dapat dibaca
   pembaca layar sehingga pengguna tunanetra tidak salah mengisinya. */
.hp-field {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.alert {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    font-size: .9688rem;
}
.alert-success { background: var(--emerald-soft); border-color: rgba(47, 107, 84, .28); color: #1F4C3B; }
.alert-danger  { background: rgba(180, 60, 50, .08); border-color: rgba(180, 60, 50, .25); color: #8E2E26; }

/* =====================================================================
   PETA & KONTAK
   ===================================================================== */
.map-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--beige);
    line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

.kontak-item {
    display: flex;
    gap: 1.125rem;
    padding: 1.5rem 0;
}
.kontak-item + .kontak-item { border-top: 1px solid var(--line); }
.kontak-item .ikon {
    flex: 0 0 auto;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: var(--r-sm);
    background: var(--gold-soft);
    color: var(--gold-600);
    font-size: 1.0625rem;
}
.kontak-item h4 { font-size: 1rem; margin-bottom: .2rem; }
.kontak-item p  { margin: 0; font-size: .9688rem; }

/* =====================================================================
   KONTEN DARI EDITOR
   ===================================================================== */
.konten { font-size: 1.0625rem; line-height: 1.85; }
.konten h2 { font-size: 1.625rem; margin-top: 2.25rem; }
.konten h3 { font-size: 1.3125rem; margin-top: 2rem; }
.konten ul, .konten ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.konten li { margin-bottom: .5rem; }
.konten ul { list-style: none; padding-left: 0; }
.konten ul li {
    position: relative;
    padding-left: 1.75rem;
}
.konten ul li::before {
    content: "";
    position: absolute;
    left: .35rem; top: .8em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}
.konten blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--gold);
    background: var(--cream);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-style: italic;
    color: var(--ink);
}

/* =====================================================================
   GAMBAR & MUAT MALAS
   ===================================================================== */
/* Latar lembut selagi gambar belum termuat, supaya tidak berkedip putih */
.img-holder { background: var(--beige); }

img[loading="lazy"] {
    opacity: 0;
    transition: opacity .6s var(--ease);
}
img[loading="lazy"].is-loaded,
img[loading="lazy"][data-loaded] { opacity: 1; }

/* Kerangka konten saat memuat */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--beige);
}
.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    animation: shimmer 1.6s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* =====================================================================
   LAYAR PEMBUKA
   ===================================================================== */
#loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    background: var(--cream);
    transition: opacity .5s var(--ease), visibility .5s;
}
#loader.is-done { opacity: 0; visibility: hidden; }
#loader .mark {
    width: 54px; height: 54px;
    border: 2px solid var(--sand);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   PAGINASI
   ===================================================================== */
.pagination-v { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; list-style: none; padding: 0; margin: 3rem 0 0; }
.pagination-v a,
.pagination-v span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .75rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--body);
    transition: all .25s var(--ease);
}
.pagination-v a:hover { border-color: var(--gold); color: var(--gold-600); }
.pagination-v .is-active span { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.pagination-v .is-disabled span { opacity: .4; }

/* =====================================================================
   HALAMAN GALAT
   ===================================================================== */
.error-page {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background: var(--cream);
    text-align: center;
}
.error-kode {
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--forest);
    opacity: .12;
    margin-bottom: -.35em;
}

/* =====================================================================
   ANIMASI SAAT DIGULIR (AOS)
   ===================================================================== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Hormati preferensi sistem: pengguna yang meminta gerakan minimal
   sering melakukannya karena animasi memicu pusing atau mual. Semua
   animasi dekoratif dimatikan, bukan sekadar dipercepat. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-slide.is-active img { animation: none; transform: none; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   BREAKPOINT (mobile first)
   ===================================================================== */

/* >= 576px */
@media (min-width: 576px) {
    .masonry { columns: 2; }
    .galeri-detail { grid-template-columns: repeat(2, 1fr); }
    .footer-bawah { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* >= 768px */
@media (min-width: 768px) {
    .hero-scroll { display: flex; }
    .card-body-v { padding: 1.75rem; }
    .testi { padding: 2.25rem; }
    .info-panel, .harga-box { padding: 2rem; }
    .map-frame iframe { height: 440px; }
}

/* >= 992px : menu penuh, drawer tidak dipakai lagi */
@media (min-width: 992px) {
    .nav-menu   { display: flex; }
    .nav-cta    { display: inline-flex; }
    .nav-toggle { display: none; }
    .nav-drawer { display: none; }

    .masonry { columns: 3; column-gap: 1.25rem; }
    .masonry-item { margin-bottom: 1.25rem; }

    /* Foto pertama mengisi dua kolom & dua baris */
    .galeri-detail { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
    .galeri-detail a:first-child { grid-column: span 2; grid-row: span 2; }

    .harga-box { position: sticky; top: calc(var(--nav-h) + 24px); }

    /* Di layar besar batang WhatsApp tidak diperlukan: tombolnya sudah
       terlihat di panel harga yang menempel. */
    .sticky-wa { display: none; }
    body.has-sticky-wa .fab-wa { bottom: 1.125rem; }
    body.has-sticky-wa .to-top { bottom: 5.25rem; }

    .fab-wa { right: 1.75rem; bottom: 1.75rem; width: 60px; height: 60px; }
    .to-top { right: 1.75rem; bottom: 6.25rem; }
}

/* >= 1200px */
@media (min-width: 1200px) {
    .hero-inner { max-width: 820px; }
    .fasilitas-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}


/* =====================================================================
   KETERSEDIAAN - kalender & kartu
   Dirender di server sebagai tabel biasa, jadi seluruh gayanya di sini.
   ===================================================================== */
.kal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }

.kal-wrap {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .kal-wrap { grid-template-columns: 1fr 1fr; }
}

.kal {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1rem 1.25rem;
}
.kal-judul {
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    margin-bottom: .75rem;
}
.kal-tabel { width: 100%; border-collapse: collapse; table-layout: fixed; }
.kal-tabel th {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    padding-bottom: .5rem;
    text-align: center;
}
.kal-tabel td {
    height: 46px;
    vertical-align: top;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 4px 2px;
}
.kal-kosong { border-color: transparent; }
.kal-angka { display: block; font-size: .82rem; color: var(--ink); }
.kal-label { display: block; font-size: .62rem; font-weight: 600; line-height: 1.2; margin-top: 2px; }

.kal-tersedia { background: var(--white); }
.kal-terbatas { background: rgba(185, 151, 101, .28); }
.kal-terbatas .kal-label { color: var(--gold-600); }
.kal-terisi,
.kal-penuh    { background: rgba(160, 60, 50, .12); }
.kal-terisi .kal-angka,
.kal-penuh .kal-angka { color: #9B3B32; text-decoration: line-through; }
.kal-terisi .kal-label,
.kal-penuh .kal-label { color: #9B3B32; }

.kal-lampau { opacity: .45; }
.kal-kini { outline: 2px solid var(--gold); outline-offset: -2px; }

.kal-legenda {
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    list-style: none; padding: 0; margin: 1.25rem 0 0;
    font-size: .82rem; color: var(--body);
}
.kal-titik {
    display: inline-block; width: 12px; height: 12px;
    border: 1px solid var(--line); border-radius: 4px;
    margin-right: .4rem; vertical-align: -2px;
}

.kal-catatan {
    background: var(--beige);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    padding: .9rem 1.1rem;
    color: var(--body);
    font-size: .92rem;
}

.kal-hasil {
    border-radius: 10px;
    padding: .85rem 1rem;
    font-size: .92rem;
}
.kal-hasil-ada   { background: var(--emerald-soft); color: var(--emerald); }
.kal-hasil-penuh { background: rgba(160, 60, 50, .10); color: #9B3B32; }
.kal-hasil-galat { background: var(--beige); color: var(--body); }
.kal-unit-list { padding-left: 1.1rem; font-size: .85rem; }

.kal-kartu {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.kal-kartu img { width: 100%; height: 190px; object-fit: cover; display: block; }
.kal-kartu-isi { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.kal-kartu-polos { background: var(--white); }

.kal-badge {
    display: inline-block;
    font-size: .72rem; font-weight: 600;
    padding: .25rem .6rem; border-radius: 999px;
}
.kal-badge-hijau { background: var(--emerald-soft); color: var(--emerald); }
.kal-badge-merah { background: rgba(160, 60, 50, .12); color: #9B3B32; }
.kal-badge-abu   { background: var(--forest-soft); color: var(--body); }
