/* ============================================================
   Si NARA - BPJS Kesehatan KC Malang
   Stylesheet Utama v1.0
   Pure CSS - No external dependencies
   ============================================================ */

/* ---------- Reset & Custom Properties ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* BPJS Brand Colors */
    --color-primary:     #00529C;   /* BPJS Biru */
    --color-primary-dk:  #003D73;
    --color-primary-lt:  #1A6DB5;
    --color-accent:      #00A859;   /* BPJS Hijau */
    --color-accent-dk:   #007A41;
    --color-accent-lt:   #E8F8EF;

    /* Neutrals */
    --color-white:       #FFFFFF;
    --color-bg:          #F0F4F8;
    --color-surface:     #FFFFFF;
    --color-border:      #DDE3EB;
    --color-text:        #1A2535;
    --color-text-2:      #4A5568;
    --color-text-3:      #718096;

    /* Semantic */
    --color-success:     #00A859;
    --color-warning:     #F6A623;
    --color-error:       #E53E3E;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;

    /* Effects */
    --radius-sm: 0.375rem;
    --radius:    0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow:    0 4px 16px rgba(0,82,156,.10), 0 1px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 40px rgba(0,82,156,.14), 0 4px 12px rgba(0,0,0,.08);
    --shadow-xl: 0 20px 60px rgba(0,82,156,.18), 0 8px 20px rgba(0,0,0,.10);

    /* Transitions */
    --transition: 0.22s cubic-bezier(.4,0,.2,1);
    --transition-slow: 0.45s cubic-bezier(.4,0,.2,1);

    /* Layout */
    --container-max: 1200px;
    --nav-height: 70px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ---------- Section Utilities ---------- */
.section { padding: var(--space-20) 0; }
.section--alt { background: var(--color-white); }
.section__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-lt);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}
.section__title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-primary-dk);
    margin-bottom: var(--space-4);
}
.section__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-2);
    max-width: 56ch;
}
.section__header { margin-bottom: var(--space-12); }
.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin: 0 auto; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: var(--color-primary);
    z-index: 900;
    transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
    background: var(--color-primary-dk);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.navbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}
.navbar__brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-white);
    flex-shrink: 0;
}
.navbar__logo-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.12);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.navbar__brand-text { display: flex; flex-direction: column; }
.navbar__brand-name {
    font-size: var(--text-lg);
    font-weight: 800;
    line-height: 1;
    color: var(--color-white);
}
.navbar__brand-sub {
    font-size: 0.65rem;
    opacity: .75;
    letter-spacing: .03em;
    color: var(--color-white);
    white-space: nowrap;
}
.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}
.navbar__link {
    color: rgba(255,255,255,.82);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.navbar__link:hover,
.navbar__link.active {
    color: var(--color-white);
    background: rgba(255,255,255,.15);
}
.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    background: rgba(255,255,255,.12);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.navbar__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO & SLIDESHOW
   ============================================================ */
.hero {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-dk) 0%, var(--color-primary) 50%, #0066BB 100%);
    display: flex;
    align-items: center;
}

/* Wave decoration */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--color-bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-16);
    padding: var(--space-16) 0;
    position: relative;
    z-index: 2;
}

/* Left — Text */
.hero__content {}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}
.hero__badge::before {
    content: '●';
    color: var(--color-accent);
    font-size: 8px;
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(1.3); }
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    letter-spacing: -.02em;
}
.hero__title span {
    color: var(--color-accent);
    display: block;
}
.hero__subtitle {
    font-size: var(--text-base);
    color: rgba(255,255,255,.7);
    font-style: italic;
    margin-bottom: var(--space-6);
    font-weight: 500;
}
.hero__desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    margin-bottom: var(--space-10);
    max-width: 46ch;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Right — Maskot + Slideshow */
.hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

/* Maskot Container */
.maskot-frame {
    position: relative;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
}
.maskot-frame__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 2px dashed rgba(255,255,255,.25);
    animation: spin-slow 30s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.maskot-frame__inner {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.maskot-frame__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}
/* Placeholder SVG saat foto maskot belum ada */
.maskot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: rgba(255,255,255,.6);
    text-align: center;
    padding: var(--space-4);
}
.maskot-placeholder__icon {
    font-size: 3rem;
    line-height: 1;
}
.maskot-placeholder__text {
    font-size: var(--text-xs);
    font-weight: 600;
    opacity: .8;
}

/* ============================================================
   SLIDESHOW — Foto Narahubung (Hero)
   ============================================================ */
