/* ============ DESIGN SYSTEM ============ */
:root {
    --primary: #1B6B4A;
    --primary-dark: #145236;
    --primary-light: #2A8F64;
    --accent: #D4A843;
    --accent-light: #E8C96A;
    --bg: #FAFAF7;
    --bg-alt: #F0EDE6;
    --bg-dark: #0F1B2D;
    --bg-dark-alt: #162236;
    --text: #2D3436;
    --text-light: #636E72;
    --text-muted: #B2BEC3;
    --white: #FFFFFF;
    --border: #E0DDD5;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 30px rgba(27,107,74,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ============ DARK MODE ============ */
[data-theme="dark"] {
    --primary: #2A8F64;
    --primary-dark: #1B6B4A;
    --primary-light: #3DAF7E;
    --accent: #E8C96A;
    --accent-light: #F0D98A;
    --bg: #0F1B2D;
    --bg-alt: #162236;
    --text: #E8E6E3;
    --text-light: #A0A8B0;
    --text-muted: #5A6572;
    --white: #1A2538;
    --border: #2A3A50;
    --shadow: 0 4px 24px rgba(0,0,0,0.2);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 30px rgba(42,143,100,0.2);
}
[data-theme="dark"] .navbar { background: rgba(15,27,45,0.95); backdrop-filter: blur(20px); }
[data-theme="dark"] .navbar.scrolled { background: rgba(15,27,45,0.98); }
[data-theme="dark"] .top-bar { background: #0A1420; }
[data-theme="dark"] .pelayanan-card, [data-theme="dark"] .cta-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .tab-btn { background: var(--bg-alt); color: var(--text-light); border-color: var(--border); }
[data-theme="dark"] .tab-btn.active { background: var(--primary); color: #fff; }
[data-theme="dark"] .footer { background: #080E18; }
[data-theme="dark"] .footer-bottom { background: #050A12; }
[data-theme="dark"] .blog-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .posyandu-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .kegiatan-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .lembaga-home-item { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .mitra-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .search-form input { background: var(--bg-alt); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .wa-popup-body { background-color: #162236; }
[data-theme="dark"] .wa-chat-bubble { background: var(--bg-alt); }
[data-theme="dark"] .wa-chat-bubble::before { border-color: transparent var(--bg-alt) transparent transparent; }
[data-theme="dark"] .wa-popup-footer { background: #0F1B2D; border-color: var(--border); }
[data-theme="dark"] .wa-input { background: var(--bg-alt); border-color: var(--border); color: var(--text); }

/* Dark Mode Toggle */
.dark-mode-toggle { position: relative; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 1rem; transition: var(--transition); margin-left: 12px; flex-shrink: 0; }
.dark-mode-toggle:hover { color: var(--accent); background: rgba(212,168,67,0.1); }
.dark-mode-toggle #darkIcon { position: absolute; transition: all 0.3s ease; }
.dark-mode-toggle #lightIcon { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.5); transition: all 0.3s ease; }
[data-theme="dark"] .dark-mode-toggle #darkIcon { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="dark"] .dark-mode-toggle #lightIcon { opacity: 1; transform: rotate(0) scale(1); color: var(--accent); }

/* ============ PRELOADER ============ */
.preloader { position: fixed; inset: 0; z-index: 99999; background: linear-gradient(135deg, #0a2218, #0f3625); display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { width: 120px; margin: 0 auto 24px; animation: preloaderPulse 1.5s ease-in-out infinite; }
.preloader-logo img { width: 100%; height: auto; }
.preloader-logo a { pointer-events: none; }
.preloader-logo-text { margin-bottom: 24px; animation: preloaderPulse 1.5s ease-in-out infinite; }
.preloader-k { font-family: var(--font-heading); font-size: 4rem; font-weight: 800; color: var(--white); }
.preloader-bisa { display: block; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; letter-spacing: 12px; color: var(--accent); margin-top: -8px; }
@keyframes preloaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.preloader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.preloader-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--primary-light)); border-radius: 4px; animation: preloaderFill 1.5s ease-in-out forwards; }
@keyframes preloaderFill { to { width: 100%; } }

/* ============ 404 PAGE ============ */
.error-404-section { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 80px 0; background: var(--bg); }
.error-404-content { text-align: center; max-width: 600px; margin: 0 auto; }
.error-404-visual { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 32px; }
.error-number { font-family: var(--font-heading); font-size: clamp(6rem, 15vw, 10rem); font-weight: 800; color: var(--primary); opacity: 0.15; line-height: 1; }
.error-circle { width: clamp(80px, 18vw, 120px); height: clamp(80px, 18vw, 120px); border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; animation: errorBounce 2s ease-in-out infinite; box-shadow: 0 8px 30px rgba(27,107,74,0.3); }
.error-circle i { font-size: clamp(2rem, 6vw, 3.5rem); color: var(--white); }
@keyframes errorBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.error-title { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.error-desc { color: var(--text-light); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }
.error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.error-search { padding-top: 32px; border-top: 1px solid var(--border); }
.error-search p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.error-search .search-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.error-search .search-form input { flex: 1; padding: 12px 20px; border-radius: 50px; border: 1px solid var(--border); font-size: 0.9rem; transition: var(--transition); }
.error-search .search-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,107,74,0.1); }
.error-search .search-form button { padding: 12px 24px; border-radius: 50px; background: var(--primary); color: #fff; font-weight: 600; border: none; cursor: pointer; transition: var(--transition); }
.error-search .search-form button:hover { background: var(--primary-dark); }

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-weight: 600;
    font-size: 0.95rem; transition: var(--transition); letter-spacing: 0.3px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); box-shadow: 0 4px 15px rgba(27,107,74,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(27,107,74,0.4); }
.btn-glow { animation: glow 2s ease-in-out infinite alternate; }
@keyframes glow { from { box-shadow: 0 4px 15px rgba(27,107,74,0.3); } to { box-shadow: 0 4px 30px rgba(27,107,74,0.5); } }
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6); color: var(--white);
    backdrop-filter: blur(10px); background: rgba(255,255,255,0.08);
}
.btn-outline-light:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-outline {
    border: 2px solid var(--primary); color: var(--primary); background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-secondary {
    background: var(--bg-alt); color: var(--primary); border: 2px solid var(--border);
}
.btn-secondary:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-small { padding: 10px 24px; font-size: 0.85rem; }

/* ============ SECTION HEADERS ============ */
.section-label {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
    font-size: 0.85rem; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: 2px;
}
.section-label.center { justify-content: center; }
.label-line { width: 40px; height: 2px; background: var(--accent); }
.section-title {
    font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 16px;
}
.section-header.center, .section-header.center .section-title { text-align: center; }
.section-desc { color: var(--text-light); max-width: 650px; font-size: 1.05rem; }
.section-header.center .section-desc { margin: 0 auto; }
.section-header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ============ NAV SEARCH TOGGLE ============ */
.nav-search-toggle { position: relative; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.95rem; transition: var(--transition); margin-left: 4px; flex-shrink: 0; }
.nav-search-toggle:hover { color: var(--primary); background: rgba(27,107,74,0.08); }

/* ============ LIVE SEARCH OVERLAY ============ */
.live-search-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(15,27,45,0.85); backdrop-filter: blur(12px); display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.live-search-overlay.active { opacity: 1; visibility: visible; }
.live-search-container { width: 100%; max-width: 640px; margin: 0 20px; }
.live-search-header { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.live-search-input-wrap { flex: 1; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 16px; padding: 14px 20px; box-shadow: 0 8px 40px rgba(0,0,0,0.2); border: 2px solid transparent; transition: var(--transition); }
.live-search-input-wrap:focus-within { border-color: var(--primary); }
.live-search-input-wrap > i { color: var(--text-muted); font-size: 1.1rem; flex-shrink: 0; }
.live-search-input-wrap input { flex: 1; border: none; outline: none; font-size: 1.05rem; font-family: var(--font-body); color: var(--text); background: transparent; }
.live-search-input-wrap input::placeholder { color: var(--text-muted); }
.live-search-clear { display: none; color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); padding: 4px; }
.live-search-clear.visible { display: block; }
.live-search-clear:hover { color: var(--text); }
.live-search-close { padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); font-size: 0.75rem; font-weight: 600; font-family: var(--font-body); border: 1px solid rgba(255,255,255,0.15); transition: var(--transition); flex-shrink: 0; }
.live-search-close:hover { background: rgba(255,255,255,0.2); color: var(--white); }

/* Search Results */
.live-search-results { max-height: 60vh; overflow-y: auto; border-radius: 16px; }
.live-search-hint { display: flex; align-items: center; gap: 10px; padding: 20px 24px; color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.live-search-hint i { color: var(--accent); }
.live-search-loading { text-align: center; padding: 30px; color: rgba(255,255,255,0.6); }
.live-search-loading i { animation: spin 1s linear infinite; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-search-empty { text-align: center; padding: 40px 20px; color: rgba(255,255,255,0.5); }
.live-search-empty i { font-size: 2rem; margin-bottom: 12px; display: block; opacity: 0.4; }

.search-result-item { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: var(--white); border-radius: 14px; margin-bottom: 8px; transition: var(--transition); cursor: pointer; text-decoration: none; }
.search-result-item:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.search-result-thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-thumb i { font-size: 1.2rem; color: var(--text-muted); }
.search-result-info { flex: 1; min-width: 0; }
.search-result-info h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-info p { font-size: 0.82rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.search-result-type { padding: 4px 10px; border-radius: 20px; background: rgba(27,107,74,0.1); color: var(--primary); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Dark mode search */
[data-theme="dark"] .live-search-input-wrap { background: var(--bg-alt); }
[data-theme="dark"] .live-search-input-wrap input { color: var(--text); }
[data-theme="dark"] .search-result-item { background: var(--bg-alt); }
[data-theme="dark"] .search-result-info h4 { color: #E8E6E3; }

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--bg-dark); color: rgba(255,255,255,0.8); font-size: 0.82rem;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-left a, .top-bar-left span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.7); }
.top-bar-left a:hover { color: var(--accent); }
.top-bar-left i { color: var(--accent); font-size: 0.75rem; }
.top-bar-right { display: flex; gap: 12px; }
.top-bar-right a, .top-bar-right button {
    width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); font-size: 0.75rem;
    border: none; cursor: pointer; padding: 0; outline: none;
}
.top-bar-right a:hover, .top-bar-right button:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ============ NAVBAR ============ */
.navbar {
    position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition); padding: 4px 0;
}
.navbar.scrolled { box-shadow: var(--shadow); padding: 0; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
    width: 42px; height: 42px; border-radius: var(--radius); display: flex;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.brand-letter { color: var(--white); font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--text); display: block; line-height: 1.2; }
.brand-tagline { font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; }
.brand-text { display: flex; flex-direction: column; }
.navbar-brand-logo .custom-logo-link img,
.navbar-brand-logo img { max-height: 55px !important; width: auto !important; max-width: 280px !important; object-fit: contain; }
.footer-brand-logo { margin-bottom: 20px; }
.footer-brand-logo a img,
.footer-brand-logo img { max-height: 200px !important; width: auto !important; max-width: 450px !important; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 10px 16px; font-size: 0.9rem; font-weight: 500; color: var(--text-light);
    border-radius: 8px; display: flex; align-items: center; gap: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(27,107,74,0.06); }
.nav-link i { font-size: 0.6rem; transition: var(--transition); }
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: var(--white) !important; border-radius: 50px !important; padding: 10px 20px !important;
    margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(27,107,74,0.3); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); border: 1px solid var(--border);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block; padding: 10px 16px; border-radius: 8px; font-size: 0.88rem;
    color: var(--text-light);
}
.dropdown li a:hover { background: rgba(27,107,74,0.06); color: var(--primary); }

/* Nav Toggle (Mobile) */
.nav-toggle { display: none; width: 32px; height: 24px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { width: 100%; height: 3px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ============ HERO ============ */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; overflow: hidden; background: var(--bg-dark);
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('https://karangtengahbisa.id/wp-content/uploads/2024/07/bg-hero-4-scaled.jpg') center/cover no-repeat;
    transform: scale(1.05); animation: heroBgZoom 20s ease-in-out infinite alternate;
}
@keyframes heroBgZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(45deg, rgba(15,27,45,0.92) 0%, rgba(27,107,74,0.8) 50%, rgba(15,27,45,0.88) 100%);
    background-size: 200% 200%; animation: gradientShift 10s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 120px 20px 80px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px;
    background: linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0.15)); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 30px; letter-spacing: 1px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2); animation: fadeInDown 0.8s ease-out;
}
.hero-badge i { color: var(--accent); }
.hero-title { font-family: var(--font-heading); line-height: 1.1; margin-bottom: 20px; }
.hero-title-line { display: block; animation: fadeInUp 0.8s ease-out both; }
.hero-title-line:nth-child(1) { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 500; letter-spacing: 6px; text-transform: uppercase; animation-delay: 0.2s; opacity: 0.9; text-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.hero-title-line:nth-child(2) { font-size: clamp(3.5rem, 9vw, 6.5rem); font-weight: 800; animation-delay: 0.4s; background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }
.hero-title-line:nth-child(3) { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: 16px; animation-delay: 0.6s; background: linear-gradient(135deg, var(--accent), var(--accent-light), #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 15px rgba(212,168,67,0.4)); margin-left: 16px; display: inline-block; }
.hero-subtitle { display: flex; justify-content: center; gap: 16px; align-items: center; margin-bottom: 24px; animation: fadeInUp 0.8s ease-out 0.8s both; flex-wrap: wrap; }
.hero-accent-word { position: relative; color: var(--white); padding: 8px 20px; background: rgba(255,255,255,0.05); border-radius: 50px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); transition: var(--transition); box-shadow: 0 4px 15px rgba(0,0,0,0.2); font-size: 1.1rem; letter-spacing: 2px; }
.hero-accent-word:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); border-color: rgba(255,255,255,0.3); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.hero-accent-word strong { color: var(--accent); font-weight: 800; font-size: 1.3rem; text-shadow: 0 0 10px rgba(212,168,67,0.3); }
.hero-subtitle .dot { color: var(--accent); font-size: 1.5rem; }
.hero-desc { max-width: 600px; margin: 0 auto 40px; opacity: 0.9; font-size: 1.15rem; line-height: 1.8; text-shadow: 0 2px 8px rgba(0,0,0,0.5); animation: fadeInUp 0.8s ease-out 1s both; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.8s ease-out 1.2s both; }
.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 2px;
    animation: fadeInUp 0.8s ease-out 1.5s both;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBounce { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.3; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ============ SAMBUTAN ============ */
.sambutan { background: var(--white); }
.sambutan-grid { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.sambutan-quote { padding: 20px 24px; background: rgba(27,107,74,0.04); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.quote-icon { color: var(--accent); font-size: 1.5rem; margin-bottom: 8px; }
.sambutan-text p { margin-bottom: 16px; color: var(--text-light); }
.sambutan-hidden { display: none; }
.sambutan-text.expanded .sambutan-hidden { display: block; animation: fadeInUp 0.5s ease; }
.btn-read-more {
    display: inline-flex; align-items: center; gap: 6px; color: var(--primary);
    font-weight: 600; font-size: 0.9rem; padding: 8px 0; margin-bottom: 24px;
}
.btn-read-more i { transition: var(--transition); font-size: 0.7rem; }
.btn-read-more.expanded i { transform: rotate(180deg); }
.btn-read-more:hover { color: var(--primary-dark); }
.sambutan-signature { border-top: 1px solid var(--border); padding-top: 20px; }
.signature-line { width: 60px; height: 3px; background: var(--accent); margin-bottom: 12px; }
.signature-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.signature-title { color: var(--text-light); font-size: 0.9rem; }
.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-decoration {
    position: absolute; top: -20px; right: -20px; width: 120px; height: 120px;
    border: 3px solid var(--accent); border-radius: var(--radius-lg); z-index: 0; opacity: 0.3;
}
.photo-frame img { width: 100%; height: 500px; object-fit: cover; position: relative; z-index: 1; }
.photo-label {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    background: linear-gradient(to top, rgba(15,27,45,0.9), transparent);
    padding: 40px 24px 20px; color: var(--white);
}
.photo-label span { font-size: 0.85rem; opacity: 0.8; }
.photo-label strong { display: block; font-family: var(--font-heading); font-size: 1.2rem; }

/* ============ STATISTICS ============ */
.stats-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); overflow: hidden; }
.stats-section .section-label, .stats-section .section-title { color: var(--white); }
.stats-section .label-line { background: var(--accent); }
.stats-section .section-desc { color: rgba(255,255,255,0.75); }
.stats-bg-pattern {
    position: absolute; inset: 0; opacity: 0.05;
    background-image: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 30px 30px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; position: relative; z-index: 1; }
.stat-card {
    text-align: center; padding: 36px 20px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12); transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.stat-icon { font-size: 2rem; margin-bottom: 16px; color: var(--accent); }
.stat-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; line-height: 1; }
.stat-unit { font-size: 0.85rem; opacity: 0.7; margin-top: 4px; }
.stat-label { font-size: 0.95rem; margin-top: 8px; font-weight: 500; opacity: 0.9; }

/* ============ POSYANDU ============ */
.posyandu-section { background: var(--bg); }
.posyandu-search { max-width: 480px; margin: 0 auto 36px; }
.search-box {
    display: flex; align-items: center; gap: 12px; padding: 14px 24px;
    background: var(--white); border-radius: 50px; border: 2px solid var(--border);
    transition: var(--transition);
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(27,107,74,0.1); }
.search-box i { color: var(--text-muted); }
.search-box input { border: none; outline: none; width: 100%; font-size: 0.95rem; font-family: var(--font-body); background: transparent; }
.posyandu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.posyandu-card {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
    transition: var(--transition);
}
.posyandu-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.posyandu-icon {
    width: 48px; height: 48px; border-radius: var(--radius); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(27,107,74,0.08), rgba(27,107,74,0.15));
    color: var(--primary); font-size: 1.1rem;
}
.posyandu-card:hover .posyandu-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); }
.posyandu-info h3 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; }
.posyandu-link { font-size: 0.8rem; color: var(--primary); font-weight: 500; display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.posyandu-link i { font-size: 0.65rem; transition: var(--transition); }
.posyandu-card:hover .posyandu-link i { transform: translateX(4px); }
.posyandu-toggle-wrap { text-align: center; margin-top: 28px; }

/* ============ MITRA KEPEMIMPINAN ============ */
.mitra-section { background: var(--white); }
.mitra-slider-wrapper { position: relative; margin-top: 48px; padding: 0 50px; }
.mitra-slider { overflow: hidden; border-radius: var(--radius-lg); }
.mitra-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.mitra-card { min-width: calc(100% / 3); padding: 0 12px; box-sizing: border-box; }
.mitra-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.mitra-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mitra-card:hover .mitra-photo img { transform: scale(1.05); }
.mitra-photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,27,45,0.7) 0%, transparent 60%);
}
.mitra-info { padding: 16px 8px 8px; text-align: center; }
.mitra-info h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; }
.mitra-role {
    display: inline-block; margin-top: 6px; padding: 4px 14px; border-radius: 50px;
    background: rgba(27,107,74,0.08); color: var(--primary); font-size: 0.8rem; font-weight: 600;
}
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 44px; height: 44px; border-radius: 50%; background: var(--white);
    box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1rem; transition: var(--transition);
}
.slider-btn:hover { background: var(--primary); color: var(--white); }
.slider-prev { left: 0; }
.slider-next { right: 0; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.slider-dot {
    width: 10px; height: 10px; border-radius: 50%; background: var(--border);
    cursor: pointer; transition: var(--transition);
}
.slider-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

/* ============ PELAYANAN ============ */
.pelayanan-section { background: var(--bg); }
.pelayanan-tabs { display: flex; justify-content: center; gap: 12px; margin: 40px 0 32px; flex-wrap: wrap; }
.tab-btn {
    display: flex; align-items: center; gap: 8px; padding: 14px 28px;
    border-radius: 50px; font-size: 0.95rem; font-weight: 600; color: var(--text-light);
    background: var(--white); border: 2px solid var(--border); transition: var(--transition);
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeInUp 0.4s ease; }
.pelayanan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pelayanan-card {
    padding: 32px 24px; background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: var(--transition); text-align: center;
}
.pelayanan-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.pelayanan-icon {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(27,107,74,0.08), rgba(212,168,67,0.1));
    color: var(--primary); font-size: 1.5rem; transition: var(--transition);
}
.pelayanan-card:hover .pelayanan-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); transform: scale(1.1); }
.pelayanan-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.pelayanan-card p { font-size: 0.88rem; color: var(--text-light); }
.pelayanan-cta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; margin-bottom: 40px; }
.cta-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 28px 24px;
    background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
    transition: var(--transition);
}
.cta-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cta-icon { width: 56px; height: 56px; border-radius: var(--radius); flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: var(--white); font-size: 1.3rem; }
.cta-content h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; }
.cta-content p { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }
.cta-card .btn { flex-shrink: 0; }

