/* ============================================================
   DPMPTSP — Design System
   ============================================================ */
:root {
    --navy: #0a3550;
    --navy-deep: #041e30;
    --teal: #0f9d8a;
    --teal-light: #2dd4bf;
    --sand: #f3f6f9;
    --sand-2: #e4ebf1;
    --ink: #0f1b24;
    --muted: #5c6d7a;
    --white: #ffffff;
    --success: #15803d;
    --warning: #b45309;
    --danger: #b91c1c;
    --info: #0369a1;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 12px 40px rgba(4, 30, 48, 0.08);
    --shadow-lg: 0 24px 60px rgba(4, 30, 48, 0.14);
    --font: 'Plus Jakarta Sans', sans-serif;
    --serif: 'Source Serif 4', Georgia, serif;
    --header-h: 78px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--sand);
    line-height: 1.6;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }
ul { list-style: none; }

.container {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(226,235,240,0.9);
    height: var(--header-h);
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(4, 30, 48, 0.08);
}

.has-hero-header .site-header--transparent {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
}

.has-hero-header .site-header--transparent .brand,
.has-hero-header .site-header--transparent .nav-links a {
    color: var(--white);
}

.has-hero-header .site-header--transparent .brand-text small { color: rgba(255,255,255,0.72); }
.has-hero-header .site-header--transparent .brand-mark { color: var(--teal-light); }
.has-hero-header .site-header--transparent .menu-toggle {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--white);
}
.has-hero-header .site-header--transparent .menu-toggle-bars i { background: var(--white); }

.has-hero-header .site-header--transparent .nav-links a:hover,
.has-hero-header .site-header--transparent .nav-links a.active {
    background: rgba(255,255,255,0.14);
    color: var(--white);
}

.has-hero-header .site-header--transparent .btn-outline {
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.has-hero-header .site-header--transparent .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.has-hero-header .site-header--transparent .btn-primary {
    background: var(--white);
    color: var(--navy);
}

.has-hero-header .site-header--transparent.is-scrolled,
.has-hero-header .site-header--transparent.is-solid {
    background: rgba(255,255,255,0.94);
    border-bottom-color: var(--sand-2);
}

.has-hero-header .site-header--transparent.is-scrolled .brand,
.has-hero-header .site-header--transparent.is-solid .brand,
.has-hero-header .site-header--transparent.is-scrolled .nav-links a,
.has-hero-header .site-header--transparent.is-solid .nav-links a {
    color: var(--ink);
}

.has-hero-header .site-header--transparent.is-scrolled .brand-text small,
.has-hero-header .site-header--transparent.is-solid .brand-text small { color: var(--muted); }

.has-hero-header .site-header--transparent.is-scrolled .brand-mark,
.has-hero-header .site-header--transparent.is-solid .brand-mark { color: var(--teal); }

.has-hero-header .site-header--transparent.is-scrolled .menu-toggle,
.has-hero-header .site-header--transparent.is-solid .menu-toggle {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 27, 36, 0.1);
    color: var(--navy);
}
.has-hero-header .site-header--transparent.is-scrolled .menu-toggle-bars i,
.has-hero-header .site-header--transparent.is-solid .menu-toggle-bars i { background: var(--navy); }

.has-hero-header .site-header--transparent.is-scrolled .btn-outline,
.has-hero-header .site-header--transparent.is-solid .btn-outline {
    border-color: var(--navy);
    color: var(--navy);
}

.has-hero-header .site-header--transparent.is-scrolled .btn-primary,
.has-hero-header .site-header--transparent.is-solid .btn-primary {
    background: var(--navy);
    color: var(--white);
}

.site-header > .container {
    width: min(1280px, calc(100% - 1.75rem));
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 0.75rem;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--navy);
    transition: color 0.3s var(--ease);
    flex-shrink: 0;
    min-width: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    color: var(--teal);
    transition: color 0.3s var(--ease);
    flex-shrink: 0;
}

.brand-logos {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    object-position: center;
    padding: 0.28rem;
    border-radius: 14px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #fff, #f5f8fb);
    border: 1px solid rgba(15, 27, 36, 0.08);
    box-shadow: 0 6px 14px rgba(8, 36, 58, 0.08);
}

