/* ==========================================================================
   Mantra — homepage & site chrome
   Palette diturunkan dari logo Mantra: magenta #E30A87 -> violet #7B2FC9
   Semua kelas ber-prefix .mh-  supaya tidak bentrok dengan style.css tema.
   ========================================================================== */

:root {
    --mh-magenta: #E30A87;
    --mh-magenta-dark: #C2086F;
    --mh-violet: #7B2FC9;
    --mh-violet-dark: #6423A8;
    --mh-gradient: linear-gradient(135deg, #E30A87 0%, #7B2FC9 100%);
    --mh-gradient-soft: linear-gradient(135deg, rgba(227, 10, 135, .10) 0%, rgba(123, 47, 201, .10) 100%);

    --mh-ink: #1A0A33;
    --mh-ink-soft: #2A1150;
    --mh-ink-line: rgba(255, 255, 255, .14);

    --mh-surface: #FFFFFF;
    --mh-canvas: #FAF8FD;
    --mh-muted: #6B6480;
    --mh-hairline: #EDE8F5;

    --mh-radius-sm: 8px;
    --mh-radius: 14px;
    --mh-radius-lg: 22px;

    --mh-shadow-sm: 0 2px 10px rgba(26, 10, 51, .06);
    --mh-shadow: 0 12px 32px rgba(26, 10, 51, .09);
    --mh-shadow-lg: 0 28px 64px rgba(26, 10, 51, .16);

    --mh-font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --mh-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------- base ---- */

.mantra-home {
    font-family: var(--mh-font-body);
    color: var(--mh-ink);
    background: var(--mh-canvas);
    -webkit-font-smoothing: antialiased;
}

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

/* :where() dipakai agar rule dasar ini BERBOBOT 0, sehingga warna yang
   didefinisikan class komponen (mis. .mh-hero__title { color:#fff })
   tidak ikut tertimpa. Tanpa :where(), `.mantra-home h1` (0,1,1) akan
   mengalahkan `.mh-hero__title` (0,1,0). */
.mantra-home :where(h1, h2, h3, h4) {
    font-family: var(--mh-font-display);
    color: var(--mh-ink);
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.15;
    font-weight: 800;
}

.mantra-home :where(p) { margin: 0; line-height: 1.65; color: var(--mh-muted); }
.mantra-home :where(a) { text-decoration: none; color: inherit; }
.mantra-home :where(ul) { list-style: none; margin: 0; padding: 0; }
.mantra-home :where(img) { max-width: 100%; display: block; }

.mantra-home :focus-visible,
.mh-nav :focus-visible,
.mh-footer :focus-visible {
    outline: 3px solid var(--mh-violet);
    outline-offset: 2px;
    border-radius: 6px;
}

.mh-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
}

.mh-section { padding: 84px 0; }
.mh-section--tight { padding: 60px 0; }

.mh-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.mh-head__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.mh-head__sub { margin-top: 8px; max-width: 56ch; font-size: .95rem; }

.mh-eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--mh-magenta);
    margin-bottom: 10px;
}

.mh-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--mh-violet);
    white-space: nowrap;
    transition: gap .18s ease, color .18s ease;
}

.mh-more:hover { gap: 12px; color: var(--mh-magenta); }

/* ------------------------------------------------------------ buttons ---- */

.mh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    font-family: var(--mh-font-display);
    font-size: .93rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

.mh-btn--primary {
    background-image: var(--mh-gradient);
    color: #fff;
    box-shadow: 0 10px 26px rgba(227, 10, 135, .28);
}

.mh-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(227, 10, 135, .36);
    color: #fff;
}

.mh-btn--white { background: #fff; color: var(--mh-ink); box-shadow: var(--mh-shadow-sm); }
.mh-btn--white:hover { transform: translateY(-2px); box-shadow: var(--mh-shadow); color: var(--mh-ink); }

.mh-btn--outline {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px var(--mh-ink-line);
}

.mh-btn--outline:hover { background: rgba(255, 255, 255, .10); color: #fff; }

.mh-btn--ghost {
    background: #fff;
    color: var(--mh-violet);
    box-shadow: inset 0 0 0 1.5px var(--mh-hairline);
}

.mh-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--mh-violet); color: var(--mh-magenta); }

.mh-btn--block { width: 100%; }

/* -------------------------------------------------------------- navbar --- */

/* --------------------------------------------------------------------------
   Reset untuk navbar & footer.
   Navbar/footer berada DI LUAR .mantra-home, sehingga masih terkena aturan
   global style.css tema lama: `ul, ol { margin-bottom: 24px }` (tanpa reset
   list-style) dan `body { overflow-x: hidden }` yang mematikan position:sticky.
   -------------------------------------------------------------------------- */

body { overflow-x: clip; }

.mh-nav,
.mh-footer { font-family: var(--mh-font-body); }

.mh-nav ul,
.mh-nav ol,
.mh-footer ul,
.mh-footer ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-nav li,
.mh-footer li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-nav p,
.mh-footer p { color: inherit; }

.mh-nav__menu,
.mh-nav__actions { flex: none; flex-wrap: nowrap; }

.mh-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--mh-hairline);
}

.mh-nav__inner {
    display: flex;
    align-items: center;
    /* space-between bagi ruang kosong rata kiri-kanan, sehingga menu tampak
       center dan tidak menempel ke kumpulan tombol di kanan. */
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.mh-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    justify-self: start;
    font-family: var(--mh-font-display);
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: -.03em;
    color: var(--mh-ink);
    flex: none;
}

.mh-brand__mark { width: 38px; height: 38px; flex: none; }

.mh-brand__name { line-height: 1; }
.mh-brand__name em { font-style: normal; color: var(--mh-magenta); }

.mh-nav__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mh-nav__menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 500;
    color: #3F3459;
    white-space: nowrap;
    transition: background-color .16s ease, color .16s ease;
}

.mh-nav__menu > li > a:hover { background: #F5F0FC; color: var(--mh-violet); }

.mh-nav__menu > li > a.is-active {
    color: var(--mh-magenta);
    font-weight: 600;
    background: rgba(227, 10, 135, .07);
}

.mh-nav__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: none; }

/* CTA navbar dibuat lebih ringkas dari .mh-btn bawaan supaya muat satu baris,
   dengan margin kiri agar tidak menempel ke tautan "Daftar". */
.mh-nav__actions .mh-btn { padding: 11px 18px; font-size: .875rem; margin-left: 4px; }

.mh-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--mh-ink);
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
    transition: color .16s ease, background-color .16s ease;
}

.mh-nav__link:hover { color: var(--mh-violet); background: #F5F0FC; }

.mh-nav__toggle {
    display: none;
    /* Di mobile menu & aksi disembunyikan, margin auto menahan tombol ini
       menempel di tepi kanan. */
    margin-left: auto;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mh-hairline);
    border-radius: 12px;
    background: #fff;
    color: var(--mh-ink);
    font-size: 1.05rem;
    cursor: pointer;
}

.mh-nav__mobile { display: none; }

/* ---------------------------------------------------------------- hero --- */

.mh-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(760px 420px at 88% 12%, rgba(227, 10, 135, .38), transparent 62%),
        radial-gradient(680px 460px at 6% 92%, rgba(123, 47, 201, .42), transparent 64%),
        linear-gradient(160deg, #1A0A33 0%, #2A1150 58%, #1A0A33 100%);
    color: #fff;
    padding: 76px 0 96px;
}

.mh-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    column-gap: 56px;
    row-gap: 44px;
    align-items: center;
}

/* Kartu pencarian membentang penuh di bawah kedua kolom hero */
.mh-hero__search { grid-column: 1 / -1; }

.mh-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
    font-size: .82rem;
    font-weight: 600;
    color: #F3D9EC;
    margin-bottom: 22px;
}

.mh-hero__eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-image: var(--mh-gradient);
}

.mh-hero__title {
    font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.45rem);
    color: #fff;
    margin-bottom: 18px;
}

