/* ============================================================
   MUBU - mubuspace.com
   Sistem CSS tunggal. Tanpa framework, tanpa JavaScript.

   Susunannya:
     1.  Variabel (token desain)  <- ganti warna/radius di sini saja
     2.  Reset & dasar
     3.  Tipografi
     4.  Tata letak (wrap, section, grid)
     5.  Tombol
     6.  Kartu & panel
     7.  Navbar
     8.  Komponen halaman
     9.  Harga
     10. FAQ / akordeon
     11. Form
     12. Footer & tombol tema
     13. Konten artikel
     14. Utilitas kecil
     15. Responsif
   ============================================================ */


/* ============================================================
   1. VARIABEL
   ============================================================ */
:root {
    /* --- Warna brand (sama di kedua tema) --- */
    --brand-50:  #fff7ed;
    --brand-100: #ffedd5;
    --brand-300: #fdba74;
    --brand-400: #fb923c;
    --brand:     #f97316;
    --brand-600: #ea580c;
    --brand-700: #c2410c;

    /* --- Permukaan & teks: TEMA TERANG --- */
    --bg:          #f8fafc;
    --bg-alt:      #ffffff;
    --surface:     #ffffff;
    --surface-2:   #f1f5f9;
    --surface-3:   #e2e8f0;
    --border:      #e6eaf0;
    --border-soft: #f1f5f9;

    --heading:   #0f172a;
    --text:      #475569;
    --text-mute: #64748b;
    --text-soft: #5f6b7f;

    --accent:      var(--brand-600);   /* aksen teks/ikon */
    --btn-bg:      var(--brand-600);
    --btn-fg:      #ffffff;
    --invert-bg:   #0f172a;            /* kartu gelap di tema terang */
    --invert-fg:   #ffffff;
    --invert-mute: #cbd5e1;

    --ring: rgba(249, 115, 22, .35);

    /* --- Bayangan: sengaja tipis --- */
    --shadow-card: 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-pop:  0 8px 24px -12px rgba(15, 23, 42, .18);
    --shadow-cta:  0 6px 20px -10px rgba(234, 88, 12, .55);

    /* --- Cahaya latar oranye --- */
    --glow: rgba(249, 115, 22, .09);
    --glow-blend: normal;

    /* --- Bentuk --- */
    --r-sm:  .5rem;
    --r:     .875rem;
    --r-md:  1rem;
    --r-lg:  1.25rem;
    --r-xl:  1.75rem;
    --r-full: 999px;

    /* --- Huruf --- */
    --font-heading: 'Google Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* --- Lebar isi --- */
    --wrap:        72rem;
    --wrap-mid:    64rem;
    --wrap-narrow: 48rem;
    --gutter:      1rem;

    --nav-h: 4.5rem;
}

/* --- Permukaan & teks: TEMA GELAP --- */
.dark {
    --bg:          #09090b;
    --bg-alt:      #0d0d10;
    --surface:     #131316;
    --surface-2:   #18181b;
    --surface-3:   #27272a;
    --border:      rgba(255, 255, 255, .08);
    --border-soft: rgba(255, 255, 255, .05);

    --heading:   #ffffff;
    --text:      #a1a1aa;
    --text-mute: #a1a1aa;
    --text-soft: #8e8e98;

    --accent:      var(--brand);
    --btn-bg:      var(--brand);
    --btn-fg:      #09090b;
    --invert-bg:   #18181b;
    --invert-fg:   #ffffff;
    --invert-mute: #d4d4d8;

    --shadow-card: none;
    --shadow-pop:  0 8px 28px -16px rgba(0, 0, 0, .8);
    --shadow-cta:  0 0 32px -12px rgba(249, 115, 22, .5);

    --glow: rgba(249, 115, 22, .16);
    --glow-blend: screen;
}


/* ============================================================
   2. RESET & DASAR
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color .25s ease, color .25s ease;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(249, 115, 22, .22); color: var(--heading); }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

/* Scrollbar */
::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }


/* ============================================================
   3. TIPOGRAFI
   ============================================================ */
h1, h2, h3, h4, .display {
    font-family: var(--font-heading);
    color: var(--heading);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .75rem;
    font-weight: 700;
}

.display   { font-size: clamp(2.25rem, 4.2vw + 1rem, 4.25rem); letter-spacing: -.035em; }
h1, .h1    { font-size: clamp(2rem, 2.6vw + 1rem, 3rem); }
h2, .h2    { font-size: clamp(1.625rem, 1.6vw + 1rem, 2.25rem); }
h3, .h3    { font-size: 1.25rem; }
h4, .h4    { font-size: 1.0625rem; }

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

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}

.lead {
    font-size: 1.0625rem;
    color: var(--text-mute);
    line-height: 1.75;
}

.display + .lead,
h1 + .lead { font-size: clamp(1.0625rem, .5vw + 1rem, 1.25rem); }

.accent { color: var(--accent); font-weight: 500; }
.muted  { color: var(--text-mute); }
.soft   { color: var(--text-soft); }
.tc     { text-align: center; }