.slideshow {
    width: 100%;
    position: relative;
}
.slideshow__label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    text-align: center;
    margin-bottom: var(--space-3);
}
.slideshow__track-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    padding: var(--space-4);
}
.slideshow__track {
    display: flex;
    gap: var(--space-4);
    transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.slideshow__slide {
    flex: 0 0 calc((100% - 2 * var(--space-4)) / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: transform var(--transition);
}
.slideshow__slide:hover { transform: translateY(-3px); }
.slideshow__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
    transition: border-color var(--transition);
}
.slideshow__slide:hover .slideshow__avatar { border-color: var(--color-accent); }
.slideshow__name {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    text-align: center;
    line-height: 1.3;
}
.slideshow__rs {
    font-size: 0.6rem;
    color: rgba(255,255,255,.5);
    text-align: center;
    line-height: 1.3;
}
.slideshow__dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
}
.slideshow__dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.3);
    transition: all var(--transition);
    cursor: pointer;
}
.slideshow__dot.active {
    background: var(--color-accent);
    width: 18px;
}

/* Hero Decoration */
.hero__deco {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
}
.hero__deco--1 { width: 500px; height: 500px; top: -200px; right: -150px; }
.hero__deco--2 { width: 300px; height: 300px; bottom: 50px; left: -80px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-8);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: .01em;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}
.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(0,168,89,.35);
}
.btn--primary:hover {
    background: var(--color-accent-dk);
    border-color: var(--color-accent-dk);
    box-shadow: 0 6px 24px rgba(0,168,89,.45);
    transform: translateY(-1px);
}
.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,.5);
}
.btn--outline:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--color-white);
}
.btn--blue {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(0,82,156,.25);
}
.btn--blue:hover {
    background: var(--color-primary-dk);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0,82,156,.35);
}
.btn--lg { padding: var(--space-4) var(--space-10); font-size: var(--text-base); }
.btn--full { width: 100%; }

/* ============================================================
   QUICK ACTIONS — Kartu CTA utama
   ============================================================ */
.quick-actions { padding: var(--space-16) 0; }
.quick-actions__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}
.action-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    transition: all var(--transition-slow);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.action-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transition: height var(--transition-slow);
}
.action-card--info::before  { background: var(--color-primary); }
.action-card--petugas::before { background: var(--color-accent); }
.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.action-card:hover::before { height: 6px; }
.action-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.action-card--info    .action-card__icon { background: #EBF4FF; }
.action-card--petugas .action-card__icon { background: var(--color-accent-lt); }
.action-card__body { flex: 1; }
.action-card__title {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-primary-dk);
    margin-bottom: var(--space-2);
}
.action-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-2);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}
.action-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: gap var(--transition);
}
.action-card--info    .action-card__link { color: var(--color-primary); }
.action-card--petugas .action-card__link { color: var(--color-accent-dk); }
.action-card:hover .action-card__link { gap: var(--space-3); }
.action-card__arrow { font-size: var(--text-lg); }

/* ============================================================
   PETUGAS GRID (Halaman Petugas)
   ============================================================ */
.petugas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-6);
}
.petugas-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    transition: all var(--transition-slow);
    text-align: center;
}
.petugas-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.petugas-card__img-wrap {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1A6DB5 100%);
    padding: var(--space-8) var(--space-6) var(--space-4);
}
.petugas-card__img-wrap::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 24px;
    background: var(--color-surface);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.petugas-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 4px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.15);
    position: relative;
    z-index: 1;
}
.petugas-card__body {
    padding: var(--space-5) var(--space-6) var(--space-8);
}
.petugas-card__nama {
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--color-primary-dk);
    margin-bottom: var(--space-1);
}
.petugas-card__jabatan {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}
.petugas-card__rs {
    font-size: var(--text-sm);
    color: var(--color-text-2);
    margin-bottom: var(--space-5);
    line-height: 1.5;
}
.petugas-card__jam {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--color-text-3);
    background: var(--color-bg);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
}
.petugas-card__actions {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
}

/* ============================================================
   INFO ADMINISTRASI
   ============================================================ */
.info-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-5);
}
.info-item {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.info-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}
.info-item__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.info-item__icon {
    font-size: 1.5rem;
    line-height: 1;
}
.info-item__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary-dk);
}
.info-item__content {
    font-size: var(--text-sm);
    color: var(--color-text-2);
    line-height: 1.7;
}

/* ============================================================
   FORM PENGADUAN
   ============================================================ */
