/* Ibrahim Web — tema publik (hijau zamrud & emas, nuansa geometri Islami) */
:root {
  --g: #0b4a3f; --g2: #0f766e; --g3: #134e4a; --gd: #072f28;
  --gold: #c8962b; --gold2: #e2b33c; --gold-l: #fdf3d7;
  --cream: #fbf7ec; --ink: #10231f; --muted: #5b6b67; --line: #e6e1d3; --white: #fff;
  --r: 18px; --sh: 0 10px 30px rgba(11, 74, 63, .10); --sh2: 0 18px 45px rgba(11, 74, 63, .16);
  --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c8962b' stroke-opacity='.18' stroke-width='1.2'%3E%3Cpath d='M40 6l9.9 14.1L64 10.1l-4 16.8L76 34l-16 7.1L64 58l-14.1-10L40 62l-9.9-14L16 58l4-16.9L4 34l16-7.1-4-16.8 14.1 10z'/%3E%3Ccircle cx='40' cy='34' r='9'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--g2); text-decoration: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .xs { font-size: .8rem; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; line-height: 1.2; }
.btn-sm { padding: 8px 15px; font-size: .85rem; } .btn-lg { padding: 15px 30px; font-size: 1rem; } .btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #3b2604; box-shadow: 0 6px 18px rgba(200, 150, 43, .35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200, 150, 43, .45); }
.btn-prim { background: var(--g); color: #fff; } .btn-prim:hover { background: var(--g2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; } .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-line { border-color: var(--g); color: var(--g); } .btn-line:hover { background: var(--g); color: #fff; }
.btn-line-d { border-color: var(--line); color: var(--g); background: #fff; } .btn-line-d:hover { border-color: var(--g); }
.btn-wa { background: #25d366; color: #fff; } .btn-wa:hover { background: #1fb957; }

/* Topbar & navigasi */
.topbar { background: var(--gd); color: rgba(255, 255, 255, .78); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: rgba(255, 255, 255, .85); margin-left: 16px; } .topbar a:hover { color: var(--gold2); }
.topbar i { color: var(--gold2); margin-right: 4px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.nav.sc { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); min-width: 0; }
.brand img { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
.brand b { display: block; font-size: 1.02rem; color: var(--g); white-space: nowrap; }
.brand small { display: block; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.menu > a, .dd-t { white-space: nowrap; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.menu > a:hover, .dd-t:hover, .menu > a.on { color: var(--g); background: var(--cream); }
.dd-t i { font-size: .65rem; opacity: .6; }
.dd { position: relative; }
.dd-m { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh2); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.dd:hover .dd-m, .dd.open .dd-m { opacity: 1; visibility: visible; transform: none; }
.dd-m a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.dd-m a:hover { background: var(--cream); color: var(--g); } .dd-m a i { font-size: .7rem; opacity: .5; }
.menu-cta { display: flex; gap: 8px; margin-left: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--g); border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; min-height: 600px; background: var(--gd); overflow: hidden; }
.hs { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.hs.on { opacity: 1; position: relative; min-height: 600px; }
.hero-sl .hs:not(.on) { pointer-events: none; }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 47, 40, .92) 0%, rgba(11, 74, 63, .75) 45%, rgba(11, 74, 63, .25) 100%); }
.hs-default { background: radial-gradient(circle at 80% 30%, #12665a 0%, var(--g) 45%, var(--gd) 100%); }
.hs-default::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 92px; opacity: .9; }
.hs-default .hero-ov { background: linear-gradient(90deg, rgba(7, 47, 40, .85), rgba(7, 47, 40, .2)); }
.hero-in { position: relative; z-index: 2; color: #fff; padding: 90px 20px 110px; }
.hero-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero-kick { display: inline-flex; align-items: center; gap: 8px; background: rgba(226, 179, 60, .15); color: var(--gold2); border: 1px solid rgba(226, 179, 60, .4); padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .3px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 22px 0 16px; max-width: 760px; letter-spacing: -.5px; }
.hero p { font-size: 1.12rem; color: rgba(255, 255, 255, .85); max-width: 620px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-emb { position: relative; display: grid; place-items: center; }
.hero-emb img { width: min(320px, 80%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); position: relative; z-index: 2; animation: float 6s ease-in-out infinite; }
.emb-ring { position: absolute; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(226, 179, 60, .35); animation: spin 60s linear infinite; }
.emb-ring::after { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); background: radial-gradient(circle, rgba(226, 179, 60, .12), transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes float { 50% { transform: translateY(-12px); } }
.hs-dots { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hs-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: .3s; }
.hs-dots button.on { width: 30px; background: var(--gold2); }

/* Statistik */
.stats-band { position: relative; z-index: 5; margin-top: -54px; }
.stats-g { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--sh2); overflow: hidden; border: 1px solid var(--line); }
.st { padding: 26px 18px; text-align: center; position: relative; }
.st + .st::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.st i { font-size: 1.35rem; color: var(--gold); margin-bottom: 6px; display: block; }
.st b { display: block; font-size: 2.3rem; font-weight: 800; color: var(--g); line-height: 1.1; font-variant-numeric: tabular-nums; }
.st span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.st-src { text-align: right; font-size: .72rem; color: var(--muted); margin-top: 8px; } .st-src i { color: var(--g2); }

/* Seksi umum */
.sec { padding: 90px 0; } .sec-soft { background: var(--cream); position: relative; }
.sec-soft::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 110px; opacity: .35; pointer-events: none; }
.sec-soft > .wrap { position: relative; }
.sec-h { text-align: center; max-width: 680px; margin: 0 auto 46px; } .sec-h p { color: var(--muted); }
.sec-h-row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; gap: 20px; flex-wrap: wrap; }
.kick { display: inline-block; color: var(--gold); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; margin-bottom: 10px; position: relative; padding-left: 26px; }
.kick::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; background: var(--gold); }
.sec-h .kick { padding: 0 26px; } .sec-h .kick::after { content: ""; position: absolute; right: 0; top: 50%; width: 18px; height: 2px; background: var(--gold); }
.sec-h-row .kick { padding: 0 0 0 26px; } .sec-h-row .kick::after { display: none; }
.kick-l { color: var(--gold2); } .kick-l::before, .kick-l::after { background: var(--gold2) !important; }
.h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 3.2vw, 2.5rem); color: var(--g); letter-spacing: -.3px; }
.h2-l { color: #fff; } .h3 { font-size: 1.15rem; color: var(--g); } .h3 i { color: var(--gold); }

/* Sambutan */
.sambut { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.frame-ar { position: relative; aspect-ratio: 4/5; border-radius: 200px 200px 22px 22px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 0 0 2px var(--gold), var(--sh2); background: var(--cream); }
.frame-ar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sambut-foto { position: relative; }
.sambut-foto::before { content: ""; position: absolute; inset: -22px -22px 40px 40px; background: var(--pat), var(--g); background-size: 70px; border-radius: 200px 200px 26px 26px; z-index: -1; }
.sambut-nm { position: relative; margin: -40px 24px 0; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--sh); text-align: center; border-bottom: 3px solid var(--gold); }
.sambut-nm b { display: block; color: var(--g); font-size: 1.05rem; } .sambut-nm span { font-size: .85rem; color: var(--muted); }
.prose { font-size: 1.04rem; color: #2b3b37; }
.prose p { margin: 0 0 1em; } .prose h2 { font-family: 'Playfair Display', serif; color: var(--g); font-size: 1.6rem; margin: 1.4em 0 .5em; } .prose h3 { color: var(--g); margin: 1.2em 0 .5em; }
.prose img { border-radius: 14px; margin: 1.2em auto; height: auto; } .prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 14px 14px 0; font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .4em; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; } .prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; } .prose th { background: var(--cream); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.sambut .btn { margin-top: 8px; }

/* Ayat */
.ayat { background: linear-gradient(135deg, var(--g) 0%, var(--gd) 100%); color: #fff; text-align: center; padding: 70px 0; position: relative; overflow: hidden; }
.ayat::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 90px; opacity: .6; }
.ayat .wrap { position: relative; }
.ayat-ar { font-family: 'Amiri', serif; font-size: clamp(1.8rem, 4vw, 2.9rem); color: var(--gold2); line-height: 1.9; direction: rtl; }
.ayat p { font-size: 1.1rem; max-width: 720px; margin: 14px auto 8px; color: rgba(255, 255, 255, .88); font-style: italic; } .ayat span { color: var(--gold2); font-weight: 700; font-size: .9rem; }

/* Unit */
.unit-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.unit { background: #fff; border-radius: var(--r); padding: 30px 24px; border: 1px solid var(--line); color: var(--ink); position: relative; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.unit::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--g2), var(--gold)); transform: scaleX(0); transform-origin: left; transition: .3s; }
.unit:hover { transform: translateY(-6px); box-shadow: var(--sh2); } .unit:hover::after { transform: scaleX(1); }
.unit-img { margin: -30px -24px 20px; height: 140px; background-size: cover; background-position: center; }
.unit-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--g2), var(--g)); margin-bottom: 18px; box-shadow: 0 8px 18px rgba(15, 118, 110, .3); transform: rotate(-4deg); }
.unit-s { font-size: .75rem; font-weight: 800; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }
.unit h3 { font-size: 1.15rem; color: var(--g); margin: 4px 0 8px; } .unit p { font-size: .92rem; color: var(--muted); margin: 0 0 16px; flex: 1; }
.unit-go { font-size: .85rem; font-weight: 700; color: var(--g2); } .unit-go i { font-size: .75rem; margin-left: 4px; }

/* Keunggulan */
.feat-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: .25s; position: relative; }
.feat:hover { border-color: var(--gold); box-shadow: var(--sh); }
.feat-ic { width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.3rem; color: var(--gold); background: var(--gold-l); border-radius: 14px; margin-bottom: 16px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.feat h3 { font-size: 1.08rem; color: var(--g); } .feat p { color: var(--muted); font-size: .93rem; margin: 0; }

/* SIPANDAI */
.sip { background: linear-gradient(120deg, var(--gd), var(--g) 60%, #0f6b5d); color: #fff; padding: 90px 0; position: relative; overflow: hidden; }
.sip::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 100px; opacity: .5; }
.sip-in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.sip-l { list-style: none; padding: 0; margin: 10px 0 30px; display: grid; gap: 12px; }
.sip-l li { display: flex; gap: 12px; align-items: center; font-size: 1.02rem; } .sip-l i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(226, 179, 60, .16); color: var(--gold2); flex-shrink: 0; }
.sip-phone { display: flex; flex-direction: column; align-items: center; }
.ph { width: 260px; background: #111; border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 2px rgba(255, 255, 255, .1); transform: rotate(4deg); }
.ph-top { width: 90px; height: 20px; background: #111; border-radius: 0 0 14px 14px; margin: -12px auto 0; position: relative; z-index: 2; }
.ph-c { background: #f4f7f6; border-radius: 28px; padding: 26px 14px 18px; margin-top: -20px; color: var(--ink); min-height: 400px; }
.ph-h { font-weight: 800; color: var(--g); margin-bottom: 14px; } .ph-h i { color: var(--gold); }
.ph-card { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.ph-card small { display: block; font-size: .7rem; color: var(--muted); } .ph-card b { color: var(--g); font-size: 1.1rem; }
.ph-bar { height: 7px; border-radius: 9px; background: #e5ece9; margin-top: 8px; overflow: hidden; } .ph-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--g2), var(--gold2)); border-radius: 9px; }
.ph-row { display: flex; gap: 6px; margin-bottom: 10px; } .ph-row span { flex: 1; text-align: center; font-size: .66rem; font-weight: 700; padding: 8px 2px; border-radius: 10px; background: #dcfce7; color: #166534; }
.ph-cap { margin-top: 20px; font-size: .75rem; color: rgba(255, 255, 255, .6); }

/* Berita */
.post-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-g2 { grid-template-columns: repeat(2, 1fr); }
.pc { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; }
.pc:hover { transform: translateY(-5px); box-shadow: var(--sh2); }
.pc-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream); display: block; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; } .pc:hover .pc-img img { transform: scale(1.06); }
.pc-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: rgba(255, 255, 255, .55); background: var(--pat), linear-gradient(135deg, var(--g2), var(--g)); background-size: 70px, auto; }
.pc-cat { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.pc-b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-m { font-size: .8rem; color: var(--muted); margin-bottom: 8px; } .pc-m i { color: var(--gold); }
.pc h3 { font-size: 1.12rem; margin: 0 0 8px; } .pc h3 a { color: var(--ink); } .pc h3 a:hover { color: var(--g2); }
.pc p { color: var(--muted); font-size: .92rem; margin: 0 0 14px; flex: 1; }
.pc-more { font-weight: 700; font-size: .85rem; } .pc-more i { font-size: .75rem; transition: .2s; } .pc:hover .pc-more i { transform: translateX(4px); }
.pc-big { grid-row: span 2; } .pc-big .pc-img { aspect-ratio: 16/11; } .pc-big h3 { font-size: 1.4rem; }

/* PSB & Agenda */
.ag-psb { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.psb { background: linear-gradient(135deg, var(--g) 0%, var(--gd) 100%); color: #fff; border-radius: 26px; padding: 44px; position: relative; overflow: hidden; box-shadow: var(--sh2); }
.psb-pat { position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; background: var(--pat); background-size: 70px; opacity: .8; border-radius: 50%; }
.psb h2 { font-family: 'Playfair Display', serif; font-size: 2.1rem; position: relative; }
.psb-l { list-style: none; padding: 0; margin: 16px 0 26px; display: grid; gap: 10px; position: relative; } .psb-l li { display: flex; gap: 10px; } .psb-l i { color: var(--gold2); margin-top: 5px; }
.psb-l-d i { color: var(--g2); }
.cd { display: flex; gap: 10px; margin: 18px 0 6px; position: relative; } .cd div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 10px 6px; min-width: 70px; text-align: center; }
.cd b { display: block; font-size: 1.7rem; color: var(--gold2); font-variant-numeric: tabular-nums; } .cd span { font-size: .72rem; opacity: .8; }
.xs-l { font-size: .8rem; opacity: .75; margin: 0; position: relative; }
.agenda { background: #fff; border-radius: 22px; padding: 30px; border: 1px solid var(--line); }
.ag { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); } .ag:last-of-type { border-bottom: 0; }
.ag-d { width: 58px; flex-shrink: 0; text-align: center; background: var(--cream); border-radius: 14px; padding: 6px 0; border: 1px solid var(--line); }
.ag-d b { display: block; font-size: 1.4rem; color: var(--g); line-height: 1.1; } .ag-d span { font-size: .72rem; font-weight: 700; color: var(--gold); text-transform: uppercase; }
.ag small { display: block; color: var(--muted); font-size: .82rem; } .ag p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.lnk { font-weight: 700; font-size: .88rem; display: inline-block; margin-top: 12px; }
.agenda-full { padding: 34px; }

/* Galeri */
.gal-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; display: block; background: var(--cream); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gal span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; color: #fff; font-size: .82rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: .3s; }
.gal:hover img { transform: scale(1.08); } .gal:hover span { opacity: 1; }
.gal-g:not(.gal-g-all) .gal:first-child { grid-column: span 2; grid-row: span 2; }
.lb { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 30px; flex-direction: column; }
.lb img { max-width: 100%; max-height: 82vh; border-radius: 10px; } .lb p { color: #fff; margin-top: 12px; }
.lb button { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lb .lb-p, .lb .lb-n { top: 50%; transform: translateY(-50%); } .lb .lb-p { left: 18px; right: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; } .chips a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; }
.chips a.on, .chips a:hover { background: var(--g); color: #fff; border-color: var(--g); } .chips span { opacity: .6; font-size: .78rem; }

/* Testimoni */
.sec-dark { background: var(--gd); color: #fff; position: relative; overflow: hidden; }
.sec-dark::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 100px; opacity: .45; } .sec-dark > .wrap { position: relative; }
.testi-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 28px; backdrop-filter: blur(4px); }
.testi > i { color: var(--gold2); font-size: 1.6rem; } .testi blockquote { margin: 12px 0 20px; color: rgba(255, 255, 255, .88); font-size: .98rem; }
.testi figcaption { display: flex; gap: 12px; align-items: center; } .testi img, .testi .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi .av { display: grid; place-items: center; background: var(--gold); color: #3b2604; font-weight: 800; }
.testi figcaption b { display: block; } .testi figcaption small { color: var(--gold2); }

/* Lokasi */
.lok { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.fc-d { display: flex; gap: 12px; color: #2b3b37; } .fc-d i { color: var(--gold); width: 20px; margin-top: 5px; }
.map { border-radius: 22px; overflow: hidden; box-shadow: var(--sh2); border: 6px solid #fff; aspect-ratio: 16/11; } .map iframe { width: 100%; height: 100%; border: 0; }
.map-s { aspect-ratio: 16/10; margin-top: 4px; }

/* Hero halaman */
.phero { background: linear-gradient(120deg, var(--gd), var(--g)); color: #fff; padding: 60px 0 56px; position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 90px; opacity: .6; } .phero .wrap { position: relative; }
.phero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 10px 0 8px; max-width: 900px; }
.phero p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 700px; }
.crumb { font-size: .82rem; color: rgba(255, 255, 255, .7); } .crumb a { color: var(--gold2); } .crumb i { font-size: .6rem; margin: 0 6px; opacity: .6; }

/* Blog */
.blog { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.side { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; } .side-box h4 { color: var(--g); margin-bottom: 12px; }
.srch { display: flex; padding: 6px; } .srch input { flex: 1; border: 0; padding: 10px 12px; font: inherit; outline: none; } .srch button { width: 44px; border: 0; border-radius: 12px; background: var(--g); color: #fff; cursor: pointer; }
.side-l { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .92rem; } .side-l:hover, .side-l.on { background: var(--cream); color: var(--g); }
.side-l span { font-size: .78rem; color: var(--muted); background: var(--cream); padding: 1px 8px; border-radius: 99px; }
.side-p { display: flex; gap: 12px; padding: 9px 0; color: var(--ink); font-weight: 600; font-size: .88rem; line-height: 1.4; border-bottom: 1px dashed var(--line); } .side-p:last-child { border: 0; }
.side-p img { width: 66px; height: 54px; border-radius: 10px; object-fit: cover; flex-shrink: 0; } .side-p small { display: block; color: var(--muted); font-weight: 400; font-size: .75rem; margin-top: 3px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 34px; } .pager a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pager a.on, .pager a:hover { background: var(--g); color: #fff; border-color: var(--g); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); } .empty > i { font-size: 2.6rem; color: var(--gold); opacity: .7; }

/* Artikel */
.art-w { max-width: 860px; }
.art-m { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .88rem; margin-bottom: 20px; } .art-m i { color: var(--gold); margin-right: 4px; }
.art-cover { width: 100%; border-radius: 22px; margin-bottom: 30px; box-shadow: var(--sh); }
.art .prose { font-size: 1.08rem; line-height: 1.8; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; cursor: pointer; font-size: 1rem; }
.sh-wa { background: #25d366; } .sh-fb { background: #1877f2; } .sh-x { background: #111; } .sh-cp { background: var(--g); }

/* Tim */
.tim-sec { margin-bottom: 56px; }
.tim-h { text-align: center; margin-bottom: 30px; } .tim-h span { font-family: 'Playfair Display', serif; color: var(--g); font-size: 1.6rem; position: relative; padding: 0 60px; }
.tim-h span::before, .tim-h span::after { content: "۞"; position: absolute; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.2rem; }
.tim-h span::before { left: 18px; } .tim-h span::after { right: 18px; }
.tim-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; } .tim-g-c { display: flex; justify-content: center; flex-wrap: wrap; } .tim-g-c .tm { width: 260px; }
.tm { text-align: center; background: #fff; border-radius: 22px; padding: 26px 18px 22px; border: 1px solid var(--line); transition: .25s; position: relative; overflow: hidden; }
.tm::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: var(--pat), linear-gradient(135deg, var(--g2), var(--g)); background-size: 60px, auto; }
.tm:hover { transform: translateY(-5px); box-shadow: var(--sh2); }
.tm-f { position: relative; width: 140px; height: 160px; margin: 0 auto 14px; border-radius: 80px 80px 18px 18px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--gold), var(--sh); background: var(--cream); }
.tm-f img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tm-f span { display: grid; place-items: center; height: 100%; font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--g); background: var(--gold-l); }
.tm b { display: block; color: var(--g); font-size: 1rem; line-height: 1.35; } .tm small { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.tm em { display: inline-block; margin-top: 8px; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--gold); background: var(--gold-l); padding: 3px 10px; border-radius: 99px; }
.tm p { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }

/* Formulir */
.daftar, .kontak { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: start; }
.kontak { grid-template-columns: 380px 1fr; }
.d-info { display: grid; gap: 18px; min-width: 0; }
.d-card { background: var(--cream); border-radius: var(--r); padding: 22px; border: 1px solid var(--line); } .d-card h3 { font-size: 1.02rem; color: var(--g); } .d-card h3 i { color: var(--gold); }
.alur { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .93rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--sh); }
.f-h { display: flex; align-items: center; gap: 10px; color: var(--g); font-size: 1.1rem; margin: 6px 0 16px; }
.f-h span { width: 32px; height: 32px; border-radius: 10px; background: var(--g); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-bottom: 26px; } .fg .full { grid-column: 1 / -1; }
.fg label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 700; color: #33443f; } .fg label small { font-weight: 400; color: var(--muted); }
.fg input, .fg select, .fg textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fdfcf8; color: var(--ink); width: 100%; transition: .2s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--g2); background: #fff; box-shadow: 0 0 0 4px rgba(15, 118, 110, .1); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }
.d-ok { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 50px 30px; box-shadow: var(--sh); }
.d-ok > i { font-size: 3.4rem; color: #16a34a; } .d-ok h2 { font-family: 'Playfair Display', serif; color: var(--g); margin-top: 12px; }
.d-kode { display: inline-block; background: var(--gold-l); border: 1px dashed var(--gold); border-radius: 12px; padding: 12px 20px; margin: 10px 0 14px; font-size: 1.05rem; } .d-kode b { color: var(--g); letter-spacing: 1px; }
.k-info { display: grid; gap: 14px; }
.k-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; color: var(--ink); transition: .2s; }
a.k-card:hover { border-color: var(--g2); box-shadow: var(--sh); }
.k-card > i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--g); font-size: 1.2rem; flex-shrink: 0; }
.k-card b { display: block; color: var(--g); } .k-card small { display: block; color: var(--muted); font-size: .78rem; }
.k-wa > i { background: #25d366; color: #fff; }
.alert { padding: 13px 16px; border-radius: 12px; margin: 16px 0; font-size: .93rem; } .alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; } .alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Footer */
.foot { background: var(--gd); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; padding-top: 70px; }
.foot-pat { position: absolute; inset: 0; background: var(--pat); background-size: 100px; opacity: .3; }
.foot-g { position: relative; display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.1fr; gap: 36px; }
.foot h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; } .foot h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold2); }
.foot a { color: rgba(255, 255, 255, .75); display: block; padding: 4px 0; font-size: .92rem; } .foot a:hover { color: var(--gold2); }
.foot p { font-size: .92rem; } .brand-f { color: #fff; margin-bottom: 14px; } .brand-f b { color: #fff; } .brand-f small { color: rgba(255, 255, 255, .6); }
.fc { display: flex; gap: 10px; margin: 0 0 10px; } .fc i { color: var(--gold2); margin-top: 5px; } .fc a { display: inline; padding: 0; }
.sos { display: flex; gap: 8px; } .sos a { width: 38px; height: 38px; border-radius: 50%; display: grid !important; place-items: center; background: rgba(255, 255, 255, .08); padding: 0; } .sos a:hover { background: var(--gold); color: #fff; }
.foot-b { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding: 20px; text-align: center; font-size: .82rem; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); z-index: 60; animation: pulse 2.5s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); } 50% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 14px rgba(37, 211, 102, 0); } }

/* Animasi masuk */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; } .rv.in { opacity: 1; transform: none; }

/* Responsif */
.brand b { white-space: normal; line-height: 1.2; max-width: 235px; font-size: .97rem; } .menu > a, .dd-t { padding: 9px 10px; }
@media (max-width: 1240px) { .brand small { display: none; } .menu > a, .dd-t { padding: 9px 8px; } .brand b { max-width: 210px; } }
@media (max-width: 1080px) {
  .menu > a, .dd-t { padding: 9px 6px; font-size: .82rem; } .menu-cta { margin-left: 4px; } .brand b { max-width: 180px; font-size: .9rem; }
  .unit-g { grid-template-columns: repeat(2, 1fr); } .tim-g { grid-template-columns: repeat(3, 1fr); }
  .foot-g { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 86vw); background: #fff; flex-direction: column; align-items: stretch; padding: 86px 18px 24px; gap: 2px; transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); overflow-y: auto; z-index: 40; }
  body.mn-open .menu { transform: none; } body.mn-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 30; }
  .menu { visibility: hidden; transition: transform .3s ease, visibility 0s .3s; } body.mn-open .menu { visibility: visible; transition: transform .3s ease; }
  body.mn-open .burger { position: relative; z-index: 45; } body.mn-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); } body.mn-open .burger span:nth-child(2) { opacity: 0; } body.mn-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu > a, .dd-t { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: .95rem; }
  .dd-m { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; min-width: 0; }
  .dd.open .dd-m { display: block; } .dd:hover .dd-m { opacity: 1; }
  .menu-cta { margin: 14px 0 0; flex-direction: column; } .menu-cta .btn { width: 100%; padding: 12px; }
  .hero-split, .sambut, .sip-in, .ag-psb, .lok, .blog, .daftar, .kontak { grid-template-columns: 1fr; }
  .hero-emb { display: none; } .sambut { gap: 50px; } .sambut-foto { max-width: 340px; margin: 0 auto; width: 100%; }
  .stats-g { grid-template-columns: repeat(2, 1fr); } .st:nth-child(3)::before { display: none; } .st:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feat-g, .post-g, .testi-g { grid-template-columns: repeat(2, 1fr); } .pc-big { grid-row: auto; }
  .gal-g { grid-template-columns: repeat(3, 1fr); } .side, .d-info { position: static; }
  .topbar .wrap > span:first-child { display: none; } .topbar .wrap { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 15px; } .wrap { padding: 0 16px; }
  .nav-in { height: 66px; } .brand img { width: 42px; height: 42px; } .brand b { font-size: .92rem; } .brand small { font-size: .68rem; max-width: 52vw; }
  .hero, .hs.on { min-height: 560px; } .hero-in { padding: 64px 16px 100px; } .hero p { font-size: 1rem; }
  .sec { padding: 64px 0; } .stats-band { margin-top: -44px; } .st { padding: 18px 10px; } .st b { font-size: 1.7rem; }
  .unit-g, .feat-g, .post-g, .post-g2, .testi-g { grid-template-columns: 1fr; }
  .tim-g { grid-template-columns: repeat(2, 1fr); gap: 14px; } .tm { padding: 20px 10px 16px; } .tm-f { width: 110px; height: 128px; } .tim-g-c .tm { width: calc(50% - 7px); }
  .tim-h span { padding: 0 40px; font-size: 1.3rem; } .tim-h span::before { left: 6px; } .tim-h span::after { right: 6px; }
  .gal-g { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .psb { padding: 30px 22px; } .psb h2 { font-size: 1.6rem; } .cd div { min-width: 0; flex: 1; } .cd b { font-size: 1.3rem; }
  .fg { grid-template-columns: 1fr; } .form { padding: 22px 18px; }
  .foot-g { grid-template-columns: 1fr; gap: 26px; } .ph { transform: none; }
  .topbar a { margin-left: 10px; } .topbar a[href^="mailto"] { display: none; }
  .sec-h-row { align-items: flex-start; }
}