.mh-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, #FF6FC4 0%, #B98CF0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mh-hero__lead {
    color: rgba(255, 255, 255, .74);
    font-size: 1.02rem;
    max-width: 46ch;
    margin-bottom: 30px;
}

.mh-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* search bar */
.mh-search {
    background: #fff;
    border-radius: var(--mh-radius-lg);
    padding: 12px;
    box-shadow: var(--mh-shadow-lg);
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: none;
}

.mh-search__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 18px;
    border-radius: var(--mh-radius);
    background: #F8F6FC;
    min-width: 0;
}

.mh-search__field i { color: var(--mh-magenta); font-size: .95rem; flex: none; }

.mh-search__field input,
.mh-search__field select {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: var(--mh-font-body);
    font-size: .9rem;
    color: var(--mh-ink);
    outline: none;
}

.mh-search__field input::placeholder { color: #9A93AC; }

.mh-search__go {
    padding: 16px 34px;
    white-space: nowrap;
    border: 0;
    border-radius: var(--mh-radius);
    background-image: var(--mh-gradient);
    color: #fff;
    font-family: var(--mh-font-display);
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 10px 24px rgba(227, 10, 135, .3);
    transition: transform .16s ease, box-shadow .16s ease;
}

.mh-search__go:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(227, 10, 135, .4); }

/* autocomplete */
.mh-autocomplete {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-shadow-lg);
    overflow: hidden;
    display: none;
}

.mh-autocomplete div {
    padding: 11px 16px;
    font-size: .88rem;
    color: var(--mh-ink);
    cursor: pointer;
}

.mh-autocomplete div:hover { background: #F5F0FC; color: var(--mh-violet); }

.mh-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
}

.mh-popular a {
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .86);
    font-size: .82rem;
    transition: background-color .16s ease, color .16s ease;
}

.mh-popular a:hover { background: #fff; color: var(--mh-magenta); }

/* hero visual */
.mh-hero__visual { position: relative; min-height: 420px; }

.mh-hero__glow {
    position: absolute;
    inset: 8% 4% 4% 8%;
    border-radius: 50%;
    background: var(--mh-gradient);
    filter: blur(62px);
    opacity: .5;
}

.mh-hero__card {
    position: relative;
    background: #fff;
    border-radius: var(--mh-radius-lg);
    padding: 24px;
    box-shadow: var(--mh-shadow-lg);
    color: var(--mh-ink);
    max-width: 350px;
    margin: 46px auto 0;
}

.mh-hero__card-top {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mh-hairline);
}

.mh-hero__card-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background-image: var(--mh-gradient);
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--mh-font-display);
    font-weight: 800;
    font-size: 1.05rem;
    flex: none;
}

.mh-hero__card-role { font-weight: 700; font-size: .97rem; font-family: var(--mh-font-display); }
.mh-hero__card-co { font-size: .8rem; color: var(--mh-muted); margin-top: 2px; }

.mh-hero__card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 18px; }

.mh-chip {
    font-size: .74rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    background: #F5F0FC;
    color: var(--mh-violet);
}

.mh-chip--magenta { background: rgba(227, 10, 135, .1); color: var(--mh-magenta-dark); }

.mh-hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    background: #fff;
    border-radius: var(--mh-radius);
    padding: 12px 16px;
    box-shadow: var(--mh-shadow-lg);
    color: var(--mh-ink);
}

.mh-hero__float i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: .9rem;
    color: #fff;
    flex: none;
    background-image: var(--mh-gradient);
}

.mh-hero__float b {
    display: block;
    font-family: var(--mh-font-display);
    font-size: 1.02rem;
    line-height: 1.1;
    color: var(--mh-ink);
}

.mh-hero__float span { font-size: .74rem; color: var(--mh-muted); }

.mh-hero__float--a { top: 4%; left: -4%; }
.mh-hero__float--b { top: 33%; right: -6%; }
.mh-hero__float--c { bottom: 2%; left: 2%; }

/* ---------------------------------------------------------- categories --- */

.mh-cats {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}

.mh-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 24px 12px;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mh-cat:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--mh-shadow);
}

.mh-cat i {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    color: #fff;
    background-image: var(--mh-gradient);
}

.mh-cat:nth-child(even) i {
    background-image: linear-gradient(135deg, #7B2FC9 0%, #E30A87 100%);
}

.mh-cat b {
    font-family: var(--mh-font-display);
    font-size: .88rem;
    font-weight: 700;
    color: var(--mh-ink);
    line-height: 1.25;
}

.mh-cat span { font-size: .76rem; color: var(--mh-muted); }

.mh-cat--more i { background-image: none; background: #F5F0FC; color: var(--mh-violet); }

/* ---------------------------------------------------------------- jobs --- */

.mh-jobs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mh-job {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    padding: 22px;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mh-job:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--mh-shadow); }

.mh-job__flag {
    position: absolute;
    top: 0;
    right: 18px;
    padding: 5px 12px 6px;
    border-radius: 0 0 10px 10px;
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
    background-image: var(--mh-gradient);
}

.mh-job__flag--soon { background-image: none; background: #F59E0B; }
.mh-job__flag--high { background-image: none; background: #DC2626; }

.mh-job__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.mh-job__logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--mh-hairline);
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: none;
}

.mh-job__logo img { width: 78%; height: 78%; object-fit: contain; }
.mh-job__co { font-size: .8rem; color: var(--mh-muted); }
.mh-job__co b { display: block; font-size: .85rem; color: var(--mh-ink); font-weight: 600; }

.mh-job__title {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
    transition: color .16s ease;
}

.mh-job__title:hover { color: var(--mh-magenta); }

.mh-job__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: .8rem;
    color: var(--mh-muted);
    margin-bottom: 18px;
}

.mh-job__meta span { display: inline-flex; align-items: center; gap: 7px; }
.mh-job__meta i { color: var(--mh-violet); font-size: .8rem; }

.mh-job__foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--mh-hairline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mh-job__type {
    font-size: .76rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    background: #F5F0FC;
    color: var(--mh-violet);
}

.mh-job__apply {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--mh-magenta);
    font-family: var(--mh-font-display);
}

.mh-job__apply:hover { gap: 11px; color: var(--mh-violet); }

.mh-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    background: #fff;
    border: 1px dashed var(--mh-hairline);
    border-radius: var(--mh-radius);
    color: var(--mh-muted);
}

/* --------------------------------------------------------------- stats --- */

.mh-stats {
    background: var(--mh-ink);
    padding: 44px 0;
}

.mh-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.mh-stat {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.mh-stat i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: .95rem;
    flex: none;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px var(--mh-ink-line);
    color: #F1B8DE;
}

.mh-stat b {
    display: block;
    font-family: var(--mh-font-display);
    font-size: 1.42rem;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.mh-stat span { font-size: .8rem; color: rgba(255, 255, 255, .62); }

/* --------------------------------------------------------------- steps --- */

.mh-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    position: relative;
}

.mh-step { position: relative; padding-right: 14px; }

.mh-step::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 66px;
    right: 6px;
    border-top: 2px dashed var(--mh-hairline);
}

.mh-step:last-child::after { display: none; }