/* ============ BLOG ============ */
.blog-section { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.blog-featured { grid-column: 1; grid-row: 1 / 3; }
.blog-card {
    background: var(--bg); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border); transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-image { position: relative; overflow: hidden; }
.blog-featured .blog-image { height: 300px; }
.blog-card:not(.blog-featured) .blog-image { height: 180px; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-category {
    position: absolute; top: 16px; left: 16px; padding: 5px 14px;
    background: var(--primary); color: var(--white); border-radius: 50px;
    font-size: 0.75rem; font-weight: 600;
}
.blog-content { padding: 20px 24px; }
.blog-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 16px; }
.blog-meta i { color: var(--accent); }
.blog-content h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.blog-content h3 a:hover { color: var(--primary); }
.blog-content p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 12px; }
.blog-read-more { color: var(--primary); font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.blog-read-more:hover { gap: 10px; }

/* ============ KEGIATAN / TIMELINE ============ */
.kegiatan-section { background: var(--bg); }
.timeline { max-width: 800px; margin: 48px auto 0; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--accent)); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-marker {
    position: absolute; left: -40px; top: 20px; width: 38px; height: 38px;
    border-radius: 50%; background: var(--white); border: 3px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 0.85rem; z-index: 1;
}
.timeline-card {
    display: flex; background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border); transition: var(--transition);
}
.timeline-card:hover { box-shadow: var(--shadow); }
.timeline-date {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); padding: 24px 20px; min-width: 100px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.date-day { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.date-month { font-size: 0.8rem; opacity: 0.9; margin-top: 2px; }
.timeline-content { padding: 20px 24px; flex: 1; }
.timeline-content h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.timeline-details { margin-bottom: 14px; }
.timeline-details li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-light); margin-bottom: 4px; }
.timeline-details i { color: var(--accent); font-size: 0.8rem; width: 16px; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); position: relative; padding-top: 80px; }
.footer-wave { position: absolute; top: -2px; left: 0; right: 0; color: var(--bg); line-height: 0; }
.footer-wave svg { width: 100%; height: 80px; }
.footer-logo-row { text-align: center; padding: 40px 0 30px; }
.footer-logo-row .footer-brand-logo { margin-bottom: 12px; display: inline-block; }
.footer-logo-row .footer-brand { justify-content: center; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); letter-spacing: 3px; text-transform: uppercase; font-weight: 500; margin-top: 8px; }
.footer-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); margin-bottom: 10px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 30px 0 60px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.brand-icon.light { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact i { color: var(--accent); margin-top: 4px; width: 16px; }
.footer-contact a:hover { color: var(--accent); }
.footer h4 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '→'; color: var(--accent); font-size: 0.8rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-map { border-radius: var(--radius); overflow: hidden; height: 160px; background: var(--bg-dark-alt); margin-bottom: 16px; }
.map-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 8px; color: rgba(255,255,255,0.4);
    cursor: pointer; transition: var(--transition); font-size: 0.85rem;
}
.map-placeholder i { font-size: 2rem; }
.map-placeholder:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
    font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ============ INFOGRAFIS DEMOGRAFI ============ */
