/* ==========================================================================
   beranda.css
   Satu stylesheet gabungan untuk seluruh halaman modul "beranda" (publik):
   Beranda/Home, Daftar, Informasi, Login, dan Syarat.

   File ini MENGGANTIKAN: beranda-home.css, daftar.css, global.css,
   informasi.css, login.css, syarat.css (sudah dihapus).

   Catatan penting:
   - Palet warna (:root) memakai kluster warna teal (#064e3b dkk) yang
     sebelumnya dipakai daftar.css/login.css/syarat.css, karena 3 dari 5
     halaman sudah memakainya. Nama variabel khas dari file lain tetap
     dipertahankan (lihat komentar di blok :root).
   - Karena semua halaman kini berbagi satu file CSS (bukan lagi terisolasi
     per halaman), beberapa selector yang tadinya ditulis ulang di banyak
     file dengan nilai yang SEDIKIT berbeda (contoh: .section-heading,
     .hero-badge, .form-group) sengaja diberi prefix ancestor (mis.
     ".login-intro .hero-badge") supaya tidak saling menimpa antar halaman.
     Ini BUKAN mengubah class di file blade, hanya menambah cakupan selector
     CSS.
   - Blok "... FINAL" yang dulunya berlapis-lapis (base -> BOX FINAL -> DARK
     GREEN FINAL -> COMPACT RESPONSIVE FINAL, dst) sudah diringkas menjadi
     nilai akhir langsung untuk bagian yang dipakai bersama (navbar, footer,
     section-heading bergaya kotak, kotak CTA). Untuk blok panjang yang unik
     per halaman (tidak terduplikasi ke file lain) sengaja dibiarkan sebagai
     lapisan berurutan seperti aslinya karena hasil akhirnya sama persis.
   ========================================================================== */

/* ================= ROOT VARIABLES ================= */
:root {
    /* Kluster utama: nilai dari daftar.css/login.css/syarat.css (menang untuk nama yang sama) */
    --primary: #064e3b;
    --primary-2: #0f766e;
    --primary-3: #16a34a;
    --dark: #022c22;
    --lime: #a3e635;
    --soft: #f0fdf4;
    --white: #ffffff;
    --text: #102033;
    --muted: #64748b;
    --border: #dbe7dd;
    --danger: #dc2626;
    --shadow: 0 22px 55px rgba(6, 78, 59, 0.16);
    --shadow-soft: 0 12px 32px rgba(6, 78, 59, 0.09);

    /* Variabel unik per file, tidak bentrok nama, dipertahankan apa adanya */
    --primary-dark: #052e1b;       /* beranda-home.css, informasi.css */
    --lime-soft: #ecfccb;          /* beranda-home.css */
    --lime-2: #d9f99d;             /* login.css, syarat.css */
    --soft-green: #ecfdf5;         /* beranda-home.css */
    --soft-bg: #f4faf5;            /* informasi.css */
    --bg-soft: #f7fbf8;            /* beranda-home.css */
    --cream: #fffdf4;              /* syarat.css */
    --warning: #f59e0b;            /* daftar.css */
    --shadow-card: 0 18px 45px rgba(15, 81, 50, 0.10); /* informasi.css */
}

/* ============================================================
   BERANDA — komposisi desktop final, mengikuti referensi visual.
   Seluruh aturan berada di breakpoint desktop agar responsivitas yang
   sudah ada pada tablet dan ponsel tidak berubah.
   ============================================================ */
@media (min-width: 1021px) {
    .navbar.main-navbar .nav-links a.active:not(.nav-login) {
        color: var(--primary);
        background: transparent;
    }

    .navbar.main-navbar .nav-links a.active:not(.nav-login)::after {
        width: calc(100% - 32px);
        left: 16px;
        bottom: 2px;
        height: 3px;
        border-radius: 999px;
        background: var(--lime);
    }

    .hero-modern {
        min-height: 515px;
        padding: 44px 0 32px;
    }

    .hero-modern-container {
        width: min(932px, calc(100% - 48px));
        max-width: 932px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .hero-content {
        max-width: none;
        padding-left: 0;
        transform: translateY(-34px);
    }

    .hero-content h1,
    .hero-content p,
    .hero-modern .hero-badge,
    .step-card,
    .gallery-item {
        opacity: 1;
        animation: none;
    }

    .hero-content h1 {
        font-size: 40px;
        line-height: 1.07;
        letter-spacing: -0.7px;
    }

    .hero-content p {
        max-width: 450px;
        margin: 16px 0 0;
        font-size: 13px;
        line-height: 1.75;
    }

    .hero-modern .hero-badge {
        margin-bottom: 16px;
        padding: 7px 13px;
        font-size: 11px;
    }

    .hero-image-area {
        top: auto;
    }

    .hero-photo-collage {
        width: 410px;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        margin-left: 44px;
    }

    .home-section {
        padding: 48px 0;
    }

    .home-section .section-heading {
        width: min(932px, calc(100% - 48px));
        max-width: 932px;
        margin: 0 auto 30px;
        padding: 0;
        color: inherit;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        isolation: auto;
    }

    .home-section .section-heading::before,
    .home-section .section-heading::after {
        display: none;
    }

    .home-section .section-heading h2 {
        margin: 0 0 10px;
        color: var(--primary);
        font-size: 31px;
        line-height: 1.2;
        font-weight: 950;
        letter-spacing: -0.4px;
    }

    .home-section .section-heading p {
        max-width: 670px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.7;
    }

    .home-section .section-heading .mini-label {
        margin-bottom: 9px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--primary);
        font-size: 11px;
    }

    .home-section .section-heading .mini-label::before {
        width: 18px;
        height: 10px;
        flex-basis: 18px;
        background: linear-gradient(90deg, var(--lime), var(--primary));
    }

    .steps-grid,
    .gallery-wrapper {
        width: min(932px, calc(100% - 48px));
        max-width: 932px;
    }

    .steps-grid {
        gap: 16px;
    }

    .step-card {
        min-height: 206px;
        padding: 18px;
        border-radius: 18px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        margin-bottom: 13px;
        border-radius: 12px;
        font-size: 14px;
    }

    .step-card h3 {
        margin-bottom: 8px;
        font-size: 17px;
    }

    .step-card p {
        font-size: 12.5px;
        line-height: 1.62;
    }

    .step-card::after {
        width: 100px;
        height: 100px;
        right: -42px;
        top: -42px;
    }

    .gallery-section {
        padding: 50px 0 54px;
    }

    .gallery-wrapper {
        padding: 14px 0;
        border-radius: 18px;
    }

    .gallery-item {
        width: 180px;
        height: 112px;
        border-width: 4px;
        border-radius: 14px;
    }
}

/* Mobile mempertahankan bahasa visual desktop; yang berubah hanya skala dan
   susunan kolom agar seluruh isi tetap nyaman dibaca pada layar sempit. */
@media (max-width: 1020px) {
    .form-wrapper,
    .info-wrapper,
    .syarat-wrapper,
    .login-page {
        padding-top: 42px;
        padding-bottom: 54px;
    }

    .form-container,
    .content-container,
    .page-container,
    .info-wrapper .page-hero {
        width: min(820px, calc(100% - 32px));
        max-width: 820px;
    }

    .form-wrapper .section-heading,
    .info-wrapper .section-heading,
    .syarat-wrapper .section-heading,
    .info-wrapper .page-hero {
        padding: 28px 22px 30px;
        border-radius: 22px;
        background:
            radial-gradient(circle at top right, rgba(163, 230, 53, 0.18), transparent 28%),
            radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.07), transparent 24%),
            linear-gradient(135deg, #064e3b 0%, #0f766e 58%, #238b52 100%);
        box-shadow: 0 18px 38px rgba(6, 78, 59, 0.16);
    }

    .form-wrapper .section-heading h2,
    .info-wrapper .section-heading h2,
    .syarat-wrapper .section-heading h2,
    .info-wrapper .page-hero h1 {
        font-size: clamp(27px, 6vw, 34px);
        color: #ffffff;
    }

    .form-wrapper .section-heading p,
    .info-wrapper .section-heading p,
    .syarat-wrapper .section-heading p,
    .info-wrapper .page-hero p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.88);
    }

    .form-wrapper .section-heading .mini-label,
    .info-wrapper .section-heading .mini-label,
    .syarat-wrapper .section-heading .mini-label,
    .info-wrapper .page-badge {
        padding: 7px 13px;
        font-size: 12px;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.42);
    }

    .form-card,
    .form-shell,
    .info-card,
    .activity-card,
    .syarat-card,
    .login-card,
    .role-item {
        border-color: rgba(6, 78, 59, 0.10);
        box-shadow: 0 14px 32px rgba(6, 78, 59, 0.10);
    }

    .info-two-column,
    .activity-grid,
    .syarat-grid {
        gap: 16px;
    }

    .cta-modern,
    .syarat-note {
        width: min(820px, calc(100% - 32px));
        max-width: 820px;
        padding: 28px 24px;
        border-radius: 22px;
    }

    .cta-modern h2,
    .syarat-note h2 {
        font-size: clamp(28px, 6vw, 34px);
    }

    .cta-modern p,
    .syarat-note p {
        font-size: 14px;
    }

    .login-container {
        width: min(820px, calc(100% - 32px));
        max-width: 820px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .login-intro {
        max-width: 680px;
    }

    .login-intro h1 {
        font-size: clamp(34px, 8vw, 44px);
    }

    .login-intro p {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .form-wrapper,
    .info-wrapper,
    .syarat-wrapper,
    .login-page {
        padding-top: 28px;
        padding-bottom: 42px;
    }

    .form-container,
    .content-container,
    .page-container,
    .info-wrapper .page-hero,
    .cta-modern,
    .syarat-note,
    .login-container {
        width: calc(100% - 24px);
        max-width: none;
    }

    .info-two-column,
    .activity-grid,
    .syarat-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper .section-heading,
    .info-wrapper .section-heading,
    .syarat-wrapper .section-heading,
    .info-wrapper .page-hero,
    .cta-modern,
    .syarat-note {
        padding: 24px 18px 26px;
        border-radius: 20px;
    }

    .form-card,
    .form-shell,
    .info-card,
    .activity-card,
    .login-card {
        padding: 18px;
        border-radius: 18px;
    }

    .info-card-content,
    .syarat-card-content {
        padding: 18px;
    }

    .section-head {
        padding: 15px 16px;
    }

    .section-head h2,
    .info-card h2,
    .syarat-card h2 {
        font-size: 19px;
    }

    .activity-card h3 {
        font-size: 17px;
    }

    .cta-actions,
    .syarat-note-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn,
    .syarat-note-actions .btn-modern {
        width: 100%;
        min-width: 0;
    }
}

/* ================= RESET / BASE ================= */
* {
    box-sizing: border-box;
}

/* Scrollbar halaman publik selalu tersedia di sisi kanan. */
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #9ca3af #f1f5f9;
}

html::-webkit-scrollbar {
    display: block;
    width: 11px;
}

html::-webkit-scrollbar-track {
    background: #f1f5f9;
}

html::-webkit-scrollbar-thumb {
    min-height: 48px;
    border: 3px solid #f1f5f9;
    border-radius: 999px;
    background: #9ca3af;
}

html::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

body {
    margin: 0;
    overflow-x: hidden;
    /* Semua halaman akhirnya memaksa body ke #f7fbf8 (var(--bg-soft)) lewat
       blok "BACKGROUND ... FINAL" masing-masing file, jadi nilai ini
       dijadikan default langsung tanpa !important atau dekorasi body
       ::before/::after yang sudah selalu ditimpa (mati). */
    background: var(--bg-soft);
    color: var(--text);
}

a {
    text-decoration: none;
}

@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;
    }
}

