/* Situs Sekolah Azaddy Al-Ghozali — gaya bersama semua halaman profil.
   Palet sama dengan ERP & /open-house/: teal (utama), kuning (hangat), aksen ungu. */
:root {
	--brand: #008a6e; --brand-2: #00aa88; --soft: #e6f7f3; --yellow: #fcd34d; --yellow-soft: #fff7d6;
	--purple: #966ae4; --purple-dark: #7a4fd4; --purple-soft: #f2ecfd;
	--ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e8edf2; --fill: #f1f5f9; --bg: #fbfcfd; --card: #fff;
	--r: 24px; --ease: cubic-bezier(.2, .8, .2, 1);
	--shadow: 0 1px 1px rgba(15,23,42,.03), 0 8px 24px -6px rgba(15,23,42,.08), 0 32px 64px -24px rgba(0,138,110,.18);
	--shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 6px 16px -8px rgba(15,23,42,.10);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(150,106,228,.55); outline-offset: 2px; border-radius: 8px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(251,252,253,.86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 2px solid rgba(150,106,228,.5); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; flex: 0 0 auto; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand b { display: block; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; }
.brand small { display: block; color: var(--purple); font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 11px; border-radius: 10px; transition: background .2s, color .2s; white-space: nowrap; }
.nav a:hover { background: var(--fill); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--soft); }
.nav .cta { margin-left: 8px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 8px 18px -10px rgba(0,138,110,.7); }
.nav .cta:hover { color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); transform: translateY(-1px); }
.menu-btn { display: none; border: 0; background: var(--fill); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- umum ---------- */
section { padding: 72px 0; position: relative; }
section.tight { padding: 48px 0; }
.alt { background: linear-gradient(180deg, #fff, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-2), var(--purple)); }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-top: 10px; }
h3 { font-size: 19px; font-weight: 700; }
.hl { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 45%, var(--purple) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 16px 0 0; }
.muted { color: var(--muted); }
.head { max-width: 720px; margin-bottom: 36px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.prose { color: var(--ink-2); max-width: 760px; }
.prose p { margin: 0 0 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; border: 0; border-radius: 16px; padding: 14px 22px; cursor: pointer; text-decoration: none; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 12px 24px -10px rgba(0,138,110,.65); transition: transform .15s var(--ease), box-shadow .2s; }
.btn:hover { box-shadow: 0 16px 30px -10px rgba(0,138,110,.75); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn.wa { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 12px 24px -10px rgba(18,140,126,.6); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn svg { width: 18px; height: 18px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 26px; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.card ul li { margin: 4px 0; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.ico svg { width: 24px; height: 24px; }
.ico.u { background: var(--purple-soft); color: var(--purple-dark); }
.ico.y { background: var(--yellow-soft); color: #b7791f; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--fill); color: var(--ink-2); }
.tag.t { background: var(--soft); color: var(--brand); } .tag.u { background: var(--purple-soft); color: var(--purple-dark); }

/* ---------- hero beranda ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 640px; height: 640px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,170,136,.18), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 520px; height: 520px; left: -220px; bottom: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(150,106,228,.14), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.slogan { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; color: var(--purple-dark); background: var(--purple-soft); padding: 7px 14px; border-radius: 999px; letter-spacing: .02em; }
.slogan i { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.hero h1 { margin: 18px 0 0; }
.foto { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 3; background: var(--fill); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto .label { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.foto .label small { display: block; font-weight: 600; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 26px; letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.stat:nth-child(even) b { color: var(--purple-dark); }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- hero halaman dalam ---------- */
.ph { padding: 56px 0 40px; overflow: hidden; }
.ph::before { content: ''; position: absolute; width: 560px; height: 560px; right: -180px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(150,106,228,.15), transparent 70%); pointer-events: none; }
.ph .wrap { position: relative; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); text-decoration: none; } .crumb a:hover { color: var(--brand); }

/* ---------- pilar ---------- */
.pilar { text-align: left; }
.pilar .no { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .1em; }

/* ---------- daftar "berbeda" ---------- */
.beda { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.beda li { list-style: none; display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.beda li b { display: block; font-size: 16px; }
.beda li span { color: var(--ink-2); font-size: 14.5px; }
.beda { padding: 0; margin: 0; }
.beda .ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; }

/* ---------- jenjang ---------- */
.jenjang .card { display: flex; flex-direction: column; }
.jenjang .kelas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.jenjang .more { margin-top: auto; padding-top: 18px; font-weight: 700; text-decoration: none; font-size: 14px; }

/* ---------- metode (batang) ---------- */
.bar { margin: 14px 0; }
.bar .lbl { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.bar .lbl span { color: var(--muted); font-weight: 700; }
.bar .tr { height: 12px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.bar .tr i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-2), var(--purple)); }

/* ---------- lapisan kurikulum ---------- */
.lapis { display: grid; gap: 12px; max-width: 640px; }
.lapis div { border-radius: 18px; padding: 18px 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.lapis div:nth-child(1) { margin: 0 64px; background: var(--purple-soft); border-color: transparent; }
.lapis div:nth-child(2) { margin: 0 32px; background: var(--soft); border-color: transparent; }
.lapis b { display: block; }
.lapis span { font-size: 14.5px; color: var(--ink-2); }

/* ---------- kutipan sambutan ---------- */
.quote { position: relative; background: #fff; border-radius: 28px; padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote::before { content: '\201C'; position: absolute; top: -18px; left: 28px; font-size: 96px; line-height: 1; color: var(--purple); font-family: Georgia, serif; }
.quote p { font-size: 18px; color: var(--ink-2); margin: 0 0 18px; }
.quote .by b { display: block; }
.quote .by span { color: var(--muted); font-size: 14px; }

/* ---------- guru ---------- */
.org { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.org .card, .orang .card { padding: 20px; display: flex; gap: 14px; align-items: center; }
.ava { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--purple)); }
.org .card b, .orang .card b { display: block; font-size: 15px; line-height: 1.3; }
.org .card span, .orang .card span { color: var(--muted); font-size: 13px; }
.orang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.unit-h { display: flex; align-items: baseline; gap: 12px; margin: 40px 0 16px; }
.unit-h h3 { font-size: 22px; }

/* ---------- kalender ---------- */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand-2), var(--purple)); opacity: .35; }
.tl li { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 10px 0; position: relative; }
.tl li::after { content: ''; position: absolute; left: 87px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-2); }
.tl li.libur::after { border-color: var(--yellow); }
.tl li.utama::after { border-color: var(--purple); background: var(--purple); }
.tl time { font-weight: 800; font-size: 14px; color: var(--ink); text-align: right; line-height: 1.3; padding-top: 10px; }
.tl time small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.tl .isi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-sm); }
.tl .isi b { font-size: 15px; }
.tl .isi span { display: block; color: var(--muted); font-size: 13px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--brand-2); margin-right: 6px; vertical-align: -1px; }
.legend .u i { border-color: var(--purple); background: var(--purple); } .legend .y i { border-color: var(--yellow); }

/* ---------- tabel seragam ---------- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); font-size: 15px; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { background: var(--fill); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tbl td:first-child { font-weight: 700; white-space: nowrap; }

/* ---------- open house & CTA ---------- */
.oh { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: linear-gradient(135deg, #fff, var(--purple-soft)); border-radius: 28px; padding: 32px; border: 1px solid transparent; background-clip: padding-box; box-shadow: var(--shadow); position: relative; }
.oh::before { content: ''; position: absolute; inset: 0; border-radius: 28px; padding: 1px; background: linear-gradient(90deg, var(--brand-2), var(--purple)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.oh h3 { font-size: 24px; margin: 6px 0; }
.oh .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-weight: 600; font-size: 14px; margin-top: 10px; }
.oh .facts span { display: inline-flex; gap: 6px; align-items: center; }
.oh .facts svg { width: 16px; height: 16px; color: var(--purple); }

.tour { border-radius: 28px; overflow: hidden; position: relative; min-height: 300px; display: grid; align-items: end; background: #0f172a; box-shadow: var(--shadow); }
.tour img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.tour .isi { position: relative; padding: 32px; color: #fff; max-width: 560px; }
.tour .isi p { color: rgba(255,255,255,.85); margin: 8px 0 0; }
.tour .badge { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 360px; background: var(--fill); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.kontak li { list-style: none; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.kontak { padding: 0; margin: 0; }
.kontak b { display: block; }
.kontak span, .kontak a { color: var(--ink-2); }

.note { font-size: 13px; color: var(--muted); }
.draft { background: var(--yellow-soft); color: #92400e; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; display: inline-block; }

/* ---------- footer ---------- */
footer { background: #0f1a2b; color: #cbd5e1; padding: 56px 0 28px; margin-top: 40px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer b { color: #fff; }
footer a { color: #cbd5e1; text-decoration: none; } footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 14px; }
footer .brand { color: #fff; } footer .brand small { color: #c4b1f3; }
footer p { font-size: 14px; margin: 14px 0 0; max-width: 360px; }
footer .copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- animasi muncul ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .rv { opacity: 1; transform: none; } }

/* ---------- responsif ---------- */
@media (max-width: 1060px) {
	.nav { position: fixed; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 14px 18px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
	.nav.open { transform: none; opacity: 1; pointer-events: auto; }
	.nav a { padding: 12px 14px; font-size: 15px; }
	.nav .cta { margin: 8px 0 0; text-align: center; }
	.menu-btn { display: grid; place-items: center; }
	.g5 { grid-template-columns: repeat(3, 1fr); }
	.org { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	section { padding: 56px 0; }
	.hero .hero-grid { grid-template-columns: 1fr; gap: 28px; }
	.hero { padding-top: 32px; }
	.g3, .g4 { grid-template-columns: repeat(2, 1fr); }
	.orang { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.oh { grid-template-columns: 1fr; }
	footer .cols { grid-template-columns: 1fr 1fr; }
	footer .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.wrap { padding: 0 16px; }
	.g2, .g3, .g4, .g5, .beda, .orang, .org { grid-template-columns: 1fr; }
	.lead { font-size: 16.5px; }
	.card { padding: 22px; }
	.quote { padding: 28px 22px; }
	.quote p { font-size: 16.5px; }
	.lapis div:nth-child(1), .lapis div:nth-child(2) { margin: 0; }
	.tl::before { left: 70px; } .tl li { grid-template-columns: 60px 1fr; gap: 22px; } .tl li::after { left: 65px; }
	.tbl th, .tbl td { padding: 11px 12px; }
	.btns .btn { flex: 1 1 100%; }
	.oh, .tour .isi { padding: 24px; }
	footer .cols { grid-template-columns: 1fr; }
	.brand b { font-size: 14px; }
}
.oh .facts em { font-style: normal; }
.tour .badge svg { width: 16px; height: 16px; }

/* ---------- foto guru (per kelompok) ---------- */
.grup { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch; margin-top: 24px; }
.grup figure, .potret figure { margin: 0; border-radius: 24px; overflow: hidden; background: #c9c6ee; box-shadow: var(--shadow-sm); }
.grup img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.grup .card { display: flex; flex-direction: column; justify-content: center; }
.grup .card h3 { margin: 10px 0 6px; font-size: 21px; }
.nama { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.nama li { padding: 10px 12px; border-radius: 12px; background: var(--fill); }
.nama b { display: block; font-size: 15px; line-height: 1.3; }
.nama span { font-size: 13px; color: var(--muted); }
.potret { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: var(--shadow-sm); }
.potret img { width: 100%; height: auto; }
.potret h3 { margin: 8px 0 6px; font-size: 21px; }
.potret p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .grup { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .potret { grid-template-columns: 120px 1fr; gap: 14px; padding: 12px; } .potret h3 { font-size: 18px; } }
.grup.tanpa-foto { grid-template-columns: 1fr; }
.grup.tanpa-foto .nama { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