.mh-step__num {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-family: var(--mh-font-display);
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    background-image: var(--mh-gradient);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.mh-step:nth-child(even) .mh-step__num {
    background-image: linear-gradient(135deg, #7B2FC9 0%, #E30A87 100%);
}

.mh-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.mh-step p { font-size: .87rem; }

.mh-steps__foot {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mh-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    font-size: .86rem;
    font-weight: 500;
    color: var(--mh-ink);
}

.mh-benefit i { color: var(--mh-magenta); font-size: .95rem; }

/* ----------------------------------------------------------------- cta --- */

.mh-cta {
    background-image: var(--mh-gradient);
    border-radius: var(--mh-radius-lg);
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(227, 10, 135, .26);
}

.mh-cta::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -90px;
    top: -140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.mh-cta__icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
    flex: none;
}

.mh-cta__body { display: flex; align-items: center; gap: 20px; flex: 1 1 380px; position: relative; z-index: 1; }
.mh-cta h2 { color: #fff; font-size: clamp(1.2rem, 1rem + .8vw, 1.62rem); margin-bottom: 6px; }
.mh-cta p { color: rgba(255, 255, 255, .85); font-size: .92rem; max-width: 52ch; }
.mh-cta__action { position: relative; z-index: 1; }

/* ----------------------------------------------------------- companies --- */

.mh-companies {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.mh-company {
    display: grid;
    place-items: center;
    padding: 26px 16px;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    min-height: 104px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mh-company:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--mh-shadow); }
.mh-company img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .18s ease, opacity .18s ease; }
.mh-company:hover img { filter: none; opacity: 1; }
.mh-company span { font-family: var(--mh-font-display); font-weight: 700; font-size: .9rem; color: var(--mh-muted); }

/* -------------------------------------------------------- testimonials --- */

.mh-testi { background: var(--mh-ink); color: #fff; }
.mh-testi .mh-head__title { color: #fff; }
.mh-testi .mh-head__sub { color: rgba(255, 255, 255, .6); }
.mh-testi .mh-more { color: #F1B8DE; }
.mh-testi .mh-more:hover { color: #fff; }

.mh-testi__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mh-testi__card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--mh-ink-line);
    border-radius: var(--mh-radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mh-testi__stars { color: #FBBF24; font-size: .82rem; letter-spacing: 2px; }

.mh-testi__quote {
    color: rgba(255, 255, 255, .86);
    font-size: .92rem;
    line-height: 1.7;
    flex: 1;
}

.mh-testi__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--mh-ink-line); }

.mh-testi__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--mh-font-display);
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    background-image: var(--mh-gradient);
    flex: none;
}

.mh-testi__who b { display: block; font-size: .88rem; color: #fff; }
.mh-testi__who span { font-size: .78rem; color: rgba(255, 255, 255, .55); }

/* ---------------------------------------------------------------- blog --- */

.mh-posts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.mh-post {
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mh-post:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--mh-shadow); }

.mh-post__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background-image: var(--mh-gradient-soft);
    display: grid;
    place-items: center;
    color: var(--mh-violet);
    font-size: 1.7rem;
}

.mh-post__date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    text-align: center;
    line-height: 1.05;
    box-shadow: var(--mh-shadow-sm);
}

.mh-post__date b { display: block; font-family: var(--mh-font-display); font-size: .95rem; color: var(--mh-ink); }
.mh-post__date span { font-size: .66rem; color: var(--mh-magenta); font-weight: 700; }

.mh-post__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mh-post__cat { font-size: .74rem; font-weight: 600; color: var(--mh-violet); }
.mh-post h3 { font-size: .98rem; line-height: 1.35; }
.mh-post__more { margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--mh-magenta); display: inline-flex; align-items: center; gap: 7px; }
.mh-post:hover .mh-post__more { gap: 11px; color: var(--mh-violet); }

/* -------------------------------------------------------------- footer --- */

.mh-footer {
    background: var(--mh-ink);
    color: rgba(255, 255, 255, .68);
    padding: 72px 0 0;
    font-family: var(--mh-font-body);
}

.mh-footer a { color: rgba(255, 255, 255, .68); transition: color .16s ease; }
.mh-footer a:hover { color: #fff; }

.mh-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 52px;
}

.mh-footer__brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.mh-footer__brand .mh-brand__mark { width: 40px; height: 40px; }
.mh-footer__brand b {
    font-family: var(--mh-font-display);
    font-size: 1.24rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
}

.mh-footer__about { font-size: .88rem; line-height: 1.7; color: rgba(255, 255, 255, .6); max-width: 34ch; margin-bottom: 20px; }

.mh-footer__contact li { font-size: .86rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.mh-footer__contact i { color: var(--mh-magenta); margin-top: 3px; }

.mh-footer h4 {
    font-family: var(--mh-font-display);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.mh-footer__links li { margin-bottom: 11px; font-size: .87rem; }

.mh-footer__news p { font-size: .86rem; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }

.mh-footer__form { display: flex; gap: 8px; }
.mh-footer__form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--mh-ink-line);
    border-radius: 999px;
    padding: 12px 18px;
    color: #fff;
    font-family: var(--mh-font-body);
    font-size: .86rem;
    outline: none;
}

.mh-footer__form input::placeholder { color: rgba(255, 255, 255, .4); }
.mh-footer__form input:focus { border-color: var(--mh-magenta); }

.mh-footer__form button {
    width: 46px;
    height: 46px;
    flex: none;
    border: 0;
    border-radius: 50%;
    background-image: var(--mh-gradient);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform .16s ease;
}

.mh-footer__form button:hover { transform: translateY(-2px); }

.mh-footer__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid var(--mh-ink-line);
    font-size: .82rem;
}

.mh-footer__tags > span { color: rgba(255, 255, 255, .45); margin-right: 4px; }

.mh-footer__tags a {
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--mh-ink-line);
    font-size: .8rem;
}

.mh-footer__tags a:hover { background-image: var(--mh-gradient); color: #fff; box-shadow: none; }

.mh-footer__bottom {
    border-top: 1px solid var(--mh-ink-line);
    padding: 22px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: .82rem;
}

.mh-footer__social { display: flex; gap: 10px; }

.mh-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 0 1px var(--mh-ink-line);
    color: rgba(255, 255, 255, .75);
}

.mh-footer__social a:hover { background-image: var(--mh-gradient); color: #fff; box-shadow: none; }

/* ------------------------------------------- halaman hasil pencarian ---- */

.mh-page-head {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 320px at 88% 0%, rgba(227, 10, 135, .34), transparent 62%),
        radial-gradient(520px 300px at 4% 100%, rgba(123, 47, 201, .34), transparent 64%),
        linear-gradient(160deg, #1A0A33 0%, #2A1150 100%);
    color: #fff;
    padding: 52px 0 46px;
}

.mh-page-head .mh-eyebrow { color: #F1B8DE; }
.mh-page-head__title { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.mh-page-head__meta { color: rgba(255, 255, 255, .72); font-size: .92rem; margin-top: 10px; }

.mh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.mh-chips a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    color: #fff;
    font-size: .8rem;
    transition: background-color .16s ease, color .16s ease;
}

.mh-chips a:hover { background-image: var(--mh-gradient); box-shadow: none; color: #fff; }
.mh-chips i { font-size: .72rem; opacity: .8; }

/* kartu search ditarik naik menumpuk header */
.mh-search-page .mh-search {
    margin-top: -34px;
    position: relative;
    z-index: 3;
}

.mh-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 34px;
    padding-bottom: 84px;
}

/* sidebar filter */
.mh-filters {
    position: sticky;
    top: 92px;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    padding: 22px;
}

.mh-filters__title {
    font-family: var(--mh-font-display);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.mh-filters__empty { font-size: .85rem; margin-bottom: 18px; }

.mh-checks { display: grid; gap: 11px; margin-bottom: 22px; }

.mh-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .87rem;
    line-height: 1.3;
    color: var(--mh-ink);
    cursor: pointer;
}

.mh-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: none;
    accent-color: var(--mh-magenta);
    cursor: pointer;
}

.mh-filters__reset {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--mh-violet);
}

.mh-filters__reset:hover { color: var(--mh-magenta); }

/* kontrol generik (select/input) */
.mh-field {
    width: 100%;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius-sm);
    background: #F8F6FC;
    padding: 10px 14px;
    font-family: var(--mh-font-body);
    font-size: .87rem;
    color: var(--mh-ink);
    outline: none;
    transition: border-color .16s ease, background-color .16s ease;
}