/* Judul dengan gradien oranye */
.grad {
    background-image: linear-gradient(92deg, var(--brand-600), var(--brand-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.dark .grad { background-image: linear-gradient(92deg, var(--brand), var(--brand-400)); }


/* ============================================================
   4. TATA LETAK
   ============================================================ */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.wrap--mid    { max-width: var(--wrap-mid); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section {
    padding-block: 4.5rem;
    position: relative;
}
.section--tight { padding-block: 3.5rem; }
.section--alt   { background: var(--bg-alt); border-block: 1px solid var(--border-soft); }
.section--line  { border-top: 1px solid var(--border-soft); }

/* Kepala section */
.section-head {
    max-width: 42rem;
    margin: 0 auto 3rem;
    text-align: center;
}
.section-head p { color: var(--text-mute); }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* Cahaya latar oranye di belakang hero/form */
.glow {
    position: absolute;
    left: 50%;
    top: 40%;
    translate: -50% -50%;
    width: min(46rem, 100%);
    height: 24rem;
    background: var(--glow);
    filter: blur(110px);
    mix-blend-mode: var(--glow-blend);
    border-radius: var(--r-full);
    pointer-events: none;
    z-index: 0;
}
.section > .wrap { position: relative; z-index: 1; }


/* ============================================================
   5. TOMBOL
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; }

.btn--primary {
    background: var(--btn-bg);
    color: var(--btn-fg);
    box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--brand); }
.dark .btn--primary:hover { background: var(--brand-400); }

/* Tombol utama di situs publik: efek 3D ala tombol iOS.
   Gradasi terang di atas -> gelap di bawah, garis kilap tipis di tepi atas,
   bayangan dalam di bawah, dan pendar lembut. Saat ditekan, tombol "masuk".
   Admin (html[data-theme-key]) tetap memakai tombol datar.               */
html:not([data-theme-key]) .btn--primary {
    /* Kilap lembut memudar dari atas (bukan garis), di atas warna dasar */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 60%),
        #f97316;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px -8px rgba(249, 115, 22, .6);
    transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
html:not([data-theme-key]) .btn--primary:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 60%),
        #f97316;
    filter: brightness(1.05);
    box-shadow: 0 10px 24px -8px rgba(249, 115, 22, .7);
}
html:not([data-theme-key]) .btn--primary:active {
    transform: translateY(1px);
    filter: brightness(.98);
    box-shadow: 0 3px 10px -6px rgba(249, 115, 22, .5);
}

.btn--soft {
    background: var(--surface-2);
    color: var(--heading);
    border-color: var(--border);
}
.btn--soft:hover { background: var(--surface-3); }

.btn--ghost {
    background: transparent;
    color: var(--heading);
    border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface-2); }

.btn--lg    { padding: .95rem 1.9rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* Sedang memproses: putaran kecil + teks, tombol tidak bisa diklik lagi */
.btn.memuat { cursor: progress; opacity: .92; transform: none; pointer-events: none; }
.btn.memuat svg { display: none; }
.putar {
    width: 1.1em;
    height: 1.1em;
    flex: none;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: putar .7s linear infinite;
}
.putar--besar { width: 2.25rem; height: 2.25rem; border-width: 3px; }
.titik-titik::after {
    content: '';
    display: inline-block;
    width: 1.2em;
    text-align: left;
    animation: titik 1.2s steps(4, end) infinite;
}
@keyframes putar { to { transform: rotate(360deg); } }
@keyframes titik { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75%, 100% { content: '...'; } }
@media (prefers-reduced-motion: reduce) {
    .putar { animation-duration: 1.6s; }
}


/* ============================================================
   6. KARTU & PANEL
   ============================================================ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-card);
    transition: background-color .25s ease, border-color .25s ease;
}
.card--pad  { padding: 1.75rem; }
.card--flat { box-shadow: none; }

.card--hover:hover { border-color: var(--surface-3); background: var(--bg-alt); }
.dark .card--hover:hover { background: var(--surface-2); }

/* Label kecil berbingkai (badge di hero) */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--surface);
    font-size: .8125rem;
    font-weight: 500;
    color: var(--accent);
}
.pill .dot {
    width: .5rem; height: .5rem;
    border-radius: var(--r-full);
    background: var(--brand);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

/* Kotak ikon di kartu fitur */
.icon-box {
    width: 2.75rem; height: 2.75rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-md);
    background: var(--surface-2);
    color: var(--accent);
    margin-bottom: 1.25rem;
    transition: background-color .2s ease, color .2s ease;
}
.icon-box svg { width: 1.375rem; height: 1.375rem; }
.card--hover:hover .icon-box { background: var(--brand-50); color: var(--brand-600); }
.dark .card--hover:hover .icon-box { background: rgba(249, 115, 22, .12); color: var(--brand); }

/* Deretan angka statistik */
.stats { display: grid; gap: 1.5rem; text-align: center; }
.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--heading);
    line-height: 1.1;
    margin-bottom: .5rem;
}
.stat-lbl { font-size: .875rem; color: var(--text-soft); }

/* Daftar bercentang */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; }
.checks svg { width: 1.125rem; height: 1.125rem; flex: none; color: var(--brand); margin-top: .18rem; }