.brand-logo--provinsi { box-shadow: 0 0 0 1px rgba(11, 79, 122, 0.12), 0 6px 14px rgba(8, 36, 58, 0.08); }
.brand-logo--kabupaten { box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.12), 0 6px 14px rgba(8, 36, 58, 0.08); }
.brand-logo--instansi { box-shadow: 0 0 0 1px rgba(29, 126, 240, 0.14), 0 6px 14px rgba(8, 36, 58, 0.08); }

.brand-text strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.68rem;
    transition: color 0.3s var(--ease);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    min-width: 0;
    flex: 1 1 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    min-width: 0;
    flex-wrap: nowrap;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    margin-left: 0.25rem;
    padding-left: 0.55rem;
    border-left: 1px solid rgba(15, 27, 36, 0.1);
}

.has-hero-header .site-header--transparent .nav-cta {
    border-left-color: rgba(255, 255, 255, 0.22);
}

.has-hero-header .site-header--transparent.is-scrolled .nav-cta,
.has-hero-header .site-header--transparent.is-solid .nav-cta {
    border-left-color: rgba(15, 27, 36, 0.1);
}

.nav-links a {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1;
    padding: 0.5rem 0.78rem;
    border-radius: 999px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links a:hover {
    background: rgba(11, 79, 122, 0.07);
    color: var(--navy);
}

.nav-links a.active {
    background: linear-gradient(180deg, rgba(11, 79, 122, 0.12), rgba(29, 126, 240, 0.1));
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(11, 79, 122, 0.12);
}

.nav-label-full { display: none; }
.nav-label-short { display: inline; }

@media (min-width: 1280px) {
    .nav-label-full { display: inline; }
    .nav-label-short { display: none; }
}

.nav-cta .btn {
    white-space: nowrap;
}

.nav-drawer-head {
    display: none;
}

/* Premium menu toggle (HP / tablet / desktop minimize) */
.menu-toggle {
    --mt-size: 42px;
    display: none;
    align-items: center;
    gap: 0.45rem;
    height: var(--mt-size);
    padding: 0 0.7rem 0 0.45rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 27, 36, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
    color: var(--navy);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 18px rgba(8, 36, 58, 0.08);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
    z-index: 210;
}

.menu-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 79, 122, 0.18);
    box-shadow: 0 10px 22px rgba(8, 36, 58, 0.12);
}

.menu-toggle:active { transform: translateY(0); }

.menu-toggle-visual {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(11, 79, 122, 0.08);
    flex-shrink: 0;
}

.menu-toggle-bars {
    position: relative;
    width: 16px;
    height: 12px;
    display: block;
}

.menu-toggle-bars i {
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, top 0.28s cubic-bezier(0.22, 1, 0.36, 1), width 0.28s ease;
}

.menu-toggle-bars i:nth-child(1) { top: 0; width: 16px; }
.menu-toggle-bars i:nth-child(2) { top: 5px; width: 12px; }
.menu-toggle-bars i:nth-child(3) { top: 10px; width: 14px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:nth-child(1),
.menu-toggle.is-active .menu-toggle-bars i:nth-child(1) {
    top: 5px;
    width: 16px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:nth-child(2),
.menu-toggle.is-active .menu-toggle-bars i:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:nth-child(3),
.menu-toggle.is-active .menu-toggle-bars i:nth-child(3) {
    top: 5px;
    width: 16px;
    transform: rotate(-45deg);
}

.menu-toggle-label {
    padding-right: 0.15rem;
}

.menu-toggle--close {
    padding: 0;
    width: var(--mt-size);
    justify-content: center;
}

.menu-toggle--close .menu-toggle-label { display: none; }

.menu-toggle--dash {
    display: inline-flex;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.78rem 1.35rem;
    border-radius: 999px;
    font-weight: 650;
    font-size: 0.92rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.48rem 1rem; font-size: 0.85rem; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 24px rgba(10,53,80,0.22); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-accent { background: var(--teal); color: var(--white); box-shadow: 0 8px 24px rgba(15,157,138,0.25); }
.btn-accent:hover { background: #0c7f70; color: var(--white); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-block { width: 100%; }

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--navy-deep);
    color: var(--white);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(115deg, rgba(4,30,48,0.88) 0%, rgba(4,30,48,0.55) 45%, rgba(15,157,138,0.28) 100%),
        var(--slide-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 7s linear;
}

.hero-slide.is-active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    padding: 7.5rem 0 7rem;
    max-width: 680px;
}

.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-text,
.hero-slide.is-active .hero-actions {
    animation: slideRise 0.85s var(--ease) both;
}

.hero-slide.is-active .hero-title { animation-delay: 0.08s; }
.hero-slide.is-active .hero-text { animation-delay: 0.16s; }
.hero-slide.is-active .hero-actions { animation-delay: 0.24s; }

.hero-eyebrow {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6.5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin-bottom: 0.85rem;
    text-shadow: 0 10px 40px rgba(0,0,0,0.28);
}

.hero-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 550;
    line-height: 1.35;
    max-width: 28ch;
    margin-bottom: 0.9rem;
    opacity: 0.96;
}

.hero-text {
    font-size: 1.05rem;
    opacity: 0.88;
    margin-bottom: 1.85rem;
    max-width: 42ch;
}

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

.hero-slider .btn-primary {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.hero-slider .btn-primary:hover { background: #f2f7fa; color: var(--navy); }
.hero-slider .btn-outline {
    border-color: rgba(255,255,255,0.78);
    color: var(--white);
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.06);
}
.hero-slider .btn-outline:hover {
    background: rgba(255,255,255,0.16);
    color: var(--white);
}

.hero-slider-ui {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.75rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: width 0.35s var(--ease), background 0.25s var(--ease);
}

.hero-dot.is-active {
    width: 28px;
    background: var(--white);
}

.hero-nav {
    display: flex;
    gap: 0.45rem;
    margin-left: auto;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: 0.2s var(--ease);
}

.hero-arrow:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}

.hero-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.1rem;
    height: 2px;
    background: rgba(255,255,255,0.18);
    overflow: hidden;
    border-radius: 999px;
}

