/* =========================================================================
   SPMB MA Al Asror — Desain Sistem & Halaman Publik
   Terinspirasi panduan visual MA Al Asror (hijau iman, emas prestasi).
   ========================================================================= */

:root {
    --brand-900: #073c25;
    --brand-800: #0a4d30;
    --brand: #0d5e3a;
    --brand-600: #14764b;
    --brand-500: #1a8f5e;
    --brand-300: #7bd9a0;
    --brand-100: #ddfee0;
    --brand-50: #f0faf2;

    --gold: #f6b62d;
    --gold-dark: #d99c14;
    --gold-soft: #fff3d2;

    --blue: #005fcc;
    --blue-soft: #e7f0ff;
    --danger: #bb2d2d;
    --danger-soft: #ffdad6;
    --warning: #b96c10;
    --warning-soft: #fff1dc;
    --success: #1f8c59;
    --success-soft: #ddf5e8;

    --ink: #1a1f1a;
    --ink-soft: #414941;
    --muted: #5c675c;
    --line: #dfe7df;
    --line-strong: #c8d4c8;
    --surface: #fcfdf8;
    --surface-2: #f4f8f2;
    --surface-3: #eaf2e8;
    --white: #ffffff;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 999px;

    --shadow-xs: 0 1px 2px rgba(9, 40, 24, 0.06);
    --shadow-sm: 0 4px 12px rgba(9, 40, 24, 0.06);
    --shadow-md: 0 10px 28px rgba(9, 40, 24, 0.09);
    --shadow-lg: 0 22px 50px rgba(9, 40, 24, 0.14);

    --font: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --container: 1160px;
    --header-h: 76px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.6rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 180ms var(--ease);
}

a:hover { color: var(--brand-500); }

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

ul, ol { margin-top: 0; }

strong { font-weight: 700; }

small { font-size: 0.85rem; }

::selection {
    background: var(--brand-100);
    color: var(--brand-900);
}

:focus-visible {
    outline: 3px solid rgba(0, 95, 204, 0.55);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 999;
    background: var(--brand);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus { top: 12px; color: #fff; }

.icon { flex: 0 0 auto; vertical-align: middle; }

/* =========================================================================
   Tombol
   ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 22px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease),
                background-color 180ms var(--ease), color 180ms var(--ease),
                border-color 180ms var(--ease);
    white-space: nowrap;
    user-select: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled,
.btn.is-disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn--primary {
    background: var(--gold);
    color: #2b2103;
    box-shadow: 0 6px 16px rgba(246, 182, 45, 0.28);
}
.btn--primary:hover { background: var(--gold-dark); color: #1d1602; }

.btn--brand {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 16px rgba(13, 94, 58, 0.22);
}
.btn--brand:hover { background: var(--brand-600); color: #fff; }

.btn--outline {
    background: transparent;
    color: var(--brand);
    border-color: var(--line-strong);
}
.btn--outline:hover { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }

.btn--ghost {
    background: transparent;
    color: var(--brand);
    padding-inline: 14px;
}
.btn--ghost:hover { background: var(--brand-50); }

.btn--light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
}
.btn--light:hover { background: #fff; color: var(--brand); }

.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #9d2323; color: #fff; }

.btn--sm { min-height: 36px; padding: 8px 14px; font-size: 0.85rem; }
.btn--lg { min-height: 52px; padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn .icon { transition: transform 180ms var(--ease); }
.btn:hover .icon { transform: translateX(2px); }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 160ms var(--ease);
}
.icon-btn:hover { border-color: var(--brand-300); color: var(--brand); background: var(--brand-50); }
.icon-btn--danger:hover { border-color: #efb4b4; color: var(--danger); background: #fff4f4; }

/* =========================================================================
   Topbar & Header
   ========================================================================= */

.topbar {
    background: var(--brand-900);
    color: #d9f4e3;
    font-size: 0.82rem;
    padding: 7px 0;
}
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.topbar .icon { color: var(--gold); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(252, 253, 248, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    transition: box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.97); }

.site-header__inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: 0 0 auto; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__eyebrow {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.brand__name { font-size: 1.22rem; font-weight: 800; color: var(--brand-900); letter-spacing: -0.02em; }
.brand__sub { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav__link {
    padding: 9px 11px;
    border-radius: var(--radius-full);
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 160ms var(--ease);
}
.main-nav__link:hover { color: var(--brand); background: var(--brand-50); }
.main-nav__link.is-active { color: var(--brand); background: var(--brand-100); }
.main-nav__mobile-actions { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__actions .btn { min-height: 40px; padding: 9px 16px; font-size: 0.87rem; }
.site-header__actions .btn--ghost { display: none; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    color: var(--brand);
    cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
    position: relative;
    overflow: hidden;
    margin: 28px 24px 0;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 12% 18%, rgba(123, 217, 160, 0.28), transparent 46%),
        radial-gradient(circle at 86% 4%, rgba(246, 182, 45, 0.2), transparent 42%),
        linear-gradient(128deg, var(--brand-900) 0%, var(--brand) 46%, var(--brand-500) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.hero::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    width: 420px; height: 420px;
    right: -140px; bottom: -210px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.05), 0 0 0 92px rgba(255, 255, 255, 0.035);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 40px;
    align-items: center;
    padding: 64px 56px 56px;
    max-width: 1160px;
    margin-inline: auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #eafff1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero__badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(246, 182, 45, 0.22);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(246, 182, 45, 0.24); }
    50% { box-shadow: 0 0 0 7px rgba(246, 182, 45, 0.06); }
}

.hero h1 { color: #fff; margin-bottom: 16px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: #d7f0df;
    max-width: 620px;
    margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 1.55rem; color: #fff; line-height: 1.1; }
.hero-stat span { font-size: 0.78rem; color: #b9e3c8; letter-spacing: 0.04em; }

.hero__aside { display: flex; justify-content: center; }
.hero-card {
    width: 100%;
    max-width: 330px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}
.hero-card__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-card__head span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #b9e3c8; font-weight: 700; }
.hero-card__head .icon { color: var(--gold); }
.hero-card__wave {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
}
.hero-card__wave:last-of-type { border-bottom: 0; }
.hero-card__wave strong { color: #fff; }
.hero-card__wave span { color: #c8e9d5; font-size: 0.8rem; text-align: right; }
.hero-card__note {
    margin: 16px 0 0; padding: 10px 12px;
    background: rgba(246, 182, 45, 0.14);
    border: 1px solid rgba(246, 182, 45, 0.28);
    border-radius: 10px;
    color: #ffe6ad; font-size: 0.8rem; line-height: 1.45;
}

/* =========================================================================
   Section
   ========================================================================= */

.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }
.section--muted { background: var(--surface-2); border-block: 1px solid var(--line); }
.section--brand { background: var(--brand-50); }

.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--brand-600);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.overline::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-title { margin-bottom: 10px; color: var(--brand-900); }
.section-subtitle { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* =========================================================================
   Gelombang
   ========================================================================= */

.wave-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.wave-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-xs);
    transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
    overflow: hidden;
}
.wave-card::before {
    content: "";
    position: absolute; inset: 0 auto 0 0; width: 5px;
    background: var(--brand-300);
}
.wave-card--active { border-color: var(--brand-300); box-shadow: 0 12px 30px rgba(13, 94, 58, 0.1); }
.wave-card--active::before { background: var(--brand); }
.wave-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wave-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.wave-card h3 { margin: 0; color: var(--brand-900); }
.wave-card__period { font-size: 1rem; font-weight: 600; color: var(--ink-soft); margin: 6px 0 16px; }
.wave-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.wave-card__meta span {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: var(--radius-full);
    background: var(--surface-2); color: var(--muted);
    font-size: 0.76rem; font-weight: 600;
}
.wave-card__foot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; }
.wave-card__kuota { font-size: 0.8rem; color: var(--muted); }
.wave-card__kuota strong { color: var(--brand); }

.progress {
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--surface-3);
    overflow: hidden;
    margin-top: 10px;
}
.progress__bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-500), var(--brand)); }