.form-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    max-width: 720px;
    margin: 0 auto;
}
.form-group { margin-bottom: var(--space-6); }
.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}
.form-group label .req { color: var(--color-error); }
.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-base);
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0,82,156,.1);
    background: var(--color-white);
}
.form-control::placeholder { color: var(--color-text-3); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}
.form-hint {
    font-size: var(--text-xs);
    color: var(--color-text-3);
    margin-top: var(--space-1);
}
.alert {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    border: 1.5px solid;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.alert--success { background: #F0FBF5; border-color: var(--color-accent); color: var(--color-accent-dk); }
.alert--error   { background: #FFF5F5; border-color: var(--color-error); color: #C53030; }
.alert__icon { font-size: var(--text-xl); flex-shrink: 0; }

/* ============================================================
   LOKASI
   ============================================================ */
.lokasi-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: start;
}
.lokasi-info {}
.lokasi-detail-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}
.lokasi-detail-item__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: #EBF4FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.lokasi-detail-item__body {}
.lokasi-detail-item__label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--color-text-3);
    margin-bottom: var(--space-1);
}
.lokasi-detail-item__value {
    font-size: var(--text-base);
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.5;
}
.map-embed {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    aspect-ratio: 4/3;
    background: #e8e8e8;
}
.map-embed iframe { width: 100%; height: 100%; border: none; display: block; }
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--color-text-3);
    font-size: var(--text-sm);
    text-align: center;
    padding: var(--space-8);
}
.map-placeholder__icon { font-size: 3rem; }

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats {
    background: linear-gradient(135deg, var(--color-primary-dk) 0%, var(--color-primary) 100%);
    padding: var(--space-12) 0;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}
.stats__item {}
.stats__num {
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-2);
}
.stats__num span { color: var(--color-accent); }
.stats__label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.65);
    font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-primary-dk);
    color: rgba(255,255,255,.75);
    padding-top: var(--space-16);
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}
.footer__tagline {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: rgba(255,255,255,.55);
}
.footer__heading {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-5);
}
.footer__list { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__list li { font-size: var(--text-sm); line-height: 1.5; }
.footer__list a {
    color: rgba(255,255,255,.65);
    transition: color var(--transition);
}
.footer__list a:hover { color: var(--color-white); }
.footer__bottom {
    padding: var(--space-5) 0;
    text-align: center;
    font-size: var(--text-xs);
    color: rgba(255,255,255,.4);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: var(--text-lg);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all var(--transition);
}
.back-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
.back-top:hover { background: var(--color-primary-lt); transform: translateY(-2px); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--color-primary-dk) 0%, var(--color-primary) 100%);
    padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-16);
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: var(--color-bg);
    clip-path: ellipse(60% 100% at 50% 100%);
}
.page-header__content { position: relative; z-index: 2; }
.page-header__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(0,168,89,.15);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}
.page-header__title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    letter-spacing: -.02em;
}
.page-header__desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,.75);
    max-width: 50ch;
}

/* Avatar placeholder SVG fallback */
.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7BA3D0, #4A7AAE);
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    border-radius: 50%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: var(--space-10); }
    .hero__visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .maskot-frame { width: 200px; height: 200px; }
    .lokasi-wrap { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2,1fr); gap: var(--space-8); }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --nav-height: 62px; }
    .navbar__menu {
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: var(--color-primary-dk);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-4);
        gap: var(--space-2);
        display: none;
        box-shadow: 0 8px 24px rgba(0,0,0,.25);
    }
    .navbar__menu.open { display: flex; }
    .navbar__link {
        padding: var(--space-3) var(--space-5);
        border-radius: var(--radius);
    }
    .navbar__toggle { display: flex; }

    .hero { min-height: auto; }
    .hero__grid { padding: var(--space-10) 0; }
    .hero__content { text-align: center; }
    .hero__desc { margin: 0 auto var(--space-8); }
    .hero__actions { justify-content: center; }

    .maskot-frame { width: 160px; height: 160px; }
    .slideshow__slide { flex: 0 0 calc((100% - var(--space-4)) / 2); }

    .quick-actions__grid { grid-template-columns: 1fr; }
    .action-card { flex-direction: column; gap: var(--space-4); }

    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: var(--space-8); }

    .petugas-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

    .stats__grid { grid-template-columns: repeat(2,1fr); gap: var(--space-6); }

    .footer__inner { grid-template-columns: 1fr; gap: var(--space-8); }

    .back-top { bottom: var(--space-5); right: var(--space-5); }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-4); }
    .hero__title { font-size: 2rem; }
    .slideshow__slide { flex: 0 0 100%; }
    .info-list { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .page-header { padding-bottom: var(--space-10); }
}
