/* ==========================================================================
   Situs publik — di atas Bootstrap 5.3.
   Warna aksen (--brand, --brand-rgb) diisi dari Pengaturan admin.
   Satu keluarga huruf (Schibsted Grotesk); satu momen gerak: rak sampul di beranda.
   ========================================================================== */

:root,
[data-bs-theme="light"] {
    --paper: #f7f8f6;
    --surface: #ffffff;
    --ink: #1c2733;
    --ink-2: #4a5663;
    --ink-3: #66717d;
    --line: #dde1e4;
    --line-2: #c5cbd0;
    /* Warna sorotan kedua (stabilo judul, kode promo, ikon kartu). */
    --hl: #e8890c;
    --footer: #1c2733;
    --ok: #2f8a4c;
    /* Aksen untuk teks kecil: digelapkan sedikit agar tetap kontras di latar terang. */
    --brand-text: color-mix(in srgb, var(--brand) 82%, #000);

    --bs-body-bg: var(--paper);
    --bs-body-color: var(--ink);
    --bs-secondary-color: var(--ink-2);
    --bs-border-color: var(--line);
    --bs-primary: var(--brand);
    --bs-primary-rgb: var(--brand-rgb);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: var(--brand-rgb);
    --bs-link-hover-color: var(--brand);
    --bs-body-font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-line-height: 1.6;
    --bs-border-radius: .5rem;
    --bs-border-radius-lg: .625rem;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-bs-theme="dark"] {
    --paper: #121922;
    --surface: #18212c;
    --ink: #e4e8ec;
    --ink-2: #a9b3bd;
    --ink-3: #8d98a4;
    --line: #2a3542;
    --line-2: #3a4655;
    --hl: #f0a33a;
    --footer: #0d131a;
    --ok: #5cc27e;
    --brand-text: color-mix(in srgb, var(--brand) 55%, #fff);

    --bs-body-bg: var(--paper);
    --bs-body-color: var(--ink);
    --bs-secondary-color: var(--ink-2);
    --bs-border-color: var(--line);
    --bs-tertiary-bg: var(--surface);
}

body { background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-size: 1.0625rem; }
::selection { background: rgba(var(--brand-rgb), .22); }
a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.min-w-0 { min-width: 0; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 2000; padding: .5rem 1rem; border-radius: .4rem; background: var(--ink); color: var(--paper); }

/* ---------- Tombol ---------- */

.btn { font-weight: 600; border-radius: .5rem; --bs-btn-focus-shadow-rgb: var(--brand-rgb); }
.btn-lg { font-size: 1rem; padding: .75rem 1.35rem; }

.btn-brand {
    --bs-btn-color: #fff; --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: color-mix(in srgb, var(--brand) 86%, #000); --bs-btn-hover-border-color: color-mix(in srgb, var(--brand) 86%, #000);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: color-mix(in srgb, var(--brand) 78%, #000); --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand); --bs-btn-disabled-color: #fff;
}
.btn-line {
    --bs-btn-color: var(--ink); --bs-btn-bg: transparent; --bs-btn-border-color: var(--line-2);
    --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--surface); --bs-btn-hover-border-color: var(--ink);
    --bs-btn-active-color: var(--ink); --bs-btn-active-bg: var(--surface); --bs-btn-active-border-color: var(--ink);
}
.btn-invert {
    --bs-btn-color: var(--brand); --bs-btn-bg: #fff; --bs-btn-border-color: #fff;
    --bs-btn-hover-color: var(--brand); --bs-btn-hover-bg: rgba(255, 255, 255, .9); --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: var(--brand); --bs-btn-active-bg: rgba(255, 255, 255, .8);
}
.btn-wa {
    --bs-btn-color: #fff; --bs-btn-bg: #15803d; --bs-btn-border-color: #15803d;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #178446; --bs-btn-hover-border-color: #178446;
    --bs-btn-active-color: #fff; --bs-btn-active-bg: #136f3b;
}
.btn-icon {
    width: 2.25rem; height: 2.25rem; padding: 0; border-radius: .45rem;
    display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); border: 1px solid transparent;
}
.btn-icon:hover { color: var(--ink); border-color: var(--line-2); }
.btn-icon.btn-sm { width: 2rem; height: 2rem; }

.link-plain { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); }
.link-plain:hover { color: var(--brand); text-decoration-color: currentColor; }

/* ---------- Navbar ---------- */

.site-nav { padding: .9rem 0; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s, padding .2s; }
.site-nav.is-scrolled, .site-nav:has(.navbar-collapse.show) { padding: .55rem 0; border-bottom-color: var(--line); }
.brand { font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }

.site-nav .nav-link { font-weight: 500; color: var(--ink-2); padding: .4rem .75rem !important; position: relative; }
.site-nav .nav-link:hover { color: var(--ink); }
.site-nav .nav-link.active { color: var(--ink); font-weight: 600; }
@media (min-width: 992px) {
    .site-nav .nav-link.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -.15rem; height: 2px; background: var(--brand); }
    .site-nav .dropdown-toggle.active::after { right: 1.6rem; }
}
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { margin-top: .5rem; padding-bottom: .5rem; }
    .site-nav .nav-link { padding: .6rem 0 !important; border-bottom: 1px solid var(--line); }
    .site-nav .nav-link.active { color: var(--brand); }
}
.site-nav .dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; vertical-align: -.1em; font-size: .7em; margin-left: .3rem; }