/* =========================================================================
   Program & fitur
   ========================================================================= */

.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.program-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xs);
    transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.program-card--featured {
    background: linear-gradient(160deg, var(--brand-900), var(--brand));
    color: #fff;
    border-color: transparent;
}
.program-card--featured h3 { color: #fff; }
.program-card--featured p { color: #cfebd9; }
.program-card__icon {
    width: 50px; height: 50px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--brand-100); color: var(--brand);
    margin-bottom: 18px;
}
.program-card--featured .program-card__icon { background: rgba(255, 255, 255, 0.14); color: var(--gold); }
.program-card p { color: var(--muted); margin-bottom: 18px; }
.program-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.program-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.92rem; }
.program-card li .icon { color: var(--brand-500); margin-top: 3px; }
.program-card--featured li .icon { color: var(--gold); }

.program-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Program Khusus Olahraga — pembinaan lintas kelas */
.sports-callout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 26px;
    padding: 26px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-200, #cfe9d9);
    background: linear-gradient(135deg, #f2faf5, #e6f5ec);
    box-shadow: var(--shadow-xs);
}
.sports-callout__icon {
    flex: 0 0 auto;
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: var(--brand); color: var(--gold);
    box-shadow: 0 8px 18px rgba(13, 94, 58, 0.18);
}
.sports-callout__body { flex: 1 1 auto; }
.sports-callout__body .overline { color: var(--brand); }
.sports-callout__body h3 { margin: 6px 0 10px; color: var(--brand-900); font-size: 1.15rem; }
.sports-callout__body p { margin: 0; color: var(--ink-soft); max-width: 72ch; }
.sports-callout__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sports-callout__tags span {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; border-radius: var(--radius-full);
    background: #fff; border: 1px solid var(--brand-200, #cfe9d9);
    color: var(--brand); font-size: 0.78rem; font-weight: 700;
}

