/* ==========================================================
   JAPANKU — Stylesheet
   Palet: merah (brand) + putih (clean). Dark mode optional.
   Semua warna di :root — ganti sekali, ubah seluruh website.
   ========================================================== */

:root {
    /* Brand */
    --brand-primary:      #C8102E;
    --brand-primary-dark: #9A0C23;
    --brand-primary-50:   #FFF1F3;
    --brand-primary-100:  #FFE2E7;
    --brand-ink:          #0F172A;

    /* Light theme (default) */
    --bg:         #FFFFFF;
    --surface:    #FFFFFF;
    --surface-2:  #FAFAFB;
    --surface-3:  #F3F4F6;
    --border:     #E5E7EB;
    --border-strong: #D1D5DB;
    --text:       #0F172A;
    --text-muted: #6B7280;
    --text-soft:  #9CA3AF;
    --link:       var(--brand-primary);

    --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
    --shadow-md: 0 4px 10px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.05);
    --shadow-lg: 0 20px 40px rgba(15,23,42,.08);
    --shadow-red: 0 10px 30px rgba(200,16,46,.15);

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --radius-xl: 22px;

    --font-sans: 'Inter', 'Noto Sans JP', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-jp:   'Noto Sans JP', 'Inter', ui-sans-serif, sans-serif;
}

:root[data-theme="dark"] {
    --bg:         #0b0d12;
    --surface:    #13161F;
    --surface-2:  #191D28;
    --surface-3:  #232735;
    --border:     #2a2f3d;
    --border-strong: #3b4256;
    --text:       #e7eaf0;
    --text-muted: #a8adbc;
    --text-soft:  #7a8094;
    --link:       #ff6b7a;

    --brand-primary-50:  #2a1419;
    --brand-primary-100: #3a1a21;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
    --shadow-md: 0 6px 14px rgba(0,0,0,.55);
    --shadow-lg: 0 20px 40px rgba(0,0,0,.65);
    --shadow-red: 0 10px 30px rgba(200,16,46,.3);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex; flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color .15s; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5 { color: var(--text); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

/* ---------- Layout utilities ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-narrow { max-width: 880px; }
.wrap-main { flex: 1 0 auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 20px; border-radius: 999px;
    font-weight: 600; font-size: .92rem; cursor: pointer;
    border: 1.5px solid transparent;
    transition: all .18s ease;
    text-decoration: none;
    line-height: 1;
    font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--brand-primary); color: #fff;
    box-shadow: 0 4px 12px rgba(200,16,46,.25);
}
.btn-primary:hover {
    background: var(--brand-primary-dark);
    box-shadow: 0 8px 20px rgba(200,16,46,.35);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent; border-color: var(--border-strong); color: var(--text);
}
.btn-outline:hover { background: var(--surface-2); border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-ghost { background: transparent; color: var(--brand-primary); }
.btn-ghost:hover { background: var(--brand-primary-50); }
.btn-dark { background: var(--brand-ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(180%) blur(8px);
}
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 70px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.2rem; color: var(--brand-primary);
    text-decoration: none; letter-spacing: .3px;
}
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--brand-primary);
    color: #fff; display: grid; place-items: center;
    font-weight: 800; font-size: .88rem;
    box-shadow: var(--shadow-red);
}
/* ---- Brand with image logo (japanku official) ---- */
.brand-logo { padding: 4px 0; gap: 0; }
.brand-logo .brand-img {
    height: 48px; width: auto; display: block;
    transition: transform .25s ease, filter .25s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
.brand-logo:hover .brand-img { transform: scale(1.03); }
@media (max-width: 820px) {
    .brand-logo .brand-img { height: 40px; }
}
@media (max-width: 500px) {
    .brand-logo .brand-img { height: 34px; }
}
/* Footer logo variant — invert via mix-blend-mode so it looks clean on dark bg */
.brand-logo-footer .brand-img {
    height: 56px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
@media (max-width: 820px) {
    .brand-logo-footer .brand-img { height: 46px; }
}
/* Sidebar logo variant (role dashboards: admin/instruktur/peserta/pelamar/perusahaan) */
.brand-logo-sidebar {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 10px 10px 18px !important;
    margin-bottom: 10px !important;
}
.brand-logo-sidebar .brand-img {
    height: 44px;
    width: auto;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    display: block;
}
.sidebar-role-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--jp-gold, #D4AF37);
    background: rgba(212,175,55,.1);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,.3);
    margin-left: 4px;
}

/* Auth (login/register) brand logo */
.auth-brand {
    display: flex;
    justify-content: center;
    margin: -10px 0 20px;
}
.auth-brand-img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(139,0,0,0.12));
    transition: transform .3s ease;
}
.auth-brand-img:hover { transform: scale(1.04); }
@media (max-width: 500px) {
    .auth-brand-img { height: 48px; }
}
.nav-menu {
    display: flex; align-items: center; gap: 2px;
    list-style: none; margin: 0; padding: 0;
}
.nav-menu li { display: flex; align-items: center; }
.nav-menu a {
    display: inline-block; padding: 8px 14px;
    color: var(--text); text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500; font-size: .94rem;
    transition: color .15s;
}
.nav-menu a:hover { color: var(--brand-primary); }
.nav-menu a.active { color: var(--brand-primary); }
.nav-menu a.active::after {
    content: ''; display: block; height: 2px; background: var(--brand-primary);
    border-radius: 2px; margin-top: 4px;
}
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ---------- Dropdown submenu (polished) ---------- */
.nav-item.has-dropdown { position: relative; }

.nav-item.has-dropdown > a {
    display: inline-flex; align-items: center; gap: 4px;
}
.nav-item.has-dropdown > a .caret {
    width: 10px; height: 10px;
    display: inline-grid; place-items: center;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    padding: 2px;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease, opacity .2s;
    opacity: .55;
    font-size: 0; /* hide the actual ▾ character — we use CSS arrow */
}
.nav-item.has-dropdown:hover > a .caret,
.nav-item.has-dropdown:focus-within > a .caret {
    transform: rotate(-135deg) translateY(2px);
    opacity: 1;
}

/* Invisible hover bridge so cursor can travel from trigger → dropdown */
.nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: 10px;
    display: none;
}
.nav-item.has-dropdown:hover::after,
.nav-item.has-dropdown:focus-within::after { display: block; }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 100;
}
/* Little pointer arrow at top of dropdown */
.nav-dropdown::before,
.nav-dropdown::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}
.nav-dropdown::before {
    border-bottom: 8px solid var(--border);
    margin-bottom: 0;
}
.nav-dropdown::after {
    border-bottom: 7px solid var(--surface);
    margin-bottom: -1px;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: flex; align-items: center;
    padding: 10px 14px;
    font-size: .9rem; font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background .12s, color .12s, padding-left .15s;
}
.nav-dropdown a:hover {
    background: var(--brand-primary-50);
    color: var(--brand-primary);
    text-decoration: none;
    padding-left: 18px;
}
.nav-dropdown a + a {
    margin-top: 1px;
}
.nav-dropdown a.active {
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    color: var(--brand-primary);
    font-weight: 600;
}

/* Remove active underline for parent menu when child dropdown is active */
.nav-item.has-dropdown > a.active::after {
    display: none;
}
.nav-item.has-dropdown > a.active {
    color: var(--brand-primary);
    background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
    border-radius: var(--radius-sm);
}

/* Lang & theme */
.lang-switch { display: flex; gap: 2px; background: var(--surface-2); padding: 4px; border-radius: 999px; border: 1px solid var(--border); }
.lang-switch a {
    padding: 4px 10px; font-size: .76rem; text-transform: uppercase;
    color: var(--text-muted); border-radius: 999px; font-weight: 600;
}
.lang-switch a:hover { text-decoration: none; }
.lang-switch a.active { background: var(--brand-primary); color: #fff; }
.theme-toggle {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface-2); border: 1px solid var(--border);
    display: grid; place-items: center; cursor: pointer;
    color: var(--text); font-size: 1.05rem;
}
.theme-toggle:hover { background: var(--surface-3); }

/* ---------- Hero (clean red-white) ---------- */
.hero {
    position: relative;
    background: var(--surface);
    padding: 90px 0 100px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 20%, var(--brand-primary-50) 0, transparent 40%),
        radial-gradient(circle at 85% 80%, var(--brand-primary-50) 0, transparent 40%);
    pointer-events: none;
    opacity: .9;
}
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--brand-primary-50);
    color: var(--brand-primary);
    font-size: .82rem; font-weight: 600;
    border: 1px solid var(--brand-primary-100);
    margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-primary); }
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.1;
    color: var(--text); margin: 0 0 20px;
    letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--brand-primary); }
.hero p.lead {
    font-size: 1.15rem; color: var(--text-muted);
    margin: 0 auto 36px; max-width: 640px;
}
.hero-actions {
    display: inline-flex; gap: 12px; flex-wrap: wrap;
    justify-content: center;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--surface-2); }
.section-dark { background: var(--brand-ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header .eyebrow {
    display: inline-block;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--brand-primary); font-size: .78rem; font-weight: 700;
    margin-bottom: 10px;
}
.section-header h2 { margin: 0 0 10px; }
.section-header p { color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 1.02rem; }
.section-dark .section-header .eyebrow { color: #ff8d9c; }
.section-dark .section-header p { color: rgba(255,255,255,.7); }

/* ---------- Grids & Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card .icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--brand-primary-50);
    color: var(--brand-primary);
    display: grid; place-items: center; font-size: 1.4rem; font-weight: 700;
    margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.card p { color: var(--text-muted); margin: 0; }
.card-feature .icon { background: var(--brand-primary); color: #fff; }

/* Course card */
.course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex; flex-direction: column; height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.course-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.course-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.course-card h3 a { color: var(--text); }
.course-card h3 a:hover { color: var(--brand-primary); text-decoration: none; }
.course-card .desc { color: var(--text-muted); font-size: .9rem; flex: 1; margin: 0 0 16px; }
.course-card .foot {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 14px; border-top: 1px solid var(--border);
}
.course-card .price { color: var(--brand-primary); font-weight: 700; }

/* ---------- Alur steps ---------- */
.alur-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    counter-reset: alur;
}
@media (max-width: 900px) { .alur-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .alur-grid { grid-template-columns: 1fr; } }
.alur-step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    counter-increment: alur;
    overflow: hidden;
}
.alur-step::before {
    content: counter(alur, decimal-leading-zero);
    position: absolute; top: 10px; right: 18px;
    font-size: 2.6rem; font-weight: 800;
    color: var(--brand-primary-50);
    line-height: 1;
}
.alur-step h4 { font-size: 1.02rem; margin: 0 0 8px; color: var(--brand-primary); font-weight: 700; }
.alur-step p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ---------- Testimonial ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}
.testi-card::before {
    content: '“'; position: absolute; top: 10px; right: 24px;
    font-size: 4rem; color: var(--brand-primary-100); line-height: 1;
    font-family: Georgia, serif;
}
.testi-card .quote { font-size: .98rem; color: var(--text); margin: 0 0 20px; font-style: italic; line-height: 1.65; }
.testi-card .person { display: flex; align-items: center; gap: 12px; }
.testi-card .avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--brand-primary); color: #fff;
    display: grid; place-items: center; font-weight: 700;
    flex-shrink: 0;
}
.testi-card .name { font-weight: 700; color: var(--text); font-size: .95rem; }
.testi-card .meta { font-size: .82rem; color: var(--text-muted); }

