/* Website Desa Teteaji — edit warna dan isi sesuai kebutuhan */
:root{
    --green:#174d3b;
    --green2:#22684f;
    --lime:#d7e8b4;
    --cream:#f7f6f0;
    --ink:#1d2c25;
    --muted:#68766f;
    --line:#e4e8e0;
    --white:#fff;
    --gold:#e2b66d;
    --shadow:0 18px 55px rgba(22,51,38,.11)
}
*{
    box-sizing:border-box
}
html{
    scroll-behavior:smooth;
    scroll-padding-top:85px
}
body{
    margin:0;
    font-family:"DM Sans",sans-serif;
    color:var(--ink);
    background:#fff;
    line-height:1.65
}
img{
    display:block;
    max-width:100%
}
a{
    color:inherit;
    text-decoration:none
}
button,input,textarea{
    font:inherit
}
.container{
    width:min(1160px,calc(100% - 44px));
    margin:auto
}
.topbar{
    background:#123b2e;
    color:#dce9df;
    font-size:12px;
    letter-spacing:.02em
}
.topbar-inner{
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px
}
.site-header{
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(20,60,43,.08)
}
.nav-wrap{
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px
}
.brand{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0
}
.brand-mark{
    width:45px;
    height:45px;
    border-radius:14px;
    background:var(--green);
    color:#fff;
    display:grid;
    place-items:center;
    font-family:"Playfair Display",serif;font-size:18px;
    font-weight:700;
    box-shadow:0 6px 18px #174d3b30
}
.brand strong,.brand small{
    display:block
}
.brand strong{
    font-size:14px;
    letter-spacing:.09em;
    color:var(--green)
}
.brand small{
    font-size:10px;
    color:var(--muted);
    margin-top:1px
}
nav{
    display:flex;
    align-items:center;
    gap:25px
}
.nav-link{
    font-size:12px;
    font-weight:700;
    color:#48564e;
    transition:.2s
}
.nav-link:hover,.nav-link.active{
    color:var(--green)
}
.nav-cta{
    background:var(--green);
    color:#fff;
    padding:11px 17px;
    border-radius:7px
}
.nav-cta:hover{
    color:#fff;
    background:var(--green2)
}
.menu-toggle{
    display:none;
    background:none;
    border:0;
    font-size:26px;
    color:var(--green);
    cursor:pointer
}
.hero{
    position:relative;
    min-height:590px;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:#254b37 url("https://shimiyasan.github.io/Beranda/1.jpeg") center 54%/cover no-repeat;
    color:#fff
}
.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(9,39,27,.88) 0%,rgba(14,48,33,.68) 48%,rgba(17,51,34,.13) 100%)
}
.hero-content{
    position:relative;
    padding-top:26px;
    padding-bottom:40px;
    z-index:1
}
.eyebrow{
    display:inline-block;
    color:var(--green2);
    font-size:10px;
    letter-spacing:.19em;
    font-weight:700;
    margin-bottom:13px
}
.eyebrow.light{
    color:var(--lime)
}
.hero h1{
    font:700 clamp(48px,7vw,82px)/1.06 "Playfair Display",serif;
    letter-spacing:-.035em;
    margin:0 0 22px;
    max-width:680px
}
.hero-content>p{
    font-size:15px;
    color:#e4ebe4;
    max-width:510px;
    line-height:1.9;
    margin:0 0 29px
}
.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px
}
.button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    border:1px solid transparent;
    border-radius:6px;
    padding:13px 20px;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
    transition:transform .2s,background .2s
}
.button:hover{
    transform:translateY(-2px)
}
.button-primary{
    background:var(--lime);
    color:#183b2d
}
.button-primary:hover{
    background:#e4f0cc
}
.button-outline{
    border-color:#ffffff88;
    color:#fff;
    background:#ffffff0b
}
.button-outline:hover{
    background:#ffffff1a
}
.hero-note{
    margin-top:39px;
    font-size:11px;
    color:#d5e3d8;
    display:flex;
    align-items:center;
    gap:9px
}
.live-dot{
    width:7px;
    height:7px;
    background:var(--lime);
    border-radius:50%;
    box-shadow:0 0 0 5px #d7e8b422
}
.hero-label{
    position:absolute;
    right:30px;bottom:28px;
    writing-mode:vertical-rl;
    letter-spacing:.2em;
    font-size:9px;
    color:#fff9
}
.quick-info{
    position:relative;
    margin-top:-1px;
    background:#fff;
    box-shadow:0 12px 35px #132f2010
}
.info-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    padding:27px 0
}
.info-item{
    display:flex;
    align-items:center;
    gap:13px;
    padding:4px 20px;
    border-right:1px solid var(--line)
}
.info-item:first-child{
    padding-left:0
}
.info-item:last-child{
    border:0
}
.info-icon{
    display:grid;
    place-items:center;
    width:39px;
    height:39px;
    border-radius:12px;
    background:#edf4e7;
    color:var(--green);
    font-size:22px
}
.info-item small,.info-item strong{
    display:block
}
.info-item small{
    font-size:10px;
    color:var(--muted);
    margin-bottom:2px
}
.info-item strong{
    font-size:12px;
    color:var(--ink)
}
.section{
    padding:100px 0
}
.two-col{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center
}
.about-visual{
    position:relative;
    padding:0 0 30px 30px
}
.about-visual>img{
    position:relative;
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:4px;
    box-shadow:var(--shadow)
}
.image-caption{
    position:absolute;
    bottom:0;
    right:-10px;
    display:flex;
    align-items:center;
    gap:13px;
    background:#fff;
    padding:15px 20px;
    box-shadow:var(--shadow);
    border-radius:5px
}
.image-caption>span{
    font-size:25px
}
.image-caption strong,.image-caption small{
    display:block
}
.image-caption strong{
    font-size:12px
}
.image-caption small{
    font-size:10px;
    color:var(--muted)
}
.about-copy h2,.section-heading h2,.contact-wrap h2{
    font:700 clamp(29px,4vw,42px)/1.22 "Playfair Display",serif;
    letter-spacing:-.025em;
    margin:0 0 18px
}
.muted{
    color:var(--muted)
}
.about-copy>p{
    font-size:13px;
    line-height:1.95
}
.vision-box{
    display:flex;
    gap:13px;
    padding:18px 20px;
    background:var(--cream);
    border-left:3px solid var(--green);
    margin:24px 0
}
.quote-mark{
    font:700 40px/1 "Playfair Display",serif;color:#8ca878
}
.vision-box strong{
    font-size:12px
}
.vision-box p{
    font-size:12px;
    color:var(--muted);
    margin:4px 0 0
}
.text-link{
    font-size:12px;
    font-weight:700;
    color:var(--green);
    display:inline-flex;
    align-items:center;
    gap:10px
}
.text-link span{
    font-size:17px;
    transition:transform .2s
}
.text-link:hover span{
    transform:translateX(4px)
}
.stats-section{
    background:var(--green);
    color:#fff;
    padding:75px 0 82px
}
.section-heading{
    max-width:610px;
    margin-bottom:38px
}
.section-heading h2{
    margin-bottom:12px
}
.section-heading p{
    font-size:13px;
    margin:0
}
.section-heading.centered{
    text-align:center;
    margin-left:auto;
    margin-right:auto
}
.stats-section .section-heading p{
    color:#c3d4c8
}
.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px
}
.stat-card{
    padding:25px 15px;
    text-align:center;
    background:#ffffff0b;
    border:1px solid #ffffff22;
    border-radius:6px
}
.stat-card>span{
    display:block;
    color:var(--lime);
    font-size:24px;
    margin-bottom:7px
}
.stat-card strong{
    display:block;
    font:700 33px "Playfair Display",serif;
    color:#fff
}
.stat-card small{
    font-size:11px;
    color:#c7d8cd
}
.potential-section{
    background:var(--cream)
}
.cards-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px
}
.feature-card{
    background:#fff;
    border-radius:6px;
    overflow:hidden;
    box-shadow:0 8px 25px #1e3b2810;
    transition:transform .25s,box-shadow .25s
}
.feature-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow)
}
.feature-card>img{
    width:100%;
    height:205px;
    object-fit:cover
}
.feature-body{
    position:relative;
    padding:25px 24px 27px
}
.card-icon{
    position:absolute;
    top:-23px;
    right:23px;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    background:var(--lime);
    border-radius:12px;
    font-size:21px
}
.feature-body h3,.news-body h3{
    font:700 20px "Playfair Display",serif;
    margin:0 0 9px
}
.feature-body p,.news-body p{
    font-size:12px;
    line-height:1.8;
    color:var(--muted)
    ;margin:0
}
.news-section{
    background:#fff
}
.heading-row{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    max-width:none
}
.heading-row .text-link{
    margin-bottom:7px
}
.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px
}
.news-card{
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden;
    transition:box-shadow .2s
}
.news-card:hover{
    box-shadow:var(--shadow)
}
.news-card>img{
    width:100%;
    height:205px;
    object-fit:cover
}
.news-body{
    padding:22px
}
.news-tag{
    display:inline-block;
    background:#edf4e7;
    color:var(--green);
    font-size:9px;
    font-weight:700;
    letter-spacing:.08em;
    padding:5px 8px;
    border-radius:3px;
    margin-right:7px
}
.news-date{
    font-size:10px;
    color:#879189
}
.news-body h3{
    font-size:18px;
    margin:14px 0 9px
}
.news-body .text-link{
    margin-top:16px
}
.demo-note{
    font-size:10px;
    color:#8b948d;
    margin-top:22px
}
.gallery-section{
    background:#f6f7f2
}
.gallery-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    grid-template-rows:190px 190px;
    gap:14px
}
.gallery-item{
    position:relative;
    border:0;
    padding:0;
    overflow:hidden;
    border-radius:5px;
    cursor:pointer;
    background:#dfe6dc;
    text-align:left
}
.gallery-item.gallery-tall{
    grid-row:span 2
}
.gallery-item:last-child{
    grid-column:2 / 4
}
.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s
}
.gallery-item:hover img{
    transform:scale(1.06)
}
.gallery-item:after{
    content:"";
    position:absolute;
    inset:35% 0 0;
    background:linear-gradient(transparent,#102d20b8)
}
.gallery-item span{
    position:absolute;
    bottom:17px;
    left:18px;
    color:#fff;
    z-index:1;
    font-size:12px;
    font-weight:700
}
.contact-section{
    background:#173f31;
    color:#fff;
    padding:80px 0
}
.contact-wrap{
    display:grid;
    grid-template-columns:1fr .85fr;
    gap:90px;
    align-items:start
}
.contact-wrap h2{
    max-width:460px
}
.contact-wrap>div>p{
    font-size:13px;
    color:#c7d8cd;
    max-width:420px;
    line-height:1.9
}
.contact-form{
    background:#fff;
    color:var(--ink);
    padding:27px;
    border-radius:7px;
    display:flex;
    flex-direction:column
}
.contact-form label{
    font-size:11px;
    font-weight:700;
    margin-bottom:6px
}
.contact-form input,.contact-form textarea{
    width:100%;
    border:1px solid #dfe6dd;
    border-radius:4px;
    padding:11px 12px;
    font-size:12px;
    outline:none;
    margin-bottom:15px;
    background:#fbfcfa
}
.contact-form input:focus,.contact-form textarea:focus{
    border-color:var(--green2);
    box-shadow:0 0 0 3px #22684f14
}
.contact-form textarea{
    resize:vertical
}
.form-submit{
    align-self:flex-start;
    background:var(--green);
    color:#fff
}
.form-submit:hover{
    background:var(--green2)
}
.form-status{
    font-size:10px;
    color:var(--muted);
    margin:12px 0 0
}
.footer{
    background:#102e23;
    color:#fff
}
.footer-main{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding:36px 0
}
.footer-brand .brand-mark{
    background:#d7e8b4;
    color:#174d3b
}
.footer-brand strong{
    color:#fff
}
.footer-brand small{
    color:#b7c9bd
}
.footer-main>p{
    font-size:11px;
    color:#b7c9bd;
    max-width:240px
}
.footer-links{
    display:flex;
    gap:19px
}
.footer-links a{
    font-size:11px;
    color:#d9e5dc
}
.footer-links a:hover{
    color:var(--lime)
}
.footer-bottom{
    display:flex;
    justify-content:space-between;
    gap:20px;
    border-top:1px solid #ffffff1c;
    padding:17px 0;
    color:#9eb4a5;
    font-size:10px
}
.lightbox{
    position:fixed;
    inset:0;
    background:#07180feF;
    z-index:50;
    display:none;
    align-items:center;
    justify-content:center;
    padding:35px
}
.lightbox.open{
    display:flex
}
.lightbox img{
    max-width:min(100%,1100px);
    max-height:85vh;
    object-fit:contain;
    border-radius:4px
}
.lightbox button{
    position:absolute;
    top:18px;
    right:24px;
    color:#fff;
    background:none;
    border:0;
    font-size:38px;
    cursor:pointer
}
#backToTop{
    position:fixed;
    right:20px;
    bottom:20px;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:var(--lime);
    color:var(--green);
    font-size:22px;
    box-shadow:var(--shadow);
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:.2s;
    z-index:15
}
#backToTop.visible{
    opacity:1;
    pointer-events:auto
}