.mh-field:focus { border-color: var(--mh-magenta); background: #fff; }
.mh-field--auto { width: auto; min-width: 104px; }

/* bar hasil: jumlah + urutkan + limit */
.mh-results__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.mh-results__count { font-size: .9rem; }
.mh-results__count b { font-family: var(--mh-font-display); color: var(--mh-ink); }

.mh-sort { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.mh-sort label { font-size: .82rem; color: var(--mh-muted); }

/* peta */
.mh-map {
    position: relative;
    z-index: 0;
    height: 300px;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.mh-map .leaflet-container { font-family: var(--mh-font-body); }

.mh-map__kosong {
    display: grid;
    place-items: center;
    height: 100%;
    font-size: .88rem;
}

/* grid hasil 2 kolom (karena ada sidebar) */
.mh-jobs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* pagination (Bootstrap 5 di-restyle) */
.mh-pagination { margin-top: 36px; }

.mh-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mh-pagination .page-link {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--mh-hairline);
    border-radius: 10px;
    background: #fff;
    color: var(--mh-ink);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.mh-pagination .page-link:hover { border-color: var(--mh-magenta); color: var(--mh-magenta); }

.mh-pagination .page-item.active .page-link {
    background-image: var(--mh-gradient);
    border-color: transparent;
    color: #fff;
}

.mh-pagination .page-item.disabled .page-link { opacity: .45; pointer-events: none; }

/* empty state */
.mh-empty-state {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border: 1px dashed var(--mh-hairline);
    border-radius: var(--mh-radius);
}

.mh-empty-state i { font-size: 1.8rem; color: var(--mh-violet); margin-bottom: 16px; display: block; }
.mh-empty-state h3 { font-size: 1.15rem; margin-bottom: 8px; }
.mh-empty-state p { font-size: .9rem; margin-bottom: 22px; }

@media (max-width: 1024px) {
    .mh-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .mh-filters { position: static; }
}

@media (max-width: 760px) {
    .mh-page-head { padding: 38px 0 40px; }
    .mh-search-page .mh-search { margin-top: 24px; }
    .mh-map { height: 240px; }
    .mh-results__bar { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------- halaman direktori perusahaan ---- */

/* varian search bar satu input + tombol */
.mh-search--single { grid-template-columns: minmax(0, 1fr) auto; max-width: 720px; }

.mh-emp-body { margin-top: 34px; padding-bottom: 84px; }

.mh-companies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mh-emp {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    padding: 24px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mh-emp:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--mh-shadow); }

.mh-emp__logo {
    width: 84px;
    height: 84px;
    border: 1px solid var(--mh-hairline);
    border-radius: 18px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 18px;
}

.mh-emp__logo img { width: 72%; height: 72%; object-fit: contain; }

.mh-emp__name { font-size: 1.05rem; line-height: 1.3; margin-bottom: 12px; }
.mh-emp__name a { color: var(--mh-ink); }
.mh-emp__name a:hover { color: var(--mh-magenta); }

.mh-emp__meta {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .85rem;
    color: var(--mh-muted);
    margin-bottom: 8px;
}

.mh-emp__meta i { color: var(--mh-violet); margin-top: 3px; flex: none; }
.mh-emp__meta span { min-width: 0; }

.mh-emp__foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--mh-hairline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mh-emp__count { font-size: .82rem; color: var(--mh-muted); }

.mh-emp__count b {
    font-family: var(--mh-font-display);
    font-size: .95rem;
    color: var(--mh-ink);
}

.mh-emp__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mh-font-display);
    font-size: .84rem;
    font-weight: 700;
    color: var(--mh-magenta);
    white-space: nowrap;
}

.mh-emp__link:hover { gap: 11px; color: var(--mh-violet); }

@media (max-width: 1024px) {
    .mh-companies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .mh-companies-grid { grid-template-columns: minmax(0, 1fr); }
    .mh-search--single { grid-template-columns: minmax(0, 1fr); }
    .mh-emp-body { padding-bottom: 62px; }
}

/* ------------------------------------------- halaman detail perusahaan ---- */

.mh-emp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 320px at 88% 0%, rgba(227, 10, 135, .32), transparent 62%),
        radial-gradient(520px 300px at 4% 100%, rgba(123, 47, 201, .34), transparent 64%),
        linear-gradient(160deg, #1A0A33 0%, #2A1150 100%);
    color: #fff;
    padding: 56px 0;
}

.mh-emp-hero__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.mh-emp-hero__logo {
    width: 116px;
    height: 116px;
    border-radius: 24px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: var(--mh-shadow-lg);
}

.mh-emp-hero__logo img { width: 78%; height: 78%; object-fit: contain; }

.mh-emp-hero .mh-eyebrow { color: #F1B8DE; }

.mh-emp-hero__title {
    color: #fff;
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
    margin-bottom: 14px;
}

.mh-emp-hero__meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .74);
    font-size: .92rem;
    margin-bottom: 8px;
    max-width: 60ch;
}

.mh-emp-hero__meta i { color: #F1B8DE; margin-top: 4px; flex: none; }
.mh-emp-hero__meta a { color: rgba(255, 255, 255, .92); }
.mh-emp-hero__meta a:hover { color: #fff; text-decoration: underline; }

.mh-emp-hero__social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

.mh-emp-hero__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
    color: #fff;
    font-size: .95rem;
}

.mh-emp-hero__social a:hover { background-image: var(--mh-gradient); box-shadow: none; }

.mh-emp-hero__stats { display: flex; gap: 14px; }

.mh-emp-stat {
    min-width: 132px;
    padding: 18px 20px;
    border-radius: var(--mh-radius);
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px var(--mh-ink-line);
    text-align: center;
}

.mh-emp-stat b {
    display: block;
    font-family: var(--mh-font-display);
    font-size: 1.6rem;
    line-height: 1.1;
    color: #fff;
}

.mh-emp-stat span { font-size: .78rem; color: rgba(255, 255, 255, .62); }

.mh-emp-detail {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.mh-emp-aside { position: sticky; top: 92px; }

.mh-panel {
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    padding: 24px;
}

.mh-panel + .mh-panel { margin-top: 22px; }

.mh-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.mh-panel__title {
    font-family: var(--mh-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.mh-panel__head .mh-panel__title { margin-bottom: 0; }

.mh-panel__sub {
    font-family: var(--mh-font-display);
    font-size: .88rem;
    font-weight: 700;
    margin: 18px 0 8px;
}

.mh-prose { font-size: .9rem; line-height: 1.75; color: var(--mh-muted); }

.mh-infolist { display: grid; gap: 16px; }
.mh-infolist li { display: flex; align-items: flex-start; gap: 12px; }

.mh-infolist i {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: .9rem;
    color: var(--mh-violet);
    background: #F5F0FC;
    flex: none;
}

.mh-infolist span { display: block; font-size: .74rem; color: var(--mh-muted); }

.mh-infolist b {
    display: block;
    font-size: .87rem;
    font-weight: 600;
    color: var(--mh-ink);
    line-height: 1.45;
    word-break: break-word;
}

.mh-map--detail { height: 260px; margin-bottom: 0; }

@media (max-width: 1024px) {
    .mh-emp-hero__top { grid-template-columns: auto minmax(0, 1fr); }
    .mh-emp-hero__stats { grid-column: 1 / -1; }
    .mh-emp-detail { grid-template-columns: minmax(0, 1fr); }
    .mh-emp-aside { position: static; }
}

@media (max-width: 760px) {
    .mh-emp-hero { padding: 40px 0; }
    .mh-emp-hero__top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .mh-emp-hero__logo { width: 88px; height: 88px; border-radius: 20px; }
    .mh-emp-hero__stats { flex-direction: column; }
    .mh-emp-stat { min-width: 0; }
    .mh-panel { padding: 20px; }
}

/* ------------------------------------------------------ halaman analyzer ---- */

.mh-analyzer {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 28px;
    align-items: start;
}

.mh-formgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

/* varian satu kolom (mis. form di dalam modal) */
.mh-formgrid--stack { grid-template-columns: minmax(0, 1fr); }

.mh-formfield { display: block; min-width: 0; }
.mh-formfield--full { grid-column: 1 / -1; }

.mh-formfield > span,
.mh-formfield > label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--mh-ink);
    margin-bottom: 7px;
}

.mh-formfield input[type="file"] { padding: 9px 12px; }

.mh-formnote {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    font-size: .8rem;
}

.mh-formnote i { color: var(--mh-violet); flex: none; }

.mh-analyzer__status {
    margin-top: 20px;
    padding: 14px 18px;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    background: var(--mh-gradient-soft);
    font-size: .88rem;
    color: var(--mh-ink);
}

.mh-analyzer__status--error {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #B91C1C;
}

.mh-analyzer__result {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--mh-hairline);
}

.mh-analyzer__result h1,
.mh-analyzer__result h2,
.mh-analyzer__result h3 {
    font-size: 1rem;
    margin: 20px 0 8px;
}

.mh-analyzer__result h1:first-child,
.mh-analyzer__result h2:first-child,
.mh-analyzer__result h3:first-child { margin-top: 0; }

.mh-analyzer__result p { font-size: .9rem; margin-bottom: 12px; }
.mh-analyzer__result strong { color: var(--mh-ink); }

.mh-analyzer__result ul,
.mh-analyzer__result ol {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 14px;
}

.mh-analyzer__result ol { list-style: decimal; }

.mh-analyzer__result li {
    font-size: .9rem;
    color: var(--mh-muted);
    margin-bottom: 6px;
}

.mh-checkul { display: grid; gap: 12px; }

.mh-checkul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: var(--mh-muted);
    line-height: 1.6;
}