/* ---------- Mitra logo strip ---------- */
.mitra-strip {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
    align-items: center;
}
@media (max-width: 900px) { .mitra-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .mitra-strip { grid-template-columns: repeat(2, 1fr); } }
.mitra-logo {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    aspect-ratio: 3/2;
    display: grid; place-items: center;
    padding: 18px;
    color: var(--text-soft);
    font-weight: 700; font-size: .9rem;
    text-align: center;
    transition: all .2s;
}
.mitra-logo:hover { color: var(--brand-primary); border-color: var(--brand-primary); }
.mitra-logo img { max-width: 100%; max-height: 60px; filter: grayscale(100%); opacity: .75; transition: all .2s; }
.mitra-logo:hover img { filter: none; opacity: 1; }

/* ---------- Lowongan preview item ---------- */
.loker-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex; align-items: center; gap: 18px;
    transition: all .2s;
}
.loker-item:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.loker-item .avatar {
    width: 56px; height: 56px; border-radius: 12px;
    background: var(--brand-primary-50); color: var(--brand-primary);
    display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.loker-item .body { flex: 1; min-width: 0; }
.loker-item .body h3 { margin: 0 0 4px; font-size: 1rem; }
.loker-item .body h3 a { color: var(--text); }
.loker-item .body h3 a:hover { color: var(--brand-primary); text-decoration: none; }
.loker-item .meta { color: var(--text-muted); font-size: .85rem; }
.loker-item .gaji { color: var(--brand-primary); font-weight: 700; font-size: .95rem; text-align: right; flex-shrink: 0; }

/* ---------- CTA block ---------- */
.cta-block {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-red);
}
.cta-block h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-block p { color: rgba(255,255,255,.9); margin: 0 auto 28px; max-width: 560px; font-size: 1.05rem; }
.cta-block .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-block .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.cta-block .btn-dark { background: #fff; color: var(--brand-primary); }
.cta-block .btn-dark:hover { background: #fff; color: var(--brand-primary-dark); box-shadow: var(--shadow-lg); }

/* ---------- Section headers for ProfilKu single-page ---------- */
.sp-section { padding: 72px 0; scroll-margin-top: 80px; }
.sp-section + .sp-section { border-top: 1px solid var(--border); }
.sp-section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.sp-section-head .eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 2px;
    color: var(--brand-primary); font-size: .78rem; font-weight: 700;
    margin-bottom: 10px;
}
.sp-section-head h2 { margin: 0 0 10px; }
.sp-section-head p { color: var(--text-muted); margin: 0; font-size: 1.02rem; }

/* ProfilKu quick nav (sticky anchor) */
.sp-navbar {
    position: sticky; top: 70px; z-index: 40;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.sp-navbar .sp-nav-inner {
    display: flex; gap: 4px; overflow-x: auto;
    padding: 10px 0;
}
.sp-navbar a {
    padding: 8px 14px; border-radius: 999px;
    color: var(--text-muted); font-size: .88rem; font-weight: 500;
    white-space: nowrap;
    transition: all .15s;
}
.sp-navbar a:hover { background: var(--brand-primary-50); color: var(--brand-primary); text-decoration: none; }

/* ---------- Tim grid ---------- */
.tim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.tim-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px; text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.tim-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tim-avatar {
    width: 96px; height: 96px; border-radius: 50%;
    background: var(--brand-primary-50);
    display: grid; place-items: center;
    color: var(--brand-primary); font-weight: 800; font-size: 2rem;
    margin: 0 auto 14px; overflow: hidden;
    border: 3px solid var(--brand-primary-100);
}
.tim-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tim-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.tim-card .jabatan { color: var(--brand-primary); font-size: .85rem; font-weight: 600; }
.tim-card .jabatan-jp { color: var(--text-muted); font-size: .78rem; font-family: var(--font-jp); margin-top: 2px; }
.tim-card .bio { color: var(--text-muted); font-size: .88rem; margin-top: 10px; }

/* ---------- Galeri grid ---------- */
.galeri-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.galeri-item {
    position: relative; aspect-ratio: 4/3; border-radius: var(--radius);
    overflow: hidden; background: var(--surface-2);
    display: grid; place-items: center;
    color: var(--text-soft); border: 1px solid var(--border);
}
.galeri-item img { width: 100%; height: 100%; object-fit: cover; }
.galeri-item .label {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 10px 14px; background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
    color: #fff; font-size: .85rem;
}

/* ---------- Mitra grid (ProfilKu detail) ---------- */
.mitra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.mitra-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    aspect-ratio: 3/2; display: grid; place-items: center;
    color: var(--text); font-weight: 600; text-align: center;
    transition: all .2s;
}
.mitra-item:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.mitra-item img { max-width: 100%; max-height: 70px; }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
    display: flex; gap: 14px; padding: 20px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: all .2s;
}
.contact-item:hover { border-color: var(--brand-primary); }
.contact-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--brand-primary-50); color: var(--brand-primary);
    display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-item h4 { margin: 0 0 2px; font-size: .95rem; }
.contact-item p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.contact-item a { color: var(--text); }

/* ---------- Pages (list/head) ---------- */
.page-head {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 56px 0;
    text-align: center;
}
.page-head .eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 2px;
    color: var(--brand-primary); font-size: .76rem; font-weight: 700;
    margin-bottom: 10px;
}
.page-head h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 10px; }
.page-head p { color: var(--text-muted); margin: 0; font-size: 1.05rem; }

.list-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px; margin-bottom: 14px;
    display: flex; align-items: center; gap: 16px;
    transition: all .15s;
}
.list-card:hover { box-shadow: var(--shadow-md); }
.list-card .thumb {
    width: 56px; height: 56px; border-radius: 10px;
    background: var(--brand-primary-50); display: grid; place-items: center;
    color: var(--brand-primary); font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.list-card .body { flex: 1; min-width: 0; }
.list-card .body h3 { font-size: 1.05rem; margin: 0 0 4px; }
.list-card .body h3 a { color: var(--text); }
.list-card .body h3 a:hover { color: var(--brand-primary); text-decoration: none; }
.list-card .meta { color: var(--text-muted); font-size: .85rem; }

.badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    background: var(--brand-primary-50); color: var(--brand-primary);
    border: 1px solid var(--brand-primary-100);
}
.badge-muted { background: var(--surface-3); color: var(--text-muted); border-color: var(--border); }