.nav-tool { height: 2.25rem; min-width: 2.25rem; padding: 0 .55rem; border: 1px solid transparent; color: var(--ink-2); font-size: .85rem; font-weight: 700; }
.nav-tool:hover, .nav-tool[aria-expanded="true"] { color: var(--ink); border-color: var(--line); }
.theme-toggle .theme-icon-light, [data-theme-toggle] .theme-icon-light { display: none; }
[data-bs-theme="dark"] [data-theme-toggle] .theme-icon-light { display: inline; }
[data-bs-theme="dark"] [data-theme-toggle] .theme-icon-dark { display: none; }

.site-menu { min-width: 240px; padding: .35rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface); box-shadow: 0 12px 32px -16px rgba(20, 30, 40, .35); }
.site-menu .dropdown-item { display: flex; align-items: center; gap: .75rem; padding: .5rem .7rem; border-radius: .4rem; color: var(--ink); }
.site-menu .dropdown-item:hover, .site-menu .dropdown-item:focus { background: var(--paper); color: var(--ink); }
.site-menu .dropdown-item.active { background: rgba(var(--brand-rgb), .1); color: var(--ink); }
.site-menu .dropdown-divider { border-color: var(--line); margin: .3rem 0; }
.menu-count { margin-left: auto; color: var(--ink-3); font-size: .85rem; font-variant-numeric: tabular-nums; }