/* ================= NAVBAR (dipakai semua halaman) ================= */
.navbar.main-navbar {
    width: 100%;
    min-height: 76px;
    padding: 0 7%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.07);
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.06);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 28px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: transparent;
    padding: 0;
    box-shadow: 0 0 0 1px rgba(6, 78, 59, 0.10);
}

.brand-logo {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-3));
    color: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(6, 78, 59, 0.25);
}

.brand span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: 300px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.005em;
    line-height: 1.28;
    white-space: normal;
}

/* Di desktop, nama pondok pada referensi tampil dalam satu baris. Aturan
   mobile di bawah 1020px tetap menyembunyikan teks ini dan memakai menu
   hamburger seperti semula. */
@media (min-width: 1021px) {
    .navbar.main-navbar .brand span {
        max-width: none;
        white-space: nowrap;
    }
}

/* Toggle hamburger untuk layar sempit (checkbox murni, tanpa JS) */
.nav-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    margin-left: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(6, 78, 59, 0.07);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-links a {
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    padding: 9px 16px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-links a i {
    display: none;
}

/* Prefix .navbar.main-navbar dipakai supaya spesifisitasnya pasti menang
   melawan sisa aturan lama .navbar/.nav-links di style.css, tanpa harus
   bergantung urutan file. */
.navbar.main-navbar .nav-links a:not(.nav-login):hover {
    background: rgba(6, 78, 59, 0.08);
}

.navbar.main-navbar .nav-links a.active:not(.nav-login) {
    color: var(--white);
    background: var(--primary);
}

.nav-links-header,
.nav-links-close {
    display: none;
}

.nav-links .nav-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    padding: 11px 24px;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(6, 78, 59, 0.20);
    margin-left: 8px;
}

.nav-links .nav-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(6, 78, 59, 0.24);
}

@media (max-width: 1020px) {
    /* Kunci scroll selagi panel sidebar terbuka (html ikut dikunci karena
       di sebagian browser mobile, overflow:hidden di body saja masih bisa
       ditembus scroll oleh elemen html/root-nya). */
    html:has(#nav-toggle:checked),
    body:has(#nav-toggle:checked) {
        overflow: hidden;
        height: 100%;
    }

    .navbar.main-navbar {
        padding: 14px 5%;
        min-height: auto;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 3;
        transition: opacity 0.2s ease;
    }

    /* Panel sudah punya tombol close sendiri di headernya, jadi hamburger
       di navbar disembunyikan saat panel terbuka supaya tidak ada 2 ikon X. */
    .nav-toggle-input:checked ~ .nav-toggle {
        opacity: 0;
        pointer-events: none;
    }

    /* Di layar sempit navbar sudah jadi hamburger, jadi nama pondok yang
       panjang cukup diwakili logo saja supaya baris atas tetap ringkas. */
    .brand span {
        display: none;
    }

    /* Overlay gelap+blur di belakang sidebar, klik di luar panel = menutup menu.
       Posisi pakai top/left + width/height eksplisit (bukan "inset: 0") karena
       navbar leluhurnya punya backdrop-filter, yang membuat browser menghitung
       fixed-position relatif ke kotak navbar, bukan ke seluruh viewport. */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(2, 44, 34, 0.55);
        backdrop-filter: blur(2px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .nav-toggle-input:checked ~ .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* Panel menu geser dari kanan, menimpa (bukan mendorong) konten halaman */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 50%;
        height: 100vh;
        height: 100dvh;
        gap: 4px;
        margin-left: 0;
        padding: 22px 18px 24px;
        background: linear-gradient(180deg, var(--soft) 0, var(--soft) 130px, var(--white) 260px, var(--white) 100%);
        border-top-left-radius: 26px;
        border-bottom-left-radius: 26px;
        box-shadow: -24px 0 60px rgba(2, 44, 34, 0.22);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
    }

    .nav-toggle-input:checked ~ .nav-links {
        transform: translateX(0);
    }

    .nav-links-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 8px 18px;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links-header-text {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .nav-links-header-text img {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 10px;
        object-fit: contain;
    }

    .nav-links-title {
        font-size: 16px;
        font-weight: 900;
        color: var(--primary);
        line-height: 1.25;
    }

    .nav-links-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 999px;
        background: rgba(6, 78, 59, 0.07);
        color: var(--primary);
        font-size: 15px;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.25s ease;
    }

    .nav-links-close:hover {
        background: rgba(6, 78, 59, 0.14);
        transform: rotate(90deg);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        text-align: left;
        padding: 13px 14px;
        font-size: 15px;
    }

    .nav-links a i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        min-width: 20px;
        font-size: 15px;
        color: var(--primary-2);
        transition: color 0.2s ease;
    }

    .navbar.main-navbar .nav-links a:not(.nav-login):hover {
        transform: translateX(3px);
    }

    .navbar.main-navbar .nav-links a.active:not(.nav-login) i {
        color: var(--white);
    }

    /* Login tetap tombol pill gradient tersendiri, ditempel ke bawah panel
       (terpisah dari daftar navigasi di atasnya), tapi isinya rata kiri
       menyesuaikan gaya item menu lain. */
    .navbar.main-navbar .nav-links .nav-login {
        margin-left: 0;
        margin-top: auto;
        padding: 13px 18px;
        justify-content: flex-start;
        text-align: left;
        color: #ffffff;
        background: linear-gradient(135deg, var(--primary), var(--primary-2));
        box-shadow: 0 12px 26px rgba(6, 78, 59, 0.20);
    }

    .navbar.main-navbar .nav-links .nav-login:hover {
        background: linear-gradient(135deg, var(--primary), var(--primary-2));
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(6, 78, 59, 0.24);
    }

    .navbar.main-navbar .nav-links .nav-login i {
        color: rgba(255, 255, 255, 0.92);
    }
}

@media (max-width: 700px) {
    /* Cegah auto-zoom iOS Safari saat fokus ke input/select/textarea (dipakai semua halaman) */
    input,
    select,
    textarea,
    button {
        font-size: 16px !important;
    }

    .navbar.main-navbar {
        padding: 12px 16px;
    }

    /* style.css punya sisa aturan .nav-links lama (grid 2 kolom, lebar 100%,
       justify-content:center, background hijau muda) dari sebelum navbar
       ini punya sidebar sendiri. Ditimpa di sini (termasuk width dan
       justify-content, karena rule lama itu lebih spesifik dari aturan di
       blok 1020px) supaya jadi panel sidebar rata kiri yang didefinisikan
       di atas. .nav-login dikecualikan dari reset background supaya
       gradient tombolnya tidak ikut ditimpa jadi transparan, tapi tetap
       diratakan kiri lewat rule terpisah di bawah. */
    .navbar.main-navbar .nav-links {
        display: flex;
        width: 70%;
        grid-template-columns: none;
    }

    .navbar.main-navbar .nav-links .nav-login {
        justify-content: flex-start;
    }

    .navbar.main-navbar .nav-links a:not(.nav-login),
    .nav-links a:not(.nav-login) {
        justify-content: flex-start;
        background: transparent;
        white-space: nowrap;
    }
}

@media (max-width: 466px) {
    .nav-links-title {
        display: none;
    }
}

@media (max-width: 420px) {
    .brand img,
    .brand-logo {
        width: 38px;
        height: 38px;
        min-width: 38px;
        max-width: 38px;
        max-height: 38px;
    }
}

/* ================= FOOTER (dipakai semua halaman) ================= */
/* Layout kolom memakai versi "FOOTER LAYOUT FINAL - 3 KOLOM RAPI TANPA
   KOSONG KANAN" dari syarat.css sebagai acuan tunggal (nama blok itu adalah
   patch paling akhir/paling matang untuk layout footer; 4 file lain masih
   memakai proporsi kolom yang lebih lama sehingga di sini disatukan). */
.footer-modern,
.footer-modern.reveal {
    background:
        radial-gradient(circle at top right, rgba(163, 230, 53, 0.15), transparent 22%),
        linear-gradient(135deg, #022c22 0%, #064e3b 55%, #0f766e 100%);
    color: rgba(255, 255, 255, 0.92);
    padding: 64px 7% 24px;
    margin-top: 0;
    text-align: left;
    opacity: 1;
    animation: none;
    font-size: 16px;
}

.footer-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 1fr;
    gap: 90px;
    align-items: flex-start;
}

.footer-container > div:nth-child(1) {
    justify-self: start;
    width: 100%;
}

.footer-container > div:nth-child(2) {
    justify-self: center;
    width: 100%;
    max-width: 340px;
}

.footer-container > div:nth-child(3) {
    justify-self: end;
    width: 100%;
    max-width: 420px;
}

.footer-container > div:nth-child(3) .footer-title,
.footer-container > div:nth-child(3) .footer-social-text {
    text-align: left;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand img {
    width: 58px;
    height: 58px;
    min-width: 58px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 8px;
}

.footer-brand-text h3,
.footer-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-weight: 950;
}

.footer-brand-text h3 {
    max-width: 520px;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.2px;
}

.footer-title {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.footer-brand-text p {
    margin: 0;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

.footer-contact,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 15px;
}

.footer-contact a,
.footer-contact span,
.footer-social-text {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.75;
    transition: 0.25s ease;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.86);
}

.footer-contact a:hover {
    color: #d9f99d;
}

.footer-social-text {
    margin: 0 0 20px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
    justify-content: flex-start;
}

.footer-social a {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social a.instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
    color: #ffffff;
}

.footer-social a.tiktok:hover {
    background: #000000;
    color: #ffffff;
}

.footer-social a.youtube:hover {
    background: #ff0000;
    color: #ffffff;
}

.footer-social a.whatsapp:hover {
    background: #25d366;
    color: #ffffff;
}

.footer-bottom {
    max-width: 1500px;
    margin: 44px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.7;
}

/* Tipografi footer dibuat lebih ringkas khusus layar desktop. */
@media (min-width: 769px) {
    .footer-modern,
    .footer-modern.reveal {
        font-size: 14px;
    }

    .footer-brand-text h3,
    .footer-title {
        font-size: 18px;
    }

    .footer-brand-text p,
    .footer-contact a,
    .footer-contact span,
    .footer-social-text {
        font-size: 14px;
    }

    .footer-social a {
        font-size: 17px;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}

/* Sembunyikan navigasi footer lama jika masih tersisa di markup */
.footer-links,
.footer-bottom-links {
    display: none;
}

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 46px;
    }

    .footer-container > div:nth-child(1) {
        grid-column: 1 / -1;
    }

    .footer-container > div:nth-child(2),
    .footer-container > div:nth-child(3) {
        justify-self: start;
        max-width: none;
    }
}

@media (max-width: 950px) {
    .footer-modern {
        padding: 50px 5% 22px;
    }
}

