/* ==========================================================================
   Sibah Web — stylesheet utama
   ========================================================================== */

:root {
    --biru: #1878f0;      /* biru logo */
    --biru-tua: #0d4db8;  /* biru logo gelap (hover / teks aksen) */
    --biru-muda: #eaf2fc;
    --oranye: #f8821e;    /* oranye logo — aksen utama tombol & badge */
    --teks: #1b2430;
    --abu: #64748b;
    --garis: #e5eaf1;
    --bg: #f6f9fd;
    --putih: #fff;
    --radius: 14px;
    --shadow: 0 8px 30px rgba(13, 77, 184, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--teks);
    background: var(--putih);
    line-height: 1.65;
    font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--biru); text-decoration: none; }
a:hover { color: var(--biru-tua); }

.container { width: min(1160px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; }

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.badge-aktif { background: #dcfce7; color: #166534; }
.badge-nonaktif { background: #fee2e2; color: #991b1b; }

/* --------------------------------------------------------------------------
   Tombol
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .18s ease;
    font-family: inherit;
    line-height: 1.3;
}
.btn i { font-size: 18px; }
.btn-primary { background: var(--biru); color: #fff; }
.btn-primary:hover { background: var(--biru-tua); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--biru); color: var(--biru); background: transparent; }
.btn-outline:hover { background: var(--biru); color: #fff; }
.btn-wa { background: #16a34a; color: #fff; }
.btn-wa:hover { background: #15803d; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; color: #7f1d1d; }
.btn-gold { background: var(--oranye); color: #fff; }
.btn-gold:hover { background: #e06f0c; color: #fff; }

/* --------------------------------------------------------------------------
   Topbar & navigasi
   -------------------------------------------------------------------------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--garis);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--teks); }
.brand-img {
    height: 52px;
    width: auto;
    display: block;
}
.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--biru), var(--biru-tua));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; font-weight: 800; color: var(--biru-tua); }
.brand-text small { font-size: 11px; color: var(--abu); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--teks); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--biru); }
.nav a.aktif { color: var(--biru); }
.nav a.btn-gold { color: #fff; }
.nav a.btn-gold:hover { color: #fff; }
.nav-cta { margin-left: 6px; }

.nav-toggle, .nav-burger { display: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    background:
        radial-gradient(1000px 400px at 85% -10%, rgba(246, 184, 28, .18), transparent 60%),
        linear-gradient(135deg, #0d2b52 0%, var(--biru-tua) 55%, var(--biru) 100%);
    color: #fff;
    padding: 110px 0 170px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto -5% -60% -5%;
    height: 55%;
    background: var(--putih);
    border-radius: 50% 50% 0 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 660px; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 18px; }
.hero h1 .grad {
    background: linear-gradient(90deg, var(--oranye), #ffab4d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p { font-size: 18px; color: #dbe7f7; max-width: 640px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--biru-tua); }

/* --------------------------------------------------------------------------
   Slider hero — background full-width dengan efek Ken Burns
   -------------------------------------------------------------------------- */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0d2b52;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.aktif { opacity: 1; }
.hero-slide.aktif img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.08) translate(-1.2%, -1%); }
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(9, 30, 60, .96) 0%, rgba(13, 43, 82, .88) 42%, rgba(19, 70, 134, .55) 100%);
}
.hero-chips {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 46px;
    z-index: 2;
    pointer-events: none;
}
.hero-chip {
    position: absolute;
    left: 4%;
    bottom: 0;
    max-width: 420px;
    background: rgba(255, 255, 255, .97);
    border-left: 4px solid var(--oranye);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 14px 34px rgba(4, 20, 45, .35);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}
.hero-chip.aktif { opacity: 1; transform: translateY(0); }
.hero-chip small {
    display: inline-block;
    background: var(--oranye);
    color: #fff;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}
.hero-chip span { display: block; font-weight: 600; color: var(--biru-tua); font-size: 14px; line-height: 1.45; }

.hero-dots {
    position: absolute;
    right: 4%;
    bottom: 58px;
    display: flex;
    gap: 6px;
    z-index: 3;
}
.hero-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: rgba(13, 43, 82, .3);
    cursor: pointer;
    padding: 0;
    transition: all .25s ease;
}
.hero-dots button.aktif { width: 24px; background: var(--oranye); }
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 22px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .15s ease;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--oranye); color: #fff; }
.hero-arrow.hero-prev { left: 18px; }
.hero-arrow.hero-next { right: 18px; }