/* Baris kepercayaan di hero */
.trust {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .5rem 1.5rem;
    font-size: .9375rem; font-weight: 500; color: var(--text-mute);
}
.trust > div { display: flex; align-items: center; gap: .5rem; }
.trust .tick {
    width: 1.25rem; height: 1.25rem; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-full);
    background: rgba(249, 115, 22, .13);
    color: var(--accent);
}
.trust .tick svg { width: .75rem; height: .75rem; }

/* Catatan kecil di bawah tombol */
.microcopy {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .25rem .75rem;
    font-size: .875rem; color: var(--text-soft);
}
.microcopy > span { display: inline-flex; align-items: center; gap: .4rem; }
.microcopy svg { width: 1rem; height: 1rem; flex: none; }

/* Panel ajakan (CTA) */
.cta-panel {
    display: flex; flex-direction: column; align-items: center;
    gap: 1.5rem; text-align: center;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: linear-gradient(100deg, rgba(249, 115, 22, .08), transparent 70%), var(--surface);
}
.cta-panel h3 { margin-bottom: .35rem; }
.cta-panel p  { color: var(--accent); margin: 0; }


/* ============================================================
   7. NAVBAR
   ============================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}
/* Cadangan untuk browser lawas yang belum kenal color-mix */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .nav { background: var(--bg); }
}

.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-h);
    gap: 1rem;
}

.brand {
    display: inline-flex; align-items: center; gap: .625rem;
    font-family: var(--font-heading);
    font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em;
    color: var(--heading);
    flex: none;
}
.brand-mark {
    width: 2.25rem; height: 2.25rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r);
    background: var(--invert-bg);
    color: var(--invert-fg);
    font-weight: 800; font-size: 1.05rem;
}
.dark .brand-mark { background: var(--brand); color: #09090b; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

/* Logo yang diunggah dari admin: tinggi dikunci, lebar mengikuti proporsi */
.brand-logo { height: 2.25rem; width: auto; max-width: 11rem; object-fit: contain; }
.footer .brand-logo { height: 2rem; }

.nav-links { display: none; align-items: center; gap: 1.75rem; }
.nav-link {
    font-size: .875rem; font-weight: 500; color: var(--text-mute);
    transition: color .18s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem;
    background: none; border: 0; border-radius: var(--r-sm);
    color: var(--text-mute); cursor: pointer;
}
.nav-burger:hover { background: var(--surface-2); }
.nav-burger svg { width: 1.5rem; height: 1.5rem; }

.nav-mobile {
    display: none;
    border-top: 1px solid var(--border-soft);
    background: var(--bg);
    padding: .75rem var(--gutter) 1rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
    display: block;
    padding: .75rem .5rem;
    border-radius: var(--r-sm);
    font-size: 1rem; font-weight: 500; color: var(--heading);
}
.nav-mobile a:hover { background: var(--surface-2); color: var(--accent); }
.nav-mobile .btn {
    display: flex;
    justify-content: center;
    margin-top: .75rem;
    padding: .8rem 1.35rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
}
.nav-mobile .btn:hover { color: #fff; }


/* ============================================================
   8. KOMPONEN HALAMAN
   ============================================================ */
.hero {
    padding-top: calc(var(--nav-h) + 3.5rem);
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .lead { margin-inline: auto; max-width: 40rem; }

.hero-actions {
    display: flex; flex-direction: column; align-items: center;
    gap: .75rem;
    margin-block: 2rem 1rem;
}
.hero-buttons { display: flex; flex-direction: column; gap: .75rem; width: 100%; }

/* Bingkai ilustrasi/mockup */
.figure {
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
}
.figure--plain { box-shadow: none; }
.figure svg, .figure img { width: 100%; display: block; }

.figure-cap {
    display: flex; align-items: center; justify-content: space-between;
    gap: .5rem;
    padding: .875rem 1.125rem;
    border-top: 1px solid var(--border-soft);
    font-size: .875rem; font-weight: 600; color: var(--heading);
}
.figure-cap span:last-child { color: var(--text-soft); font-weight: 400; font-size: .8125rem; }

/* Kartu portfolio */
.tile {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--surface);
    transition: border-color .2s ease, transform .25s ease;
}
.tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.tile-body {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-soft);
}
.tile-body h4 { margin: 0; font-size: 1rem; }
.tile-body svg { width: 1rem; height: 1rem; color: var(--brand); opacity: 0; transition: opacity .2s ease, translate .2s ease; translate: -4px 0; }
.tile:hover .tile-body svg { opacity: 1; translate: 0 0; }

/* Langkah proses */
.steps { display: grid; gap: 2rem; text-align: center; position: relative; }
.step-num {
    width: 3.25rem; height: 3.25rem; margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    background: var(--surface);
    font-family: var(--font-heading);
    font-size: 1.125rem; font-weight: 700;
    color: var(--accent);
}
.step--done .step-num {
    background: var(--brand); border-color: var(--brand); color: #09090b;
}
.steps h4 { margin-bottom: .5rem; }
.steps p  { font-size: .9375rem; color: var(--text-mute); }


/* ============================================================
   9. HARGA
   ============================================================ */
.prices { display: grid; gap: 1.25rem; align-items: stretch; }

.price {
    display: flex; flex-direction: column;
    position: relative;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

/* Kartu unggulan: menonjol lewat warna & border, bukan lewat tinggi */
.price--top {
    background: var(--invert-bg);
    border-color: var(--invert-bg);
}
.dark .price--top { border-color: rgba(249, 115, 22, .45); }

.price--top h3,
.price--top .price-num { color: var(--invert-fg); }
.price--top .price-desc { color: var(--invert-mute); }
.price--top .price-note { color: rgba(255, 255, 255, .45); }
.price--top .checks li  { color: var(--invert-mute); }
.price--top .checks svg { color: var(--brand-400); }
.price--top .checks li.is-key { color: #fff; font-weight: 600; }

/* Badge "Paling Diminati": di DALAM kartu, jadi tidak pernah kepotong */
.price-tag {
    align-self: flex-start;
    display: inline-block;
    padding: .3rem .7rem;
    margin-bottom: .9rem;
    border-radius: var(--r-full);
    background: var(--brand);
    color: #09090b;
    font-size: .6875rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
}

.price h3 { margin-bottom: .35rem; }

/* Tinggi deskripsi disamakan supaya harga ketiga kartu sejajar */
.price-desc {
    font-size: .875rem;
    color: var(--text-mute);
    margin-bottom: 1.25rem;
    min-height: 3.75rem;
}
.price-amount { margin-bottom: 1.5rem; }
.price-pre  { display: block; font-size: .875rem; color: var(--text-mute); }
.price-num  { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 700; color: var(--heading); }
.price-note { display: block; font-size: .8125rem; color: var(--text-soft); margin-top: .25rem; }

.price .checks { margin-bottom: 1.75rem; }
.price .btn    { margin-top: auto; }

/* Ruang kosong penyeimbang, supaya tombol ketiga kartu sejajar */
.price-spacer { flex: 1 1 auto; }


/* ============================================================
   10. FAQ / AKORDEON
   ============================================================ */
.faq { display: grid; gap: .75rem; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: none; border: 0;
    text-align: left; cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem; font-weight: 600; color: var(--heading);
}
.faq-btn:hover { background: var(--surface-2); }
.faq-btn svg {
    width: 1.125rem; height: 1.125rem; flex: none;
    color: var(--brand);
    transition: rotate .25s ease;
}
.faq-btn[aria-expanded="true"] svg { rotate: 180deg; }

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s ease;
    border-top: 1px solid transparent;
}
.faq-panel.open {
    grid-template-rows: 1fr;
    border-top-color: var(--border-soft);
}
.faq-panel > div { overflow: hidden; }
.faq-panel p {
    padding: 1rem 1.25rem 1.25rem;
    margin: 0;
    font-size: .9375rem;
    color: var(--text-mute);
}


/* ============================================================
   11. FORM
   ============================================================ */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.125rem; }
.form > * { min-width: 0; }
.form .btn { white-space: normal; text-align: center; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.125rem; }
/* Isi kolom (misal teks paket yang panjang di dropdown) tidak boleh
   melebarkan form melewati kartunya di HP */
.form-row > *, .field { min-width: 0; }
.pilih-tombol { width: 100%; min-width: 0; }
.pilih-tombol .pilih-teks { flex: 1 1 auto; min-width: 0; }

.field label {
    display: block;
    margin-bottom: .45rem;
    font-size: .875rem; font-weight: 500;
    color: var(--heading);
}
.field .opt { color: var(--text-soft); font-weight: 400; }
.field .req { color: var(--brand); }

.input, .select, .textarea {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg);
    color: var(--heading);
    font: inherit;
    font-size: .9375rem;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.dark .input, .dark .select, .dark .textarea { background: rgba(0, 0, 0, .25); }

.input::placeholder, .textarea::placeholder { color: var(--text-soft); }

.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--ring);
}