@media (max-width: 768px) {
    .footer-modern,
    .footer-modern.reveal {
        padding: 50px 5% 22px;
        font-size: 14px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-container > div:nth-child(1),
    .footer-container > div:nth-child(2),
    .footer-container > div:nth-child(3) {
        justify-self: start;
        width: 100%;
        max-width: none;
    }

    .footer-brand {
        gap: 14px;
    }

    .footer-brand img {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .footer-brand-text h3 {
        font-size: 19px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-brand-text p,
    .footer-contact a,
    .footer-contact span,
    .footer-social-text {
        font-size: 14px;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .footer-bottom {
        margin-top: 34px;
        flex-direction: column;
        align-items: center;
    }
}

/* ================= WRAPPER BACKGROUND ================= */
/* Dekorasi latar dipakai bersama oleh: Daftar (.form-wrapper),
   Informasi (.info-wrapper), Syarat (.syarat-wrapper). Padding masing-
   masing wrapper TIDAK disamakan di sini karena memang berbeda per
   halaman (lihat bagian halaman masing-masing). */
.form-wrapper,
.info-wrapper,
.syarat-wrapper {
    min-height: calc(100vh - 76px);
    background:
        radial-gradient(circle at 92% 10%, rgba(163, 230, 53, 0.28), transparent 28%),
        radial-gradient(circle at 0% 86%, rgba(15, 118, 110, 0.12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f0fdf4 55%, #fffdf4 100%);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.form-wrapper::before,
.info-wrapper::before,
.syarat-wrapper::before {
    content: "";
    position: absolute;
    top: 70px;
    right: 8%;
    width: 170px;
    height: 170px;
    background-image: radial-gradient(#a3e635 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.form-wrapper::after,
.info-wrapper::after,
.syarat-wrapper::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    border: 45px solid rgba(6, 78, 59, 0.06);
    pointer-events: none;
    z-index: 0;
}

.form-wrapper > *,
.info-wrapper > *,
.syarat-wrapper > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 950px) {
    .form-wrapper,
    .info-wrapper,
    .syarat-wrapper {
        background:
            radial-gradient(circle at 100% 4%, rgba(163, 230, 53, 0.24), transparent 30%),
            radial-gradient(circle at 0% 92%, rgba(15, 118, 110, 0.10), transparent 36%),
            linear-gradient(135deg, #ffffff 0%, #f0fdf4 58%, #fffdf4 100%);
    }

    .form-wrapper::before,
    .info-wrapper::before,
    .syarat-wrapper::before {
        top: 42px;
        right: -26px;
        width: 132px;
        height: 132px;
        background-size: 13px 13px;
        opacity: 0.34;
    }

    .form-wrapper::after,
    .info-wrapper::after,
    .syarat-wrapper::after {
        left: -155px;
        bottom: -155px;
    }

    .form-wrapper,
    .info-wrapper,
    .syarat-wrapper {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 700px) {
    .form-wrapper,
    .info-wrapper {
        padding-top: 40px;
        padding-bottom: 52px;
        padding-left: 0;
        padding-right: 0;
    }
}

/* ================= KOTAK LEBAR SERAGAM ================= */
/* Dipakai bersama: Daftar (.form-container), Informasi/Syarat
   (.content-container, .page-container). */
.form-container,
.content-container,
.page-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 950px) {
    .form-container,
    .content-container,
    .page-container {
        width: min(820px, calc(100% - 32px));
        max-width: 820px;
    }
}

@media (max-width: 640px) {
    .form-container,
    .content-container,
    .page-container {
        width: calc(100% - 24px);
        max-width: none;
    }
}

/* ================= SECTION HEADING & PAGE HERO (kotak hijau tua) ================= */
/* Dipakai bersama semua halaman publik supaya judulnya seragam: Daftar
   (.form-wrapper .section-heading), Informasi (.info-wrapper .section-heading
   & .page-hero), Syarat (.syarat-wrapper .section-heading), dan Beranda
   (.home-section .section-heading). */
.form-wrapper .section-heading,
.info-wrapper .section-heading,
.syarat-wrapper .section-heading,
.home-section .section-heading,
.info-wrapper .page-hero {
    margin: 0 auto 32px;
    padding: 38px 34px 40px;
    border-radius: 28px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(circle at top right, rgba(163, 230, 53, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.07), transparent 24%),
        linear-gradient(135deg, #064e3b 0%, #0f766e 58%, #238b52 100%);
    box-shadow: 0 22px 50px rgba(6, 78, 59, 0.18);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    text-align: center;
}

/* Daftar & Syarat: judul sudah bersarang di dalam .form-container/
   .content-container yang lebarnya sudah dibatasi (lihat "KOTAK LEBAR
   SERAGAM"), jadi tinggal isi 100% parent-nya. */
.form-wrapper .section-heading,
.info-wrapper .section-heading,
.syarat-wrapper .section-heading {
    width: 100%;
    max-width: none;
}

/* Informasi (.page-hero) & Beranda (.section-heading di .home-section)
   TIDAK bersarang di dalam container yang lebarnya dibatasi -- parent-nya
   (.info-wrapper / .home-section) cuma dikasih padding persen, jadi kalau
   width dibiarkan 100% kotaknya melebar penuh dan gak sejajar dengan
   konten lain di halaman yang sama (page-container, steps-grid,
   gallery-wrapper). Disamakan manual ke lebar kotak konten yang sama. */
.home-section .section-heading,
.info-wrapper .page-hero {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.form-wrapper .section-heading::before,
.info-wrapper .section-heading::before,
.syarat-wrapper .section-heading::before,
.home-section .section-heading::before,
.info-wrapper .page-hero::before {
    content: "";
    display: block;
    position: absolute;
    top: -70px;
    right: -50px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 0;
}

.form-wrapper .section-heading::after,
.info-wrapper .section-heading::after,
.syarat-wrapper .section-heading::after,
.home-section .section-heading::after,
.info-wrapper .page-hero::after {
    content: "";
    display: block;
    position: absolute;
    left: -70px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    pointer-events: none;
    z-index: 0;
}

.form-wrapper .section-heading > *,
.info-wrapper .section-heading > *,
.syarat-wrapper .section-heading > *,
.home-section .section-heading > *,
.info-wrapper .page-hero > * {
    position: relative;
    z-index: 2;
}

.form-wrapper .section-heading h2,
.info-wrapper .section-heading h2,
.syarat-wrapper .section-heading h2,
.home-section .section-heading h2,
.info-wrapper .page-hero h1 {
    max-width: 980px;
    margin: 0 auto 18px;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0;
}

.form-wrapper .section-heading p,
.info-wrapper .section-heading p,
.syarat-wrapper .section-heading p,
.home-section .section-heading p,
.info-wrapper .page-hero p {
    max-width: 920px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.7;
}

.form-wrapper .section-heading .mini-label,
.info-wrapper .section-heading .mini-label,
.syarat-wrapper .section-heading .mini-label,
.home-section .section-heading .mini-label,
.info-wrapper .page-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 950;
    margin-bottom: 18px;
}

.form-wrapper .section-heading .mini-label::before,
.info-wrapper .section-heading .mini-label::before,
.syarat-wrapper .section-heading .mini-label::before,
.home-section .section-heading .mini-label::before,
.info-wrapper .page-badge::before {
    content: "";
    width: 26px;
    height: 14px;
    flex: 0 0 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d9f99d, #ffffff);
}

.info-wrapper .page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 950px) {
    .form-wrapper .section-heading,
    .info-wrapper .section-heading,
    .syarat-wrapper .section-heading,
    .home-section .section-heading,
    .info-wrapper .page-hero {
        padding: 30px 24px 32px;
        border-radius: 24px;
        margin-bottom: 34px;
    }

    .home-section .section-heading,
    .info-wrapper .page-hero {
        width: min(820px, calc(100% - 32px));
        max-width: 820px;
    }
}

@media (max-width: 640px) {
    .form-wrapper .section-heading,
    .info-wrapper .section-heading,
    .syarat-wrapper .section-heading,
    .home-section .section-heading,
    .info-wrapper .page-hero {
        padding: 26px 18px 28px;
        border-radius: 20px;
        margin-bottom: 24px;
    }

    .home-section .section-heading,
    .info-wrapper .page-hero {
        width: calc(100% - 24px);
        max-width: none;
    }

    .form-wrapper .section-heading h2,
    .info-wrapper .section-heading h2,
    .syarat-wrapper .section-heading h2,
    .home-section .section-heading h2,
    .info-wrapper .page-hero h1 {
        font-size: 29px;
    }
}

/* ================= CTA BOX (SERAGAM) ================= */
/* Dipakai bersama: Informasi (.cta-modern) & Syarat (.syarat-note).
   Perataan tombol aksi (.cta-actions / .syarat-note-actions) SENGAJA
   TIDAK disamakan di sini karena memang berbeda: Informasi rata kiri,
   Syarat rata kanan -- lihat bagian halaman masing-masing. */
.cta-modern,
.syarat-note {
    max-width: 1420px;
    width: 100%;
    margin: 46px auto 0;
    padding: 38px 44px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(163, 230, 53, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.07), transparent 24%),
        linear-gradient(135deg, #064e3b 0%, #0f766e 58%, #238b52 100%);
    color: #ffffff;
    box-shadow: 0 22px 50px rgba(6, 78, 59, 0.16);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 34px;
    align-items: center;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.cta-modern::before,
.syarat-note::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.cta-modern::after,
.syarat-note::after {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
}

.cta-modern > *,
.syarat-note > * {
    position: relative;
    z-index: 2;
}

.cta-modern h2,
.syarat-note h2 {
    margin: 0 0 14px;
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(36px, 3vw, 52px);
    line-height: 1.14;
    font-weight: 950;
    letter-spacing: -0.6px;
}

.cta-modern p,
.syarat-note p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16.5px;
    line-height: 1.85;
    font-weight: 500;
}

.cta-btn,
.btn-modern,
.syarat-note-actions .btn {
    min-width: 190px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 950;
    text-decoration: none;
    transition: 0.25s ease;
    white-space: nowrap;
}

.cta-btn-light,
.btn-modern-light,
.syarat-note-actions .btn-primary {
    background: #ffffff;
    color: #064e3b;
    border: 2px solid #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.cta-btn-outline,
.btn-modern-outline,
.syarat-note-actions .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.68);
}

.cta-btn:hover,
.btn-modern:hover,
.syarat-note-actions .btn:hover {
    transform: translateY(-3px);
}

@media (max-width: 950px) {
    .cta-modern,
    .syarat-note {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        border-radius: 24px;
        gap: 26px;
    }

    .cta-modern h2,
    .syarat-note h2 {
        font-size: 34px;
    }

    .cta-btn,
    .btn-modern,
    .syarat-note-actions .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .cta-modern,
    .syarat-note {
        border-radius: 20px;
    }
}

/* Kolase mobile tetap bertumpuk seperti desktop/referensi, tetapi diperkecil
   secara proporsional agar komposisinya utuh di dalam layar. */
@media (max-width: 700px) {
    .hero-image-area {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: visible;
    }

    .hero-photo-collage {
        position: relative;
        display: block;
        width: min(360px, calc(100vw - 32px));
        max-width: 360px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        animation: none;
    }

    .hero-photo-collage::before,
    .hero-photo-collage::after {
        display: none;
    }

    .hero-photo-collage .hero-photo {
        position: absolute;
        inset: auto;
        height: auto;
        border: 5px solid #ffffff;
        border-radius: 18px;
        box-shadow: 0 14px 28px rgba(15, 81, 50, 0.18);
        transform: none;
        overflow: hidden;
    }

    .hero-photo-collage .hero-photo-top {
        top: 0;
        left: 25%;
        width: 54%;
        aspect-ratio: 2.05 / 1;
        z-index: 2;
    }

    .hero-photo-collage .hero-photo-left {
        top: 25%;
        left: 0;
        width: 50%;
        aspect-ratio: 1 / 1.05;
        z-index: 3;
    }

    .hero-photo-collage .hero-photo-main {
        top: 26%;
        right: 0;
        left: auto;
        width: 51%;
        aspect-ratio: 0.88 / 1;
        z-index: 1;
    }

    .hero-photo-collage .hero-photo-bottom {
        top: 69%;
        bottom: auto;
        left: 22%;
        width: 42%;
        aspect-ratio: 1.7 / 1;
        z-index: 5;
    }

    .hero-photo-collage .hero-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ============================================================
   HALAMAN: Beranda / Home (beranda.blade.php)
   ============================================================ */

/* =========================
   HERO
========================= */

.hero-modern {
    position: relative;
    /* Padding horizontal sengaja dipindah ke .hero-content saja (bukan di
       section ini) supaya kolom foto di kanan bisa nempel/tembus ke tepi
       layar (full-bleed), bukan terkurung margin section. */
    padding: 64px 0 52px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 92% 10%, rgba(163, 230, 53, 0.30), transparent 30%),
        radial-gradient(circle at 0% 86%, rgba(15, 118, 110, 0.14), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f0fdf4 55%, #fffdf4 100%);
    overflow: hidden;
    border-bottom: none;
}

/* Pola titik-titik hijau di kanan (selaras dengan halaman login) */
.hero-modern::before {
    content: "";
    position: absolute;
    top: 82px;
    right: 8%;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(#a3e635 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.45;
    z-index: 1;
}

/* Lingkaran besar lembut di kiri bawah (selaras dengan halaman login) */
.hero-modern::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    border: 45px solid rgba(6, 78, 59, 0.06);
    z-index: 1;
}

/* "Dilepas dari container": tidak lagi dibatasi max-width/kotak
   tengah -- kontainer ini penuh selebar section, dibagi 2 kolom PERSIS
   50:50 supaya sisi gambar leluasa nembus ke tepi kanan layar. */
.hero-modern-container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.hero-content {
    max-width: 640px;
    padding-left: 6%;
}

/* .hero-badge di sini DIBERI SCOPE ".hero-modern" karena Login juga punya
   .hero-badge sendiri dengan gaya berbeda -- tanpa scope, salah satu akan
   menimpa yang lain karena sekarang berada di satu file yang sama. */
.hero-modern .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d9f99d;
    color: var(--primary);
    font-size: 13.5px;
    font-weight: 950;
    box-shadow: var(--shadow-soft);
    margin-bottom: 18px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.1s;
}

.hero-modern .hero-badge span {
    width: 24px;
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime), var(--primary));
    display: inline-block;
}

.hero-content h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(36px, 3.6vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.9px;
    font-weight: 950;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.15s;
}

.hero-content h1 strong {
    color: #65a30d;
    font-weight: 950;
}

.hero-content p {
    max-width: 600px;
    margin: 20px 0 26px;
    color: #4b5563;
    font-size: 15.5px;
    line-height: 1.75;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.25s;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    will-change: opacity, transform;
}

.reveal.active {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 950;
    transition: 0.25s ease;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 81, 50, 0.22);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(15, 81, 50, 0.26);
}

.hero-btn-outline {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.hero-btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.hero-features {
    max-width: 620px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 81, 50, 0.08);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.hero-feature-icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
    background: var(--soft-green);
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.hero-feature strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 950;
}

.hero-feature small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

/* =========================
   HERO ORBIT
   Foto sumber (hero-pondok.png & kegiatan-*.jpeg) semuanya landscape,
   jadi bingkainya juga dibuat landscape (bukan potret/kotak) supaya
   tidak kepotong parah. Foto utama memenuhi seluruh kolom kanan hero;
   orbit foto kecil berpusat tepat di tepi KIRI foto utama dan boleh
   tembus ke luar (menutup celah ke arah teks). Karena foto utama
   z-index-nya lebih tinggi, separuh kanan orbit "ketutup" foto utama --
   yang kelihatan cuma separuh kiri, membentuk efek separuh lingkaran.
   Posisi orbit dihitung & digerakkan lewat main.js (requestAnimationFrame)
   supaya tiap foto tetap tegak lurus meski berputar.
========================= */

.hero-image-area {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-collage {
    position: relative;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 4 / 3;
    margin-left: 100px;
    animation: float 12s ease-in-out infinite;
    z-index: 3;
}

.hero-collage::before {
    content: "";
    position: absolute;
    inset: -28px;
    border-radius: 44px;
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.35), rgba(15, 118, 110, 0.14));
    filter: blur(36px);
    z-index: -1;
}

/* Foto utama memenuhi seluruh kolom kanan hero. Isinya 2 layer yang di-
   crossfade oleh main.js -- fotonya berganti mengikuti progres putaran
   orbit (bukan diam), dipilih dari daftar foto yang sama dengan satelit
   orbit supaya terasa nyambung. */
.hero-main-photo {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    border: 10px solid #ffffff;
    box-shadow: 0 28px 60px rgba(15, 81, 50, 0.22);
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.85s ease forwards;
    animation-delay: 0.2s;
    z-index: 5;
}

.hero-main-photo-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 6s ease;
}

.hero-main-photo-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-orbit {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 62%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.orbit-path {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80%;
    height: 80%;
    border: 2px dashed rgba(6, 78, 59, 0.22);
    border-radius: 999px;
}

/* Posisi awal (top/left 50%) diset di sini; offset orbit-nya sendiri
   (translate(-50%,-50%) + koordinat lingkaran) ditulis oleh main.js tiap
   frame lewat inline style transform. Dibuat landscape (bukan persegi)
   supaya foto kegiatan yang wide tidak kepotong terlalu parah di sisi. */
.orbit-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 21%;
    height: 15%;
    border-radius: 16%;
    border: 4px solid #ffffff;
    box-shadow: 0 14px 30px rgba(15, 81, 50, 0.22);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    opacity: 0;
    animation: orbitFadeIn 0.6s ease forwards;
    z-index: 4;
}

@keyframes orbitFadeIn {
    to {
        opacity: 1;
    }
}

/* =========================
   STATS
========================= */

.hero-stats {
    position: relative;
    z-index: 3;
    max-width: 960px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 81, 50, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-right: 1px solid #dbe7dd;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-stat:nth-child(1) {
    animation-delay: 0.22s;
}

.hero-stat:nth-child(2) {
    animation-delay: 0.28s;
}

.hero-stat:nth-child(3) {
    animation-delay: 0.34s;
}

.hero-stat:nth-child(4) {
    animation-delay: 0.40s;
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-icon {
    font-size: 34px;
}

.hero-stat strong {
    display: block;
    color: var(--primary-dark);
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.hero-stat small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   SECTION GLOBAL
========================= */

.home-section {
    padding: 58px 6%;
    background: #ffffff;
}

.home-section.white {
    background: #ffffff;
}

/* .section-heading di halaman Beranda sengaja polos (tanpa kotak hijau
   tua) -- lihat blok bersama "SECTION HEADING & PAGE HERO" di atas untuk
   varian berkotak milik Daftar/Informasi/Syarat. Karena selector di sana
   selalu diberi prefix wrapper, aturan polos ini tidak akan tertimpa. */
.section-heading {
    max-width: 740px;
    margin: 0 auto 32px;
    text-align: center;
}

.section-heading .mini-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 950;
    font-size: 14px;
    margin-bottom: 12px;
}

.section-heading .mini-label::before {
    content: "";
    width: 22px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime), var(--primary));
}

.section-heading h2 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.2;
    font-weight: 950;
}