/* --------------------------------------------------------------------------
   Section umum
   -------------------------------------------------------------------------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .kicker {
    color: var(--biru);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 8px 0 12px; }
.section-head p { color: var(--abu); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   Kartu
   -------------------------------------------------------------------------- */
.card {
    background: var(--putih);
    border: 1px solid var(--garis);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
a.card { color: inherit; display: block; }
a.card:hover { transform: translateY(-4px); color: inherit; box-shadow: 0 14px 40px rgba(19,70,134,.14); }

.card .ikon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--biru-muda);
    color: var(--biru);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--abu); font-size: 15px; }
.card .link { color: var(--biru); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; }

.card-gambar { border-radius: 10px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 16/10; background: var(--biru-muda); }
.card-gambar img { width: 100%; height: 100%; object-fit: cover; }

.kartu-produk .harga { color: var(--biru-tua); font-weight: 800; font-size: 18px; margin-top: 10px; }
.tag {
    display: inline-block;
    background: var(--biru-muda);
    color: var(--biru);
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: 700;
    margin: 2px 4px 2px 0;
}
.tag-abu { background: #f1f5f9; color: var(--abu); }

/* --------------------------------------------------------------------------
   Hero kecil (header halaman dalam)
   -------------------------------------------------------------------------- */
.page-hero {
    background: linear-gradient(135deg, #0d2b52, var(--biru-tua));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); }
.page-hero p { color: #c9dcf5; max-width: 640px; margin: 10px auto 0; }

/* --------------------------------------------------------------------------
   Form
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: 14px; }
.form-group label span { color: #dc2626; }
.input, textarea.input, select.input {
    padding: 12px 14px;
    border: 1.5px solid var(--garis);
    border-radius: 10px;
    font: inherit;
    background: #fff;
    transition: border-color .15s ease;
    width: 100%;
}
.input:focus { outline: none; border-color: var(--biru); }
textarea.input { min-height: 130px; resize: vertical; }
.form-error { color: #dc2626; font-size: 13px; font-weight: 600; }

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.alert-sukses { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* --------------------------------------------------------------------------
   Slider testimoni
   -------------------------------------------------------------------------- */
.testi-slider {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}
.testi-track { position: relative; min-height: 300px; }
.testi-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(40px) scale(.97);
    transition: opacity .55s ease, transform .55s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
}
.testi-slide.aktif {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    position: relative;
}
.testi-card {
    background: #fff;
    border: 1px solid var(--garis);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 38px 40px 32px;
    position: relative;
    width: 100%;
}
.testi-quote {
    position: absolute;
    top: -26px;
    left: 36px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--biru), var(--biru-tua));
    color: var(--oranye);
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: 0 10px 24px rgba(19, 70, 134, .35);
}
.testi-bintang { color: var(--oranye); font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.testi-bintang .ti-star { color: #d7dee9; }
.testi-isi { font-size: 16.5px; color: #334155; line-height: 1.75; margin-bottom: 22px; }
.testi-orang { display: flex; align-items: center; gap: 14px; }
.testi-orang img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--biru-muda);
}
.testi-inisial {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--biru);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
}
.testi-orang strong { display: block; font-size: 15px; color: var(--teks); }
.testi-orang small { color: var(--abu); font-size: 13px; }

.testi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--biru-tua);
    font-size: 22px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(19, 70, 134, .22);
    transition: all .15s ease;
}
.testi-nav:hover { background: var(--oranye); color: #fff; }
.testi-prev { left: -52px; }
.testi-next { right: -52px; }

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 26px;
}
.testi-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: #cbd8ea;
    cursor: pointer;
    padding: 0;
    transition: all .25s ease;
}
.testi-dots button.aktif { width: 24px; background: var(--biru); }