.infografis-section { background: var(--bg-alt); }
.info-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; margin-bottom: 48px; }
.info-summary-card { display: flex; align-items: center; gap: 18px; background: var(--white); padding: 24px 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.info-summary-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.info-summary-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--white); flex-shrink: 0; }
.info-summary-icon.male { background: linear-gradient(135deg, #2980b9, #3498db); }
.info-summary-icon.female { background: linear-gradient(135deg, #e84393, #fd79a8); }
.info-summary-number { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--text); display: block; line-height: 1.2; }
.info-summary-label { font-size: 0.85rem; color: var(--text-light); font-weight: 500; }

.info-charts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-chart-card { background: var(--white); padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.info-chart-card:hover { box-shadow: var(--shadow-lg); }
.info-chart-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.info-chart-title i { color: var(--primary); font-size: 1.1rem; }
.info-chart-wrap { position: relative; max-width: 300px; margin: 0 auto; }

[data-theme="dark"] .info-summary-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .info-chart-card { background: var(--bg-alt); border-color: var(--border); }

/* ============ FAQ SECTION ============ */
.faq-section { background: var(--bg); }
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item.active { border-color: var(--primary); box-shadow: 0 4px 20px rgba(27,107,74,0.08); }
.faq-question { width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 24px; text-align: left; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--text); cursor: pointer; transition: var(--transition); }
.faq-question:hover { color: var(--primary); }
.faq-item.active .faq-question { color: var(--primary); }
.faq-q-icon { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; opacity: 0.6; }
.faq-item.active .faq-q-icon { opacity: 1; }
.faq-q-text { flex: 1; }
.faq-toggle { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--text-muted); transition: var(--transition); }
.faq-item.active .faq-toggle { background: var(--primary); color: var(--white); transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer-inner { padding: 0 24px 20px 58px; color: var(--text-light); font-size: 0.92rem; line-height: 1.8; }
.faq-answer-inner p { margin-bottom: 8px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

.faq-cta { text-align: center; margin-top: 40px; }
.faq-cta p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }

[data-theme="dark"] .faq-item { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .faq-toggle { background: var(--bg); }

/* ============ PUSAT DOKUMEN ============ */
/* Homepage Grid */
.dokumen-section { background: var(--bg-alt); }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.doc-grid-card { display: flex; align-items: center; gap: 16px; background: var(--white); padding: 20px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.doc-grid-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.doc-grid-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.doc-icon-pdf { background: rgba(220,53,69,0.1); color: #dc3545; }
.doc-icon-doc, .doc-icon-docx { background: rgba(13,110,253,0.1); color: #0d6efd; }
.doc-icon-xls, .doc-icon-xlsx { background: rgba(25,135,84,0.1); color: #198754; }
.doc-icon-default { background: rgba(27,107,74,0.1); color: var(--primary); }
.doc-grid-info { flex: 1; min-width: 0; }
.doc-grid-info h4 { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-grid-meta { display: flex; gap: 12px; font-size: 0.75rem; color: var(--text-muted); }
.doc-grid-dl { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; transition: var(--transition); }
.doc-grid-dl:hover { background: var(--primary-dark); transform: scale(1.1); }

/* Archive Page */
.dokumen-archive-section { padding-bottom: 80px; }
.doc-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.doc-filter-btn { padding: 8px 20px; border-radius: 50px; border: 1px solid var(--border); font-size: 0.85rem; font-weight: 500; color: var(--text-light); transition: var(--transition); font-family: var(--font-body); cursor: pointer; background: var(--white); }
.doc-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.doc-filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-card { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.doc-card:hover { box-shadow: var(--shadow); }
.doc-card.hidden { display: none; }
.doc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.doc-info { flex: 1; min-width: 0; }
.doc-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.doc-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 6px; }
.doc-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-muted); align-items: center; }
.doc-meta i { margin-right: 4px; }
.doc-tag { display: flex; align-items: center; gap: 4px; }
.doc-ext { padding: 2px 8px; background: var(--bg-alt); border-radius: 4px; font-weight: 600; font-size: 0.7rem; text-transform: uppercase; }
.doc-actions { flex-shrink: 0; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.doc-no-file { font-size: 0.8rem; color: var(--text-muted); }
.doc-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.doc-empty i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.3; display: block; }

[data-theme="dark"] .doc-grid-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .doc-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .doc-filter-btn { background: var(--bg-alt); border-color: var(--border); }

/* ============ WEATHER WIDGET ============ */
.top-bar-weather { display: flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; margin-right: 12px; padding-right: 12px; border-right: 1px solid rgba(255,255,255,0.15); }
.top-bar-weather i { font-size: 0.9rem; }

/* ============ ACCESSIBILITY ============ */
.nav-accessibility-toggle { position: relative; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 1rem; transition: var(--transition); margin-left: 4px; flex-shrink: 0; }
.nav-accessibility-toggle:hover { color: var(--accent); background: rgba(212,168,67,0.1); }
.accessibility-panel { position: absolute; top: 100%; right: 0; width: 280px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); z-index: 100; }
.accessibility-panel.active { opacity: 1; visibility: visible; transform: translateY(0); }
.access-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; color: var(--text); }
.access-panel-header i { color: var(--primary); margin-right: 6px; }
.access-panel-close { color: var(--text-muted); font-size: 0.85rem; transition: var(--transition); }
.access-panel-close:hover { color: var(--text); }
.access-option { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.access-option span:first-child { font-size: 0.85rem; color: var(--text); font-weight: 500; }
.access-font-btns { display: flex; gap: 6px; }
.access-font-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-light); transition: var(--transition); cursor: pointer; background: transparent; font-family: var(--font-body); }
.access-font-btn[data-size="small"] { font-size: 0.7rem; }
.access-font-btn[data-size="normal"] { font-size: 0.85rem; }
.access-font-btn[data-size="large"] { font-size: 1.1rem; }
.access-font-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.access-switch { position: relative; width: 44px; height: 24px; display: inline-block; }
.access-switch input { opacity: 0; width: 0; height: 0; }
.access-slider { position: absolute; inset: 0; background: var(--border); border-radius: 24px; cursor: pointer; transition: var(--transition); }
.access-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: var(--transition); }
.access-switch input:checked + .access-slider { background: var(--primary); }
.access-switch input:checked + .access-slider::before { transform: translateX(20px); }

/* High Contrast */
.high-contrast { --bg: #000; --bg-alt: #111; --text: #fff; --text-light: #ddd; --text-muted: #aaa; --white: #111; --border: #444; }
.high-contrast .navbar { background: #000 !important; }
.high-contrast .top-bar { background: #111; }
.high-contrast a, .high-contrast .btn-primary { color: #FFD700 !important; }
.high-contrast .btn-primary { background: #FFD700 !important; color: #000 !important; }

/* Font Size Modes */
.font-small { font-size: 14px; }
.font-large { font-size: 18px; }

[data-theme="dark"] .accessibility-panel { background: var(--bg-alt); border-color: var(--border); }

/* ============ KALENDER KEGIATAN ============ */
.kalender-section { background: var(--bg-alt); }
.kalender-wrap { max-width: 500px; margin: 40px auto 0; }
.kalender-card { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.kalender-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 12px; }
.kalender-nav-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); transition: var(--transition); cursor: pointer; background: transparent; }
.kalender-nav-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.kalender-month { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.kalender-header { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; padding: 8px 16px; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.kalender-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 8px 16px 16px; }
.kal-day { position: relative; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 0.85rem; font-weight: 500; color: var(--text); cursor: pointer; transition: var(--transition); }
.kal-day:hover:not(.empty) { background: var(--bg-alt); }
.kal-day.empty { cursor: default; }
.kal-day.today { background: var(--primary); color: var(--white); font-weight: 700; }
.kal-day.has-event { font-weight: 700; color: var(--primary); }
.kal-day.has-event.today { color: var(--white); }
.kal-day.selected { background: var(--accent) !important; color: #fff !important; }
.kal-dot { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.kal-day.today .kal-dot { background: var(--white); }
.kalender-event-detail { padding: 16px 24px 20px; border-top: 1px solid var(--border); min-height: 60px; }
.kalender-event-empty { color: var(--text-muted); font-size: 0.85rem; text-align: center; margin: 0; }
.kal-event-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; transition: var(--transition); }
.kal-event-item:hover { color: var(--primary); }
.kal-event-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.kal-event-info { flex: 1; }
.kal-event-info strong { display: block; font-size: 0.9rem; color: var(--text); margin-bottom: 2px; }
.kal-event-info span { font-size: 0.78rem; color: var(--text-muted); display: flex; gap: 10px; }
.kal-event-info i { font-size: 0.7rem; }

[data-theme="dark"] .kalender-card { background: var(--bg-alt); border-color: var(--border); }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed; bottom: 100px; right: 30px; width: 44px; height: 44px;
    border-radius: 50%; background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(27,107,74,0.3); opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: var(--transition); z-index: 998;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ============ WHATSAPP WIDGET ============ */
.wa-widget { position: fixed; bottom: 30px; right: 30px; z-index: 999; }

/* FAB Button */
.wa-fab { position: relative; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition); cursor: pointer; border: none; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.wa-fab-icon, .wa-fab-close { position: absolute; transition: all 0.3s ease; }
.wa-fab-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.wa-widget.active .wa-fab-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }
.wa-widget.active .wa-fab-close { opacity: 1; transform: rotate(0) scale(1); }

/* Pulse Animation */
.wa-fab-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }
.wa-widget.active .wa-fab-pulse { display: none; }

/* Popup */
.wa-popup { position: absolute; bottom: 72px; right: 0; width: 360px; border-radius: var(--radius-xl); background: var(--white); box-shadow: 0 12px 50px rgba(0,0,0,0.2); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: bottom right; }
.wa-widget.active .wa-popup { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

/* Popup Header */
.wa-popup-header { background: linear-gradient(135deg, #075E54, #128C7E); padding: 20px; display: flex; align-items: center; justify-content: space-between; }
.wa-popup-header-info { display: flex; align-items: center; gap: 14px; }
.wa-avatar { position: relative; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--white); }
.wa-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.wa-online-dot { position: absolute; bottom: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: #25D366; border: 2px solid #075E54; }
.wa-header-text h4 { color: var(--white); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.wa-header-text span { color: rgba(255,255,255,0.75); font-size: 0.78rem; }
.wa-popup-close { color: rgba(255,255,255,0.7); font-size: 1.1rem; transition: var(--transition); background: none; border: none; cursor: pointer; padding: 4px; }
.wa-popup-close:hover { color: var(--white); }

/* Popup Body */
.wa-popup-body { padding: 24px 20px; background: #ECE5DD url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><rect fill="%23ECE5DD"/><g fill="%23d5cec3" opacity="0.15"><rect x="20" y="20" width="8" height="8" rx="2"/><rect x="80" y="60" width="8" height="8" rx="2"/><rect x="150" y="30" width="8" height="8" rx="2"/><rect x="40" y="120" width="8" height="8" rx="2"/><rect x="200" y="100" width="8" height="8" rx="2"/><rect x="100" y="180" width="8" height="8" rx="2"/><rect x="250" y="200" width="8" height="8" rx="2"/></g></svg>'); min-height: 120px; }
.wa-chat-bubble { background: var(--white); padding: 12px 16px; border-radius: 0 12px 12px 12px; max-width: 85%; box-shadow: 0 1px 3px rgba(0,0,0,0.08); position: relative; }
.wa-chat-bubble::before { content: ''; position: absolute; top: 0; left: -8px; border-width: 0 8px 8px 0; border-style: solid; border-color: transparent var(--white) transparent transparent; }
.wa-chat-bubble p { font-size: 0.9rem; color: var(--text); line-height: 1.5; margin: 0; }
.wa-chat-time { display: block; text-align: right; font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }

/* Popup Footer */
.wa-popup-footer { padding: 12px 16px; background: #f0f0f0; border-top: 1px solid var(--border); }
.wa-form { display: flex; gap: 10px; align-items: center; }
.wa-input { flex: 1; padding: 10px 16px; border-radius: 24px; border: 1px solid var(--border); background: var(--white); font-size: 0.9rem; outline: none; transition: var(--transition); }
.wa-input:focus { border-color: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,0.1); }
.wa-send { width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: none; cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.wa-send:hover { background: #128C7E; transform: scale(1.05); }

/* ============ SCROLL ANIMATIONS ============ */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4,0,0.2,1); }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* ============ GALLERY / JELAJAH DESA ============ */
.gallery-section { background: var(--white); overflow: hidden; }
.gallery-masonry {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px;
    gap: 8px; margin-top: 48px; padding: 0 20px; max-width: 1400px; margin-left: auto; margin-right: auto;
    grid-auto-flow: dense;
}
.gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
}
.gallery-large { grid-column: span 2; grid-row: span 2; }
.gallery-half { grid-column: span 2; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,27,45,0.85) 0%, rgba(15,27,45,0.2) 50%, transparent 100%);
    opacity: 0; transition: opacity 0.4s ease; display: flex; align-items: flex-end; padding: 24px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-info { color: var(--white); transform: translateY(10px); transition: transform 0.4s ease; }
.gallery-item:hover .gallery-info { transform: translateY(0); }
.gallery-info i { font-size: 1.2rem; color: var(--accent); margin-bottom: 8px; display: block; }
.gallery-info h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.gallery-info p { font-size: 0.85rem; opacity: 0.8; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92);
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(10px); animation: fadeIn 0.3s ease;
}
.lightbox.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-content { max-width: 90vw; max-height: 85vh; text-align: center; }
.lightbox-content img {
    max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
    color: var(--white); margin-top: 16px; font-size: 1rem; font-weight: 500;
    font-family: var(--font-heading);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; z-index: 10; color: var(--white); font-size: 1.5rem;
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; background: rgba(255,255,255,0.1); transition: var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .sambutan-grid { grid-template-columns: 1fr; gap: 40px; }
    .sambutan-photo { order: -1; max-width: 350px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .posyandu-grid { grid-template-columns: repeat(3, 1fr); }
    .pelayanan-grid { grid-template-columns: repeat(2, 1fr); }
    .mitra-card { min-width: calc(100% / 2); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .gallery-large { grid-row: span 2; }
    .gallery-half { grid-column: span 2; }
}
@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .top-bar { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
        background: var(--white); flex-direction: column; padding: 80px 24px 24px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1); transition: var(--transition);
        align-items: stretch; gap: 0; overflow-y: auto; z-index: 1001;
    }
    .nav-menu.active { right: 0; }
    .nav-link { padding: 14px 16px; }
    .nav-cta { margin-left: 0 !important; margin-top: 12px; text-align: center; justify-content: center; }
    .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; padding-left: 16px; display: none;
        background: var(--bg);
    }
    .has-dropdown.open .dropdown { display: block; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .posyandu-grid { grid-template-columns: repeat(2, 1fr); }
    .pelayanan-grid { grid-template-columns: 1fr; }
    .pelayanan-cta { grid-template-columns: 1fr; }
    .cta-card { flex-wrap: wrap; }
    .cta-card .btn { margin-left: 0; width: 100%; justify-content: center; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured { grid-row: auto; }
    .mitra-card { min-width: 100%; }
    .mitra-slider-wrapper { padding: 0 40px; }
    .timeline { padding-left: 30px; }
    .timeline::before { left: 12px; }
    .timeline-marker { left: -30px; width: 28px; height: 28px; font-size: 0.7rem; }
    .timeline-card { flex-direction: column; }
    .timeline-date { flex-direction: row; gap: 6px; padding: 12px 20px; min-width: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
    .hero-title-line:nth-child(2) { font-size: clamp(2.5rem, 12vw, 4rem); }
    .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .gallery-large { grid-column: span 2; grid-row: span 1; }
    .gallery-half { grid-column: span 2; }
    .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .info-summary { grid-template-columns: 1fr; }
    .info-charts-grid { grid-template-columns: 1fr; }
    .info-chart-wrap { max-width: 280px; }
    .doc-grid { grid-template-columns: 1fr; }
    .doc-card { flex-wrap: wrap; }
    .doc-actions { width: 100%; }
    .doc-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .wa-widget { bottom: 20px; right: 16px; }
    .wa-popup { width: calc(100vw - 32px); right: -6px; }
    .back-to-top { bottom: 90px; right: 20px; width: 38px; height: 38px; font-size: 0.8rem; }
    .info-summary-card { padding: 18px 20px; }
    .info-summary-number { font-size: 1.5rem; }
    .posyandu-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .gallery-large, .gallery-half { grid-column: span 1; grid-row: span 1; }
    .stat-number { font-size: 2.2rem; }
    .pelayanan-tabs { flex-direction: column; align-items: stretch; }
    .tab-btn { justify-content: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ============ SINGLE POST ============ */
.single-main { padding-bottom: 80px; }
.single-hero { position: relative; height: 400px; overflow: hidden; }
.single-hero img { width: 100%; height: 100%; object-fit: cover; }
.single-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%); }
.single-content-wrap { max-width: 800px; margin: -60px auto 0; position: relative; z-index: 2; }
.single-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.single-category { padding: 5px 14px; background: var(--primary); color: var(--white); border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.single-date, .single-author, .single-reading-time { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.single-date i, .single-author i, .single-reading-time i { color: var(--accent); }
.single-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.3; margin-bottom: 32px; }
.single-body { line-height: 1.9; }
.single-body p { margin-bottom: 20px; }
.single-body h2, .single-body h3 { font-family: var(--font-heading); margin: 32px 0 16px; }
.single-body img { border-radius: var(--radius); margin: 24px 0; }
.single-body blockquote { padding: 20px 24px; background: rgba(27,107,74,0.04); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; font-style: italic; }

/* Share Buttons */
.single-share { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 24px; background: var(--bg-alt); border-radius: var(--radius-lg); flex-wrap: wrap; }
.share-label { font-size: 0.9rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.share-label i { color: var(--primary); }
.share-buttons { display: flex; gap: 10px; }
.share-btn { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--white); transition: var(--transition); cursor: pointer; border: none; position: relative; }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-tw { background: #1DA1F2; }
.share-copy { background: var(--primary); }
.share-copy.copied::after { content: 'Tersalin!'; position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--white); padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; white-space: nowrap; animation: fadeInUp 0.3s ease; }
[data-theme="dark"] .single-share { background: var(--bg-alt); }

.single-nav { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.single-nav a { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.single-nav a:hover { color: var(--primary-dark); }

/* ============ PAGE TEMPLATE ============ */
.page-header-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); padding: 120px 0 60px; text-align: center; }
.page-title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.breadcrumbs { font-size: 0.9rem; opacity: 0.8; display: flex; align-items: center; gap: 8px; justify-content: center; }
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .separator { font-size: 0.6rem; }
.page-content { max-width: 800px; margin: 48px auto 80px; line-height: 1.9; }
.page-content h2, .page-content h3 { font-family: var(--font-heading); margin: 32px 0 16px; }
.page-content p { margin-bottom: 20px; }
.page-content img { border-radius: var(--radius); margin: 24px 0; }

/* ============ ARCHIVE / BLOG LISTING ============ */
.archive-main { padding-bottom: 80px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.archive-pagination { margin-top: 48px; text-align: center; }
.archive-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.archive-pagination .page-numbers { padding: 10px 16px; border-radius: 8px; background: var(--white); border: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.archive-pagination .page-numbers.current, .archive-pagination .page-numbers:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.archive-empty { text-align: center; padding: 80px 20px; }
.archive-empty i { font-size: 3rem; color: var(--text-muted); margin-bottom: 16px; }
.archive-empty h2 { font-family: var(--font-heading); margin-bottom: 12px; }
.archive-empty p { color: var(--text-light); margin-bottom: 24px; }

/* ============ WP CORE STYLES ============ */
.entry-content a { color: var(--primary); text-decoration: underline; }
.entry-content a:hover { color: var(--primary-dark); }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 8px; }
.wp-block-image { margin: 24px 0; }
.wp-block-image img { border-radius: var(--radius); }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 20px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 16px; }

/* ============ TRANSPARANSI ANGGARAN ============ */
.transparansi-wrapper { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--border); margin: 40px 0; }
.transparansi-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.transparansi-header h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 8px; }
.pendapatan-total { font-size: 1.1rem; color: var(--primary); }
.transparansi-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.chart-container { height: 300px; position: relative; }
.anggaran-legend ul { list-style: none; padding: 0; }
.anggaran-legend li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px; background: var(--bg); border-radius: 8px; }
.legend-color { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.legend-info { display: flex; flex-direction: column; width: 100%; }
.legend-label { font-size: 0.85rem; color: var(--text-light); }
.legend-value { font-weight: 700; font-family: var(--font-heading); color: var(--text); }

/* ============ APARATUR DESA ============ */
.aparatur-org-chart { text-align: center; margin-top: 40px; }
.aparatur-lead { display: flex; justify-content: center; margin-bottom: 24px; }
.lead-card { max-width: 300px; transform: scale(1.05); border: 2px solid var(--accent); box-shadow: var(--shadow-glow); }
.org-connector { width: 2px; height: 40px; background: var(--accent); margin: 0 auto 24px; position: relative; }
.org-connector::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 2px; background: var(--accent); }
.aparatur-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.aparatur-grid .aparatur-card { width: calc(25% - 25px); min-width: 220px; }
.aparatur-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); text-align: center; padding-bottom: 20px; }
.aparatur-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.aparatur-photo { width: 100%; aspect-ratio: 3/4; overflow: hidden; margin-bottom: 16px; background: var(--bg-dark); }
.aparatur-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.aparatur-card:hover .aparatur-photo img { transform: scale(1.05); }
.aparatur-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 4px; padding: 0 16px; }
.aparatur-role { display: inline-block; padding: 4px 12px; background: rgba(27,107,74,0.08); color: var(--primary); border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin: 0 16px; }

/* ============ FORM & LAYANAN SURAT ============ */
.ktb-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); margin: 40px auto; max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition); background: var(--bg); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,107,74,0.1); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============ LEMBAGA DESA ============ */
.lembaga-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.lembaga-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; align-items: center; text-align: center; }
.lembaga-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.lembaga-logo { width: 120px; height: 120px; margin-bottom: 20px; border-radius: 50%; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.lembaga-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.lembaga-logo-placeholder { font-size: 3rem; color: var(--primary); opacity: 0.5; }
.lembaga-info h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 12px; color: var(--text); }
.lembaga-link { font-size: 0.9rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.lembaga-card:hover .lembaga-link { color: var(--accent); gap: 12px; }

.single-lembaga-header { text-align: center; color: var(--white); margin-top: 20px; }
.lembaga-header-logo { width: 150px; height: 150px; margin: 0 auto 24px; border-radius: 50%; overflow: hidden; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2); padding: 15px; }
.lembaga-header-logo img { width: 100%; height: 100%; object-fit: contain; }
.lembaga-content-wrap { background: var(--white); border-radius: var(--radius-xl); padding: 50px; box-shadow: var(--shadow-lg); margin-top: -60px; position: relative; border: 1px solid var(--border); }

/* ============ LEMBAGA HOME SECTION ============ */
.lembaga-home-section { background: var(--white); }
.lembaga-home-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; margin-top: 40px; }
.lembaga-home-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; transition: var(--transition); width: 130px; }
.lembaga-home-item:hover { transform: translateY(-6px); }
.lembaga-home-logo { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: var(--transition); border: 3px solid transparent; }
.lembaga-home-item:hover .lembaga-home-logo { border-color: var(--primary); box-shadow: 0 8px 30px rgba(27,107,74,0.15); }
.lembaga-home-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.lembaga-home-logo i { font-size: 2.2rem; color: var(--primary); opacity: 0.4; }
.lembaga-home-name { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.lembaga-home-item:hover .lembaga-home-name { color: var(--primary); }
.lembaga-home-cta { text-align: center; margin-top: 40px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border: 2px solid var(--primary); color: var(--primary); border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.btn-outline:hover { background: var(--primary); color: var(--white); gap: 12px; }

/* ============ TRANSPARANSI TAHUNAN ============ */
.transparansi-year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 40px; }
.transparansi-year-card { display: flex; align-items: center; gap: 20px; padding: 28px 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--transition); }
.transparansi-year-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.year-card-icon { width: 60px; height: 60px; border-radius: var(--radius); flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(27,107,74,0.08), rgba(212,168,67,0.1)); color: var(--primary); font-size: 1.5rem; transition: var(--transition); }
.transparansi-year-card:hover .year-card-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); }
.year-card-info { flex: 1; }
.year-card-year { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--primary); background: rgba(27,107,74,0.08); padding: 3px 12px; border-radius: 50px; margin-bottom: 6px; }
.year-card-info h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.year-card-info p { font-size: 0.85rem; color: var(--text-light); }
.year-card-arrow { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--text-light); flex-shrink: 0; transition: var(--transition); }
.transparansi-year-card:hover .year-card-arrow { background: var(--primary); color: var(--white); }
.transparansi-empty { text-align: center; padding: 60px 20px; grid-column: 1 / -1; }
.empty-icon { font-size: 3rem; color: var(--text-muted); margin-bottom: 16px; opacity: 0.4; }
.transparansi-empty h3 { font-family: var(--font-heading); margin-bottom: 8px; }
.transparansi-empty p { color: var(--text-light); font-size: 0.95rem; }

