/* ============================================================
   UMKM Go Online — Main Stylesheet
   Mobile-first, BEM-lite, CSS variables untuk palet tema.
   WordPress-ready: setiap blok komponen bisa dipindah 1:1 ke
   template theme (lihat readme-konversi.md).
   ============================================================ */

/* ---------- 1. Design Tokens (CSS Variables) ---------- */
:root {
    /* Palet default — Navy & Gold (khas Chartiva) */
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --bg-alt: #0b1a2e;
    --ink: #0b1a2e;             /* teks utama */
    --ink-soft: #4b5a6d;        /* teks sekunder */
    --ink-faint: #8392a6;       /* teks tipis */
    --brand: #070E1D;           /* navy pekat */
    --brand-2: #0f2440;
    --accent: #C8A96E;          /* gold */
    --accent-2: #e6cd9b;
    --accent-ink: #7a5c1e;      /* teks di atas gold */
    --on-brand: #ffffff;
    --line: #e5e9ef;
    --success: #1d9d68;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 30px rgba(11, 26, 46, 0.08);
    --shadow-lg: 0 20px 50px rgba(11, 26, 46, 0.14);
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-hand: 'Caveat', cursive;
    --container: 1160px;
}

/* --- Preset 1: Kuliner (hijau segar) --- */
[data-theme="kuliner"] {
    --brand: #0c3d2e;
    --brand-2: #145c44;
    --bg-alt: #0c3d2e;
    --accent: #e8b44a;
    --accent-2: #f6d78e;
    --accent-ink: #6b4d12;
    --ink: #0c3d2e;
}

/* --- Preset 2: Fashion (rose elegan) --- */
[data-theme="fashion"] {
    --brand: #3a1626;
    --brand-2: #5c2039;
    --bg-alt: #3a1626;
    --accent: #e79faf;
    --accent-2: #f4c3cf;
    --accent-ink: #6d2439;
    --ink: #3a1626;
}

/* --- Preset 3: Jasa (biru profesional) --- */
[data-theme="jasa"] {
    --brand: #0b2a4a;
    --brand-2: #13406d;
    --bg-alt: #0b2a4a;
    --accent: #4ea1ff;
    --accent-2: #9cc9ff;
    --accent-ink: #0b3a6e;
    --ink: #0b2a4a;
}

/* --- Preset 4: Toko (amber hangat) --- */
[data-theme="toko"] {
    --brand: #4a2d0b;
    --brand-2: #6b4512;
    --bg-alt: #4a2d0b;
    --accent: #f0a63c;
    --accent-2: #f8cc85;
    --accent-ink: #6b4512;
    --ink: #4a2d0b;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-alt); color: var(--on-brand); }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: rgba(200, 169, 110, 0.16);
    border: 1px solid rgba(200, 169, 110, 0.35);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.section--dark .section-eyebrow {
    color: var(--accent-2);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.18);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.2vw, 42px);
    margin-bottom: 14px;
}
.section-title .gold { color: var(--accent); }
.section--dark .section-title .gold { color: var(--accent); }
.section-sub { max-width: 640px; color: var(--ink-soft); font-size: 17px; }
.section--dark .section-sub { color: rgba(255,255,255,0.78); }
.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin: 0 auto; }

/* ---------- 3. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 999px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 10px 26px rgba(200, 169, 110, 0.4);
}
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--ghost {
    border: 1.5px solid rgba(255,255,255,0.45);
    color: #fff;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn--wa {
    background: #1faa5a;
    color: #fff;
    box-shadow: 0 10px 26px rgba(31,170,90,0.35);
}
.btn--wa:hover { background: #18914c; transform: translateY(-2px); }
.btn--dark {
    background: var(--brand);
    color: var(--on-brand);
}
.btn--dark:hover { background: var(--brand-2); transform: translateY(-2px); }
.btn--lg { padding: 18px 38px; font-size: 17px; }

/* ============================================================
   KOMENTAR PEMBATAS SECTION — salin tiap blok ke file theme WP
   Lihat readme-konversi.md untuk peta lengkap.
   ============================================================ */