/* ---------- Forms (auth) ---------- */
.auth-wrap {
    min-height: calc(100vh - 70px);
    display: grid; place-items: center;
    padding: 40px 20px;
    background: var(--surface-2);
}
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 440px; width: 100%;
    box-shadow: var(--shadow-lg);
}
.auth-card h1 { text-align: center; margin: 0 0 6px; font-size: 1.6rem; }
.auth-card .lead { text-align: center; color: var(--text-muted); margin: 0 0 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: var(--text); }
.form-input, .form-select {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text); font-size: .95rem; font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus {
    outline: none; border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.auth-footer { margin-top: 20px; text-align: center; color: var(--text-muted); font-size: .9rem; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .9rem; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: var(--brand-primary-50); color: var(--brand-primary-dark); border: 1px solid var(--brand-primary-100); }
:root[data-theme="dark"] .alert-success { background: #064e3b33; color: #a7f3d0; border-color: #065f46; }

/* ---------- Dashboard shell ---------- */
.dash-wrap { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 70px); }
.sidebar {
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 20px 14px;
}
.sidebar h4 {
    font-size: .75rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-muted); margin: 20px 10px 8px;
}
.sidebar nav a {
    display: block; padding: 9px 12px; border-radius: var(--radius-sm);
    color: var(--text); text-decoration: none; font-size: .92rem;
}
.sidebar nav a:hover { background: var(--surface-2); }
.sidebar nav a.active { background: var(--brand-primary); color: #fff; font-weight: 600; }
.dash-main { padding: 28px 32px; }
.dash-main h1 { font-size: 1.6rem; margin: 0 0 20px; }
.stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px; margin-bottom: 28px;
}
.stat-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
}
.stat-card .label { font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.stat-card .value { font-size: 1.8rem; font-weight: 700; color: var(--text); margin-top: 4px; }
.stat-card.primary .value { color: var(--brand-primary); }

@media (max-width: 820px) {
    .dash-wrap { grid-template-columns: 1fr; }
    .sidebar { border-right: none; border-bottom: 1px solid var(--border); }
    .nav-menu { display: none; }
}

/* ---------- Filter tabs (Pelatihan Online/Offline) ---------- */
.filter-tabs {
    display: flex; gap: 8px; margin-bottom: 28px;
    overflow-x: auto;
    padding-bottom: 2px;
}
.filter-tabs a {
    padding: 9px 18px; border-radius: 999px;
    font-size: .88rem; font-weight: 600;
    background: var(--surface-2); color: var(--text-muted);
    white-space: nowrap; border: 1px solid var(--border);
    transition: all .15s;
}
.filter-tabs a.active {
    background: var(--brand-primary); color: #fff; border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(200,16,46,.25);
}
.filter-tabs a:hover { text-decoration: none; }

/* ---------- Footer ---------- */
.footer {
    background: var(--brand-ink);
    color: rgba(255,255,255,.85);
    padding: 60px 0 24px;
    margin-top: 80px;
    border-top: 4px solid var(--brand-primary);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
    margin-bottom: 44px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
    color: #fff; font-size: .9rem; text-transform: uppercase;
    letter-spacing: 1.5px; margin: 0 0 16px;
}
.footer p, .footer li { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.75; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--brand-primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px; text-align: center;
    font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer .brand { color: #fff; font-size: 1.1rem; }
.footer .brand-mark { background: var(--brand-primary); }

/* ---------- Program hero (MagangKu / KerjaKu) ---------- */
.hero-program {
    position: relative;
    background: var(--surface);
    padding: 100px 0 90px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.hero-program::before {
    content: ''; position: absolute;
    top: -120px; right: -120px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, var(--brand-primary-50) 0%, transparent 70%);
    pointer-events: none;
}
.hero-program::after {
    content: attr(data-kanji);
    position: absolute;
    right: -40px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-jp);
    font-size: clamp(240px, 32vw, 480px);
    color: var(--brand-primary-100);
    opacity: .55;
    pointer-events: none; user-select: none;
    line-height: 1; font-weight: 400;
    z-index: 0;
}
.hero-program-inner {
    position: relative; z-index: 2;
    max-width: 720px;
}
.hero-program h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800; line-height: 1.1; margin: 0 0 18px;
    letter-spacing: -.02em;
}
.hero-program .jp-sub {
    display: block;
    font-family: var(--font-jp); font-weight: 500;
    color: var(--brand-primary);
    font-size: 1rem; margin-bottom: 14px;
    letter-spacing: 2px;
}
.hero-program p.lead {
    font-size: 1.1rem; color: var(--text-muted);
    margin: 0 0 32px; max-width: 560px;
}
.hero-program .hero-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Feature split (2-col text + visual) ---------- */
.feature-split {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
    align-items: center;
}
@media (max-width: 820px) { .feature-split { grid-template-columns: 1fr; gap: 32px; } }
.feature-text h3 { font-size: 1.4rem; margin: 0 0 14px; }
.feature-text p  { color: var(--text-muted); margin: 0 0 10px; }
.feature-visual {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    border-radius: var(--radius-xl);
    display: grid; place-items: center;
    color: #fff;
    box-shadow: var(--shadow-red);
    position: relative; overflow: hidden;
}
.feature-visual::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(255,255,255,.22) 0, transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(0,0,0,.15) 0, transparent 55%);
}
.feature-visual .kanji {
    font-family: var(--font-jp); font-weight: 300;
    font-size: clamp(8rem, 18vw, 15rem); line-height: 1;
    position: relative; z-index: 1;
}
.feature-visual .caption {
    position: absolute; bottom: 24px; left: 24px; right: 24px;
    color: rgba(255,255,255,.9); font-weight: 600;
    text-align: center; letter-spacing: 1px;
    text-transform: uppercase; font-size: .78rem;
}

/* ---------- Highlight stats row ---------- */
.stat-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-top: 40px;
}
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-chip {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px; text-align: center;
}
.stat-chip .val { font-size: 1.8rem; font-weight: 800; color: var(--brand-primary); line-height: 1; }
.stat-chip .lab { font-size: .82rem; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Requirement list ---------- */
.req-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
@media (max-width: 700px) { .req-grid { grid-template-columns: 1fr; } }
.req-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 20px;
    display: flex; gap: 14px; align-items: flex-start;
    transition: all .15s;
}
.req-item:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-sm); }
.req-check {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand-primary-50); color: var(--brand-primary);
    display: grid; place-items: center;
    flex-shrink: 0; font-weight: 700; font-size: .9rem;
}
.req-item h4 { margin: 0 0 3px; font-size: .95rem; }
.req-item p { margin: 0; color: var(--text-muted); font-size: .88rem; line-height: 1.55; }

/* ---------- Timeline vertical ---------- */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 720px;
    margin: 0 auto;
}
.timeline::before {
    content: ''; position: absolute;
    left: 11px; top: 10px; bottom: 10px;
    width: 2px; background: linear-gradient(to bottom, var(--brand-primary) 0%, var(--brand-primary-100) 100%);
}
.timeline-item {
    position: relative; margin-bottom: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: all .15s;
}
.timeline-item:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-sm); }
.timeline-item::before {
    content: ''; position: absolute;
    left: -36px; top: 22px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--brand-primary);
    border: 4px solid var(--surface);
    box-shadow: 0 0 0 2px var(--brand-primary-100);
}
.timeline-num {
    display: inline-block;
    font-size: .72rem; font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 4px;
}
.timeline-item h4 { font-size: 1.02rem; margin: 0 0 6px; }
.timeline-item p { color: var(--text-muted); margin: 0; font-size: .92rem; line-height: 1.65; }

/* ---------- Sektor grid ---------- */
.sektor-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}
.sektor-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 18px;
    text-align: center;
    transition: all .2s;
}
.sektor-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}
.sektor-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--brand-primary-50);
    color: var(--brand-primary);
    display: grid; place-items: center;
    margin: 0 auto 12px;
    font-size: 1.6rem; font-weight: 700;
    font-family: var(--font-jp);
}
.sektor-card h4 { font-size: .95rem; margin: 0 0 4px; }
.sektor-card p { font-size: .8rem; color: var(--text-muted); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq {
    max-width: 760px; margin: 0 auto;
}
.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 12px;
    overflow: hidden; transition: all .15s;
}
.faq-item.open { border-color: var(--brand-primary); box-shadow: var(--shadow-sm); }
.faq-q {
    width: 100%; padding: 18px 22px;
    background: none; border: none; text-align: left;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    cursor: pointer; font-family: inherit; font-size: .98rem;
    font-weight: 600; color: var(--text);
}
.faq-q:hover { color: var(--brand-primary); }
.faq-q .plus {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand-primary-50); color: var(--brand-primary);
    display: grid; place-items: center;
    font-size: 1.3rem; font-weight: 300; line-height: 1;
    transition: all .25s; flex-shrink: 0;
}
.faq-item.open .faq-q .plus {
    background: var(--brand-primary); color: #fff; transform: rotate(45deg);
}
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease-out;
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner {
    padding: 0 22px 22px;
    color: var(--text-muted); line-height: 1.7;
}
.faq-a-inner p { margin: 0 0 8px; }
.faq-a-inner p:last-child { margin: 0; }

/* ---------- Program chooser (landing programku) ---------- */
.program-chooser {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 820px) { .program-chooser { grid-template-columns: 1fr; } }
.program-card {
    position: relative;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 40px 36px;
    overflow: hidden;
    transition: all .25s;
    display: block; text-decoration: none;
    color: var(--text);
}
.program-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-red);
    text-decoration: none; color: var(--text);
}
.program-card .big-kanji {
    position: absolute; right: -20px; bottom: -40px;
    font-family: var(--font-jp); font-weight: 300;
    font-size: 14rem; line-height: 1;
    color: var(--brand-primary-50);
    pointer-events: none; user-select: none;
}
.program-card:hover .big-kanji { color: var(--brand-primary-100); }
.program-card .eyebrow { color: var(--brand-primary); font-weight: 700; letter-spacing: 2px; font-size: .78rem; text-transform: uppercase; }
.program-card h3 {
    font-size: 1.6rem; margin: 10px 0 8px;
    position: relative; z-index: 1;
}
.program-card p { color: var(--text-muted); margin: 0 0 24px; position: relative; z-index: 1; }
.program-card .link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--brand-primary); font-weight: 700; font-size: .95rem;
    position: relative; z-index: 1;
}
.program-card:hover .link-arrow { gap: 10px; }

/* ---------- Mobile hamburger & drawer ---------- */
.menu-toggle {
    display: none;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--surface-2); border: 1px solid var(--border);
    cursor: pointer; padding: 0;
    place-items: center;
    color: var(--text);
}
.menu-toggle .bars {
    display: block; position: relative;
    width: 20px; height: 2px; background: currentColor;
    transition: background .15s;
}
.menu-toggle .bars::before,
.menu-toggle .bars::after {
    content: ''; position: absolute; left: 0; right: 0;
    height: 2px; background: currentColor;
    transition: transform .25s;
}
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after  { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
    position: fixed; inset: 70px 0 0 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 24px 20px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease-out;
    z-index: 48;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.mobile-drawer nav a {
    padding: 14px 16px; border-radius: var(--radius-sm);
    color: var(--text); text-decoration: none;
    font-size: 1rem; font-weight: 500;
    border-bottom: 1px solid var(--border);
}
.mobile-drawer nav a.sub {
    padding-left: 32px; font-size: .92rem; color: var(--text-muted);
    border-bottom-color: transparent;
}
.mobile-drawer nav a:hover, .mobile-drawer nav a.active {
    color: var(--brand-primary); background: var(--brand-primary-50);
}
.mobile-drawer .section-label {
    font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-soft); font-weight: 700;
    padding: 20px 16px 8px; border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.mobile-drawer .mobile-cta {
    display: flex; gap: 10px; margin-top: 20px;
}
.mobile-drawer .mobile-cta .btn { flex: 1; }

@media (max-width: 820px) {
    .nav-menu { display: none !important; }
    .nav-right .lang-switch,
    .nav-right .btn-outline,
    .nav-right .btn-ghost,
    .nav-right form { display: none !important; }
    .nav-right .btn-primary { display: none !important; }
    .menu-toggle { display: grid; }
}
@media (min-width: 821px) {
    .mobile-drawer { display: none !important; }
    .menu-toggle   { display: none !important; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: grid; place-items: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37,211,102,.45);
    z-index: 60;
    transition: transform .2s, box-shadow .2s;
    animation: waPulse 2.2s ease-in-out infinite;
}
.wa-float:hover {
    transform: scale(1.08); text-decoration: none;
    box-shadow: 0 14px 40px rgba(37,211,102,.6);
}
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
    50%      { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: .88rem;
}
.breadcrumb ol {
    display: flex; flex-wrap: wrap; gap: 6px;
    list-style: none; margin: 0; padding: 0;
    color: var(--text-muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: '›'; color: var(--text-soft); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb li.current { color: var(--text); font-weight: 600; }

/* ---------- Google Maps embed ---------- */
.maps-embed {
    width: 100%; aspect-ratio: 16/9;
    border: 0; border-radius: var(--radius-lg);
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
}

/* ---------- Contact form ---------- */
.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-form-wrap h3 { margin: 0 0 6px; }
.contact-form-wrap p.lead { color: var(--text-muted); margin: 0 0 20px; }
.form-textarea {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--text);
    font-size: .95rem; font-family: inherit;
    min-height: 120px; resize: vertical;
    transition: border-color .15s, box-shadow .15s;
}
.form-textarea:focus {
    outline: none; border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-100);
}

/* ---------- Legal pages (S&K / Privacy) ---------- */
.legal-wrap {
    max-width: 820px; margin: 0 auto; padding: 20px 0 60px;
}
.legal-wrap h2 { margin: 36px 0 14px; font-size: 1.3rem; color: var(--brand-primary); border-bottom: 2px solid var(--brand-primary-100); padding-bottom: 6px; }
.legal-wrap h3 { margin: 24px 0 10px; font-size: 1.05rem; }
.legal-wrap p, .legal-wrap li { color: var(--text); line-height: 1.75; }
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; }
.legal-wrap .last-updated {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    background: var(--brand-primary-50); color: var(--brand-primary);
    font-size: .82rem; font-weight: 600;
}