.textarea { resize: vertical; min-height: 6rem; }
.select {
    appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2394a3b8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    background-size: 1.125rem;
}

.check-row { display: flex; align-items: flex-start; gap: .65rem; }
.check-row input {
    width: 1rem; height: 1rem; margin-top: .22rem; flex: none;
    accent-color: var(--brand); cursor: pointer;
}
.check-row label { font-size: .8125rem; color: var(--text-mute); cursor: pointer; }

.form-note {
    display: flex; align-items: flex-start; justify-content: center;
    gap: .45rem;
    font-size: .75rem; color: var(--text-soft); text-align: center;
}
.form-note svg { width: .9rem; height: .9rem; flex: none; margin-top: .2rem; color: #22c55e; }

/* Kotak pesan (sukses / error) */
.alert {
    padding: .85rem 1.1rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    font-size: .875rem;
}
.alert--ok  { background: rgba(34, 197, 94, .1);  border-color: rgba(34, 197, 94, .3);  color: #16a34a; }
.alert--err { background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .3);  color: #dc2626; }
.dark .alert--ok  { color: #4ade80; }
.dark .alert--err { color: #f87171; }


/* ============================================================
   12. FOOTER & TOMBOL TEMA
   ============================================================ */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-soft);
    padding-block: 3.5rem 2rem;
}
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.footer h4 { font-size: .9375rem; margin-bottom: .9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer a  { font-size: .875rem; color: var(--text-mute); transition: color .18s ease; }
.footer a:hover { color: var(--accent); }
.footer-about p { font-size: .875rem; color: var(--text-mute); max-width: 24rem; }
/* Kontak: tepat di bawah tagline */
.footer .footer-kontak {
    display: grid;
    gap: .5rem;
    margin-top: 1.1rem;
}
.footer-kontak li { display: flex; align-items: center; gap: .55rem; }
.footer-kontak svg { width: 1rem; height: 1rem; flex: none; color: var(--accent); }

/* Ikon sosmed */
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.social-ico {
    width: 2.25rem; height: 2.25rem;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text-mute);
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.social-ico:hover {
    color: var(--accent);
    border-color: var(--brand);
    background: var(--surface-2);
}
.social-ico svg,
.social-ico img { width: 1.05rem; height: 1.05rem; object-fit: contain; }

/* Susunan footer halaman iklan: identitas kiri, legal kanan */
.footer-ads {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer-legal { align-self: start; }

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: 1.5rem;
    display: flex; flex-direction: column; align-items: center;
    gap: 1rem;
    font-size: .8125rem; color: var(--text-soft);
    text-align: center;
}

/* Tombol ganti tema: sekarang tinggal di footer */
.theme-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem .85rem;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--surface);
    color: var(--text-mute);
    font-size: .8125rem; font-weight: 500;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--brand); }
