/* ============================================================
   DESA SLENDRO — Edisi Baru
   Modern, segar, dan elegan.
   ============================================================ */

:root {
    --ink: #10241f;
    --ink-2: #1b382e;
    --paper: #f7f6f1;
    --paper-2: #eeece3;
    --white: #ffffff;
    --line: rgba(16, 36, 31, 0.13);
    --brass: #c8a45c;
    --brass-soft: #e6d6b4;
    --sage: #9dbda7;
    --muted: #6d7b73;

    /* Variabel tema */
    --brand: #10241f;
    --bg: var(--paper);
    --surface: var(--white);
    --header-bg: rgba(247,246,241,.88);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--brass-soft); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink-2); border-radius: 10px; border: 2px solid var(--paper-2); }

.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 112px 0; }

/* ---------- Typography ---------- */
.display {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.045em;
    margin: 18px 0 0;
}
.display em {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
    color: var(--brass);
    letter-spacing: -0.01em;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 56ch; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.section-tag span { color: var(--brass); font-family: 'Sora', sans-serif; }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head > p { color: var(--muted); margin-top: 18px; }
.section-head-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.text-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--brass);
    padding-bottom: 4px;
    white-space: nowrap;
}
.text-link i { color: var(--brass); margin-left: 6px; transition: transform .25s ease; }
.text-link:hover i { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 26px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-sm { padding: 11px 20px; font-size: 0.82rem; }
.btn-lime { background: var(--brass); color: var(--ink); }
.btn-lime:hover { background: #d9b972; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Announcement ---------- */
.announce { background: var(--brand); color: rgba(255,255,255,.72); font-size: 0.76rem; letter-spacing: .02em; }
.announce-inner { display: flex; align-items: center; gap: 26px; min-height: 38px; }
.announce-inner i { color: var(--brass); margin-right: 6px; }
.announce a { margin-left: auto; color: var(--brass); font-weight: 600; }
.announce a i { margin-left: 6px; color: var(--brass); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 30px -24px rgba(16,36,31,.5); }
.header-inner { display: flex; align-items: center; gap: 30px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; color: var(--ink); }
.brand-text { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 500; letter-spacing: -.02em; }
.brand-text strong { font-weight: 700; }

.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
    position: relative;
    padding: 10px 14px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--muted);
    transition: color .25s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 5px;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after { transform: scaleX(1); }
.header-cta { margin-left: 14px; }

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}
.menu-toggle span { width: 20px; height: 1.5px; background: var(--brand); transition: transform .3s ease, opacity .3s ease; }
.menu-toggle.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--brand);
    color: #fff;
    padding-top: 92px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-glow {
    position: absolute;
    width: 700px; height: 700px;
    right: -160px; top: -220px;
    background: radial-gradient(circle, rgba(200,164,92,.16), transparent 65%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
    padding-bottom: 80px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brass-soft);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 6px rgba(200,164,92,.14); }
