/* =====================================================================
   LSP Poltesa — Stylesheet publik
   Warna utama (--primary, --secondary, --accent, font, radius) diinjeksi
   dari pengaturan tema di panel admin.
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .06);
  --shadow: 0 10px 30px -12px rgb(15 23 42 / .18);
  --shadow-lg: 0 30px 60px -20px rgb(15 23 42 / .30);
  --success: #16a34a; --danger: #dc2626; --warning: #d97706; --info: #0284c7;
  --nav-h: 76px;
  --container: 1200px;
}
html[data-theme="dark"] {
  --bg: #0b1220;
  --bg-alt: #0f1a2e;
  --surface: #121d33;
  --surface-2: #17233d;
  --text: #e2e8f0;
  --text-2: #b6c2d4;
  --muted: #8b9ab1;
  --border: #22314f;
  --primary-light: rgb(var(--primary-rgb) / .14);
  --primary-soft: rgb(var(--primary-rgb) / .22);
  --shadow: 0 10px 30px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
[data-theme="dark"] a { color: color-mix(in srgb, var(--primary) 50%, #fff); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.25; margin: 0 0 .5em; color: var(--text); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: var(--surface-2); border: 1px solid var(--border); padding: .1em .4em; border-radius: 6px; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; } .narrow-lg { max-width: 1000px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 10px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 3px solid rgb(var(--accent-rgb) / .7); outline-offset: 2px; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.4em; border-radius: calc(var(--radius) * .75); font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; transition: all .2s ease; white-space: nowrap; line-height: 1.2; text-decoration: none; }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-lg { padding: .95em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgb(var(--primary-rgb) / .6); }
.btn-accent { background: var(--accent); color: var(--secondary) !important; }
.btn-accent:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgb(var(--accent-rgb) / .7); }
.btn-outline { border-color: var(--border); color: var(--text) !important; background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary) !important; }
.btn-ghost { color: var(--primary) !important; background: var(--primary-light); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-glass { background: rgb(255 255 255 / .12); color: #fff !important; border-color: rgb(255 255 255 / .28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / .22); }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.05rem; transition: .2s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Badge ---------- */
.badge { display: inline-flex; align-items: center; gap: .35em; font-size: .72rem; font-weight: 700; padding: .35em .75em; border-radius: 999px; letter-spacing: .02em; line-height: 1.2; }
.badge-primary { background: var(--primary); color: #fff; }
.badge-accent { background: var(--accent); color: var(--secondary); }
.badge-soft { background: var(--primary-light); color: var(--primary); }
[data-theme="dark"] .badge-soft { color: color-mix(in srgb, var(--primary) 45%, #fff); }
.badge-light { background: rgb(255 255 255 / .92); color: var(--secondary); }
.badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-success { background: #dcfce7; color: #15803d; }

/* ---------- Topbar & Navbar ---------- */
.topbar { background: var(--secondary); color: #e2e8f0; font-size: .85rem; position: relative; z-index: 60; }
.topbar-inner { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.topbar-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-link { color: var(--accent) !important; font-weight: 600; white-space: nowrap; }
.topbar-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(var(--accent-rgb) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0); } }

.navbar { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.navbar-solid, .navbar.scrolled { background: rgb(255 255 255 / .9); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); }
[data-theme="dark"] .navbar-solid, [data-theme="dark"] .navbar.scrolled { background: rgb(11 18 32 / .88); }
.is-home .navbar-transparent { position: fixed; left: 0; right: 0; top: auto; }
.is-home .topbar + .navbar-transparent { top: 40px; }
.is-home .navbar-transparent.scrolled { top: 0; }
.navbar-inner { display: flex; align-items: center; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text) !important; min-width: 0; }
.brand-logo { height: 46px; width: auto; max-width: 140px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.12rem; font-weight: 800; }
.brand-text small { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.navbar-transparent:not(.scrolled) .brand, .navbar-transparent:not(.scrolled) .nav-link { color: #fff !important; }
.navbar-transparent:not(.scrolled) .brand-text small { color: rgb(255 255 255 / .7); }
.navbar-transparent:not(.scrolled) .icon-btn { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .2); color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-head, .nav-cta-mobile { display: none; }
.nav-link { background: none; border: 0; color: var(--text-2) !important; font-weight: 600; font-size: .93rem; padding: .6em .9em; border-radius: 10px; display: inline-flex; align-items: center; gap: .35em; transition: .2s; }
.nav-link i { font-size: .7em; transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; background: var(--primary-light); }
.navbar-transparent:not(.scrolled) .nav-link:hover, .navbar-transparent:not(.scrolled) .nav-link.active { background: rgb(255 255 255 / .14); }
.nav-dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 250px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s; }
.dd-menu::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd-wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-dd:hover .dd-menu, .nav-dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd:hover .nav-link i, .nav-dd.open .nav-link i { transform: rotate(180deg); }
.dd-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text) !important; font-size: .9rem; font-weight: 500; }
.dd-menu a:hover { background: var(--primary-light); color: var(--primary) !important; }
.dd-menu a > i { color: var(--primary); font-size: 1.05rem; margin-top: 1px; }
.dd-menu a span { display: flex; flex-direction: column; }
.dd-menu a small { color: var(--muted); font-size: .76rem; font-weight: 400; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-backdrop { display: none; }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; background: rgb(var(--secondary-rgb) / .7); backdrop-filter: blur(6px); z-index: 100; display: grid; place-items: start center; padding: 14vh 20px 0; }
.search-overlay[hidden] { display: none; }
.search-box { width: 100%; max-width: 680px; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: var(--radius); padding: 10px 10px 10px 22px; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
.search-box > i { color: var(--muted); font-size: 1.2rem; }
.search-box input { flex: 1; border: 0; outline: 0; background: none; font-size: 1.1rem; padding: 10px 0; color: var(--text); }
@keyframes pop { from { transform: translateY(-10px) scale(.98); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--secondary); isolation: isolate; }
.hero-split, .hero-centered { padding: calc(var(--nav-h) + 90px) 0 150px; min-height: 92vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 85% 10%, rgb(var(--primary-rgb) / .9), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgb(var(--primary-rgb) / .55), transparent 60%), linear-gradient(160deg, var(--secondary), var(--primary-dark)); }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite; }
.orb-1 { width: 380px; height: 380px; background: var(--accent); top: 8%; right: 6%; opacity: .25; }
.orb-2 { width: 300px; height: 300px; background: var(--primary); bottom: -6%; left: 30%; animation-delay: -6s; }
@keyframes float { 50% { transform: translate(30px, -30px); } }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-centered .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 900px; }
.hero-centered .hero-actions, .hero-centered .hero-verify { justify-content: center; margin-left: auto; margin-right: auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); margin-bottom: 24px; }
.hero-badge i { color: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 22px; }
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgb(255 255 255 / .82); max-width: 580px; margin-bottom: 34px; }
.hero-centered .hero-lead { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-verify { display: flex; align-items: center; gap: 10px; max-width: 560px; background: rgb(255 255 255 / .96); border-radius: calc(var(--radius) * .9); padding: 7px 7px 7px 18px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .5); }
.hero-verify > i { color: var(--primary); font-size: 1.2rem; }
.hero-verify input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: .95rem; color: #0f172a; padding: 8px 0; }
.hero-visual { position: relative; height: 460px; }
.cert-card { position: absolute; inset: 30px 30px 30px 40px; background: linear-gradient(160deg, #fffdf6, #fff); border-radius: 18px; padding: 28px; color: #0f172a; box-shadow: var(--shadow-lg), 0 0 0 10px rgb(255 255 255 / .06); transform: rotate(-3deg); border: 1px solid #f1e6c8; animation: tilt 9s ease-in-out infinite; }
.cert-card::before { content: ''; position: absolute; inset: 10px; border: 2px solid rgb(var(--accent-rgb) / .5); border-radius: 12px; pointer-events: none; }
@keyframes tilt { 50% { transform: rotate(-1deg) translateY(-8px); } }
.cert-top { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.cert-top img { width: 46px; height: 46px; object-fit: contain; }
.cert-top b { display: block; font-family: var(--font-heading); letter-spacing: .14em; font-size: .85rem; color: var(--secondary); }
.cert-top small { color: #94a3b8; font-style: italic; font-size: .75rem; }
.cert-line { height: 9px; border-radius: 9px; background: #eef2f7; margin: 10px 0; }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.cert-name { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; margin: 22px 0 14px; background: linear-gradient(90deg, var(--primary), var(--accent-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 30px; }
.cert-seal { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #fff; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent-dark)); box-shadow: 0 0 0 6px rgb(var(--accent-rgb) / .2); }
.cert-sign { text-align: center; }
.cert-sign span { display: block; width: 120px; height: 2px; background: #cbd5e1; margin-bottom: 6px; }
.cert-sign small { color: #64748b; font-size: .75rem; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 12px; background: rgb(255 255 255 / .96); color: #0f172a; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); animation: float 8s ease-in-out infinite; }
.float-chip i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); font-size: 1.15rem; }
.float-chip b { display: block; font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.1; }
.float-chip small { color: #64748b; font-size: .75rem; }
.chip-1 { top: 0; left: -10px; } .chip-2 { bottom: 10px; right: -14px; animation-delay: -3s; }
.chip-3 { top: 44%; right: -30px; animation-delay: -5s; } .chip-3 i { background: rgb(var(--accent-rgb) / .2); color: var(--accent-dark); }

/* Hero slider */
.hero-slider { height: min(92vh, 820px); min-height: 560px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.slide.active > img { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--secondary-rgb) / .92), rgb(var(--secondary-rgb) / .45) 60%, transparent); }
.slide-content { position: relative; padding-top: var(--nav-h); max-width: var(--container); }
.slide-content h1 { max-width: 760px; }
.slide-content p { max-width: 560px; font-size: 1.15rem; color: rgb(255 255 255 / .85); margin-bottom: 30px; }
.slider-dots { position: absolute; bottom: 110px; left: 50%; translate: -50%; display: flex; gap: 8px; z-index: 3; }
.slider-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgb(255 255 255 / .45); transition: .3s; padding: 0; }
.slider-dots button.active { width: 32px; background: var(--accent); }
.slider-nav { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .1); color: #fff; backdrop-filter: blur(6px); }
.slider-nav.prev { left: 20px; } .slider-nav.next { right: 20px; }

/* ---------- Statistik ---------- */
.stats-band { position: relative; z-index: 5; margin-top: -80px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.3); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { display: flex; align-items: center; gap: 16px; padding: 28px 26px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--border); }
.stat-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--primary-light); color: var(--primary); flex: none; }
.stat:nth-child(even) .stat-icon { background: rgb(var(--accent-rgb) / .16); color: var(--accent-dark); }
.stat b { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--text); }
.stat span { color: var(--muted); font-size: .88rem; }

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-flush { padding-top: 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--secondary); color: #e2e8f0; position: relative; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 100% 0, rgb(var(--primary-rgb) / .5), transparent 60%); }
.section-dark .container { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: rgb(255 255 255 / .7); }
.section-dark .btn-outline { background: transparent; color: #fff !important; border-color: rgb(255 255 255 / .3); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-dark .eyebrow { color: var(--accent); }
[data-theme="dark"] .eyebrow { color: color-mix(in srgb, var(--primary) 45%, #fff); }
.block-title { font-size: 1.25rem; margin: 40px 0 18px; display: flex; align-items: center; gap: 10px; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(3, 1fr); } .g-4 { grid-template-columns: repeat(4, 1fr); }
.stack { display: flex; flex-direction: column; gap: 32px; } .stack-sm { display: flex; flex-direction: column; gap: 14px; }
.center-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 40px; }
.center-actions p { width: 100%; text-align: center; margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } *, .orb, .cert-card, .float-chip { animation: none !important; transition: none !important; } }

/* ---------- Sambutan ---------- */
.sambutan { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: center; }
.sambutan-photo { position: relative; }
.sambutan-photo img, .photo-placeholder { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: calc(var(--radius) * 1.4); }
.sambutan-photo::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--accent); border-radius: calc(var(--radius) * 1.4); z-index: -1; }
.photo-placeholder { display: grid; place-items: center; background: linear-gradient(160deg, var(--primary-light), var(--primary-soft)); color: var(--primary); font-size: 7rem; }
.sambutan-name { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgb(255 255 255 / .95); color: #0f172a; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.sambutan-name b { display: block; font-family: var(--font-heading); }
.sambutan-name small { color: #64748b; }
.sambutan-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.quote-mark { font-size: 3.5rem; color: var(--accent); line-height: 1; display: block; margin: -6px 0 -6px -6px; }
.sambutan-text .prose { color: var(--text-2); margin-bottom: 24px; }

/* ---------- Kartu umum ---------- */
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; color: var(--text) !important; transition: .3s; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.55rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; margin-bottom: 20px; box-shadow: 0 12px 24px -10px rgb(var(--primary-rgb) / .7); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: var(--muted); font-size: .93rem; }
.link-more { font-weight: 600; font-size: .88rem; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.link-more i { transition: transform .2s; }
a:hover .link-more i, .link-more:hover i { transform: translateX(4px); }

.skema-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .3s; display: flex; flex-direction: column; }
.skema-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.skema-img { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.skema-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.skema-card:hover .skema-img img { transform: scale(1.06); }
.skema-img .badge { position: absolute; top: 14px; left: 14px; }
.skema-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.skema-code { font-size: .75rem; font-weight: 700; color: var(--primary); letter-spacing: .05em; }
.skema-body h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.skema-body h3 a { color: var(--text); }
.skema-body h3 a:hover { color: var(--primary); }
.skema-body p { color: var(--muted); font-size: .9rem; flex: 1; }
.skema-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: .82rem; color: var(--text-2); }
.skema-foot i { color: var(--primary); }

/* Steps alur */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 20px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); transition: .3s; }
.step:hover { background: rgb(255 255 255 / .09); transform: translateY(-4px); }
.step-num { position: absolute; top: 14px; right: 16px; font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: rgb(255 255 255 / .12); }
.step-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--secondary); font-size: 1.3rem; margin-bottom: 18px; }
.step h3 { font-size: 1.02rem; }
.step p { font-size: .86rem; color: rgb(255 255 255 / .7); margin: 0; }

