/* Mason Naraji Modern v1.1 — main stylesheet (magenta) */

:root {
    color-scheme: light dark;
    --bg: #fbf8fa;
    --surface: #ffffff;
    --tint: #f6eef3;
    --line: #ece3e9;
    --ink: #1a1220;
    --ink-soft: #5f5566;
    --primary: #d4147f;
    --primary-strong: #a50f63;
    --primary-text: #b0106a;
    --primary-soft: rgba(212, 20, 127, .09);
    --violet: #7c3aed;
    --header-bg: rgba(251, 248, 250, .82);
    --dark-band: #1a1220;
    --radius: 24px;
    --radius-sm: 14px;
    --shadow-sm: 0 1px 2px rgba(26, 18, 32, .05);
    --shadow: 0 18px 40px -20px rgba(26, 18, 32, .22);
    --shadow-brand: 0 24px 50px -22px rgba(212, 20, 127, .55);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e0a11;
        --surface: #17111b;
        --tint: #130e17;
        --line: rgba(255, 255, 255, .08);
        --ink: #f6eff4;
        --ink-soft: #b4a8b1;
        --primary: #e01c8e;
        --primary-strong: #f04aa6;
        --primary-text: #ff7cc4;
        --primary-soft: rgba(240, 74, 166, .14);
        --header-bg: rgba(14, 10, 17, .78);
        --dark-band: #1d1422;
        --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.icon-svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container-wide { width: min(1320px, 100% - 40px); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--tint); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--ink-soft); max-width: 54ch; }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 200;
    background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .78em 1.35em; border-radius: 999px; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
    border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon-svg { width: 1.05em; height: 1.05em; }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--primary-strong); color: #fff; }