.mh-checkul i { color: var(--mh-magenta); margin-top: 4px; flex: none; font-size: .8rem; }

.mh-steplist {
    list-style: decimal;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.mh-steplist li { font-size: .88rem; color: var(--mh-muted); line-height: 1.6; }

@media (max-width: 1024px) {
    .mh-analyzer { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .mh-formgrid { grid-template-columns: minmax(0, 1fr); }
}

/* ----------------------------------------------------- halaman pelatihan ---- */

.mh-courses {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mh-course {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mh-course:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--mh-shadow); }

.mh-course__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--mh-gradient-soft);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.mh-course__media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.mh-course__media i { font-size: 2rem; color: var(--mh-violet); }

.mh-course__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background-image: var(--mh-gradient);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

.mh-course__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 20px;
}

.mh-course__title {
    font-family: var(--mh-font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--mh-ink);
}

.mh-course__title:hover { color: var(--mh-magenta); }

.mh-course__lembaga {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    color: var(--mh-muted);
}

.mh-course__lembaga i { color: var(--mh-violet); flex: none; }

.mh-course__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: .8rem;
    color: var(--mh-muted);
}

.mh-course__meta span { display: inline-flex; align-items: center; gap: 7px; }
.mh-course__meta i { color: var(--mh-violet); font-size: .8rem; }

.mh-course__topics { display: flex; flex-wrap: wrap; gap: 7px; }

.mh-course__foot {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--mh-hairline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mh-course__time { font-size: .78rem; color: var(--mh-muted); }

.mh-course__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mh-font-display);
    font-size: .84rem;
    font-weight: 700;
    color: var(--mh-magenta);
    white-space: nowrap;
}

.mh-course__link:hover { gap: 11px; color: var(--mh-violet); }

@media (max-width: 1024px) {
    .mh-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .mh-courses { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------- halaman HRIS ---- */

.mh-wa {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    transition: transform .2s ease;
    line-height: 0;
}

.mh-wa:hover { transform: scale(1.08); }

/* hero */
.mh-hris-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 340px at 92% 0%, rgba(227, 10, 135, .3), transparent 62%),
        radial-gradient(520px 320px at 2% 100%, rgba(123, 47, 201, .32), transparent 64%),
        linear-gradient(160deg, #1A0A33 0%, #2A1150 100%);
    color: #fff;
    padding: 72px 0;
}

.mh-hris-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.mh-hris-hero__media img { width: 100%; max-width: 420px; margin-inline: auto; }
.mh-hris-hero .mh-eyebrow { color: #F1B8DE; }

.mh-hris-hero__title {
    color: #fff;
    font-size: clamp(1.8rem, 1.4rem + 2vw, 2.9rem);
    margin-bottom: 16px;
}

.mh-hris-hero__lead {
    color: rgba(255, 255, 255, .74);
    font-size: 1rem;
    max-width: 52ch;
    margin-bottom: 26px;
}

.mh-hris-hero__list { margin-bottom: 30px; }

.mh-hris-hero__list li { color: rgba(255, 255, 255, .82); }
.mh-hris-hero__list i { color: #F1B8DE; }

.mh-hris-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* toggle periode */
.mh-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: #F5F0FC;
    border: 1px solid var(--mh-hairline);
    margin-bottom: 34px;
}

.mh-toggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-family: var(--mh-font-display);
    font-size: .9rem;
    font-weight: 700;
    color: var(--mh-muted);
    cursor: pointer;
    transition: background-image .16s ease, color .16s ease;
}

.mh-toggle__btn.is-active { background-image: var(--mh-gradient); color: #fff; }

.mh-toggle__save {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(227, 10, 135, .14);
    color: var(--mh-magenta-dark);
    font-size: .7rem;
    font-weight: 700;
}

.mh-toggle__btn.is-active .mh-toggle__save { background: rgba(255, 255, 255, .22); color: #fff; }

/* kartu paket */
.mh-prices {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.mh-price {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius-lg);
    padding: 32px 22px 24px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.mh-price:hover { transform: translateY(-4px); box-shadow: var(--mh-shadow); }

.mh-price--populer {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--mh-magenta), var(--mh-shadow-sm);
}

.mh-price--current { box-shadow: 0 0 0 3px #F59E0B, var(--mh-shadow-sm); }

.mh-price__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    border-radius: 999px;
    background-image: var(--mh-gradient);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    white-space: nowrap;
}

.mh-price__name {
    text-align: center;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mh-price__amount {
    text-align: center;
    line-height: 1.1;
    margin-bottom: 4px;
}

.mh-price__amount b {
    font-family: var(--mh-font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--mh-magenta);
}

.mh-price__period { display: block; font-size: .78rem; color: var(--mh-muted); margin-top: 4px; }

.mh-price__note {
    text-align: center;
    font-size: .76rem;
    color: var(--mh-muted);
    min-height: 18px;
    margin-bottom: 16px;
}

.mh-price__features {
    display: grid;
    gap: 8px;
    flex: 1;
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.mh-price__features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .83rem;
    line-height: 1.5;
    color: var(--mh-muted);
}

.mh-price__features i { color: var(--mh-violet); font-size: .72rem; margin-top: 5px; flex: none; }
.mh-price__empty { font-style: italic; }

.mh-price__status {
    display: block;
    padding: 12px 16px;
    border-radius: 999px;
    background: #F5F0FC;
    color: var(--mh-muted);
    font-size: .84rem;
    font-weight: 700;
    text-align: center;
}

.mh-price__status--trial { background: #FEF3C7; color: #92400E; }
.mh-price__status--aktif { background: #DCFCE7; color: #166534; }

.is-hidden { display: none !important; }

/* tabel perbandingan */
.mh-cmp {
    max-height: 540px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
}

.mh-cmp__table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.mh-cmp__table th,
.mh-cmp__table td {
    padding: 11px 14px;
    font-size: .84rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #F4F1F9;
}

.mh-cmp__table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #FAF8FD;
    color: var(--mh-ink);
    font-family: var(--mh-font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--mh-hairline);
}

.mh-cmp__table th[scope="row"],
.mh-cmp__table thead th:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--mh-muted);
}

.mh-cmp__table thead th:first-child { color: var(--mh-ink); }

.mh-cmp__group th {
    position: static;
    background: #F5F0FC;
    color: var(--mh-violet);
    font-family: var(--mh-font-display);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: left;
}

.mh-cmp__yes { color: var(--mh-magenta); font-size: .9rem; }
.mh-cmp__no { color: #C6BEDA; }

/* kontak */
.mh-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 28px;
    align-items: start;
}

.mh-contact__note { font-size: .86rem; margin-bottom: 16px; }

.mh-errorlist { display: grid; gap: 6px; }
.mh-errorlist li { font-size: .85rem; }

textarea.mh-field {
    resize: vertical;
    min-height: 120px;
    font: inherit;
    font-size: .87rem;
    line-height: 1.6;
}

/* ------------------------------------------------ modal masuk & daftar --- */
/* Markup-nya di resources/views/apps/frontend/layouts/index.blade.php.
   Kelas bootstrap yang WAJIB dipertahankan karena dipakai js.blade.php:
   #sign_up_popup, #sign_up_popup2, #user-role, #btn-kandidat, #btn-perusahaan,
   #company-group, #nomor-hp, .input-group + .toggle-password. */
.mh-auth .modal-dialog { max-width: 960px; }
.mh-auth--sm .modal-dialog { max-width: 452px; }

.mh-auth .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(26, 10, 51, .3);
}

.mh-auth__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mh-hairline);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--mh-ink);
    font-size: .95rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.mh-auth__close:hover { background: var(--mh-ink); border-color: var(--mh-ink); color: #fff; }

/* ---------- panel kiri (hanya modal daftar) ---------- */
.mh-auth__grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }

.mh-auth__aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 44px 34px;
    background-image: var(--mh-gradient);
    color: #fff;
}

.mh-auth__aside::before,
.mh-auth__aside::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    pointer-events: none;
}
.mh-auth__aside::before { width: 240px; height: 240px; top: -90px; right: -110px; }
.mh-auth__aside::after { width: 300px; height: 300px; bottom: -160px; left: -140px; }

.mh-auth__badge {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mh-auth__aside-title {
    position: relative;
    z-index: 1;
    margin: 6px 0 0;
    font-family: var(--mh-font-display);
    font-size: 1.72rem;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.02em;
    color: #fff;
}

.mh-auth__aside-lead {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: .9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}

.mh-auth__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    gap: 11px;
}
.mh-auth__list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .87rem;
    line-height: 1.5;
    color: #fff;
}
.mh-auth__list i { margin-top: 2px; font-size: .95rem; opacity: .92; }

.mh-auth__aside-note {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    font-size: .78rem;
    color: rgba(255, 255, 255, .76);
}

/* ---------- panel form ---------- */
.mh-auth__panel { padding: 44px 40px 38px; }
.mh-auth__panel--solo { padding: 46px 36px 34px; }

.mh-auth__logo { display: block; width: 46px; height: 46px; margin: 0 auto 16px; }

.mh-auth__head { margin-bottom: 22px; }
.mh-auth__head--center { text-align: center; }

.mh-auth__title {
    margin: 0 0 6px;
    font-family: var(--mh-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--mh-ink);
}

.mh-auth__sub { margin: 0; font-size: .875rem; color: var(--mh-muted); }

.mh-auth__switch {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: var(--mh-magenta);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.mh-auth__switch:hover { color: var(--mh-violet); }

/* segmented Kandidat / Perusahaan (JS men-toggle kelas .active) */
.mh-seg {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: #F3EFFA;
}

.mh-seg__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: var(--mh-font-display);
    font-size: .87rem;
    font-weight: 600;
    color: var(--mh-muted);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.mh-seg__btn:hover { color: var(--mh-violet); }
.mh-seg__btn.active {
    background: #fff;
    color: var(--mh-magenta);
    box-shadow: 0 6px 16px rgba(26, 10, 51, .1);
}

.mh-auth__section-title {
    display: block;
    margin: 0 0 14px;
    font-family: var(--mh-font-display);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--mh-violet);
}

.mh-auth__alert {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
    padding: 13px 16px;
    border: 1px solid rgba(227, 10, 135, .22);
    border-radius: var(--mh-radius-sm);
    background: #FFF1F6;
    font-size: .84rem;
    line-height: 1.55;
    color: #9C0A5D;
}
.mh-auth__alert i { margin-right: 6px; }
.mh-auth__alert a { color: var(--mh-magenta); font-weight: 600; text-decoration: underline; }

/* field di dalam modal */
.mh-auth .mh-formgrid { margin-bottom: 18px; }
.mh-auth .mh-field { background: #F8F6FC; }

.mh-auth .input-group {
    display: flex;
    /* BS5 defaultnya wrap, ditambah .mh-field { width: 100% } bikin tombol
       mata terdorong ke baris berikutnya. */
    flex-wrap: nowrap;
    width: 100%;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius-sm);
    background: #F8F6FC;
    overflow: hidden;
    transition: border-color .16s ease, background-color .16s ease;
}
.mh-auth .input-group:focus-within { border-color: var(--mh-magenta); background: #fff; }

.mh-auth .input-group > .mh-field {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.mh-auth .input-group > .mh-field:focus { border-color: transparent; background: transparent; }

.mh-pwtoggle {
    flex: none;
    width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--mh-muted);
    cursor: pointer;
    transition: color .16s ease;
}
.mh-pwtoggle:hover { color: var(--mh-magenta); }
.mh-pwtoggle i { font-size: .95rem; }

/* checkbox kustom */
.mh-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .84rem;
    line-height: 1.55;
    color: var(--mh-muted);
    cursor: pointer;
}
.mh-check__box {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--mh-magenta);
    cursor: pointer;
}
.mh-check a { color: var(--mh-magenta); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.mh-auth__legal { margin: 2px 0 20px; }

.mh-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.mh-auth__forgot {
    flex: none;
    font-size: .84rem;
    font-weight: 600;
    color: var(--mh-magenta);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mh-auth__forgot:hover { color: var(--mh-violet); }

.mh-auth__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 16px;
    font-size: .78rem;
    color: var(--mh-muted);
}
.mh-auth__divider::before,
.mh-auth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--mh-hairline);
}
.mh-auth__divider span { flex: none; }