.navbar-toggler { width: 2.25rem; height: 2.25rem; display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 .45rem; }
.toggler-bar { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform .25s var(--ease); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Seksi & judul ---------- */

.section { padding: 5rem 0; }
.section-tight { padding: 2.5rem 0 4.5rem; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-alt + .section-alt { border-top: 0; }
@media (max-width: 767.98px) { .section { padding: 3.5rem 0; } }

.section-head { margin-bottom: 2rem; max-width: 42rem; }
.section-head-split { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.15; margin: 0 0 .5rem; text-wrap: balance; }
.section-head-split .section-title { margin: 0; }
.section-lead { color: var(--ink-2); max-width: 38rem; }
.side-title { font-size: 1.05rem; margin-bottom: .9rem; }

.page-hero { padding: calc(7.5rem + var(--promo-h)) 0 2rem; }
.page-title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: .75rem; text-wrap: balance; }
.page-title-wide { max-width: 50rem; }
.page-lead { color: var(--ink-2); font-size: 1.15rem; max-width: 40rem; margin-bottom: 0; text-wrap: pretty; }

.breadcrumb { font-size: .9rem; margin-bottom: 1rem; --bs-breadcrumb-divider-color: var(--ink-3); --bs-breadcrumb-item-active-color: var(--ink-3); flex-wrap: nowrap; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb-item { white-space: nowrap; }
.breadcrumb-item.active { min-width: 0; }

/* ---------- Header tetap: bar promo + navbar ---------- */

.site-header { z-index: 1030; }
.promo-bar { background: var(--promo, #f0962a); color: #1d1405; font-size: .9rem; text-align: center; }
.promo-bar .container { padding-block: .45rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-bar a { color: inherit; text-decoration: none; }
.promo-bar a:hover { text-decoration: underline; }
.promo-code { display: inline-block; margin-left: .5rem; padding: .05rem .5rem; border-radius: .3rem; background: rgba(0, 0, 0, .14); font-weight: 700; letter-spacing: .04em; }
/* Konten di bawah header tetap ikut turun setinggi bar promo. */
body { --promo-h: 0px; }
body.has-promo { --promo-h: 2.1rem; }

/* ---------- Header beranda ---------- */

.hero { padding: calc(6.5rem + var(--promo-h)) 0 3.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: center; }
@media (max-width: 991.98px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: calc(5.5rem + var(--promo-h)); } }

.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem;
    padding: .35rem .9rem .35rem .4rem; border-radius: 999px;
    background: color-mix(in srgb, var(--hl) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--hl) 45%, transparent);
    font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.hero-badge i { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--hl); color: #fff; font-size: .8rem; }

.hero-title { font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 1.1rem; text-wrap: balance; }
.hero-title .hl {
    padding: 0 .08em; color: var(--brand-text); font-style: italic; font-weight: 700;
    background: linear-gradient(transparent 62%, color-mix(in srgb, var(--hl) 55%, transparent) 62%, color-mix(in srgb, var(--hl) 55%, transparent) 90%, transparent 90%);
}
.hero-text { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 34rem; margin-bottom: 1.4rem; text-wrap: pretty; }

.hero-offer { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 0 0 1.6rem; }
.hero-offer-label { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.hero-offer strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-code { padding: .2rem .55rem; border-radius: .3rem; background: var(--hl); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.btn-pill { border-radius: 999px; padding-inline: 1.5rem; display: inline-flex; align-items: center; gap: .55rem; }
.btn-dot { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--hl); color: #fff; font-size: .8rem; margin-right: -.6rem; }
.btn-line.btn-pill { border-width: 2px; border-color: var(--ink); }

.jump-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump-links a {
    display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .75rem; border-radius: .45rem;
    border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem;
}
.jump-links a i { color: var(--brand-text); }
.jump-links a span { color: var(--ink-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
.jump-links a:hover { border-color: var(--ink); }

/* Sisi kanan: lingkaran warna aksen, foto, kartu angka. */
.hero-visual { position: relative; height: 540px; }
@media (max-width: 991.98px) { .hero-visual { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; } }
@media (max-width: 575.98px) { .hero-visual { height: 380px; } }
.hero-orb { position: absolute; width: 78%; aspect-ratio: 1; right: 4%; bottom: 0; border-radius: 50%; background: var(--brand); }
.hero-orb::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .28); }

.hero-person { position: absolute; bottom: 0; right: 10%; height: 100%; width: auto; max-width: 70%; object-fit: contain; object-position: bottom; }
/* Foto biasa (berlatar): dipotong lengkung atas agar menyatu dengan lingkaran. */
.is-photo .hero-person { height: 86%; width: 56%; max-width: none; right: 15%; object-fit: cover; object-position: top; border-radius: 999px 999px .75rem .75rem; border: 6px solid var(--surface); }

.hero-covers { position: absolute; inset: 0; }
.hero-cover { position: absolute; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .4rem; border: 5px solid var(--surface); box-shadow: 0 24px 40px -20px rgba(10, 20, 30, .55); }
.hero-cover-1 { right: 26%; bottom: 8%; z-index: 2; }
.hero-cover-2 { right: 4%; bottom: 18%; rotate: 7deg; }
.hero-cover-3 { right: 50%; bottom: 20%; rotate: -8deg; }

/* Slider sisi kanan: lingkaran tetap jadi panggung, hanya gambarnya yang berganti. */
.hero-slider, .hero-proof { position: absolute; inset: 0; }
.hero-proof { pointer-events: none; }
.hero-slider .carousel-inner, .hero-slide { height: 100%; overflow: visible; }
.hero-slide-link { position: absolute; inset: 0; display: block; color: var(--ink); text-decoration: none; }
.hero-slide-img { position: absolute; transition: translate .6s var(--ease); }
.carousel-item-next:not(.carousel-item-start) .hero-slide-img { translate: 1.5rem 0; }
.carousel-item-prev:not(.carousel-item-end) .hero-slide-img { translate: -1.5rem 0; }
.is-sampul .hero-slide-img, .is-lebar .hero-slide-img { object-fit: cover; border-radius: .4rem; border: 5px solid var(--surface); box-shadow: 0 24px 40px -20px rgba(10, 20, 30, .55); }
.is-sampul .hero-slide-img { right: 18%; bottom: 6%; width: auto; max-width: 62%; height: 80%; aspect-ratio: 3 / 4; }
.is-lebar .hero-slide-img { right: 0; bottom: 20%; width: 92%; height: auto; aspect-ratio: 16 / 10; }
.is-transparan .hero-slide-img { bottom: 0; right: 10%; height: 100%; width: auto; max-width: 70%; object-fit: contain; object-position: bottom; }
.is-foto .hero-slide-img { bottom: 0; right: 15%; height: 86%; width: 56%; object-fit: cover; object-position: top; border-radius: 999px 999px .75rem .75rem; border: 6px solid var(--surface); }
.hero-slide-card { position: absolute; left: 0; bottom: 3.75rem; display: flex; flex-direction: column; gap: .1rem; max-width: 13.5rem; padding: .7rem .95rem; border-radius: .7rem; background: var(--surface); box-shadow: 0 1px 2px rgba(10, 20, 30, .08), 0 18px 36px -18px rgba(10, 20, 30, .45); }
.hero-slide-card strong { font-size: .95rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-slide-card small { color: var(--ink-2); font-size: .85rem; font-variant-numeric: tabular-nums; }
a.hero-slide-link:hover .hero-slide-card strong { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--brand); }
.hero-slider-nav { position: absolute; z-index: 4; left: 0; bottom: .5rem; display: flex; align-items: center; gap: .15rem; padding: .2rem; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(10, 20, 30, .08), 0 10px 24px -14px rgba(10, 20, 30, .45); }
.hero-slider:not(.is-ready) .hero-slider-nav { visibility: hidden; }
.hero-slider-btn { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
.hero-slider-btn:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.hero-slider-btn .icon-play, .hero-slider-btn.is-paused .icon-pause { display: none; }
.hero-slider-btn.is-paused .icon-play { display: block; }
.hero-slider .hero-slider-dots.carousel-indicators { position: static; z-index: auto; margin: 0 .15rem; padding: 0; gap: .1rem; }
/* Selektor panjang: aturan tema gelap Bootstrap membuat semua titik hitam. */
.hero-slider.carousel .hero-slider-dots.carousel-indicators [data-bs-target] { box-sizing: content-box; width: .55rem; height: .55rem; margin: 0; padding: .3rem .2rem; border: 0; border-radius: 50%; background-color: var(--ink-3); background-clip: content-box; opacity: 1; text-indent: 0; transition: background-color .2s; }
.hero-slider.carousel .hero-slider-dots.carousel-indicators [data-bs-target].active { background-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .hero-slide-img { transition: none; } }

.float-card {
    position: absolute; z-index: 3; display: flex; flex-direction: column; gap: .1rem;
    padding: .75rem 1rem; border-radius: .7rem; background: var(--surface); color: var(--ink);
    box-shadow: 0 1px 2px rgba(10, 20, 30, .08), 0 18px 36px -18px rgba(10, 20, 30, .45);
    animation: card-in .6s var(--ease) both;
}
.float-card small { color: var(--ink-2); font-size: .8rem; }
.float-card strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.float-card strong em { font-style: normal; font-size: .85rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.float-card strong small { font-size: .85rem; color: var(--ink-3); }
.fc-works { top: 3%; left: 6%; animation-delay: .15s; }
.fc-rating { top: 9%; right: 0; align-items: center; text-align: center; padding-top: 1.4rem; min-width: 9.5rem; animation-delay: .3s; }
.fc-icon { position: absolute; top: -1rem; left: 50%; translate: -50% 0; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--hl); color: #fff; font-size: .9rem; box-shadow: 0 6px 14px -6px var(--hl); }
.fc-faces { display: flex; margin-top: .45rem; }
.fc-faces span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; margin-left: -.4rem; background: var(--ink); color: var(--surface); font-size: .62rem; font-weight: 700; border: 2px solid var(--surface); }
.fc-faces span:first-child { margin-left: 0; }
.fc-faces span:nth-child(2) { background: var(--brand); color: #fff; }
.fc-faces span:nth-child(3) { background: var(--hl); color: #fff; }
.fc-new { top: 46%; left: 0; max-width: 12.5rem; animation-delay: .45s; }
.fc-new-title { font-weight: 600; font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-avail { flex-direction: row; align-items: center; gap: .5rem; bottom: 6%; right: 2%; max-width: 15rem; font-size: .88rem; font-weight: 600; animation-delay: .6s; }
.fc-avail i { color: var(--hl); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@media (max-width: 575.98px) {
    .float-card { padding: .55rem .75rem; }
    .float-card strong { font-size: 1.1rem; }
    .fc-new { display: none; }
    .fc-rating { min-width: 0; }
    .hero-slide-card { max-width: 11rem; padding: .55rem .75rem; }
    /* Tidak muat bersama kartu slide; ketersediaan tetap ada di halaman Hire. */
    .is-slider .fc-avail { display: none; }
}

/* ---------- Daftar isi (kategori) ---------- */

.toc { margin: 0; border-top: 1px solid var(--ink); }
.toc-row {
    display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr auto; gap: .35rem 2rem; align-items: baseline;
    padding: 1.15rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.toc-name { font-size: 1.3rem; font-weight: 700; letter-spacing: -.015em; }
.toc-name i { color: var(--brand-text); font-size: 1.05rem; margin-right: .35rem; }
.toc-desc { color: var(--ink-2); }
.toc-count { color: var(--ink-3); font-size: .95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.toc-row:hover .toc-name { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--brand); }
@media (max-width: 767.98px) {
    .toc-row { grid-template-columns: 1fr auto; }
    .toc-desc { grid-column: 1 / -1; grid-row: 2; font-size: .95rem; }
}
.toc-compact { border-top-color: var(--line-2); }
.toc-compact .toc-row { grid-template-columns: 1fr auto; padding: .75rem 0; }
.toc-compact .toc-name { font-size: 1.02rem; font-weight: 600; }

/* ---------- Sampul ---------- */

.cover-media { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--paper); }
.cover-media::before { content: ""; position: absolute; inset: -20px; background: var(--img) center / cover; filter: blur(24px) saturate(1.1); opacity: .45; transform: scale(1.1); }
.cover-media img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }

.cover-plain {
    position: relative; width: 100%; height: 100%; display: flex; flex-direction: column;
    padding: 1.25rem 1.25rem 1.2rem 1.6rem; background: var(--tone); color: #1d2228; overflow: hidden;
    box-shadow: inset 8px 0 0 rgba(0, 0, 0, .07);
}
.cover-plain-cat { font-size: .78rem; font-weight: 600; opacity: .7; }
.cover-plain-title { margin-top: auto; font-size: 1.55rem; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; overflow-wrap: anywhere; }
.cover-plain-by { margin-top: .8rem; padding-top: .6rem; border-top: 1px solid rgba(0, 0, 0, .2); font-size: .78rem; font-weight: 600; opacity: .75; }

/* ---------- Kartu karya ---------- */

.item-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.item-card:hover { color: var(--ink); }
.item-card-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: .4rem; border: 1px solid var(--line); background: var(--surface); }
.item-card-cover .cover-plain { padding-top: 2.5rem; }
.item-card-cover .cover-plain-title { font-size: 1.7rem; max-width: 88%; }
.item-card-flag { position: absolute; top: .65rem; left: .65rem; padding: .15rem .5rem; border-radius: .3rem; background: #c92a2a; color: #fff; font-size: .82rem; font-weight: 700; }
.item-card-body { display: flex; flex-direction: column; gap: .3rem; padding: .95rem .1rem 0; flex: 1; }
.item-card-cat { font-size: .88rem; color: var(--ink-3); }
.item-card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin: 0; }
.item-card:hover .item-card-title { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--brand); text-underline-offset: .18em; }
.item-card:hover .item-card-cover { border-color: var(--line-2); }
.item-card-summary { font-size: .95rem; color: var(--ink-2); margin: 0; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-card-price { margin-top: .35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.item-card-price s { margin-left: .4rem; font-weight: 400; font-size: .9rem; color: var(--ink-3); }
.item-card-price.is-muted { font-weight: 500; color: var(--ink-3); font-size: .92rem; }

/* ---------- Beranda: seksi per kategori ---------- */

.cat-section { scroll-margin-top: calc(64px + var(--promo-h)); }
.sub-links { margin: -.75rem 0 1.75rem; }
.section-more { margin-top: 2rem; }

/* E-book: sampul tegak */
.book-card { display: flex; flex-direction: column; height: 100%; }
.book-cover { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: .35rem; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.book-cover .cover-plain-title { font-size: 1.35rem; }
.book-cover:hover { border-color: var(--line-2); }
.book-body { display: flex; flex-direction: column; gap: .25rem; padding-top: .8rem; flex: 1; }
.book-title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book-title a { color: var(--ink); text-decoration: none; }
.book-title a:hover { text-decoration: underline; text-decoration-color: var(--brand); }
.book-price { margin: .2rem 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.book-price s { margin-left: .35rem; font-weight: 400; font-size: .88rem; color: var(--ink-3); }
.book-price.is-muted { font-weight: 500; color: var(--ink-3); font-size: .92rem; }
.book-actions { display: flex; gap: .4rem; margin-top: auto; padding-top: .7rem; }
.book-card .book-actions .btn { flex: 1; }

/* Website / aplikasi: bingkai browser */
.screen-card { display: flex; flex-direction: column; height: 100%; }
.screen-frame { display: block; border-radius: .5rem; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.screen-frame:hover { border-color: var(--ink-3); }
.screen-bar { display: flex; align-items: center; padding: .5rem .75rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.screen-url { flex: 1; min-width: 0; padding: .2rem .65rem; border-radius: .3rem; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-url i { color: var(--ok); font-size: .7rem; }
.screen-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.screen-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: object-position 2.5s var(--ease); }
.screen-frame:hover .screen-shot img { object-position: bottom; }
.screen-body { display: flex; flex-direction: column; gap: .45rem; padding-top: 1rem; flex: 1; }
.screen-title { font-size: 1.25rem; margin: 0; }
.screen-title a { color: var(--ink); text-decoration: none; }
.screen-title a:hover { text-decoration: underline; text-decoration-color: var(--brand); }
.screen-summary { margin: 0; color: var(--ink-2); }
.screen-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: auto; padding-top: .6rem; }
.screen-foot .book-actions { padding-top: 0; margin-top: 0; }

/* Layanan */
.service-card {
    display: flex; flex-direction: column; gap: .45rem; padding: 1.35rem; border-radius: .5rem;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.section-alt .service-card { background: var(--paper); }
.service-card strong { font-size: 1.1rem; }
.service-card span { color: var(--ink-2); font-size: .97rem; }
.service-card em { margin-top: auto; padding-top: .6rem; font-style: normal; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); }
.service-card:hover { border-color: var(--ink-3); color: var(--ink); }
.service-card:hover em { text-decoration-color: var(--brand); }

/* Bukti (angka nyata dari database) */
.proof { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; margin: 0 0 2.75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.proof div { display: flex; flex-direction: column-reverse; }
.proof dt { font-weight: 400; color: var(--ink-2); font-size: .95rem; }
.proof dd { margin: 0; font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.proof dd small { font-size: 1.1rem; font-weight: 600; color: var(--ink-3); }

.btn-invert-line {
    --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255, 255, 255, .6);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .12); --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255, 255, 255, .2);
}

/* ---------- Testimoni ---------- */

.quote { margin: 0; padding-left: 1.1rem; border-left: 3px solid var(--brand); display: flex; flex-direction: column; gap: .8rem; height: 100%; }
.stars { color: #e8a317; display: flex; gap: .1rem; font-size: .85rem; }
.quote-body { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.quote-author { margin-top: auto; font-size: .95rem; }
.quote-author strong { display: block; }
.quote-author span { color: var(--ink-3); }

/* ---------- FAQ ---------- */

.faq-accordion {
    --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line);
    --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ink);
    --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; --bs-accordion-btn-padding-x: 0; --bs-accordion-body-padding-x: 0;
    border-top: 1px solid var(--ink);
}
.faq-accordion .accordion-item { border-width: 0 0 1px; }
.faq-accordion .accordion-button { font-weight: 600; font-size: 1.05rem; padding-block: 1.1rem; color: var(--ink); }
.faq-accordion .accordion-button:not(.collapsed) { box-shadow: none; }
.faq-accordion .accordion-button:focus-visible { outline: 2px solid var(--brand); }
.faq-accordion .accordion-body { padding-top: 0; padding-bottom: 1.25rem; color: var(--ink-2); max-width: 44rem; }

/* ---------- Ajakan (CTA) ---------- */

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: .75rem; background: var(--brand); color: #fff; }
.cta-title { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .35rem; }
.cta-text { margin: 0; font-size: 1.08rem; }
.section.pt-0 { padding-top: 0; }

/* ---------- Katalog ---------- */

.catalog-toolbar {
    position: sticky; top: calc(56px + var(--promo-h)); z-index: 100; padding: .75rem 0;
    background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-block: 1px solid var(--line);
}
.tab-scroll { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: .15rem; margin: -.15rem; }
.tab-scroll::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .4rem .75rem; border-radius: .4rem; font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border: 1px solid transparent; }
.tab:hover { color: var(--ink); border-color: var(--line); }
.tab.active { background: var(--ink); color: var(--paper); font-weight: 600; }
.tab-count { font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tab.active .tab-count { color: inherit; opacity: .7; }
.sub-tabs { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.tab-sm { font-size: .88rem; padding: .3rem .6rem; }
.sub-tabs .tab.active { background: rgba(var(--brand-rgb), .12); color: var(--ink); }

.type-switch { display: inline-flex; padding: .2rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); }
.type-switch a { padding: .3rem .75rem; border-radius: .35rem; font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.type-switch a:hover { color: var(--ink); }
.type-switch a.active { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }

.search-box { position: relative; max-width: 480px; }
.search-box > i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search-box .form-control { padding: .7rem 6.5rem .7rem 2.6rem; border-radius: .5rem; background: var(--surface); border-color: var(--line-2); }
.search-box .form-control:focus { border-color: var(--ink); box-shadow: none; }
.search-count { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: .85rem; color: var(--ink-3); pointer-events: none; }
[data-search].is-hidden { display: none; }

.empty-state { padding: 3rem 0; color: var(--ink-2); max-width: 30rem; }

/* ---------- Halaman karya ---------- */

.item-top { padding: calc(6.5rem + var(--promo-h)) 0 2rem; }
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); aspect-ratio: 4 / 3.2; border-radius: .5rem; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.gallery-main.is-plain { cursor: default; aspect-ratio: 4 / 3.6; }
.gallery-main.is-plain .cover-plain { padding: 2.5rem 2.5rem 2.25rem 3rem; }
.gallery-main.is-plain .cover-plain-title { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 80%; }
.gallery-zoom { position: absolute; right: .75rem; bottom: .75rem; width: 2.4rem; height: 2.4rem; border-radius: .4rem; display: grid; place-items: center; background: rgba(15, 22, 30, .7); color: #fff; }
.gallery-caption { margin: .6rem 0 0; font-size: .92rem; color: var(--ink-3); }
.thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; padding: .2rem; scrollbar-width: thin; }
.thumb { flex: none; width: 76px; height: 60px; padding: 0; border-radius: .35rem; overflow: hidden; border: 2px solid transparent; background: var(--surface); opacity: .65; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--ink); }

.buy-box { position: sticky; top: calc(84px + var(--promo-h)); padding: 1.6rem; border-radius: .6rem; background: var(--surface); border: 1px solid var(--line); }
.badge { font-weight: 600; font-size: .8rem; padding: .3em .6em; border-radius: .3rem; }
.badge-cat { background: var(--paper); color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); }
.badge-cat:hover { color: var(--ink); border-color: var(--line-2); }
.badge-sale { background: rgba(var(--brand-rgb), .12); color: var(--ink); }
.badge-showcase { background: var(--paper); color: var(--ink-3); border: 1px solid var(--line); }
.badge-discount { background: #c92a2a; color: #fff; }
.item-title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin-bottom: .75rem; }
.item-summary { color: var(--ink-2); font-size: 1.05rem; }
.price-box { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.price-now { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-old { color: var(--ink-3); }
.price-note { display: block; margin-top: .3rem; color: var(--ink-2); }
.specs { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs dt { font-weight: 400; color: var(--ink-3); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }

.content-card { padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: .6rem; background: var(--surface); border: 1px solid var(--line); }
.content-card-title { font-size: 1.2rem; display: flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; }
.content-card-title i { color: var(--brand); }

.prose { font-size: 1.05rem; line-height: 1.72; color: var(--ink-2); max-width: 42rem; }
.prose-lg { font-size: 1.15rem; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3 { color: var(--ink); margin: 2rem 0 .7rem; font-size: 1.3rem; }
.prose h3 { font-size: 1.12rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .3rem; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--brand); }

.mobile-buy {
    position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 1030;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .6rem .6rem .6rem 1rem; border-radius: .6rem; background: var(--surface); border: 1px solid var(--line-2);
    box-shadow: 0 10px 30px -14px rgba(10, 20, 30, .5); transform: translateY(150%); transition: transform .35s var(--ease);
}
.mobile-buy.is-visible { transform: none; }
.mobile-buy div { min-width: 0; }
.mobile-buy small { display: block; font-size: .78rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:has(.mobile-buy.is-visible) .wa-float, body:has(.mobile-buy.is-visible) .to-top { bottom: 5.25rem; }

.lightbox-content { background: transparent; border: 0; }
.lightbox-content .carousel-item img { max-height: 82vh; max-width: 100%; border-radius: .4rem; }
.lightbox-close { position: absolute; top: -2.5rem; right: 0; z-index: 5; }
.lightbox-caption { text-align: center; color: #fff; margin: .75rem 0 0; font-size: .92rem; }
.modal-backdrop.show { opacity: .85; }
.ask-modal { border-radius: .75rem; border: 1px solid var(--line); padding: .5rem; background: var(--surface); }

/* ---------- Tentang & kontak ---------- */

.about-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 2rem; }
.about-photo { width: 9rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .4rem; border: 1px solid var(--line); }
.about-initials { width: 6rem; height: 6rem; display: grid; place-items: center; border-radius: .4rem; background: var(--ink); color: var(--paper); font-size: 2rem; font-weight: 800; }

.panel-box { padding: clamp(1.25rem, 3vw, 2rem); border-radius: .6rem; background: var(--paper); border: 1px solid var(--line); }
.section-alt .panel-box { background: var(--paper); }

.contact-list { margin: 0; border-top: 1px solid var(--line-2); }
.contact-list a { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.contact-list a > i { width: 1.5rem; font-size: 1.25rem; color: var(--ink-2); text-align: center; }
.contact-list strong { display: block; font-weight: 600; }
.contact-list small { color: var(--ink-3); font-size: .9rem; }
.contact-list a:hover strong { text-decoration: underline; text-decoration-color: var(--brand); }

.message-form .form-control { background: var(--surface); border-color: var(--line-2); border-radius: .45rem; }
.message-form .form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .15); }
.form-floating > label { color: var(--ink-3); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Halaman Hire ---------- */

.status-line { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: var(--ink-2); }
.status-dot { width: .6rem; height: .6rem; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.hire-rate { margin: 1.25rem 0 0; color: var(--ink-2); font-weight: 600; }

.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0 2.5rem; margin: 0; border-top: 1px solid var(--ink); }
.service-list > div { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.service-list dt { font-size: 1.15rem; margin-bottom: .3rem; }
.service-list dd { margin: 0; color: var(--ink-2); }

.case-card { display: flex; flex-direction: column; overflow: hidden; border-radius: .5rem; background: var(--paper); border: 1px solid var(--line); }
.case-cover { display: block; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.case-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem 1.25rem 1.3rem; flex: 1; }
.case-title { font-size: 1.15rem; margin: 0; }
.case-title a { color: var(--ink); text-decoration: none; }
.case-title a:hover { text-decoration: underline; text-decoration-color: var(--brand); }
.case-summary { color: var(--ink-2); font-size: .97rem; margin: 0; }
.case-links { margin-top: auto; padding-top: .7rem; display: flex; flex-wrap: wrap; gap: 1.25rem; font-weight: 600; font-size: .95rem; }
.case-links a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); }
.case-links a:hover { text-decoration-color: var(--brand); }

.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.chips li { padding: .15rem .55rem; border-radius: .3rem; font-size: .85rem; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; margin: 0; counter-reset: step; }
.steps li { position: relative; padding-top: 1rem; border-top: 2px solid var(--ink); }
.step-no { display: block; font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--brand-text); margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.step-title { font-size: 1.1rem; margin-bottom: .35rem; }
.steps p { color: var(--ink-2); margin: 0; font-size: .98rem; }

.check-list { display: grid; gap: .6rem; margin: 0; }
.check-list li { display: flex; gap: .6rem; color: var(--ink-2); }
.check-list i { color: var(--ok); font-size: 1.15rem; line-height: 1.4; }

/* ---------- CV ---------- */

.cv-page { padding: calc(6rem + var(--promo-h)) 0 4rem; }
.cv-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; max-width: 1040px; margin: 0 auto 1rem; }
.cv-sheet {
    max-width: 1040px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: .4rem;
    padding: clamp(1.5rem, 4.5vw, 3.5rem); box-shadow: 0 1px 2px rgba(10, 20, 30, .06), 0 24px 48px -32px rgba(10, 20, 30, .3);
}
.cv-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.25rem 2rem; padding-bottom: 2rem; border-bottom: 2px solid var(--ink); }
.cv-photo { width: 132px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .3rem; }
.cv-id { flex: 1; min-width: 15rem; }
.cv-name { font-size: clamp(2.2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 0 0 .5rem; }
.cv-headline { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--ink-2); margin: 0 0 .9rem; }
.cv-head .status-line { margin: 0; font-size: .97rem; }
.cv-head .status-line strong { color: var(--ink); font-weight: 600; }

.cv-body { display: grid; grid-template-columns: 17rem 1fr; gap: 0 3.5rem; padding-top: 2rem; }
@media (max-width: 991.98px) { .cv-body { grid-template-columns: 1fr; } .cv-side { order: 2; padding-top: 1rem; border-top: 1px solid var(--line); } }
.cv-block + .cv-block { margin-top: 2.25rem; }
.cv-block-title { font-size: 1.02rem; font-weight: 700; color: var(--brand-text); margin: 0 0 1rem; letter-spacing: 0; }

.cv-contacts { margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.cv-contacts li { display: flex; gap: .65rem; align-items: baseline; min-width: 0; }
.cv-contacts i { color: var(--ink-3); flex: none; width: 1rem; }
.cv-contacts a, .cv-contacts span { color: var(--ink); overflow-wrap: anywhere; }
.cv-contacts a { text-decoration-color: var(--line-2); }
.cv-contacts a:hover { text-decoration-color: var(--brand); }

.cv-skill-group + .cv-skill-group { margin-top: 1rem; }
.cv-skill-group h3 { font-size: .92rem; font-weight: 600; color: var(--ink-2); margin: 0 0 .45rem; }
.cv-side .chips li { background: var(--paper); color: var(--ink); }

.cv-langs { margin: 0; display: grid; gap: .45rem; font-size: .95rem; }
.cv-langs div { display: flex; justify-content: space-between; gap: 1rem; }
.cv-langs dt { font-weight: 600; }
.cv-langs dd { margin: 0; color: var(--ink-2); text-align: right; }

.cv-summary { font-size: 1.08rem; color: var(--ink); max-width: none; }
.cv-entries { margin: 0; display: grid; gap: 1.6rem; }
.cv-entry { display: grid; grid-template-columns: 9.5rem 1fr; gap: .25rem 1.5rem; }
@media (max-width: 575.98px) { .cv-entry { grid-template-columns: 1fr; } }
.cv-when { color: var(--ink-2); font-size: .92rem; font-variant-numeric: tabular-nums; padding-top: .15rem; }
.cv-when span { display: block; }
.cv-when small { display: block; color: var(--ink-3); font-size: .85rem; }
.cv-entry-title { font-size: 1.1rem; margin: 0 0 .15rem; line-height: 1.35; }
.cv-entry-title a { color: var(--ink); text-decoration-color: var(--line-2); }
.cv-entry-title a i { font-size: .7em; color: var(--ink-3); }
.cv-org { margin: 0 0 .45rem; color: var(--ink); font-weight: 500; }
.cv-org span { color: var(--ink-3); font-weight: 400; }
.cv-desc { font-size: .98rem; line-height: 1.62; max-width: none; }
.cv-desc ul { margin-bottom: 0; }

.cv-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }

.person-card { display: flex; gap: 1.1rem; padding: 1.1rem; border-radius: .5rem; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.person-card:hover { color: var(--ink); border-color: var(--line-2); }
.person-photo { width: 5.5rem; aspect-ratio: 3 / 4; flex: none; object-fit: cover; border-radius: .3rem; }
.person-initials { display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 1.4rem; }
.person-body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.person-name { font-size: 1.15rem; }
.person-headline { color: var(--ink-2); font-size: .95rem; }
.person-body .status-line { margin: .2rem 0 0; font-size: .88rem; }
.person-cta { margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: var(--line-2); }
.person-card:hover .person-cta { text-decoration-color: var(--brand); }

/* ---------- Footer ---------- */

.site-footer { padding: 4rem 0 2rem; background: var(--footer); color: #b4bec8; }
.brand-footer { display: inline-block; color: #fff; margin-bottom: .75rem; }
.brand-footer:hover { color: #fff; }
.footer-note { color: #94a0ac; max-width: 24rem; }
.footer-title { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .9rem; }
.footer-links li + li { margin-top: .5rem; }
.footer-links a { color: #b4bec8; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.social-btn { width: 2.4rem; height: 2.4rem; border-radius: .45rem; display: grid; place-items: center; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .16); }
.social-btn:hover { color: #fff; border-color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .9rem; color: #8592a0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-legal a { color: #b4bec8; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.legal-body { max-width: 46rem; }
.footer-top-link { color: #b4bec8; }
.footer-top-link:hover { color: #fff; }

/* ---------- Tombol melayang ---------- */

.wa-float {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 1040; height: 3rem; min-width: 3rem; padding: 0 1rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border-radius: .6rem; background: #15803d; color: #fff; text-decoration: none; font-weight: 600;
    box-shadow: 0 8px 20px -10px rgba(10, 60, 30, .7); transition: bottom .35s var(--ease);
}
.wa-float i { font-size: 1.3rem; }
.wa-float:hover { color: #fff; background: #178446; }
.wa-float-label { display: none; }
@media (min-width: 768px) { .wa-float-label { display: inline; } }

.to-top {
    position: fixed; right: 1rem; bottom: 4.75rem; z-index: 1040; width: 2.75rem; height: 2.75rem; padding: 0;
    display: grid; place-items: center; border-radius: .5rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2);
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, bottom .35s var(--ease);
}
body:not(:has(.wa-float)) .to-top { bottom: 1rem; }
.to-top.is-visible { opacity: 1; visibility: visible; }
body:has(.mobile-buy.is-visible) .to-top { bottom: 9rem; }

.toast { border-radius: .5rem; }

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

/* ---------- Cetak (CV jadi PDF) ---------- */

@page { size: A4; margin: 14mm 14mm 16mm; }
@media print {
    :root, [data-bs-theme="dark"] {
        --paper: #fff; --surface: #fff; --ink: #111a22; --ink-2: #3c4752; --ink-3: #6b7680; --line: #d5dadf; --line-2: #c0c7cd;
    }
    body { background: #fff !important; font-size: 10.5pt; }
    .site-header, .site-footer, .wa-float, .to-top, .toast-container, .cv-toolbar, .skip-link { display: none !important; }
    .cv-page { padding: 0; }
    .cv-page .container { max-width: none; padding: 0; }
    .cv-sheet { border: 0; box-shadow: none; padding: 0; max-width: none; }
    .cv-head { padding-bottom: 5mm; }
    .cv-photo { width: 28mm; }
    .cv-name { font-size: 24pt; }
    .cv-headline { font-size: 12.5pt; }
    .cv-body { grid-template-columns: 52mm 1fr; gap: 0 9mm; padding-top: 6mm; }
    .cv-side { order: 0; padding-top: 0; border-top: 0; }
    .cv-block + .cv-block { margin-top: 6mm; }
    .cv-entry { break-inside: avoid; grid-template-columns: 36mm 1fr; }
    .cv-entries { gap: 4.5mm; }
    .cv-block-title { break-after: avoid; }
    .cv-contacts a { text-decoration: none; }
    .cv-entry-title a i { display: none; }
    .cv-foot { margin-top: 8mm; }
    * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* ---------- Automation di beranda ---------- */

.auto-section { background: var(--surface); border-block: 1px solid var(--line); }
.auto-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.auto-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem 1.5rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.auto-proof dd { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.auto-proof dt { font-size: .85rem; font-weight: 400; color: var(--ink-2); }
.auto-proof div { display: flex; flex-direction: column; min-width: 0; }

.auto-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.auto-route { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper); }
.auto-route h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .2rem; font-size: 1.2rem; }
.auto-route h3 i { color: var(--brand-text); }
.auto-lead { margin-bottom: 1.1rem; color: var(--ink-2); }
.auto-steps { margin: 0 0 1rem; padding: 0; list-style: none; counter-reset: langkah; }
.auto-steps li { position: relative; padding: 0 0 1rem 2.4rem; counter-increment: langkah; }
.auto-steps li::before { content: counter(langkah); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); font-size: .82rem; font-weight: 700; }
.auto-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(.8rem - .5px); top: 1.7rem; bottom: .1rem; width: 1px; background: var(--line-2); }
.auto-steps strong { display: block; line-height: 1.6rem; }
.auto-steps span { display: block; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.auto-fit { margin: auto 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-weight: 600; font-size: .97rem; }
.auto-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.75rem; }
.auto-note { margin: 0; max-width: 28rem; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 991.98px) { .auto-head { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 767.98px) { .auto-routes { grid-template-columns: 1fr; } .auto-route { padding: 1.15rem; } }
@media (max-width: 575.98px) { .auto-foot .btn { width: 100%; } }

/* ---------- Logo ---------- */

.brand-logo { display: block; width: auto; max-width: 11rem; height: 2.25rem; object-fit: contain; object-position: left center; }
.brand-logo-alt { display: none; }
[data-bs-theme="dark"] .brand.has-alt .brand-logo-main { display: none; }
[data-bs-theme="dark"] .brand.has-alt .brand-logo-alt { display: block; }
/* Logo gelap tanpa versi terang: tetap terbaca di latar gelap. */
[data-bs-theme="dark"] .brand:not(.has-alt) .brand-logo, .brand-logo.on-plate { padding: .15rem .4rem; border-radius: .3rem; background: #fff; box-sizing: content-box; }
.brand-footer .brand-logo { height: 2.5rem; }
@media (max-width: 575.98px) { .brand-logo { max-width: 8.5rem; height: 2rem; } }