/* Agenda */
.agenda-item { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; color: var(--text) !important; transition: .25s; }
.agenda-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.agenda-item.is-past { opacity: .78; }
.date-box { flex: none; width: 76px; text-align: center; border-radius: calc(var(--radius) * .8); background: linear-gradient(160deg, var(--primary), var(--primary-dark)); color: #fff; padding: 10px 0; line-height: 1.1; }
.is-past .date-box { background: linear-gradient(160deg, #64748b, #475569); }
.date-box b { display: block; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; }
.date-box span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.is-past .date-box span { color: #e2e8f0; }
.date-box small { font-size: .7rem; opacity: .7; }
.agenda-info { flex: 1; min-width: 0; }
.agenda-info h3 { font-size: 1.04rem; margin: 6px 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); }
.meta i { color: var(--primary); }
.agenda-arrow { color: var(--muted); font-size: 1.2rem; transition: .2s; }
.agenda-item:hover .agenda-arrow { color: var(--primary); transform: translate(3px, -3px); }

/* Berita */
.news-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .3s; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-img { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.news-card-big .news-img { aspect-ratio: 16/9; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-img .badge { position: absolute; top: 14px; left: 14px; }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.12rem; margin: 10px 0; }
.news-card-big .news-body h3 { font-size: 1.45rem; }
.news-body h3 a { color: var(--text); }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.news-side { display: flex; flex-direction: column; gap: 16px; }
.news-mini { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; color: var(--text) !important; transition: .25s; }
.news-mini:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.news-mini img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: calc(var(--radius) * .7); }
.news-mini h3 { font-size: .98rem; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Pengumuman */
.ann-list { display: flex; flex-direction: column; gap: 12px; }
.ann-item { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text) !important; transition: .25s; }
.ann-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateX(4px); }
.ann-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; background: var(--primary-light); color: var(--primary); }
.ann-icon.is-important { background: #fee2e2; color: #dc2626; }
.ann-body { flex: 1; min-width: 0; }
.ann-body h3 { font-size: 1.02rem; margin-bottom: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ann-body p { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.ann-item > .bi-chevron-right { color: var(--muted); }

/* Asesor */
.asesor-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px 22px; text-align: center; transition: .3s; }
.asesor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.asesor-photo { position: relative; width: 112px; height: 112px; margin: 0 auto 16px; }
.asesor-photo img, .avatar-initial { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--primary-soft); }
.avatar-initial { display: grid; place-items: center; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.avatar-initial.sm { width: 46px; height: 46px; font-size: 1rem; border-width: 2px; }
.asesor-status { position: absolute; right: 8px; bottom: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--success); border: 3px solid var(--surface); }
.asesor-status.expired { background: var(--warning); }
.asesor-card h3 { font-size: 1rem; margin-bottom: 6px; }
.asesor-reg { font-size: .78rem; color: var(--muted); margin-bottom: 10px; font-family: ui-monospace, monospace; }
.asesor-komp { font-size: .8rem; color: var(--text-2); margin: 12px 0 0; }

/* Galeri */
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-grid .g-item { aspect-ratio: 4/3; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); display: block; background: var(--surface-2); }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.08); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgb(0 0 0 / .75)); opacity: 0; transform: translateY(10px); transition: .3s; }
.g-item:hover .g-cap { opacity: 1; transform: none; }
.album-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; color: #fff !important; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.album-card:hover img { transform: scale(1.07); }
.album-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgb(var(--secondary-rgb) / .92)); }
.album-info { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.album-info h3 { color: #fff; font-size: 1.15rem; margin: 10px 0 4px; }
.album-info small { opacity: .8; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(2 6 23 / .94); display: grid; place-items: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 10px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #cbd5e1; margin-top: 14px; font-size: .95rem; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgb(255 255 255 / .1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.2rem; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
.lb-close:hover, .lb-nav:hover { background: rgb(255 255 255 / .22); }

/* Testimoni */
.testi-card { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; display: flex; flex-direction: column; }
.testi-card::before { content: '\201C'; position: absolute; top: 4px; right: 22px; font-size: 6rem; font-family: Georgia, serif; color: var(--primary-soft); line-height: 1; }
.stars { color: #f59e0b; font-size: .85rem; display: flex; gap: 3px; margin-bottom: 14px; }
.testi-card blockquote { margin: 0 0 22px; color: var(--text-2); flex: 1; font-size: .97rem; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; }
.testi-card figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-card figcaption b { display: block; font-size: .95rem; }
.testi-card figcaption small { color: var(--muted); font-size: .8rem; }

/* Mitra */
.partners-title { text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 26px; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner { display: grid; place-items: center; height: 72px; min-width: 170px; padding: 10px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text-2) !important; font-weight: 700; transition: .25s; filter: grayscale(1); opacity: .8; }
.partner:hover { filter: none; opacity: 1; border-color: var(--primary); }
.partner img { max-height: 46px; max-width: 140px; object-fit: contain; }
.partner span i { color: var(--primary); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-intro h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.faq-intro p { color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: .25s; }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); transition: .3s; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-answer { padding: 0 22px 20px; color: var(--text-2); }

/* CTA */
.cta-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 56px; border-radius: calc(var(--radius) * 1.6); color: #fff; background: radial-gradient(600px 300px at 90% 0, rgb(var(--accent-rgb) / .35), transparent 60%), linear-gradient(120deg, var(--primary-dark), var(--primary)); box-shadow: var(--shadow-lg); }
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; }
.cta-banner p { color: rgb(255 255 255 / .85); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-deco { position: absolute; right: -30px; bottom: -60px; font-size: 16rem; color: rgb(255 255 255 / .06); line-height: 1; pointer-events: none; }

/* ---------- Halaman dalam ---------- */
.page-hero { position: relative; padding: 70px 0 64px; color: #fff; overflow: hidden; background: var(--secondary); isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 90% 0, rgb(var(--primary-rgb) / .85), transparent 65%), radial-gradient(500px 300px at 0 100%, rgb(var(--accent-rgb) / .18), transparent 60%), linear-gradient(140deg, var(--secondary), var(--primary-dark)); }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; margin: 14px 0 10px; }
.page-hero h1 i { color: var(--accent); }
.page-hero p { color: rgb(255 255 255 / .78); max-width: 700px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: rgb(255 255 255 / .7); }
.breadcrumb a { color: rgb(255 255 255 / .85) !important; }
.breadcrumb a:hover { color: var(--accent) !important; }
.breadcrumb .bi-chevron-right { font-size: .65rem; opacity: .6; }
.article-hero { padding: 60px 0 120px; background: var(--secondary); color: #fff; position: relative; background-image: radial-gradient(700px 300px at 90% 0, rgb(var(--primary-rgb) / .85), transparent 65%); }
.article-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; margin: 16px 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: rgb(255 255 255 / .75); }
.article-meta i { color: var(--accent); }
.article-meta.dark { color: var(--muted); margin-bottom: 22px; } .article-meta.dark i { color: var(--primary); }
.article-hero + .section .with-sidebar { margin-top: -80px; position: relative; }
.article-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 12px; }

.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--nav-h) + 20px); }
.content-card { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.2); padding: 34px; box-shadow: var(--shadow-sm); }
.content-cover { width: 100%; border-radius: var(--radius); margin-bottom: 28px; aspect-ratio: 16/9; object-fit: cover; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.widget h4 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.widget-cta { background: linear-gradient(150deg, var(--primary), var(--secondary)); color: #fff; border: 0; text-align: center; position: relative; overflow: hidden; }
.widget-cta > i { font-size: 2.6rem; color: var(--accent); }
.widget-cta h4 { color: #fff; border: 0; justify-content: center; padding: 0; margin: 10px 0 8px; font-size: 1.15rem; }
.widget-cta p { color: rgb(255 255 255 / .8); font-size: .9rem; }
.widget-cta .btn { margin-top: 8px; }
.widget-price small { color: var(--muted); font-size: .82rem; }
.widget-price > b { display: block; font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; color: var(--primary); margin: 2px 0 16px; }
[data-theme="dark"] .widget-price > b { color: color-mix(in srgb, var(--primary) 45%, #fff); }
.widget-price .btn + .btn { margin-top: 10px; }
.widget .btn + .btn { margin-top: 10px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text-2) !important; font-size: .93rem; font-weight: 500; }
.side-nav a i { color: var(--primary); }
.side-nav a:hover, .side-nav a.active { background: var(--primary-light); color: var(--primary) !important; }
.side-nav a.active { font-weight: 700; }
.side-nav .count { margin-left: auto; font-size: .75rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 1px 9px; color: var(--muted); }
.list-link { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); color: var(--text) !important; }
.list-link:last-child { border: 0; padding-bottom: 0; }
.list-link > i { color: var(--primary); margin-top: 3px; }
.list-link b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.4; }
.list-link:hover b { color: var(--primary); }
.list-link small, .pop-item small { color: var(--muted); font-size: .78rem; }
.pop-item { display: flex; gap: 14px; padding: 10px 0; color: var(--text) !important; align-items: flex-start; }
.pop-num { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--primary-light); color: var(--primary); font-weight: 800; display: grid; place-items: center; font-size: .88rem; }
.pop-item b { display: block; font-size: .88rem; font-weight: 600; line-height: 1.4; }
.mini-agenda { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); color: var(--text) !important; }
.mini-agenda span { flex: none; width: 48px; text-align: center; background: var(--primary); color: #fff; border-radius: 10px; padding: 4px 0; font-weight: 800; line-height: 1.1; font-size: 1.1rem; }
.mini-agenda span small { display: block; font-size: .65rem; font-weight: 600; color: var(--accent); }
.mini-agenda b { font-size: .88rem; font-weight: 600; line-height: 1.35; }
.mini-steps { padding-left: 20px; margin: 10px 0 0; color: var(--text-2); font-size: .9rem; }
.mini-steps li { margin-bottom: 4px; }

/* Prose (konten rich text) */
.prose { color: var(--text-2); font-size: 1.02rem; line-height: 1.8; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.6em; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.4em auto; height: auto; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--surface-2); color: var(--text); }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); }
.prose pre { background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 10px; overflow-x: auto; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 2em; } .prose .ql-indent-2 { padding-left: 4em; }