.mh-auth__social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mh-auth__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius-sm);
    background: #fff;
    font-size: .86rem;
    font-weight: 600;
    color: var(--mh-ink);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mh-auth__social a:hover {
    border-color: var(--mh-violet);
    box-shadow: 0 10px 22px rgba(26, 10, 51, .09);
    transform: translateY(-1px);
}
.mh-auth__social i { font-size: .95rem; }
.mh-auth__social .is-fb i { color: #1877F2; }
.mh-auth__social .is-google i { color: #EA4335; }

.mh-auth__foot { margin: 18px 0 0; font-size: .86rem; color: var(--mh-muted); text-align: center; }

@media (max-width: 900px) {
    .mh-auth__grid { grid-template-columns: minmax(0, 1fr); }
    .mh-auth__aside { display: none; }
    .mh-auth__panel { padding: 40px 26px 32px; }
}

@media (max-width: 560px) {
    .mh-auth .modal-dialog { margin: 12px; }
    .mh-auth__panel,
    .mh-auth__panel--solo { padding: 36px 20px 28px; }
    .mh-auth__title { font-size: 1.32rem; }
    .mh-auth .mh-formgrid { grid-template-columns: minmax(0, 1fr); }
    .mh-auth__social { grid-template-columns: minmax(0, 1fr); }
    .mh-auth__row { flex-wrap: wrap; }
}

@media (max-width: 1024px) {
    .mh-hris-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .mh-hris-hero__media { order: -1; }
    .mh-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .mh-hris-hero { padding: 48px 0; }
    .mh-prices { grid-template-columns: minmax(0, 1fr); }
    .mh-toggle { width: 100%; justify-content: center; }
    .mh-price__features { max-height: none; }
}

/* ---------------------------------------------------------- responsive --- */

/* Di lebar menengah, area aksi (Masuk/Daftar/CTA) lebih dulu dirapatkan
   supaya label CTA tetap satu baris dan tidak berdesakan dengan menu. */
@media (max-width: 1320px) {
    .mh-nav__menu { gap: 2px; }
    .mh-nav__actions { gap: 6px; }
    .mh-nav__link { padding: 8px 9px; font-size: .85rem; }
    .mh-nav__actions .mh-btn { padding: 10px 16px; font-size: .85rem; }
}

@media (max-width: 1180px) {
    .mh-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mh-companies { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mh-nav__menu { gap: 0; }
    .mh-nav__menu > li > a { padding: 8px 9px; font-size: .82rem; }
    .mh-nav__actions { gap: 6px; }
    .mh-nav__link { padding: 7px 8px; font-size: .84rem; }
    .mh-nav__actions .mh-btn { padding: 10px 14px; font-size: .84rem; }
}

@media (max-width: 1024px) {
    .mh-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 52px; }
    .mh-hero__visual { min-height: 360px; max-width: 420px; margin-inline: auto; width: 100%; }
    .mh-hero__float--a { left: 0; }
    .mh-hero__float--b { right: 0; }
    .mh-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-step:nth-child(2)::after { display: none; }
    .mh-steps__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
    .mh-testi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Menu navbar butuh ruang cukup lebar (5 item + brand + 3 aksi), jadi
   versi desktop di-collapse lebih awal supaya tidak pernah berdesakan. */
@media (max-width: 1080px) {
    .mh-nav__menu,
    .mh-nav__actions { display: none; }
    .mh-nav__toggle { display: inline-flex; }

    .mh-nav__mobile.is-open {
        display: block;
        border-top: 1px solid var(--mh-hairline);
        background: #fff;
        padding: 14px 0 20px;
    }

    .mh-nav__mobile ul { display: block; }
    .mh-nav__mobile li > a {
        display: block;
        padding: 12px 0;
        font-size: .95rem;
        font-weight: 500;
        color: var(--mh-ink);
        border-bottom: 1px solid var(--mh-hairline);
    }

    .mh-nav__mobile .mh-btn { margin-top: 18px; }
}

@media (max-width: 760px) {
    .mh-section { padding: 62px 0; }
    .mh-hero { padding: 54px 0 72px; }
    .mh-search { grid-template-columns: minmax(0, 1fr); padding: 12px; }
    .mh-search__go { width: 100%; justify-content: center; }
    .mh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-jobs { grid-template-columns: minmax(0, 1fr); }
    .mh-steps { grid-template-columns: minmax(0, 1fr); }
    .mh-step::after { display: none; }
    .mh-steps__foot { grid-template-columns: minmax(0, 1fr); }
    .mh-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-testi__grid { grid-template-columns: minmax(0, 1fr); }
    .mh-posts { grid-template-columns: minmax(0, 1fr); }
    .mh-companies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-cta { padding: 32px 24px; }
    .mh-cta__body { flex-direction: column; align-items: flex-start; gap: 16px; }
    .mh-footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .mh-footer__bottom { justify-content: center; text-align: center; }
    .mh-hero__float { padding: 10px 13px; }
    .mh-hero__float b { font-size: .92rem; }
}

/* --------------------------------------------------- reduced motion ------ */

@media (prefers-reduced-motion: reduce) {
    .mantra-home *,
    .mh-nav *,
    .mh-footer *,
    .mh-loader,
    .mh-loader * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .mh-job:hover,
    .mh-cat:hover,
    .mh-company:hover,
    .mh-post:hover { transform: none; }
}

/* ------------------------------------------ loader halaman (preloader) --- */
/* Markup-nya di resources/views/apps/frontend/layouts/index.blade.php
   (di luar .mantra-home, jadi pakai selektor global).
   Dimatikan oleh custom.js: $('.loading-area').fadeOut(1000) saat window load. */
.mh-loader {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mh-loader__mark {
    width: 72px;
    height: 72px;
    object-fit: contain;
    animation: mh-loader-pulse 1.4s ease-in-out infinite;
}

.mh-loader__name {
    font-family: var(--mh-font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -.03em;
    color: var(--mh-ink);
}
.mh-loader__name em { font-style: normal; color: var(--mh-magenta); }

.mh-loader__bar {
    display: block;
    width: 132px;
    height: 4px;
    border-radius: 999px;
    background: #F1ECFA;
    overflow: hidden;
}
.mh-loader__bar i {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background-image: var(--mh-gradient);
    animation: mh-loader-slide 1.1s ease-in-out infinite;
}

@keyframes mh-loader-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes mh-loader-slide {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(260%); }
}

/* ------------------------------------------- halaman detail lowongan ---- */
/* Markup: resources/views/apps/frontend/lowongan/index.blade.php */

/* breadcrumb di dalam header band */
.mh-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
}
.mh-crumb a { color: rgba(255, 255, 255, .84); }
.mh-crumb a:hover { color: #fff; text-decoration: underline; }
.mh-crumb span { opacity: .45; }

.mh-page-head__meta i { margin-right: 5px; opacity: .78; }
.mh-page-head__meta .mh-dot { margin: 0 3px; opacity: .45; }

/* chip statis (bukan tautan) di header band */
.mh-page-head .mh-chips .mh-chip {
    padding: 6px 13px;
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    color: #fff;
    font-size: .8rem;
    font-weight: 500;
}

.mh-jd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

/* kartu utama lowongan */
.mh-jd-hero {
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius);
    margin-bottom: 22px;
}

.mh-jd-hero__cover {
    height: 158px;
    border-radius: calc(var(--mh-radius) - 1px) calc(var(--mh-radius) - 1px) 0 0;
    background-image: var(--mh-gradient);
    overflow: hidden;
}
.mh-jd-hero__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mh-jd-hero__body {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px 24px;
}

.mh-jd-hero__logo {
    flex: none;
    width: 84px;
    height: 84px;
    margin-top: -56px;
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid var(--mh-hairline);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--mh-shadow-sm);
}
.mh-jd-hero__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.mh-jd-hero__main { flex: 1 1 auto; min-width: 0; }

.mh-jd-hero__title {
    margin: 0 0 6px;
    font-family: var(--mh-font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: var(--mh-ink);
}

.mh-jd-hero__co { margin: 0 0 14px; font-size: .9rem; color: var(--mh-muted); }
.mh-jd-hero__co a { color: var(--mh-violet); font-weight: 600; }
.mh-jd-hero__co a:hover { color: var(--mh-magenta); text-decoration: underline; }

.mh-jd-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: .84rem;
    color: var(--mh-muted);
}
.mh-jd-hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.mh-jd-hero__facts i { color: var(--mh-magenta); font-size: .82rem; }

.mh-jd-hero__cta { flex: none; }

/* bagikan lowongan */
.mh-jd__share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--mh-hairline);
}
.mh-jd__share > span { font-size: .82rem; font-weight: 600; color: var(--mh-ink); }
.mh-jd__share > div { display: flex; gap: 8px; }
.mh-jd__share a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mh-hairline);
    border-radius: 999px;
    background: #fff;
    color: var(--mh-muted);
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.mh-jd__share a:hover { background-image: var(--mh-gradient); border-color: transparent; color: #fff; }

/* sidebar (tidak dibuat sticky: total tingginya melebihi viewport)
   + kartu aksi di bawah */
.mh-jd__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}
.mh-jd__stats > div {
    padding: 12px 10px;
    border-radius: var(--mh-radius-sm);
    background: #F8F6FC;
    text-align: center;
}
.mh-jd__stats b {
    display: block;
    font-family: var(--mh-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mh-ink);
}
.mh-jd__stats span { font-size: .74rem; color: var(--mh-muted); }