/* Pilihan program (pendaftaran) */
.prog { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.prog-o { cursor: pointer; } .prog-o input { position: absolute; opacity: 0; pointer-events: none; }
.prog-o span { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px solid var(--line); border-radius: 16px; background: #fdfcf8; transition: .2s; height: 100%; }
.prog-o i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--g); font-size: 1.25rem; flex-shrink: 0; transition: .2s; }
.prog-o b { color: var(--ink); font-size: .98rem; line-height: 1.35; }
.prog-o input:checked + span { border-color: var(--g2); background: #f0fdfa; box-shadow: 0 0 0 4px rgba(15, 118, 110, .1); }
.prog-o input:checked + span i { background: var(--g); color: var(--gold2); }
.prog-o input:focus-visible + span { outline: 2px solid var(--g2); }
@media (max-width: 640px) { .prog { grid-template-columns: 1fr; } }

/* ===== Beranda gaya portal madrasah (mengikuti tata letak ibrahim.or.id) ===== */
.hero-light { min-height: 0; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.hero-light::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 92px; opacity: .45; }
.hero-lt-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 110px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-l); color: #8a5a0b; border: 1px solid #f0d99a; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.hero-light h1 { color: var(--g); font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.1vw, 2.5rem); margin: 18px 0 14px; letter-spacing: -.3px; max-width: 640px; }
.hero-light p { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin: 0 0 28px; }
.hero-pic { position: relative; }
.hero-pic > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--sh2); border: 6px solid #fff; }
.hero-pic-ph { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, #12665a, var(--g) 55%, var(--gd)); box-shadow: var(--sh2); overflow: hidden; }
.hero-pic-ph::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 80px; }
.hero-pic-ph img { width: 46%; position: relative; z-index: 2; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
.hero-pic-ph .emb-ring { width: 70%; }
.hero-badge { position: absolute; left: -22px; bottom: 26px; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--sh2); font-size: .85rem; color: var(--muted); max-width: 250px; }
.hero-badge i { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-l); color: var(--gold); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.hero-badge b { color: var(--g); font-size: 1.05rem; }
.strip { position: relative; z-index: 3; margin-top: -58px; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--g); border-radius: 22px; box-shadow: var(--sh2); overflow: hidden; padding: 0; }
.sp { display: flex; gap: 14px; align-items: center; padding: 24px 22px; color: #fff; border-right: 1px solid rgba(255, 255, 255, .12); }
.sp:last-child { border-right: 0; }
.sp > i { width: 46px; height: 46px; border-radius: 14px; background: rgba(226, 179, 60, .16); color: var(--gold2); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.sp small { display: block; font-size: .76rem; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .5px; }
.sp b { font-size: 1.05rem; }
.sec-tight { padding-top: 46px; padding-bottom: 20px; }
.info-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; color: var(--ink); transition: .2s; position: relative; overflow: hidden; }
.info::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--gold-l); opacity: .7; transition: .3s; }
.info:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.info:hover::after { transform: scale(1.3); }
.info > i { width: 52px; height: 52px; border-radius: 15px; background: var(--g); color: #fff; display: grid; place-items: center; font-size: 1.25rem; position: relative; z-index: 1; margin-bottom: 16px; }
.info h3 { font-size: 1.15rem; color: var(--g); position: relative; z-index: 1; }
.info p { color: var(--muted); font-size: .92rem; margin: 0 0 14px; position: relative; z-index: 1; }
.info span { font-weight: 700; font-size: .88rem; color: var(--gold); }
.lead-d { color: var(--muted); margin: 0 0 24px; }
.fas-home { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.fas-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fas-g2 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fac { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: .2s; }
.fac:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.fas-img { aspect-ratio: 16 / 9; overflow: hidden; }
.fas-img img { width: 100%; height: 100%; object-fit: cover; }
.fas-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--g), var(--g2)); position: relative; }
.fas-ph::before { content: ""; position: absolute; inset: 0; background: var(--pat); background-size: 70px; }
.fas-ph i { font-size: 2.3rem; color: var(--gold2); position: relative; }
.fas-b { padding: 16px 18px 18px; }
.fas-b h3 { font-size: 1.02rem; color: var(--g); margin-bottom: 4px; }
.fas-b p { font-size: .87rem; color: var(--muted); margin: 0; }
.news-ann { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.ann { background: var(--cream); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); position: sticky; top: 96px; }
.ann .h3 { color: var(--g); font-size: 1.1rem; }
.ann .h3 i { color: var(--gold); }
.ann-i { display: block; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.ann-i b { display: block; font-size: .93rem; line-height: 1.4; }
.ann-i:hover b { color: var(--g2); }
.ann-i small { color: var(--muted); font-size: .78rem; }
.dl-grp { color: var(--g); font-size: 1.05rem; margin: 26px 0 10px; }
.dl { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; color: var(--ink); background: #fff; transition: .2s; }
.dl:hover { border-color: var(--g2); box-shadow: var(--sh); }
.dl > i { font-size: 1.8rem; color: var(--gold); width: 36px; text-align: center; }
.dl span { flex: 1; min-width: 0; } .dl b { display: block; } .dl small { display: block; color: var(--muted); font-size: .84rem; }
.dl em { font-style: normal; font-weight: 700; color: var(--g2); font-size: .88rem; white-space: nowrap; }
.foot-visi { font-size: .86rem; opacity: .8; margin-top: 12px; font-style: italic; }
@media (max-width: 960px) {
  .hero-lt-in, .fas-home, .news-ann { grid-template-columns: 1fr; }
  .hero-lt-in { padding-top: 40px; gap: 34px; }
  .hero-badge { left: 12px; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .sp:nth-child(2) { border-right: 0; } .sp:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .info-g, .fas-g { grid-template-columns: repeat(2, 1fr); }
  .ann { position: static; }
}
@media (max-width: 640px) {
  .info-g, .fas-g, .fas-g2 { grid-template-columns: 1fr; }
  .sp { padding: 16px 14px; gap: 10px; } .sp > i { width: 38px; height: 38px; font-size: 1rem; } .sp b { font-size: .92rem; }
  .hero-light h1 { font-size: 1.6rem; }
  .hero-badge { display: none; }
  .brand b { white-space: normal; font-size: .86rem; line-height: 1.25; } .brand img { width: 42px; height: 42px; }
}

/* Halaman Daftar: jadwal, jalur, biaya */
.psb-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.psb-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.psb-box h3 { font-size: 1rem; color: var(--g); display: flex; gap: 8px; align-items: center; }
.psb-box h3 i { color: var(--gold); }
.psb-box ul { margin: 0; padding-left: 18px; font-size: .92rem; } .psb-box li { margin: 4px 0; }
.gratis { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #3b2604; border-radius: var(--r); padding: 18px 22px; margin-bottom: 18px; font-weight: 800; font-size: 1.1rem; box-shadow: 0 10px 26px rgba(200, 150, 43, .3); }
.gratis i { font-size: 1.6rem; }
.gratis small { display: block; font-weight: 600; font-size: .85rem; opacity: .85; }
.biaya { width: 100%; border-collapse: collapse; font-size: .93rem; }
.biaya td { padding: 9px 0; border-bottom: 1px dashed var(--line); } .biaya td:nth-child(2) { text-align: right; font-weight: 800; color: var(--g); white-space: nowrap; padding-left: 10px; } .biaya td[colspan] { white-space: normal; }
.bonus { margin-top: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
.bonus b { color: #047857; }
.jalur { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jalur > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .86rem; }
.jalur b { display: block; color: var(--g); }
@media (max-width: 960px) { .psb-top { grid-template-columns: 1fr; } }

/* Testimoni orang tua (kartu terang, tanpa foto bila dinonaktifkan) */
.tst-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.tst { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; position: relative; box-shadow: var(--sh); }
.tst-q { color: var(--gold); font-size: 1.5rem; opacity: .8; }
.tst-isi { margin: 10px 0 8px; color: #33443f; font-size: .95rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.tst.open .tst-isi { -webkit-line-clamp: unset; display: block; }
.tst-more { background: none; border: 0; color: var(--g2); font-weight: 700; font-size: .85rem; cursor: pointer; padding: 0; margin-bottom: 14px; font-family: inherit; }
.tst.open .tst-more i { transform: rotate(180deg); }
.tst figcaption { display: flex; gap: 12px; align-items: center; border-top: 1px dashed var(--line); padding-top: 14px; }
.tst img, .tst .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tst .av { display: grid; place-items: center; background: var(--g); color: var(--gold2); font-weight: 800; }
.tst figcaption b { display: block; color: var(--g); font-size: .93rem; line-height: 1.35; } .tst figcaption small { color: var(--muted); font-size: .8rem; }
@media (max-width: 960px) { .tst-g { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tst-g { grid-template-columns: 1fr; } }

/* ===== Tim: kartu bertautan & halaman profil ===== */
a.tm-link { color: inherit; text-decoration: none; transition: transform .18s, box-shadow .18s; }
a.tm-link:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.tm-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .8rem; font-weight: 700; color: var(--g2); }
.prof { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.prof-k { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 22px; text-align: center; }
.prof-f { width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #e8f3ef, #fdf3d7); margin-bottom: 16px; display: grid; place-items: center; }
.prof-f img { width: 100%; height: 100%; object-fit: cover; }
.prof-f span { font-size: 4rem; font-weight: 800; color: var(--g); }
.prof-k b { display: block; color: var(--g); font-size: 1.08rem; line-height: 1.35; }
.prof-k small { display: block; color: var(--muted); margin-top: 6px; font-size: .86rem; line-height: 1.45; }
.prof-bd { display: inline-block; margin-top: 10px; background: var(--gold-l); color: #7a5410; font-weight: 700; font-size: .74rem; padding: 4px 12px; border-radius: 999px; }
.prof-kontak { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; display: grid; gap: 8px; text-align: left; font-size: .84rem; }
.prof-kontak a { color: var(--ink); } .prof-kontak i { color: var(--g2); width: 18px; }
.prof-isi .prose p { text-align: justify; }

/* ===== Organ Yayasan: sambutan pendiri + visi misi ===== */
.org { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.org-f { position: sticky; top: 96px; text-align: center; }
.org-img { border-radius: 22px; overflow: hidden; background: linear-gradient(170deg, #e8f3ef 0%, #fdf3d7 100%); box-shadow: var(--sh2); aspect-ratio: 4 / 5; display: grid; place-items: end center; }
.org-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.org-img .org-logo { object-fit: contain; padding: 40px; align-self: center; }
.org-f b { display: block; margin-top: 16px; color: var(--g); font-size: 1.05rem; }
.org-f small { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.org-isi .prose h2 { color: var(--g); margin-top: 1.6em; } .org-isi .prose h2:first-child { margin-top: 0; }
.org-isi .prose p { text-align: justify; }
.org-isi .basmalah em { font-style: normal; font-weight: 700; color: var(--g2); }
.org-isi .ttd-pendiri { text-align: left !important; border-left: 4px solid var(--gold); padding-left: 14px; }
.org-isi .visi { font-size: 1.15rem; font-weight: 700; color: var(--g); background: var(--gold-l); border-radius: 14px; padding: 18px 22px; text-align: left !important; }
.org-isi ol.misi { counter-reset: m; list-style: none; padding: 0; display: grid; gap: 10px; }
.org-isi ol.misi li { counter-increment: m; position: relative; padding: 12px 16px 12px 56px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.org-isi ol.misi li::before { content: counter(m); position: absolute; left: 14px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.prose p.tags { color: var(--g2); font-size: .85rem; }
@media (max-width: 860px) {
  .prof, .org { grid-template-columns: 1fr; }
  .prof-k, .org-f { position: static; max-width: 340px; margin: 0 auto; }
}
/* foto depan berlatar transparan (PNG): tampil bebas tanpa bingkai, seperti website lama */
.hero-pic-bebas { align-self: end; margin-bottom: -110px; }
.hero-pic-bebas > img { aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; position: relative; z-index: 2; max-height: 560px; width: 100%; filter: drop-shadow(0 22px 30px rgba(11, 74, 63, .22)); }
.hero-glow { position: absolute; left: 8%; right: 8%; bottom: 6%; top: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(226, 179, 60, .35), rgba(15, 118, 110, .18) 55%, transparent 72%); z-index: 1; }
.hero-pic-bebas .hero-badge { z-index: 3; bottom: 120px; }
@media (max-width: 960px) { .hero-pic-bebas { margin-bottom: -40px; } .hero-pic-bebas > img { max-height: 420px; } }

/* Halaman Izin Operasional */
.izin{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:32px;align-items:start}
.izin-img{position:relative;display:block;border-radius:14px;overflow:hidden;box-shadow:0 18px 40px rgba(6,60,48,.18);background:#fff;border:1px solid rgba(0,0,0,.06)}
.izin-img img{display:block;width:100%;height:auto}
.izin-img span{position:absolute;right:10px;bottom:10px;background:rgba(6,60,48,.85);color:#fff;font-size:.8rem;padding:5px 10px;border-radius:999px}
.izin .prose table{width:100%;border-collapse:collapse;margin:14px 0;font-size:.95rem}
.izin .prose th,.izin .prose td{border-bottom:1px solid #e5e7eb;padding:9px 8px;text-align:left;vertical-align:top}
.izin .prose th{width:42%;color:#475569;font-weight:600}
@media(max-width:860px){.izin{grid-template-columns:1fr}}

.izin .izin-img{position:sticky;top:96px}
.izin .prose h2{font-size:1.25rem;margin:22px 0 10px}
.izin .prose blockquote.visi{margin:0;padding:16px 20px;border-left:4px solid #c9a227;background:#fbf7ea;border-radius:10px;font-size:1.05rem;font-style:italic;color:#0b3f3a}
.izin .prose ol.misi{padding-left:22px}.izin .prose ol.misi li{margin:6px 0}
@media(max-width:860px){.izin .izin-img{position:static}}

/* ===== Tiga bahasa (ID · EN · ع) ===== */
.lang-sw{display:inline-flex;gap:2px;background:rgba(255,255,255,.12);border-radius:999px;padding:2px;margin-inline-end:6px;vertical-align:middle}
.topbar .lang-sw a{margin:0;padding:2px 9px;border-radius:999px;font-weight:700;font-size:.74rem;color:rgba(255,255,255,.85)}
.topbar .lang-sw a.on{background:var(--gold2);color:#063c30}
.lang-sw-m{display:none}
.lang-note{background:#fbf7ea;border:1px solid #f0e2b8;color:#6b5a1e;border-radius:12px;padding:10px 14px;font-size:.88rem;margin:14px 0}
@media (max-width:1080px){.lang-sw-m{display:inline-flex;background:var(--cream,#f6f3ea);margin:10px 0 0}.lang-sw-m a{padding:6px 14px;border-radius:999px;font-weight:700;font-size:.85rem;color:var(--ink)}.lang-sw-m a.on{background:var(--g);color:#fff}}
/* kanan-ke-kiri untuk bahasa Arab */
html[dir=rtl] body{font-family:'Noto Naskh Arabic','Cairo','Amiri',system-ui,sans-serif;line-height:1.9}
html[dir=rtl] .h2,html[dir=rtl] .hero h1,html[dir=rtl] .phero h1,html[dir=rtl] .prose h2,html[dir=rtl] .psb h2,html[dir=rtl] .tim-h span{font-family:'Cairo','Noto Naskh Arabic',serif;letter-spacing:0}
html[dir=rtl] .btn,html[dir=rtl] .menu>a,html[dir=rtl] .dd-t{font-family:'Cairo','Noto Naskh Arabic',sans-serif}
html[dir=rtl] .kick{letter-spacing:0;padding-left:0;padding-right:26px}
html[dir=rtl] .kick::before{left:auto;right:0}
html[dir=rtl] .topbar a{margin-left:0;margin-right:16px}
html[dir=rtl] .topbar i{margin-right:0;margin-left:4px}
html[dir=rtl] .menu{margin-left:0;margin-right:auto}
html[dir=rtl] .menu-cta{margin-left:0;margin-right:10px}
html[dir=rtl] .burger{margin-left:0;margin-right:auto}
html[dir=rtl] .dd-m{left:auto;right:0}
html[dir=rtl] .sec-h-row{text-align:right}
html[dir=rtl] .prose blockquote{border-left:0;border-right:4px solid var(--gold);border-radius:14px 0 0 14px}
html[dir=rtl] .prose ul,html[dir=rtl] .prose ol,html[dir=rtl] .alur,html[dir=rtl] .psb-box ul,html[dir=rtl] .izin .prose ol.misi{padding-left:0;padding-right:1.3em}
html[dir=rtl] .unit::after{transform-origin:right}
html[dir=rtl] .unit-go i{margin-left:0;margin-right:4px}
html[dir=rtl] .pc-cat{left:auto;right:14px}
html[dir=rtl] .art-m i{margin-right:0;margin-left:4px}
html[dir=rtl] .foot h4::after{left:auto;right:0}
html[dir=rtl] .wa-float{right:auto;left:20px}
html[dir=rtl] .sp{border-right:0;border-left:1px solid rgba(255,255,255,.12)}
html[dir=rtl] .sp:last-child{border-left:0}
html[dir=rtl] .hero-badge{left:auto;right:-22px}
html[dir=rtl] .info::after{right:auto;left:-30px}
html[dir=rtl] .psb-pat{right:auto;left:-60px}
html[dir=rtl] .st-src,html[dir=rtl] .prof-kontak,html[dir=rtl] .izin .prose th,html[dir=rtl] .izin .prose td{text-align:right}
html[dir=rtl] .org-isi .ttd-pendiri{text-align:right!important;border-left:0;border-right:4px solid var(--gold);padding-left:0;padding-right:14px}
html[dir=rtl] .org-isi .visi{text-align:right!important}
html[dir=rtl] .org-isi ol.misi li::before{left:auto;right:14px}
html[dir=rtl] .izin-img span{right:auto;left:10px}
html[dir=rtl] .izin .prose blockquote.visi{border-left:0;border-right:4px solid #c9a227}
html[dir=rtl] .fa-arrow-right:not(.no-flip),html[dir=rtl] .fa-chevron-right{transform:scaleX(-1)}
html[dir=rtl] [lang=id][dir=ltr]{font-family:'Plus Jakarta Sans',system-ui,sans-serif;text-align:left}
@media (max-width:1080px){html[dir=rtl] .menu{right:auto;left:0;transform:translateX(-100%);box-shadow:10px 0 40px rgba(0,0,0,.15)}html[dir=rtl] body.mn-open .menu{transform:none}html[dir=rtl] .hero-badge{right:12px}}
html[dir=rtl],html[dir=rtl] body{overflow-x:clip}

/* ===== Tim Pendidikan: kartu foto (v1.4.1) ===== */
.tim-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:26px}
.tc-g{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tc{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;color:inherit;text-decoration:none;transition:transform .2s,box-shadow .2s}
a.tc:hover{transform:translateY(-4px);box-shadow:var(--sh2)}
.tc-f{aspect-ratio:1/1;background:linear-gradient(160deg,#eef1f0,#d9dedc);overflow:hidden}
.tc-f img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;transition:transform .4s}
a.tc:hover .tc-f img{transform:scale(1.04)}
.tc-f span{display:grid;place-items:center;height:100%;font-family:'Playfair Display',serif;font-size:4rem;color:var(--g);background:var(--gold-l)}
.tc-b{padding:14px 14px 16px}
.tc-b b{display:block;color:var(--g);font-size:.97rem;line-height:1.35}
.tc-b small{display:block;color:var(--muted);font-size:.84rem;margin-top:5px;line-height:1.4}
.tc-pager{margin-top:28px;justify-content:center}
.tc-pager .nx{width:auto;padding:0 14px;display:inline-flex;gap:6px;align-items:center}
@media (max-width:980px){.tc-g{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.tc-g{grid-template-columns:repeat(2,1fr);gap:12px}.tc-b{padding:10px 10px 12px}.tc-b b{font-size:.88rem}.tc-b small{font-size:.76rem}}
html[dir=rtl] .tc-pager .nx i{transform:scaleX(-1)}
.org-ketua { margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(6,60,48,.12); }
.org-ketua-h { font-family: var(--serif, inherit); color: var(--g); font-size: 1.6rem; margin: 0 0 22px; text-align: center; }
.prose figure.sertif { margin: 18px 0; } .prose figure.sertif img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 34px rgba(6,60,48,.16); border: 1px solid rgba(0,0,0,.06); }
.prose figure.sertif figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }
html, body { overflow-x: clip; }