/* ---------- 4. Header / Nav ---------- */
/* -> header.php */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,26,46,.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    display: grid; place-items: center;
    color: var(--accent);
    flex-shrink: 0;
}
.brand__name { font-weight: 800; font-size: 17px; line-height: 1.1; }
.brand__tag { display: block; font-size: 11px; font-weight: 600; color: var(--ink-faint); letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 15px; font-weight: 600; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav__link::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width .2s ease; border-radius: 2px;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.header__cta { display: inline-flex; align-items: center; gap: 14px; }

/* Burger (mobile) */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1002; }
.burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
body.nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
/* -> front-page.php: bagian atas */
.hero {
    position: relative;
    padding: 150px 0 90px;
    background: var(--brand);
    color: #fff;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(700px 400px at 85% -10%, rgba(200,169,110,0.22), transparent 60%),
        radial-gradient(500px 380px at -10% 110%, rgba(255,255,255,0.07), transparent 55%);
    pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: var(--accent-2);
    font-size: 13px; font-weight: 600;
    padding: 8px 16px; border-radius: 999px;
    margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5.4vw, 58px);
    line-height: 1.08;
    margin-bottom: 20px;
}
.hero__title .gold { color: var(--accent); font-style: italic; }
.hero__sub { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 30px; }
.hero__stat b { display: block; font-size: 26px; color: var(--accent); line-height: 1; }
.hero__stat span { font-size: 13px; color: rgba(255,255,255,0.72); }

/* Kartu hero (mockup) */
.hero__card {
    position: relative;
    background: #fff;
    color: var(--ink);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.hero__card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero__card-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--accent); }