/* Program Beasiswa */
.beasiswa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 26px;
}
.beasiswa-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.beasiswa-card__title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--brand-900);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.beasiswa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.beasiswa-item {
    display: grid;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--surface-3, #f2f7f4);
}
.beasiswa-item__nama { font-weight: 700; color: var(--brand); font-size: 0.9rem; }
.beasiswa-item__syarat { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.beasiswa-card__note {
    display: flex; align-items: center; gap: 8px;
    margin: 14px 0 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fdf5e3;
    color: #8a5a06;
    font-size: 0.82rem;
    font-weight: 600;
}
.beasiswa-card__note .icon { flex: 0 0 auto; }
.beasiswa-term {
    display: flex; align-items: flex-start; gap: 10px;
    max-width: 860px;
    margin: 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--brand-100, #e6f2ec);
    color: var(--brand-900);
    font-size: 0.85rem;
    line-height: 1.55;
}
.beasiswa-term .icon { flex: 0 0 auto; color: var(--brand); margin-top: 1px; }

.wave-card--full::before { background: var(--danger, #d64545); }
.wave-card__kuota--full { display: inline-flex; align-items: center; gap: 5px; color: var(--danger, #c0392b); font-weight: 700; }
.btn.is-disabled { opacity: 0.55; pointer-events: none; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow-xs);
}
.feature-card .icon { color: var(--brand-500); margin-bottom: 10px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 4px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* =========================================================================
   Alur
   ========================================================================= */

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; counter-reset: step; }
.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 22px 22px;
    box-shadow: var(--shadow-xs);
}
.step-card__num {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-100); color: var(--brand-900);
    font-weight: 800; font-size: 1.05rem;
    margin-bottom: 16px;
}
.step-card__icon { color: var(--brand-500); margin-bottom: 10px; }
.step-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step-card p { flex: 1; color: var(--muted); font-size: 0.88rem; margin: 0; }
.step-card__btn { margin-top: 16px; align-self: flex-start; }

/* =========================================================================
   Persyaratan
   ========================================================================= */

.req-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: start; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.req-list li {
    display: flex; align-items: flex-start; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 16px; font-size: 0.94rem;
    box-shadow: var(--shadow-xs);
}
.req-list li .req-icon {
    width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--success-soft); color: var(--success);
}
.address-box {
    background: linear-gradient(155deg, var(--brand-900), var(--brand));
    color: #fff; border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow-md);
}
.address-box h3 { color: #fff; margin-bottom: 10px; }
.address-box p { color: #cfe9d9; margin-bottom: 18px; }
.address-box__label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.address-box .btn { background: #fff; color: var(--brand); }
.address-box .btn:hover { background: var(--gold); color: #2b2103; }

.doc-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, var(--brand-100), #f4fbf6);
    border: 1px solid var(--brand-200, #cfe9d9);
    box-shadow: var(--shadow-sm);
}
.doc-cta__icon {
    width: 48px; height: 48px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--brand); color: #fff;
}
.doc-cta__body { flex: 1 1 240px; display: grid; gap: 3px; }
.doc-cta__body strong { font-size: 1.02rem; color: var(--brand-900); }
.doc-cta__body span { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.doc-cta .btn { flex: 0 0 auto; }

/* =========================================================================
   Biaya
   ========================================================================= */

.fee-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.fee-table th, .fee-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.fee-table thead th {
    background: var(--brand-900);
    color: #fff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.fee-table thead th:not(:first-child) { text-align: right; }
.fee-table tbody th { font-weight: 700; color: var(--brand-900); }
.fee-table tbody td { text-align: right; font-weight: 700; color: var(--brand); white-space: nowrap; }
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table__note { display: block; font-size: 0.76rem; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* Kartu biaya responsif (menggantikan tabel agar nyaman di layar HP) */
.fee-cards { display: grid; gap: 14px; margin-bottom: 20px; }
.fee-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.fee-card__program { margin: 0; font-size: 1.05rem; color: var(--brand-900); }
.fee-card__note { margin: 3px 0 0; font-size: 0.78rem; color: var(--muted); }
.fee-card__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.fee-card__row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 10px 14px;
}
.fee-card__label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.fee-card__label .icon { color: var(--brand); flex: 0 0 auto; }
.fee-card__amount { font-size: 1rem; font-weight: 800; color: var(--brand); white-space: nowrap; }

.cost-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cost-card__main { padding: 34px; }
.cost-card__amount { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--brand); letter-spacing: -0.03em; line-height: 1.1; }
.cost-card__amount small { font-size: 0.9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cost-card__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.cost-card__list li { display: flex; gap: 8px; }
.cost-card__list .icon { color: var(--success); margin-top: 3px; }
.cost-card__side {
    background: var(--surface-2);
    border-left: 1px solid var(--line);
    padding: 34px;
    display: flex; flex-direction: column; justify-content: center;
}
.cost-card__side h3 { font-size: 1rem; margin-bottom: 12px; }
.bank-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-strong); font-size: 0.9rem; }
.bank-row:last-child { border-bottom: 0; }
.bank-row span { color: var(--muted); }
.bank-row strong { text-align: right; }

/* =========================================================================
   Kontak
   ========================================================================= */

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card {
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow-xs);
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-card__icon {
    width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-100); color: var(--brand);
}
.contact-card h3 { font-size: 0.98rem; margin-bottom: 3px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.88rem; word-break: break-word; }
.contact-card p + p { margin-top: 3px; }

/* =========================================================================
   CTA
   ========================================================================= */

.cta-panel {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, var(--brand-900), var(--brand-500));
    border-radius: var(--radius-xl);
    padding: 52px;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    box-shadow: var(--shadow-lg);
}
.cta-panel::after {
    content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    right: -100px; top: -160px;
    box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.04);
}
.cta-panel h2 { color: #fff; margin-bottom: 8px; }
.cta-panel p { color: #cfe9d9; margin: 0; max-width: 560px; }
.cta-panel__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
    margin-top: 84px;
    background: #08281a;
    color: #c3d8cb;
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 40px;
    padding-bottom: 44px;
}
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__eyebrow { color: var(--brand-300); }
.brand--footer .brand__sub { color: #8fb7a0; }
.footer-brand p { margin: 18px 0; font-size: 0.88rem; color: #9fc0ac; max-width: 320px; }
.footer-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px; border-radius: var(--radius-full);
    background: rgba(246, 182, 45, 0.12); border: 1px solid rgba(246, 182, 45, 0.3);
    color: var(--gold); font-size: 0.76rem; font-weight: 700;
}
.footer-col h3, .footer-col__title { color: #fff; font-size: 0.92rem; letter-spacing: 0.03em; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { color: #a9c8b5; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.86rem; color: #a9c8b5; line-height: 1.5; }
.footer-contact .icon { color: var(--brand-300); margin-top: 3px; }
.footer-contact a {
    color: #c9e2d3;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 0;
}
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.8rem; color: #7fa18c;
}
.footer-bottom p { margin: 0; }
.footer-bottom__meta { display: flex; align-items: center; gap: 10px; }
.footer-bottom a { color: #a9c8b5; }

/* =========================================================================
   Formulir
   ========================================================================= */

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.form-main { min-width: 0; }
.form-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}
.panel__head { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.panel__head h2, .panel__head h3 { margin: 0 0 2px; font-size: 1.12rem; }
.panel__head p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.panel__body { padding: 26px; }

.form-section { padding: 30px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; }
.form-section__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.form-section__num {
    width: 34px; height: 34px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--brand-100); color: var(--brand);
    font-weight: 800; font-size: 0.9rem;
}
.form-section__head h2 { font-size: 1.15rem; margin: 0 0 2px; color: var(--brand-900); }
.form-section__head p { margin: 0; color: var(--muted); font-size: 0.84rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field > label,
.field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-soft);
}
.required { color: var(--danger); font-weight: 800; }
.field-label .optional { color: var(--muted); font-weight: 500; font-size: 0.78rem; }

.input,
.select,
.textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    font-family: inherit;
    font-size: 0.94rem;
    line-height: 1.4;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line-strong);
    border-radius: 10px;
    transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
    appearance: none;
}
.textarea { min-height: 100px; resize: vertical; }
.select {
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a756a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    cursor: pointer;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--brand-300); }
.input:focus, .select:focus, .textarea:focus {
    outline: 0;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(26, 143, 94, 0.12);
}
.input::placeholder, .textarea::placeholder { color: #9aa79a; }
.input:disabled, .select:disabled, .input[readonly] {
    background: var(--surface-3); color: var(--muted); cursor: not-allowed;
}
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(187, 45, 45, 0.08); }
.field-help { display: block; margin-top: 5px; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
.field-error { display: block; margin-top: 5px; font-size: 0.78rem; color: var(--danger); font-weight: 600; }
.input-group { display: flex; }
.input-group .input { border-radius: 10px 0 0 10px; }
.input-group .input + .input { border-radius: 0 10px 10px 0; border-left: 0; }
.input-prefix {
    display: flex; align-items: center; padding: 0 12px;
    background: var(--surface-2); border: 1.5px solid var(--line-strong); border-right: 0;
    border-radius: 10px 0 0 10px; color: var(--muted); font-size: 0.85rem; white-space: nowrap;
}
.input-prefix + .input { border-radius: 0 10px 10px 0; }
.input-group .input:has(+ .input-suffix) { border-radius: 10px 0 0 10px; }
.input-suffix {
    display: flex; align-items: center; padding: 0 12px;
    background: var(--surface-2); border: 1.5px solid var(--line-strong); border-left: 0;
    border-radius: 0 10px 10px 0; color: var(--muted); font-size: 0.85rem; white-space: nowrap;
}

/* Radio & checkbox */
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radio-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.radio-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-card label {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 16px; height: 100%;
    background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px;
    cursor: pointer; transition: all 160ms var(--ease);
}
.radio-card label::before {
    content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px;
    border-radius: 50%; border: 2px solid var(--line-strong); background: #fff;
    transition: all 160ms var(--ease);
}
.radio-card input:checked + label { border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(26, 143, 94, 0.1); }
.radio-card input:checked + label::before { border-color: var(--brand-500); background: radial-gradient(circle, var(--brand-500) 0 4px, #fff 5px); }
.radio-card input:focus-visible + label { outline: 3px solid rgba(0, 95, 204, 0.5); outline-offset: 2px; }
.radio-card strong { display: block; font-size: 0.92rem; color: var(--ink); }
.radio-card span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 2px; line-height: 1.45; }

.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; }
.check-item { display: flex; align-items: center; gap: 9px; }
.check-item input {
    width: 18px; height: 18px; accent-color: var(--brand-500); cursor: pointer; margin: 0; flex: 0 0 auto;
}
.check-item label { font-size: 0.88rem; cursor: pointer; color: var(--ink-soft); }

/* Foto */
.photo-uploader { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.photo-preview {
    width: 120px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden;
    background: var(--surface-3); border: 1px dashed var(--line-strong);
    flex: 0 0 auto; position: relative;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-uploader__body { flex: 1; min-width: 220px; }
.file-input {
    display: block; width: 100%; padding: 10px 12px; font-size: 0.85rem;
    border: 1.5px dashed var(--line-strong); border-radius: 10px; background: var(--surface);
    cursor: pointer;
}
.file-input::file-selector-button {
    margin-right: 10px; padding: 7px 14px; border: 0; border-radius: 8px;
    background: var(--brand-100); color: var(--brand); font-weight: 700; font-family: inherit; cursor: pointer;
}

.form-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 22px 30px; background: var(--surface-2); border-top: 1px solid var(--line);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.form-actions__note { color: var(--muted); font-size: 0.8rem; max-width: 420px; margin: 0; }
.form-actions__info { display: grid; gap: 10px; max-width: 560px; }
.form-consent { align-items: flex-start; }
.form-consent input { margin-top: 3px; }
.form-consent span { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.55; }
.form-consent a { color: var(--brand-600); text-decoration: underline; }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-xs); }
.side-card h3 { font-size: 0.95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.side-card h3 .icon { color: var(--brand-500); }
.side-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.84rem; display: grid; gap: 6px; }
.side-card p { color: var(--muted); font-size: 0.84rem; margin: 0; }
.side-card--brand { background: linear-gradient(160deg, var(--brand-900), var(--brand)); color: #fff; border: 0; }
.side-card--brand h3 { color: #fff; }
.side-card--brand h3 .icon { color: var(--gold); }
.side-card--brand p { color: #cfe9d9; }
.side-card--brand a { color: var(--gold); }

.form-summary { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.82rem; }
.form-summary li { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.form-summary li strong { color: var(--ink); text-align: right; }

/* =========================================================================
   Alert, badge, status
   ========================================================================= */

.flash-container { position: relative; z-index: 80; }
.flash-container:not(:empty) { padding-top: 18px; }

.alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 13px 16px; margin-bottom: 14px;
    border-radius: 12px; border: 1px solid transparent;
    font-size: 0.9rem; line-height: 1.5;
    animation: slideDown 260ms var(--ease);
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.alert__icon { flex: 0 0 auto; margin-top: 1px; }
.alert__close { margin-left: auto; border: 0; background: transparent; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; opacity: 0.6; padding: 0 2px; }
.alert__close:hover { opacity: 1; }
.alert--success { background: var(--success-soft); border-color: #b7e6cc; color: #145c3c; }
.alert--error { background: var(--danger-soft); border-color: #f2bcbc; color: #7d1f1f; }
.alert--warning { background: var(--warning-soft); border-color: #f3d7ae; color: #7a4a0a; }
.alert--info { background: var(--blue-soft); border-color: #c4d9f7; color: #0b3f82; }

.badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: var(--radius-full);
    font-size: 0.72rem; font-weight: 700; line-height: 1.4;
    white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.75; }
.badge--success { background: var(--success-soft); color: #157046; }
.badge--warning { background: var(--warning-soft); color: #8a5209; }
.badge--danger { background: var(--danger-soft); color: #8f2222; }
.badge--info { background: var(--blue-soft); color: #0b4b96; }
.badge--neutral { background: #eef2ee; color: #556055; }
.badge--gold { background: var(--gold-soft); color: #775300; }

/* =========================================================================
   Halaman cek status
   ========================================================================= */

.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
    color: #fff;
    padding: 46px 0 54px;
    margin-bottom: 42px;
    overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16); right: 6%; top: -140px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #cfe9d9; margin: 0; max-width: 680px; }
.page-hero .breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: #a9d6bb; margin-bottom: 14px; }
.page-hero .breadcrumb a { color: #d9f2e2; }
.page-hero .breadcrumb span { opacity: 0.6; }

/* Halaman legal / kebijakan */
.legal {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow-xs);
}
.legal h2 { font-size: 1.12rem; color: var(--brand-900); margin: 28px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.75; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--brand-600); text-decoration: underline; }
.legal__meta { color: var(--muted); font-size: 0.82rem; margin-bottom: 22px; }
@media (max-width: 640px) { .legal { padding: 22px 18px; } }

.lookup-wrap { max-width: 780px; margin: 0 auto; }
.lookup-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.lookup-card h2 { font-size: 1.2rem; margin-bottom: 4px; }
.lookup-card > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.lookup-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.lookup-form .btn { min-height: 46px; }

.result-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; margin-top: 26px; }
.result-card__head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 22px 26px; background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.result-card__head h2 { margin: 0; font-size: 1.15rem; }
.result-card__body { padding: 26px; }
.result-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.result-identity img { width: 72px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.result-identity h3 { margin: 0 0 2px; font-size: 1.25rem; }
.result-identity p { margin: 0; color: var(--muted); font-size: 0.85rem; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; }
.detail-item { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.detail-item dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.detail-item dd { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--ink); word-break: break-word; }

.timeline { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.timeline__item { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
    content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line);
}
.timeline__item:last-child::before { display: none; }
.timeline__dot {
    width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-3); color: var(--muted); border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--line); z-index: 1;
}
.timeline__item.is-done .timeline__dot { background: var(--brand); color: #fff; box-shadow: 0 0 0 1px var(--brand); }
.timeline__item.is-current .timeline__dot { background: var(--gold); color: #2b2103; box-shadow: 0 0 0 1px var(--gold); }
.timeline__body h4 { font-size: 0.92rem; margin: 0 0 2px; }
.timeline__body p { margin: 0; color: var(--muted); font-size: 0.82rem; }

.empty-state { text-align: center; padding: 44px 20px; }
.empty-state__icon {
    width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-3); color: var(--muted);
}
.empty-state h3 { font-size: 1.05rem; margin-bottom: 4px; }
.empty-state p { color: var(--muted); font-size: 0.88rem; margin: 0 auto; max-width: 420px; }

/* =========================================================================
   Kartu pendaftaran (sukses / cetak)
   ========================================================================= */

.reg-card {
    max-width: 720px; margin: 0 auto;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md);
}
.reg-card__head {
    display: flex; align-items: center; gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(125deg, var(--brand-900), var(--brand));
    color: #fff;
}
.reg-card__head .brand__mark { width: 52px; height: 52px; }
.reg-card__head h2 { color: #fff; margin: 0; font-size: 1.1rem; }
.reg-card__head p { margin: 0; color: #cfe9d9; font-size: 0.8rem; }
.reg-card__body { padding: 28px; }
.reg-code {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    background: var(--brand-50); border: 1.5px dashed var(--brand-300);
    border-radius: 14px; padding: 16px 20px; margin-bottom: 24px;
}
.reg-code span { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.reg-code strong { font-size: 1.5rem; letter-spacing: 0.04em; color: var(--brand); font-variant-numeric: tabular-nums; }
.reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-bottom: 22px; }
.reg-grid div { padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.reg-grid dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 700; }
.reg-grid dd { margin: 0; font-size: 0.92rem; font-weight: 600; }
.reg-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.print-only { display: none; }

/* =========================================================================
   Tabel umum
   ========================================================================= */

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { background: var(--surface-2); color: var(--ink-soft); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--brand-50); }
.table td strong { font-weight: 700; }
.table .text-right { text-align: right; }
.table .text-center { text-align: center; }

/* =========================================================================
   Pagination
   ========================================================================= */

.pagination { display: flex; justify-content: center; margin-top: 12px; }
.pagination-bar { margin-top: 18px; }
.pagination-bar__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pagination-info { font-size: 0.84rem; color: var(--muted); }
.pagination-info strong { color: var(--ink); }
.pagination-perpage { display: flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--muted); }
.pagination-perpage__select { width: auto; min-width: 72px; padding: 6px 28px 6px 10px; font-size: 0.84rem; }
.pagination ul { list-style: none; display: flex; gap: 5px; padding: 0; margin: 0; flex-wrap: wrap; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: 9px;
    background: #fff; color: var(--ink-soft); font-size: 0.85rem; font-weight: 600;
}
.page-link:hover { border-color: var(--brand-300); color: var(--brand); background: var(--brand-50); }
.page-link.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-link.is-disabled { opacity: 0.4; pointer-events: none; }
.page-ellipsis { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 36px; color: var(--muted); }

/* =========================================================================
   Util
   ========================================================================= */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--muted); }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* =========================================================================
   Animasi masuk
   ========================================================================= */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Responsif
   ========================================================================= */

@media (max-width: 1080px) {
    .main-nav__link { padding: 9px 8px; font-size: 0.85rem; }
    .site-header__actions .btn--outline { display: none; }
    .hero__inner { grid-template-columns: 1fr; padding: 48px 40px 44px; }
    .hero__aside { justify-content: flex-start; }
    .hero-card { max-width: 100%; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .program-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .site-header__actions { display: none; }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .main-nav {
        position: fixed;
        inset: calc(var(--header-h) + 1px) 0 auto 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 16px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav-open .main-nav { display: flex; }
    .main-nav__link { padding: 12px 14px; font-size: 0.95rem; border-radius: 10px; }
    .main-nav__mobile-actions { display: grid; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
    .hero { margin: 16px 16px 0; }
    .hero__inner { padding: 38px 26px 34px; }
    .wave-grid { grid-template-columns: 1fr; }
    .program-grid { grid-template-columns: 1fr; }
    .req-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .cta-panel { flex-direction: column; align-items: flex-start; padding: 38px 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .form-layout { grid-template-columns: 1fr; }
    .form-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cost-card { grid-template-columns: 1fr; }
    .cost-card__side { border-left: 0; border-top: 1px solid var(--line); }
    .lookup-form { grid-template-columns: 1fr; }
    .lookup-form .btn { width: 100%; }
}

@media (max-width: 640px) {
    .container { padding-inline: 18px; }
    .section { padding-block: 52px; }
    .section-head { margin-bottom: 30px; }
    .hero__inner { padding: 32px 20px 28px; gap: 26px; }
    .hero__stats { gap: 18px 26px; }
    .hero__actions .btn { width: 100%; }
    .brand__name { font-size: 1.08rem; }
    .brand__mark { width: 40px; height: 40px; }
    .topbar { font-size: 0.74rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
    .radio-cards { grid-template-columns: 1fr; }
    .sports-callout { flex-direction: column; padding: 22px; gap: 14px; }
    .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-section { padding: 22px 18px; }
    .form-actions { padding: 18px; }
    .form-actions .btn { width: 100%; }
    .input, .select, .textarea, .file-input { font-size: 16px; }
    .form-side { grid-template-columns: 1fr; }
    .detail-grid, .reg-grid { grid-template-columns: 1fr; }
    .lookup-card { padding: 22px 18px; }
    .result-card__head, .result-card__body { padding: 18px; }
    .feature-grid, .step-grid { grid-template-columns: 1fr; }
    .fee-card { padding: 16px; }
    .fee-card__rows { grid-template-columns: 1fr; }
    .cta-panel { padding: 30px 22px; border-radius: var(--radius-lg); }
    .cta-panel__actions .btn { width: 100%; }
    .site-footer { margin-top: 60px; }
    .table th, .table td { padding: 10px; }
}

/* =========================================================================
   Cetak
   ========================================================================= */

@media print {
    body { background: #fff; color: #000; font-size: 12pt; }
    .site-header, .site-footer, .topbar, .flash-container, .no-print,
    .nav-toggle, .main-nav, .page-hero, .btn { display: none !important; }
    .section { padding: 0 !important; }
    .container { max-width: 100%; padding: 0; }
    .reg-card, .result-card, .panel { box-shadow: none; border: 1px solid #999; }
    .print-only { display: block !important; }
    a { color: #000; text-decoration: none; }
    .reg-card__head { background: #0d5e3a !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .print-page { padding: 0; }
    @page { margin: 14mm; }
}

/* =========================================================================
   Status unggah / proses
   ========================================================================= */

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 7px;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.result-card__foot {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 18px 26px;
    background: var(--surface-2);
    border-top: 1px solid var(--line);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink-soft);
}

.upload-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-900);
    font-size: 0.84rem;
}

.upload-note .icon { color: var(--brand-500); margin-top: 1px; }

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    font-size: 0.88rem;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 9px;
    border-bottom: 1px dashed var(--line);
}

.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list span { color: var(--muted); }
.info-list strong { text-align: right; }

@media (max-width: 640px) {
    .lookup-form { grid-template-columns: 1fr; }
}

.timeline__item.is-danger .timeline__dot {
    background: var(--danger-soft);
    color: var(--danger);
    box-shadow: 0 0 0 1px var(--danger);
}

.timeline__item.is-danger .timeline__body h4 { color: var(--danger); }

/* =========================================================================
   Paket C — Wizard formulir, ringkasan, CTA, FAQ, countdown, halaman error
   ========================================================================= */

/* ----------------------------- Wizard formulir ------------------------- */
.wizard-progress,
.wizard-nav,
.review-card { display: none; }

.form-main.is-wizard .wizard-progress { display: block; }
.form-main.is-wizard .wizard-nav { display: flex; }
.form-main.is-wizard .review-card { display: block; }

.form-section[hidden] { display: none !important; }

.wizard-progress {
    padding: 20px 30px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, var(--brand-50), var(--surface));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.wizard-progress__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.wizard-progress__eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.wizard-progress__step { font-size: 0.8rem; font-weight: 700; color: var(--brand-900); }
.wizard-progress__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}
.wizard-progress__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.25;
    font-weight: 600;
}
.wizard-progress__dot {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--line-strong);
    color: var(--muted);
    font-weight: 800;
    font-size: 0.78rem;
    transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.wizard-progress__item.is-current { color: var(--brand-900); }
.wizard-progress__item.is-current .wizard-progress__dot {
    background: var(--gold);
    border-color: var(--gold-dark);
    color: #2b2103;
    box-shadow: 0 0 0 4px rgba(246, 182, 45, 0.24);
}
.wizard-progress__item.is-done .wizard-progress__dot {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.wizard-progress__bar {
    height: 5px;
    margin-top: 14px;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
}
.wizard-progress__bar span {
    display: block;
    height: 100%;
    width: 16.66%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), var(--brand-500));
    transition: width 260ms var(--ease);
}

.wizard-nav {
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    flex-wrap: wrap;
    padding: 18px 30px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}
.wizard-nav__status { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.wizard-nav__draft { font-size: 0.76rem; color: var(--muted); }
.wizard-nav__draft.is-saved { color: var(--brand-600); }
.wizard-nav__buttons { display: flex; gap: 10px; margin-left: auto; }
.wizard-nav .btn[hidden] { display: none; }

.wizard-draft {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}
.wizard-draft > div { flex: 1 1 240px; }
.wizard-draft__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.review-card {
    margin-top: 26px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}
.review-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    background: var(--brand-50);
    border-bottom: 1px solid var(--line);
}
.review-card__icon { color: var(--brand-600); display: flex; margin-top: 2px; }
.review-card__head h3 { margin: 0 0 2px; font-size: 1rem; color: var(--brand-900); }
.review-card__head p { margin: 0; font-size: 0.82rem; color: var(--muted); }
.review-card__body { padding: 6px 20px 4px; }
.review-group { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.review-group:last-child { border-bottom: 0; }
.review-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.review-group__head h4 { margin: 0; font-size: 0.86rem; color: var(--brand-900); }
.review-group__edit {
    background: none;
    border: 0;
    padding: 4px 2px;
    min-height: 32px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-600);
    text-decoration: underline;
    cursor: pointer;
}
.review-group__edit:hover { color: var(--brand-900); }
.review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 0; }
.review-list > div { min-width: 0; }
.review-list dt { font-size: 0.72rem; color: var(--muted); margin: 0; }
.review-list dd { margin: 1px 0 0; font-size: 0.84rem; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.review-card__note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 12px 20px;
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    font-size: 0.76rem;
    color: var(--muted);
}

@media (max-width: 900px) {
    .wizard-progress { padding: 16px 20px 14px; }
    .wizard-progress__label { display: none; }
    .wizard-progress__item { gap: 0; }
    .wizard-nav { padding: 16px 20px; }
    .review-list { grid-template-columns: 1fr; }
}

/* --------------------------- CTA mobile & WhatsApp --------------------- */
.mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    display: none;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(7, 60, 37, 0.12);
}
.mobile-cta__btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 8px 10px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.1;
    text-align: center;
}
.mobile-cta__btn--brand { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(7, 60, 37, 0.22); }
.mobile-cta__btn--outline { background: #fff; color: var(--brand); border: 1.5px solid var(--line-strong); }

.wa-float {
    position: fixed;
    right: 18px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 81;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #073c25;
    box-shadow: 0 10px 26px rgba(7, 60, 37, 0.28);
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.wa-float:hover { transform: translateY(-2px); color: #073c25; box-shadow: 0 14px 30px rgba(7, 60, 37, 0.34); }
.wa-float .icon { width: 30px; height: 30px; }
.beasiswa-float {
    position: fixed;
    right: 86px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 81;
    display: inline-flex;
    text-decoration: none;
}
.beasiswa-float__bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px 0 14px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7c948, #efb21a);
    color: #4a3200;
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: .01em;
    box-shadow: 0 10px 26px rgba(165, 110, 0, .35), inset 0 1px 0 rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.45);
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
    position: relative;
}
.beasiswa-float__bubble::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    width: 14px; height: 14px;
    background: #f0b61d;
    border-right: 1px solid rgba(255,255,255,.45);
    border-bottom: 1px solid rgba(255,255,255,.2);
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 2px;
}
.beasiswa-float:hover .beasiswa-float__bubble { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(165,110,0,.42), inset 0 1px 0 rgba(255,255,255,.55); }
.beasiswa-float .icon { width: 20px; height: 20px; flex: 0 0 20px; }

@media (max-width: 900px) {
    .mobile-cta { display: flex; }
    .page-daftar .mobile-cta { display: none; }
    .site-footer { padding-bottom: 86px; }
    .page-daftar .site-footer { padding-bottom: 0; }
    .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); width: 52px; height: 52px; right: 14px; }
    .page-daftar .wa-float { bottom: calc(20px + env(safe-area-inset-bottom)); }
    .beasiswa-float { display: none !important; }
}

@media print {
    .mobile-cta, .wa-float, .beasiswa-float, .wizard-progress, .wizard-nav { display: none !important; }
}

/* ------------------------------- FAQ ---------------------------------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 16px 22px;
    cursor: pointer;
    font-weight: 700;
    color: var(--brand-900);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: 0 0 auto; color: var(--brand-600); transition: transform 180ms var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { background: var(--brand-50); }
.faq-item__body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.72; }
.faq-item__body p { margin: 0 0 10px; }
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item__body a { color: var(--brand-600); text-decoration: underline; }
@media (max-width: 640px) {
    .faq-item summary { padding: 14px 16px; font-size: 0.92rem; }
    .faq-item__body { padding: 0 16px 18px; }
}

/* ---------------------------- Countdown ------------------------------- */
.deadline-banner {
    display: flex;
    align-items: center;
    gap: 14px 22px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand-900), var(--brand-600));
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.deadline-banner__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--gold);
}
.deadline-banner__text { flex: 1 1 240px; min-width: 0; }
.deadline-banner__text strong { display: block; color: #fff; font-size: 1rem; }
.deadline-banner__text span { display: block; color: #d7efe0; font-size: 0.84rem; margin-top: 2px; }
.deadline-banner__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.deadline-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.deadline-chip strong { color: var(--gold); }
.deadline-banner .btn { flex: 0 0 auto; }

/* --------------------------- Halaman error ---------------------------- */
.error-page { text-align: center; padding: 64px 0 76px; }
.error-page__code {
    display: inline-block;
    font-size: clamp(3.6rem, 13vw, 6.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--brand-900);
}
.error-page__code span { color: var(--gold); }
.error-page h1 { margin: 8px 0 10px; font-size: clamp(1.4rem, 4vw, 2rem); color: var(--brand-900); }
.error-page p { margin: 0 auto 24px; max-width: 560px; color: var(--muted); }
.error-page__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.error-page__links { margin-top: 28px; font-size: 0.86rem; color: var(--muted); }
.error-page__links a { color: var(--brand-600); text-decoration: underline; }
/* ==================== MOBILE MODERN REFRESH ==================== */
:root {
    --mobile-nav-h: 68px;
}

/* smoother tap feel */
a, button, .btn, input, select, textarea { -webkit-tap-highlight-color: rgba(13,94,58,.12); }

/* mobile-cta modern */
@media (max-width: 900px) {
    .mobile-cta {
        gap: 10px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,0.88);
        backdrop-filter: blur(16px) saturate(140%);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
        border-top: 1px solid rgba(13,94,58,.08);
        box-shadow: 0 -8px 30px rgba(7,60,37,.08);
    }
    .mobile-cta__btn {
        min-height: 48px;
        border-radius: 14px;
        font-size: .84rem;
        font-weight: 700;
        letter-spacing: .01em;
        gap: 6px;
        padding: 8px 6px;
        transition: transform .15s ease, box-shadow .15s ease;
    }
    .mobile-cta__btn:active { transform: scale(.98); }
    .mobile-cta__btn--brand {
        background: linear-gradient(135deg, #0d5e3a, #157a4d);
        box-shadow: 0 8px 20px rgba(13,94,58,.28);
    }
    .mobile-cta__btn--outline {
        background: #f4fbf7;
        border: 1px solid rgba(13,94,58,.14);
        color: #0d5e3a;
    }
    .mobile-cta__btn--beasiswa {
        background: linear-gradient(135deg,#fff7e0,#ffefbf);
        border: 1px solid rgba(219,166,31,.35);
        color: #7a5200;
    }
    .site-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

/* global mobile typography & spacing */
@media (max-width: 768px) {
    html { font-size: 15.5px; }
    body { line-height: 1.65; }
    .container { padding-left: 18px; padding-right: 18px; }
    .section { padding: 52px 0; }
    .section-head { margin-bottom: 28px; }
    .section-title { font-size: clamp(1.55rem, 6.2vw, 2rem); line-height: 1.2; letter-spacing: -.02em; }
    .section-subtitle { font-size: .96rem; line-height: 1.7; }
    .overline { font-size: .72rem; letter-spacing: .12em; }
}

/* header / nav mobile */
@media (max-width: 900px) {
    .site-header__inner { min-height: 64px; gap: 12px; }
    .brand__mark { width: 40px; height: 40px; }
    .brand__eyebrow { font-size: .62rem; letter-spacing: .08em; }
    .brand__name { font-size: 1rem; }
    .brand__sub { font-size: .72rem; }
    .nav-toggle {
        width: 44px; height: 44px; border-radius: 12px;
        border: 1px solid rgba(13,94,58,.12);
        background: #f6fbf8; color: var(--brand);
    }
    .main-nav {
        top: calc(100% + 8px);
        left: 12px; right: 12px;
        border-radius: 18px;
        padding: 14px;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(13,94,58,.08);
        box-shadow: 0 20px 50px rgba(7,60,37,.14);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    .main-nav__link {
        padding: 12px 14px;
        border-radius: 12px;
        font-size: .95rem;
        font-weight: 600;
    }
    .main-nav__link:hover, .main-nav__link.is-active { background: #edf7f1; color: var(--brand); }
    .main-nav__mobile-actions { display: grid; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(13,94,58,.08); }
    .main-nav__mobile-actions .btn { min-height: 46px; border-radius: 12px; justify-content: center; }
}

/* hero mobile */
@media (max-width: 768px) {
    .hero { padding: 36px 0 32px; min-height: auto; }
    .hero__badge { font-size: .72rem; padding: 7px 12px; gap: 8px; }
    .hero__title, .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.7rem); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 14px; }
    .hero__lead, .hero p.lead { font-size: .98rem; line-height: 1.75; margin-bottom: 22px; max-width: none; }
    .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero__actions .btn, .hero .btn { width: 100%; justify-content: center; min-height: 50px; border-radius: 14px; font-size: .95rem; }
    .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
    .hero-stat { padding: 14px 8px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
    .hero-stat__num, .hero-stat strong { font-size: 1.35rem; display: block; }
    .hero-stat__label, .hero-stat span { font-size: .7rem; line-height: 1.35; }
    .hero__media, .hero-visual { margin-top: 28px; }
    .hero__media img, .hero-visual img { border-radius: 20px; }
}

/* cards & grids mobile */
@media (max-width: 768px) {
    .wave-grid, .program-grid, .feature-grid, .step-grid, .faq-grid, .contact-grid, .beasiswa-grid, .info-grid {
        grid-template-columns: 1fr; gap: 14px;
    }
    .card, .wave-card, .program-card, .feature-card, .step-card, .faq-item, .beasiswa-card, .info-card, .contact-card, .panel, .content-card {
        border-radius: 18px;
    }
    .wave-card, .program-card, .feature-card, .step-card, .beasiswa-card, .info-card, .contact-card {
        padding: 22px 18px;
    }
    .card:hover, .wave-card:hover, .program-card:hover, .feature-card:hover, .step-card:hover { transform: none; }
}

/* forms mobile */
@media (max-width: 768px) {
    .form-grid, .form-row, .grid-2, .grid-3 { grid-template-columns: 1fr !important; gap: 14px; }
    .input, .select, textarea.input, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], select, textarea {
        min-height: 48px; font-size: 16px !important; border-radius: 12px;
    }
    label, .form-label { font-size: .86rem; margin-bottom: 6px; }
    .btn { min-height: 48px; border-radius: 12px; }
    .btn-block-mobile { width: 100%; justify-content: center; }
}

/* CTA/footer mobile */
@media (max-width: 768px) {
    .cta-section, .cta-box { padding: 28px 20px; border-radius: 20px; text-align: center; }
    .cta-section h2, .cta-box h2 { font-size: 1.5rem; }
    .cta-section .btn, .cta-box .btn { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .footer-bottom__meta { justify-content: center; flex-wrap: wrap; }
}

/* tables / admin-adjacent public pages */
@media (max-width: 768px) {
    .table-wrap, .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table { font-size: .88rem; }
}

/* safe area for devices with gesture bar */
@supports (padding: max(0px)) {
    @media (max-width: 900px) {
        .mobile-cta { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
    }
}


/* footer link icons */
.footer-links a { display: inline-flex; align-items: center; gap: 10px; }
.footer-links a .icon { width: 16px; height: 16px; flex: 0 0 16px; color: var(--brand-600, #157a4d); opacity: .9; transition: transform .2s ease, opacity .2s ease, color .2s ease; }
.footer-links a:hover .icon { opacity: 1; transform: translateX(2px); color: var(--brand, #0d5e3a); }
@media (max-width: 768px) {
  .footer-col { padding: 16px 0; border-bottom: 1px solid rgba(13,94,58,.08); }
  .footer-col:last-child { border-bottom: 0; padding-bottom: 0; }
  .footer-col__title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #5f7268; margin-bottom: 14px; }
  .footer-links { display: grid; gap: 4px; }
  .footer-links li a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; margin: 0 -12px;
    border-radius: 12px; font-size: .95rem; font-weight: 500;
    color: #1f352b; text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }
  .footer-links li a .icon {
    width: 20px; height: 20px; flex: 0 0 20px;
    padding: 0; border-radius: 0; background: none;
    color: #0d5e3a; opacity: .9; box-shadow: none;
  }
  .footer-links li a span { flex: 1; }
  .footer-links li a:active, .footer-links li a:hover {
    background: rgba(13,94,58,.05); color: #0d5e3a;
  }
  .footer-links li a:active .icon { transform: scale(.96); }
}