@media (max-width: 900px) {
    .testi-prev { left: -8px; }
    .testi-next { right: -8px; }
    .testi-card { padding: 30px 24px 26px; }
    .testi-track { min-height: 340px; }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    background: linear-gradient(120deg, var(--biru-tua), var(--biru));
    color: #fff;
    border-radius: 20px;
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-band h3 { font-size: 26px; }
.cta-band p { color: #cfe0f5; margin-top: 6px; }

/* --------------------------------------------------------------------------
   Stat / keunggulan
   -------------------------------------------------------------------------- */
.keunggulan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.keunggulan .item { display: flex; gap: 14px; align-items: flex-start; }
.keunggulan .item i { font-size: 30px; color: var(--biru); flex-shrink: 0; }
.keunggulan .item h4 { font-size: 16px; margin-bottom: 4px; }
.keunggulan .item p { color: var(--abu); font-size: 14px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-grid .angka { font-size: 38px; font-weight: 800; color: var(--biru-tua); }
.stat-grid .label { color: var(--abu); font-weight: 600; font-size: 14px; }

/* --------------------------------------------------------------------------
   Tabel (admin)
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--garis); border-radius: var(--radius); }
table.tabel { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tabel th, table.tabel td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--garis); }
table.tabel th { background: var(--bg); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--abu); }
table.tabel tr:last-child td { border-bottom: none; }
table.tabel tbody tr:hover { background: #f8fbff; }

/* --------------------------------------------------------------------------
   Admin layout
   -------------------------------------------------------------------------- */
.admin-body { display: flex; min-height: 100vh; background: var(--bg); }
.admin-side {
    width: 240px;
    background: #0d2b52;
    color: #cbd8ea;
    padding: 22px 14px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.admin-side .brand-side { color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; }
.admin-side .brand-side i { color: var(--oranye); }
.admin-side a.side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd8ea;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}
.admin-side a.side-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-side a.side-link.aktif { background: var(--biru); color: #fff; }
.admin-side .side-sep { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #5c7699; padding: 14px 12px 6px; }
.admin-main { flex: 1; padding: 28px 32px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 12px; flex-wrap: wrap; }
.admin-top h1 { font-size: 24px; }
.stat-card { display: flex; align-items: center; gap: 16px; }
.stat-card .ikon { margin-bottom: 0; }

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0d2b52, var(--biru));
    padding: 24px;
}
.login-card { width: min(420px, 100%); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: #0d2b52; color: #b9c9de; margin-top: 0; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.footer-logo { height: 46px; width: auto; display: block; margin-bottom: 4px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 40px;
    padding: 56px 0 40px;
}
.footer p { font-size: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #b9c9de; }
.footer-links a:hover { color: #fff; }
.footer-kontak { list-style: none; font-size: 14px; }
.footer-kontak li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.footer-kontak i { color: var(--oranye); margin-top: 4px; }
.sosial { display: flex; gap: 10px; margin-top: 16px; }
.sosial a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
}
.sosial a:hover { background: var(--biru); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px; text-align: center; }

/* --------------------------------------------------------------------------
   WhatsApp float
   -------------------------------------------------------------------------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 32px;
    box-shadow: 0 10px 26px rgba(34,197,94,.45);
    z-index: 60;
    transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* --------------------------------------------------------------------------
   Artikel / konten teks
   -------------------------------------------------------------------------- */
.artikel-isi { font-size: 16.5px; color: #334155; }
.artikel-isi p { margin-bottom: 16px; }
.artikel-meta { color: var(--abu); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0 22px; }
.artikel-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------
   Detail blog — desain elegan
   -------------------------------------------------------------------------- */
.blog-hero { padding: 64px 0 120px; }
.blog-hero h1 {
    max-width: 820px;
    margin: 14px auto 0;
    font-size: clamp(26px, 4vw, 40px);
}
.blog-hero-tag {
    background: var(--oranye);
    color: #fff;
    font-weight: 800;
    padding: 4px 14px;
}
.blog-hero-meta { justify-content: center; color: #c9dcf5; margin: 16px 0 0; }

.blog-detail { padding-top: 0; }
.blog-wrap { max-width: 860px; }

.blog-featured {
    margin: -90px 0 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(13, 43, 82, .28);
    border: 6px solid #fff;
    background: var(--biru-muda);
}
.blog-featured img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; display: block; }

.artikel-card {
    background: #fff;
    border: 1px solid var(--garis);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: clamp(26px, 5vw, 48px);
    margin-top: 34px;
}

.drop-cap > p:first-of-type::first-letter {
    font-size: 54px;
    line-height: .85;
    font-weight: 800;
    color: var(--biru-tua);
    float: left;
    padding: 6px 12px 0 0;
}

.artikel-isi p + p { margin-top: 2px; }

.artikel-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px dashed var(--garis);
    font-weight: 700;
    font-size: 14px;
    color: var(--abu);
}
.artikel-share a,
.artikel-share button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--garis);
    background: #fff;
    color: var(--biru);
    font-size: 19px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .15s ease;
}
.artikel-share a:hover,
.artikel-share button:hover {
    background: var(--biru);
    border-color: var(--biru);
    color: #fff;
    transform: translateY(-2px);
}
.artikel-share button { font-family: inherit; }

.penulis-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--garis);
    border-radius: 16px;
    padding: 24px 26px;
    margin-top: 26px;
}
.penulis-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--biru), var(--biru-tua));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 26px;
    flex-shrink: 0;
}
.penulis-box small { color: var(--abu); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-weight: 700; }
.penulis-box strong { display: block; font-size: 17px; color: var(--biru-tua); margin: 2px 0 6px; }
.penulis-box p { color: var(--abu); font-size: 14px; margin: 0; }