.hero-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--teal-light), #fff);
    transition: width 0.1s linear;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Quick stats */
.quick-stats {
    padding: 0;
    margin-top: -2.25rem;
    position: relative;
    z-index: 6;
}

.stat-pills {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.15rem;
}

.stat-pills > * { min-width: 0; }

.stat-pill {
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, var(--sand));
}

.stat-pill strong {
    display: block;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.stat-pill span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ---- Sections ---- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }

.section-head {
    margin-bottom: 2.5rem;
    max-width: 560px;
    animation: rise 0.6s ease both;
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.55rem;
}

.section-kicker.light { color: rgba(255,255,255,0.75); }

.section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.section-head p { color: var(--muted); }

.check-list {
    margin: 1.25rem 0 1.75rem;
    display: grid;
    gap: 0.55rem;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.95rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(15,157,138,0.15);
}

.link-arrow {
    display: inline-block;
    margin-top: 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--teal);
}

.modern-card {
    background: var(--white);
    border: 1px solid rgba(228,235,241,0.9);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.modern-card .kategori-body,
.modern-card .news-body {
    padding: 1rem 1.1rem 1.2rem;
}

.modern-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* ---- Feature / Service items ---- */
.feature {
    padding: 1.5rem 0;
    border-top: 1px solid var(--sand-2);
    transition: 0.25s ease;
    animation: rise 0.7s ease both;
}

.feature:hover { padding-left: 0.5rem; border-color: var(--teal); }
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13,138,124,0.12);
    color: var(--teal);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 0.85rem;
}

.feature h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.feature p { color: var(--muted); font-size: 0.95rem; }

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    text-align: left;
    padding: 1.25rem 0;
}

.stat strong {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat span { color: var(--muted); font-size: 0.9rem; }
.stat-row.compact { margin-top: 1.5rem; gap: 0.75rem; }
.stat-row.compact .stat { padding: 0.5rem 0; }
.stat-row.compact .stat strong { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

/* ---- Visual strip ---- */
.visual-strip { background: transparent; padding-top: 3.5rem; }
.visual-strip-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2.75rem;
    align-items: center;
}

.visual-strip-grid > * { min-width: 0; }

.visual-photo {
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    animation: fadeUp 0.8s ease both;
}

.visual-photo img {
    width: 100%;
    height: min(420px, 55vw);
    object-fit: cover;
    transition: transform 0.6s ease;
}

.visual-photo:hover img { transform: scale(1.03); }

.visual-copy h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.visual-copy > p { color: var(--muted); max-width: 42ch; }

/* ---- Kategori media cards ---- */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.kategori-grid > * { min-width: 0; }

.kategori-card {
    display: block;
    color: inherit;
    animation: fadeUp 0.7s ease both;
    overflow: hidden;
}

.kategori-media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--sand-2);
}

