:root {
  --maroon: #4a1430;
  --maroon-2: #6b1f45;
  --maroon-9: #2a0b1b;
  --gold: #d6a84a;
  --gold-2: #f0cf85;
  --ink: #23161c;
  --muted: #6e5c64;
  --bg: #fbf8f4;
  --tint: #f4ece6;
  --card: #ffffff;
  --line: #e9ddd5;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(74, 20, 48, .25);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--maroon); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.arabic { font-family: "Amiri", serif; font-size: 1.6rem; line-height: 1.9; margin: 0 0 .4em; }
.arabic--sm { font-size: 1.4rem; color: var(--gold-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font: 600 .98rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .65em 1.1em; font-size: .9rem; }
.btn--gold { background: var(--gold); color: var(--maroon-9); }
.btn--gold:hover { background: var(--gold-2); }
.btn--primary { background: var(--maroon); color: #fff; }
.btn--primary:hover { background: var(--maroon-2); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border-color: var(--line); color: var(--maroon); background: var(--card); }
.btn--outline:hover { border-color: var(--maroon); }
.btn .ico { width: 1.15em; height: 1.15em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -14px rgba(0,0,0,.3); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon); font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: .02em; }
.brand img { width: 36px; }
.brand small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-bottom: 3px; }
.brand--light { color: #fff; }
.brand--light img { filter: brightness(0) invert(1); }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:not(.btn):hover { color: var(--maroon-2); }
.menu a[aria-current="page"]:not(.btn) { color: var(--maroon); font-weight: 700; border-color: var(--gold); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--maroon); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 1000px) {
  .nav__toggle { display: block; }
  .menu { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); display: none; max-height: calc(100vh - 70px); overflow-y: auto; }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .menu a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--gold); padding-left: 14px; }
  .menu .btn { margin-top: 14px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero (beranda) */
.hero { position: relative; color: #fff; overflow: hidden; background: radial-gradient(900px 600px at 85% 30%, var(--maroon-2), transparent 65%), var(--maroon-9); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: 56px 0 150px; }
.hero__img { order: 2; margin: 0; }
.hero__img img { width: 100%; max-height: 640px; object-fit: cover; object-position: center 40%; aspect-ratio: 687 / 900; border-radius: 28px 28px 140px 140px / 28px 28px 90px 90px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); border: 3px solid rgba(214,168,74,.45); }
.hero__in { order: 1; max-width: 640px; }
.hero__ayat { color: var(--gold-2); font-size: clamp(1.3rem, 2.6vw, 1.75rem); text-align: left; }
.hero__ayat-id { font-size: .92rem; opacity: .85; max-width: 560px; margin-bottom: 1.6em; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; margin-bottom: .25em; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 600px; opacity: .95; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
@media (max-width: 860px) {
  .hero__grid { display: flex; flex-direction: column; gap: 0; padding: 0 0 130px; }
  .hero__img { order: 0; position: relative; margin: 0 -16px; }
  .hero__img img { max-height: none; aspect-ratio: 687 / 640; border: 0; border-radius: 0; box-shadow: none; object-position: center 47%; }
  .hero__img::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(180deg, transparent, var(--maroon-9)); }
  .hero__in { margin-top: -40px; position: relative; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* Judul halaman dalam */
.phero { background: radial-gradient(800px 400px at 90% -20%, var(--maroon-2), transparent 70%), var(--maroon-9); color: #fff; padding: 44px 0 52px; }
.phero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; margin: .3em 0 .2em; max-width: 900px; }
.phero__lead { opacity: .85; max-width: 680px; margin: 0; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.7); }
.crumbs a { color: var(--gold-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Jadwal salat */
.prayer { margin-top: -90px; position: relative; z-index: 2; }
.prayer__card { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--line); }
.prayer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.prayer__title { margin-bottom: .15em; }
.prayer__head p { margin: 0; }
[data-date-hijri]:not(:empty)::before { content: " · "; }
.next { background: var(--maroon); color: #fff; border-radius: 14px; padding: 10px 18px; text-align: right; }
.next__label { display: block; font-size: .85rem; opacity: .85; }
.next__count { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.times { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.times li { border-radius: 14px; background: var(--tint); padding: 14px 10px; text-align: center; transition: background .2s, color .2s; }
.times li span { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
.times li b { font-size: 1.35rem; font-variant-numeric: tabular-nums; color: var(--maroon); }
.times li.is-minor { background: transparent; border: 1px dashed var(--line); }
.times li.is-next { background: var(--gold); }
.times li.is-next span, .times li.is-next b { color: var(--maroon-9); }
.prayer__note { font-size: .85rem; margin: 16px 0 0; }
@media (max-width: 860px) { .times { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) {
  .prayer__card { padding: 20px 16px; }
  .times { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .times li[data-key="Imsak"] { display: none; }
  .times li b { font-size: 1.15rem; }
  .next { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; }
  .next__count { font-size: 1.3rem; }
}

.month__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.month__head h2 { margin: 0; text-align: center; font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.month { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 620px; }
.month th, .month td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.month th { background: var(--maroon); color: #fff; font-weight: 600; font-size: .88rem; position: sticky; top: 0; }
.month td:first-child, .month th:first-child { text-align: left; }
.month tbody tr:nth-child(even) { background: #fdfbf9; }
.month tr.is-today { background: #fbf0d6 !important; font-weight: 700; }
.month tr.is-friday td:first-child { color: var(--maroon-2); font-weight: 600; }
.month td small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
@media (max-width: 520px) { .month__head .btn { padding: .6em .8em; font-size: 0; } .month__head .btn::first-letter { font-size: .95rem; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--tight { padding-top: 0; }
.section--first { padding-bottom: 40px; }
.section--tint { background: var(--tint); }
.section--dark { background: radial-gradient(1200px 500px at 90% 0%, var(--maroon-2), transparent 60%), var(--maroon-9); color: #f6ecef; }
.section--dark h2 { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section__head h2 { margin-bottom: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--maroon-2); margin-bottom: .8em; }
.eyebrow--gold { color: var(--gold); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split--rev > :first-child { order: 2; }
.split__img { margin: 0; }
.split__img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.split__img--tall img { aspect-ratio: 687 / 860; object-position: center 40%; }
.split--logo { grid-template-columns: .7fr 1.3fr; }
@media (max-width: 860px) { .split, .split--logo { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.prose p { font-size: 1.04rem; }
.note { margin-top: 28px; color: var(--muted); }

.pillars { list-style: none; padding: 0; margin: 1.6em 0; display: grid; gap: 12px; }
.pillars li { padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; }
.pillars strong { display: block; color: var(--maroon); }

.grid { display: grid; gap: 22px; margin-top: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid--4, .grid--3 { grid-template-columns: 1fr; } }

.card { background: var(--card); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { color: var(--maroon); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card__icon { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--maroon); stroke: var(--gold-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; display: block; }

/* Agenda */
.event { display: flex; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.event--past { opacity: .75; }
.event__date { flex: none; width: 78px; height: 84px; border-radius: 14px; background: var(--maroon); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.event--past .event__date { background: var(--muted); }
.event__date b { font-size: 1.9rem; }
.event__date span { font-size: .78rem; opacity: .85; }
.event__body p { margin-bottom: .6em; }
.event__body h3 { color: var(--maroon); }
.event__body .btn { margin-top: .4em; }
.meta { list-style: none; padding: 0; margin: 0 0 .8em; display: grid; gap: 4px; color: var(--muted); font-size: .92rem; }
.meta li, .meta-line { display: flex; gap: 8px; align-items: center; }
.meta-line { color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon-2); background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.empty { margin-top: 12px; }
@media (max-width: 480px) { .event { flex-direction: column; gap: 14px; padding: 20px; } .event__date { width: auto; height: auto; padding: 10px 14px; display: flex; gap: 8px; align-items: baseline; justify-content: flex-start; } }

/* Berita */
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post__body { padding: 20px 22px 24px; }
.post__body h3 { font-size: 1.12rem; }
.post__body h3 a { color: var(--maroon); text-decoration: none; }
.post__body h3 a:hover { text-decoration: underline; }
.post__body p:last-child { color: var(--muted); font-size: .94rem; margin: 0; }
.post__date { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-bottom: .6em; }
.article { max-width: 760px; }
.article__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 8px 0 28px; box-shadow: var(--shadow); }
.article .prose p { font-size: 1.08rem; line-height: 1.8; }
.article__foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

.post__img { position: relative; }
.post__badge { position: absolute; top: 12px; left: 12px; background: rgba(42,11,27,.85); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.article__embed { margin: 8px 0 28px; }

/* Embed YouTube & medsos */
.embed { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--instagram, .embed--tiktok, .embed--facebook { max-width: 420px; margin-inline: auto; background: #fff; border: 1px solid var(--line); box-shadow: none; }
.embed__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.embed__play img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .2s; }
.embed__play:hover img { opacity: 1; }
.embed__btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: #c4302b; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s; }
.embed__btn::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.embed__play:hover .embed__btn { transform: scale(1.08); }
.vcard, .scard { margin: 0; }
.vcard figcaption, .scard figcaption { margin-top: 10px; font-weight: 600; color: var(--maroon); font-size: .95rem; }
.vids { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-top: 28px; }
.vids--single { grid-template-columns: minmax(0, 860px); }
.vids__side { display: grid; gap: 18px; align-content: start; }
@media (max-width: 860px) { .vids { grid-template-columns: 1fr; } }
.grid--flush { align-items: start; }
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 24px; align-items: start; }
.follow { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.follow h2 { margin-bottom: .2em; }
.follow p { margin: 0; }
.follow--inline { justify-content: flex-start; margin-top: 28px; }
.section--follow { padding: 48px 0; }

/* Program */
.chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 24px 0 0; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--maroon); font-weight: 600; font-size: .9rem; }
.chip:hover { border-color: var(--maroon); }
.chip--gold { background: var(--gold); border-color: var(--gold); color: var(--maroon-9); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Kemitraan */
.lead-light { color: rgba(255,255,255,.8); max-width: 640px; }
.partner { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.partner h3 { color: #fff; font-size: 1.2rem; }
.partner p { color: rgba(255,255,255,.82); }
.partner .btn { align-self: flex-start; margin-top: auto; }
.partner__logos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.partner__logos img { height: 52px; width: auto; max-width: 130px; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px 12px; }
.partner__list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: .92rem; color: rgba(255,255,255,.75); }
.partner__list strong { color: var(--gold-2); font-weight: 600; }
.note--light { color: rgba(255,255,255,.75); }
.note--light a { color: var(--gold-2); }
.mitra { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; margin-top: 36px; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.mitra__label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mitra__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; flex: 1; }
.mitra__logos img { height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a0b1b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Profil */
.logo-box { background: var(--card); border-radius: 24px; padding: 40px; border: 1px solid var(--line); display: grid; place-items: center; }
.logo-box img { width: min(240px, 100%); }
.symbols { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.symbols li { padding: 12px 16px; background: var(--card); border-radius: 12px; border: 1px solid var(--line); }
.symbols strong { color: var(--maroon); }
.vm { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.vm__visi { background: var(--maroon-9); color: #fff; border-radius: 24px; padding: 36px; }
.vm__text { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.45; margin: 0; }
.vm__misi { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 36px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--maroon); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
@media (max-width: 860px) { .vm { grid-template-columns: 1fr; } .vm__visi, .vm__misi { padding: 26px; } }
.person { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.person img, .person__ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.person__ph { display: grid; place-items: center; background: var(--tint); color: var(--maroon); }
.person__ph .ico { width: 40px; height: 40px; }
.person h3 { margin-bottom: .2em; }
.person p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--tint); aspect-ratio: 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item span { position: absolute; inset: auto 0 0; padding: 30px 16px 14px; color: #fff; font: 600 .9rem/1.4 var(--font); text-align: left; background: linear-gradient(transparent, rgba(42,11,27,.85)); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; color: #fff; }
.lightbox::backdrop { background: rgba(20, 5, 12, .9); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox p { text-align: center; margin: 12px 0 0; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* Sedekah */
.uses { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.uses li { display: flex; gap: 14px; align-items: flex-start; }
.uses .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--gold-2); }
.uses strong { display: block; color: #fff; }
.give { display: grid; gap: 18px; }
.qris { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 22px; padding: 26px; text-align: center; }
.qris .bank__actions { justify-content: center; }
.qris__img { width: min(320px, 100%); height: auto; margin: 6px auto 14px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.qris__name { margin-bottom: .6em; }
.qris__name strong { color: #fff; }
.qris__name span { font-size: .85rem; opacity: .75; letter-spacing: .04em; }
.qris__hint { font-size: .88rem; opacity: .8; max-width: 38ch; margin-inline: auto; }
.bank { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 22px; padding: 30px; }
.bank__label { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--gold); font-weight: 700; margin-bottom: .6em; }
.bank__name { font-size: 1.1rem; margin-bottom: .2em; }
.bank__no { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: .05em; color: #fff; font-variant-numeric: tabular-nums; margin-bottom: .1em; }
.bank__holder { opacity: .85; }
.bank__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.bank__hint { margin: 12px 0 0; min-height: 1.4em; color: var(--gold-2); font-size: .9rem; }
.howto { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.howto li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.howto b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--maroon-9); display: grid; place-items: center; }
@media (max-width: 760px) { .howto { grid-template-columns: 1fr; } }

.cta { background: radial-gradient(1000px 400px at 100% 0%, var(--maroon-2), transparent 60%), var(--maroon-9); color: #f6ecef; padding: 56px 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; }
.cta p:last-child { margin: 0; opacity: .85; }

/* Kontak */
.info { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 22px; }
.info > li { display: flex; gap: 16px; }
.info > li > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--maroon); color: var(--gold-2); }
.info strong { display: block; color: var(--maroon); margin-bottom: 2px; }
.info address { font-style: normal; }
.info a { font-weight: 600; }
.info .socials { margin-top: 6px; }
.waform { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.waform h2 { margin: 0; font-size: 1.4rem; }
.waform p { margin: -8px 0 0; }
.waform label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.waform input, .waform select, .waform textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; }
.waform input:focus, .waform select:focus, .waform textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.waform .btn { justify-self: start; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--tint); }
.map--tall { aspect-ratio: 4 / 5; position: sticky; top: 96px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .map--tall { aspect-ratio: 4 / 3; position: static; } }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); transition: background .15s; }
.socials a:hover { background: var(--gold); }
.socials svg { width: 21px; height: 21px; fill: none; stroke: var(--maroon); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: var(--maroon); stroke: none; }
.socials--light a { background: rgba(255,255,255,.08); }
.socials--light svg { stroke: #fff; }
.socials--light svg .fill { fill: #fff; }
.socials--light a:hover svg { stroke: var(--maroon-9); }

/* 404 */
.notfound { text-align: center; }
.notfound .hero__cta { justify-content: center; }
.notfound h1 { color: var(--maroon); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.notfound__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--gold); line-height: 1; margin: 0; }

/* Footer */
.footer { background: var(--maroon-9); color: rgba(255,255,255,.75); font-size: .92rem; padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__tag { margin: 14px 0 18px; max-width: 34ch; }
.footer__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 14px; }
.footer__links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 20px; }
.footer__links li { margin-bottom: 8px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold-2); }
.footer address { font-style: normal; margin-bottom: 10px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom p { margin: 0; font-size: .85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Formulir pendaftaran kegiatan (/daftar/<slug>) */
.reg { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px; align-items: start; }
.reg__info { position: sticky; top: 96px; display: grid; gap: 16px; min-width: 0; }
.reg__flyer { width: 100%; }
.reg__flyer { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.reg__meta { margin: 0; }
.reg__main { display: grid; gap: 20px; }
.reg__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.reg__form { display: grid; gap: 14px; }
.reg__form h2, .reg__card h2 { margin: 0 0 .2em; font-size: 1.45rem; }
.reg__form label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
.reg__form input:not([type=checkbox]), .reg__form select, .reg__form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; }
.reg__form input:focus, .reg__form select:focus, .reg__form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.reg__form [aria-invalid="true"] { border-color: #b42318 !important; }
.reg__form .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.reg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req { color: #b42318; }
.reg__err { color: #b42318; font-size: .85rem; font-weight: 600; margin: -8px 0 0; }
.reg__alert { display: flex; gap: 8px; align-items: flex-start; background: #fdecea; color: #8a1c13; border-radius: 12px; padding: 12px 14px; margin: 0; font-weight: 600; font-size: .92rem; }
.reg__checks { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.reg__checks legend { font-weight: 600; font-size: .93rem; padding: 0 6px; }
.reg__form .reg__check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.reg__check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--maroon); flex: none; }
.reg__bonus { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; margin: 2px 0 0; color: var(--maroon-2) !important; font-weight: 600 !important; }
.reg__agree { font-size: .9rem !important; color: var(--muted); }
.reg__submit { justify-self: stretch; padding-block: 1em; font-size: 1.02rem; }
.reg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg__tips h3 { color: var(--maroon); }
.reg__notes { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 6px; }
.reg__ok { text-align: center; display: grid; gap: 12px; justify-items: center; }
.reg__ok p { margin: 0; }
.reg__okico { width: 64px; height: 64px; border-radius: 50%; background: #e7f6ec; color: #1f7a3f; display: grid; place-items: center; }
.reg__okico .ico { width: 34px; height: 34px; }
.reg__kode { font-size: 2.2rem; font-weight: 800; letter-spacing: .08em; color: var(--maroon); background: var(--tint); border: 2px dashed var(--gold); border-radius: 14px; padding: 10px 24px; }
.reg__sum { list-style: none; padding: 0; margin: 0; width: 100%; text-align: left; border-top: 1px solid var(--line); }
.reg__sum li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.reg__sum span { color: var(--muted); }
.reg__sum b { text-align: right; }
.reg__ok .reg__notes { text-align: left; width: 100%; font-size: .9rem; }
.reg__ok .btns { justify-content: center; }
@media (max-width: 860px) {
  .reg { grid-template-columns: minmax(0, 1fr); }
  .reg__info { position: static; }
  .reg__flyer { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .reg__row, .reg__checks { grid-template-columns: 1fr; }
  .reg__card { padding: 20px 16px; }
}
.reg__lbl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.reg__card[id] { scroll-margin-top: 84px; }