.blog-kembali { margin-top: 30px; text-align: center; }

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */
@media (min-width: 961px) and (max-width: 1100px) {
    .hero-inner { max-width: 640px; }
}

@media (max-width: 960px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .keunggulan { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 72px 0 170px; }
    .hero-arrow { display: none; }
    .hero-chips { bottom: 24px; }
    .hero-chip { max-width: calc(100% - 48px); }
    .hero-dots { bottom: auto; top: 20px; right: 20px; }
    .hero-dots button { background: rgba(255, 255, 255, .55); }

    /* Nav mobile */
    .nav-burger { display: block; font-size: 28px; color: var(--biru-tua); cursor: pointer; }
    .brand-img { height: 44px; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 4%;
        border-bottom: 1px solid var(--garis);
        box-shadow: var(--shadow);
        display: none;
    }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav a { padding: 12px 4px; border-bottom: 1px solid var(--garis); }
    .nav .nav-cta { margin: 12px 0; text-align: center; justify-content: center; border-bottom: none; }

    .admin-body { flex-direction: column; }
    .admin-side { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .admin-main { padding: 20px; }
}

@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero { padding: 64px 0 160px; }
    .hero-kicker { font-size: 12px; }
    .cta-band { padding: 28px; }
    .section { padding: 52px 0; }
}

/* ---------------------------------------------------------------
   Konten WYSIWYG (editor rich text) di halaman publik
   --------------------------------------------------------------- */
