/* =====================================================================
   Berikode - tampilan area publik
   ===================================================================== */

/* ------------------------------ Navbar ------------------------------ */
.bk-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bk-line-soft);
}

.bk-nav-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.bk-nav-logo img { height: 30px; width: auto; display: block; }

.bk-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    margin: 0 auto 0 1.4rem;
    padding: 0;
    list-style: none;
}

.bk-nav-menu a {
    position: relative;
    display: block;
    padding: .35rem 0;
    color: var(--bk-ink-2);
    font-size: .93rem;
    font-weight: 500;
}

.bk-nav-menu a:hover { color: var(--bk-ink); }
.bk-nav-menu .is-active a { color: var(--bk-ink); font-weight: 600; }

.bk-nav-menu .is-active a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.4rem;
    height: 2px;
    border-radius: 2px;
    background: var(--bk-accent);
}

.bk-nav-actions { display: flex; align-items: center; gap: .6rem; }

/* -------------------------------- Hero ------------------------------- */
.bk-hero {
    position: relative;
    overflow: hidden;
    padding: 4.2rem 0 4rem;
    background:
        radial-gradient(880px 460px at 88% -12%, rgba(124, 192, 10, .13), transparent 62%),
        radial-gradient(760px 420px at 6% 104%, rgba(43, 89, 255, .07), transparent 60%),
        var(--bk-bg);
}

/* Latar dekoratif ---------------------------------------------------- */
.bk-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.bk-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(36, 31, 30, .045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(36, 31, 30, .045) 1px, transparent 1px);
    background-size: 46px 46px;
    /* Kisi memudar ke tepi agar tidak terlihat seperti tabel. */
    -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 38%, #000 38%, transparent 100%);
    mask-image: radial-gradient(ellipse 78% 68% at 50% 38%, #000 38%, transparent 100%);
}

.bk-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(78px);
    opacity: .5;
    animation: bkHanyut 17s ease-in-out infinite;
}

.bk-hero-glow-1 {
    width: 480px;
    height: 420px;
    top: -140px;
    right: -60px;
    background: rgba(124, 192, 10, .34);
}

.bk-hero-glow-2 {
    width: 420px;
    height: 380px;
    bottom: -180px;
    left: -80px;
    background: rgba(43, 89, 255, .22);
    animation-delay: -8s;
    animation-duration: 21s;
}

@keyframes bkHanyut {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%      { transform: translate3d(-26px, 22px, 0) scale(1.07); }
    66%      { transform: translate3d(20px, -16px, 0) scale(.95); }
}

/* Tata letak dua kolom ------------------------------------------------ */
.bk-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    gap: 2.5rem;
}

.bk-hero-inner { max-width: 34rem; }

.bk-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    margin-bottom: 1.05rem;
}

/* Sorotan judul digambar sebagai garis yang "tumbuh" saat halaman dibuka. */
.bk-hero h1 .bk-hl { position: relative; white-space: nowrap; }

.bk-hero h1 .bk-hl::after {
    content: '';
    position: absolute;
    left: -.06em;
    right: -.06em;
    bottom: .06em;
    height: .34em;
    z-index: -1;
    border-radius: .12em;
    background: linear-gradient(90deg, rgba(124, 192, 10, .42), rgba(124, 192, 10, .22));
    transform: scaleX(0);
    transform-origin: left center;
    animation: bkSorot .7s cubic-bezier(.22, .8, .3, 1) .75s forwards;
}

@keyframes bkSorot { to { transform: scaleX(1); } }

.bk-hero p {
    max-width: 34rem;
    margin-bottom: 1.7rem;
    color: var(--bk-muted);
    font-size: 1.06rem;
}

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

.bk-hero-note {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 1.4rem 0 0;
    color: var(--bk-dim);
    font-size: .85rem;
}

.bk-hero-note i { color: var(--bk-lime-dark); font-size: 1rem; }

.bk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .8rem .3rem .45rem;
    margin-bottom: 1.3rem;
    border: 1px solid var(--bk-line);
    border-radius: 999px;
    background: var(--bk-surface);
    font-size: .82rem;
    color: var(--bk-muted);
    box-shadow: 0 1px 2px rgba(36, 31, 30, .05);
}

.bk-hero-badge b {
    padding: .1rem .45rem;
    border-radius: 999px;
    background: var(--bk-ink);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
}

