/* Variabel warna, tipografi, dan ukuran utama situs */
:root {
  color-scheme: light;
  --red: #C1121F;
  --black: #111111;
  --paper: #fff;
  --mist: #f4f4f4;
  --ink: #242424;
  --muted: #666666;
  --line: #e3e3e3;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --display: 'Segoe UI', Arial, sans-serif;
  --max-width: 1160px;
  --shadow: 0 18px 45px rgb(17 17 17 / 9%);
}

/* Aturan dasar untuk semua elemen */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
body, button, input, select, textarea { font-family: var(--sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { color: var(--black); background: #fde8e9; }

/* Kontainer tengah dan bar informasi paling atas */
.container { width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--black); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.topbar { color: #e4e4e4; background: var(--black); font-size: .76rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar p { margin: 0; }
.topbar-note { color: #d0d0d0; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { transition: color .2s ease; }
.topbar-links a:hover { color: var(--red); }

/* Logo dan navigasi utama */
.site-header { position: sticky; z-index: 20; top: 0; color: #fff; background: var(--black); border-bottom: 1px solid rgb(255 255 255 / 12%); }
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { color: #fff; font: 800 1rem/1.1 var(--display); letter-spacing: .025em; }
.brand-copy span { margin-top: 4px; color: #c9c9c9; font-size: .66rem; letter-spacing: .12em; }
.nav-menu { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.55vw, 23px); margin: 0; padding: 0; list-style: none; }
.nav-menu a { position: relative; display: block; padding: 30px 0; color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.nav-menu a::after { position: absolute; right: 0; bottom: 21px; left: 0; height: 2px; content: ''; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--red); }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; color: #fff; border: 1px solid #555; border-radius: 50%; background: var(--black); cursor: pointer; }
.menu-toggle svg { width: 22px; }

/* Judul, paragraf, dan label kecil */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #C1121F; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; content: ''; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--black); font-family: var(--display); line-height: 1.18; }
h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 5vw, 4.5rem); letter-spacing: -.055em; }
h2 { margin-bottom: 17px; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 1.15rem; letter-spacing: -.02em; }
.lead { color: #dddddd; font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.75; }
.section { padding: 100px 0; }
.section-soft { background: var(--mist); }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading p { max-width: 590px; margin-bottom: 0; color: var(--muted); }
.section-heading.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center p { margin-inline: auto; }
.section-heading-spaced { margin-top: 60px; }
.center-action { margin-top: 28px; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-size: .9rem; font-weight: 700; }
.text-link svg { width: 16px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* Tombol dan tautan ajakan bertindak */
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 21px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font-size: .88rem; font-weight: 700; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: #000000; }
.button-primary:hover { background: #a10f19; }
.button-outline { color: #fff; border-color: rgb(255 255 255 / 52%); background: transparent; }
.button-outline:hover { color: var(--black); background: #fff; }
.button-dark { color: #fff; background: var(--black); }
.button-dark:hover { background: #333; }
.button svg { width: 17px; }

/* Hero utama di halaman beranda */
.hero { position: relative; overflow: hidden; min-height: 630px; color: #fff; background: var(--black); }
/* GANTI FOTO DISINI: ganti ilustrasi dengan url('../images/banner-home.jpg') setelah foto tersedia. */
.hero::before { position: absolute; inset: 0 0 0 38%; content: ''; background: linear-gradient(90deg, var(--black) 0%, rgb(17 17 17 / 90%) 19%, rgb(17 17 17 / 31%) 72%, rgb(17 17 17 / 18%) 100%), url('../images/kegiatan/bg_utama.jpg') center 43%/cover no-repeat; }
.hero::after { position: absolute; top: 0; right: 0; bottom: 0; width: 12px; content: ''; background: var(--red); }
.hero-inner { position: relative; z-index: 1; display: flex; min-height: 630px; align-items: center; padding-block: 72px; }
.hero-copy { max-width: 710px; }
.hero .eyebrow { margin-bottom: 24px; color: #f3b3b8; }
.hero h1 { max-width: 760px; color: #fff; font-family: var(--serif); font-size: clamp(2.7rem, 5.2vw, 4.7rem); font-weight: 400; letter-spacing: -.035em; }
.hero .lead { max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-footnote { margin: 36px 0 0; color: #cccccc; font-size: .78rem; }
.hero-footnote span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--red); vertical-align: 1px; }

/* Ringkasan identitas dan pengantar organisasi */
.stats-strip { position: relative; z-index: 2; margin-top: -1px; color: #fff; background: var(--black); }
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { display: flex; min-height: 110px; align-items: center; gap: 17px; padding: 22px 30px; border-right: 1px solid rgb(255 255 255 / 14%); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: 0; }
.stat-number { color: #fff; font: 700 1.7rem var(--display); white-space: nowrap; }
.stat-label { max-width: 165px; color: #e6e6e6; font-size: .8rem; line-height: 1.4; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(42px, 8vw, 105px); }
.intro-visual { position: relative; padding: 0 0 30px 30px; }
.intro-visual::before { position: absolute; z-index: -1; right: 0; bottom: 0; width: 70%; height: 74%; content: ''; background: #f0f0f0; }
.intro-visual img { width: 100%; min-height: 360px; object-fit: cover; }
.visual-caption { position: absolute; right: 0; bottom: 0; max-width: 205px; padding: 19px 22px; color: #fff; background: var(--red); font: 1.06rem/1.4 var(--serif); }
.intro-copy p { color: var(--muted); }
.intro-copy .eyebrow { margin-bottom: 17px; }
.intro-copy h2 { max-width: 570px; }
.intro-copy .button { margin-top: 10px; }
.identity-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 27px 0; padding: 0; list-style: none; }
.identity-list li { position: relative; padding-left: 21px; color: #555555; font-size: .9rem; }
.identity-list li::before { position: absolute; top: .7em; left: 0; width: 7px; height: 7px; content: ''; background: var(--red); transform: rotate(45deg); }

/* Kartu bidang fokus dan dokumentasi kegiatan */
.focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.focus-card { min-height: 252px; padding: 25px 22px; border: 1px solid var(--line); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.focus-card:hover { border-color: #d4a0a4; box-shadow: var(--shadow); transform: translateY(-4px); }
.focus-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 22px; color: var(--red); background: #f9eeee; }
.focus-icon svg { width: 23px; height: 23px; }
.focus-card h3 { min-height: 44px; margin-bottom: 8px; font-size: 1rem; }
.focus-card p { margin-bottom: 16px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.card-more { color: var(--red); font-size: .8rem; font-weight: 700; }
.card-more span { margin-left: 4px; color: #C1121F; }

.activity-feature { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 370px; color: #fff; background: var(--black); }
.activity-image { min-height: 350px; background: url('../images/community-placeholder.svg') center/cover no-repeat; }
.activity-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 64px); }
.activity-copy .eyebrow { margin-bottom: 15px; color: #f3b3b8; }
.activity-copy h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.activity-copy p { color: #d1d1d1; }
.activity-copy .button { margin-top: 9px; }
.notice-panel { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px solid #edc9cb; background: #fff5f5; }
.notice-panel svg { width: 22px; flex: 0 0 auto; color: #C1121F; }
.notice-panel p { margin: 0; color: #555555; font-size: .9rem; }
.notice-panel strong { color: var(--red); }

/* Kartu publikasi dan ajakan kolaborasi */
.publication-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.publication-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.publication-image { display: grid; min-height: 190px; place-items: center; background: #f1f1f1; }
.publication-image img { width: 100%; height: 190px; object-fit: cover; }
.publication-image span { color: #666666; font-size: .76rem; }
.publication-body { padding: 22px; }
.publication-tag { display: inline-block; margin-bottom: 11px; color: #C1121F; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.publication-body h3 { font-size: 1.08rem; }
.publication-body p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }

.cta-band { position: relative; overflow: hidden; padding: 75px 0; color: #fff; background: var(--red); }
.cta-band::after { position: absolute; top: -110px; right: -60px; width: 350px; height: 350px; content: ''; border: 1px solid rgb(193 18 31 / 35%); border-radius: 50%; box-shadow: 0 0 0 35px rgb(193 18 31 / 7%), 0 0 0 75px rgb(193 18 31 / 5%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-inner h2 { max-width: 650px; margin-bottom: 9px; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.cta-inner p { margin: 0; color: #d1d1d1; }
.cta-inner .button { flex: 0 0 auto; }

/* Judul halaman dalam dan penunjuk lokasi */
.page-hero { position: relative; overflow: hidden; padding: 88px 0 82px; color: #fff; background: var(--black); }
.page-hero {
  background-image: url('../images/banner_tentang.png');
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  display: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 18px; color: #f3b3b8; }
.page-hero h1 { max-width: 790px; margin-bottom: 15px; color: #fff; font: 400 clamp(2.7rem, 5vw, 4.4rem)/1.12 var(--serif); letter-spacing: -.03em; }
.page-hero p { max-width: 690px; margin-bottom: 0; color: #d1d1d1; font-size: 1.04rem; }
.breadcrumb { display: flex; gap: 9px; margin-bottom: 20px; color: #cccccc; font-size: .78rem; }
.breadcrumb a:hover { color: var(--red); }

/* Tata letak dan teks halaman tentang organisasi */
.prose { max-width: 790px; }
.prose p { color: #555555; }
.prose h2 { margin-top: 35px; font-size: 1.6rem; }
.prose h3 { margin-top: 22px; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; }
.principle-card { padding: 30px; border-left: 3px solid var(--red); background: var(--mist); }
.principle-card p:last-child { margin-bottom: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 32px; }
.value-item { padding: 22px; border: 1px solid var(--line); }
.value-item strong { display: block; margin-bottom: 6px; color: var(--red); font-family: var(--display); }
.value-item p { margin: 0; color: var(--muted); font-size: .88rem; }
.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq details { padding: 18px 20px; border: 1px solid var(--line); background: #fff; }
.faq summary { color: var(--red); cursor: pointer; font-weight: 700; }
.faq details p { margin: 13px 0 0; color: var(--muted); }

/* Rincian identitas legal dan kartu dokumen */
.legal-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: start; gap: 45px; }
.detail-list { margin: 0; border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: minmax(155px, .7fr) 1.3fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail-row dt { color: var(--muted); font-size: .9rem; }
.detail-row dd { margin: 0; color: var(--black); font-weight: 600; overflow-wrap: anywhere; }
.document-card { padding: 26px; border: 1px solid var(--line); background: var(--mist); }
.document-preview { display: grid; min-height: 255px; place-items: center; margin-bottom: 22px; border: 1px dashed #cccccc; background: #fff; text-align: center; }
.document-preview-inner { max-width: 250px; padding: 24px; }
.document-preview svg { width: 42px; margin: 0 auto 13px; color: #C1121F; }
.document-preview strong { display: block; color: var(--red); }
.document-preview p { margin: 5px 0 0; color: var(--muted); font-size: .82rem; }
.document-card h3 { margin-bottom: 7px; }
.document-card > p { color: var(--muted); font-size: .88rem; }
.status-label { display: inline-flex; align-items: center; gap: 8px; color: #7f1d1d; font-size: .75rem; font-weight: 700; }
.status-label::before { width: 7px; height: 7px; content: ''; border-radius: 50%; background: var(--red); }

/* Kartu penjelasan setiap bidang program */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.program-card { display: grid; grid-template-columns: 185px 1fr; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.program-card > img { width: 100%; height: 100%; min-height: 235px; object-fit: cover; }
.program-content { padding: 23px; }
.program-content .focus-icon { width: 40px; height: 40px; margin-bottom: 15px; }
.program-content h2 { margin-bottom: 9px; font-size: 1.17rem; letter-spacing: -.02em; }
.program-content p, .program-content li { color: var(--muted); font-size: .82rem; }
.program-content ul { margin: 10px 0 0; padding-left: 17px; }
.program-content li + li { margin-top: 4px; }
.caveat { margin-top: 26px; }

/* Filter, keadaan kosong, dan formulir */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.filter-bar label { margin-right: 7px; color: var(--red); font-size: .88rem; font-weight: 700; }
.filter-select, .search-input { min-height: 47px; padding: 10px 14px; border: 1px solid #cccccc; border-radius: 2px; color: var(--ink); background: #fff; }
.filter-select { min-width: 210px; }
.search-input { width: min(100%, 440px); }
.result-count { margin-left: auto; color: var(--muted); font-size: .8rem; }
.empty-state { padding: 45px 28px; border: 1px dashed #cccccc; background: #fff; text-align: center; }
.empty-state h2 { margin-bottom: 9px; font-size: 1.35rem; }
.empty-state p { max-width: 590px; margin: 0 auto; color: var(--muted); }
.empty-state .button { margin-top: 19px; }

.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.contact-panel { padding: 30px; color: #fff; background: var(--black); }
.contact-panel h2 { color: #fff; font-size: 1.6rem; }
.contact-panel > p { color: #d1d1d1; }
.contact-item { padding: 17px 0; border-top: 1px solid rgb(255 255 255 / 16%); }
.contact-item span { display: block; color: #f3b3b8; font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-item p { margin: 4px 0 0; color: #fff; font-size: .95rem; overflow-wrap: anywhere; }
.form-card { padding: 32px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 35px rgb(17 17 17 / 5%); }
.form-card h2 { margin-bottom: 8px; font-size: 1.65rem; }
.form-card > p { color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: #333333; font-size: .84rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid #cccccc; border-radius: 2px; color: var(--ink); background: #fff; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .8rem; }
.form-consent input { margin-top: 4px; accent-color: var(--red); }
.form-message { min-height: 24px; margin: 14px 0 0; color: var(--red); font-size: .87rem; }
.form-message[data-state="error"] { color: #9d111b; }
.form-message[data-state="success"] { color: #9d111b; }
.form-card .button { margin-top: 18px; }
.social-placeholder { padding: 16px 0 0; color: #d1d1d1; font-size: .8rem; }

/* Laporan transparansi, kebijakan, dan kartu kemitraan */
.report-list { display: grid; gap: 13px; }
.report-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; border: 1px solid var(--line); background: #fff; }
.report-row strong { display: block; color: var(--red); }
.report-row p { margin: 4px 0 0; color: var(--muted); font-size: .84rem; }
.report-row .status-label { flex: 0 0 auto; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 35px; }
.policy-card { padding: 25px; border: 1px solid var(--line); }
.policy-card svg { width: 28px; margin-bottom: 17px; color: #C1121F; }
.policy-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

/* Footer dan tombol kembali ke atas */
.site-footer { color: #dddddd; background: #111111; }
.footer-main { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1fr; gap: 45px; padding: 65px 0 54px; }
.footer-brand .brand-copy strong { color: #fff; }
.footer-brand .brand-copy span { color: #c9c9c9; }
.footer-brand > p { max-width: 330px; margin: 18px 0 0; color: #c9c9c9; font-size: .86rem; }
.footer-column h2 { margin-bottom: 17px; color: #fff; font: 700 .88rem var(--display); letter-spacing: .04em; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-column p { color: #c9c9c9; font-size: .82rem; }
.footer-links a:hover { color: var(--red); }
.footer-column p { margin-bottom: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid rgb(255 255 255 / 12%); color: #b5b5b5; font-size: .75rem; }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; z-index: 15; right: 22px; bottom: 22px; display: grid; width: 47px; height: 47px; place-items: center; color: #fff; border: 0; border-radius: 50%; background: var(--red); box-shadow: 0 5px 18px rgb(17 17 17 / 25%); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.back-to-top svg { width: 19px; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Penyesuaian layar laptop dan tablet */
@media (max-width: 1080px) {
  .nav-inner { gap: 18px; }
  .brand { min-width: auto; }
  .brand-copy strong { font-size: .9rem; }
  .nav-menu { gap: 13px; }
  .nav-menu a { font-size: .73rem; }
  .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-card { grid-template-columns: 155px 1fr; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-row: span 2; }
}

/* Tampilan navigasi dan bagian halaman pada tablet */
@media (max-width: 820px) {
  .container { width: min(var(--max-width), calc(100% - 38px)); }
  .topbar-inner { justify-content: center; }
  .topbar-links { display: none; }
  .nav-inner { min-height: 72px; }
  .menu-toggle { display: inline-flex; }
  .nav-menu { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 17px; border-bottom: 1px solid #444; background: var(--black); box-shadow: 0 18px 25px rgb(17 17 17 / 35%); }
  .nav-menu.is-open { display: flex; flex-direction: column; }
  .nav-menu li { border-bottom: 1px solid #333; }
  .nav-menu li:last-child { border-bottom: 0; }
  .nav-menu a { padding: 12px 5px; font-size: .91rem; }
  .nav-menu a::after { display: none; }
  .hero, .hero-inner { min-height: 580px; }
  .hero::before { inset-inline-start: 18%; background-position: 55% center; }
  .hero h1 { max-width: 650px; }
  .section { padding: 78px 0; }
  .intro-grid, .split-section, .legal-grid, .form-layout { grid-template-columns: 1fr; gap: 37px; }
  .intro-visual { max-width: 600px; }
  .activity-feature { grid-template-columns: 1fr; }
  .activity-image { min-height: 300px; }
  .publication-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { grid-template-columns: 190px 1fr; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-row: auto; }
}

/* Tata letak khusus ponsel */
@media (max-width: 560px) {
  .container { width: calc(100% - 34px); }
  .topbar { font-size: .68rem; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-copy strong { font-size: .83rem; }
  .brand-copy span { font-size: .59rem; }
  .hero, .hero-inner { min-height: 610px; }
  .hero::before { inset: 0; background: linear-gradient(90deg, rgb(17 17 17 / 93%) 0%, rgb(17 17 17 / 78%) 62%, rgb(17 17 17 / 63%) 100%), url('../images/community-placeholder.svg') center/cover no-repeat; }
  .hero::after { width: 6px; }
  .hero-inner { padding-block: 62px; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 3.35rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .stats-inner { grid-template-columns: 1fr; padding-block: 8px; }
  .stat-item, .stat-item:first-child { min-height: 78px; padding: 12px 0; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 14%); }
  .stat-item:last-child { border-bottom: 0; }
  .stat-number { min-width: 110px; font-size: 1.45rem; }
  .section { padding: 65px 0; }
  .intro-visual { padding: 0 0 20px 20px; }
  .intro-visual img { min-height: 260px; }
  .identity-list { grid-template-columns: 1fr; gap: 9px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: auto; }
  .focus-card h3 { min-height: 0; }
  .activity-image { min-height: 230px; }
  .publication-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .cta-band { padding: 58px 0; }
  .page-hero { padding: 66px 0 58px; }
  .page-hero::after { right: -290px; }
  .page-hero h1 { font-size: 2.8rem; }
  .value-grid, .policy-grid { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; gap: 5px; }
  .program-card { grid-template-columns: 1fr; }
  .program-card > img { height: 180px; min-height: 0; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-select, .search-input { width: 100%; }
  .result-count { margin-left: 0; }
  .form-card, .contact-panel { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .report-row { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 22px; padding: 48px 0 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .back-to-top { right: 14px; bottom: 14px; width: 43px; height: 43px; }
}

/* Hormati pengaturan pengguna yang mengurangi animasi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Komponen tambahan untuk halaman lingkungan, kemanusiaan, donasi, dan privasi */
.initiative-grid, .gallery-grid, .donation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.humanitarian-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid { margin-top: 30px; }
.initiative-card, .donation-card, .privacy-card { padding: 26px; border: 1px solid var(--line); background: #fff; }
.initiative-card p, .donation-card p, .privacy-card p { margin-bottom: 0; color: var(--muted); }
.initiative-card .focus-icon { color: var(--red); background: #f9e9ea; }
.metric-note { margin: 20px 0 0; color: #d1d1d1; font-size: .82rem; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery-card img { width: 100%; height: 245px; object-fit: cover; background: var(--mist); }
.gallery-card figcaption { padding: 15px 18px; color: var(--muted); font-size: .86rem; }
.legal-placeholder { padding: 22px; border-left: 3px solid var(--red); background: #f5f5f5; }
.legal-placeholder p:last-child { margin-bottom: 0; }
.map-frame { width: 100%; min-height: 340px; border: 0; background: var(--mist); }
.map-link { display: inline-block; margin-top: 12px; color: #f3b3b8; text-decoration: underline; }
.donation-card h2, .privacy-card h2 { font-size: 1.25rem; }
.donation-notice { margin-top: 26px; }
.footer-address { max-width: 260px; }
.contact-form-wrap { max-width: 820px; margin-inline: auto; }
.text-link-inline { color: var(--red); text-decoration: underline; }

/* Kartu dokumen legalitas */
.legal-document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.legal-document-card { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 28px rgb(17 17 17 / 7%); }
.legal-document-image { display: block; width: 100%; height: 220px; object-fit: cover; background: var(--mist); }
.legal-document-content { padding: 24px; }
.legal-document-content h2 { margin-bottom: 16px; font-size: 1.35rem; }
.legal-document-details { display: grid; gap: 10px; margin: 0 0 20px; }
.legal-document-details div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.legal-document-details dt { color: var(--muted); font-size: .86rem; }
.legal-document-details dd { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.document-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.document-actions .button { min-height: 44px; padding: 10px 15px; }
.button-secondary { color: var(--black); border-color: var(--black); background: #fff; }
.button-secondary:hover { color: #fff; background: var(--black); }

@media (max-width: 820px) {
  .initiative-grid, .gallery-grid, .donation-grid, .legal-document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .initiative-grid, .gallery-grid, .donation-grid, .legal-document-grid { grid-template-columns: 1fr; }
  .gallery-card img { height: 220px; }
  .legal-document-details div { grid-template-columns: 1fr; gap: 2px; }
  .document-actions { align-items: stretch; flex-direction: column; }
  .map-frame { min-height: 270px; }
}