.section-heading p {
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

/* =========================
   ALUR
========================= */

.steps-grid {
    max-width: 1420px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(1120px, calc(100% - 48px));
}

.step-card {
    position: relative;
    min-height: 190px;
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 81, 50, 0.08);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: 0.25s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.step-card:nth-child(1) {
    animation-delay: 0.18s;
}

.step-card:nth-child(2) {
    animation-delay: 0.24s;
}

.step-card:nth-child(3) {
    animation-delay: 0.30s;
}

.step-card:nth-child(4) {
    animation-delay: 0.36s;
}

.step-card:nth-child(5) {
    animation-delay: 0.42s;
}

.step-card:nth-child(6) {
    animation-delay: 0.48s;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.step-card::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(163, 230, 53, 0.22);
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step-card h3 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 21px;
    font-weight: 950;
}

.step-card p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.72;
}

/* =========================
   GALERI
========================= */

.gallery-section {
    padding: 80px 7%;
    background: linear-gradient(180deg, #f7fbf8 0%, #f1f8f3 100%);
    overflow: hidden;
}

.gallery-wrapper {
    max-width: 1420px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 81, 50, 0.08);
    border-radius: 22px;
    width: min(1120px, calc(100% - 48px));
}

.gallery-wrapper::before,
.gallery-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.gallery-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f3f8f4 0%, rgba(243,248,244,0) 100%);
}

.gallery-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f3f8f4 0%, rgba(243,248,244,0) 100%);
}

.gallery-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: galleryMove 32s linear infinite;
    align-items: center;
}

.gallery-wrapper:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    width: 225px;
    height: 140px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    border-width: 5px;
    border-style: solid;
    border-color: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 81, 50, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.20s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.24s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.28s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.32s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.36s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.40s;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 81, 50, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

@keyframes galleryMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .hero-modern-container {
        grid-template-columns: 1fr;
        max-width: 820px;
        text-align: center;
    }

    .hero-content,
    .hero-content p,
    .hero-features {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-area {
        justify-content: center;
    }

    .hero-collage {
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat:nth-child(2) {
        border-right: none;
    }

    .hero-stat:nth-child(1),
    .hero-stat:nth-child(2) {
        border-bottom: 1px solid #dbe7dd;
    }
}

@media (max-width: 820px) {
    .hero-modern {
        padding: 46px 0 42px;
    }

    .hero-modern-container,
    .steps-grid,
    .gallery-wrapper {
        width: min(820px, calc(100% - 32px));
        max-width: 820px;
    }

    .hero-content h1 {
        font-size: 31px;
        letter-spacing: -0.4px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .hero-btn {
        width: auto;
        min-width: 150px;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-feature {
        min-width: 0;
    }

    .hero-collage {
        max-width: 340px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 36px;
        border-radius: 24px;
    }

    .hero-stat {
        border-right: none;
        border-bottom: 1px solid #dbe7dd;
    }

    .hero-stat:last-child {
        border-bottom: none;
    }

    .home-section,
    .gallery-section {
        padding: 46px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        width: 220px;
        height: 138px;
    }
}

@media (max-width: 560px) {
    .hero-modern-container,
    .steps-grid,
    .gallery-wrapper {
        width: calc(100% - 24px);
        max-width: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .step-card {
        border-radius: 20px;
    }

    .hero-content h1 {
        font-size: 27px;
        letter-spacing: -0.2px;
    }

    .hero-collage {
        max-width: 260px;
    }
}

/* Kolase hero beranda: komposisi empat foto seperti rancangan halaman utama.
   Selector tambahan ini hanya mengganti presentasi desktop; breakpoint lama
   (.hero-modern-container dan .hero-collage) tetap menjadi pengatur responsif. */
.hero-modern {
    min-height: 615px;
}

.hero-photo-collage {
    max-width: 500px;
    aspect-ratio: 1 / 1;
    margin-left: 38px;
    animation: float 12s ease-in-out infinite;
}

.hero-photo-collage::before {
    inset: 5% 6%;
    border-radius: 36px;
}

.hero-photo {
    position: absolute;
    overflow: hidden;
    border: 7px solid #ffffff;
    border-radius: 26px;
    background: #e8f5ed;
    box-shadow: 0 20px 38px rgba(15, 81, 50, 0.18);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-top {
    top: 0;
    right: 10%;
    width: 47%;
    height: 35%;
}

.hero-photo-left {
    top: 30%;
    left: 0;
    width: 47%;
    height: 56%;
}

.hero-photo-main {
    top: 28%;
    right: 0;
    width: 54%;
    height: 68%;
}

.hero-photo-bottom {
    bottom: 0;
    left: 20%;
    width: 37%;
    height: 31%;
    z-index: 2;
}

@media (max-width: 1200px) {
    .hero-photo-collage {
        margin-left: auto;
    }
}

/* Menyamakan garis bawah kolase dengan akhir deskripsi hero pada desktop. */
@media (min-width: 1201px) {
    .hero-image-area {
        top: -20px;
    }
}

@media (max-width: 992px) {
    .gallery-item {
        width: 300px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 5%;
    }

    .gallery-track {
        gap: 16px;
    }
}

/* ============================================================
   HALAMAN: Daftar / Register (daftar.blade.php)
   ============================================================ */

.form-wrapper {
    padding: 74px 7% 86px;
}

@media (max-width: 950px) {
    .form-wrapper {
        padding-top: 62px;
        padding-bottom: 62px;
    }
}

/* ================= FORM CARD ================= */
.form-card {
    background: #ffffff;
    border: 1px solid rgba(6, 78, 59, 0.10);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.form-section {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Semua .form-section punya z-index yang sama, jadi section berikutnya
   (lebih akhir di DOM) menimpa panel kalender/dropdown section sebelumnya
   kalau panelnya meluber ke bawah. Section yang lagi punya panel terbuka
   dinaikkan di atas semua section lain supaya tidak "tertimpa". */
.form-section:has(.custom-date.is-open),
.form-section:has(.custom-select-dropdown[open]) {
    z-index: 5;
}

.section-head {
    display: block;
    margin: 0 0 24px;
    padding: 18px 22px;
    border: 1px solid rgba(6, 78, 59, 0.13);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.88) 100%);
    box-shadow: 0 16px 34px rgba(6, 78, 59, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    position: relative;
    overflow: hidden;
}

.section-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 6px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--lime), var(--primary-2));
}

.section-icon {
    display: none;
}

.section-head h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 8px;
    color: #064e3b;
    font-size: 25px;
    line-height: 1.22;
    font-weight: 950;
}

.section-head h2::before {
    content: "";
    width: 30px;
    height: 12px;
    flex: 0 0 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime), var(--primary));
    box-shadow: 0 8px 18px rgba(6, 78, 59, 0.15);
}