/* Ilustrasi ----------------------------------------------------------- */
.bk-hero-visual { position: relative; }

.bk-hero-art {
    position: relative;
    /* Perbandingan mengikuti berkas hasil pangkas: 1100 x 895. */
    aspect-ratio: 1100 / 895;
    max-width: 640px;
    margin-left: auto;
}

.bk-hero-blob {
    position: absolute;
    inset: 6% 2% 12% 4%;
    z-index: 0;
    border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
    background:
        radial-gradient(closest-side, rgba(124, 192, 10, .30), rgba(124, 192, 10, .07) 70%, transparent);
    animation: bkBlob 15s ease-in-out infinite;
}

@keyframes bkBlob {
    0%, 100% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; transform: rotate(0) scale(1); }
    50%      { border-radius: 56% 44% 42% 58% / 44% 56% 44% 56%; transform: rotate(6deg) scale(1.04); }
}

.bk-hero-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    /* Bayangan lembut supaya sosoknya "berdiri" di atas latar. */
    filter: drop-shadow(0 26px 34px rgba(36, 31, 30, .16));
    animation: bkMasukGambar .9s cubic-bezier(.22, .8, .3, 1) both,
               bkApung 6.5s ease-in-out 1s infinite;
}

@keyframes bkMasukGambar {
    from { opacity: 0; transform: translateY(26px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

@keyframes bkApung {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-13px); }
}

/* Kartu mengambang ---------------------------------------------------- */
.bk-hero-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .85rem;
    border: 1px solid var(--bk-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px rgba(36, 31, 30, .13);
    white-space: nowrap;
    opacity: 0;
    animation: bkMasukChip .6s cubic-bezier(.22, .8, .3, 1) var(--tunda, .4s) forwards,
               bkApungChip 5.5s ease-in-out calc(var(--tunda, .4s) + .6s) infinite;
}

.bk-hero-chip strong { display: block; font-size: .87rem; line-height: 1.25; }
.bk-hero-chip span { display: block; font-size: .74rem; color: var(--bk-muted); }

.bk-hero-chip code {
    padding: .3rem .45rem;
    border-radius: 8px;
    background: var(--bk-ink);
    color: var(--bk-lime);
    font-size: .8rem;
    font-weight: 700;
}

.bk-hero-chip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--bk-accent-soft);
    color: var(--bk-accent);
    font-size: .95rem;
}

/* Titik "berdenyut" penanda sistem yang hidup. */
.bk-hero-chip-dot {
    position: relative;
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--bk-lime);
}

.bk-hero-chip-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--bk-lime);
    opacity: 0;
    animation: bkDenyut 2.2s ease-out infinite;
}

@keyframes bkDenyut {
    0%   { transform: scale(.55); opacity: .85; }
    100% { transform: scale(1.25); opacity: 0; }
}

.bk-hero-chip-1 { top: 7%;  left: -4%; }
.bk-hero-chip-2 { bottom: 20%; left: -7%; animation-duration: .6s, 6.2s; }
.bk-hero-chip-3 { bottom: 6%; right: -2%; animation-duration: .6s, 5.9s; }

@keyframes bkMasukChip {
    from { opacity: 0; transform: translateY(14px) scale(.94); }
    to   { opacity: 1; transform: none; }
}

@keyframes bkApungChip {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

/* Munculnya blok teks ------------------------------------------------- */
.bk-reveal {
    opacity: 0;
    animation: bkNaik .7s cubic-bezier(.22, .8, .3, 1) forwards;
}

.bk-hero-inner .bk-reveal:nth-child(1) { animation-delay: .05s; }
.bk-hero-inner .bk-reveal:nth-child(2) { animation-delay: .14s; }
.bk-hero-inner .bk-reveal:nth-child(3) { animation-delay: .23s; }
.bk-hero-inner .bk-reveal:nth-child(4) { animation-delay: .32s; }
.bk-hero-inner .bk-reveal:nth-child(5) { animation-delay: .41s; }

@keyframes bkNaik {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* Deretan angka di bawah hero */
.bk-hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 3rem;
    border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius);
    background: var(--bk-line);
    overflow: hidden;
    box-shadow: var(--bk-shadow);
    animation-delay: .5s;
}

.bk-hero-stats div { padding: 1.2rem 1.3rem; background: var(--bk-surface); }