/* Checkbox agreement */
.form-check {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: .88rem; color: var(--text-muted); line-height: 1.55;
    margin-bottom: 16px;
}
.form-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--brand-primary); }

/* Footer: social icons */
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff;
    display: grid; place-items: center;
    font-size: .9rem;
    transition: all .15s;
}
.social-row a:hover { background: var(--brand-primary); color: #fff; text-decoration: none; }

/* =================================================================
   ADMIN AREA
   ================================================================= */
.admin-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: var(--surface-2);
}

/* Admin Sidebar */
.admin-sidebar {
    background: var(--brand-ink);
    color: rgba(255,255,255,.9);
    padding: 20px 14px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar .brand {
    display: flex; align-items: center; gap: 10px;
    color: #fff; font-weight: 800;
    padding: 6px 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 16px;
}
.admin-sidebar .brand .brand-mark { background: var(--brand-primary); box-shadow: var(--shadow-red); }
.admin-sidebar h4 {
    font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(255,255,255,.5); margin: 20px 12px 8px; font-weight: 700;
}
.admin-sidebar nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    color: rgba(255,255,255,.75); text-decoration: none;
    font-size: .92rem; font-weight: 500;
    margin-bottom: 2px;
    transition: all .12s;
}
.admin-sidebar nav a:hover {
    background: rgba(255,255,255,.08); color: #fff;
}
.admin-sidebar nav a.active {
    background: var(--brand-primary); color: #fff; font-weight: 600;
    box-shadow: 0 4px 10px rgba(200,16,46,.3);
}
.admin-sidebar nav a .ic {
    width: 18px; display: inline-grid; place-items: center;
    font-size: .95rem; flex-shrink: 0;
}
.admin-sidebar nav a .badge-count {
    margin-left: auto; background: var(--brand-primary); color: #fff;
    font-size: .72rem; padding: 1px 7px; border-radius: 999px; font-weight: 700;
}
.admin-sidebar nav a.active .badge-count { background: rgba(255,255,255,.25); }

/* Admin Topbar */
.admin-topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; position: sticky; top: 0; z-index: 20;
}
.admin-topbar .page-title { margin: 0; font-size: 1.15rem; font-weight: 700; }
.admin-topbar .page-sub { color: var(--text-muted); font-size: .85rem; margin-top: 2px; display: block; }
.admin-topbar .user-chip {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px; border-radius: 999px;
    background: var(--surface-2); border: 1px solid var(--border);
    font-size: .88rem; font-weight: 600;
}
.admin-topbar .user-chip .avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand-primary); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.admin-topbar .topbar-actions { display: flex; gap: 10px; align-items: center; }
.admin-topbar a.btn-logout {
    color: var(--text-muted); font-size: .85rem;
    padding: 6px 10px; border-radius: var(--radius-sm);
}
.admin-topbar a.btn-logout:hover { background: var(--brand-primary-50); color: var(--brand-primary); text-decoration: none; }

/* Admin main content */
.admin-main { padding: 28px 32px 40px; }
.admin-main h1 { font-size: 1.6rem; margin: 0 0 6px; }
.admin-main .page-desc { color: var(--text-muted); margin: 0 0 24px; }
.admin-main .section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

/* Admin breadcrumb */
.admin-breadcrumb {
    font-size: .85rem; color: var(--text-muted);
    margin-bottom: 18px;
}
.admin-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.admin-breadcrumb a:hover { color: var(--brand-primary); }
.admin-breadcrumb .sep { color: var(--text-soft); margin: 0 6px; }
.admin-breadcrumb .current { color: var(--text); font-weight: 600; }

/* Admin flash */
.admin-flash {
    padding: 14px 18px; border-radius: var(--radius);
    margin-bottom: 20px; font-size: .92rem;
    display: flex; align-items: center; gap: 12px;
}
.admin-flash.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.admin-flash.error   { background: var(--brand-primary-50); color: var(--brand-primary-dark); border: 1px solid var(--brand-primary-100); }
.admin-flash.info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
:root[data-theme="dark"] .admin-flash.success { background: #064e3b33; color: #a7f3d0; border-color: #065f46; }
:root[data-theme="dark"] .admin-flash.info    { background: #1e3a8a33; color: #bfdbfe; border-color: #1e40af; }

/* Admin stat cards */
.admin-stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px; margin-bottom: 28px;
}
.admin-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    position: relative; overflow: hidden;
}
.admin-stat .label {
    font-size: .78rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
}
.admin-stat .value {
    font-size: 2rem; font-weight: 800; color: var(--text);
    margin-top: 6px; line-height: 1;
}
.admin-stat .trend { font-size: .82rem; margin-top: 8px; color: var(--text-soft); }
.admin-stat .ic {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--brand-primary-50); color: var(--brand-primary);
    display: grid; place-items: center; font-weight: 700;
}
.admin-stat.primary .value { color: var(--brand-primary); }
.admin-stat.warn    .ic { background: #fef3c7; color: #92400e; }
.admin-stat.success .ic { background: #d1fae5; color: #065f46; }
.admin-stat.info    .ic { background: #dbeafe; color: #1e40af; }

/* Admin data table */
.admin-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.admin-toolbar form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-toolbar input, .admin-toolbar select {
    padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--text);
    font-size: .9rem; font-family: inherit;
}
.admin-toolbar input:focus, .admin-toolbar select:focus {
    outline: none; border-color: var(--brand-primary);
}

.table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.admin-table {
    width: 100%; border-collapse: collapse;
    font-size: .9rem;
}
.admin-table th, .admin-table td {
    padding: 14px 18px; text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table th {
    background: var(--surface-2);
    font-weight: 700; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .5px;
    color: var(--text-muted);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--brand-primary-50); }
.admin-table .actions {
    display: flex; gap: 6px; justify-content: flex-end;
}
.admin-table .actions a, .admin-table .actions button {
    padding: 6px 12px; font-size: .8rem; font-weight: 600;
    border-radius: var(--radius-sm); text-decoration: none;
    border: 1px solid var(--border); background: var(--surface);
    color: var(--text); cursor: pointer; font-family: inherit;
    transition: all .12s;
}
.admin-table .actions a:hover { background: var(--surface-2); border-color: var(--brand-primary); color: var(--brand-primary); }
.admin-table .actions .btn-danger { color: var(--brand-primary); }
.admin-table .actions .btn-danger:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.admin-table .avatar-cell {
    display: flex; align-items: center; gap: 10px;
}
.admin-table .avatar-cell .avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand-primary); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: .78rem;
}
.admin-table .cell-sub { color: var(--text-muted); font-size: .82rem; }
.admin-table img.thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.table-empty {
    padding: 60px 20px; text-align: center;
    color: var(--text-muted);
}