/* ============ INSTAGRAM SECTION ============ */
.instagram-section { background: linear-gradient(135deg, #0a2218, #0f3625, #0a2218); position: relative; overflow: hidden; }
.instagram-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(27,107,74,0.15) 0%, transparent 60%), radial-gradient(circle at 80% 50%, rgba(212,168,67,0.08) 0%, transparent 60%); pointer-events: none; }
.instagram-section .section-title.light { color: var(--white); }
.instagram-section .label-line.light { background: rgba(255,255,255,0.25); }
.instagram-section .section-label span { color: rgba(255,255,255,0.7); }
.ig-handle { text-align: center; margin-top: 12px; }
.ig-handle i { font-size: 1.3rem; color: var(--accent); margin-right: 8px; vertical-align: middle; }
.ig-handle a { color: var(--accent); font-size: 1.1rem; font-weight: 600; transition: var(--transition); }
.ig-handle a:hover { color: var(--accent-light); }

.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto; }
.ig-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ig-item:hover img { transform: scale(1.08); }
.ig-overlay { position: absolute; inset: 0; background: rgba(27,107,74,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.ig-item:hover .ig-overlay { opacity: 1; }
.ig-overlay-icons { display: flex; gap: 24px; color: var(--white); font-size: 1.4rem; }
.ig-overlay-icons span { display: flex; align-items: center; gap: 6px; }

.ig-cta { text-align: center; margin-top: 40px; }
.btn-ig { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); border-radius: 50px; font-weight: 600; font-size: 1rem; transition: var(--transition); box-shadow: 0 4px 20px rgba(27,107,74,0.3); }
.btn-ig:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(27,107,74,0.4); }
.btn-ig i { font-size: 1.2rem; }