.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(3rem, 6.4vw, 5.4rem);
    line-height: 1.03;
    letter-spacing: -.055em;
    font-weight: 600;
    margin: 26px 0 22px;
}
.hero h1 em { font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--brass); font-style: italic; letter-spacing: -.02em; }
.hero-desc { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 46ch; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 46px; }
.avatar-stack { display: flex; }
.avatar-stack span {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--sage);
    color: var(--ink);
    font-family: 'Sora', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    border: 2px solid var(--ink);
    margin-left: -9px;
}
.avatar-stack span:first-child { margin-left: 0; background: var(--brass); }
.avatar-stack span:nth-child(2) { background: #c8d8c9; }
.hero-trust p { margin: 0; font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.4; }
.hero-trust strong { color: #fff; font-weight: 600; }

.hero-visual { position: relative; min-height: 520px; }
.hero-ring {
    position: absolute;
    width: 420px; height: 420px;
    border: 1px solid rgba(200,164,92,.28);
    border-radius: 50%;
    right: -40px; top: 10px;
}
.hero-photo { position: absolute; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main {
    width: 74%; height: 440px;
    right: 0; top: 0;
    border-radius: 26px;
}
.hero-photo-sub {
    width: 43%; height: 230px;
    left: 0; bottom: 0;
    border-radius: 22px;
    border: 7px solid var(--ink);
}
.hero-sticker {
    position: absolute;
    right: 4%; bottom: 8%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--brass);
    color: var(--brand);
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
    font-size: .75rem;
    line-height: 1.3;
}
.hero-sticker i { font-size: 1.3rem; }
.hero-sticker strong { font-weight: 700; }

.hero-foot {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 20px 0 26px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .74rem;
    letter-spacing: .08em;
    color: rgba(255,255,255,.5);
}
.hero-foot i { color: var(--brass); margin-right: 8px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--brass); color: var(--brand); padding: 13px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 32s linear infinite; }
.marquee span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.marquee b { font-size: .8rem; opacity: .55; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; }
.about-body > p { color: var(--muted); margin: 0 0 18px; }
.about-body .lead { color: var(--ink); }
.about-points { margin-top: 40px; border-top: 1px solid var(--line); }
.point { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.point-no { font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 700; color: var(--brass); padding-top: 5px; }
.point h3 { margin: 0 0 4px; font-family: 'Sora', sans-serif; font-size: 1.02rem; font-weight: 600; }
.point p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: var(--brand); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { border-left: 1px solid rgba(255,255,255,.15); padding-left: 26px; }
.stat strong { display: block; font-family: 'Sora', sans-serif; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.04em; color: var(--brass); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ---------- Leadership ---------- */
.leader-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; }
.leader {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.leader:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -40px rgba(16,36,31,.5); }
.leader-feature { display: grid; grid-template-columns: .85fr 1fr; gap: 26px; padding: 18px; align-items: center; }
.leader-photo { border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader-feature .leader-photo { height: 360px; }
.leader-info { padding: 10px 8px 14px 0; }
.leader-role { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass); }
.leader-info h3 { font-family: 'Sora', sans-serif; font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; margin: 10px 0 10px; }
.leader-info p { color: var(--muted); font-size: .9rem; margin: 0; }
.leader-line { width: 44px; height: 1px; background: var(--brass); margin: 24px 0 12px; }
.leader-sign { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 1.05rem; color: var(--ink); }
.leader-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.leader-compact { display: flex; align-items: center; gap: 22px; padding: 20px; }
.leader-compact .leader-photo { width: 130px; height: 150px; flex-shrink: 0; }
.leader-compact .leader-info h3 { font-size: 1.2rem; margin: 6px 0; }
.leader-note { background: var(--brand); color: #fff; border-radius: 24px; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.leader-note i { color: var(--brass); font-size: 1.4rem; }
.leader-note p { font-family: 'Instrument Serif', serif; font-size: 1.5rem; font-style: italic; line-height: 1.35; margin: 14px 0 10px; }
.leader-note span { font-size: .74rem; color: rgba(255,255,255,.55); letter-spacing: .06em; }

/* ---------- Services / Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-card {
    position: relative;
    min-height: 210px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.bento-card:hover { transform: translateY(-5px); border-color: var(--brass); box-shadow: 0 26px 50px -40px rgba(16,36,31,.55); }
.bento-wide { grid-column: span 2; }
.bento-icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--paper-2);
    color: var(--ink);
    display: grid; place-items: center;
    font-size: 1.2rem;
    transition: background-color .3s ease, color .3s ease;
}
.bento-card:hover .bento-icon { background: var(--brand); color: var(--brass); }
.bento-card h3 { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; letter-spacing: -.02em; }
.bento-card p { margin: 0; font-size: .87rem; color: var(--muted); max-width: 38ch; }
.bento-arrow {
    position: absolute;
    right: 26px; bottom: 26px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    font-size: .72rem;
    color: var(--ink);
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.bento-card:hover .bento-arrow { background: var(--brass); border-color: var(--brass); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -45px rgba(16,36,31,.55); }
.news-img { position: relative; height: 220px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-cat {
    position: absolute; top: 16px; left: 16px;
    background: var(--surface); color: var(--ink);
    font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 999px;
}
.news-body { padding: 26px; }
.news-date { font-size: .72rem; color: var(--brass); font-weight: 700; letter-spacing: .08em; }
.news-body h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; line-height: 1.35; font-weight: 600; margin: 12px 0 10px; letter-spacing: -.02em; }
.news-body p { font-size: .87rem; color: var(--muted); margin: 0 0 20px; }
.news-read { font-size: .8rem; font-weight: 700; }
.news-read i { color: var(--brass); margin-left: 6px; transition: transform .25s ease; }
.news-card:hover .news-read i { transform: translateX(4px); }
.gallery-hint { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 180px; gap: 14px; }
.gallery-tile { border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-tile:hover img { transform: scale(1.07); }
.tile-a { grid-column: span 5; grid-row: span 2; }
.tile-b { grid-column: span 4; }
.tile-c { grid-column: span 3; }
.tile-d { grid-column: span 3; }
.tile-e { grid-column: span 4; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-copy .lead { margin: 18px 0 34px; }
.contact-list { border-top: 1px solid var(--line); }
.contact-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 14px;
    background: var(--paper-2);
    color: var(--ink);
    display: grid; place-items: center;
}
.contact-item small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.contact-item strong { display: block; font-weight: 500; font-size: .94rem; margin-top: 4px; line-height: 1.5; }

.contact-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 40px;
    box-shadow: 0 40px 80px -60px rgba(16,36,31,.6);
}
.contact-panel h3 { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; margin: 0; }
.contact-panel > p { color: var(--muted); font-size: .88rem; margin: 6px 0 28px; }
.contact-panel label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 16px; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-panel input, .contact-panel textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: .9rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    resize: vertical;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-panel input:focus, .contact-panel textarea:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(200,164,92,.18);
}
.map-wrap { margin-top: 70px; }
.map-wrap iframe { width: 100%; height: 380px; border: 1px solid var(--line); border-radius: 24px; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--brand); color: rgba(255,255,255,.65); padding: 86px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1.2fr; gap: 50px; }
.brand-light { color: #fff; }
.brand-light .brand-mark { color: var(--brass); }
.footer-brand > p { font-size: .88rem; max-width: 34ch; margin: 22px 0; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    display: grid; place-items: center;
    font-size: .82rem;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.socials a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.footer-col h4 { color: #fff; font-family: 'Sora', sans-serif; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 22px; }
.footer-col a, .footer-col p { display: block; font-size: .86rem; margin: 0 0 12px; line-height: 1.6; }
.footer-col a:hover { color: var(--brass); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.13);
    margin-top: 64px;
    padding-top: 24px;
    font-size: .76rem;
}
.footer-bottom i { color: var(--brass); }
.footer-bottom button {
    background: none;
    border: 0;
    color: rgba(255,255,255,.7);
    font-size: .76rem;
    font-weight: 600;
}
.footer-bottom button i { margin-left: 8px; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(8,20,16,.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; max-width: 90vw; }
.lightbox img { max-height: 76vh; max-width: 100%; border-radius: 16px; margin-inline: auto; }
.lightbox figcaption { color: rgba(255,255,255,.72); font-size: .85rem; margin-top: 16px; }
.lightbox button {
    position: absolute;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
    display: grid; place-items: center;
    transition: background-color .25s ease;
}
.lightbox button:hover { background: rgba(255,255,255,.2); }
#lbClose { top: 24px; right: 24px; }
#lbPrev { left: 24px; }
#lbNext { right: 24px; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; bottom: 28px; left: 50%;
    transform: translate(-50%, 18px);
    z-index: 110;
    background: var(--brand);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: .86rem;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--brass); font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .about-grid { gap: 50px; }
    .hero-grid { gap: 40px; }
    .contact-grid { gap: 48px; }
    .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-top .footer-col:last-child { grid-column: span 2; }
}

@media (max-width: 900px) {
    .desktop-nav, .header-cta { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav {
        display: grid;
        gap: 2px;
        padding: 12px 32px 24px;
        border-top: 1px solid var(--line);
        background: var(--bg);
    }
    .mobile-nav:not(.open) { display: none; }
    .mobile-nav a { padding: 12px 0; font-family: 'Sora', sans-serif; font-size: .95rem; border-bottom: 1px solid var(--line); }
    .mobile-nav a span { color: var(--brass); font-size: .72rem; margin-right: 14px; }
    .hero-grid { grid-template-columns: 1fr; padding-bottom: 50px; }
    .hero-visual { min-height: 480px; }
    .hero-photo-main { width: 70%; }
    .hero-photo-sub { width: 40%; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .leader-grid { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 36px); }
    .section { padding: 80px 0; }
    .announce-hide { display: none; }
    .announce-inner { gap: 12px; font-size: .68rem; }
    .header-inner { min-height: 68px; }
    .hero { padding-top: 64px; }
    .hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
    .hero-desc { font-size: .96rem; }
    .hero-visual { min-height: 400px; }
    .hero-photo-main { height: 330px; width: 76%; }
    .hero-photo-sub { height: 180px; width: 44%; }
    .hero-sticker { padding: 10px 14px; }
    .hero-ring { width: 300px; height: 300px; }
    .hero-foot span:last-child { display: none; }
    .bento { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .news-grid { grid-template-columns: 1fr; }
    .leader-feature { grid-template-columns: 1fr; }
    .leader-feature .leader-photo { height: 280px; }
    .leader-compact .leader-photo { width: 100px; height: 120px; }
    .gallery-grid { grid-auto-rows: 130px; }
    .tile-a, .tile-b, .tile-c, .tile-d, .tile-e { grid-column: span 6; grid-row: span 1; }
    .tile-a { grid-row: span 2; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .contact-panel { padding: 26px; }
    .map-wrap iframe { height: 300px; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-top .footer-col:last-child { grid-column: span 1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    display: grid; place-items: center;
    font-size: .88rem;
    transition: background-color .25s ease, color .25s ease;
}
.theme-toggle:hover { background: var(--paper-2); }

/* ---------- Hero search ---------- */
.hero-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 470px;
    margin-top: 30px;
    padding: 6px 6px 6px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.16);
}
.hero-search i { color: var(--brass); font-size: .85rem; }
.hero-search input {
    flex: 1; min-width: 0;
    background: transparent;
    border: 0; outline: none;
    color: #fff;
    font-family: inherit;
    font-size: .84rem;
    padding: 8px 0;
}
.hero-search input::placeholder { color: rgba(255,255,255,.48); }
.hero-search button {
    border: 0;
    border-radius: 999px;
    background: var(--brass);
    color: var(--brand);
    font-size: .78rem;
    font-weight: 700;
    padding: 9px 18px;
    transition: background-color .25s ease;
}
.hero-search button:hover { background: #dcbc7b; }

/* ---------- Quick access ---------- */
.quick { background: var(--bg); padding-bottom: 6px; }
.quick-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.quick-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    font-size: .7rem;
    font-weight: 600;
    text-align: center;
    color: var(--ink);
    transition: transform .3s ease, border-color .3s ease;
}
.quick-grid a:hover { transform: translateY(-4px); border-color: var(--brass); }
.quick-grid a span {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--paper-2);
    color: var(--brass);
    display: grid; place-items: center;
    font-size: .95rem;
}