.kategori-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}

.kategori-card:hover .kategori-media img { transform: scale(1.07); }
.kategori-card:hover h3 { color: var(--teal); }

.kategori-body { padding: 1rem 0 0.25rem; }
.kategori-body h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.kategori-body p { color: var(--muted); font-size: 0.92rem; }

/* ---- Invest banner ---- */
.invest-banner {
    position: relative;
    color: var(--white);
    background: var(--navy-deep);
    padding: 5rem 0;
    overflow: hidden;
}

.invest-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(100deg, rgba(6,42,64,0.88) 0%, rgba(11,61,92,0.55) 55%, rgba(13,138,124,0.35) 100%),
        var(--banner-image);
    background-size: cover;
    background-position: center;
}

.invest-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    animation: fadeUp 0.7s ease both;
}

.invest-banner h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.6rem;
}

.invest-banner p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.invest-banner .btn-primary {
    background: var(--white);
    color: var(--navy);
}

.invest-banner .btn-primary:hover { background: var(--sand); color: var(--navy); }

/* ---- News cards ---- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.news-grid > * { min-width: 0; }

.news-card {
    display: block;
    color: inherit;
    animation: fadeUp 0.7s ease both;
}

.news-media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--sand-2);
    margin-bottom: 0.9rem;
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.news-card:hover .news-media img { transform: scale(1.05); }
.news-card:hover h3 { color: var(--teal); }

.news-body { display: grid; gap: 0.35rem; }
.news-meta { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.news-body h3, .news-item h3 { color: var(--navy); font-size: 1.1rem; line-height: 1.35; }
.news-body p, .news-item p { color: var(--muted); font-size: 0.92rem; }

.news-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--sand-2);
    animation: fadeUp 0.7s ease both;
    color: inherit;
}

.news-item .news-thumb {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--sand-2);
}

.news-item .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.news-item:hover .news-thumb img { transform: scale(1.05); }
.news-item:hover h3 { color: var(--teal); }

.news-detail-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

/* ---- Forms ---- */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 460px;
    margin: 3rem auto;
}

.form-card.wide { max-width: 720px; }

.form-card h1 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.form-card .subtitle { color: var(--muted); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.1rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.form-control {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--sand-2);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--ink);
    transition: 0.15s;
}

.form-control:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13,138,124,0.15);
}

textarea.form-control { min-height: 110px; resize: vertical; }
select.form-control { cursor: pointer; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.form-footer { margin-top: 1.25rem; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* ---- Tables ---- */
.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th, td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--sand-2);
}

th {
    background: var(--sand);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(13,138,124,0.03); }

/* ---- Badges ---- */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-primary { background: rgba(11,61,92,0.12); color: var(--navy); }
.badge-success { background: rgba(21,128,61,0.12); color: var(--success); }
.badge-warning { background: rgba(180,83,9,0.12); color: var(--warning); }
.badge-danger { background: rgba(185,28,28,0.12); color: var(--danger); }
.badge-info { background: rgba(3,105,161,0.12); color: var(--info); }
.badge-muted { background: var(--sand-2); color: var(--muted); }

/* ---- Alerts ---- */
/* ---- Premium alerts (inline) ---- */
.alert {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
    margin: 1rem 0;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(4, 30, 48, 0.06);
    backdrop-filter: blur(10px);
    animation: toastIn 0.45s var(--ease) both;
}

.alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.alert-icon svg { width: 18px; height: 18px; }

.alert-body { min-width: 0; flex: 1; }
.alert-body strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
    letter-spacing: -0.01em;
}
.alert-body p { margin: 0; line-height: 1.45; opacity: 0.92; font-weight: 500; }