/* ============ POP-UP PENGUMUMAN ============ */
.ktb-popup-overlay { position: fixed; inset: 0; background: rgba(15,27,45,0.8); z-index: 9999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: all 0.4s ease; padding: 20px; }
.ktb-popup-overlay.active { opacity: 1; visibility: visible; }
.ktb-popup-content { background: var(--white); border-radius: var(--radius-xl); width: 100%; max-width: 500px; position: relative; transform: scale(0.9) translateY(20px); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: var(--shadow-lg); overflow: hidden; }
.ktb-popup-overlay.active .ktb-popup-content { transform: scale(1) translateY(0); }
.ktb-popup-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--text-light); transition: var(--transition); z-index: 10; }
.ktb-popup-close:hover { background: #fee2e2; color: #ef4444; transform: rotate(90deg); }
.ktb-popup-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); padding: 30px 24px 20px; text-align: center; color: var(--white); }
.ktb-popup-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 16px; box-shadow: 0 0 0 8px rgba(255,255,255,0.1); }
.ktb-popup-header h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; line-height: 1.3; }
.ktb-popup-body { padding: 30px 24px; text-align: center; color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }
.ktb-popup-footer { padding: 0 24px 30px; text-align: center; }
.ktb-popup-footer .btn { width: 100%; justify-content: center; }