.section-head p {
    max-width: 780px;
    margin: 0;
    color: #526376;
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

/* .form-group di sini diberi scope ".form-grid" karena Login juga punya
   .form-group sendiri dengan gaya berbeda (margin-bottom saja, tanpa
   flex-column) -- tanpa scope keduanya akan saling bercampur. */
.form-grid .form-group {
    display: flex;
    flex-direction: column;
}

.form-grid .form-group.full {
    grid-column: 1 / -1;
}

label {
    color: #111827;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 8px;
}

.required {
    color: var(--danger);
}

/* input/select/textarea diberi scope ".form-card" supaya tidak bocor ke
   elemen form di halaman Login (yang punya gaya sendiri). */
.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    color: #1f2937;
    font-size: 14px;
    transition: 0.25s ease;
    font-family: inherit;
}

.form-card textarea {
    min-height: 92px;
    resize: vertical;
}

@media (min-width: 951px) {
    .form-card textarea.textarea-small {
        min-height: 48px;
        height: 48px;
    }
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--primary-2);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-help {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.error-text {
    margin-top: 6px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 800;
}

.field-needs-attention {
    border-color: var(--warning) !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14) !important;
}

/* ================= CUSTOM SELECT / FILE / DATE =================
   Input select, file, dan tanggal bawaan browser diganti versi custom
   senada tema (dipakai juga di dashboard admin) -- select & date pakai
   <details>/panel sendiri, file pakai dropzone drag-drop. */
.custom-select {
    position: relative;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: 0.25s ease;
}

.custom-select-trigger::-webkit-details-marker {
    display: none;
}

.custom-select-trigger i {
    font-size: 11px;
    color: var(--muted);
    transition: transform 0.2s ease;
}

.custom-select-dropdown:hover .custom-select-trigger {
    border-color: var(--primary-2);
}

.custom-select-dropdown[open] .custom-select-trigger {
    border-color: var(--primary-2);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.custom-select-dropdown[open] .custom-select-trigger i {
    transform: rotate(180deg);
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    gap: 2px;
    padding: 6px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.custom-select-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.custom-select-option:hover {
    background: var(--soft);
}

.custom-select-option.is-active {
    background: var(--primary-2);
    color: #ffffff;
}

.custom-select-readonly {
    background: #eef1f0;
    color: #94a3b8;
    border-style: dashed;
    cursor: not-allowed;
}

.custom-file {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-file-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px dashed #94a3b8;
    border-radius: 15px;
    background: #f8fafc;
    cursor: pointer;
    transition: 0.25s ease;
}

.custom-file-trigger:hover,
.custom-file-trigger.is-dragover {
    border-color: var(--primary-2);
    background: #f8fffb;
}

.custom-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-2);
    font-size: 16px;
}

.custom-file-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.custom-file-text strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-file-text small {
    color: var(--muted);
    font-size: 11px;
    text-transform: none;
    letter-spacing: normal;
}

.custom-file.has-file .custom-file-trigger {
    border-style: solid;
    border-color: var(--primary-2);
    background: rgba(15, 118, 110, 0.06);
}

.custom-file-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.custom-file-current:hover {
    text-decoration: underline;
}

.custom-date {
    position: relative;
}

.custom-date-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: 0.25s ease;
}

.custom-date-trigger i {
    color: var(--primary-2);
    font-size: 14px;
}

.custom-date-trigger:hover {
    border-color: var(--primary-2);
}

.custom-date.is-open .custom-date-trigger {
    border-color: var(--primary-2);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.custom-date-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 280px;
    padding: 14px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.custom-date-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.custom-date-title {
    flex: 1;
    text-align: center;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.custom-date-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: var(--soft);
    color: var(--primary-2);
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.custom-date-nav:hover {
    background: rgba(15, 118, 110, 0.14);
}

.custom-date-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.custom-date-today {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 36px;
    border: none;
    border-radius: 10px;
    background: var(--soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.custom-date-today:hover {
    background: rgba(15, 118, 110, 0.14);
}

.custom-date-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}

.custom-date-weekdays span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.custom-date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.custom-date-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.custom-date-cell.is-empty {
    cursor: default;
}

.custom-date-cell:not(.is-empty):not(.is-disabled):hover {
    background: var(--soft);
}

.custom-date-cell.is-today {
    color: var(--primary-2);
    font-weight: 900;
}

.custom-date-cell.is-selected {
    background: var(--primary-2);
    color: #ffffff;
}

.custom-date-cell.is-disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

/* ================= UPLOAD ================= */
.upload-payment-layout {
    display: block;
}

.document-upload-card {
    background: radial-gradient(circle at top right, rgba(163, 230, 53, 0.10), transparent 26%), linear-gradient(180deg, #ffffff 0%, #fbfffc 100%);
    border: 1px solid rgba(6, 78, 59, 0.10);
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: var(--shadow-soft);
}

.document-upload-card h3 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 950;
}

.document-upload-card .card-desc {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.upload-format-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 22px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #064e3b;
    font-size: 13px;
    font-weight: 900;
}

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

.document-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    transition: 0.25s ease;
    min-height: 160px;
}

.document-box:hover {
    border-color: var(--primary-2);
    background: #f8fffb;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(6, 78, 59, 0.09);
}

.document-box label {
    display: block;
    margin-bottom: 12px;
    color: #111827;
    font-size: 15px;
    font-weight: 950;
}

/* ================= BUTTONS ================= */
.form-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    padding: 0 26px;
    font-weight: 950;
    transition: 0.25s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    border: none;
    box-shadow: 0 16px 32px rgba(6, 78, 59, 0.22);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: #ffffff;
}

.btn:hover {
    transform: translateY(-3px);
}

.submit-btn {
    border: none;
    cursor: pointer;
    font-size: 15px;
}

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 44, 34, 0.64);
    backdrop-filter: blur(8px);
}

.modal-overlay.show {
    display: flex;
}

.modal-card {
    position: relative;
    width: min(620px, 100%);
    max-height: 88vh;
    overflow: hidden;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(2, 44, 34, 0.35);
    border: 1px solid rgba(6, 78, 59, 0.12);
    animation: modalFadeUp 0.25s ease;
}

.modal-card.large {
    width: min(760px, 100%);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid #dbe7dd;
    border-radius: 999px;
    background: #ffffff;
    color: #064e3b;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}

.modal-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 34px 34px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #064e3b, #0f766e);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 950;
    box-shadow: 0 12px 26px rgba(6, 78, 59, 0.22);
}

.modal-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.modal-icon.success {
    background: linear-gradient(135deg, #10b981, #0f766e);
}

.modal-header h2 {
    margin: 0 42px 8px 0;
    color: #064e3b;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 950;
}

.modal-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 600;
}

.modal-body {
    max-height: 52vh;
    overflow-y: auto;
    padding: 26px 34px;
}

.modal-body p {
    margin: 0;
    color: #334155;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 500;
}

.modal-note {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
}

.modal-list {
    margin: 0;
    padding-left: 22px;
    color: #92400e;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 800;
}