.theme-toggle svg { width: 1rem; height: 1rem; flex: none; }

.theme-toggle .i-sun,
.theme-toggle .t-light { display: none; }
.dark .theme-toggle .i-sun,
.dark .theme-toggle .t-light { display: inline-flex; }
.dark .theme-toggle .i-moon,
.dark .theme-toggle .t-dark { display: none; }

/* Tombol CTA menempel di bawah (khusus halaman iklan, tampil di HP) */
.sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 45;
    padding: .75rem var(--gutter);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
}
.sticky-spacer { height: 5rem; }


/* ============================================================
   13. KONTEN ARTIKEL (blog & halaman statis)
   ============================================================ */
.konten { font-size: 1.0625rem; line-height: 1.8; color: var(--text); }
.konten h2 { font-size: 1.5rem;   margin: 2.25rem 0 .75rem; }
.konten h3 { font-size: 1.25rem;  margin: 2rem 0 .65rem; }
.konten h4 { font-size: 1.0625rem; margin: 1.75rem 0 .5rem; }
.konten p, .konten ul, .konten ol { margin-bottom: 1.15rem; }
.konten ul { list-style: disc;    padding-left: 1.4rem; }
.konten ol { list-style: decimal; padding-left: 1.4rem; }
.konten li { margin-bottom: .4rem; }
.konten a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.konten a:hover { color: var(--brand-700); }
.konten img { border-radius: var(--r-lg); margin: 1.5rem 0; }
.konten strong { color: var(--heading); font-weight: 600; }
.konten blockquote {
    margin: 1.5rem 0;
    padding: .25rem 0 .25rem 1.25rem;
    border-left: 3px solid var(--brand);
    color: var(--text-mute);
    font-style: italic;
}
.konten table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem; }
.konten th, .konten td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }
.konten th { background: var(--surface-2); font-weight: 600; color: var(--heading); }


/* ============================================================
   14. UTILITAS KECIL
   ============================================================ */
.mt-0 { margin-top: 0 }       .mb-0 { margin-bottom: 0 }
.mt-1 { margin-top: .5rem }   .mb-1 { margin-bottom: .5rem }
.mt-2 { margin-top: 1rem }    .mb-2 { margin-bottom: 1rem }
.mt-3 { margin-top: 1.5rem }  .mb-3 { margin-bottom: 1.5rem }
.mt-4 { margin-top: 2.5rem }  .mb-4 { margin-bottom: 2.5rem }

.only-desktop { display: none; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* ============================================================
   15. RESPONSIF
   ============================================================ */
@media (min-width: 480px) {
    .hero-buttons { flex-direction: row; justify-content: center; width: auto; }
}

@media (min-width: 640px) {
    :root { --gutter: 1.5rem; }
    .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(3, 1fr); }
    .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
    .cta-panel { flex-direction: row; justify-content: space-between; text-align: left; padding: 2.25rem 2.5rem; }
}

@media (min-width: 768px) {
    .section { padding-block: 6rem; }
    .section--tight { padding-block: 4rem; }
    .hero { padding-top: calc(var(--nav-h) + 5rem); padding-bottom: 5.5rem; }
    .grid--3, .steps { grid-template-columns: repeat(3, 1fr); }
    .prices { grid-template-columns: repeat(3, 1fr); }
    .card--pad, .price { padding: 2rem; }

    /* Sisakan ruang setinggi badge, supaya judul ketiga paket sejajar */
    .price:not(.price--top)::before { content: ''; display: block; height: 2.325rem; }
    .sticky-cta, .sticky-spacer { display: none; }

    /* Garis penghubung antar langkah proses */
    .steps::before {
        content: '';
        position: absolute;
        top: 1.6rem; left: 16%; right: 16%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border), transparent);
    }
    .steps > * { position: relative; }
}