@media (max-width: 768px) {
    .archive-grid { grid-template-columns: 1fr; }
    .single-hero { height: 250px; }
    .single-content-wrap { margin-top: -40px; padding: 0 16px; }
}

/* ============ VISI MISI PAGE — REDESIGN ============ */

/* Hero Header - matching Lembaga style */
.vm-hero { position: relative; padding: 160px 0 80px; text-align: center; color: var(--white); overflow: hidden; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2d8f5e 100%); }
.vm-hero-overlay { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.vm-hero-inner { position: relative; z-index: 2; }
.vm-breadcrumbs { margin-bottom: 20px; }
.vm-breadcrumbs a { color: rgba(255,255,255,0.7); }
.vm-breadcrumbs span { color: var(--white); }
.vm-hero-title { font-family: var(--font-heading); font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 800; margin: 0 0 16px; letter-spacing: -0.5px; }
.vm-hero-desc { font-size: clamp(1rem, 2vw, 1.15rem); opacity: 0.85; max-width: 520px; margin: 0 auto; line-height: 1.8; }

/* Layout: Sidebar + Content */
.vm-content-section { padding: 60px 0 80px; background: var(--bg-alt); }
.vm-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }

/* Tab Sidebar */
.vm-sidebar { position: sticky; top: 100px; }
.vm-tabs { background: var(--white); border-radius: var(--radius-xl); padding: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.vm-tab { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: none; background: transparent; cursor: pointer; border-radius: var(--radius-lg); font-size: 0.95rem; font-weight: 500; color: var(--text-light); transition: var(--transition); text-align: left; width: 100%; font-family: inherit; }
.vm-tab:hover { background: var(--bg-alt); color: var(--text); }
.vm-tab i { font-size: 1.1rem; width: 24px; text-align: center; }
.vm-tab.active { background: linear-gradient(135deg, rgba(27,107,74,0.08), rgba(27,107,74,0.04)); color: var(--primary); font-weight: 700; border-left: 3px solid var(--primary); }
.vm-tab.active i { color: var(--primary); }

/* Content Panels */
.vm-panels { min-height: 500px; }
.vm-panel { display: none; animation: vmFadeIn 0.4s ease; }
.vm-panel.active { display: block; }
@keyframes vmFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Label Badge */
.vm-label-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.vm-panel-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: var(--text); margin: 0 0 8px; }
.vm-panel-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }

/* ===== VISI PANEL ===== */
.vm-visi-showcase { margin-top: 8px; }
.vm-visi-quote-card { background: var(--white); border-radius: var(--radius-xl); padding: 48px 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
.vm-visi-quote-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)); }
.vm-visi-icon-circle { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 28px; box-shadow: 0 8px 24px rgba(27,107,74,0.25); }
.vm-visi-text { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.9; color: var(--text); margin: 0; border: none; padding: 0; font-style: italic; }
.vm-visi-footer { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: 32px; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; }
.vm-visi-line { width: 40px; height: 2px; background: var(--accent); }

/* ===== MISI PANEL ===== */
.vm-misi-list { display: flex; flex-direction: column; gap: 16px; }
.vm-misi-item { background: var(--white); border-radius: var(--radius-lg); padding: 24px 28px; border: 1px solid var(--border); display: flex; align-items: center; gap: 20px; transition: var(--transition); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.vm-misi-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.vm-misi-num { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; flex-shrink: 0; }
.vm-misi-item:hover .vm-misi-num { box-shadow: 0 4px 16px rgba(27,107,74,0.3); }
.vm-misi-body { flex: 1; display: flex; align-items: center; gap: 16px; }
.vm-misi-icon { color: var(--primary); font-size: 1.1rem; opacity: 0.6; flex-shrink: 0; }
.vm-misi-body p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text); }