@media(max-width:900px){
    .nav-wrap{
        height:72px
    }
    nav{
        gap:14px
    }
    .nav-link{
        font-size:11px
    }
    .brand small{
        max-width:180px
    }
    .two-col{
        gap:45px
    }
    .info-item{
        padding:4px 12px
    }
    .info-item strong{
        font-size:11px
    }
    .contact-wrap{
        gap:45px
    }
    .footer-main{
        flex-wrap:wrap
    }
    .footer-main>p{
        order:3;max-width:none;
        flex-basis:100%}
    }

@media(max-width:700px){
    .container{
        width:min(100% - 34px,540px)
    }
    .topbar-inner{
        font-size:10px;
        min-height:31px
    }
    .topbar-inner span:last-child{
        display:none
    }
    .nav-wrap{
        height:70px
    }
    .menu-toggle{
        display:block
    }
    nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:70px;
        background:#fff;
        padding:16px 22px 22px;
        box-shadow:0 14px 22px #173f3117;
        flex-direction:column;
        align-items:stretch;
        gap:0;
        border-top:1px solid var(--line)
    }
    nav.open{
        display:flex
    }
    .nav-link{
        padding:12px 5px;
        font-size:13px;
        border-bottom:1px solid #f0f2ed
    }
    .nav-cta{
        margin-top:10px;
        text-align:center;
        border:0
    }
    .hero{
        min-height:555px;
        background-position:58% center
    }
    .hero-overlay{
        background:linear-gradient(90deg,rgba(9,39,27,.88),rgba(14,48,33,.55))
    }
    .hero h1{
        font-size:56px
    }
    .hero-content>p{
        font-size:13px
    }
    .hero-label{
        right:12px;bottom:15px;
        font-size:8px
    }
    .hero-note{
        margin-top:30px
    }
    .info-grid{
        grid-template-columns:1fr 1fr;
        padding:17px 0
    }
    .info-item{
        padding:12px 5px;
        border-right:0
    }
    .info-item:nth-child(odd){
        border-right:1px solid var(--line)
    }
    .info-item:nth-child(even){
        padding-left:15px
    }
    .info-item strong{
        font-size:11px
    }
    .info-icon{
        width:34px;
        height:34px;
        font-size:19px
    }
    .section{
        padding:70px 0
    }
    .two-col{
        grid-template-columns:1fr;
        gap:45px
    }
    .about-visual{
        padding-left:15px;
        padding-bottom:25px
    }
    .about-visual>img{
        height:310px
    }
    .image-caption{
        right:-3px;
        padding:12px
    }
    .about-copy h2,.section-heading h2,.contact-wrap h2{
        font-size:32px
    }
    .stats-section{
        padding:65px 0
    }
    .stats-grid{
        grid-template-columns:1fr 1fr;
        gap:10px
    }
    .stat-card{
        padding:20px 10px
    }
    .stat-card strong{
        font-size:29px
    }
    .cards-grid,.news-grid{
        grid-template-columns:1fr;
        gap:17px
    }
    .feature-card>img,.news-card>img{
        height:220px
    }
    .feature-body{
        padding:25px 22px
    }
    .heading-row{
        align-items:start;
        flex-direction:column;
        gap:0
    }
    .heading-row .text-link{
        margin:0 0 25px
    }
    .gallery-grid{
        grid-template-columns:1fr 1fr;
        grid-template-rows:210px 150px 150px;
        gap:9px
    }
    .gallery-item.gallery-tall{
        grid-row:span 2
    }
    .gallery-item:last-child{
        grid-column:auto
    }
    .gallery-item span{
        left:11px;
        bottom:11px;
        font-size:10px
    }
    .contact-section{
        padding:65px 0
    }
    .contact-wrap{
        grid-template-columns:1fr;
        gap:25px
    }
    .contact-form{
        padding:22px
    }
    .footer-main{
        align-items:flex-start;
        flex-direction:column;
        gap:17px
    }
    .footer-main>p{
        order:0;margin:0
    }
    .footer-links{
        flex-wrap:wrap
    }
    .footer-bottom{
        flex-direction:column;
        gap:6px
    }
    .lightbox{
        padding:18px
    }
}
