/* ==========================================================================
   Website Yayasan Nurul Iman — gaya publik (landing page & blog)
   Palet dari logo: navy · emas · hijau. Mobile-first, tanpa framework.
   ========================================================================== */
:root {
  --navy: #0b1f4d; --navy-2: #13306e; --navy-3: #1d4392; --gold: #c9962f; --gold-2: #e3b04b; --gold-soft: #fbf3df; --green: #0f8a4b;
  --ink: #14213d; --muted: #5a6785; --line: #e5e9f3; --soft: #f5f7fc; --white: #fff;
  --radius: 20px; --radius-sm: 12px; --shadow: 0 1px 2px rgba(11, 31, 77, .05), 0 12px 32px rgba(11, 31, 77, .08); --shadow-lg: 0 24px 60px rgba(11, 31, 77, .18);
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 1rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--navy-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.ic { flex: 0 0 auto; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; line-height: 1.2; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); box-shadow: 0 10px 26px rgba(201, 150, 47, .35); }
.btn-gold:hover { color: var(--navy); box-shadow: 0 14px 32px rgba(201, 150, 47, .45); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(11, 31, 77, .25); }
.btn-navy:hover { color: #fff; background: var(--navy-2); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-line:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-ghost { background: var(--soft); color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: .86rem; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s; }
.hdr.solid, .hdr.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(11, 31, 77, .06); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; }
.hdr.solid .brand, .hdr.scrolled .brand { color: var(--navy); }
.brand img { width: 46px; height: 46px; border-radius: 14px; background: #fff; padding: 3px; object-fit: contain; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-t b { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.brand-t small { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.hdr.solid .brand-t small, .hdr.scrolled .brand-t small { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.lnk { color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a.lnk:hover, .nav a.lnk.on { background: rgba(255, 255, 255, .14); color: #fff; }
.hdr.solid .nav a.lnk, .hdr.scrolled .nav a.lnk { color: var(--ink); }
.hdr.solid .nav a.lnk:hover, .hdr.scrolled .nav a.lnk:hover, .hdr.solid .nav a.lnk.on, .hdr.scrolled .nav a.lnk.on { background: var(--gold-soft); color: var(--navy); }
.nav .btn { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.hdr.solid .burger, .hdr.scrolled .burger { background: var(--soft); color: var(--navy); }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: radial-gradient(900px 520px at 85% 10%, rgba(201, 150, 47, .28), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(29, 67, 146, .55), transparent 60%), linear-gradient(160deg, #0b1f4d 0%, #0a1a40 60%, #071331 100%); padding: calc(var(--header-h) + 64px) 0 150px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.4px); background-size: 26px 26px; mask-image: radial-gradient(70% 70% at 80% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 80% 40%, #000, transparent); opacity: .7; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: var(--gold-2); font-weight: 700; font-size: .8rem; letter-spacing: .04em; margin-bottom: 22px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(227, 176, 75, .25); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.03em; margin-bottom: .5em; }
.hero h1 .hl { background: linear-gradient(135deg, var(--gold-2), #f3d28a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255, 255, 255, .82); max-width: 58ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.triad { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.triad span { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.orb { position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 60%); border: 1px solid rgba(255, 255, 255, .16); background-image: radial-gradient(rgba(255, 255, 255, .35) 1.3px, transparent 1.6px), radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02) 65%); background-size: 16px 16px, 100% 100%; }
.ring { position: absolute; width: min(500px, 100%); aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(227, 176, 75, .55); animation: spin 60s linear infinite; }
.ring::before, .ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 6px rgba(227, 176, 75, .2); }
.ring::before { top: 12%; left: 8%; } .ring::after { bottom: 14%; right: 6%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .15); }
.logo-card { position: relative; width: min(300px, 70%); aspect-ratio: 1; border-radius: 36px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg), 0 0 0 10px rgba(255, 255, 255, .08); animation: float 7s ease-in-out infinite; }
.logo-card img { width: 86%; height: 86%; object-fit: contain; }
.hero-img { width: min(460px, 100%); border-radius: 32px; box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .12); animation: float 8s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; color: #fff; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* ---------- statistik ---------- */
.stats { position: relative; z-index: 3; margin-top: -92px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; border: 1px solid var(--line); }
.stat { text-align: center; padding: 26px 14px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, var(--navy), var(--navy-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- section ---------- */
.sec { padding: 96px 0; position: relative; }
.sec.soft { background: var(--soft); }
.sec-h { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-h.left { text-align: left; margin-left: 0; }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; margin-bottom: 12px; position: relative; padding: 0 34px; }
.eyebrow::before, .eyebrow::after { content: ""; position: absolute; top: 50%; width: 22px; height: 2px; background: var(--gold-2); border-radius: 2px; }
.eyebrow::before { left: 0; } .eyebrow::after { right: 0; }
.sec-h.left .eyebrow { padding-left: 34px; padding-right: 0; } .sec-h.left .eyebrow::after { display: none; }
.sec-h h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .4em; }
.sec-h p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-text p { color: #3a4766; font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checks li .ic { color: var(--green); margin-top: 3px; background: rgba(15, 138, 75, .1); border-radius: 50%; padding: 3px; width: 26px; height: 26px; }
.about-panel { position: relative; border-radius: 28px; padding: 44px 34px; color: #fff; background: linear-gradient(150deg, var(--navy), var(--navy-3)); box-shadow: var(--shadow-lg); overflow: hidden; text-align: center; }
.about-panel::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .25) 1.3px, transparent 1.6px); background-size: 14px 14px; }
.about-panel .dome { width: 96px; height: 96px; border-radius: 28px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); display: grid; place-items: center; margin: 0 auto 22px; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); position: relative; }
.about-panel .triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; position: relative; }
.about-panel .triple div { padding: 16px 6px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-weight: 800; }
.about-panel .triple small { display: block; font-weight: 500; opacity: .75; font-size: .72rem; margin-top: 2px; }
.about-panel h3 { color: #fff; font-size: 1.3rem; position: relative; }
.about-panel p { color: rgba(255, 255, 255, .8); margin: 0; position: relative; }

/* ---------- kartu ---------- */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201, 150, 47, .5); }
.ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-soft), #fff); color: var(--gold); margin-bottom: 18px; border: 1px solid rgba(201, 150, 47, .25); }
.ico.navy { background: linear-gradient(135deg, #e9eefc, #fff); color: var(--navy-3); border-color: rgba(29, 67, 146, .2); }
.card h3 { font-size: 1.18rem; margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.tag { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 4px 11px; border-radius: 999px; background: var(--navy); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; text-decoration: none; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vision-card { border-radius: 28px; padding: 44px 38px; color: #fff; background: linear-gradient(150deg, var(--navy), var(--navy-3)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.vision-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(227, 176, 75, .18); }
.vision-card h3 { color: var(--gold-2); font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; }
.vision-card p { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; line-height: 1.5; margin: 0; position: relative; }
.mission-card { border-radius: 28px; padding: 40px 36px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mission-card h3 { font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mission-card ol { list-style: none; counter-reset: m; margin: 0; padding: 0; display: grid; gap: 14px; }
.mission-card li { counter-increment: m; display: flex; gap: 14px; align-items: flex-start; color: #34415f; }
.mission-card li::before { content: counter(m); flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }

/* ---------- filosofi ---------- */
.philo-grid { display: grid; grid-template-columns: 380px 1fr; gap: 44px; align-items: start; }
.philo-logo { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 30px; box-shadow: var(--shadow-lg); text-align: center; }
.philo-logo img { width: 100%; max-width: 300px; }
.philo-logo p { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }
.shapes { display: grid; gap: 16px; }
.shape { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; transition: transform .25s, box-shadow .25s; }
.shape:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.shape .ico { margin: 0; flex: 0 0 56px; }
.shape h3 { font-size: 1.05rem; margin-bottom: .3em; }
.shape p { margin: 0; color: var(--muted); font-size: .94rem; }
.colors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 56px; }
.color { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-align: center; box-shadow: var(--shadow); }
.swatch { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 22px rgba(11, 31, 77, .18); }
.color h3 { font-size: 1.05rem; margin-bottom: .3em; }
.color p { color: var(--muted); font-size: .9rem; margin: 0; }
.meaning { margin-top: 56px; border-radius: 28px; padding: 48px 44px; color: #fff; background: radial-gradient(500px 300px at 100% 0, rgba(201, 150, 47, .3), transparent 60%), linear-gradient(150deg, var(--navy), var(--navy-2)); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.meaning .seal { width: 110px; height: 110px; border-radius: 50%; border: 3px solid var(--gold-2); display: grid; place-items: center; color: var(--gold-2); background: rgba(255, 255, 255, .06); }
.meaning h3 { color: var(--gold-2); font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; }
.meaning p { color: rgba(255, 255, 255, .85); }
.meaning .motto { font-weight: 800; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #fff; line-height: 1.5; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }

/* ---------- ppdb ---------- */
.cta { position: relative; border-radius: 32px; padding: 56px 48px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: 0 24px 60px rgba(201, 150, 47, .35); overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .45) 1.3px, transparent 1.6px); background-size: 15px 15px; }
.cta h2 { color: var(--navy); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .3em; position: relative; }
.cta p { margin: 0; max-width: 56ch; font-weight: 500; position: relative; }
.cta .btn { position: relative; }

/* ---------- blog (kartu) ---------- */
.posts { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post .cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-3)); position: relative; }
.post .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.post:hover .cover img { transform: scale(1.06); }
.post .cover.ph { display: grid; place-items: center; }
.post .cover.ph img { width: 38%; height: auto; opacity: .9; object-fit: contain; background: #fff; border-radius: 22px; padding: 6px; }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post .cat { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.post h3 { font-size: 1.15rem; margin: 8px 0; line-height: 1.35; }
.post h3 a { color: var(--navy); text-decoration: none; }
.post h3 a:hover { color: var(--gold); }
.post p { color: var(--muted); font-size: .94rem; margin: 0 0 16px; flex: 1; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; font-weight: 600; }
.center { text-align: center; margin-top: 40px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px; box-shadow: var(--shadow); transition: border-color .2s; }
.faq details[open] { border-color: rgba(201, 150, 47, .6); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 34px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; transition: transform .25s; }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 0 20px; color: #3a4766; }

/* ---------- kontak ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: stretch; }
.info { display: grid; gap: 14px; align-content: start; }
.info-row { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.info-row .ico { margin: 0; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; }
.info-row b { display: block; color: var(--navy); font-size: .9rem; }
.info-row span, .info-row a { color: #3a4766; font-size: .96rem; word-break: break-word; }
.social { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.social a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; transition: transform .2s, background .2s; }
.social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 380px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map.ph { display: grid; place-items: center; text-align: center; color: var(--muted); padding: 30px; }

/* ---------- footer ---------- */
.ftr { background: linear-gradient(180deg, #0a1a40, #071331); color: rgba(255, 255, 255, .78); padding: 72px 0 0; margin-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.ftr h4 { color: #fff; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.ftr a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.ftr a:hover { color: var(--gold-2); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr .brand { color: #fff; margin-bottom: 16px; }
.ftr .brand-t small { color: var(--gold-2); }
.ftr-bot { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.totop { position: fixed; right: 24px; bottom: 90px; z-index: 89; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; display: grid; place-items: center; transform: translateY(8px); }
.totop.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- halaman blog & artikel ---------- */
.page-hero { background: linear-gradient(160deg, #0b1f4d, #0a1a40); color: #fff; padding: calc(var(--header-h) + 48px) 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .22) 1.3px, transparent 1.6px); background-size: 16px 16px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .3em; position: relative; }
.page-hero p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 60ch; position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; margin-bottom: 14px; position: relative; list-style: none; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--gold-2); text-decoration: none; }
.crumbs li:last-child { color: rgba(255, 255, 255, .75); }
.search { display: flex; gap: 10px; margin-top: 24px; max-width: 520px; position: relative; }
.search input { flex: 1; padding: 14px 20px; border-radius: 999px; border: 2px solid transparent; font: inherit; background: #fff; color: var(--ink); min-width: 0; }
.search input:focus { outline: 0; border-color: var(--gold-2); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip { padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .86rem; transition: all .2s; }
.chip:hover, .chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip small { opacity: .6; margin-left: 4px; }
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 700; text-decoration: none; color: var(--ink); }
.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager .cur { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager .dis { opacity: .4; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }

.article-wrap { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; padding: 56px 0 24px; }
.article-cover { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); margin: -92px 0 36px; position: relative; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }
.prose { font-size: 1.1rem; line-height: 1.85; color: #2b3858; }
.prose h2 { font-size: 1.65rem; margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .4em; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .3em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 16px 16px 0; font-style: italic; color: var(--navy); }
.prose img { border-radius: 16px; margin: 1.4em 0; display: block; }
.prose figure { margin: 1.6em 0; } .prose figcaption { text-align: center; font-size: .86rem; color: var(--muted); margin-top: -.6em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; } .prose th { background: var(--soft); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 36px 0 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share b { font-size: .9rem; color: var(--navy); }
.share a, .share button { padding: 8px 16px; border-radius: 999px; background: var(--soft); border: 0; color: var(--navy); font: 700 .84rem var(--font); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tags span { padding: 5px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--navy); font-size: .8rem; font-weight: 700; }

/* ---------- animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsif ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .vm, .contact-grid, .philo-grid, .cta, .meaning { grid-template-columns: 1fr; }
  .hero { padding-bottom: 130px; }
  .hero-visual { min-height: 320px; order: -1; margin-bottom: -10px; }
  .orb { width: min(340px, 86%); } .ring { width: min(390px, 96%); } .logo-card { width: min(220px, 60%); border-radius: 28px; }
  .philo-logo { position: static; max-width: 380px; margin: 0 auto; }
  .meaning { padding: 36px 26px; text-align: center; justify-items: center; }
  .cta { padding: 40px 28px; text-align: left; }
  .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; }
  .sec { padding: 72px 0; }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 4px; box-shadow: 0 24px 40px rgba(11, 31, 77, .15); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a.lnk, .hdr .nav a.lnk { color: var(--ink); padding: 14px 16px; border-radius: 14px; }
  .nav a.lnk:hover, .nav a.lnk.on { background: var(--gold-soft); color: var(--navy); }
  .nav .btn { margin: 10px 0 0; }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .brand-t small { display: none; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .stat + .stat::before { display: none; }
  .vision-card, .mission-card { padding: 30px 24px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 32px; }
  .share a, .share button { flex: 1 1 auto; text-align: center; }
  .prose { font-size: 1.03rem; }
  .article-cover { margin-top: -60px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .hdr, .wa-float, .totop, .ftr, .share { display: none !important; } .hero, .page-hero { background: #fff; color: #000; padding-top: 20px; } }

.totop svg { transform: rotate(-90deg); }

/* ---------- hero: seluruh konten terlihat pada layar pertama (tinggi mengikuti viewport) ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 8px) 0 clamp(96px, 16vh, 130px); }
.hero > .hero-grid { width: min(1180px, 100% - 40px); }
.hero-grid { gap: clamp(28px, 5vw, 56px); }
.hero .badge { margin-bottom: clamp(10px, 2.4vh, 22px); padding: 6px 14px; font-size: clamp(.72rem, 1.5vh, .8rem); }
.hero h1 { font-size: clamp(1.85rem, min(4.1vw, 7.2vh), 3.4rem); margin-bottom: clamp(.25em, 1.6vh, .5em); }
.hero p.lead { font-size: clamp(.92rem, min(1.35vw, 2.5vh), 1.12rem); line-height: 1.6; margin-bottom: clamp(14px, 3.4vh, 30px); }
.hero .btn { padding: clamp(10px, 1.9vh, 13px) clamp(20px, 2.2vw, 26px); }
.triad { margin-top: clamp(12px, 3vh, 30px); }
.hero-visual { min-height: 0; }
.logo-card { width: min(300px, 44vh, 72%); }
.orb { width: min(440px, 66vh, 94%); }
.ring { width: min(500px, 74vh, 100%); }
.hero-img { max-height: 60vh; width: auto; max-width: 100%; object-fit: cover; }
@media (max-height: 720px) and (min-width: 961px) {
  .triad { display: none; }
  .hero-wave svg { height: 44px; }
  .hero { padding-bottom: 96px; }
  .stats { margin-top: -78px; }
}
@media (max-width: 960px) {
  .hero { display: block; min-height: 0; padding: calc(var(--header-h) + 14px) 0 118px; }
  .hero > .hero-grid { width: min(1180px, 100% - 32px); }
  .hero-visual { min-height: 0; margin: 0 0 4px; order: -1; height: clamp(150px, 26vh, 230px); }
  .logo-card { width: clamp(120px, 24vh, 190px); border-radius: 24px; }
  .orb { width: clamp(150px, 30vh, 240px); } .ring { width: clamp(170px, 34vh, 270px); }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .triad { margin-top: 18px; }
}

/* ---------- layar pertama: hero + kartu statistik sama-sama terlihat (hero sedikit lebih pendek dari viewport) ---------- */
@media (min-width: 961px) {
  .hero { min-height: calc(100vh - 60px); min-height: calc(100svh - 60px); padding-bottom: clamp(104px, 17vh, 128px); }
  .stats { margin-top: -96px; }
  .stat { padding: clamp(14px, 2.6vh, 26px) 14px; }
  .stat b { font-size: clamp(1.7rem, min(3.4vw, 5.2vh), 2.6rem); }
  .stat span { font-size: clamp(.78rem, 1.7vh, .9rem); }
  .stats-grid { padding: 8px; }
}
@media (min-width: 961px) and (max-height: 720px) {
  .hero { min-height: calc(100svh - 52px); padding-bottom: 100px; }
  .stats { margin-top: -88px; }
  .stat { padding: 12px 14px; }
  .hero-wave svg { height: 36px; }
}

.pager .gap { min-width: 24px; background: transparent; border: 0; color: var(--muted); }
.pager-info { text-align: center; color: var(--muted); font-size: .86rem; margin: 14px 0 0; }

.map { position: relative; }
.map-btn { position: absolute; left: 14px; bottom: 14px; z-index: 2; box-shadow: 0 8px 22px rgba(11, 31, 77, .35); }
.map.ph .map-btn { position: static; margin-top: 16px; }

/* ---------- footer (desain ulang) ---------- */
.ftr { position: relative; background: radial-gradient(700px 360px at 100% 100%, rgba(201, 150, 47, .14), transparent 60%), linear-gradient(180deg, #0a1a40, #061029); color: rgba(255, 255, 255, .74); padding: 0 0 0; overflow: hidden; border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--navy-3), var(--gold-2), var(--green)) 1; }
.ftr::before { content: ""; position: absolute; right: -80px; bottom: 40px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .12) 1.3px, transparent 1.6px); background-size: 16px 16px; pointer-events: none; mask-image: radial-gradient(circle, #000 40%, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%); }
.ftr .wrap { position: relative; }
.ftr-cta { position: relative; top: -48px; margin-bottom: -8px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 36px; border-radius: 28px; color: var(--navy); background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 24px 60px rgba(201, 150, 47, .35), 0 0 0 8px rgba(255, 255, 255, .06); overflow: hidden; }
.ftr-cta::before { content: ""; position: absolute; right: -60px; top: -70px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .5) 1.3px, transparent 1.6px); background-size: 14px 14px; }
.ftr-cta-t { display: flex; align-items: center; gap: 18px; position: relative; min-width: 0; flex: 1 1 420px; }
.ftr-cta-ic { flex: 0 0 60px; height: 60px; border-radius: 18px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(11, 31, 77, .3); }
.ftr-cta h2 { color: var(--navy); font-size: clamp(1.15rem, 2.2vw, 1.55rem); margin: 0 0 .15em; }
.ftr-cta p { margin: 0; font-weight: 500; color: rgba(11, 31, 77, .82); }
.ftr-cta-b { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.ftr-cta .btn-gold { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(11, 31, 77, .3); }
.ftr-cta .btn-gold:hover { background: var(--navy-2); color: #fff; }
.ftr-cta .btn-line { color: var(--navy); border-color: rgba(11, 31, 77, .45); }
.ftr-cta .btn-line:hover { background: rgba(11, 31, 77, .08); color: var(--navy); border-color: var(--navy); }
.ftr-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.15fr 1.1fr; gap: clamp(28px, 4vw, 52px); padding: 8px 0 52px; }
.ftr h3 { color: #fff; font-size: .84rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; position: relative; padding-bottom: 12px; }
.ftr h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-2), transparent); }
.ftr-brand .brand { margin-bottom: 16px; }
.ftr-brand p { max-width: 38ch; line-height: 1.75; margin: 0 0 20px; }
.ftr .social a { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; width: 42px; height: 42px; border-radius: 50%; }
.ftr .social a:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); }
.ftr-links, .ftr-posts, .ftr-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ftr-links a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; color: rgba(255, 255, 255, .74); transition: color .2s, transform .2s; }
.ftr-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); opacity: .45; transition: opacity .2s, transform .2s; }
.ftr-links a:hover { color: #fff; transform: translateX(3px); }
.ftr-links a:hover::before { opacity: 1; transform: scale(1.3); }
.ftr-posts { gap: 14px; }
.ftr-posts li { padding-left: 14px; border-left: 2px solid rgba(227, 176, 75, .4); }
.ftr-posts a { color: #fff; font-weight: 600; font-size: .93rem; line-height: 1.4; display: block; }
.ftr-posts a:hover { color: var(--gold-2); }
.ftr-posts time { font-size: .76rem; color: rgba(255, 255, 255, .55); }
.ftr-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--gold-2) !important; font-weight: 700; font-size: .88rem; }
.ftr-more:hover { gap: 10px; }
.ftr-contact { gap: 14px; }
.ftr-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.ftr-contact li > .ic { margin-top: 3px; color: var(--gold-2); }
.ftr-contact .ftr-more { margin-top: 6px; }
.ftr-muted { margin: 0; color: rgba(255, 255, 255, .55); }
.ftr-bot { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; align-items: center; font-size: .85rem; }
.ftr-bot-l { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.ftr-bot-l a { color: rgba(255, 255, 255, .7); }
.ftr-bot-l a:hover { color: var(--gold-2); }
@media (max-width: 1060px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .ftr-cta { padding: 26px 22px; top: -36px; border-radius: 22px; }
  .ftr-cta-t { flex-direction: column; align-items: flex-start; }
  .ftr-cta-b, .ftr-cta-b .btn { width: 100%; }
  .ftr-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
  .ftr-bot { flex-direction: column; align-items: flex-start; }
}

.ftr { overflow: visible; overflow-x: clip; }
.ftr::before { right: 0; }