.modal-list li {
    margin-bottom: 7px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 22px 34px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.btn-modal-outline,
.btn-modal-primary {
    min-width: 150px;
    min-height: 50px;
    border-radius: 999px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    transition: 0.25s ease;
    font-family: inherit;
}

.btn-modal-outline {
    background: #ffffff;
    color: #064e3b;
    border: 2px solid #064e3b;
}

.btn-modal-primary {
    background: linear-gradient(135deg, #064e3b, #0f766e);
    color: #ffffff;
    border: 2px solid #064e3b;
}

.btn-modal-outline:hover,
.btn-modal-primary:hover {
    transform: translateY(-2px);
}

@keyframes modalFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .document-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 950px) {
    .form-card {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .form-group.full {
        grid-column: 1;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-actions .btn,
    .form-actions button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .document-grid {
        grid-template-columns: 1fr;
    }

    .document-upload-card {
        padding: 24px;
    }

    .document-upload-card h3 {
        font-size: 24px;
    }

    .modal-overlay {
        padding: 16px;
    }

    .modal-card {
        border-radius: 22px;
        max-height: 86vh;
    }

    .modal-header,
    .modal-body,
    .modal-actions {
        padding-left: 22px;
        padding-right: 22px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-modal-outline,
    .btn-modal-primary {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .form-card {
        padding: 18px;
        border-radius: 20px;
    }
}

@media (max-width: 700px) {
    .section-head {
        padding: 16px 18px;
    }

    .section-head h2 {
        align-items: flex-start;
        font-size: 21px;
    }

    .document-upload-card {
        padding: 18px;
    }

    .document-box {
        min-height: auto;
        padding: 16px;
    }

    .upload-format-note {
        width: 100%;
        border-radius: 16px;
        align-items: flex-start;
    }

    .modal-card {
        width: min(100%, calc(100vw - 24px));
        max-height: calc(100dvh - 24px);
    }

    .modal-header {
        align-items: flex-start;
        gap: 12px;
    }

    .modal-header h2 {
        margin-right: 42px;
        overflow-wrap: anywhere;
    }

    .modal-body {
        max-height: calc(100dvh - 260px);
    }
}

/* ==================================================
   PAGE TITLE FONT FINAL (RESPONSIVE)
   Breakpoint 768px/420px khusus judul kotak section-heading/page-hero --
   dipakai bareng oleh Daftar, Informasi, Syarat, dan Beranda supaya
   ukuran fontnya seragam di semua halaman (nilai non-responsive-nya
   sendiri sudah ada di blok "SECTION HEADING & PAGE HERO" di atas).
   ================================================== */

@media (max-width: 768px) {
    .form-wrapper .section-heading h2,
    .info-wrapper .section-heading h2,
    .syarat-wrapper .section-heading h2,
    .home-section .section-heading h2,
    .info-wrapper .page-hero h1 {
        max-width: 620px;
        font-size: 30px;
        line-height: 1.22;
    }

    .form-wrapper .section-heading p,
    .info-wrapper .section-heading p,
    .syarat-wrapper .section-heading p,
    .home-section .section-heading p,
    .info-wrapper .page-hero p {
        max-width: 620px;
        font-size: 14.5px;
        line-height: 1.65;
    }
}

@media (max-width: 420px) {
    .form-wrapper .section-heading h2,
    .info-wrapper .section-heading h2,
    .syarat-wrapper .section-heading h2,
    .home-section .section-heading h2,
    .info-wrapper .page-hero h1 {
        font-size: 27px;
    }

    .form-wrapper .section-heading .mini-label,
    .info-wrapper .section-heading .mini-label,
    .syarat-wrapper .section-heading .mini-label,
    .home-section .section-heading .mini-label,
    .info-wrapper .page-badge {
        font-size: 13px;
    }
}

/* ============================================================
   HALAMAN: Informasi (informasi.blade.php)
   ============================================================ */

.info-wrapper {
    padding: 86px 7%;
}

@media (max-width: 950px) {
    .info-wrapper {
        padding-top: 62px;
        padding-bottom: 62px;
    }
}

/* Sisa class lawas yang tidak dipakai markup manapun tapi tidak berbahaya
   untuk dipertahankan (main sudah position:relative lewat .info-wrapper). */
.page-wrapper,
.content-wrapper,
.main-wrapper,
main {
    position: relative;
    z-index: 2;
}

.modern-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 81, 50, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.section-box {
    max-width: 1240px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 2;
}

.page-container {
    margin-bottom: 48px;
}

.form-shell {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 81, 50, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-card);
}

/* ================= CARDS ================= */

.info-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 26px;
    width: 100%;
}

.info-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(6, 78, 59, 0.10);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: 0.25s ease;
    min-width: 0;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.info-card::after {
    content: "";
    position: absolute;
    right: -48px;
    top: -48px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(163, 230, 53, 0.22);
}

.info-card-content {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.info-card h2 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 950;
}

.info-desc {
    color: #475569;
    line-height: 1.75;
    margin: 0 0 20px;
    font-size: 15px;
}

.info-total {
    background: linear-gradient(135deg, #ecfdf5, #f7fee7);
    border: 1px solid #86efac;
    color: var(--primary);
    padding: 18px;
    border-radius: 20px;
    font-weight: 950;
    font-size: 24px;
    margin-bottom: 18px;
}

.info-total span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 800;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span:first-child {
    color: #334155;
    font-weight: 800;
}

.info-row span:last-child {
    color: var(--primary);
    font-weight: 950;
    white-space: nowrap;
}

/* ================= ACTIVITY ================= */

.activity-section {
    margin: 30px 0;
    width: 100%;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.activity-card {
    background: #ffffff;
    border: 1px solid rgba(6, 78, 59, 0.10);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.activity-number {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    font-size: 17px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.activity-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.activity-card-head .activity-number {
    flex: 0 0 44px;
    margin-bottom: 0;
}

.activity-card-head h3 {
    margin: 0;
    min-width: 0;
}

.activity-card h3 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 950;
    line-height: 1.25;
}

.activity-card ul {
    margin: 0;
    padding-left: 18px;
}

.activity-card li {
    margin-bottom: 9px;
    color: #475569;
    line-height: 1.65;
    font-size: 14px;
}

.activity-card ul ul {
    margin-top: 7px;
    margin-bottom: 8px;
    padding-left: 18px;
}

.activity-card em {
    color: var(--primary);
    font-weight: 900;
}

/* ================= CONTACT & MAP ================= */

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #475569;
    line-height: 1.6;
    padding: 14px;
    border-radius: 18px;
    background: #f8fffb;
    border: 1px solid #dbe7dd;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    border: 1px solid #bbf7d0;
}

.contact-line strong {
    color: var(--primary);
    font-weight: 950;
}

.contact-line a {
    color: var(--primary-2);
    text-decoration: none;
    font-weight: 900;
}

.contact-line a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.social-section {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.social-section h3 {
    color: var(--primary);
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 950;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 16px;
    font-weight: 950;
    text-decoration: none;
    transition: 0.25s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.social-link.instagram {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

.social-link.tiktok {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.social-link.youtube {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.social-link.whatsapp {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #15803d;
}

.social-link i {
    font-size: 18px;
}

.map-frame {
    width: 100%;
    height: 430px;
    border: 0;
    border-radius: 24px;
    margin-top: 10px;
    box-shadow: var(--shadow-soft);
}

.map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 13px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    font-weight: 950;
    transition: 0.25s ease;
    box-shadow: 0 12px 26px rgba(6, 78, 59, 0.18);
}

.map-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(6, 78, 59, 0.22);
}

/* ================= CTA (dead/legacy, dipertahankan) ================= */
/* .cta-consistent* tidak lagi dipakai informasi.blade.php (sudah diganti
   .cta-modern), tapi dipertahankan supaya tidak menghapus sesuatu di luar
   cakupan tugas ini. Tidak bentrok dengan class lain. */

.cta-consistent {
    margin: 56px auto 0;
    max-width: 1420px;
    padding: 0 7%;
}

.cta-consistent-box {
    background: linear-gradient(135deg, #065f46 0%, #0f766e 55%, #2f9e63 100%);
    border-radius: 34px;
    padding: 52px 42px;
    box-shadow: 0 18px 40px rgba(6, 95, 70, 0.18);
    position: relative;
    overflow: hidden;
}

.cta-consistent-box::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.cta-consistent-box::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-consistent-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cta-consistent-content {
    flex: 1 1 620px;
}

.cta-consistent-content h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 3vw, 58px);
    line-height: 1.15;
    font-weight: 900;
    color: #ffffff;
}

.cta-consistent-content p {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,0.90);
    font-size: 17px;
    line-height: 1.8;
}

.cta-consistent-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.cta-consistent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.cta-consistent-btn-primary {
    background: #ffffff;
    color: #065f46;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.cta-consistent-btn-primary:hover {
    transform: translateY(-3px);
    background: #f8fafc;
}

.cta-consistent-btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.75);
}

.cta-consistent-btn-outline:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.10);
    border-color: #ffffff;
}

/* ================= CTA (aktif dipakai) ================= */
/* Aksi tombol CTA Informasi: rata kiri (berbeda dari Syarat yang rata
   kanan -- lihat blok bersama "CTA BOX (SERAGAM)" di atas). */
.cta-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    text-align: left;
}

.cta-actions a {
    white-space: nowrap;
}

@media (max-width: 950px) {
    .cta-actions {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 700px) {
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn {
        width: 100%;
    }
}

/* ================= SYARAT NOTE (CTA) ================= */
/* Aksi tombol CTA Syarat: rata kanan (berbeda dari Informasi yang rata
   kiri -- lihat blok bersama "CTA BOX (SERAGAM)" di atas). */
.syarat-note-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
    text-align: right;
}

.syarat-note-actions .btn-modern {
    width: auto;
    min-width: 160px;
    min-height: 54px;
    padding: 0 22px;
    flex: 0 0 auto;
}

@media (max-width: 950px) {
    .syarat-note-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .syarat-note-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .syarat-note-actions .btn-modern {
        width: 100%;
        min-width: 0;
    }
}

/* ================= RESPONSIVE ================= */

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

@media (max-width: 950px) {
    .info-two-column,
    .activity-grid {
        grid-template-columns: 1fr;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
    }

    .info-row span:last-child {
        white-space: normal;
    }

    .map-frame {
        height: 330px;
    }

    .cta-consistent-box {
        padding: 38px 22px;
    }

    .cta-consistent-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-consistent-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .cta-consistent-btn {
        width: 100%;
        min-width: 100%;
    }

    .info-card-content,
    .activity-card {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .info-card,
    .activity-card {
        border-radius: 20px;
    }

    .info-card-content,
    .activity-card {
        padding: 18px;
    }
}

@media (max-width: 700px) {
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .info-row span:last-child {
        white-space: normal;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-card-head {
        align-items: flex-start;
    }

    .contact-line {
        padding: 12px;
    }

    .social-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .social-link,
    .map-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .map-frame {
        height: 300px;
        min-height: 300px;
    }
}

/* ============================================================
   HALAMAN: Login (auth/login.blade.php)
   ============================================================ */

.login-page {
    min-height: calc(100vh - 76px);
    padding: 76px 7%;
    background:
        radial-gradient(circle at 92% 10%, rgba(163, 230, 53, 0.28), transparent 28%),
        radial-gradient(circle at 0% 86%, rgba(15, 118, 110, 0.12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f0fdf4 55%, #fffdf4 100%);
    background-size: 120% 120%, 120% 120%, 100% 100%;
    position: relative;
    overflow: hidden;
    animation: loginBackdrop 16s ease-in-out infinite alternate;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

/* Dipicu oleh main.js sesaat sebelum berpindah antara halaman login/daftar akun. */
.login-page.is-leaving {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.login-page::before {
    content: "";
    position: absolute;
    top: 70px;
    right: 8%;
    width: 170px;
    height: 170px;
    background-image: radial-gradient(#a3e635 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.45;
    animation: dotDrift 11s ease-in-out infinite alternate;
}

.login-page::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    border: 45px solid rgba(6, 78, 59, 0.06);
    animation: ringBreathe 8s ease-in-out infinite;
}

.login-container {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: center;
}

.login-intro {
    max-width: 620px;
    animation: introRise 0.7s ease both;
}

/* .hero-badge di halaman ini diberi scope ".login-intro" -- lihat catatan
   yang sama di bagian Beranda mengenai kenapa scope ini diperlukan. */
.login-intro .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #bef264;
    color: var(--primary);
    font-size: 14px;
    font-weight: 950;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    animation: softFloat 5s ease-in-out infinite;
}

.login-intro .hero-badge span {
    width: 26px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime), var(--primary));
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.login-intro .hero-badge span::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: rgba(255,255,255,0.42);
    animation: badgePulse 1.8s ease-in-out infinite;
}

.login-intro h1 {
    margin: 0;
    color: var(--dark);
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 950;
}

.login-intro h1 strong {
    color: #65a30d;
}

.login-title-line {
    white-space: nowrap;
}

.login-intro p {
    max-width: 620px;
    margin: 22px 0 28px;
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
}

.role-list {
    display: grid;
    gap: 14px;
    max-width: 620px;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(6,78,59,0.10);
    box-shadow: var(--shadow-soft);
}

.role-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
}

.role-item strong {
    display: block;
    color: var(--primary);
    font-size: 16px;
    font-weight: 950;
    margin-bottom: 4px;
}

.role-item small {
    color: var(--muted);
    line-height: 1.5;
}

.login-card {
    background: #ffffff;
    border: 1px solid rgba(6, 78, 59, 0.10);
    border-radius: 34px;
    padding: 36px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: cardRise 0.8s ease 0.12s both;
}

.login-card::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: rgba(163, 230, 53, 0.18);
}

.login-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.62) 46%, transparent 58%);
    transform: translateX(-115%);
    animation: cardSheen 7s ease-in-out infinite;
    pointer-events: none;
}

.login-card-content {
    position: relative;
    z-index: 3;
}

.login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 22px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 14px 28px rgba(6,78,59,0.10);
}

.login-logo::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 27px;
    background: conic-gradient(from 0deg, rgba(163,230,53,0), rgba(163,230,53,0.9), rgba(15,118,110,0.72), rgba(163,230,53,0));
    animation: logoRing 5s linear infinite;
    z-index: -1;
}

.login-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.login-card h2 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 30px;
    font-weight: 950;
    text-align: center;
}

.login-card .login-subtitle {
    margin: 0 0 24px;
    color: var(--muted);
    text-align: center;
    line-height: 1.65;
    font-size: 14px;
}

.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.55;
}

/* .form-group di halaman ini diberi scope ".login-card-content" karena
   Daftar juga punya .form-group sendiri (flex-column, tanpa margin-bottom)
   -- lihat catatan yang sama di bagian Daftar. */
.login-card-content .form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 8px;
}

.login-card #loginIdentityInput,
.login-card input[type="email"],
.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #ffffff;
    color: #1f2937;
    font-size: 14px;
    transition: 0.25s ease;
}

.login-card input:focus {
    outline: none;
    border-color: var(--primary-2);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 22px;
    flex-wrap: wrap;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.remember-label input {
    width: 16px;
    height: 16px;
}

.help-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.login-button {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 16px 32px rgba(6, 78, 59, 0.22);
    position: relative;
    overflow: hidden;
}

.login-button::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
    transform: skewX(-18deg);
    transition: 0.45s ease;
}

.login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.28);
}

.login-button:hover::before {
    left: 112%;
}