.bk-hero-stats strong {
    display: block;
    font-size: 1.7rem;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.bk-hero-stats span { font-size: .82rem; color: var(--bk-muted); }

/* Gerak dimatikan bila pengguna memintanya lewat pengaturan sistem. */
@media (prefers-reduced-motion: reduce) {
    .bk-hero-glow,
    .bk-hero-blob,
    .bk-hero-img,
    .bk-hero-chip,
    .bk-hero-chip-dot::after,
    .bk-reveal,
    .bk-hero h1 .bk-hl::after {
        animation: none !important;
    }

    .bk-reveal, .bk-hero-chip { opacity: 1; }
    .bk-hero h1 .bk-hl::after { transform: scaleX(1); }
}

/* ------------------------------ Section ------------------------------ */
.bk-section { padding: 4.5rem 0; }
.bk-section-alt { background: var(--bk-bg-2); }
.bk-section-ink { background: var(--bk-ink); color: #EDE9E7; }
.bk-section-ink h2, .bk-section-ink h3 { color: #fff; }
.bk-section-ink .bk-eyebrow { color: #8FA9FF; }

.bk-section-head { max-width: 680px; margin-bottom: 2.4rem; }
.bk-section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .6rem; }
.bk-section-head p { margin: 0; color: var(--bk-muted); font-size: 1.02rem; }

.bk-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: none;
    flex-wrap: wrap;
}

/* ------------------------------- Kartu ------------------------------- */
/* Jumlah kolom ditetapkan eksplisit. Dengan auto-fill, grid membentuk
   kolom kosong bila ruangnya masih cukup, sehingga empat kartu terlihat
   menepi dan lebarnya tidak proporsional. */
.bk-cards { display: grid; gap: 1.15rem; align-items: stretch; }
.bk-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.6rem 1.45rem;
    border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

/* Garis tipis di tepi atas yang muncul saat kursor menyentuh kartu. */
.bk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bk-accent), var(--bk-lime));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .28s cubic-bezier(.22, .8, .3, 1);
}

.bk-card:hover {
    border-color: transparent;
    box-shadow: var(--bk-shadow);
    transform: translateY(-3px);
}

.bk-card:hover::before { transform: scaleX(1); }

.bk-card h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: .35rem;
}

.bk-card p { margin: 0; color: var(--bk-muted); font-size: .91rem; }

/* Kalimat pengantar di bawah judul, sedikit lebih tegas dari deskripsi. */
.bk-card-lead {
    margin-bottom: .5rem !important;
    color: var(--bk-ink-2) !important;
    font-weight: 500;
}

/* Tinggi kartu sudah disamakan oleh grid, jadi teksnya dibiarkan
   mengalir dari atas; mendorongnya ke dasar justru menyisakan celah
   kosong di tengah kartu yang isinya pendek. */
.bk-card-desc { margin-top: 0 !important; }

.bk-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.05rem;
    border-radius: 12px;
    background: var(--bk-accent-soft);
    color: var(--bk-accent);
    font-size: 1.3rem;
    transition: transform .18s ease;
}

.bk-card:hover .bk-card-icon { transform: translateY(-2px) rotate(-4deg); }

/* Kartu solusi memakai aksen hijau agar dua bagian yang berdampingan
   tidak terlihat sebagai daftar yang sama. */
.bk-cards-solusi .bk-card-icon { background: var(--bk-lime-soft); color: var(--bk-lime-dark); }

/* Kartu proses bernomor */
.bk-step { position: relative; padding-left: 3.4rem; }

.bk-step-num {
    position: absolute;
    left: 0;
    top: .1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--bk-ink);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
}

.bk-step h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.bk-step p { color: var(--bk-muted); font-size: .92rem; margin: 0; }

/* ------------------- Daftar bertahap sambil menggulir ---------------- */
.bk-scroller { position: relative; }

/* Kartu yang baru datang tidak muncul mendadak. */
.bk-project-masuk {
    animation: bkKartuMasuk .5s cubic-bezier(.22, .8, .3, 1) var(--tunda, 0s) both;
}

@keyframes bkKartuMasuk {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

.bk-scroll-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 2.2rem 0 .6rem;
    color: var(--bk-muted);
    font-size: .88rem;
}

.bk-scroll-end[hidden] { display: none; }
.bk-scroll-end a { color: var(--bk-accent); font-weight: 600; }