.mh-jd__deadline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    font-size: .84rem;
    color: var(--mh-muted);
}
.mh-jd__deadline i { color: var(--mh-magenta); }
.mh-jd__deadline b { color: var(--mh-ink); }
.mh-jd__deadline--over i { color: #C6BEDA; }
.mh-jd__deadline--over b { color: var(--mh-muted); text-decoration: line-through; }

.mh-jd__cta2 { margin-top: 10px; }

.mh-jd__addr { margin: 0 0 14px; font-size: .86rem; color: var(--mh-muted); }

.mh-jd__co { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mh-jd__co-logo {
    flex: none;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    padding: 6px;
    border: 1px solid var(--mh-hairline);
    border-radius: 14px;
    background: #fff;
}
.mh-jd__co-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mh-jd__co b {
    display: block;
    font-family: var(--mh-font-display);
    font-size: .95rem;
    font-weight: 700;
    color: var(--mh-ink);
}
.mh-jd__co span { font-size: .78rem; color: var(--mh-muted); }

.mh-jd__kontak { display: grid; gap: 11px; margin: 0 0 18px; font-size: .85rem; color: var(--mh-muted); }
.mh-jd__kontak li { display: flex; align-items: flex-start; gap: 10px; }
.mh-jd__kontak i { margin-top: 3px; color: var(--mh-violet); }
.mh-jd__kontak a { color: var(--mh-violet); }
.mh-jd__kontak a:hover { color: var(--mh-magenta); text-decoration: underline; }

.mh-jd__note { margin: -6px 0 16px; font-size: .78rem; color: var(--mh-muted); }
.mh-jd__note a { color: var(--mh-magenta); font-weight: 600; text-decoration: underline; }

@media (max-width: 1024px) {
    .mh-jd { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
    .mh-jd-hero__cover { height: 120px; }
    .mh-jd-hero__body { flex-wrap: wrap; padding: 18px 18px 20px; }
    .mh-jd-hero__logo { width: 68px; height: 68px; margin-top: -46px; border-radius: 16px; }
    .mh-jd-hero__main { flex: 1 1 100%; }
    .mh-jd-hero__cta { width: 100%; }
    .mh-jd-hero__cta .mh-btn { width: 100%; justify-content: center; }
    .mh-jd-hero__title { font-size: 1.2rem; }
    .mh-jd__share { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------- area akun (profil) --- */
/* Markup: resources/views/apps/frontend/profil/*.blade.php */
.mh-acc { padding: 40px 0 72px; }

.mh-acc__layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.mh-acc__aside { position: sticky; top: 92px; }

.mh-acc__card {
    background: #fff;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius-lg);
    padding: 26px 22px;
    text-align: center;
}

.mh-acc__avatar {
    position: relative;
    width: 94px;
    height: 94px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background-image: var(--mh-gradient);
    box-shadow: 0 14px 28px rgba(227, 10, 135, .22);
}
.mh-acc__avatar span {
    font-family: var(--mh-font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}
.mh-acc__avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-acc__name { font-size: 1.15rem; margin-bottom: 6px; }
.mh-acc__moto { font-size: .84rem; color: var(--mh-muted); margin-bottom: 20px; }

.mh-acc__nav ul { display: grid; gap: 4px; text-align: left; }

.mh-acc__nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border-radius: var(--mh-radius-sm);
    font-size: .88rem;
    font-weight: 600;
    color: var(--mh-muted);
    transition: background-color .16s ease, color .16s ease;
}
.mh-acc__nav a i { width: 18px; text-align: center; color: var(--mh-violet); transition: color .16s ease; }
.mh-acc__nav a:hover { background: #F5F0FC; color: var(--mh-ink); }
.mh-acc__nav a.is-active { background-image: var(--mh-gradient); color: #fff; }
.mh-acc__nav a.is-active i { color: #fff; }
.mh-acc__nav .mh-acc__nav-out { color: var(--mh-magenta); }
.mh-acc__nav .mh-acc__nav-out i { color: var(--mh-magenta); }
.mh-acc__nav .mh-acc__nav-out:hover { background: rgba(227, 10, 135, .08); color: var(--mh-magenta-dark); }

.mh-acc__main { min-width: 0; }
.mh-acc .mh-panel { padding: 26px; }
.mh-acc .mh-formgrid { margin-bottom: 0; }

.mh-acc__hint { font-size: .82rem; color: var(--mh-muted); margin: -8px 0 18px; }
.mh-acc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* alert flash & ringkasan error */
.mh-acc__alerts { display: grid; gap: 12px; margin-bottom: 22px; }

.mh-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 18px;
    border-radius: var(--mh-radius);
    font-size: .87rem;
    line-height: 1.6;
}
.mh-alert i { margin-top: 2px; }
.mh-alert--ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.mh-alert--err { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }

.mh-req { color: #DC2626; }

/* penanda error validasi (dipakai JS .required-field) */
.mh-formfield.is-invalid .mh-field,
.mh-formfield.is-invalid .select2-selection--single,
.mh-formfield.is-invalid .mh-pwgroup { border-color: #DC2626; background: #FEF2F2; }

/* awalan .mh-formfield diperlukan supaya menang dari rule
   `.mh-formfield > span` yang memberi display:block ke teks label. */
.mh-formfield .mh-field__error { display: none; margin-top: 6px; font-size: .78rem; color: #DC2626; }
.mh-formfield.is-invalid .mh-field__error { display: block; }

/* grup password + tombol mata */
.mh-pwgroup {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius-sm);
    background: #F8F6FC;
    overflow: hidden;
    transition: border-color .16s ease, background-color .16s ease;
}
.mh-pwgroup:focus-within { border-color: var(--mh-magenta); background: #fff; }
.mh-pwgroup > .mh-field {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.mh-pwgroup > .mh-field:focus { border-color: transparent; background: transparent; }

/* tautan berkas yang sudah diunggah */
.mh-file { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .8rem; color: var(--mh-muted); }
.mh-file i { color: var(--mh-violet); }
.mh-file a { color: var(--mh-violet); font-weight: 600; }
.mh-file a:hover { color: var(--mh-magenta); text-decoration: underline; }

/* select2 disamakan dengan .mh-field (form wilayah di halaman profil).
   Awalan `body` dipakai karena CSS select2 dari CDN dimuat SETELAH
   mantra-home.css, jadi rule dengan bobot selector sama akan kalah. */
body .select2-container { width: 100%; }

body .select2-container--default .select2-selection--single {
    height: auto;
    padding: 10px 14px;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius-sm);
    background: #F8F6FC;
    font-family: var(--mh-font-body);
    font-size: .87rem;
    transition: border-color .16s ease, background-color .16s ease;
}
body .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.55; color: var(--mh-ink); }
body .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #9A93AC; }
body .select2-container--default .select2-selection--single .select2-selection__arrow { top: 0; height: 100%; right: 8px; }
body .select2-container--default .select2-selection--single .select2-selection__clear { display: none; }
body .select2-container--default.select2-container--focus .select2-selection--single,
body .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--mh-magenta); background: #fff; }

body .select2-dropdown {
    border-color: var(--mh-hairline);
    border-radius: var(--mh-radius-sm);
    font-family: var(--mh-font-body);
    font-size: .87rem;
}
body .select2-search--dropdown .select2-search__field {
    padding: 8px 10px;
    border: 1px solid var(--mh-hairline);
    border-radius: var(--mh-radius-sm);
}
body .select2-container--default .select2-results__option[aria-selected=true] { background: #F5F0FC; color: var(--mh-violet); }
body .select2-container--default .select2-results__option--highlighted[aria-selected] { background-image: var(--mh-gradient); color: #fff; }

@media (max-width: 1024px) {
    .mh-acc__layout { grid-template-columns: minmax(0, 1fr); }
    .mh-acc__aside { position: static; }
}

@media (max-width: 760px) {
    .mh-acc { padding: 28px 0 56px; }
    .mh-acc__card { padding: 22px 18px; }
    .mh-acc .mh-panel { padding: 20px; }
}