/* ===== TUJUAN PANEL ===== */
.vm-tujuan-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm-tujuan-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; border: 1px solid var(--border); transition: var(--transition); }
.vm-tujuan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.vm-tujuan-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(27,107,74,0.08), rgba(218,174,56,0.08)); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 14px; }
.vm-tujuan-card:hover .vm-tujuan-icon { background: var(--primary); color: var(--white); }
.vm-tujuan-num { font-size: 0.72rem; font-weight: 700; color: var(--accent-dark, #b8941e); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.vm-tujuan-body p { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--text-light); }
.vm-tujuan-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ===== CTA ===== */
.vm-cta { background: var(--bg); padding: 60px 0; }
.vm-cta-inner { background: linear-gradient(135deg, var(--primary-dark), var(--primary), #2d8f5e); border-radius: var(--radius-xl); padding: 48px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; color: var(--white); }
.vm-cta-text h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.vm-cta-text p { opacity: 0.85; max-width: 500px; line-height: 1.7; margin: 0; }
.vm-cta-actions .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* Dark Mode */
[data-theme="dark"] .vm-tabs { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .vm-visi-quote-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .vm-misi-item { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .vm-tujuan-card { background: var(--bg-alt); border-color: var(--border); }

/* Responsive */
@media (max-width: 900px) {
    .vm-layout { grid-template-columns: 1fr; }
    .vm-sidebar { position: static; }
    .vm-tabs { flex-direction: row; overflow-x: auto; }
    .vm-tab { white-space: nowrap; flex-shrink: 0; }
    .vm-tab.active { border-left: none; border-bottom: 3px solid var(--primary); }
}
@media (max-width: 768px) {
    .vm-hero { padding: 130px 0 60px; }
    .vm-content-section { padding: 40px 0 60px; }
    .vm-visi-quote-card { padding: 32px 20px; }
    .vm-tujuan-list { grid-template-columns: 1fr; }
    .vm-cta-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* ============ VISI MISI KLASIK ============ */

/* Hero */
.vmc-hero { position: relative; padding: 160px 0 80px; text-align: center; color: var(--white); overflow: hidden; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2d8f5e 100%); }
.vmc-hero-overlay { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.vmc-hero-inner { position: relative; z-index: 2; }
.vmc-breadcrumbs { margin-bottom: 20px; }
.vmc-breadcrumbs a { color: rgba(255,255,255,0.7); }
.vmc-breadcrumbs span { color: var(--white); }
.vmc-hero-title { font-family: var(--font-heading); font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 800; margin: 0 0 16px; }
.vmc-hero-desc { font-size: clamp(1rem, 2vw, 1.15rem); opacity: 0.85; max-width: 550px; margin: 0 auto; line-height: 1.8; }

/* Visi Card */
.vmc-visi { padding-top: 80px; }
.vmc-visi-card { background: var(--white); border-radius: var(--radius-xl); padding: 50px 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); text-align: center; max-width: 750px; margin: 0 auto; position: relative; overflow: hidden; }
.vmc-visi-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)); }
.vmc-badge { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 10px 24px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 32px; }
.vmc-badge i { font-size: 1rem; }
.vmc-quote-wrap { position: relative; }
.vmc-quote-icon { color: var(--accent); font-size: 2rem; opacity: 0.3; }
.vmc-quote-icon.right { text-align: right; }
.vmc-quote-text { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.9; color: var(--text); padding: 16px 0; margin: 0; border: none; background: none; font-style: italic; }
.vmc-author { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 24px; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; }
.vmc-author-line { width: 40px; height: 2px; background: var(--accent); }

/* Misi Grid */
.vmc-misi { background: var(--bg-alt); }
.vmc-misi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.vmc-misi-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; animation: fadeInUp 0.5s ease both; animation-delay: var(--delay); }
.vmc-misi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.vmc-misi-card:hover .vmc-misi-icon { background: var(--primary); color: var(--white); }
.vmc-misi-number { position: absolute; top: 16px; right: 20px; font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800; color: var(--border); line-height: 1; }
.vmc-misi-card:hover .vmc-misi-number { color: rgba(27,107,74,0.12); }
.vmc-misi-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(27,107,74,0.08); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; transition: var(--transition); }
.vmc-misi-text { font-size: 0.95rem; line-height: 1.7; color: var(--text-light); margin: 0; }

/* Tujuan Timeline */
.vmc-tujuan { position: relative; background: var(--bg); }
.vmc-tujuan-timeline { max-width: 700px; margin: 40px auto 0; position: relative; padding-left: 40px; }
.vmc-tujuan-timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--primary), var(--accent)); border-radius: 3px; }
.vmc-tujuan-item { display: flex; gap: 20px; margin-bottom: 24px; position: relative; animation: fadeInUp 0.5s ease both; animation-delay: var(--delay); }
.vmc-tujuan-dot { position: absolute; left: -40px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.7rem; z-index: 2; flex-shrink: 0; transition: var(--transition); }
.vmc-tujuan-item:hover .vmc-tujuan-dot { background: var(--primary); color: var(--white); transform: scale(1.1); }
.vmc-tujuan-content { background: var(--white); padding: 22px 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); flex: 1; transition: var(--transition); }
.vmc-tujuan-content:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.vmc-tujuan-num { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.vmc-tujuan-content p { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--text-light); }

/* CTA */
.vmc-cta-section { background: var(--bg-alt); }
.vmc-cta-card { background: linear-gradient(135deg, var(--primary-dark), var(--primary), #2d8f5e); border-radius: var(--radius-xl); padding: 48px 40px; text-align: center; color: var(--white); }
.vmc-cta-card h3 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.vmc-cta-card p { opacity: 0.85; margin-bottom: 24px; }
.vmc-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.vmc-cta-btns .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* Dark Mode */
[data-theme="dark"] .vmc-visi-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .vmc-misi-card { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .vmc-tujuan-content { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .vmc-tujuan-dot { background: var(--bg); }

/* Responsive */
@media (max-width: 768px) {
    .vmc-hero { padding: 130px 0 60px; }
    .vmc-visi-card { padding: 32px 24px; }
    .vmc-misi-grid { grid-template-columns: 1fr; }
    .vmc-tujuan-timeline { padding-left: 36px; }
    .vmc-cta-card { padding: 32px 20px; }
}


/* ==== CUSTOM TOP BAR ACTION BUTTONS ==== */
.action-btn-top {
    width: 28px !important; height: 28px !important; border-radius: 50% !important; display: flex !important; align-items: center !important;
    justify-content: center !important; background: rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.7) !important; font-size: 0.75rem !important;
    border: none !important; cursor: pointer !important; padding: 0 !important; outline: none !important; transition: all 0.3s ease !important;
}
.action-btn-top:hover {
    background: var(--primary) !important; color: var(--white) !important; transform: translateY(-2px) !important;
}


/* ==== CUSTOM TOP BAR ACTION BUTTONS & FIXES ==== */
.action-btn-top {
    width: 28px !important; height: 28px !important; border-radius: 50% !important; display: flex !important; align-items: center !important;
    justify-content: center !important; background: rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.7) !important; font-size: 0.75rem !important;
    border: none !important; cursor: pointer !important; padding: 0 !important; outline: none !important; transition: all 0.3s ease !important;
}
.action-btn-top:hover {
    background: var(--primary) !important; color: var(--white) !important; transform: translateY(-2px) !important;
}
.top-bar-right { align-items: center !important; }
.top-bar-right a { display: flex !important; align-items: center !important; justify-content: center !important; margin: 0 !important; }


/* ==== HAPUS GARIS SEPARATOR CUACA ==== */
.top-bar-weather {
    border-right: none !important;
    padding-right: 0 !important;
    margin-right: 4px !important;
}