.login-bottom {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.login-bottom a {
    color: var(--primary);
    font-weight: 950;
    font-size: 14px;
}

@keyframes loginBackdrop {
    0% {
        background-position: 0% 0%, 100% 100%, 0 0;
    }
    100% {
        background-position: 12% 8%, 88% 92%, 0 0;
    }
}

@keyframes dotDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-18px, 24px, 0);
    }
}

@keyframes ringBreathe {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.04);
        opacity: 0.72;
    }
}

@keyframes introRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes softFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes badgePulse {
    0%, 100% {
        opacity: 0.35;
        transform: translateX(-4px);
    }
    50% {
        opacity: 0.85;
        transform: translateX(4px);
    }
}

@keyframes cardSheen {
    0%, 48% {
        transform: translateX(-115%);
    }
    70%, 100% {
        transform: translateX(115%);
    }
}

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

/* ================= RESPONSIVE ================= */

@media (max-width: 1180px) {
    /* .login-container max-width-nya 1180px, jadi grid 2 kolomnya dipecah
       tepat di titik itu juga -- supaya tidak ada rentang lebar (dulu
       951-1180px) di mana kartu login makin lama makin sempit sebelum
       akhirnya nge-stack. */
    .login-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 950px) {
    .login-page {
        padding: 56px 5%;
    }

    .login-intro h1 {
        font-size: 36px;
    }

    .login-intro p {
        font-size: 15px;
    }

    .role-list {
        text-align: left;
    }

    .login-card {
        padding: 26px;
        border-radius: 28px;
    }
}

@media (max-width: 560px) {
    .login-title-line {
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .login-page {
        min-height: auto;
        padding: 38px 14px 46px;
    }

    .login-container {
        gap: 26px;
    }

    .login-intro {
        text-align: center;
        margin: 0 auto;
    }

    .login-intro h1 {
        font-size: 32px;
    }

    .login-intro p {
        margin: 16px auto 22px;
        font-size: 14.5px;
    }

    .login-intro .hero-badge {
        margin-bottom: 16px;
    }

    .login-card {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .login-card h2 {
        font-size: 25px;
    }

    .remember-row {
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .login-card {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* ============================================================
   HALAMAN: Syarat / Terms (syarat.blade.php)
   ============================================================ */
/* Catatan: syarat.blade.php TIDAK memakai .page-hero/.page-hero-content/
   .hero-badge/.page-badge sama sekali (hanya memakai .section-heading di
   bagian atas), jadi salinan aturan .page-hero milik syarat.css yang ada
   di file sumber sengaja TIDAK dibawa ke sini karena sudah mati/duplikat
   dari punya Informasi dan berpotensi membingungkan. */

.syarat-wrapper {
    padding: 86px 7%;
}

@media (max-width: 950px) {
    .syarat-wrapper {
        padding-top: 62px;
        padding-bottom: 62px;
    }
}

/* Judul section-heading Syarat memakai nowrap di desktop, baru dipatahkan
   (normal) lewat breakpoint 700px di blok RESPONSIVE di bawah -- aturan
   ini SENGAJA ditulis sebelum blok RESPONSIVE supaya urutan cascade-nya
   benar (base dulu, baru override mobile). */
.syarat-wrapper .section-heading h2 {
    white-space: nowrap;
    overflow-wrap: normal;
}

/* ================= SYARAT GRID ================= */

.syarat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    counter-reset: syarat-counter;
    align-items: stretch;
}

.syarat-card {
    counter-increment: syarat-counter;
    position: relative;
    min-height: auto;
    padding: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfffc 100%);
    border: 1px solid rgba(6, 78, 59, 0.10);
    box-shadow: 0 18px 42px rgba(6, 78, 59, 0.09);
    overflow: hidden;
    transition: 0.28s ease;
}

.syarat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(6, 78, 59, 0.15);
    border-color: rgba(6, 78, 59, 0.20);
}

/* Garis hijau atas card */
.syarat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, #064e3b, #0f766e, #a3e635);
    z-index: 3;
}

/* Dekorasi lingkaran kanan atas */
.syarat-card::after {
    content: "";
    position: absolute;
    top: -55px;
    right: -55px;
    width: 145px;
    height: 145px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.35), rgba(163, 230, 53, 0.12));
    z-index: 1;
}

.syarat-card-content {
    position: relative;
    z-index: 2;
    padding: 28px 28px 30px;
}

/* Ikon emoji lama sudah tidak dipakai */
.syarat-icon {
    display: none;
}

.syarat-card h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(6, 78, 59, 0.13);
    color: #064e3b;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: 0.2px;
}

/* Nomor urut card */
.syarat-card h2::before {
    content: counter(syarat-counter, decimal-leading-zero);
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #064e3b, #0f766e);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 12px 26px rgba(6, 78, 59, 0.22);
}

/* Subjudul, mis. "A. Ketentuan Berkunjung" */
.syarat-card h3 {
    display: inline-flex;
    align-items: center;
    margin: 18px 0 14px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #064e3b;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 950;
}

.syarat-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.syarat-card li {
    position: relative;
    margin-bottom: 13px;
    padding-left: 30px;
    color: #334155;
    font-size: 14.5px;
    line-height: 1.72;
    font-weight: 500;
}

/* Bullet modern */
.syarat-card li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #16a34a;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.12);
}

.syarat-card li::marker {
    color: var(--primary-3);
}