.bk-spinner {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    border: 2px solid var(--bk-line);
    border-top-color: var(--bk-accent);
    border-radius: 50%;
    animation: bkPutar .7s linear infinite;
}

@keyframes bkPutar { to { transform: rotate(360deg); } }

.bk-scroll-habis {
    margin: 2rem 0 0;
    padding-top: 1.4rem;
    border-top: 1px solid var(--bk-line-soft);
    color: var(--bk-dim);
    font-size: .85rem;
    text-align: center;
}

.bk-scroll-habis[hidden] { display: none; }

/* ----------------- Blok halaman muncul saat digulir ------------------ */
.bk-masuk {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s cubic-bezier(.22, .8, .3, 1),
                transform .55s cubic-bezier(.22, .8, .3, 1);
}

.bk-masuk.is-tampil { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .bk-project-masuk { animation: none; }
    .bk-masuk { opacity: 1; transform: none; transition: none; }
    .bk-spinner { animation-duration: 2s; }
}
/* --------------------------- Kartu project --------------------------- */
.bk-project {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
    overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.bk-project:hover { border-color: var(--bk-dim); box-shadow: var(--bk-shadow); transform: translateY(-2px); }

.bk-project-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bk-bg-2);
    overflow: hidden;
}

.bk-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bk-project:hover .bk-project-media img { transform: scale(1.04); }

.bk-project-cat {
    position: absolute;
    top: .7rem;
    left: .7rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: rgba(36, 31, 30, .82);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.bk-project-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.3rem; }
.bk-project-body h3 { font-size: 1.08rem; margin-bottom: .35rem; color: var(--bk-ink); }
.bk-project-body p { margin: 0 0 1rem; color: var(--bk-muted); font-size: .9rem; }

.bk-project-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: auto;
    padding-top: .85rem;
    border-top: 1px solid var(--bk-line-soft);
    color: var(--bk-dim);
    font-size: .8rem;
}

/* ------------------------- Halaman detail ---------------------------- */
.bk-pagehead {
    padding: 3rem 0 2.4rem;
    border-bottom: 1px solid var(--bk-line-soft);
    background: var(--bk-surface);
}

.bk-pagehead h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: .5rem; }
.bk-pagehead p { margin: 0; max-width: 46rem; color: var(--bk-muted); font-size: 1.02rem; }

.bk-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    font-size: .82rem;
    color: var(--bk-dim);
}

.bk-crumbs li + li::before { content: '/'; margin-right: .4rem; }

.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.6rem; }

.bk-side-box {
    padding: 1.3rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
}

.bk-side-box h4 { font-size: .95rem; margin-bottom: .9rem; }

.bk-deflist { margin: 0; font-size: .9rem; }
.bk-deflist dt { color: var(--bk-dim); font-size: .78rem; }
.bk-deflist dd { margin: 0 0 .8rem; color: var(--bk-ink); font-weight: 500; }
.bk-deflist dd:last-child { margin-bottom: 0; }

.bk-prose { font-size: 1.02rem; line-height: 1.8; color: var(--bk-ink-2); }
.bk-prose p { margin: 0 0 1.1rem; }
.bk-prose h2 { font-size: 1.35rem; margin: 2rem 0 .7rem; }
.bk-prose h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.bk-prose ul, .bk-prose ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.bk-prose li { margin-bottom: .35rem; }

.bk-casebox {
    padding: 1.3rem 1.4rem;
    margin-bottom: 1rem;
    border: 1px solid var(--bk-line);
    border-left: 3px solid var(--bk-accent);
    border-radius: var(--bk-radius-sm);
    background: var(--bk-surface);
}

.bk-casebox h3 { font-size: 1rem; margin-bottom: .4rem; }
.bk-casebox p { margin: 0; color: var(--bk-muted); font-size: .95rem; }

/* Galeri project */
.bk-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }

.bk-gallery a {
    display: block;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius-sm);
    overflow: hidden;
    background: var(--bk-bg-2);
}

.bk-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.bk-gallery a:hover img { transform: scale(1.05); }

/* ------------------------------- CTA --------------------------------- */
.bk-cta {
    padding: 3rem;
    border-radius: var(--bk-radius);
    background:
        radial-gradient(700px 300px at 88% 0%, rgba(43, 89, 255, .30), transparent 62%),
        var(--bk-ink);
    color: #fff;
    text-align: center;
}