/* ---------- Transparency ---------- */
.transparency { background: var(--paper-2); }
.budget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.budget-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
}
.budget-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.budget-top h3 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 600; margin: 0; color: var(--ink); }
.budget-top strong { font-family: 'Sora', sans-serif; font-size: 1.45rem; color: var(--brass); }
.bar { height: 6px; border-radius: 99px; background: var(--paper-2); margin: 22px 0 12px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: var(--brass); }
.budget-card p { margin: 0; font-size: .8rem; color: var(--muted); }
.budget-note { font-size: .72rem; color: var(--muted); margin: 18px 0 0; }

/* ---------- Layanan mandiri ---------- */
.mandiri { background: var(--brand); color: #fff; padding: 72px 0; }
.mandiri-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.mandiri p { color: rgba(255,255,255,.6); max-width: 50ch; margin: 16px 0 0; }
.mandiri .display em { color: var(--brass); }

/* ---------- Dark mode ---------- */
[data-theme="dark"] {
    --ink: #e8eee9;
    --paper: #0e1a16;
    --paper-2: #17261f;
    --white: #14231d;
    --line: rgba(255,255,255,.13);
    --muted: #9aaca0;
    --brass: #d9b972;
    --brass-soft: #e8d7ae;
    --sage: #7fa68b;
    --bg: #0e1a16;
    --surface: #14231d;
    --header-bg: rgba(14,26,22,.92);
}
[data-theme="dark"] .site-header.scrolled { box-shadow: 0 12px 30px -24px rgba(0,0,0,.7); }
[data-theme="dark"] .hero { color: #fff; }
[data-theme="dark"] .theme-toggle i { transform: rotate(180deg); }

/* ---------- Responsive tambahan ---------- */
@media (max-width: 1080px) {
    .quick-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 900px) {
    .mandiri-inner { flex-direction: column; align-items: flex-start; }
    .budget-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-search { max-width: 100%; }
    .mandiri { padding: 56px 0; }
}