@media (min-width: 1024px) {
    :root { --gutter: 2rem; }
    .nav-links { display: flex; }
    .nav-burger, .nav-mobile { display: none !important; }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .only-desktop { display: block; }
}

/* Hormati pengguna yang mematikan animasi */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ============================================================
   16. KOMPONEN TAMBAHAN
   ============================================================ */

/* --- Section berlatar kontras (band gelap) ---
   Cukup menimpa variabelnya; semua komponen di dalamnya ikut
   menyesuaikan sendiri tanpa perlu class khusus.              */
.section--contrast {
    background: var(--invert-bg);
    --heading:     #ffffff;
    --text:        #cbd5e1;
    --text-mute:   #cbd5e1;
    --text-soft:   #94a3b8;
    --surface:     rgba(255, 255, 255, .05);
    --surface-2:   rgba(255, 255, 255, .08);
    --surface-3:   rgba(255, 255, 255, .14);
    --border:      rgba(255, 255, 255, .12);
    --border-soft: rgba(255, 255, 255, .08);
    --accent:      var(--brand-400);
    --shadow-card: none;
    color: var(--text);
}
.section--contrast .section-head { text-align: left; margin-inline: 0; }

/* Hover kartu di pita gelap. Tanpa ini, di tema terang kartu berubah
   jadi putih (--bg-alt) sementara teksnya tetap putih - tidak terbaca. */
.section--contrast .card--hover:hover,
.dark .section--contrast .card--hover:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(249, 115, 22, .45);
}
.section--contrast .card--hover:hover .icon-box,
.dark .section--contrast .card--hover:hover .icon-box {
    background: rgba(249, 115, 22, .16);
    color: var(--brand-400);
}

/* --- Dua kolom: teks + ilustrasi --- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split .section-head { text-align: left; margin: 0 0 1.75rem; max-width: none; }

/* --- Daftar poin dengan ikon bulat --- */
.points { display: grid; gap: 1.5rem; }
.point  { display: flex; gap: 1rem; }
.point-ico {
    width: 2.5rem; height: 2.5rem; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-full);
    background: var(--brand-50);
    color: var(--brand-600);
}
.dark .point-ico { background: rgba(249, 115, 22, .12); color: var(--brand); }
.point-ico svg { width: 1.125rem; height: 1.125rem; }
.point h4 { margin-bottom: .2rem; }
.point p  { font-size: .9375rem; color: var(--text-mute); margin: 0; }

/* --- Lima langkah proses --- */
.steps--5 { grid-template-columns: 1fr; }

/* --- Catatan penutup di bawah grid --- */
.section-foot {
    margin-top: 2.5rem;
    text-align: center;
    font-size: .9375rem;
    color: var(--text-mute);
}
.section-foot a {
    color: var(--accent);
    font-weight: 500;
    display: inline-flex; align-items: center; gap: .3rem;
}
.section-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.section-foot svg { width: 1rem; height: 1rem; }

/* --- Kartu ilustrasi mini di halaman paket --- */
.figure--inline { margin-top: 2.5rem; }

@media (min-width: 640px) {
    .steps--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .split { gap: 3rem; }
    .steps--5 { grid-template-columns: repeat(3, 1fr); }
    /* Garis penghubung hanya pas untuk 3 langkah */
    .steps--5::before { display: none; }
}

@media (min-width: 1024px) {
    .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .steps--5 { grid-template-columns: repeat(5, 1fr); }
    .steps--5 h4 { font-size: 1rem; }
    .steps--5 p  { font-size: .875rem; }
}


/* Footer halaman iklan: dua kolom di layar lebar, legal rata kanan */
@media (min-width: 768px) {
    .footer-ads { grid-template-columns: 1fr auto; align-items: start; }
    /* Selector diperkuat agar mengalahkan aturan .footer ul { margin: 0 } */
    .footer .footer-legal {
        text-align: right;
        /* Disejajarkan dengan baris tagline, bukan dengan logo di atasnya */
        margin-top: 3.25rem;
    }
}


/* ============================================================
   17. GESER HORIZONTAL DI HP
   Dipakai di halaman non-iklan supaya deretan kartu tidak
   menumpuk ke bawah terus. Murni CSS scroll-snap - tidak ada
   JavaScript, jadi momentum geser terasa alami seperti aplikasi.
   ============================================================ */
@media (max-width: 767px) {
    .swipe {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        /* Melebar sampai tepi layar supaya kartu berikutnya terlihat mengintip */
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        padding-bottom: .75rem;
        scroll-padding-inline: var(--gutter);

        scrollbar-width: none;
    }
    .swipe::-webkit-scrollbar { display: none; }

    /* Lebar kartu dibuat ~76% layar, jadi kartu berikutnya terlihat
       terpotong sedikit - petunjuk visual bahwa masih ada lanjutannya */
    .swipe > * {
        flex: 0 0 76%;
        scroll-snap-align: start;
    }

    /* Kartu harga sedikit lebih lebar karena isinya panjang */
    .prices.swipe > * { flex-basis: 82%; }

    /* Varian dua kartu sekaligus, untuk kartu yang isinya pendek */
    .swipe--2 > * { flex-basis: 62%; }
    .swipe--2 { gap: .75rem; }

    .swipe-hint {
        display: flex;
        align-items: center;
        gap: .4rem;
        margin-top: .9rem;
        font-size: .8125rem;
        color: var(--text-soft);
    }
    .swipe-hint svg {
        width: 1rem; height: 1rem;
        animation: geser 1.6s ease-in-out infinite;
    }
    @keyframes geser {
        0%, 100% { transform: translateX(0); }
        50%      { transform: translateX(4px); }
    }
}