.bk-cta h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: .6rem; }
.bk-cta p { max-width: 36rem; margin: 0 auto 1.7rem; color: rgba(255, 255, 255, .72); }
.bk-cta .bk-btn-outline { border-color: rgba(255,255,255,.28); color: #fff; }
.bk-cta .bk-btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ------------------------------ Footer ------------------------------- */
.bk-footer {
    padding: 3.4rem 0 1.6rem;
    background: var(--bk-ink);
    color: rgba(255, 255, 255, .68);
    font-size: .9rem;
}

.bk-footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 2.4rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.bk-footer img { height: 26px; margin-bottom: 1rem; }
.bk-footer h5 { color: #fff; font-size: .88rem; margin-bottom: .9rem; }
.bk-footer ul { margin: 0; padding: 0; list-style: none; }
.bk-footer li { margin-bottom: .45rem; }
.bk-footer a { color: rgba(255, 255, 255, .68); }
.bk-footer a:hover { color: #fff; }

.bk-social { display: flex; gap: .5rem; margin-top: 1.1rem; }

.bk-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--bk-radius-sm);
    font-size: 1rem;
}

.bk-social a:hover { background: rgba(255, 255, 255, .1); }

.bk-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem;
    padding-top: 1.4rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
}

/* ------------------------------ Lightbox ----------------------------- */
.bk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(20, 17, 16, .92);
    cursor: zoom-out;
}

.bk-lightbox[hidden] { display: none; }
.bk-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--bk-radius); }

/* ------------------------------ Responsif ---------------------------- */
@media (max-width: 1180px) {
    .bk-hero-chip-1 { left: 0; }
    .bk-hero-chip-2 { left: -2%; }
    .bk-hero-chip-3 { right: 0; }
}

@media (max-width: 1080px) {
    .bk-layout { grid-template-columns: 1fr; }
    .bk-footer-grid { grid-template-columns: 1fr 1fr; }
    .bk-cards-3, .bk-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Hero menumpuk: teks lebih dulu, ilustrasi di bawahnya. */
@media (max-width: 940px) {
    .bk-hero-layout { grid-template-columns: 1fr; gap: 2rem; }
    .bk-hero-inner { max-width: 40rem; }
    .bk-hero-art { margin: 0 auto; max-width: 520px; }
    .bk-hero p { max-width: 40rem; }
}

@media (max-width: 980px) {
    .bk-nav-menu, .bk-nav-actions { display: none; }
    .bk-nav-inner { height: 64px; justify-content: space-between; }
}

@media (max-width: 720px) {
    .bk-section { padding: 3rem 0; }
    .bk-hero { padding: 2.6rem 0 3rem; }
    .bk-footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .bk-cta { padding: 2rem 1.3rem; }
    .bk-hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 2.2rem; }
    .bk-hero-stats div { padding: .95rem 1rem; }
    .bk-hero-stats strong { font-size: 1.4rem; }
    .bk-hero-actions .bk-btn { flex: 1 1 auto; justify-content: center; }

    /* Kartu mengambang dikecilkan dan ditarik ke dalam supaya tidak
       terpotong tepi layar. */
    .bk-hero-chip { padding: .45rem .6rem; border-radius: 11px; }
    .bk-hero-chip strong { font-size: .78rem; }
    .bk-hero-chip span { font-size: .68rem; }
    .bk-hero-chip-1 { top: 3%; left: 1%; }
    /* Kartu kedua ditarik masuk agar tidak terpotong tepi layar
       dan tidak bertumpuk dengan tombol menu mengambang. */
    .bk-hero-chip-2 { bottom: 24%; left: 2%; }
    .bk-hero-chip-3 { display: none; }

    /* Cahaya hijau dilembutkan supaya tepi atas layar sempit tidak
       terlihat seperti blok warna. */
    .bk-hero {
        background:
            radial-gradient(560px 320px at 92% 4%, rgba(124, 192, 10, .10), transparent 64%),
            radial-gradient(520px 300px at 4% 100%, rgba(43, 89, 255, .06), transparent 62%),
            var(--bk-bg);
    }
}

@media (max-width: 560px) {
    .bk-cards-2, .bk-cards-3, .bk-cards-4 { grid-template-columns: 1fr; }
    .bk-card { padding: 1.25rem 1.15rem; }
}