.hero__card-name b { display: block; font-size: 15px; }
.hero__card-name span { font-size: 12.5px; color: var(--ink-faint); }
.hero__card-rating { margin-left: auto; text-align: right; }
.hero__card-rating b { color: var(--accent-ink); font-size: 15px; }
.hero__card-rating span { display: block; font-size: 11.5px; color: var(--ink-faint); }
.hero__card-rows { display: grid; gap: 12px; margin-bottom: 20px; }
.hero__card-row { display: flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; }
.hero__card-row .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(200,169,110,0.18); color: var(--accent-ink); flex-shrink: 0; font-size: 16px; }
.hero__card-row small { display: block; font-size: 11px; color: var(--ink-faint); }
.hero__card-row b { font-size: 13.5px; }
.hero__card-cta { display: flex; align-items: center; justify-content: space-between; background: var(--brand); color: #fff; border-radius: 14px; padding: 16px 18px; }
.hero__card-cta span { font-size: 13px; font-weight: 700; }
.hero__card-cta .pill { background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }

/* ---------- 6. Marquee / brand strip ---------- */
/* -> front-page.php */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 12px 0; }
.marquee__track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 26s linear infinite; width: max-content; }
.marquee__track span { font-size: 15px; font-weight: 800; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 12px; }
.marquee__track span::after { content: '✦'; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. Keunggulan (why) ---------- */
/* -> front-page.php: services-grid */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why__item {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.why__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why__item .ic {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center; font-size: 24px;
    background: rgba(200,169,110,0.16); color: var(--accent-ink);
    margin-bottom: 18px;
}
.why__item h3 { font-size: 17px; margin-bottom: 8px; }
.why__item p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 8. Layanan / Produk (kategori UMKM) ---------- */
/* -> front-page.php: kategori (CPT: kategori_umkm) */
.svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc__card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex; flex-direction: column;
}
.svc__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc__card:hover .svc__media img { transform: scale(1.06); }
.svc__tag {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255,255,255,0.92);
    color: var(--brand); font-size: 12px; font-weight: 800;
    padding: 5px 12px; border-radius: 999px;
    backdrop-filter: blur(4px);
}
.svc__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { font-size: 18px; margin-bottom: 8px; }
.svc__body p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.svc__link { margin-top: 16px; font-weight: 700; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
.svc__link:hover { gap: 10px; }
.svc__link { transition: gap .18s ease; }

/* ---------- 9. Tentang ---------- */
/* -> front-page.php: about */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.about__card-float {
    position: absolute; right: -18px; bottom: -22px;
    background: var(--accent); color: var(--accent-ink);
    border-radius: 16px; padding: 16px 20px;
    box-shadow: var(--shadow-lg);
}
.about__card-float b { font-size: 24px; display: block; line-height: 1; }
.about__card-float span { font-size: 12.5px; font-weight: 700; }
.about__points { display: grid; gap: 14px; margin: 26px 0 32px; }
.about__point { display: flex; gap: 12px; align-items: flex-start; }
.about__point .chk { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(200,169,110,0.18); color: var(--accent-ink); font-size: 13px; font-weight: 800; margin-top: 2px; }
.about__point b { display: block; font-size: 15.5px; }
.about__point p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 10. Cara Kerja ---------- */
/* -> front-page.php: steps */
.steps { counter-reset: step; }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps__item {
    counter-increment: step;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 30px 24px;
    position: relative;
    transition: transform .2s ease, border-color .2s ease;
}
.steps__item:hover { transform: translateY(-5px); border-color: rgba(200,169,110,0.5); }
.steps__item::before {
    content: '0' counter(step);
    font-family: var(--font-display);
    font-size: 44px;
    color: rgba(200,169,110,0.55);
    display: block; margin-bottom: 12px; line-height: 1;
}
.steps__item h3 { font-size: 17px; margin-bottom: 8px; }
.steps__item p { font-size: 14px; color: rgba(255,255,255,0.72); }

/* ---------- 11. Galeri ---------- */
/* -> front-page.php: gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption {
    position: absolute; inset: auto 0 0 0;
    padding: 34px 14px 12px;
    background: linear-gradient(transparent, rgba(7,14,29,0.82));
    color: #fff; font-size: 13px; font-weight: 600;
    opacity: 0; transition: opacity .25s ease;
}
.gallery__item:hover figcaption { opacity: 1; }

/* ---------- 12. Testimoni ---------- */
/* -> front-page.php: testimoni (CPT: testimoni) */
.tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst__card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.tst__stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; margin-bottom: 12px; }
.tst__text { font-size: 15px; color: var(--ink-soft); flex: 1; margin-bottom: 18px; }
.tst__who { display: flex; align-items: center; gap: 12px; }
.tst__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; flex-shrink: 0; }
.tst__who b { display: block; font-size: 14.5px; }
.tst__who span { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- 13. FAQ ---------- */
/* -> front-page.php: faq (accordion) */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--bg); overflow: hidden; transition: box-shadow .2s ease; }
.faq__item.is-open { box-shadow: var(--shadow); border-color: rgba(200,169,110,0.5); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 18px 20px; font-size: 15.5px; font-weight: 700; }
.faq__icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(200,169,110,0.16); color: var(--accent-ink); font-size: 15px; transition: transform .25s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 20px 18px; font-size: 14.5px; color: var(--ink-soft); }
.faq__item.is-open .faq__a { display: block; }

/* ---------- 14. CTA (WhatsApp) ---------- */
/* -> front-page.php: cta */
.cta { position: relative; overflow: hidden; }
.cta__box {
    position: relative;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-radius: 28px;
    padding: 64px 48px;
    text-align: center;
    overflow: hidden;
}
.cta__box::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(420px 240px at 85% 0%, rgba(200,169,110,0.25), transparent 60%),
        radial-gradient(380px 260px at 0% 100%, rgba(255,255,255,0.08), transparent 55%);
}
.cta__box h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; position: relative; }
.cta__box p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 30px; font-size: 17px; position: relative; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }

/* ---------- 15. Kontak / Lokasi ---------- */
/* -> front-page.php: kontak */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact__card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact__row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__row:last-child { border-bottom: 0; }
.contact__row .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(200,169,110,0.16); color: var(--accent-ink); font-size: 18px; flex-shrink: 0; }
.contact__row b { display: block; font-size: 14px; }
.contact__row span { font-size: 13.5px; color: var(--ink-soft); }
.contact__form { display: grid; gap: 16px; }
.contact__form label { font-size: 13px; font-weight: 700; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.contact__form input, .contact__form select, .contact__form textarea {
    width: 100%; padding: 14px 16px;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; font-size: 15px; color: var(--ink);
    background: var(--bg); transition: border-color .18s ease, box-shadow .18s ease;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200,169,110,0.18);
}
.contact__form textarea { min-height: 120px; resize: vertical; }

/* ---------- 16. Footer ---------- */
/* -> footer.php */
.footer { background: var(--brand); color: rgba(255,255,255,0.78); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__brand { color: #fff; }
.footer__about { font-size: 14px; margin: 16px 0 20px; max-width: 300px; color: rgba(255,255,255,0.68); }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { font-size: 14px; color: rgba(255,255,255,0.68); }
.footer__col ul a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.08); font-size: 16px; }
.footer__social a:hover { background: var(--accent); color: var(--accent-ink); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- 17. Preset Switcher (demo) ---------- */
/* -> hanya untuk demo template; di WP diganti Customizer */
.theme-switcher { position: fixed; right: 16px; bottom: 16px; z-index: 900; }
.theme-switcher__btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--brand); color: var(--accent);
    box-shadow: var(--shadow-lg); display: grid; place-items: center;
    font-size: 20px;
}
.theme-switcher__panel {
    position: absolute; right: 0; bottom: 62px;
    background: #fff; color: var(--ink);
    border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lg); padding: 12px;
    min-width: 180px;
    display: none;
}
.theme-switcher__panel.is-open { display: block; }
.theme-switcher__panel button {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 9px 10px; border-radius: 9px;
    font-size: 14px; font-weight: 700; text-align: left;
}
.theme-switcher__panel button:hover { background: var(--bg-soft); }
.theme-switcher__panel .sw { width: 16px; height: 16px; border-radius: 5px; flex-shrink: 0; border: 2px solid rgba(0,0,0,0.08); }

/* ---------- 18. A11y & utils ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 2000; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.text-center { text-align: center; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .svc__grid, .tst__grid { grid-template-columns: repeat(2, 1fr); }
    .steps__grid { grid-template-columns: repeat(2, 1fr); }
    .gallery__grid { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .hero__grid, .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .contact__grid { grid-template-columns: 1fr; }
    .hero { padding: 130px 0 70px; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }

    /* Nav mobile */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        height: 100dvh;
        width: min(320px, 84vw);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        background: var(--bg);
        padding: 96px 28px 40px;
        box-shadow: -10px 0 40px rgba(11,26,46,0.15);
        transform: translateX(105%);
        transition: transform .3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    body.nav-open .nav { transform: translateX(0); }
    .nav__link { font-size: 17px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
    .nav__link::after { display: none; }
    .nav .btn { margin-top: 16px; width: 100%; }
    .burger { display: flex; }
    .header__cta .btn--primary { display: none; }

    .hero__ctas .btn { width: 100%; }
    .hero__card { padding: 20px; }
}

@media (max-width: 560px) {
    .why__grid, .svc__grid, .tst__grid, .steps__grid, .gallery__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .cta__box { padding: 44px 24px; }
    .hero__stats { gap: 20px; }
    .about__card-float { right: 10px; bottom: -18px; }
}

/* ---------- 20. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   KOMPONEN KHUSUS KATEGORI (untuk sub-site kuliner/fashion/jasa/toko)
   ============================================================ */

/* ---------- 21. Info bar (kontak singkat di atas nav) ---------- */
.topbar { background: var(--brand); color: rgba(255,255,255,0.85); font-size: 13px; padding: 8px 0; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--accent-2); font-weight: 700; }
.topbar a:hover { text-decoration: underline; }