/* Di layar lebar tetap grid biasa, petunjuk geser disembunyikan */
@media (min-width: 768px) {
    .swipe-hint { display: none; }
}


/* Dua kartu berdampingan di HP, untuk kartu yang isinya pendek.
   Dipakai di section "Untuk Siapa MUBU Cocok?" - tanpa geser,
   supaya keempat kategori kelihatan sekaligus. */
@media (max-width: 639px) {
    .grid--pair {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }
    .grid--pair .card--pad { padding: 1.1rem; }
    .grid--pair .icon-box {
        width: 2.25rem; height: 2.25rem;
        border-radius: var(--r-sm);
        margin-bottom: .85rem;
    }
    .grid--pair .icon-box svg { width: 1.1rem; height: 1.1rem; }
    .grid--pair h4 { font-size: .9375rem; }
    .grid--pair p  { font-size: .8125rem; line-height: 1.55; }
}


/* Baris bukti singkat di hero.
   Di HP dijadikan satu baris chip yang bisa digeser - kalau dibiarkan
   membungkus jadi 2x2, tampilannya menumpuk dan terasa sesak.
   Ini berlaku juga di halaman iklan, karena barisnya memang pendek
   dan tidak mengalihkan orang dari tombol CTA di atasnya. */
@media (max-width: 767px) {
    .trust {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: .5rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        padding-bottom: .5rem;
        scrollbar-width: none;

        /* Tanpa baris ini, scroll-snap menarik chip pertama menempel ke
           tepi layar dan padding kiri jadi hilang saat halaman dibuka. */
        scroll-padding-inline: var(--gutter);
    }
    .trust::-webkit-scrollbar { display: none; }

    .trust > div {
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
        padding: .45rem .85rem .45rem .5rem;
        border: 1px solid var(--border);
        border-radius: var(--r-full);
        background: var(--surface);
        font-size: .8125rem;
    }
}


/* ============================================================
   18. KONTROL FORM BUATAN SENDIRI
   Elemen asli (select, checkbox) tetap ada untuk pengiriman form
   dan aksesibilitas - yang diganti hanya tampilannya.
   ============================================================ */

/* ---------- Kotak centang ---------- */
input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    display: inline-grid;
    place-content: center;
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    border: 1.5px solid var(--surface-3);
    border-radius: .35rem;
    background: var(--bg);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.dark input[type="checkbox"] { border-color: rgba(255, 255, 255, .22); }

/* Tanda centang digambar dengan clip-path, ikut warna tema */
input[type="checkbox"]::before {
    content: '';
    width: .62rem;
    height: .62rem;
    background: var(--btn-fg);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
    transform: scale(0);
    transition: transform .15s ease;
}
input[type="checkbox"]:checked { background: var(--brand); border-color: var(--brand); }
input[type="checkbox"]:checked::before { transform: scale(1); }
input[type="checkbox"]:hover:not(:checked) { border-color: var(--brand); }
input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

/* ---------- Dropdown ---------- */
.pilih { position: relative; }

/* Select asli disembunyikan tapi tetap ikut terkirim bersama form */
.pilih > select {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pilih-tombol {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    text-align: left;
    cursor: pointer;
}
.pilih-tombol .pilih-teks { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pilih-tombol .pilih-teks.kosong { color: var(--text-soft); }
.pilih-tombol svg {
    width: 1.1rem; height: 1.1rem; flex: none;
    color: var(--text-soft);
    transition: transform .2s ease;
}
.pilih.buka .pilih-tombol {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--ring);
}
.pilih.buka .pilih-tombol svg { transform: rotate(180deg); color: var(--accent); }

.pilih-daftar {
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + .4rem);
    z-index: 30;
    margin: 0;
    padding: .35rem;
    list-style: none;
    max-height: 18rem;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}
.dark .pilih-daftar { background: var(--surface-2); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
.pilih.buka .pilih-daftar { opacity: 1; transform: none; pointer-events: auto; }

/* Kalau ruang di bawah tidak cukup, daftar dibuka ke atas */
.pilih.ke-atas .pilih-daftar { top: auto; bottom: calc(100% + .4rem); transform: translateY(6px); }
.pilih.ke-atas.buka .pilih-daftar { transform: none; }

.pilih-opsi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .75rem;
    border-radius: var(--r-sm);
    font-size: .9375rem;
    color: var(--heading);
    cursor: pointer;
}
.pilih-opsi.aktif { background: var(--surface-2); }
.dark .pilih-opsi.aktif { background: var(--surface-3); }
.pilih-opsi[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.pilih-opsi svg { width: 1rem; height: 1rem; flex: none; opacity: 0; }
.pilih-opsi[aria-selected="true"] svg { opacity: 1; }


/* ============================================================
   19. POPUP / LEMBAR BAWAH
   Desktop: kotak di tengah layar.
   HP: lembar yang naik dari bawah, bisa digeser turun untuk menutup.
   ============================================================ */
.lembar {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    transition: visibility 0s linear .32s;
}
.lembar.buka { visibility: visible; transition-delay: 0s; }

.lembar-latar {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .28s ease;
}
.lembar.buka .lembar-latar { opacity: 1; }

.lembar-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 88vh;
    background: var(--surface);
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5);
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}
.lembar.buka .lembar-panel { transform: none; }
.lembar.seret .lembar-panel { transition: none; }