/* Status pills */
.pill {
    display: inline-block; padding: 3px 10px;
    border-radius: 999px; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    border: 1px solid transparent;
}
.pill-success { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.pill-warn    { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.pill-danger  { background: var(--brand-primary-50); color: var(--brand-primary-dark); border-color: var(--brand-primary-100); }
.pill-info    { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
.pill-muted   { background: var(--surface-3); color: var(--text-muted); border-color: var(--border); }
:root[data-theme="dark"] .pill-success { background: #064e3b33; color: #a7f3d0; }
:root[data-theme="dark"] .pill-warn    { background: #78350f33; color: #fde68a; }
:root[data-theme="dark"] .pill-info    { background: #1e3a8a33; color: #bfdbfe; }

/* Pagination */
.pagination {
    display: flex; gap: 4px; justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 7px 13px; min-width: 36px; text-align: center;
    border-radius: var(--radius-sm);
    font-size: .88rem; font-weight: 500;
    color: var(--text); text-decoration: none;
    border: 1px solid var(--border); background: var(--surface);
}
.pagination a:hover { background: var(--brand-primary-50); color: var(--brand-primary); text-decoration: none; }
.pagination .current { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.pagination .disabled { color: var(--text-soft); background: var(--surface-2); cursor: default; }

/* Admin forms */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-grid .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .admin-form-grid { grid-template-columns: 1fr; } }

.admin-form .form-group { margin-bottom: 20px; }
.admin-form label { font-weight: 600; font-size: .88rem; margin-bottom: 6px; display: block; }
.admin-form .hint { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
.admin-form .form-input, .admin-form .form-select, .admin-form .form-textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--text);
    font-size: .95rem; font-family: inherit;
}
.admin-form .form-input:focus, .admin-form .form-select:focus, .admin-form .form-textarea:focus {
    outline: none; border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-100);
}
.admin-form .form-textarea { min-height: 120px; resize: vertical; }
.admin-form .form-textarea.html { min-height: 300px; font-family: ui-monospace, monospace; }

.form-actions {
    display: flex; gap: 10px; justify-content: flex-end;
    padding-top: 20px; border-top: 1px solid var(--border); margin-top: 20px;
}

/* Toggle switch */
.toggle {
    position: relative; display: inline-block;
    width: 42px; height: 24px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider {
    position: absolute; cursor: pointer; inset: 0;
    background-color: var(--border); border-radius: 24px;
    transition: .2s;
}
.toggle .slider::before {
    content: ''; position: absolute;
    width: 18px; height: 18px;
    left: 3px; bottom: 3px;
    background: #fff; border-radius: 50%;
    transition: .2s;
}
.toggle input:checked + .slider { background-color: var(--brand-primary); }
.toggle input:checked + .slider::before { transform: translateX(18px); }

/* File upload */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius); padding: 24px;
    text-align: center;
    background: var(--surface-2);
    cursor: pointer; transition: all .15s;
}
.upload-zone:hover { border-color: var(--brand-primary); background: var(--brand-primary-50); }
.upload-zone input[type=file] { display: none; }
.upload-zone .zone-icon { font-size: 1.6rem; color: var(--brand-primary); margin-bottom: 6px; }
.upload-zone .zone-text { color: var(--text-muted); font-size: .9rem; }
.upload-current {
    display: flex; align-items: center; gap: 12px;
    margin-top: 10px; padding: 10px;
    background: var(--surface-2); border-radius: var(--radius-sm);
    font-size: .85rem;
}
.upload-current img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }

/* Confirm button (JS confirms before submit) */
.btn-danger-solid {
    background: var(--brand-primary); color: #fff; border: none;
    padding: 7px 14px; border-radius: var(--radius-sm);
    font-size: .82rem; font-weight: 600; cursor: pointer;
    font-family: inherit;
}
.btn-danger-solid:hover { background: var(--brand-primary-dark); }

/* Mobile admin */
.admin-mobile-toggle { display: none; }
@media (max-width: 900px) {
    .admin-wrap { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: fixed; left: 0; top: 0; width: 260px;
        transform: translateX(-100%); z-index: 100;
        transition: transform .25s;
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-mobile-toggle {
        display: grid; place-items: center;
        width: 40px; height: 40px; border-radius: 10px;
        background: var(--surface-2); border: 1px solid var(--border);
        cursor: pointer; color: var(--text);
    }
    .admin-topbar { padding: 14px 20px; }
    .admin-main   { padding: 20px; }
    .admin-form-grid { grid-template-columns: 1fr; }
}

/* ---------- Notification bell ---------- */
.notif-bell {
    position: relative;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--surface-2); border: 1px solid var(--border);
    display: grid; place-items: center;
    text-decoration: none; font-size: 1.1rem;
    color: var(--text); transition: all .15s;
}
.notif-bell:hover { background: var(--brand-primary-50); color: var(--brand-primary); text-decoration: none; }
.notif-badge {
    position: absolute; top: -2px; right: -2px;
    background: var(--brand-primary); color: #fff;
    font-size: .68rem; font-weight: 700;
    padding: 1px 5px; min-width: 16px; height: 16px;
    border-radius: 999px; line-height: 14px;
    text-align: center; border: 2px solid var(--surface);
}

/* ---------- Simple chart bars (admin laporan) ---------- */
.chart-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.chart-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
}
.chart-card h3 { margin: 0 0 14px; font-size: 1rem; }
.chart-bars { display: flex; align-items: flex-end; height: 180px; gap: 6px; padding: 10px 0; }
.chart-bar {
    flex: 1; min-width: 20px;
    background: linear-gradient(to top, var(--brand-primary), var(--brand-primary-dark));
    border-radius: 4px 4px 0 0;
    position: relative; transition: opacity .2s;
    display: grid; align-items: end; justify-content: center;
}
.chart-bar:hover { opacity: .85; }
.chart-bar .val {
    position: absolute; top: -22px;
    font-size: .7rem; color: var(--text-muted); font-weight: 700;
    white-space: nowrap;
}
.chart-bar .lab {
    position: absolute; bottom: -22px;
    font-size: .68rem; color: var(--text-muted);
}
.chart-card.spaced .chart-bars { padding-bottom: 24px; margin-bottom: 10px; }

/* ---------- Star rating ---------- */
.star-rating { display: inline-flex; gap: 2px; font-size: 1.1rem; cursor: pointer; }
.star-rating .star { color: #d1d5db; transition: color .12s; }
.star-rating .star.on { color: #f59e0b; }
.star-rating:hover .star { color: #d1d5db; }
.star-rating:hover .star:hover,
.star-rating:hover .star:hover ~ .star { color: #d1d5db; }
.star-rating .star:hover,
.star-rating .star:hover ~ .star-prev { color: #f59e0b; }
.star-rating[data-readonly] { cursor: default; pointer-events: none; }

/* ---------- Calendar list (interview schedule) ---------- */
.cal-list { }
.cal-day {
    display: grid; grid-template-columns: 90px 1fr; gap: 16px;
    padding: 16px; border: 1px solid var(--border);
    border-radius: var(--radius-lg); margin-bottom: 10px;
    background: var(--surface);
}
.cal-day .date-box {
    text-align: center; border-right: 1px solid var(--border); padding-right: 14px;
}
.cal-day .date-box .d { font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--brand-primary); }
.cal-day .date-box .m { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.cal-day .events > div { padding: 6px 0; border-top: 1px dashed var(--border); }
.cal-day .events > div:first-child { border-top: none; padding-top: 0; }
.cal-day .events .time { font-weight: 700; color: var(--brand-primary); margin-right: 8px; }

/* ---------- Quiz / Tes CAT ---------- */
.quiz-wrap { max-width: 820px; margin: 0 auto; }
.quiz-sticky {
    position: sticky; top: 10px; z-index: 20;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 16px 20px;
    box-shadow: var(--shadow-md); margin-bottom: 20px;
}
.quiz-timer {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px; border-radius: 999px;
    background: #ecfdf5; color: #065f46;
    font-weight: 800; font-family: ui-monospace,monospace;
    font-size: 1.25rem; letter-spacing: 1px;
    border: 2px solid #a7f3d0;
    transition: background .2s, color .2s, border-color .2s;
}
.quiz-timer.warn    { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.quiz-timer.danger  { background: #fee2e2; color: #991b1b; border-color: #fca5a5; animation: pulseRed 1.2s ease-in-out infinite; }
.quiz-timer.timeout { background: #991b1b; color: #fff; border-color: #991b1b; }
@keyframes pulseRed {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
    50%      { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

.quiz-soal { margin-bottom: 14px; }
.soal-num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand-primary); color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.soal-opsi { display: grid; gap: 8px; }
.opsi-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px; border: 2px solid var(--border);
    border-radius: var(--radius); cursor: pointer;
    transition: all .12s;
}
.opsi-item:hover { border-color: var(--brand-primary-100); background: var(--brand-primary-50); }
.opsi-item.selected { border-color: var(--brand-primary); background: var(--brand-primary-50); }
.opsi-item input[type=radio] { margin-top: 3px; accent-color: var(--brand-primary); flex-shrink: 0; }
.opsi-letter {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--surface-2); color: var(--text);
    display: grid; place-items: center;
    font-weight: 700; font-size: .82rem; flex-shrink: 0;
}
.opsi-item.selected .opsi-letter { background: var(--brand-primary); color: #fff; }
.opsi-text { flex: 1; }

/* ---------- Zoom / Wawancara card ---------- */
.zoom-card.ongoing {
    border-left: 4px solid var(--brand-primary);
    background: linear-gradient(to right, var(--brand-primary-50), var(--surface));
}

/* =================================================================
   ELEGANT JAPAN THEME — Hero/Gallery/Testimonial/Sektor/Alur/CTA
   ================================================================= */

:root {
    --jp-wine:     #8B0000;
    --jp-gold:     #D4AF37;
    --jp-cream:    #FAF7F0;
    --jp-charcoal: #1A1A1A;
    --jp-ink:      #0A0A0A;
}

/* Wagara Seigaiha pattern (ombak Jepang) */
.bg-seigaiha {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'><g fill='none' stroke='%23C8102E' stroke-width='1' opacity='0.08'><path d='M0 40 Q10 20 20 40 Q30 20 40 40 Q50 20 60 40 Q70 20 80 40'/><path d='M0 30 Q10 10 20 30 Q30 10 40 30 Q50 10 60 30 Q70 10 80 30'/><path d='M0 20 Q10 0 20 20 Q30 0 40 20 Q50 0 60 20 Q70 0 80 20'/></g></svg>");
    background-repeat: repeat;
}

/* ---------- Hero elegant with photo background ---------- */
.hero-jp {
    position: relative;
    min-height: 88vh;
    display: grid; place-items: center;
    overflow: hidden;
    color: #fff;
}
.hero-jp .bg-img {
    position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1545569341-9eb8b30979d9?w=1920&q=80&auto=format&fit=crop');
    background-size: cover; background-position: center;
    z-index: 0;
}
.hero-jp .overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(135deg, rgba(10,10,10,0.75) 0%, rgba(139,0,0,0.55) 100%);
}
.hero-jp .kanji-deco {
    position: absolute;
    font-family: var(--font-jp); font-weight: 300;
    color: rgba(255,255,255,0.08);
    pointer-events: none; user-select: none;
    line-height: 1; z-index: 2;
}
.hero-jp .kanji-deco.k1 { top: 8%;   left: 2%;  font-size: clamp(10rem, 25vw, 22rem); }
.hero-jp .kanji-deco.k2 { bottom: 5%; right: 3%; font-size: clamp(8rem, 20vw, 18rem); }
.hero-jp-inner {
    position: relative; z-index: 3;
    max-width: 960px; text-align: center; padding: 0 24px;
}
.hero-jp .badge-jp {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border-radius: 999px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    color: #fff; font-size: .82rem; font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2); margin-bottom: 24px;
}
.hero-jp h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; line-height: 1.08; margin: 0 0 20px;
    color: #fff; letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.hero-jp h1 .accent {
    background: linear-gradient(90deg, var(--jp-gold), #fff2b0);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-jp p.lead {
    font-size: 1.2rem; color: rgba(255,255,255,0.9);
    margin: 0 auto 36px; max-width: 640px; line-height: 1.65;
}
.hero-jp .btn-jp-primary {
    background: var(--brand-primary); color: #fff;
    padding: 16px 32px; border-radius: 999px;
    font-weight: 700; font-size: 1rem; border: none;
    box-shadow: 0 10px 30px rgba(200,16,46,0.5);
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; transition: all .2s;
}
.hero-jp .btn-jp-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(200,16,46,0.7); text-decoration: none; }
.hero-jp .btn-jp-ghost {
    background: transparent; color: #fff;
    padding: 16px 32px; border-radius: 999px;
    font-weight: 700; font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; transition: all .2s;
}
.hero-jp .btn-jp-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; text-decoration: none; }
.hero-jp .scroll-hint {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 3; color: rgba(255,255,255,0.6); font-size: .78rem;
    letter-spacing: 3px; text-transform: uppercase;
    animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }

/* ---------- Trust strip ---------- */
.trust-strip {
    background: var(--jp-cream);
    padding: 36px 20px;
    border-bottom: 1px solid var(--border);
}
.trust-strip .label {
    text-align: center; color: var(--text-muted);
    font-size: .82rem; text-transform: uppercase;
    letter-spacing: 2px; font-weight: 600; margin-bottom: 20px;
}
.trust-strip .logos {
    display: flex; gap: 36px; justify-content: center; align-items: center;
    flex-wrap: wrap; filter: grayscale(100%); opacity: .7;
}
.trust-strip .logo-item {
    font-weight: 700; color: var(--text-muted);
    padding: 8px 18px; border: 1px solid var(--border-strong); border-radius: 6px;
    letter-spacing: 1px; font-size: .88rem;
}

/* ---------- Stats row elegant ---------- */
.stat-elegant-wrap {
    background: linear-gradient(135deg, var(--jp-charcoal) 0%, var(--jp-wine) 100%);
    color: #fff; padding: 72px 20px;
    position: relative; overflow: hidden;
}
.stat-elegant-wrap::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='40'><g fill='none' stroke='%23D4AF37' stroke-width='1' opacity='0.08'><path d='M0 40 Q10 20 20 40 Q30 20 40 40 Q50 20 60 40 Q70 20 80 40'/></g></svg>");
    background-repeat: repeat;
}
.stat-elegant-grid {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 760px) { .stat-elegant-grid { grid-template-columns: 1fr 1fr; } }
.stat-elegant {
    text-align: center; padding: 20px;
}
.stat-elegant .val {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800; color: var(--jp-gold); line-height: 1;
    font-family: 'Noto Serif JP', serif;
}
.stat-elegant .lab {
    color: rgba(255,255,255,0.8); font-size: .9rem;
    margin-top: 10px; letter-spacing: 1px;
}

/* ---------- Section header elegant ---------- */
.sec-head-jp { text-align: center; max-width: 760px; margin: 0 auto 56px; position: relative; }
.sec-head-jp .kanji-watermark {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-jp); font-weight: 300;
    font-size: clamp(8rem, 15vw, 12rem);
    color: var(--brand-primary-50); z-index: 0; line-height: 1;
    pointer-events: none; user-select: none; opacity: .6;
}
.sec-head-jp > * { position: relative; z-index: 1; }
.sec-head-jp .jp-sub {
    font-family: var(--font-jp); color: var(--brand-primary);
    font-size: .95rem; letter-spacing: 4px; margin-bottom: 8px;
    text-transform: uppercase; font-weight: 500;
}
.sec-head-jp h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em;
}
.sec-head-jp p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* ---------- About split ---------- */
.about-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }
.about-img {
    position: relative; aspect-ratio: 4/5;
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img::after {
    content: '道'; position: absolute;
    bottom: -40px; right: -20px;
    font-family: var(--font-jp); font-weight: 300;
    font-size: 14rem; color: var(--brand-primary); opacity: .15;
    line-height: 1;
}
.about-text .num { color: var(--jp-gold); font-weight: 800; font-size: 1.1rem; font-family: 'Noto Serif JP', serif; }

/* ---------- Program triple (3 cards) ---------- */
.program-triple {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .program-triple { grid-template-columns: 1fr; } }
.prog-card {
    position: relative; aspect-ratio: 3/4;
    border-radius: var(--radius-xl); overflow: hidden;
    display: block; text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}
.prog-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.25); text-decoration: none; }
.prog-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s;
}
.prog-card:hover img { transform: scale(1.08); }
.prog-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
    z-index: 1;
}
.prog-card .inner {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 28px; color: #fff; z-index: 2;
}
.prog-card .kanji {
    font-family: var(--font-jp); font-weight: 300;
    font-size: 5rem; color: var(--jp-gold); line-height: 1;
    opacity: .9; margin-bottom: 8px;
}
.prog-card h3 { color: #fff; font-size: 1.5rem; margin: 0 0 8px; font-weight: 700; }
.prog-card p { color: rgba(255,255,255,0.85); margin: 0 0 12px; font-size: .92rem; }
.prog-card .arrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--jp-gold); font-weight: 700; font-size: .9rem;
    transition: gap .2s;
}
.prog-card:hover .arrow { gap: 12px; }