.konten-wysiwyg { color: var(--abu); font-size: 16px; line-height: 1.75; }
.konten-wysiwyg p { margin-bottom: 15px; }
.konten-wysiwyg h2, .konten-wysiwyg h3, .konten-wysiwyg h4 {
    color: var(--biru); margin: 26px 0 12px; line-height: 1.3;
}
.konten-wysiwyg h2 { font-size: 22px; }
.konten-wysiwyg h3 { font-size: 19px; }
.konten-wysiwyg h4 { font-size: 17px; }
.konten-wysiwyg ul, .konten-wysiwyg ol { margin: 0 0 15px 22px; }
.konten-wysiwyg ul { list-style: disc; }
.konten-wysiwyg ol { list-style: decimal; }
.konten-wysiwyg li { margin-bottom: 7px; }
.konten-wysiwyg a { color: var(--biru); text-decoration: underline; }
.konten-wysiwyg img {
    max-width: 100%; height: auto; border-radius: 12px;
    margin: 10px 0; box-shadow: var(--shadow);
}
.konten-wysiwyg figure { margin: 18px 0; }
.konten-wysiwyg figcaption {
    font-size: 13px; color: var(--abu); text-align: center; margin-top: 7px;
}
.konten-wysiwyg blockquote {
    margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--oranye);
    background: #fff4e5; border-radius: 0 10px 10px 0; color: #8a4a08;
}
.konten-wysiwyg blockquote p:last-child { margin-bottom: 0; }
.konten-wysiwyg hr { border: none; border-top: 1px dashed var(--garis); margin: 24px 0; }
.konten-wysiwyg table {
    width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px;
}
.konten-wysiwyg th, .konten-wysiwyg td {
    border: 1px solid var(--garis); padding: 9px 12px; text-align: left;
}
.konten-wysiwyg th { background: #f1f5f9; color: var(--biru); }
.konten-wysiwyg code {
    background: #f1f5f9; padding: 2px 7px; border-radius: 6px;
    font-size: 14px; color: #be123c;
}
.konten-wysiwyg pre {
    background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 10px;
    overflow-x: auto; margin: 16px 0;
}
.konten-wysiwyg pre code { background: none; color: inherit; padding: 0; }

/* Info unggah gambar editor di admin */
.editor-upload-info {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 600; color: var(--biru);
    background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px;
    padding: 5px 12px; margin-bottom: 8px;
}

/* ------------------------------------------------------------------------
   Promo
   ------------------------------------------------------------------------ */
.promo-section { padding-top: 46px; }

.kartu-promo {
    position: relative;
    border: 2px dashed var(--oranye);
    background: linear-gradient(160deg, #fff8f0, #fff 55%);
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* Ruang sisa kartu diserap sebelum garis putus-putus — bukan lubang di bawah */
.kartu-promo p { margin: 0 0 14px; }
.kartu-promo .promo-meta { margin-top: auto; }

.promo-ribbon {
    position: absolute;
    top: -13px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--oranye), #ff9f43);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(248, 130, 30, .35);
}

.promo-potongan {
    font-size: 26px;
    font-weight: 800;
    color: var(--oranye);
    margin: 6px 0 10px;
    letter-spacing: -.5px;
}

.promo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 4px;
    padding-top: 12px;
    border-top: 1px dashed rgba(248, 130, 30, .35);
}

.promo-deadline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #c2410c;
    background: #ffedd5;
    padding: 5px 11px;
    border-radius: 999px;
}

.promo-deadline.kritis {
    color: #b91c1c;
    background: #fee2e2;
    animation: promo-kritis 1.1s ease-in-out infinite;
}

@keyframes promo-kritis {
    0%, 100% { opacity: 1; }
    50%      { opacity: .55; }
}

.promo-cta { margin-top: 12px; width: 100%; justify-content: center; }

.promo-lewat { opacity: .6; filter: grayscale(.35); }
.promo-deadline.lewat { color: #64748b; background: #e2e8f0; }

.promo-gambar {
    margin: -6px 0 14px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(248, 130, 30, .25);
    aspect-ratio: 16 / 9;
    background: #fff;
}


.promo-gambar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.kartu-promo:hover .promo-gambar img { transform: scale(1.045); }

/* ------------------------------------------------------------------------
   Strip promo di atas situs
   ------------------------------------------------------------------------ */
.promo-strip {
    position: relative;
    z-index: 60;
    background: linear-gradient(90deg, var(--oranye), #ff9f43 55%, var(--oranye));
    color: #fff;
    padding: 9px 46px 9px 16px;
}

.promo-strip-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    text-align: center;
}

.promo-strip-teks {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-strip-teks i.ti-bolt { font-size: 15px; }

.promo-strip-teks strong {
    background: rgba(255, 255, 255, .22);
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.promo-strip-judul { font-weight: 600; }

.promo-strip-deadline {
    background: rgba(13, 43, 82, .28);
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12.5px;
    white-space: nowrap;
}

.promo-strip-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    color: #c2410c;
    font-size: 12.5px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.promo-strip-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13, 43, 82, .25); color: #9a3412; }

.promo-strip-tutup {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .18);
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 14px;
    transition: background .2s ease;
}

.promo-strip-tutup:hover { background: rgba(255, 255, 255, .34); }

.promo-strip.tutup { display: none; }

@media (max-width: 640px) {
    .promo-strip { padding: 8px 42px 8px 10px; }
    .promo-strip-judul { display: none; }
}

.promo-penonton {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--abu);
    margin-top: 10px;
}