.lembar-pegangan {
    width: 2.75rem; height: .3rem;
    margin: .65rem auto .15rem;
    border-radius: var(--r-full);
    background: var(--surface-3);
    flex: none;
}

.lembar-kepala {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    touch-action: none;   /* area ini dipakai untuk geser-tutup di HP */
    flex: none;
}
.lembar-kepala h3 { margin: 0; font-size: 1.1rem; flex: 1; }

.lembar-tutup {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.25rem; height: 2.25rem; flex: none;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: none;
    color: var(--text-mute);
    cursor: pointer;
}
.lembar-tutup:hover { color: var(--heading); background: var(--surface-2); }
.lembar-tutup svg { width: 1.1rem; height: 1.1rem; }

.lembar-isi {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.25rem;
}
.lembar-isi.konten { font-size: .9375rem; }
.lembar-isi .konten-muat { color: var(--text-soft); font-size: .875rem; }

.lembar-kaki {
    display: flex;
    gap: .5rem;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-soft);
    flex: none;
}
.lembar-kaki .btn { flex: 1; }

body.kunci-gulir { overflow: hidden; }

@media (min-width: 768px) {
    .lembar { align-items: center; padding: 2rem; }
    .lembar-panel {
        max-width: 42rem;
        max-height: 80vh;
        border: 1px solid var(--border);
        border-radius: var(--r-xl);
        box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
        opacity: 0;
        transform: translateY(14px) scale(.98);
        transition: transform .22s ease, opacity .22s ease;
    }
    .lembar.buka .lembar-panel { opacity: 1; transform: none; }
    .lembar-pegangan { display: none; }
    .lembar-kepala { padding-top: 1.1rem; }
    .lembar-kaki { justify-content: flex-end; }
    .lembar-kaki .btn { flex: 0 0 auto; }
}


/* ============================================================
   Halaman terima kasih (versi simpel)
   ============================================================ */
.tk { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tk-emoji {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.25rem;
    animation: tk-muncul .6s cubic-bezier(.2, .9, .3, 1.3) both;
}
.tk .lead { max-width: 32rem; margin-inline: auto; }
.tk-status { margin: 1.25rem 0 0; font-size: .875rem; color: var(--text-soft); }
.tk-status strong { color: var(--heading); font-variant-numeric: tabular-nums; }
.tk-aksi { margin-top: 1.5rem; }
.tk-logo { margin-top: 3rem; opacity: .85; }
.tk-logo:hover { opacity: 1; }
@keyframes tk-muncul { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tk-emoji { animation: none; } }


/* ============================================================
   Halaman Hubungi Kami
   ============================================================ */
.kontak-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) {
    .kontak-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.kontak-info .h3, #form-kontak .h3 { margin-bottom: .35rem; }
.kontak-daftar { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.kontak-daftar li { display: grid; gap: .15rem; }
.kontak-daftar span { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); }
.kontak-daftar a { color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }
.kontak-daftar a:hover { color: var(--accent); }
.kontak-label { margin: 1.5rem 0 .6rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); }


/* ============================================================
   Kategori blog
   ============================================================ */
.kat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.75rem;
}
@media (max-width: 640px) {
    /* Di HP satu baris yang bisa digeser, seperti chip di hero */
    .kat-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: -1rem;
        padding-inline: 1rem;
    }
    .kat-filter::-webkit-scrollbar { display: none; }
}
.kat-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .9rem;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: .8125rem;
    font-weight: 500;
    color: var(--text-mute);
    white-space: nowrap;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.kat-chip:hover { border-color: var(--brand); color: var(--heading); }
.kat-chip.is-aktif { background: var(--brand); border-color: var(--brand); color: #fff; }
.kat-jumlah { font-size: .6875rem; opacity: .7; }
.kat-baris { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.kat-label { color: var(--accent); font-weight: 500; }


/* Tombol sekunder di situs publik: kaca tipis dengan kilap di tepi atas,
   serasi dengan tombol utama 3D (lihat bagian 5. TOMBOL). */
html:not([data-theme-key]) .btn--ghost {
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
html.dark:not([data-theme-key]) .btn--ghost,
html:not([data-theme-key]) .section--contrast .btn--ghost {
    background: rgba(255, 255, 255, .03);
    box-shadow: none;
}
html:not([data-theme-key]) .btn--ghost:active { transform: translateY(1px); }
html:not([data-theme-key]) .btn--ghost:hover { border-color: var(--brand); }