.btn-outline { border-color: color-mix(in srgb, var(--ink) 22%, transparent); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-soft { background: var(--primary-soft); color: var(--primary-text); }
.btn-soft:hover { color: var(--primary-text); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-white { background: #fff; color: #1a1220; }
.btn-white:hover { color: #1a1220; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }

.link-arrow {
    display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: .95rem; color: var(--primary-text);
}
.link-arrow .icon-svg { transition: transform .2s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon-svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 90;
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(170%) blur(14px);
    backdrop-filter: saturate(170%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(26, 18, 32, .45); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; min-width: 0; }
.nav-toggle { flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(140deg, #f0359c, var(--primary) 45%, var(--violet));
    box-shadow: 0 10px 22px -10px rgba(212, 20, 127, .8);
}
.brand-mark .icon-svg { width: 22px; height: 22px; }
.brand-logo { height: 44px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.site-footer .brand-logo { height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; min-width: 0; }
.brand-text strong, .brand-text small { overflow: hidden; text-overflow: ellipsis; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { color: var(--ink-soft); font-size: .74rem; font-weight: 500; }
.brand-light { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .6); }

.site-nav { display: flex; align-items: center; gap: 10px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list li { position: relative; }
.nav-list a {
    display: block; padding: .5em .78em; border-radius: 999px; color: var(--ink-soft);
    font-weight: 600; font-size: .86rem; white-space: nowrap; transition: background-color .2s, color .2s;
}
.nav-list a:hover,
.nav-list .current-menu-item > a { background: var(--primary-soft); color: var(--primary-text); text-decoration: none; }
.nav-list .sub-menu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; list-style: none; margin: 0; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-list .sub-menu a { border-radius: 10px; }
.nav-cta { margin-left: 6px; }

.nav-toggle {
    display: none; width: 46px; height: 46px; border: 0; background: var(--primary); color: #fff; box-shadow: 0 10px 22px -10px rgba(212, 20, 127, .8);
    border-radius: 14px; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
/* Ikon digambar dengan CSS agar selalu tampil, apa pun isi HTML tombolnya */
.nav-toggle { position: relative; }
.nav-toggle > * { display: none !important; }
.nav-toggle::before, .nav-toggle::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px;
    border-radius: 2px; background: #fff; transition: transform .25s ease, box-shadow .25s ease;
}
.nav-toggle::before { box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff; }
.nav-toggle::after { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { box-shadow: none; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { opacity: 1; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); isolation: isolate; }
.hero-glow {
    position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
    background:
        radial-gradient(42% 50% at 82% 30%, rgba(212, 20, 127, .22), transparent 70%),
        radial-gradient(30% 40% at 62% 70%, rgba(124, 58, 237, .14), transparent 70%),
        radial-gradient(35% 45% at 5% 90%, rgba(240, 53, 156, .1), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--primary-text); background: var(--primary-soft);
    padding: .5em .95em; border-radius: 999px; margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); position: relative; }
.pulse::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--primary);
    animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

.grad {
    background: linear-gradient(100deg, var(--primary) 10%, var(--violet) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-badges { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
    display: inline-flex; align-items: center; gap: .45em; font-size: .86rem; font-weight: 600; color: var(--ink-soft);
    background: var(--surface); border: 1px solid var(--line); padding: .5em .95em; border-radius: 999px;
}
.hero-badges .icon-svg { color: var(--primary-text); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-blob {
    position: absolute; width: 86%; aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    background: linear-gradient(150deg, rgba(240, 53, 156, .28), rgba(124, 58, 237, .18));
    animation: morph 14s ease-in-out infinite alternate;
}
@keyframes morph {
    to { border-radius: 58% 42% 40% 60% / 40% 58% 42% 60%; transform: rotate(8deg) scale(1.03); }
}
.hero-frame { position: relative; width: min(100%, 560px); animation: floaty 6s ease-in-out infinite; }
.hero-img { width: 100%; border-radius: 28px; box-shadow: 0 30px 60px -28px rgba(26, 18, 32, .45); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
    border-radius: 18px; background: color-mix(in srgb, var(--surface) 78%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); box-shadow: var(--shadow);
}
.float-card small { display: block; font-size: .72rem; color: var(--ink-soft); font-weight: 600; line-height: 1.2; }
.float-card strong { display: block; font-size: .98rem; line-height: 1.25; }
.float-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); }
.float-card-top { top: 20px; left: 20px; }
.float-card-bottom { bottom: 20px; right: 20px; }

.return-strip {
    margin-top: clamp(32px, 5vw, 56px); display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 14px 14px 14px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.return-strip p { margin: 0; flex: 1 1 260px; color: var(--ink-soft); }
.return-strip strong { color: var(--ink); }
.return-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); flex-shrink: 0; }
.return-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Section heads ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.kicker {
    display: inline-block; margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
}
.kicker b { color: var(--primary-text); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
.card p { color: var(--ink-soft); }

.icon-tile {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
    color: var(--primary-text); background: var(--primary-soft); margin-bottom: 20px;
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.icon-tile .icon-svg { width: 26px; height: 26px; }
.card:hover .icon-tile { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.04); }

.feature { display: flex; flex-direction: column; }
.feature-top { display: flex; justify-content: space-between; align-items: flex-start; }
.feature-num { font-size: .85rem; font-weight: 800; color: color-mix(in srgb, var(--ink-soft) 55%, transparent); }
.feature .link-arrow, .service .link-arrow { margin-top: auto; padding-top: 4px; }
.service { display: flex; flex-direction: column; }

.program { display: flex; flex-direction: column; align-items: flex-start; }
.program .btn { margin-top: auto; }
.program-head { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.tag {
    font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
    padding: .45em .85em; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff;
}
.tag-soft { background: var(--primary-soft); color: var(--primary-text); }

.program-main {
    color: #fff; border: 0; overflow: hidden;
    background: linear-gradient(140deg, #e0218f 0%, #b30f6c 55%, #6d28d9 130%);
    box-shadow: var(--shadow-brand);
}
.program-main::after {
    content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -110px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none;
}
.program-main h3 { color: #fff; }
.program-main p { color: rgba(255, 255, 255, .85); }
.program-main:hover { border-color: transparent; box-shadow: 0 30px 60px -24px rgba(212, 20, 127, .7); }
.icon-tile-light, .card:hover .icon-tile-light { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- Split (cara pesan) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media {
    position: relative; border-radius: 32px; padding: clamp(16px, 3vw, 32px);
    background: linear-gradient(160deg, var(--primary-soft), color-mix(in srgb, var(--violet) 10%, transparent));
}
.split-media img { width: 100%; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step {
    display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 20px;
    background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
.step:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); transform: translateX(4px); }
.step h3 { margin-bottom: .25em; font-size: 1.08rem; }
.step p { margin: 0; color: var(--ink-soft); }
.step-icon {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
    background: var(--primary); color: #fff; box-shadow: 0 10px 20px -10px rgba(212, 20, 127, .8);
}
.step-icon .icon-svg { width: 22px; height: 22px; }

/* ---------- Rumah tangga ---------- */
.section-sub { margin: 14px 0 0; color: var(--ink-soft); }
.home-band {
    display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center;
    padding: clamp(28px, 4.5vw, 56px); border-radius: 32px; border: 1px solid var(--line);
    background:
        radial-gradient(60% 90% at 100% 0%, var(--primary-soft), transparent 70%),
        var(--surface);
}
.home-band h2 { margin-bottom: .4em; }
.home-band p { color: var(--ink-soft); max-width: 52ch; }
.home-band .hero-actions { margin-top: 22px; }
.home-sizes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.home-sizes li {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 16px 20px; border-radius: 18px; background: var(--tint); border: 1px solid var(--line);
}
.home-sizes strong { font-size: 1.15rem; color: var(--primary-text); }
.home-sizes span { color: var(--ink-soft); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-section { padding: 0 0 clamp(56px, 7vw, 88px); }
.cta-band {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: clamp(32px, 5vw, 56px); border-radius: 32px; color: #fff;
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(240, 53, 156, .55), transparent 60%),
        radial-gradient(50% 100% at 0% 100%, rgba(124, 58, 237, .45), transparent 60%),
        #1a1220;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .75); }

/* ---------- Footer ---------- */
.site-footer { background: #120c15; color: #c9bdc6; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-about { margin-top: 18px; color: #9e929b; max-width: 36ch; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-info { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.footer-info li { display: flex; gap: 10px; align-items: flex-start; }
.footer-info .icon-svg { color: #ff7cc4; margin-top: .25em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { color: #c9bdc6; }
.footer-list a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: #8a7e87; }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
    position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; background: var(--primary); box-shadow: var(--shadow-brand);
    transform: translateY(90px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.wa-fab .icon-svg { width: 26px; height: 26px; }
.wa-fab.is-visible { transform: none; opacity: 1; }
.wa-fab:hover { background: var(--primary-strong); }

/* ---------- Generic ---------- */
.muted { color: var(--ink-soft); }
.pagination { margin-top: 24px; }

/* ---------- Halaman, artikel, arsip ---------- */
.container-narrow { width: min(800px, 100% - 40px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-hero {
    position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); isolation: isolate;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(50% 120% at 100% 0%, var(--primary-soft), transparent 70%),
        radial-gradient(40% 100% at 0% 100%, color-mix(in srgb, var(--violet) 8%, transparent), transparent 70%),
        var(--bg);
}
.page-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 0; }
.page-lead { margin: 14px 0 0; font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }
.page-lead p { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--ink-soft); margin-bottom: 16px; }
.crumbs a { color: var(--ink-soft); font-weight: 600; }
.crumbs a:hover { color: var(--primary-text); }
.entry-meta { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-soft); margin: 14px 0 0; }
.entry-meta .icon-svg { color: var(--primary-text); }
.section-page { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.entry-cover { margin: 0 0 32px; }
.entry-cover img { width: 100%; border-radius: var(--radius); }

/* Isi konten dari editor */
.entry-content { font-size: 1.05rem; color: var(--ink); overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.entry-content h4 { font-size: 1.08rem; margin: 1.4em 0 .4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p, .entry-content li { color: color-mix(in srgb, var(--ink) 86%, var(--ink-soft)); }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.entry-content a:hover { text-decoration-color: var(--primary); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--primary-text); }
.entry-content strong { color: var(--ink); }
.entry-content img { border-radius: 18px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.entry-content blockquote, .entry-content .wp-block-quote {
    margin-left: 0; padding: 18px 22px; border-left: 4px solid var(--primary); background: var(--primary-soft); border-radius: 0 16px 16px 0;
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.entry-content code { background: var(--tint); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.entry-content iframe, .entry-content video { max-width: 100%; border-radius: 18px; }

/* Tabel (mis. tabel ongkir) */
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content thead th, .entry-content tr:first-child th { background: var(--primary-soft); color: var(--primary-text); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--tint) 60%, transparent); }
.entry-content .wp-block-table.is-style-stripes { border: 0; }
@media (max-width: 640px) {
    .entry-content table:not(.wp-block-table table) { display: block; overflow-x: auto; white-space: nowrap; }
}

/* Tombol, detail (FAQ), galeri dari editor */
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.entry-content .wp-block-button__link, .entry-content .wp-element-button {
    display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; font-weight: 700;
    background: var(--primary); color: #fff; text-decoration: none; box-shadow: var(--shadow-brand); transition: transform .2s, background-color .2s;
}
.entry-content .wp-block-button__link:hover { background: var(--primary-strong); color: #fff; transform: translateY(-2px); }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.entry-content details, .entry-content .wp-block-details {
    border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 20px; margin-bottom: 12px; transition: border-color .2s;
}
.entry-content details[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.entry-content summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; list-style: none; position: relative; color: var(--ink); }
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: var(--primary-text); transition: transform .2s; }
.entry-content details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.entry-content details > :last-child { margin-bottom: 18px; }
.entry-content .wp-block-gallery { gap: 12px; }
.alignwide { width: min(1100px, 100vw - 40px); margin-left: 50%; transform: translateX(-50%); max-width: none; }
.alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: none; }
.alignfull img { border-radius: 0; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

.entry-tags { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { display: inline-block; padding: .35em .85em; border-radius: 999px; background: var(--primary-soft); color: var(--primary-text); font-size: .85rem; font-weight: 600; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { display: block; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); height: 100%; }
.post-nav a:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); text-decoration: none; }
.post-nav div:last-child a { text-align: right; }
.post-nav small { display: block; color: var(--ink-soft); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-nav span { font-weight: 700; }
.page-links { margin-top: 24px; display: flex; gap: 8px; }

/* Daftar artikel */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
    display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
.post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb-fallback {
    display: grid; place-items: center; width: 100%; height: 100%; color: #fff;
    background: linear-gradient(140deg, #f0359c, var(--primary) 50%, var(--violet));
}
.post-thumb-fallback .icon-svg { width: 44px; height: 44px; opacity: .85; }
.post-body { display: flex; flex-direction: column; padding: 20px 22px 24px; flex: 1; }
.post-body .entry-meta { margin: 0 0 8px; }
.post-title { font-size: 1.12rem; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.01em; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--primary-text); text-decoration: none; }
.post-excerpt { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.post-body .link-arrow { margin-top: auto; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
    display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .92rem;
}
.pagination .page-numbers:hover { border-color: var(--primary); text-decoration: none; }
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .dots { border: 0; background: none; }

.search-form { display: flex; gap: 8px; margin: 24px 0; max-width: 520px; }
.search-input {
    flex: 1; min-width: 0; font: inherit; padding: .75em 1.1em; border-radius: 999px; border: 1.5px solid var(--line);
    background: var(--surface); color: var(--ink);
}
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.empty-state { text-align: left; max-width: 560px; }
.notfound { padding-top: clamp(56px, 9vw, 120px); }
.notfound-code {
    display: block; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; margin-bottom: 8px;
    background: linear-gradient(100deg, var(--primary), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-section-page { padding-top: 0; }

@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
    .post-grid, .post-nav { grid-template-columns: 1fr; }
    .post-nav div:last-child a { text-align: left; }
    .alignleft, .alignright { float: none; margin: 0 0 1em; }
}


/* ---------- Form cek pesanan ---------- */
.order-check { padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.order-check:hover { transform: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 700; font-size: .92rem; color: var(--ink); padding: 0; }
.field legend { float: left; width: 100%; margin-bottom: 4px; }
.field legend + * { clear: left; }
.req { color: var(--primary-text); }
.opt { color: var(--ink-soft); font-weight: 500; font-size: .85em; }
.field-hint { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.order-check input[type="text"], .order-check input[type="tel"], .order-check input[type="date"],
.order-check input[type="number"], .order-check textarea {
    font: inherit; width: 100%; padding: .75em 1em; border-radius: 14px; border: 1.5px solid var(--line);
    background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.order-check textarea { resize: vertical; min-height: 88px; }
.order-check input:focus, .order-check textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft);
}
.order-check input[aria-invalid="true"], .order-check textarea[aria-invalid="true"] { border-color: var(--primary); }
.qty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.qty { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: var(--tint); border: 1.5px solid var(--line); cursor: pointer; }
.qty span { font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.qty input { font: inherit; font-size: 1.35rem; font-weight: 800; border: 0; background: transparent; color: var(--ink); width: 100%; padding: 0; }
.qty:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.qty input:focus { outline: none; }
.form-error {
    margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-text); font-weight: 600; font-size: .92rem;
}
.form-error[hidden] { display: none; }
.btn-block { width: 100%; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); cursor: pointer; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--primary); cursor: pointer; }
.consent span { color: var(--ink); }
.form-note { margin: 0; text-align: center; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 640px) {
    .form-row, .qty-grid { grid-template-columns: 1fr; }
    .qty-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reveal on scroll (hanya jika JS aktif) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        display: none; flex-direction: column; align-items: stretch; gap: 6px;
        padding: 14px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .site-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-list a { padding: .85em 1em; font-size: .95rem; border-radius: 12px; }
    .nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: none; }
    .nav-cta { margin: 8px 0 0; }
}

/* Menu tidak muat satu baris (dideteksi JS) */
.site-header.nav-collapsed .nav-toggle { display: inline-flex; }
.site-header.nav-collapsed .site-nav {
position: absolute; top: 100%; left: 0; right: 0;
display: none; flex-direction: column; align-items: stretch; gap: 6px;
padding: 14px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-header.nav-collapsed .site-nav.is-open { display: flex; }
.site-header.nav-collapsed .nav-list { flex-direction: column; align-items: stretch; }
.site-header.nav-collapsed .nav-list a { padding: .85em 1em; font-size: .95rem; border-radius: 12px; }
.site-header.nav-collapsed .nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: none; }
.site-header.nav-collapsed .nav-cta { margin: 8px 0 0; }

@media (max-width: 960px) {
    .hero-grid, .split { grid-template-columns: 1fr; }
    .hero-visual { min-height: 0; max-width: 520px; margin-inline: auto; width: 100%; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .split-media { max-width: 480px; }
    .home-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .brand-text small { display: none; }
    .site-header .brand { flex-shrink: 1; }
    .brand-logo { height: 38px; max-width: 140px; }
    .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 100%; }
    .float-card { padding: 9px 12px 9px 9px; border-radius: 14px; }
    .float-icon { width: 34px; height: 34px; }
    .float-card strong { font-size: .88rem; }
    .float-card-top { top: 12px; left: 12px; }
    .float-card-bottom { bottom: 12px; right: 12px; }
    .hero-img { border-radius: 22px; }
    .return-strip { padding: 16px; }
    .return-actions { width: 100%; }
    .return-actions .btn { flex: 1; }
    .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