.promo-penonton .angka { color: #16a34a; font-weight: 800; }

.titik-hijau {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex: none;
    animation: titik-hidup 1.6s ease-in-out infinite;
}

@keyframes titik-hidup {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); }
    50%       { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}



/* ---------------------------------------------------------------
   Promo 1 baris — gulir horizontal snap (tanpa slider otomatis)
   --------------------------------------------------------------- */
.promo-scroll-wrap { position: relative; }

.promo-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 16px 4px 18px;
    margin: -16px -4px -4px;
    scrollbar-width: none;
}

.promo-scroll::-webkit-scrollbar { display: none; }

.promo-item {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
    scroll-snap-align: start;
    display: flex;
}

.promo-item .kartu-promo { width: 100%; }

.promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(248, 130, 30, .45);
    background: #fff;
    color: var(--biru-tua);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(30, 41, 59, .14);
    transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .25s ease;
    z-index: 2;
}

.promo-nav:hover { background: var(--oranye); color: #fff; border-color: var(--oranye); }
.promo-nav.prev { left: -15px; }
.promo-nav.next { right: -15px; }
.promo-nav.sembunyi { opacity: 0; pointer-events: none; }

@media (max-width: 960px) {
    .promo-item { flex-basis: calc((100% - 22px) / 2); }
    .promo-nav.prev { left: -8px; }
    .promo-nav.next { right: -8px; }
}

@media (max-width: 620px) {
    .promo-item { flex-basis: 86%; }
    .promo-nav { display: none; }
}

.promo-item > .card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------------------------
   Kartu blog & produk di baris gulir — teks terpotong rapi agar
   judul, harga, dan tombol sejajar antar kartu dalam satu baris
   --------------------------------------------------------------- */
.promo-item .kartu-produk h3,
.promo-item a.card > h3[style] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.promo-item .kartu-produk p:not(.harga),
.promo-item a.card > p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 2);
}

/* Harga produk & tombol blog selalu di dasar kartu */
.promo-item .kartu-produk { display: flex; flex-direction: column; }
.promo-item .kartu-produk .harga { margin-top: auto; padding-top: 10px; }

.promo-item a.card { display: flex; flex-direction: column; }
.promo-item a.card .link { margin-top: auto; padding-top: 12px; }
.promo-item a.card .link { align-self: flex-start; }

/* ------------------------- Banner ucapan hari raya ------------------------- */
.banner-ucapan {
    position: relative;
    overflow: hidden;
    padding: 26px 0;
    background: linear-gradient(120deg, #0b2447 0%, #19376d 55%, #b45309 130%);
}
.banner-ucapan .ucapan-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.banner-ucapan .ucapan-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11,36,71,.88) 0%, rgba(11,36,71,.55) 55%, rgba(11,36,71,.25) 100%);
}
.banner-ucapan .ucapan-inner {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap;
}
.banner-ucapan .ucapan-teks { display: flex; align-items: center; gap: 16px; }
.banner-ucapan .ucapan-ikon {
    flex: 0 0 auto;
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.14);
    color: var(--oranye);
    font-size: 26px;
    border: 1px solid rgba(255,255,255,.25);
}
.banner-ucapan h3 { color: #fff; font-size: 20px; margin: 0 0 4px; }
.banner-ucapan p { color: rgba(255,255,255,.85); font-size: 14.5px; margin: 0; max-width: 720px; }
.banner-ucapan .btn { flex: 0 0 auto; }
@media (max-width: 700px) {
    .banner-ucapan h3 { font-size: 17px; }
    .banner-ucapan .ucapan-ikon { width: 42px; height: 42px; font-size: 20px; }
}