@media (max-width: 950px) {
    .syarat-card-content {
        padding: 24px 22px 26px;
    }

    .syarat-card h2 {
        font-size: 22px;
        align-items: flex-start;
    }

    .syarat-card h2::before {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 700px) {
    .syarat-wrapper {
        padding-top: 40px;
        padding-bottom: 52px;
    }

    .section-heading h2 {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .syarat-grid {
        grid-template-columns: 1fr;
    }

    .syarat-card-content {
        padding: 20px 18px 22px;
    }

    .syarat-card h2 {
        align-items: flex-start;
    }

    .syarat-note {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: left;
    }
}

/* Beranda desktop: override terakhir agar tidak tertimpa gaya halaman lain. */
@media (min-width: 1021px) {
    .navbar.main-navbar .nav-links a.active:not(.nav-login) { color: var(--primary); background: transparent; }
    .navbar.main-navbar .nav-links a.active:not(.nav-login)::after { width: calc(100% - 32px); left: 16px; bottom: 2px; height: 3px; border-radius: 999px; background: var(--lime); }

    .hero-modern { min-height: 515px; padding: 44px 0 32px; }
    .hero-modern-container { width: min(932px, calc(100% - 48px)); max-width: 932px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .hero-content { max-width: none; padding-left: 0; transform: translateY(-34px); }
    .hero-content h1, .hero-content p, .hero-modern .hero-badge, .step-card, .gallery-item { opacity: 1; animation: none; }
    .hero-content h1 { font-size: 40px; line-height: 1.07; letter-spacing: -0.7px; }
    .hero-content p { max-width: 450px; margin: 16px 0 0; font-size: 13px; line-height: 1.75; }
    .hero-modern .hero-badge { margin-bottom: 16px; padding: 7px 13px; font-size: 11px; }
    .hero-image-area { top: auto; }
    .hero-photo-collage { width: 410px; max-width: 100%; aspect-ratio: 1 / 1; margin-left: 44px; }

    .home-section { padding: 48px 0; }
    .home-section .section-heading { width: min(932px, calc(100% - 48px)); max-width: 932px; margin: 0 auto 30px; padding: 0; color: inherit; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; isolation: auto; }
    .home-section .section-heading::before, .home-section .section-heading::after { display: none; }
    .home-section .section-heading h2 { margin: 0 0 10px; color: var(--primary); font-size: 31px; line-height: 1.2; font-weight: 950; letter-spacing: -0.4px; }
    .home-section .section-heading p { max-width: 670px; color: var(--muted); font-size: 13px; line-height: 1.7; }
    .home-section .section-heading .mini-label { margin-bottom: 9px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--primary); font-size: 11px; }
    .home-section .section-heading .mini-label::before { width: 18px; height: 10px; flex-basis: 18px; background: linear-gradient(90deg, var(--lime), var(--primary)); }

    .steps-grid, .gallery-wrapper { width: min(932px, calc(100% - 48px)); max-width: 932px; }
    .steps-grid { gap: 16px; }
    .step-card { min-height: 206px; padding: 18px; border-radius: 18px; }
    .step-number { width: 36px; height: 36px; margin-bottom: 13px; border-radius: 12px; font-size: 14px; }
    .step-card h3 { margin-bottom: 8px; font-size: 17px; }
    .step-card p { font-size: 12.5px; line-height: 1.62; }
    .step-card::after { width: 100px; height: 100px; right: -42px; top: -42px; }
    .gallery-section { padding: 50px 0 54px; }
    .gallery-wrapper { padding: 14px 0; border-radius: 18px; }
    .gallery-item { width: 180px; height: 112px; border-width: 4px; border-radius: 14px; }
}

/* Navbar desktop yang ringkas: satu baris, tanpa pill pada menu aktif. */
@media (min-width: 1021px) {
    .navbar.main-navbar {
        min-height: 64px;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .navbar.main-navbar .nav-links {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 26px;
        margin-left: auto;
    }

    .navbar.main-navbar .nav-links > a {
        padding: 7px 0;
        border-radius: 0;
        background: transparent !important;
        color: var(--primary) !important;
        font-size: 15px;
        font-weight: 750;
    }

    .navbar.main-navbar .nav-links > a:not(.nav-login)::after {
        left: 0;
        bottom: -3px;
        width: 0;
        height: 3px;
        border-radius: 999px;
        background: var(--lime);
    }

    .navbar.main-navbar .nav-links > a.active:not(.nav-login)::after {
        left: 0;
        width: 100%;
    }

    .navbar.main-navbar .nav-links > a:not(.active):not(.nav-login):hover::after {
        width: 0;
    }

    /* Satu garis indikator yang berpindah mengikuti menu aktif/di-hover. */
    .navbar.main-navbar .nav-links.nav-indicator-ready {
        position: relative;
    }

    .navbar.main-navbar .nav-links.nav-indicator-ready::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: var(--nav-indicator-width, 0px);
        height: 3px;
        border-radius: 999px;
        background: var(--lime);
        transform: translateX(var(--nav-indicator-left, 0px));
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.28s ease;
        pointer-events: none;
    }

    .navbar.main-navbar .nav-links.nav-indicator-ready > a:not(.nav-login)::after {
        display: none;
    }

    .navbar.main-navbar .nav-links > .nav-login {
        min-width: 80px;
        padding: 10px 20px;
        border-radius: 999px;
        background: var(--primary) !important;
        color: #ffffff !important;
        box-shadow: none;
        text-align: center;
    }
}

/* Cegah nama merek panjang mendorong menu sebelum mode hamburger dimulai. */
@media (min-width: 1021px) and (max-width: 1199px) {
    .navbar.main-navbar .brand span {
        display: none;
    }
}

/* Beranda mobile memakai bahasa visual desktop yang sama: heading polos,
   kartu putih, dan warna hijau yang konsisten. Susunan tetap satu kolom
   agar nyaman dibaca di layar kecil. */
@media (max-width: 1020px) {
    .hero-modern .hero-badge,
    .hero-content h1,
    .hero-content p,
    .step-card,
    .gallery-item {
        opacity: 1;
        animation: none;
    }

    .home-section {
        padding: 42px 0;
    }

    .home-section .section-heading {
        width: calc(100% - 32px);
        max-width: 670px;
        margin: 0 auto 26px;
        padding: 0;
        color: inherit;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        isolation: auto;
    }

    .home-section .section-heading::before,
    .home-section .section-heading::after {
        display: none;
    }

    .home-section .section-heading h2 {
        margin: 0 0 10px;
        color: var(--primary);
        font-size: clamp(26px, 7vw, 31px);
        line-height: 1.18;
        font-weight: 950;
        letter-spacing: -0.35px;
    }

    .home-section .section-heading p {
        max-width: 570px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.7;
    }

    .home-section .section-heading .mini-label {
        margin-bottom: 9px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--primary);
        font-size: 12px;
    }

    .home-section .section-heading .mini-label::before {
        width: 18px;
        height: 10px;
        flex-basis: 18px;
        background: linear-gradient(90deg, var(--lime), var(--primary));
    }

    .steps-grid,
    .gallery-wrapper {
        width: calc(100% - 32px);
        max-width: 670px;
    }

    .steps-grid {
        gap: 16px;
    }

    .step-card {
        min-height: 0;
        padding: 20px;
        border-radius: 18px;
    }

    .step-number {
        width: 38px;
        height: 38px;
        margin-bottom: 14px;
        border-radius: 12px;
        font-size: 14px;
    }

    .step-card h3 {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .step-card p {
        font-size: 14px;
        line-height: 1.68;
    }

    .step-card::after {
        width: 104px;
        height: 104px;
        right: -42px;
        top: -42px;
    }

    .gallery-section {
        padding: 46px 0 50px;
    }

    .gallery-wrapper {
        padding: 14px 0;
        border-radius: 18px;
    }

    .gallery-item {
        width: 190px;
        height: 118px;
        border-width: 4px;
        border-radius: 14px;
    }
}

@media (max-width: 560px) {
    .home-section .section-heading,
    .steps-grid,
    .gallery-wrapper {
        width: calc(100% - 24px);
    }

    .home-section .section-heading p {
        font-size: 13px;
    }
}

/* Penyesuaian hero ponsel: ukuran kolase dan tipografi tidak boleh membawa
   nilai desktop agar tidak memotong sisi kanan layar. */
@media (max-width: 1020px) {
    .hero-modern {
        min-height: auto;
        padding: 42px 0;
    }

    .hero-modern-container {
        width: min(calc(100% - 32px), 670px);
        max-width: 670px;
        gap: 28px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-modern .hero-badge {
        max-width: 100%;
        white-space: normal;
        font-size: 12px;
    }

    .hero-content h1 {
        max-width: 100%;
        font-size: clamp(26px, 7.5vw, 31px);
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .hero-content p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.72;
    }

    .hero-image-area {
        width: 100%;
    }

    .hero-photo-collage {
        width: min(320px, 100%);
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 560px) {
    .hero-modern-container {
        width: calc(100% - 24px);
    }

    .hero-photo-collage {
        width: min(300px, 100%);
        max-width: 300px;
    }
}

/* Skala konten desktop diperbesar agar isi beranda lebih menonjol. */
@media (min-width: 1021px) {
    .hero-modern-container {
        width: min(1040px, calc(100% - 48px));
        max-width: 1040px;
        gap: 32px;
    }

    .hero-content h1 { font-size: 44px; }
    .hero-content p { max-width: 500px; font-size: 14px; }
    .hero-modern .hero-badge { font-size: 12px; }
    .hero-photo-collage { width: 440px; margin-left: 20px; }

    .home-section .section-heading,
    .steps-grid,
    .gallery-wrapper {
        width: min(1040px, calc(100% - 48px));
        max-width: 1040px;
    }

    .gallery-wrapper {
        width: min(1200px, calc(100% - 48px));
        max-width: 1200px;
        padding: 18px 0;
    }

    .home-section .section-heading h2 { font-size: 34px; }
    .home-section .section-heading p { font-size: 14px; }
    .home-section .section-heading .mini-label { font-size: 12px; }

    .step-card { min-height: 226px; padding: 20px; }
    .step-number { width: 40px; height: 40px; font-size: 15px; }
    .step-card h3 { font-size: 19px; }
    .step-card p { font-size: 13.5px; }
    .gallery-item { width: 240px; height: 150px; }
}

/* Proporsi kolase hero desktop mengikuti komposisi foto acuan. */
@media (min-width: 1021px) {
    .hero-photo-collage {
        width: 480px;
        max-width: none;
        aspect-ratio: 1.02 / 1;
        margin-left: 10px;
    }

    .hero-photo {
        border-width: 8px;
        border-radius: 30px;
        box-shadow: 0 22px 42px rgba(15, 81, 50, 0.20);
    }

    .hero-photo-top {
        top: 0;
        right: 12%;
        width: 56%;
        height: 34%;
    }

    .hero-photo-left {
        top: 27%;
        left: 0;
        width: 51.5%;
        height: 56%;
    }

    .hero-photo-main {
        top: 28%;
        right: 0;
        width: 50%;
        height: 67.5%;
    }

    .hero-photo-bottom {
        bottom: 0;
        left: 22%;
        width: 41%;
        height: 28%;
        z-index: 6;
    }

}

/* Ukuran dan geometri kolase hero mengikuti komposisi acuan. */
@media (min-width: 1021px) {
    .hero-image-area {
        overflow: visible;
    }

    .hero-photo-collage {
        width: 480px;
        max-width: none;
        aspect-ratio: 1.016 / 1;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-photo {
        border-width: 9px;
        border-radius: 31px;
    }

    .hero-photo-top {
        top: 0;
        right: 9.7%;
        width: 58%;
        height: 34%;
    }

    .hero-photo-left {
        top: 26.5%;
        left: 0;
        width: 51.5%;
        height: 56%;
    }

    .hero-photo-main {
        top: 27.5%;
        right: 0;
        width: 50%;
        height: 67.5%;
    }

    .hero-photo-bottom {
        bottom: 0;
        left: 22%;
        width: 44.5%;
        height: 28.5%;
        z-index: 6;
    }

}

/* Pada layar lebar, ukuran komponen mencapai skala contoh (±620px). */
@media (min-width: 1500px) {
    .hero-modern {
        min-height: 690px;
    }

    .hero-modern-container {
        width: min(1320px, calc(100% - 96px));
        max-width: 1320px;
    }

    .hero-photo-collage {
        width: 620px;
    }
}

/* Skala sedikit lebih ringkas; frame dengan aksen bintang menjadi lapisan belakang. */
@media (min-width: 1021px) {
    .hero-photo-collage {
        width: 450px;
    }

    .hero-photo-main {
        z-index: 1;
    }

    .hero-photo-top {
        z-index: 2;
    }

    .hero-photo-left {
        z-index: 3;
    }

    .hero-photo-bottom {
        z-index: 5;
    }
}

@media (min-width: 1500px) {
    .hero-modern {
        min-height: 650px;
    }

    /* Di layar lebar, batas hero mengikuti tepat lebar konten Alur di bawah. */
    .hero-modern-container {
        width: min(1040px, calc(100% - 48px));
        max-width: 1040px;
    }

    .hero-photo-collage {
        width: 450px;
    }
}

/* Animasi lembut kolase hero tetap dipertahankan. */
@media (min-width: 1021px) {
    .hero-photo-collage {
        animation: float 12s ease-in-out infinite;
    }
}

/* Hero awal memenuhi satu layar penuh agar section berikutnya tidak tampak
   terpotong di bagian bawah viewport. Diletakkan terakhir untuk mengunci
   tinggi setelah seluruh override ukuran desktop dan mobile. */
.hero-modern {
    min-height: 100vh;
    min-height: 100svh;
}

/* Skala halaman publik mengikuti proporsi Beranda pada layar desktop. */
@media (min-width: 1021px) {
    .form-container,
    .content-container,
    .page-container,
    .info-wrapper .page-hero,
    .cta-modern,
    .syarat-note {
        width: min(1040px, calc(100% - 48px));
        max-width: 1040px;
    }

    .form-wrapper .section-heading,
    .info-wrapper .section-heading,
    .syarat-wrapper .section-heading,
    .info-wrapper .page-hero {
        padding: 30px 28px 32px;
    }

    .form-wrapper .section-heading h2,
    .info-wrapper .section-heading h2,
    .syarat-wrapper .section-heading h2,
    .info-wrapper .page-hero h1 {
        font-size: 34px;
    }

    .form-wrapper .section-heading p,
    .info-wrapper .section-heading p,
    .syarat-wrapper .section-heading p,
    .info-wrapper .page-hero p {
        font-size: 14px;
    }

    .form-wrapper .section-heading .mini-label,
    .info-wrapper .section-heading .mini-label,
    .syarat-wrapper .section-heading .mini-label,
    .info-wrapper .page-badge {
        padding: 7px 13px;
        font-size: 12px;
    }

    .info-card,
    .activity-card {
        padding: 20px;
    }

    .info-card-content {
        padding: 22px;
    }

    .info-card h2 {
        font-size: 22px;
    }

    .info-desc,
    .activity-card li {
        font-size: 13px;
    }

    .activity-card h3 {
        font-size: 18px;
    }

    .form-card {
        padding: 22px;
    }

    .section-head {
        padding: 15px 18px;
    }

    .section-head h2 {
        font-size: 21px;
    }

    .section-head p,
    .form-card input,
    .form-card select,
    .form-card textarea {
        font-size: 13px;
    }

    .syarat-card-content {
        padding: 22px 22px 24px;
    }

    .syarat-card h2 {
        font-size: 19px;
    }

    .syarat-card h3,
    .syarat-card li {
        font-size: 13px;
    }

    .cta-modern,
    .syarat-note {
        padding: 30px 34px;
    }

    .cta-modern h2,
    .syarat-note h2 {
        font-size: 36px;
    }

    .cta-modern p,
    .syarat-note p {
        font-size: 14px;
    }

    .cta-btn,
    .btn-modern,
    .syarat-note-actions .btn {
        min-height: 50px;
        padding: 0 22px;
        font-size: 14px;
    }

    .login-container {
        max-width: 1040px;
        gap: 38px;
    }

    .login-intro {
        max-width: 540px;
    }

    .login-intro h1 {
        font-size: 44px;
    }

    .login-intro p {
        font-size: 14px;
    }

    .login-intro .hero-badge {
        padding: 8px 14px;
        font-size: 12px;
    }

    .role-list {
        gap: 10px;
    }

    .role-item {
        padding: 14px;
    }

    .role-icon {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .role-item strong {
        font-size: 14px;
    }

    .login-card {
        padding: 28px;
    }

    .login-card h2 {
        font-size: 25px;
    }

    .login-card .login-subtitle,
    .login-card-content .form-group,
    .login-card #loginIdentityInput,
    .login-card input[type="email"],
    .login-card input[type="text"],
    .login-card input[type="password"] {
        font-size: 13px;
    }
}

/* Pengunci akhir konsistensi visual mobile. */
@media (max-width: 1020px) {
    .form-container,
    .content-container,
    .page-container,
    .info-wrapper .page-hero,
    .cta-modern,
    .syarat-note,
    .login-container {
        width: min(820px, calc(100% - 32px));
        max-width: 820px;
    }

    .form-wrapper .section-heading,
    .info-wrapper .section-heading,
    .syarat-wrapper .section-heading,
    .info-wrapper .page-hero,
    .cta-modern,
    .syarat-note {
        border-radius: 22px;
        box-shadow: 0 18px 38px rgba(6, 78, 59, 0.16);
    }

    .form-card,
    .form-shell,
    .info-card,
    .activity-card,
    .syarat-card,
    .login-card,
    .role-item {
        border-color: rgba(6, 78, 59, 0.10);
        box-shadow: 0 14px 32px rgba(6, 78, 59, 0.10);
    }

    .login-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .form-container,
    .content-container,
    .page-container,
    .info-wrapper .page-hero,
    .cta-modern,
    .syarat-note,
    .login-container {
        width: calc(100% - 24px);
        max-width: none;
    }

    .info-two-column,
    .activity-grid,
    .syarat-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper .section-heading,
    .info-wrapper .section-heading,
    .syarat-wrapper .section-heading,
    .info-wrapper .page-hero,
    .cta-modern,
    .syarat-note {
        border-radius: 20px;
    }
}