/* ---------- Sektor grid elegant (SSW 14 sektor) ---------- */
.sektor-elegant {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px;
}
@media (max-width: 1100px) { .sektor-elegant { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .sektor-elegant { grid-template-columns: repeat(2, 1fr); } }
.sektor-el {
    aspect-ratio: 1/1;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 14px 8px; text-align: center;
    transition: all .25s;
}
.sektor-el:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(200,16,46,0.15);
}
.sektor-el .kj {
    font-family: var(--font-jp); font-weight: 700;
    font-size: 2.4rem; color: var(--brand-primary); line-height: 1;
    margin-bottom: 6px;
}
.sektor-el .nm { font-size: .78rem; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ---------- Alur timeline (6 steps horizontal) ---------- */
.alur-horizontal {
    position: relative; padding: 20px 0;
}
.alur-horizontal::before {
    content: ''; position: absolute;
    top: 40px; left: 5%; right: 5%; height: 2px;
    background: linear-gradient(to right, var(--brand-primary) 0%, var(--jp-gold) 100%);
    opacity: .3; z-index: 0;
}
@media (max-width: 900px) { .alur-horizontal::before { display: none; } }
.alur-h-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
    position: relative; z-index: 1;
}
@media (max-width: 900px) { .alur-h-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .alur-h-grid { grid-template-columns: 1fr; } }
.alur-h-step { text-align: center; }
.alur-h-step .circle {
    width: 80px; height: 80px; border-radius: 50%;
    background: #fff; border: 3px solid var(--brand-primary);
    display: grid; place-items: center;
    margin: 0 auto 14px;
    font-family: 'Noto Serif JP', serif; font-size: 1.8rem; font-weight: 700;
    color: var(--brand-primary);
    box-shadow: 0 8px 24px rgba(200,16,46,0.15);
}
.alur-h-step h4 { font-size: .98rem; margin: 0 0 6px; font-weight: 700; }
.alur-h-step p  { color: var(--text-muted); font-size: .85rem; margin: 0; line-height: 1.5; }

/* ---------- Testimonial elegant ---------- */
.testi-elegant-wrap {
    background: var(--jp-charcoal); color: #fff;
    position: relative; overflow: hidden;
}
.testi-elegant-wrap::before {
    content: '心'; position: absolute;
    top: 10%; right: -5%;
    font-family: var(--font-jp);
    font-size: 30rem; color: rgba(212,175,55,0.08);
    pointer-events: none; user-select: none;
    line-height: 1;
}
.testi-el-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .testi-el-grid { grid-template-columns: 1fr; } }
.testi-el {
    background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 32px;
    position: relative;
}
.testi-el::before {
    content: '"'; position: absolute; top: 0; left: 24px;
    font-family: 'Noto Serif JP', serif; font-size: 6rem;
    color: var(--jp-gold); line-height: 1; opacity: .5;
}
.testi-el .quote {
    font-size: 1rem; line-height: 1.7;
    color: rgba(255,255,255,0.9); margin: 24px 0 24px;
    font-style: italic;
}
.testi-el .person { display: flex; align-items: center; gap: 14px; }
.testi-el .avatar {
    width: 56px; height: 56px; border-radius: 50%;
    overflow: hidden; background: var(--brand-primary);
    display: grid; place-items: center; color: #fff; font-weight: 700;
    border: 2px solid var(--jp-gold);
}
.testi-el .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-el .name { font-weight: 700; color: #fff; }
.testi-el .meta { color: var(--jp-gold); font-size: .85rem; margin-top: 2px; }
.testi-elegant-wrap .sec-head-jp .jp-sub { color: var(--jp-gold); }
.testi-elegant-wrap .sec-head-jp h2 { color: #fff; }
.testi-elegant-wrap .sec-head-jp p { color: rgba(255,255,255,0.7); }
.testi-elegant-wrap .sec-head-jp .kanji-watermark { color: rgba(212,175,55,0.08); }

/* ---------- Japan photo gallery ---------- */
.japan-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}
@media (max-width: 900px) { .japan-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .japan-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; } }
.jg-cell {
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-2);
}
.jg-cell img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.jg-cell:hover img { transform: scale(1.08); }
.jg-cell::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0; transition: opacity .3s;
}
.jg-cell:hover::after { opacity: 1; }
.jg-cell .label {
    position: absolute; left: 16px; right: 16px; bottom: 16px;
    color: #fff; font-weight: 700; font-size: 1rem;
    opacity: 0; transform: translateY(10px); transition: all .3s;
    z-index: 2;
}
.jg-cell:hover .label { opacity: 1; transform: translateY(0); }
.jg-cell .label small { display: block; font-weight: 400; font-size: .78rem; color: var(--jp-gold); margin-top: 2px; font-family: var(--font-jp); }
.jg-cell.span-2 { grid-column: span 2; }
.jg-cell.row-2 { grid-row: span 2; }