/* Spesifikasi & tab */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.spec-grid > div { background: var(--surface-2); padding: 16px; }
.spec-grid small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.spec-grid b { font-size: .95rem; }
.tab-list { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.tab-list button { background: none; border: 0; padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab-list button.active { color: var(--primary); border-color: var(--primary); }
.tab-panel { display: none; } .tab-panel.active { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { background: var(--surface-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }

/* Filter, chips, pagination */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.filter-bar .input-icon { flex: 1; min-width: 220px; }
.filter-bar .select { width: auto; min-width: 170px; }
.result-count { color: var(--muted); font-size: .9rem; margin: -6px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2) !important; font-size: .88rem; font-weight: 600; }
.chip:hover, .chip.active { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.seg-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 26px; }
.seg-tabs a { padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--text-2) !important; }
.seg-tabs a.active { background: var(--surface); color: var(--primary) !important; box-shadow: var(--shadow-sm); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 44px; }
.pagination a, .pagination .gap { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text) !important; font-weight: 600; font-size: .9rem; }
.pagination a:hover { border-color: var(--primary); color: var(--primary) !important; }
.pagination a.active { background: var(--primary); border-color: var(--primary); color: #fff !important; }
.pagination a.disabled { opacity: .4; pointer-events: none; }
.pagination .gap { border: 0; background: none; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); border: 2px dashed var(--border); border-radius: var(--radius); }
.empty-state i { font-size: 3rem; opacity: .5; display: block; margin-bottom: 10px; }

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.2); padding: 34px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.form-section { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin: 8px 0 20px; color: var(--text); }
.form-section i { color: var(--primary); }
.form-section:not(:first-of-type) { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 22px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.span-2 { grid-column: span 2; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--text); }
.req { color: var(--danger); }
.input, .select, .textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: calc(var(--radius) * .7); background: var(--surface); color: var(--text); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgb(var(--primary-rgb) / .14); }
.input-lg { padding: 15px 18px; font-size: 1.05rem; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.textarea { resize: vertical; min-height: 100px; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.hint { color: var(--muted); font-size: .8rem; }
.file-drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--border); border-radius: var(--radius); cursor: pointer; color: var(--muted); transition: .2s; position: relative; }
.file-drop:hover, .file-drop.drag { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop i { font-size: 1.8rem; color: var(--primary); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text-2); margin-bottom: 22px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: .93rem; border: 1px solid; }
.alert > i { font-size: 1.15rem; margin-top: 1px; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
[data-theme="dark"] .alert-success { background: #052e16; border-color: #14532d; color: #bbf7d0; }
[data-theme="dark"] .alert-danger { background: #450a0a; border-color: #7f1d1d; color: #fecaca; }
[data-theme="dark"] .alert-info { background: #082f49; border-color: #0c4a6e; color: #bae6fd; }

/* Cek sertifikat & status */
.verify-card { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4); padding: 46px 34px; box-shadow: var(--shadow); margin-bottom: 26px; }
.verify-icon { width: 76px; height: 76px; border-radius: 22px; display: inline-grid; place-items: center; font-size: 2.2rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; margin-bottom: 18px; box-shadow: 0 16px 30px -12px rgb(var(--primary-rgb) / .7); }
.verify-card h2 { font-size: 1.5rem; }
.verify-input { display: flex; gap: 10px; max-width: 640px; margin: 22px auto 0; }
.cert-result { border-radius: calc(var(--radius) * 1.2); border: 2px solid; padding: 28px; background: var(--surface); }
.cert-result.is-valid { border-color: #86efac; } .cert-result.is-invalid { border-color: #fcd34d; } .cert-result.is-notfound { border-color: #fca5a5; }
.cert-result-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.cert-result-head > i { font-size: 2.6rem; }
.is-valid .cert-result-head > i { color: var(--success); } .is-invalid .cert-result-head > i { color: var(--warning); } .is-notfound .cert-result-head > i { color: var(--danger); }
.cert-result-head b { display: block; font-size: 1.15rem; font-family: var(--font-heading); }
.cert-result-head small { color: var(--muted); }
.cert-data { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 0; }
.cert-data > div { background: var(--surface-2); padding: 14px 16px; }
.cert-data dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cert-data dd { margin: 2px 0 0; font-weight: 600; }
.status-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.status-head small { display: block; color: var(--muted); font-size: .8rem; }
.status-head b { font-family: ui-monospace, monospace; font-size: 1.2rem; }
.status-menunggu { background: #fef3c7; color: #92400e; } .status-diverifikasi { background: #dbeafe; color: #1e40af; }
.status-dijadwalkan { background: #e0e7ff; color: #3730a3; } .status-selesai { background: #dcfce7; color: #166534; } .status-ditolak { background: #fee2e2; color: #991b1b; }
.progress-steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: .82rem; font-weight: 600; color: var(--muted); position: relative; }
.progress-steps::before { content: ''; position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); }
.progress-steps li { position: relative; }
.progress-steps span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px; background: var(--surface); border: 2px solid var(--border); position: relative; }
.progress-steps li.done { color: var(--primary); }
.progress-steps li.done span { background: var(--primary); border-color: var(--primary); color: #fff; }
.success-card { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4); padding: 50px 34px; box-shadow: var(--shadow); }
.success-icon { width: 90px; height: 90px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 3rem; background: #dcfce7; color: var(--success); margin-bottom: 18px; }
.success-icon.warn { background: #fef3c7; color: var(--warning); }
.reg-code { display: inline-block; margin: 14px 0; padding: 16px 30px; border-radius: var(--radius); border: 2px dashed var(--primary); background: var(--primary-light); }
.reg-code small { display: block; color: var(--muted); font-size: .78rem; }
.reg-code b { font-family: ui-monospace, monospace; font-size: 1.5rem; color: var(--primary); letter-spacing: .05em; }

/* TUK, dokumen, timeline, kontak, dll */
.tuk-card { display: grid; grid-template-columns: 220px 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.tuk-card:hover { box-shadow: var(--shadow-lg); }
.tuk-card > img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.tuk-body { padding: 22px; }
.tuk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tuk-body h3 { font-size: 1.12rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 7px; font-size: .9rem; color: var(--text-2); }
.info-list li { display: flex; gap: 10px; } .info-list i { color: var(--primary); }
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-item { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: .25s; }
.doc-item:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.doc-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--primary-light); color: var(--primary); }
.ext-pdf { background: #fee2e2; color: #dc2626; } .ext-doc, .ext-docx { background: #dbeafe; color: #2563eb; } .ext-xls, .ext-xlsx { background: #dcfce7; color: #16a34a; } .ext-ppt, .ext-pptx { background: #ffedd5; color: #ea580c; }
.doc-body { flex: 1; min-width: 0; }
.doc-body h3 { font-size: 1rem; margin-bottom: 2px; }
.doc-body p { color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.attachment { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); color: var(--text) !important; }
.attachment > i { font-size: 2rem; color: var(--primary); }
.attachment span:not(.btn) { flex: 1; display: flex; flex-direction: column; }
.attachment small { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); }
.timeline li { display: flex; gap: 24px; margin-bottom: 22px; position: relative; }
.tl-dot { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--primary); color: var(--primary); font-size: 1.3rem; z-index: 1; }
.tl-card { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.tl-card small { color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.tl-card h3 { font-size: 1.1rem; margin: 4px 0 6px; } .tl-card p { color: var(--muted); margin: 0; }
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-item > span { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); font-size: 1.2rem; }
.contact-item b { display: block; } .contact-item p { margin: 2px 0 0; color: var(--text-2); font-size: .93rem; }
.map-wrap { margin-top: 32px; border-radius: calc(var(--radius) * 1.2); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); }
.share span { font-weight: 600; margin-right: 6px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text-2) !important; }
.share a:hover, .share button:hover { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.related-item { display: flex; flex-direction: column; gap: 8px; color: var(--text) !important; }
.related-item img { aspect-ratio: 16/10; object-fit: cover; border-radius: calc(var(--radius) * .8); }
.related-item b { font-size: .92rem; line-height: 1.4; } .related-item small { color: var(--muted); }
.quota { margin: 6px 0 16px; } .quota small { color: var(--muted); font-size: .8rem; }
.quota-bar { height: 8px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; margin-bottom: 6px; }
.quota-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.search-results { display: flex; flex-direction: column; gap: 10px; }
.search-item { display: block; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text) !important; }
.search-item:hover { border-color: var(--primary); }
.search-item p { color: var(--muted); font-size: .9rem; margin: 4px 0; } .search-item small { color: var(--muted); }
.error-code { font-family: var(--font-heading); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.footer { background: var(--secondary); color: rgb(255 255 255 / .72); padding: 80px 0 0; margin-top: 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.brand-footer .brand-text strong { color: #fff; } .brand-footer .brand-text small { color: rgb(255 255 255 / .6); }
.footer-about p { margin: 20px 0 14px; font-size: .93rem; }
.license { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; padding: 6px 12px; border-radius: 8px; background: rgb(255 255 255 / .06); color: var(--accent); }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .07); color: #fff !important; transition: .2s; }
.socials a:hover { background: var(--accent); color: var(--secondary) !important; transform: translateY(-3px); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .93rem; }
.footer-links a { color: rgb(255 255 255 / .72) !important; }
.footer-links a:hover { color: var(--accent) !important; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: .92rem; }
.footer-contact li { display: flex; gap: 12px; } .footer-contact i { color: var(--accent); margin-top: 2px; }
.footer-contact a { color: rgb(255 255 255 / .72) !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 20px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.footer-bottom a { color: rgb(255 255 255 / .72) !important; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff !important; font-size: 1.7rem; box-shadow: 0 12px 28px -8px rgb(37 211 102 / .7); transition: .25s; }
.wa-float:hover { transform: scale(1.08); }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 40; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--primary); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .g-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --nav-h: 68px; }
  .nav-toggle { display: inline-grid; }
  .nav-cta { display: none; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--surface); flex-direction: column; align-items: stretch; gap: 2px; padding: 18px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; z-index: 80; margin: 0; box-shadow: var(--shadow-lg); }
  .nav.open { transform: none; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
  .nav .nav-link { color: var(--text) !important; width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 1rem; }
  .nav-backdrop.show { display: block; position: fixed; inset: 0; background: rgb(2 6 23 / .5); z-index: 70; }
  .dd-menu, .dd-wide { position: static; translate: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 10px; display: none; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; background: none; }
  .nav-dd.open .dd-menu { display: block; }
  .nav-dd:hover .dd-menu { display: none; } .nav-dd.open:hover .dd-menu { display: block; }
  .nav-cta-mobile { display: flex; margin-top: 16px; }
  .hero-split, .hero-centered { min-height: auto; padding: calc(var(--nav-h) + 60px) 0 130px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .sambutan { grid-template-columns: 1fr; gap: 50px; } .sambutan-photo { max-width: 340px; }
  .news-layout, .faq-layout, .with-sidebar, .contact-layout { grid-template-columns: 1fr; }
  .faq-intro, .sidebar { position: static; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-mosaic { grid-template-columns: repeat(3, 1fr); }
  .cta-banner { grid-template-columns: 1fr; padding: 40px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .brand-text small { display: none; }
  .brand-logo { height: 40px; }
  .nav-actions .icon-btn[data-theme-toggle] { display: none; }
  .g-2, .g-3, .g-4, .steps { grid-template-columns: 1fr; }
  .g-4.grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .asesor-card { padding: 20px 12px; } .asesor-photo { width: 84px; height: 84px; } .asesor-card h3 { font-size: .9rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; } .stat { flex-direction: column; text-align: center; padding: 20px 10px; gap: 10px; } .stat b { font-size: 1.6rem; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .news-mini { grid-template-columns: 110px 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .form-grid, .cert-data { grid-template-columns: 1fr; } .span-2 { grid-column: auto; }
  .form-card, .content-card { padding: 22px; }
  .verify-input { flex-direction: column; }
  .hero-verify { flex-wrap: wrap; padding: 10px; } .hero-verify input { width: calc(100% - 40px); } .hero-verify .btn { width: 100%; }
  .tuk-card { grid-template-columns: 1fr; } .tuk-card > img { height: 180px; min-height: 0; }
  .doc-item, .agenda-item { flex-wrap: wrap; } .doc-item .btn { width: 100%; }
  .agenda-arrow { display: none; }
  .cta-banner { padding: 30px 22px; }
  .progress-steps { font-size: .7rem; }
  .lightbox { padding: 20px; } .lb-nav { top: auto; bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .topbar-link { display: none; }
  .filter-bar .select { flex: 1; }
}
@media print {
  .navbar, .topbar, .footer, .wa-float, .to-top, .sidebar, .share { display: none !important; }
  .page-hero { background: none; color: #000; padding: 20px 0; } .page-hero h1 { color: #000; }
  .with-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sambutan-photo { max-width: 270px; margin: 0 auto; }
  .sambutan-photo::before { inset: 14px -14px -14px 14px; }
  .photo-placeholder { font-size: 5rem; }
}