.alert-success {
    background: linear-gradient(135deg, rgba(21,128,61,0.1), rgba(21,128,61,0.04));
    color: #166534;
    border-color: rgba(21,128,61,0.18);
}
.alert-success .alert-icon { background: rgba(21,128,61,0.15); color: #15803d; }

.alert-error {
    background: linear-gradient(135deg, rgba(185,28,28,0.1), rgba(185,28,28,0.04));
    color: #991b1b;
    border-color: rgba(185,28,28,0.18);
}
.alert-error .alert-icon { background: rgba(185,28,28,0.14); color: #b91c1c; }

.alert-info {
    background: linear-gradient(135deg, rgba(3,105,161,0.1), rgba(3,105,161,0.04));
    color: #075985;
    border-color: rgba(3,105,161,0.18);
}
.alert-info .alert-icon { background: rgba(3,105,161,0.14); color: #0369a1; }

.alert-warning {
    background: linear-gradient(135deg, rgba(180,83,9,0.12), rgba(180,83,9,0.04));
    color: #9a3412;
    border-color: rgba(180,83,9,0.2);
}
.alert-warning .alert-icon { background: rgba(180,83,9,0.14); color: #b45309; }

/* ---- Toast notifications ---- */
.toast-host {
    position: fixed;
    top: calc(var(--header-h) + 0.85rem);
    right: 1rem;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: min(380px, calc(100vw - 1.5rem));
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow:
        0 18px 50px rgba(4, 30, 48, 0.16),
        0 2px 0 rgba(255,255,255,0.65) inset;
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    overflow: hidden;
    color: var(--ink);
    transform-origin: top right;
    animation: toastIn 0.5s var(--ease) both;
}

.toast.is-leaving {
    animation: toastOut 0.35s var(--ease) both;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 8px 18px rgba(4,30,48,0.18);
}

.toast-icon svg { width: 18px; height: 18px; }

.toast-success .toast-icon { background: linear-gradient(145deg, #22c55e, #15803d); }
.toast-error .toast-icon { background: linear-gradient(145deg, #f87171, #b91c1c); }
.toast-info .toast-icon { background: linear-gradient(145deg, #38bdf8, #0369a1); }
.toast-warning .toast-icon { background: linear-gradient(145deg, #fbbf24, #b45309); }

.toast-content { min-width: 0; padding-top: 0.1rem; }
.toast-title {
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    margin-bottom: 0.15rem;
}
.toast-message {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.45;
    font-weight: 500;
}

.toast-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(15,27,36,0.05);
    color: var(--muted);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s var(--ease);
}
.toast-close:hover { background: rgba(15,27,36,0.1); color: var(--ink); }
.toast-close svg { width: 14px; height: 14px; }

.toast-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(15,27,36,0.06);
}
.toast-progress > span {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left center;
    animation: toastProgress linear forwards;
}
.toast-success .toast-progress > span { background: linear-gradient(90deg, #22c55e, #15803d); }
.toast-error .toast-progress > span { background: linear-gradient(90deg, #f87171, #b91c1c); }
.toast-info .toast-progress > span { background: linear-gradient(90deg, #38bdf8, #0369a1); }
.toast-warning .toast-progress > span { background: linear-gradient(90deg, #fbbf24, #b45309); }

.toast.is-paused .toast-progress > span { animation-play-state: paused; }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-14px) translateX(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-8px) translateX(18px) scale(0.96); }
}

@keyframes toastProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* ---- Premium confirm modal ---- */
.confirm-host {
    position: fixed;
    inset: 0;
    z-index: 4500;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.confirm-host[hidden] { display: none !important; }

.confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 30, 48, 0.45);
    backdrop-filter: blur(8px);
    animation: fadeUp 0.25s ease both;
}

.confirm-card {
    position: relative;
    width: min(400px, 100%);
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 22px;
    padding: 1.5rem 1.4rem 1.25rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: toastIn 0.4s var(--ease) both;
}

.confirm-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.9rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(180,83,9,0.16), rgba(180,83,9,0.06));
    color: #b45309;
}
.confirm-icon svg { width: 26px; height: 26px; }

.confirm-card h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.confirm-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

@media (max-width: 640px) {
    .toast-host {
        top: auto;
        bottom: 1rem;
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
    }
    .toast { animation-name: toastInMobile; }
    .toast.is-leaving { animation-name: toastOutMobile; }
}

@keyframes toastInMobile {
    from { opacity: 0; transform: translateY(18px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOutMobile {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(16px); }
}

/* ---- Page hero (inner) ---- */
.page-hero {
    position: relative;
    color: var(--white);
    padding: 4rem 0 3.25rem;
    overflow: hidden;
    background: var(--navy-deep);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(105deg, rgba(6,42,64,0.9) 0%, rgba(11,61,92,0.72) 50%, rgba(13,138,124,0.4) 100%),
        var(--page-hero-image, none);
    background-size: cover;
    background-position: center;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 0.4rem;
}

.page-hero p { opacity: 0.9; max-width: 50ch; }

/* Auth visual */
.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--header-h));
}

.auth-visual {
    position: relative;
    background: var(--navy-deep);
    overflow: hidden;
}

.auth-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.auth-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(6,42,64,0.45), rgba(13,138,124,0.35));
}

.auth-layout .form-card {
    margin: auto;
    box-shadow: none;
}

/* ---- Service detail ---- */
.layanan-list .feature { cursor: default; }
.layanan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---- Tracking timeline ---- */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--sand-2);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--teal);
}

.timeline-item strong { color: var(--navy); }
.timeline-item small { color: var(--muted); display: block; }

/* ---- Dashboard ---- */
.dashboard-body {
    display: flex;
    min-height: 100vh;
    background: var(--sand);
}

.sidebar {
    width: 250px;
    background: var(--navy-deep);
    color: var(--white);
    padding: 1.5rem 1rem;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-brand {
    padding: 0.5rem 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.sidebar-brand strong { display: block; font-size: 1.1rem; }
.sidebar-brand small { opacity: 0.65; font-size: 0.8rem; }

.sidebar-nav a {
    display: block;
    color: rgba(255,255,255,0.75);
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.dashboard-main { flex: 1; min-width: 0; }

.dash-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--sand-2);
    position: sticky;
    top: 0;
    z-index: 50;
}

.dash-title {
    font-size: 1.25rem;
    color: var(--navy);
}

.dash-user {
    margin-left: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
}

.dash-content { padding: 1.5rem; }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.kpi {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.kpi span {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.kpi strong {
    font-size: 1.85rem;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.panel {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-head h2 {
    font-size: 1.1rem;
    color: var(--navy);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.muted { color: var(--muted); }
.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--muted);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.85);
    padding-top: 3rem;
    margin-top: 2rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.footer-brand .footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    object-position: center;
    padding: 0.35rem;
    border-radius: 16px;
    margin-bottom: 0;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.35), 0 8px 18px rgba(0,0,0,0.18);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-grid > * { min-width: 0; }

.site-footer h3, .site-footer h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-list li { margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer-list a { color: rgba(255,255,255,0.75); }
.footer-list a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ---- Auth page ---- */
.auth-page {
    min-height: calc(100vh - var(--header-h));
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background:
        linear-gradient(160deg, rgba(11,61,92,0.04), rgba(13,138,124,0.08)),
        var(--sand);
}

/* ---- Responsive ---- */
/* Breakpoint detail dipindah ke responsive.css */

/* ---- Pendaftaran Online & Pembayaran ---- */
.register-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.sticky-panel { position: sticky; top: calc(var(--header-h) + 1rem); }

.layanan-picker {
    max-height: 70vh;
    overflow-y: auto;
    display: grid;
    gap: 0.5rem;
    padding-right: 0.25rem;
}

.layanan-option {
    text-align: left;
    border: 1.5px solid var(--sand-2);
    background: var(--sand);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s var(--ease);
}

.layanan-option strong {
    display: block;
    color: var(--navy);
    font-size: 0.9rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.layanan-option span {
    color: var(--muted);
    font-size: 0.78rem;
}

.layanan-option:hover,
.layanan-option.is-selected {
    border-color: var(--teal);
    background: rgba(15,157,138,0.08);
    box-shadow: 0 0 0 3px rgba(15,157,138,0.12);
}

.form-section-title {
    font-size: 1.05rem;
    color: var(--navy);
    margin: 1.5rem 0 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--sand-2);
}

.selected-chip {
    background: linear-gradient(135deg, rgba(10,53,80,0.06), rgba(15,157,138,0.1));
    border: 1px solid rgba(15,157,138,0.2);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
}

.selected-chip strong { display: block; color: var(--navy); }
.selected-chip span { color: var(--muted); font-size: 0.85rem; }
.selected-chip.is-empty {
    background: var(--sand);
    border-style: dashed;
    color: var(--muted);
}

.pay-method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pay-method {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    border: 1.5px solid var(--sand-2);
    border-radius: 14px;
    padding: 0.95rem;
    cursor: pointer;
    transition: 0.2s var(--ease);
    background: var(--white);
}

.pay-method:has(input:checked) {
    border-color: var(--teal);
    background: rgba(15,157,138,0.06);
    box-shadow: 0 0 0 3px rgba(15,157,138,0.12);
}

.pay-method input { margin-top: 0.25rem; accent-color: var(--teal); }
.pay-method strong { display: block; color: var(--navy); margin-bottom: 0.2rem; }
.pay-method small { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }

.pay-summary {
    background: var(--sand);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin: 1rem 0 1.25rem;
    display: grid;
    gap: 0.55rem;
}

.pay-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.pay-summary .total {
    border-top: 1px dashed var(--sand-2);
    padding-top: 0.55rem;
    color: var(--ink);
    font-size: 1rem;
}

.pay-summary .total strong {
    color: var(--navy);
    font-size: 1.15rem;
}

.pay-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1.25rem;
}

.pay-meta p { margin-bottom: 0.45rem; font-size: 0.95rem; }

.qris-box {
    text-align: center;
    background: linear-gradient(180deg, #fff, var(--sand));
    border: 1px solid var(--sand-2);
    border-radius: 18px;
    padding: 1.25rem;
}

.qris-image {
    margin: 0 auto 0.75rem;
    border-radius: 12px;
    background: #fff;
    padding: 0.5rem;
    box-shadow: var(--shadow);
}

.qris-brand {
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.qris-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-top: 0.75rem;
}

.va-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    background: var(--sand);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.va-box span { width: 100%; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.va-box strong {
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.pay-steps {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
    font-size: 0.92rem;
    display: grid;
    gap: 0.4rem;
}

@media (max-width: 960px) {
    .register-layout,
    .pay-layout,
    .pay-method-grid { grid-template-columns: 1fr; }
    .sticky-panel { position: static; }
    .layanan-picker { max-height: 280px; }
}

/* ---- Google Auth ---- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.15rem 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sand-2);
}

.btn-google {
    background: #fff;
    color: #3c4043;
    border: 1.5px solid #dadce0;
    box-shadow: 0 1px 2px rgba(60,64,67,0.08);
    gap: 0.65rem;
}

.btn-google:hover {
    background: #f8f9fa;
    color: #202124;
    border-color: #c6c9ce;
    box-shadow: 0 2px 8px rgba(60,64,67,0.12);
}

.btn-google:disabled,
.btn-google[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.google-icon {
    flex-shrink: 0;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sand-2);
}

/* ---- Daftar Layanan Premium ---- */
.layanan-hero .layanan-search {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.65rem;
    max-width: 560px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 0.35rem;
    backdrop-filter: blur(12px);
}

.layanan-hero .layanan-search .form-control {
    border: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    border-radius: 999px;
}

.layanan-hero .layanan-search .form-control::placeholder { color: rgba(255,255,255,0.7); }
.layanan-hero .layanan-search .form-control:focus { box-shadow: none; }

.layanan-section { padding-top: 2.5rem; }

.layanan-toolbar {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.layanan-filters {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.85rem 0.4rem 0.4rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--sand-2);
    color: var(--ink);
    font-weight: 650;
    font-size: 0.86rem;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(4,30,48,0.04);
    transition: 0.25s var(--ease);
}

.filter-chip:hover {
    border-color: rgba(15,157,138,0.35);
    color: var(--navy);
}

.filter-chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    box-shadow: 0 10px 24px rgba(10,53,80,0.22);
}

.filter-chip-media {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

.filter-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.4rem;
    height: 1.4rem;
    margin-left: 0.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(15,157,138,0.12);
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 800;
}

.filter-chip.is-active .filter-count {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.layanan-result-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.layanan-result-meta strong { color: var(--navy); }
.layanan-result-meta a { margin-left: 0.4rem; font-weight: 700; }

.kategori-showcase {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.kategori-showcase-card {
    position: relative;
    grid-column: span 2;
    min-height: 240px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow);
    animation: fadeUp 0.7s var(--ease) both;
}

.kategori-showcase-card:nth-child(1),
.kategori-showcase-card:nth-child(2) {
    grid-column: span 3;
    min-height: 300px;
}

.kategori-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.kategori-showcase-card:hover img { transform: scale(1.08); }

.kategori-showcase-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(4,30,48,0.05) 20%, rgba(4,30,48,0.82) 100%);
}

.kategori-showcase-count {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    margin-bottom: 0.55rem;
}

.kategori-showcase-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.kategori-showcase-overlay p {
    color: rgba(255,255,255,0.82);
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
}

.kategori-showcase-overlay .link-arrow { color: #fff; }

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.layanan-card {
    background: #fff;
    border: 1px solid rgba(228,235,241,0.95);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    animation: fadeUp 0.65s var(--ease) both;
}

.layanan-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.layanan-card-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--sand-2);
}

.layanan-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}

.layanan-card:hover .layanan-card-media img { transform: scale(1.07); }

.layanan-card-badges {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.layanan-card-body {
    padding: 1.15rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.layanan-card-body h3 {
    font-size: 1.05rem;
    color: var(--navy);
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.layanan-card-body > p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.layanan-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, var(--sand));
    border: 1px solid var(--sand-2);
}

.layanan-card-meta span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 0.15rem;
}

.layanan-card-meta strong {
    color: var(--navy);
    font-size: 0.95rem;
}

.layanan-syarat {
    border-top: 1px dashed var(--sand-2);
    padding-top: 0.55rem;
}

.layanan-syarat summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--teal);
    font-size: 0.88rem;
    list-style: none;
}

.layanan-syarat summary::-webkit-details-marker { display: none; }
.layanan-syarat p {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.layanan-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.empty-premium {
    text-align: center;
    padding: 3.5rem 1rem;
    background: #fff;
    border-radius: 22px;
    border: 1px dashed var(--sand-2);
}

.empty-premium-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: rgba(15,157,138,0.1);
    color: var(--teal);
    font-size: 1.6rem;
    font-weight: 800;
}

.empty-premium h3 { color: var(--navy); margin-bottom: 0.35rem; }
.empty-premium p { color: var(--muted); margin-bottom: 1.1rem; }

@media (max-width: 960px) {
    .kategori-showcase,
    .layanan-grid { grid-template-columns: 1fr 1fr; }
    .kategori-showcase-card,
    .kategori-showcase-card:nth-child(1),
    .kategori-showcase-card:nth-child(2) {
        grid-column: span 1;
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .layanan-hero .layanan-search { flex-direction: column; border-radius: 18px; }
    .kategori-showcase,
    .layanan-grid { grid-template-columns: 1fr; }
    .layanan-card-actions .btn { flex: 1; }
}

/* ---- Admin Pengaturan ---- */
.settings-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.settings-tab {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--sand-2);
    color: var(--ink);
    font-weight: 650;
    font-size: 0.88rem;
}

.settings-tab.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.settings-status {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
}

.settings-status.is-ok {
    background: rgba(21,128,61,0.1);
    color: #166534;
}

.settings-status.is-warn {
    background: rgba(180,83,9,0.12);
    color: #9a3412;
}

.switch-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.switch-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
}

.va-bank-card {
    border: 1px solid var(--sand-2);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, #fff, var(--sand));
}

.logo-settings-grid {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.logo-setting-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 27, 36, 0.08);
    background: linear-gradient(180deg, #fff, #f7fafc);
}

.logo-setting-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    object-position: center;
    padding: 0.4rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #f5f8fb);
    border: 1px solid rgba(15, 27, 36, 0.08);
    box-shadow: 0 6px 14px rgba(8, 36, 58, 0.08);
}

.logo-setting-card strong {
    display: block;
    color: var(--navy);
    font-size: 0.95rem;
}

.logo-setting-card small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
}

/* —— Pengaduan —— */
.pengaduan-wrap {
    max-width: 860px;
}

.pengaduan-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.pengaduan-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--sand-2);
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pengaduan-tab:hover {
    border-color: rgba(15, 118, 110, 0.35);
    color: var(--teal);
}

.pengaduan-tab.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.pengaduan-panel .panel-head {
    margin-bottom: 1.25rem;
}

.pengaduan-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.35rem 1.25rem;
    margin-bottom: 1.25rem;
}

.pengaduan-meta p {
    margin: 0;
    font-size: 0.95rem;
}

.pengaduan-body,
.pengaduan-reply {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: var(--sand);
    border: 1px solid var(--sand-2);
    margin-bottom: 1rem;
}

.pengaduan-reply {
    background: rgba(15, 118, 110, 0.06);
    border-color: rgba(15, 118, 110, 0.18);
}

.pengaduan-body h4,
.pengaduan-reply h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--navy);
}

.pengaduan-form .form-group small {
    display: block;
    margin-top: 0.35rem;
}

/* Sembunyikan watermark/attribution Leaflet */
.leaflet-control-attribution {
    display: none !important;
}