/* ---------- Final CTA with sakura petals ---------- */
.cta-sakura {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--jp-wine) 100%);
    color: #fff; padding: 80px 20px;
    position: relative; overflow: hidden; text-align: center;
    border-radius: var(--radius-xl);
}
.cta-sakura::before, .cta-sakura::after {
    content: '✿'; position: absolute;
    color: rgba(255,255,255,0.1); font-size: 20rem;
    pointer-events: none; line-height: 1;
}
.cta-sakura::before { top: -40px; left: -40px; }
.cta-sakura::after  { bottom: -60px; right: -40px; transform: rotate(45deg); }
.cta-sakura .inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-sakura .jp-sub { font-family: var(--font-jp); color: var(--jp-gold); letter-spacing: 4px; text-transform: uppercase; font-size: .9rem; margin-bottom: 12px; }
.cta-sakura h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; font-weight: 800; }
.cta-sakura p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin: 0 0 32px; }
.cta-sakura .btn-wrap { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-sakura .btn-fill {
    background: #fff; color: var(--brand-primary);
    padding: 14px 28px; border-radius: 999px; font-weight: 700;
    text-decoration: none; transition: all .2s;
}
.cta-sakura .btn-fill:hover { background: var(--jp-gold); color: #fff; text-decoration: none; transform: translateY(-2px); }
.cta-sakura .btn-ghost {
    background: transparent; color: #fff;
    padding: 14px 28px; border-radius: 999px; font-weight: 700;
    border: 2px solid rgba(255,255,255,0.5); text-decoration: none;
    transition: all .2s;
}
.cta-sakura .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }

/* ---------- CTA strip tepat di bawah hero (overlapping) ---------- */
.hero-cta-strip {
    max-width: 820px;
    margin: -40px auto 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
    position: relative; z-index: 10;
    border: 1px solid var(--border);
}

/* ---------- Sub-page hero (lebih kecil dari home hero) ---------- */
.page-hero-jp {
    position: relative;
    min-height: 48vh;
    display: grid; place-items: center;
    overflow: hidden;
    color: #fff;
    padding: 90px 20px 70px;
}
.page-hero-jp .bg-img {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    transform: scale(1.05);
}
.page-hero-jp .overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(10,10,10,0.78) 0%, rgba(139,0,0,0.65) 100%);
}
.page-hero-jp .kanji-deco {
    position: absolute; z-index: 2;
    font-family: var(--font-jp); font-weight: 300;
    color: rgba(255,255,255,0.08);
    font-size: clamp(10rem, 24vw, 22rem);
    right: -2%; top: 50%; transform: translateY(-50%);
    line-height: 1; pointer-events: none; user-select: none;
}
.page-hero-inner { position: relative; z-index: 3; max-width: 820px; text-align: center; }
.page-hero-inner .jp-sub {
    display: inline-block;
    font-family: var(--font-jp); color: var(--jp-gold);
    font-size: .88rem; letter-spacing: 4px; margin-bottom: 14px;
    text-transform: uppercase; font-weight: 500;
}
.page-hero-inner h1 {
    color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin: 0 0 16px; font-weight: 800; letter-spacing: -.02em;
    line-height: 1.1;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.page-hero-inner p {
    color: rgba(255,255,255,0.92); font-size: 1.1rem;
    margin: 0 auto; max-width: 640px; line-height: 1.65;
}

/* ---------- Elegant list card (lowongan, berita, kursus list) ---------- */
.jp-list-card {
    display: flex; gap: 20px; padding: 24px;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); margin-bottom: 14px;
    transition: all .25s; align-items: center;
    text-decoration: none; color: var(--text);
}
.jp-list-card:hover {
    transform: translateX(6px);
    box-shadow: 0 14px 30px rgba(200,16,46,0.1);
    border-color: var(--brand-primary);
    text-decoration: none;
}
.jp-list-card .thumb {
    width: 90px; height: 90px; border-radius: var(--radius);
    overflow: hidden; flex-shrink: 0;
    background: var(--brand-primary-50);
    display: grid; place-items: center;
    color: var(--brand-primary);
    font-family: var(--font-jp); font-weight: 700; font-size: 1.8rem;
}
.jp-list-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.jp-list-card .body { flex: 1; min-width: 0; }
.jp-list-card .body h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--text); }
.jp-list-card .meta { color: var(--text-muted); font-size: .88rem; display: flex; gap: 12px; flex-wrap: wrap; }
.jp-list-card .right { flex-shrink: 0; text-align: right; }
.jp-list-card .price { font-size: 1.3rem; font-weight: 800; color: var(--brand-primary); line-height: 1; }
.jp-list-card .price-sub { color: var(--text-muted); font-size: .78rem; margin-top: 4px; }