/* ---------- 22. Menu digital (kuliner) ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.menu-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; transition: transform .2s ease, box-shadow .2s ease; }
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.menu-card__img { width: 130px; min-height: 130px; flex-shrink: 0; }
.menu-card__img img { width: 100%; height: 100%; object-fit: cover; }
.menu-card__body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.menu-card__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.menu-card__top h3 { font-size: 16px; }
.menu-card__price { color: var(--accent-ink); font-weight: 800; font-size: 15px; white-space: nowrap; }
.menu-card__desc { font-size: 13.5px; color: var(--ink-soft); margin: 6px 0 12px; flex: 1; }
.menu-card__badge { align-self: flex-start; background: rgba(200,169,110,0.16); color: var(--accent-ink); font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.menu-cat { margin-bottom: 34px; }
.menu-cat__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.menu-cat__head h3 { font-family: var(--font-display); font-size: 24px; }
.menu-cat__head .line { flex: 1; height: 1px; background: var(--line); }

/* ---------- 23. Katalog produk (fashion/toko) ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prod-card__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prod-card:hover .prod-card__media img { transform: scale(1.06); }
.prod-card__badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.prod-card__badge--wa { background: #1faa5a; color: #fff; }
.prod-card__body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.prod-card__body h3 { font-size: 15.5px; }
.prod-card__body .prod-sub { font-size: 12.5px; color: var(--ink-faint); margin: 2px 0 8px; }
.prod-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; }
.prod-price { font-weight: 800; color: var(--accent-ink); font-size: 15.5px; }
.prod-wa { display: inline-flex; align-items: center; gap: 6px; background: rgba(31,170,90,0.12); color: #15803d; font-size: 13px; font-weight: 800; padding: 8px 13px; border-radius: 999px; transition: background .18s ease; }
.prod-wa:hover { background: #1faa5a; color: #fff; }

/* ---------- 24. Paket harga (jasa) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 32px 26px; display: flex; flex-direction: column; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-card__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-card__name { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 8px; }
.price-card__val { font-family: var(--font-display); font-size: 38px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.price-card__val small { font-size: 16px; font-family: var(--font-body); font-weight: 600; color: var(--ink-soft); }
.price-card__note { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 20px; }
.price-card ul { margin-bottom: 24px; flex: 1; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); padding: 7px 0; }
.price-card ul li::before { content: '✓'; color: var(--accent-ink); font-weight: 800; flex-shrink: 0; }
.price-card .btn { width: 100%; }

/* ---------- 25. Portofolio (jasa) ---------- */
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.port-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.port-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.port-card__media { aspect-ratio: 4/3; overflow: hidden; }
.port-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.port-card:hover .port-card__media img { transform: scale(1.06); }
.port-card__body { padding: 18px; }
.port-card__body h3 { font-size: 16px; margin-bottom: 4px; }
.port-card__body p { font-size: 13.5px; color: var(--ink-soft); }
.port-card__tag { display: inline-block; background: rgba(200,169,110,0.16); color: var(--accent-ink); font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- 26. Layanan list (jasa) ---------- */
.svc-row { display: flex; gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; align-items: flex-start; transition: transform .2s ease, box-shadow .2s ease; }
.svc-row:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.svc-row .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: rgba(200,169,110,0.16); color: var(--accent-ink); flex-shrink: 0; }
.svc-row h3 { font-size: 17px; margin-bottom: 6px; }
.svc-row p { font-size: 14px; color: var(--ink-soft); }
.svc-row__meta { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.svc-row__meta span { font-size: 12px; font-weight: 700; background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }

/* ---------- 27. Jam buka / status ---------- */
.open-status { display: inline-flex; align-items: center; gap: 8px; background: rgba(31,170,90,0.1); color: #15803d; border: 1px solid rgba(31,170,90,0.25); font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }
.open-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #1faa5a; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 28. Grid 2 kolom info ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split__media img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; }

/* Responsive kategori */
@media (max-width: 1024px) {
    .prod-grid, .price-grid, .port-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .menu-grid { grid-template-columns: 1fr; }
    .menu-card__img { width: 110px; }
    .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    .prod-grid, .price-grid, .port-grid { grid-template-columns: 1fr; }
    .menu-card { flex-direction: column; }
    .menu-card__img { width: 100%; height: 170px; }
}
