/* GONDANG_RECONSTRUCTION_NATIVE_OVERLAY_V1 */

.gondang-native-home{
    margin:0;
    background:#f4f6f4;
}

.gn-page{
    --gn-primary:#0b5a52;
    --gn-accent:#d9ad37;
    --gn-dark:#063f39;
    --gn-text:#18332f;
    --gn-muted:#70807c;
    --gn-line:#e4ebe8;
    --gn-bg:#f4f6f4;
    --gn-white:#fff;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--gn-text);
    background:var(--gn-bg);
}

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

.gn-page a{
    text-decoration:none;
}

.gn-container{
    width:min(1180px,calc(100% - 40px));
    margin-inline:auto;
}

.gn-header{
    height:76px;
    background:#fff;
    border-bottom:1px solid var(--gn-line);
    position:relative;
    z-index:50;
}

.gn-header__inner{
    height:100%;
    display:flex;
    align-items:center;
    gap:24px;
}

.gn-brand{
    display:flex;
    align-items:center;
    gap:11px;
    color:var(--gn-dark);
    min-width:235px;
}

.gn-brand img{
    width:42px;
    height:48px;
    object-fit:contain;
}

.gn-brand__mark{
    width:42px;
    height:48px;
    display:grid;
    place-items:center;
    background:linear-gradient(150deg,var(--gn-primary),var(--gn-dark));
    color:#fff;
    border-radius:12px 12px 17px 17px;
    font-size:23px;
    font-weight:800;
    border:2px solid rgba(217,173,55,.55);
}

.gn-brand__copy{
    display:flex;
    flex-direction:column;
}

.gn-brand__copy strong{
    font-size:17px;
    line-height:1.1;
}

.gn-brand__copy small{
    font-size:10px;
    color:#71807d;
    margin-top:4px;
}

.gn-nav{
    display:flex;
    align-items:center;
    gap:4px;
    flex:1;
    justify-content:center;
}

.gn-nav>a{
    color:#31514c;
    font-size:13px;
    font-weight:600;
    padding:11px 10px;
    border-radius:8px;
}

.gn-nav>a:hover,
.gn-nav>a.is-active{
    color:var(--gn-primary);
    background:#edf7f4;
}

.gn-header__actions{
    display:flex;
    align-items:center;
    gap:8px;
}

.gn-search{
    height:38px;
    width:185px;
    border:1px solid #dce5e2;
    border-radius:999px;
    padding:0 12px;
    display:flex;
    align-items:center;
    gap:6px;
    background:#fff;
}

.gn-search input{
    border:0;
    outline:0;
    min-width:0;
    width:100%;
    font-size:12px;
    color:#36534f;
}

.gn-button,
.gn-login{
    min-height:38px;
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 15px;
    font-size:12px;
    font-weight:700;
}

.gn-button--complaint{
    color:#fff;
    background:var(--gn-primary);
}

.gn-login{
    border:1px solid var(--gn-primary);
    color:var(--gn-primary);
}

.gn-nav-toggle{
    display:none;
    margin-left:auto;
    width:42px;
    height:42px;
    border:0;
    background:#eff6f4;
    border-radius:9px;
    padding:10px;
}

.gn-nav-toggle span{
    display:block;
    width:100%;
    height:2px;
    margin:4px 0;
    background:var(--gn-primary);
}