/* ---------- Elegant article (berita detail) ---------- */
.jp-article {
    max-width: 760px; margin: 0 auto;
}
.jp-article .meta-top {
    display: flex; gap: 14px; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--text-muted); font-size: .9rem;
}
.jp-article .lead-img {
    aspect-ratio: 16/9; border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.jp-article .lead-img img { width: 100%; height: 100%; object-fit: cover; }
.jp-article .content {
    font-size: 1.05rem; line-height: 1.85; color: var(--text);
}
.jp-article .content p { margin: 0 0 18px; }
.jp-article .content h2 { font-size: 1.5rem; margin: 32px 0 16px; color: var(--brand-primary); }
.jp-article .content h3 { font-size: 1.2rem; margin: 24px 0 12px; }

/* ---------- Elegant footer ---------- */
.footer-elegant {
    background: linear-gradient(180deg, var(--jp-charcoal) 0%, var(--jp-ink) 100%);
    color: rgba(255,255,255,0.85);
    padding: 72px 0 24px;
    margin-top: 80px;
    position: relative; overflow: hidden;
    border-top: 3px solid var(--brand-primary);
}
.footer-elegant::before {
    content: '日本'; position: absolute; left: 50%; top: 30px;
    transform: translateX(-50%);
    font-family: 'Noto Serif JP', serif; font-size: 12rem;
    color: rgba(212,175,55,0.04); font-weight: 300;
    pointer-events: none; user-select: none; letter-spacing: 20px;
}
.footer-elegant .footer-grid { position: relative; z-index: 1; }
.footer-elegant h4 {
    color: var(--jp-gold); font-size: .85rem;
    text-transform: uppercase; letter-spacing: 2px; margin: 0 0 16px; font-weight: 700;
}
.footer-elegant .brand { color: #fff; font-size: 1.3rem; }
.footer-elegant .brand-mark { background: var(--brand-primary); box-shadow: 0 4px 12px rgba(200,16,46,0.4); }
.footer-elegant p, .footer-elegant li { color: rgba(255,255,255,0.65); font-size: .9rem; line-height: 1.75; }
.footer-elegant a { color: rgba(255,255,255,0.85); }
.footer-elegant a:hover { color: var(--jp-gold); }
.footer-elegant .social-row a {
    background: rgba(212,175,55,0.1); color: var(--jp-gold);
    border: 1px solid rgba(212,175,55,0.3);
}
.footer-elegant .social-row a:hover { background: var(--jp-gold); color: var(--jp-ink); }
.footer-elegant-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px; margin-top: 40px;
    text-align: center; font-size: .82rem; color: rgba(255,255,255,0.5);
    position: relative; z-index: 1;
}

/* ---------- Auth elegant background ---------- */
.auth-jp-wrap {
    min-height: calc(100vh - 70px);
    display: grid; place-items: center;
    padding: 40px 20px;
    position: relative; overflow: hidden;
    background-color: var(--jp-charcoal);
}
.auth-jp-wrap::before {
    content: ''; position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1480796927426-f609979314bd?w=1920&q=80&auto=format&fit=crop');
    background-size: cover; background-position: center;
    opacity: .4;
}
.auth-jp-wrap::after {
    content: '日'; position: absolute;
    right: -5%; top: 50%; transform: translateY(-50%);
    font-family: var(--font-jp);
    color: rgba(212,175,55,0.08); font-size: 40rem; font-weight: 300;
    pointer-events: none; line-height: 1;
}
.auth-jp-wrap .auth-card {
    position: relative; z-index: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* =================================================================
   MOBILE RESPONSIVE — Elegant Japan on tablets & phones
   ================================================================= */

@media (max-width: 820px) {
    /* ----- Base containers ----- */
    .section      { padding: 48px 0; }
    .container    { padding: 0 16px; }

    /* ----- Hero HOME ----- */
    .hero-jp { min-height: 78vh; padding: 60px 16px 70px; }
    .hero-jp h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.15; }
    .hero-jp p.lead { font-size: .98rem; margin-bottom: 24px; }
    .hero-jp .badge-jp { font-size: .72rem; padding: 6px 12px; letter-spacing: 0; margin-bottom: 18px; }
    .hero-jp .kanji-deco.k1 { font-size: 60vw; top: -8%; left: -20%; opacity: .05; }
    .hero-jp .kanji-deco.k2 { font-size: 55vw; bottom: -15%; right: -15%; opacity: .05; }
    .hero-jp .btn-jp-primary, .hero-jp .btn-jp-ghost {
        padding: 12px 20px; font-size: .9rem; width: 100%; justify-content: center;
    }
    .hero-jp-inner > div:last-child { flex-direction: column; width: 100%; gap: 10px; }
    .hero-jp .scroll-hint { display: none; }

    /* ----- Hero SUB-PAGE ----- */
    .page-hero-jp { min-height: 38vh; padding: 60px 16px 44px; }
    .page-hero-jp .kanji-deco { font-size: 65vw; right: -25%; opacity: .06; }
    .page-hero-inner h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); margin-bottom: 10px; }
    .page-hero-inner p { font-size: .92rem; }
    .page-hero-inner .jp-sub { font-size: .74rem; letter-spacing: 2px; margin-bottom: 10px; }

    /* ----- Hero CTA strip (MagangKu/KerjaKu) ----- */
    .hero-cta-strip {
        margin: -24px 16px 24px; padding: 14px 18px; gap: 8px;
        flex-direction: column;
    }
    .hero-cta-strip .btn { width: 100%; justify-content: center; padding: 11px 16px; font-size: .9rem; }

    /* ----- Trust strip ----- */
    .trust-strip { padding: 24px 16px; }
    .trust-strip .label { font-size: .72rem; letter-spacing: 1px; margin-bottom: 14px; }
    .trust-strip .logos { gap: 10px; }
    .trust-strip .logo-item { font-size: .68rem; padding: 5px 10px; letter-spacing: .5px; }

    /* ----- Stats elegant ----- */
    .stat-elegant-wrap { padding: 48px 20px; }
    .stat-elegant-grid { gap: 14px; }
    .stat-elegant { padding: 12px 6px; }
    .stat-elegant .val { font-size: 1.9rem; }
    .stat-elegant .lab { font-size: .74rem; letter-spacing: .5px; margin-top: 6px; }

    /* ----- Section header elegant ----- */
    .sec-head-jp { margin-bottom: 36px; }
    .sec-head-jp .kanji-watermark { font-size: 55vw; opacity: .4; }
    .sec-head-jp h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .sec-head-jp p { font-size: .95rem; }
    .sec-head-jp .jp-sub { font-size: .72rem; letter-spacing: 2px; }

    /* ----- About split ----- */
    .about-split { gap: 28px; }
    .about-img { aspect-ratio: 4/3; max-width: 420px; margin: 0 auto; }
    .about-img::after { font-size: 7rem; bottom: -20px; right: -10px; }
    .about-text h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }

    /* ----- Program triple cards ----- */
    .program-triple { gap: 16px; }
    .prog-card { aspect-ratio: 4/3; max-height: 340px; }
    .prog-card .inner { padding: 20px; }
    .prog-card .kanji { font-size: 3.5rem; margin-bottom: 4px; }
    .prog-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
    .prog-card p { font-size: .85rem; margin-bottom: 10px; }

    /* ----- Sektor 16 SSW ----- */
    .sektor-el { padding: 12px 6px; }
    .sektor-el .kj { font-size: 1.8rem; margin-bottom: 4px; }
    .sektor-el .nm { font-size: .72rem; }

    /* ----- Alur horizontal 6 langkah ----- */
    .alur-horizontal::before { display: none; }
    .alur-horizontal { padding: 10px 0; }
    .alur-h-grid { gap: 18px 14px; }
    .alur-h-step .circle { width: 58px; height: 58px; font-size: 1.3rem; margin-bottom: 10px; }
    .alur-h-step h4 { font-size: .88rem; margin-bottom: 4px; }
    .alur-h-step p { font-size: .78rem; line-height: 1.5; }

    /* ----- Testimonial elegant ----- */
    .testi-elegant-wrap { overflow-x: hidden; }
    .testi-elegant-wrap::before { font-size: 18rem; right: -20%; }
    .testi-el { padding: 22px 18px; }
    .testi-el::before { font-size: 4rem; left: 16px; }
    .testi-el .quote { font-size: .92rem; margin: 20px 0; }
    .testi-el .avatar { width: 48px; height: 48px; }

    /* ----- Japan gallery ----- */
    .japan-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px; gap: 8px;
    }
    .japan-gallery .jg-cell.span-2 { grid-column: span 2; }
    .japan-gallery .jg-cell.row-2 { grid-row: span 1; }
    .jg-cell::after { opacity: 1; }
    .jg-cell .label { opacity: 1; transform: translateY(0); font-size: .8rem; left: 10px; right: 10px; bottom: 10px; }
    .jg-cell .label small { font-size: .68rem; }

    /* ----- CTA sakura ----- */
    .cta-sakura { padding: 48px 20px; }
    .cta-sakura::before, .cta-sakura::after { font-size: 10rem; }
    .cta-sakura h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .cta-sakura p { font-size: .95rem; }
    .cta-sakura .btn-wrap { flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-sakura .btn-fill, .cta-sakura .btn-ghost { text-align: center; padding: 12px 20px; }

    /* ----- Footer elegant ----- */
    .footer-elegant { padding: 48px 0 20px; margin-top: 48px; }
    .footer-elegant::before { font-size: 7rem; top: 20px; letter-spacing: 8px; }
    .footer-elegant h4 { font-size: .76rem; margin-top: 20px; margin-bottom: 10px; }
    .footer-elegant p, .footer-elegant li { font-size: .85rem; }
    .footer-elegant .brand { font-size: 1.1rem; }

    /* ----- MagangKu / KerjaKu — program hero lama (jika masih dipakai) ----- */
    .hero-program { padding: 56px 16px 48px; }
    .hero-program::after { font-size: 55vw; right: -32%; opacity: .4; }
    .hero-program h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
    .hero-program .jp-sub { font-size: .82rem; letter-spacing: 1.5px; }
    .hero-program p.lead { font-size: .98rem; }

    /* ----- Feature split (MagangKu/KerjaKu) ----- */
    .feature-split { gap: 24px; }
    .feature-visual { max-width: 320px; margin: 0 auto; aspect-ratio: 1/1; }
    .feature-visual .kanji { font-size: 6rem; }

    /* ----- Stat row (MagangKu/KerjaKu) ----- */
    .stat-chip { padding: 14px 10px; }
    .stat-chip .val { font-size: 1.5rem; }
    .stat-chip .lab { font-size: .72rem; }

    /* ----- Program chooser (ProgramKu landing) ----- */
    .program-chooser { gap: 16px; }
    .program-card { padding: 28px 22px; }
    .program-card .big-kanji { font-size: 7rem; bottom: -30px; right: -10px; }
    .program-card h3 { font-size: 1.4rem; }

    /* ----- Timeline (MagangKu/KerjaKu alur) ----- */
    .timeline { padding-left: 28px; max-width: 100%; }
    .timeline-item { padding: 16px 18px; }
    .timeline-item::before { left: -30px; width: 20px; height: 20px; }
    .timeline-item h4 { font-size: .96rem; }
    .timeline-item p { font-size: .88rem; }

    /* ----- Sektor grid (MagangKu/KerjaKu sektor list) ----- */
    .sektor-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sektor-card { padding: 18px 12px; }
    .sektor-icon { width: 44px; height: 44px; font-size: 1.3rem; margin-bottom: 10px; }
    .sektor-card h4 { font-size: .88rem; }
    .sektor-card p { font-size: .76rem; }

    /* ----- Requirement list (MagangKu/KerjaKu) ----- */
    .req-grid { gap: 10px; }
    .req-item { padding: 14px 16px; }
    .req-item h4 { font-size: .9rem; }
    .req-item p { font-size: .82rem; }

    /* ----- FAQ ----- */
    .faq-q { font-size: .92rem; padding: 14px 18px; gap: 10px; }
    .faq-a-inner { padding: 0 18px 16px; font-size: .88rem; }

    /* ----- Section header (regular) ----- */
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
    .section-header p { font-size: .92rem; }

    /* ----- Course card / loker-item ----- */
    .course-card { padding: 20px; }
    .loker-item { flex-direction: column; align-items: stretch; text-align: left; gap: 10px; padding: 18px; }
    .loker-item .avatar { align-self: flex-start; }
    .loker-item .gaji { text-align: left; min-width: 0; margin-top: 4px; }

    /* ----- Mitra strip ----- */
    .mitra-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mitra-logo { aspect-ratio: 2/1; padding: 14px; }

    /* ----- Grid generic ----- */
    .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 14px; }
    .grid-2 { gap: 20px; }

    /* ----- Auth card ----- */
    .auth-wrap, .auth-jp-wrap { padding: 20px 16px; }
    .auth-card { padding: 28px 22px; margin: 0; }
    .auth-card h1 { font-size: 1.4rem; }
    .auth-jp-wrap::after { font-size: 25rem; right: -15%; }
    .form-row { grid-template-columns: 1fr; gap: 10px; }

    /* ----- Admin area (dashboard) ----- */
    .admin-topbar { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }
    .admin-topbar .page-title { font-size: 1rem; }
    .admin-topbar .user-chip span:not(.avatar) { display: none; }
    .admin-topbar .btn-logout { font-size: .78rem; }
    .admin-main { padding: 16px; }
    .admin-stat .value { font-size: 1.5rem; }
    .admin-form-grid { grid-template-columns: 1fr; gap: 12px; }
    .admin-form .form-input, .admin-form .form-select, .admin-form .form-textarea { font-size: .95rem; }
    .form-actions { flex-direction: column-reverse; gap: 8px; }
    .form-actions .btn { width: 100%; }
    .table-wrap { overflow-x: auto; }
    .admin-table { min-width: 560px; }

    /* ----- Pills smaller ----- */
    .pill { font-size: .68rem; padding: 2px 8px; }

    /* ----- Buttons generic ----- */
    .btn-lg { padding: 12px 20px; font-size: .92rem; }

    /* ----- Quiz CAT ----- */
    .quiz-timer { font-size: 1rem; padding: 8px 14px; }
    .quiz-sticky { padding: 12px 16px; }
    .opsi-item { padding: 10px 12px; }

    /* ----- Breadcrumb ----- */
    .breadcrumb { padding: 10px 0; font-size: .78rem; }
}

/* ------------- Ultra small phones ------------- */
@media (max-width: 500px) {
    .hero-jp { min-height: 85vh; }
    .hero-jp h1 { font-size: 1.9rem; }

    .page-hero-jp { min-height: 34vh; padding: 54px 14px 36px; }
    .page-hero-inner h1 { font-size: 1.5rem; }

    .stat-elegant .val { font-size: 1.6rem; }
    .stat-elegant .lab { font-size: .7rem; }

    .prog-card { aspect-ratio: 4/5; max-height: none; }
    .prog-card .kanji { font-size: 3rem; }

    .sektor-elegant { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .sektor-el { padding: 10px 4px; }
    .sektor-el .kj { font-size: 1.4rem; }
    .sektor-el .nm { font-size: .68rem; }

    .japan-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .japan-gallery .jg-cell.span-2 { grid-column: span 1; }

    .cta-sakura h2 { font-size: 1.6rem; }

    .footer-grid { gap: 24px; }

    /* Timeline alur ultra tight */
    .timeline { padding-left: 24px; }
    .timeline-item::before { left: -26px; width: 16px; height: 16px; }

    /* Lang switcher tiny */
    .lang-switch a { padding: 3px 7px; font-size: .7rem; }

    /* Program chooser */
    .program-card { padding: 24px 18px; }
    .program-card .big-kanji { font-size: 6rem; }
    .program-card h3 { font-size: 1.25rem; }
    .program-card p { font-size: .88rem; }

    /* Mitra super small — single column */
    .mitra-strip { grid-template-columns: 1fr; }

    /* Testi smaller */
    .testi-el .quote { font-size: .88rem; }

    /* About split img smaller */
    .about-img { aspect-ratio: 1/1; max-width: 280px; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: 32px; }
.pt-0 { padding-top: 0; }
.d-flex { display: flex; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.ml-auto { margin-left: auto; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--brand-primary); }