.gn-hero{
    min-height:440px;
    display:flex;
    align-items:center;
    color:#fff;
    background:
        radial-gradient(circle at 75% 20%,rgba(217,173,55,.22),transparent 22%),
        linear-gradient(120deg,#063f39,#0c675d);
    background-position:center;
    background-size:cover;
}

.gn-hero__content{
    padding:60px 0;
}

.gn-hero__kicker{
    color:#f3d479;
    font-size:22px;
    font-style:italic;
}

.gn-hero h1{
    margin:5px 0 0;
    font-size:58px;
    line-height:1;
    letter-spacing:-2px;
}

.gn-hero h2{
    margin:11px 0 0;
    font-size:17px;
    font-weight:600;
}

.gn-hero p{
    max-width:620px;
    margin:22px 0 0;
    color:rgba(255,255,255,.84);
    font-size:15px;
    line-height:1.7;
}

.gn-hero__buttons{
    margin-top:28px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.gn-button--accent{
    background:var(--gn-accent);
    color:#342b14;
}

.gn-button--ghost{
    color:#fff;
    border:1px solid rgba(255,255,255,.55);
    background:rgba(255,255,255,.07);
}


.gn-stats{
    background:var(--gn-primary);
    color:#fff;
}

.gn-stats__grid{
    min-height:92px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
}

.gn-stat{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:15px;
    border-right:1px solid rgba(255,255,255,.16);
}

.gn-stat:last-child{
    border-right:0;
}

.gn-stat>span{
    color:#f0cd67;
    font-size:22px;
}

.gn-stat div{
    display:flex;
    flex-direction:column;
}

.gn-stat strong{
    font-size:19px;
}

.gn-stat small{
    color:rgba(255,255,255,.7);
    margin-top:2px;
    font-size:10px;
}


.gn-content{
    padding:28px 0 54px;
}

.gn-grid{
    display:grid;
    gap:18px;
    margin-bottom:18px;
}

.gn-grid--4{
    grid-template-columns:repeat(4,1fr);
}

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

.gn-card{
    background:#fff;
    border:1px solid var(--gn-line);
    border-radius:14px;
    padding:20px;
    box-shadow:0 5px 18px rgba(21,62,55,.045);
}

.gn-wide{
    margin-bottom:18px;
}

.gn-section-title{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    margin-bottom:16px;
}

.gn-section-title span{
    display:block;
    color:var(--gn-primary);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.gn-section-title h3{
    margin:2px 0 0;
    color:#163d37;
    font-size:18px;
    line-height:1.2;
}

.gn-section-title>a{
    font-size:11px;
    color:var(--gn-primary);
    white-space:nowrap;
}

.gn-service-list,
.gn-list,
.gn-news{
    display:grid;
    gap:0;
}

.gn-service-list>a,
.gn-list>a,
.gn-news>a{
    display:flex;
    gap:10px;
    padding:11px 0;
    color:#254a44;
    border-bottom:1px solid #edf1ef;
}

.gn-service-list>a:last-child,
.gn-list>a:last-child,
.gn-news>a:last-child{
    border-bottom:0;
}

.gn-service-list b,
.gn-news b{
    display:block;
    font-size:12px;
    line-height:1.35;
}

.gn-service-list small,
.gn-news small{
    display:block;
    color:#83908d;
    margin-top:3px;
    font-size:10px;
    line-height:1.4;
}

.gn-list>a b{
    font-size:11px;
    line-height:1.45;
}

.gn-empty{
    color:#85918e;
    background:#f6f8f7;
    border:1px dashed #dce4e1;
    border-radius:9px;
    padding:14px;
    font-size:11px;
    line-height:1.55;
}

.gn-empty--wide{
    grid-column:1/-1;
}


.gn-territory{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-radius:10px;
    overflow:hidden;
    background:#edf6f3;
    margin-bottom:13px;
}

.gn-territory>div{
    text-align:center;
    padding:12px 5px;
    border-right:1px solid #d9e8e4;
}

.gn-territory>div:last-child{
    border-right:0;
}

.gn-territory strong{
    display:block;
    color:var(--gn-primary);
    font-size:20px;
}

.gn-territory small{
    color:#70827e;
    font-size:9px;
}

.gn-dukuh{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
}

.gn-dukuh span{
    font-size:9px;
    border:1px solid #dde7e4;
    color:#55706b;
    border-radius:999px;
    padding:5px 7px;
    background:#fff;
}

.gn-agenda{
    padding:10px 0;
    border-bottom:1px solid #edf1ef;
}

.gn-agenda:last-child{
    border-bottom:0;
}

.gn-agenda span{
    color:var(--gn-primary);
    font-size:9px;
}

.gn-agenda b{
    display:block;
    margin-top:2px;
    font-size:11px;
}

.gn-agenda small{
    color:#87928f;
    font-size:9px;
}


.gn-quick{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin:4px 0 18px;
}

.gn-quick>a{
    min-height:88px;
    border-radius:12px;
    padding:16px;
    background:linear-gradient(135deg,#0c6258,#07483f);
    color:#fff;
}

.gn-quick strong{
    display:block;
    color:#f0ca5a;
    font-size:20px;
}

.gn-quick span{
    font-size:10px;
    color:rgba(255,255,255,.72);
}


.gn-native-widget{
    overflow:hidden;
}

.gn-native-widget>*{
    max-width:100%;
}


.gn-officials{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

.gn-official{
    min-width:0;
    text-align:center;
    padding:13px 8px;
    background:#f7f9f8;
    border-radius:10px;
}

.gn-official>span{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin:0 auto 9px;
    background:linear-gradient(145deg,var(--gn-primary),#063f39);
    color:#fff;
    border-radius:50%;
    font-weight:800;
    font-size:18px;
}

.gn-official b{
    display:block;
    font-size:10px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.gn-official small{
    display:block;
    margin-top:3px;
    color:#7d8986;
    font-size:8px;
}


.gn-news>a{
    align-items:flex-start;
}

.gn-news__mark{
    flex:none;
    width:29px;
    height:29px;
    border-radius:7px;
    display:grid;
    place-items:center;
    background:#eaf5f1;
    color:var(--gn-primary);
    font-size:9px;
    font-weight:800;
}


.gn-lapak__hero{
    min-height:210px;
    border-radius:12px;
    padding:26px;
    background:
        radial-gradient(circle at 80% 20%,rgba(217,173,55,.28),transparent 22%),
        linear-gradient(135deg,#164e46,#073d37);
    color:#fff;
}

.gn-lapak__hero strong{
    display:block;
    color:#efc955;
    font-size:27px;
}

.gn-lapak__hero p{
    max-width:340px;
    color:rgba(255,255,255,.75);
    line-height:1.6;
    font-size:12px;
    margin-bottom:20px;
}


.gn-gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

.gn-gallery>a{
    min-height:108px;
    border-radius:9px;
    overflow:hidden;
    display:flex;
    align-items:flex-end;
    padding:10px;
    color:#fff;
    background:
        linear-gradient(145deg,#166459,#0c4039);
    background-position:center;
    background-size:cover;
}

.gn-gallery>a span{
    font-size:10px;
    font-weight:700;
    text-shadow:0 1px 5px rgba(0,0,0,.35);
}


.gn-footer{
    background:
        radial-gradient(circle at 75% 0,rgba(217,173,55,.1),transparent 20%),
        linear-gradient(110deg,#06443e,#073b36);
    color:#fff;
    padding:42px 0 0;
}

.gn-footer__grid{
    display:grid;
    grid-template-columns:2fr 1fr 1.4fr;
    gap:45px;
}

.gn-footer__brand{
    font-size:22px;
}

.gn-footer p{
    color:rgba(255,255,255,.72);
    font-size:11px;
    line-height:1.7;
    max-width:410px;
}

.gn-footer h4{
    margin:0 0 13px;
    color:#f0cc67;
    font-size:12px;
}

.gn-footer__grid>div>a{
    display:block;
    color:rgba(255,255,255,.76);
    font-size:11px;
    margin:8px 0;
}

.gn-footer__map{
    color:#f0cc67!important;
}

.gn-social{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.gn-social a{
    color:#fff;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    padding:5px 8px;
    font-size:9px;
}

.gn-footer__bottom{
    border-top:1px solid rgba(255,255,255,.14);
    margin-top:34px;
    min-height:58px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:rgba(255,255,255,.55);
    font-size:9px;
}


@media (max-width:1100px){
    .gn-header__actions{
        display:none;
    }

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

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


@media (max-width:820px){
    .gn-container{
        width:min(100% - 28px,1180px);
    }

    .gn-header{
        height:68px;
    }

    .gn-brand{
        min-width:0;
    }

    .gn-brand__copy small{
        display:none;
    }

    .gn-nav-toggle{
        display:block;
    }

    .gn-nav{
        display:none;
        position:absolute;
        left:14px;
        right:14px;
        top:66px;
        padding:10px;
        border-radius:12px;
        background:#fff;
        box-shadow:0 12px 30px rgba(0,0,0,.12);
        flex-direction:column;
        align-items:stretch;
    }

    .gn-nav.is-open{
        display:flex;
    }

    .gn-nav>a{
        padding:10px 12px;
    }

    .gn-hero{
        min-height:390px;
    }

    .gn-hero h1{
        font-size:43px;
    }

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

    .gn-stat{
        border-bottom:1px solid rgba(255,255,255,.14);
    }

    .gn-stat:last-child{
        grid-column:1/-1;
    }

    .gn-grid--2,
    .gn-grid--4{
        grid-template-columns:1fr;
    }

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

    .gn-footer__grid{
        grid-template-columns:1fr 1fr;
    }
}


@media (max-width:520px){
    .gn-brand__copy strong{
        font-size:14px;
    }

    .gn-brand__mark{
        width:36px;
        height:40px;
    }

    .gn-hero{
        min-height:350px;
    }

    .gn-hero h1{
        font-size:36px;
    }

    .gn-hero__kicker{
        font-size:18px;
    }

    .gn-hero p{
        font-size:13px;
    }

    .gn-stats__grid{
        grid-template-columns:1fr;
    }

    .gn-stat,
    .gn-stat:last-child{
        grid-column:auto;
        justify-content:flex-start;
    }

    .gn-quick{
        grid-template-columns:1fr 1fr;
    }

    .gn-officials{
        grid-template-columns:1fr 1fr;
    }

    .gn-gallery{
        grid-template-columns:1fr;
    }

    .gn-footer__grid{
        grid-template-columns:1fr;
    }

    .gn-footer__bottom{
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        gap:5px;
    }
}


/* ==========================================================
   GONDANG_RECURSIVE_MENU_V3
   Native recursive dropdown
   Mobile breakpoint follows existing Gondang 820px contract
   ========================================================== */

.gn-nav{
    flex-wrap:wrap;
}

.gn-nav__item{
    position:relative;
    min-width:0;
}

.gn-nav__row{
    display:flex;
    align-items:center;
}

.gn-nav__link{
    display:block;
    color:#31514c;
    font-size:13px;
    font-weight:600;
    line-height:1.3;
    padding:11px 10px;
    border-radius:8px;
    text-decoration:none;
}

.gn-nav__link:hover,
.gn-nav__link:focus-visible,
.gn-nav__item.is-submenu-open
> .gn-nav__row
> .gn-nav__link{
    color:var(--gn-primary);
    background:#edf7f4;
}

.gn-nav__submenu-toggle{
    width:28px;
    height:34px;
    display:grid;
    place-items:center;
    flex:0 0 28px;
    margin-left:-5px;
    padding:0;
    border:0;
    border-radius:7px;
    color:#52736d;
    background:transparent;
    cursor:pointer;
}

.gn-nav__submenu-toggle:hover,
.gn-nav__submenu-toggle:focus-visible{
    color:var(--gn-primary);
    background:#edf7f4;
    outline:none;
}

.gn-nav__chevron{
    display:block;
    width:7px;
    height:7px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:rotate(45deg);
    transition:transform .18s ease;
}

.gn-submenu{
    display:none;
    position:absolute;
    z-index:140;
    top:calc(100% + 5px);
    left:0;
    min-width:230px;
    width:max-content;
    max-width:min(320px,calc(100vw - 24px));
    padding:6px;
    background:#fff;
    border:1px solid #e1ebe8;
    border-radius:12px;
    box-shadow:
        0 16px 40px rgba(5,49,44,.16),
        0 3px 12px rgba(5,49,44,.08);
}

.gn-submenu .gn-nav__item,
.gn-submenu .gn-nav__row{
    width:100%;
}

.gn-submenu .gn-nav__link{
    width:100%;
    flex:1 1 auto;
    padding:10px 11px;
    white-space:normal;
}

.gn-submenu .gn-submenu{
    top:-6px;
    left:calc(100% + 6px);
}

@media (min-width:821px){

    .gn-nav__item:hover
    > .gn-submenu,

    .gn-nav__item:focus-within
    > .gn-submenu,

    .gn-nav__item.is-submenu-open
    > .gn-submenu{
        display:block;
    }

    .gn-submenu
    .gn-nav__submenu-toggle
    .gn-nav__chevron{
        transform:rotate(-45deg);
    }
}

@media (max-width:820px){

    .gn-nav{
        overflow-y:auto;
        max-height:calc(100vh - 92px);
        overscroll-behavior:contain;
    }

    .gn-nav__item,
    .gn-nav__row{
        width:100%;
    }

    .gn-nav__link{
        flex:1 1 auto;
        padding:10px 12px;
    }

    .gn-nav__submenu-toggle{
        width:42px;
        height:42px;
        flex-basis:42px;
        margin-left:0;
    }

    .gn-submenu,
    .gn-submenu .gn-submenu{
        position:static;
        width:auto;
        min-width:0;
        max-width:none;
        margin:2px 0 5px 13px;
        padding:3px 0 3px 8px;
        border:0;
        border-left:2px solid #d9ebe6;
        border-radius:0;
        background:#fbfdfc;
        box-shadow:none;
    }

    .gn-nav__item.is-submenu-open
    > .gn-submenu{
        display:block;
    }

    .gn-nav__item.is-submenu-open
    > .gn-nav__row
    .gn-nav__chevron{
        transform:rotate(225deg);
    }
}


/* ==========================================================
   GONDANG_UNIVERSAL_PUBLIC_SHELL_V1
   Shared header/footer for every public page
   ========================================================== */

.gn-inner-shell{
    position:relative;
    z-index:1600;
    background:#fff;
}

.gn-inner-shell .gn-header{
    position:relative;
    z-index:1600;
    isolation:isolate;
}

.gn-inner-shell .gn-header__inner{
    min-height:76px;
}

.gn-footer-shell{
    position:relative;
    z-index:1200;
    margin-top:36px;
    padding:38px 0 0;
    color:#dbe9e5;
    background:
        linear-gradient(
            135deg,
            #073f3a,
            #0b5a52
        );
}

.gn-footer-shell__grid{
    display:grid;
    grid-template-columns:
        minmax(0,1.5fr)
        minmax(170px,.7fr)
        minmax(200px,.9fr);
    gap:34px;
    padding:0 0 34px;
}

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

.gn-footer-shell__brand img{
    width:64px;
    height:64px;
    flex:0 0 64px;
    object-fit:contain;
}

.gn-footer-shell__brand strong,
.gn-footer-shell__links > strong,
.gn-footer-shell__contact > strong{
    display:block;
    margin-bottom:9px;
    color:#fff;
    font-size:15px;
    font-weight:700;
}

.gn-footer-shell__brand p,
.gn-footer-shell__brand small,
.gn-footer-shell__contact p{
    display:block;
    margin:0;
    color:#c7ddd7;
    line-height:1.7;
}

.gn-footer-shell__brand small{
    margin-top:5px;
}

.gn-footer-shell__links div{
    display:grid;
    gap:7px;
}

.gn-footer-shell a{
    color:#dbe9e5;
    text-decoration:none;
}

.gn-footer-shell a:hover,
.gn-footer-shell a:focus-visible{
    color:#fff;
    text-decoration:underline;
    text-underline-offset:4px;
}

.gn-footer-shell__contact{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.gn-footer-shell__social{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    padding:17px 0;
    border-top:
        1px solid
        rgba(255,255,255,.12);
}

.gn-footer-shell__social a{
    font-size:13px;
}

.gn-footer-shell__bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 0 22px;
    border-top:
        1px solid
        rgba(255,255,255,.12);
    color:#b9d1cb;
    font-size:12px;
}

#main-peta{
    position:relative;
    z-index:1;
}

#main-peta #map{
    z-index:1;
}

@media (max-width:820px){

    .gn-inner-shell .gn-header__inner{
        min-height:68px;
    }

    .gn-footer-shell{
        margin-top:24px;
        padding-top:28px;
    }

    .gn-footer-shell__grid{
        grid-template-columns:1fr;
        gap:24px;
        padding-bottom:26px;
    }

    .gn-footer-shell__bottom{
        align-items:flex-start;
        flex-direction:column;
        gap:5px;
    }
}
