/* =========================================================
   Bimbel SS Gama — website depan
   Gaya: bersih & sederhana seperti brosur lembaga pendidikan.
   Warna dari logo: navy, merah, kuning.
   ========================================================= */
:root {
  --navy: #1b2f7a;
  --navy-dark: #12215a;
  --red: #d7262e;
  --red-dark: #b81f26;
  --yellow: #f7cd2e;
  --ink: #1a1d29;
  --body: #3d4352;
  --muted: #6b7180;
  --line: #e4e2dc;
  --paper: #fbfaf6;
  --white: #ffffff;
  --radius: 10px;
  --font: "Nunito", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; font-weight: 500;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.me-1 { margin-right: .3rem; }
.me-2 { margin-right: .5rem; }

.container-x { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-soft { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 8px; }

/* ---------- Judul section (rata kiri) ---------- */
.label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 40px; }
.head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; max-width: 640px; }
.head p { color: var(--muted); margin: .6rem 0 0; max-width: 560px; }

/* ---------- Tombol ---------- */
.btn-x {
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.35rem; border-radius: 8px;
  font-weight: 800; font-size: .95rem; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary-x { background: var(--red); color: #fff; }
.btn-primary-x:hover { background: var(--red-dark); color: #fff; }
.btn-navy-x { background: var(--navy); color: #fff; }
.btn-navy-x:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost-x { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost-x:hover { background: var(--navy); color: #fff; }
.btn-sm-x { padding: .5rem 1rem; font-size: .88rem; }
.link-arrow { font-weight: 800; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { font-size: .85em; transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 1000; background: #fff;
  border-bottom: 1px solid var(--line); display: flex; align-items: center;
  transition: transform .35s var(--ease);
}
.site-header.hidden { transform: translateY(-100%); }
body.nav-open .site-header.hidden { transform: none; }
.site-header .container-x { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1400px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 900; font-size: 1.08rem; }
.brand img { height: 44px; width: auto; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: .45rem .75rem; color: var(--ink); font-weight: 700; font-size: .95rem; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--navy); border-bottom-color: var(--yellow); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-links .mobile-only { display: none; }

.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 800; font-size: .88rem; cursor: pointer;
}
.lang-btn:hover { border-color: var(--navy); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); padding: 4px; list-style: none; margin: 0; display: none;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .7rem; border-radius: 6px; color: var(--ink); font-weight: 700; font-size: .92rem; }
.lang-menu a:hover { background: var(--paper); }
.lang-menu a.current { color: var(--red); }
.lang-menu small { color: var(--muted); font-weight: 800; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active { border-bottom-color: var(--line); }
  .nav-links .mobile-only { display: block; }
  .nav-actions .login-link { display: none; }
}
@media (max-width: 480px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); background: var(--paper); border-bottom: 1px solid var(--line); }
.hero .container-x { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-kicker { display: inline-block; font-weight: 800; color: var(--navy); background: var(--yellow); padding: .25rem .7rem; border-radius: 4px; font-size: .88rem; margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.1; margin-bottom: 1.2rem; }
.hero h1 .hl { color: var(--red); }
.hero-lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 560px; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-facts i { color: var(--red); margin-right: .35rem; }
.hero-logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.hero-logo img { margin: 0 auto; max-height: 360px; width: auto; }
.hero-logo p { text-align: center; margin: 1.2rem 0 0; color: var(--muted); font-weight: 700; font-size: .92rem; }
@media (max-width: 900px) {
  .hero .container-x { grid-template-columns: 1fr; }
  .hero-logo { max-width: 420px; }
}

/* ---------- Angka ringkas ---------- */
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-top: clamp(40px, 5vw, 64px); }
.fact { padding: 22px 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-size: 2rem; font-weight: 900; color: var(--navy); line-height: 1.1; }
.fact span { color: var(--muted); font-weight: 700; font-size: .92rem; }
@media (max-width: 760px) {
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Tentang ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-grid h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.about-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rich p:empty { display: none; }
.rich [style*="text-align: center"], .rich [style*="text-align: justify"] { text-align: left !important; }
.rich img { border-radius: 8px; }
.rich h1, .rich h2, .rich h3 { font-size: 1.2rem; }
.rich ol, .rich ul { padding-left: 1.3rem; }
.about-text > p:first-child:has(strong), .vm-col .rich > p:first-child:has(strong) { display: none; }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.check-list li { display: flex; gap: .55rem; font-weight: 700; color: var(--ink); font-size: .97rem; }
.check-list i { color: var(--red); margin-top: .35rem; font-size: .85rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }

/* ---------- Keunggulan: daftar bernomor ---------- */
.numbered { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.numbered li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: flex; gap: 1.1rem; }
.numbered li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.numbered .num { font-size: 1.05rem; font-weight: 900; color: var(--red); min-width: 2rem; }
.numbered h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.numbered p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 900px) {
  .numbered { grid-template-columns: 1fr 1fr; }
  .numbered li, .numbered li:not(:nth-child(3n + 1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .numbered li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .numbered { grid-template-columns: 1fr; }
  .numbered li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Visi & misi ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.vm-col { border-top: 4px solid var(--navy); padding-top: 1.2rem; }
.vm-col:nth-child(2) { border-top-color: var(--red); }
.vm-col:nth-child(3) { border-top-color: var(--yellow); }
.vm-col h3 { font-size: 1.3rem; display: flex; align-items: center; gap: .55rem; }
.vm-col h3 i { color: var(--muted); font-size: 1rem; }

/* ---------- Program / layanan ---------- */
.program-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.program { display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s; }
.program:hover { border-color: var(--navy); }
.program img { width: 120px; height: 120px; object-fit: contain; background: var(--paper); border-radius: 8px; padding: 14px; }
.program h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.program p { color: var(--muted); font-size: .96rem; margin-bottom: .8rem; }
@media (max-width: 480px) { .program { grid-template-columns: 1fr; } .program img { width: 96px; height: 96px; } }

/* ---------- Kampus: tabel ---------- */
.campus-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.campus-table th, .campus-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.campus-table th { background: var(--paper); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.campus-table tr:last-child td { border-bottom: 0; }
.campus-table td:first-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
.campus-table td:last-child { text-align: right; white-space: nowrap; }
@media (max-width: 700px) {
  .campus-table thead { display: none; }
  .campus-table tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .campus-table tr:last-child { border-bottom: 0; }
  .campus-table td { display: block; padding: 2px 0; border: 0; text-align: left !important; white-space: normal !important; }
}

/* ---------- Kartu umum (portfolio, tim, blog) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 992px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card-x { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.card-x:hover { border-color: var(--navy); }

.post-card { display: flex; flex-direction: column; }
.post-card .cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.12rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--red); }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--muted); font-size: .86rem; font-weight: 700; margin-bottom: .5rem; }
.post-meta i { margin-right: .3rem; }
.chip { display: inline-block; padding: .1rem .55rem; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-weight: 800; font-size: .8rem; }
.posts-few { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 380px)); gap: 24px; }

.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: .4rem .9rem; border-radius: 6px; font: inherit; font-weight: 800; font-size: .9rem; color: var(--body); cursor: pointer; }
.filters button.active, .filters button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.portfolio-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 24px; background: var(--paper); }
.portfolio-item .meta { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); }
.portfolio-item h3 { font-size: 1rem; margin: 0; }
.portfolio-item small { color: var(--muted); font-weight: 700; }
.portfolio-item .actions { display: flex; gap: .6rem; }
.portfolio-item.hide { display: none; }

.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: auto; }
.testi blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; }
.testi .who { display: flex; align-items: center; gap: .8rem; }
.testi .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; border: 1px solid var(--line); }
.testi .who b { display: block; color: var(--ink); }
.testi .who small { color: var(--muted); }
.testi .stars { color: #e0a800; margin-bottom: .6rem; font-size: .9rem; }
.swiper-x { padding-bottom: 44px !important; }
.swiper-pagination-bullet-active { background: var(--navy) !important; }

.member .photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member .info { padding: 14px 16px; }
.member h3 { font-size: 1rem; margin: 0; }
.member span { color: var(--muted); font-weight: 700; font-size: .88rem; }

.clients-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.clients-row img { height: 44px; width: auto; filter: grayscale(1); opacity: .7; }
.clients-row img:hover { filter: none; opacity: 1; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-layout .head { display: block; margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--muted); transition: transform .25s; margin-top: .3rem; }
.faq-item[open] summary i { transform: rotate(45deg); color: var(--red); }
.faq-item .answer { padding: 0 2rem 20px 0; color: var(--muted); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Ajakan daftar ---------- */
.cta-band { background: var(--navy); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { border-top: 1px solid var(--line); }
.info-list i { color: var(--red); margin-top: .3rem; }
.info-list b { display: block; color: var(--ink); }
.info-list span { color: var(--muted); word-break: break-word; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-weight: 800; font-size: .88rem; color: var(--ink); margin-bottom: .3rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfcdc6; border-radius: 6px; padding: .7rem .85rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 47, 122, .12); }
.form-note { color: var(--muted); font-size: .85rem; margin: .8rem 0 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); padding: 64px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand img { background: #fff; border-radius: 6px; padding: 3px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--yellow); }
.footer-lang { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }
.footer-lang a { padding: .2rem .6rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; font-size: .85rem; font-weight: 800; }
.footer-lang a.current { background: #fff; color: var(--navy-dark); border-color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding: 20px 0; font-size: .88rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; z-index: 900; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); color: #fff; }

/* ---------- Halaman dalam ---------- */
.page-hero { padding: calc(var(--nav-h) + 48px) 0 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 860px; margin-bottom: .4rem; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 .9rem; font-size: .9rem; font-weight: 700; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #b9b6ad; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 992px) { .layout-side { grid-template-columns: 1fr; } }
.article .cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; border: 1px solid var(--line); background: var(--paper); }
.article .cover img { width: 100%; max-height: 520px; object-fit: cover; }
.article .cover.contain img { object-fit: contain; padding: 36px; max-height: 340px; margin: 0 auto; width: auto; }
.article .rich { font-size: 1.05rem; max-width: 760px; }
.article .rich h2, .article .rich h3 { margin-top: 1.4em; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 2rem; }
.share { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; font-weight: 800; color: var(--ink); }
.share a { color: var(--muted); font-size: 1.15rem; }
.share a:hover { color: var(--navy); }
.side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h4 { font-size: 1rem; margin-bottom: .9rem; }
.search-box { display: flex; gap: .4rem; }
.search-box input { flex: 1; min-width: 0; font: inherit; border: 1px solid #cfcdc6; border-radius: 6px; padding: .55rem .8rem; }
.search-box input:focus { outline: none; border-color: var(--navy); }
.search-box button { border: 0; border-radius: 6px; background: var(--navy); color: #fff; padding: 0 .9rem; cursor: pointer; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: .45rem 0; color: var(--body); font-weight: 700; border-bottom: 1px solid var(--line); }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover, .cat-list a.active { color: var(--red); }
.cat-list span { color: var(--muted); font-size: .88rem; }
.mini-post { display: flex; gap: .8rem; align-items: center; }
.mini-post + .mini-post { margin-top: 12px; }
.mini-post img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; flex: none; background: var(--paper); }
.mini-post.contain img { object-fit: contain; padding: 6px; }
.mini-post a { color: var(--ink); font-weight: 800; font-size: .94rem; line-height: 1.35; display: block; }
.mini-post a:hover { color: var(--red); }
.mini-post small { color: var(--muted); font-size: .82rem; }
.side-cta { background: var(--paper); }
.empty-state { padding: 40px 24px; border: 1px dashed #cfcdc6; border-radius: var(--radius); color: var(--muted); text-align: center; }
.empty-state i { font-size: 1.6rem; display: block; margin-bottom: .6rem; }
.pager { display: flex; gap: .35rem; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 .7rem; border-radius: 6px; border: 1px solid var(--line); font-weight: 800; color: var(--body); }
.pager .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .disabled { opacity: .4; }
.info-table { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.info-table li { display: grid; }
.info-table b { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mt-cta { margin-top: 32px; }

/* ---------- Gerak: hanya muncul lembut & scroll halus ---------- */
@view-transition { navigation: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html.noanim .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
.hero .container-x + .container-x { display: block; }

/* ---------- Tampilan lebar penuh ---------- */
.container-x, .site-header .container-x { max-width: none; padding-left: clamp(20px, 5vw, 96px); padding-right: clamp(20px, 5vw, 96px); }
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero .container-x { grid-template-columns: 1.2fr .8fr; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 5rem); }
.hero-lead { max-width: 680px; }
.hero-logo img { max-height: min(42vh, 420px); }
.head h2, .about-grid h2 { max-width: 900px; }
.head p { max-width: 640px; }
.numbered { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1600px) {
  .numbered { grid-template-columns: repeat(6, 1fr); }
  .numbered li, .numbered li:not(:nth-child(3n + 1)) { flex-direction: column; gap: .6rem; padding: 28px 24px; border-left: 1px solid var(--line); }
  .numbered li:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero .container-x { grid-template-columns: 1fr; }
}
html.noanim .hero { min-height: 900px; }

/* =========================================================
   Modern tapi tetap natural: blok warna solid, foto, detail kecil
   ========================================================= */

/* Hero: foto dengan blok kuning di belakang + badge logo */
.hero { background: var(--paper); }
.hero h1 { letter-spacing: -.015em; }
.hero h1 .hl { position: relative; display: inline-block; color: var(--red); }
.squiggle { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--yellow); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.1s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-photo { position: relative; margin: 0; padding: 0 0 22px 22px; }
.hero-photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 78%; background: var(--yellow); border-radius: 14px; }
.hero-photo > img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 14px; }
.hero-badge-logo {
  position: absolute; right: -14px; top: 22px; background: #fff; border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(18, 33, 90, .14); width: clamp(120px, 12vw, 170px);
}
.hero-badge-logo img { width: 100%; height: auto; }
.hero-place {
  position: absolute; left: 44px; bottom: 44px; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem;
  padding: .5rem .9rem; border-radius: 8px;
}
.hero-place i { color: var(--yellow); margin-right: .35rem; }
@media (max-width: 900px) { .hero-badge-logo { right: 8px; } }

/* Pita angka: navy solid selebar layar */
.facts-band { background: var(--navy); color: #fff; }
.facts-band .facts-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 0; border-radius: 0; background: transparent; }
.facts-band .fact { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px); }
.facts-band .fact + .fact { border-left: 1px solid rgba(255, 255, 255, .14); }
.facts-band .fact b { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); }
.facts-band .fact span { color: rgba(255, 255, 255, .72); }
.facts-band .fact:first-child { padding-left: 0; }
@media (max-width: 760px) {
  .facts-band .facts-row { grid-template-columns: repeat(2, 1fr); }
  .facts-band .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-band .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* Tentang: panel logo brand */
.about-brand { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 4vw, 56px); position: sticky; top: calc(var(--nav-h) + 24px); }
.about-brand img { margin: 0 auto; max-height: 340px; width: auto; }
.about-brand figcaption { text-align: center; margin-top: 1.2rem; color: var(--muted); font-weight: 700; font-size: .92rem; }
@media (max-width: 900px) { .about-brand { position: static; } }

/* Menu: garis bawah tumbuh saat disorot */
.nav-links a { border-bottom: 0; background-image: linear-gradient(var(--yellow), var(--yellow)); background-size: 0 2px; background-position: 50% 100%; background-repeat: no-repeat; transition: background-size .3s var(--ease), color .2s; }
.nav-links a:hover, .nav-links a.active { background-size: calc(100% - 1.5rem) 2px; }
@media (max-width: 1080px) { .nav-links a { background-image: none; } }

/* Tombol: panah bergeser, tekan terasa */
.btn-x { transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn-x:active { transform: translateY(1px); }
.btn-x i { transition: transform .25s var(--ease); }
.btn-x:hover .fa-arrow-right { transform: translateX(4px); }

/* Keunggulan: nomor berubah jadi blok saat disorot */
.numbered li { transition: background-color .25s; }
.numbered .num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 2px solid var(--red); border-radius: 8px; transition: background-color .25s, color .25s; }
.numbered li:hover .num { background: var(--red); color: #fff; }

/* Program & kartu: terangkat sedikit */
.program, .card-x { transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.program:hover, .card-x:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(18, 33, 90, .35); }
.program img, .post-card .cover img { transition: transform .5s var(--ease); }
.program:hover img, .post-card:hover .cover img { transform: scale(1.05); }

/* Visi misi: kolom dengan latar lembut */
.vm-col { background: var(--paper); border: 1px solid var(--line); border-top-width: 5px; border-radius: 0 0 12px 12px; padding: 24px 26px; }
.vm-col:nth-child(1) { border-top-color: var(--navy); }

/* Tabel kampus: baris disorot */
.campus-table tbody tr { transition: background-color .2s; }
.campus-table tbody tr:hover { background: #fffbe8; }

/* Ajakan daftar: kuning brand */
.cta-band { background: var(--yellow); color: var(--navy-dark); }
.cta-band h2 { color: var(--navy-dark); }
.cta-band p { color: rgba(18, 33, 90, .8); }

/* FAQ: sorot pertanyaan */
.faq-item summary { transition: color .2s; }
.faq-item summary:hover { color: var(--navy); }

/* Muncul berurutan dalam satu baris */
.facts-band .fact:nth-child(2), .program:nth-child(2), .vm-col:nth-child(2) { transition-delay: .08s; }
.facts-band .fact:nth-child(3), .vm-col:nth-child(3) { transition-delay: .16s; }
.facts-band .fact:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .squiggle path { animation: none; stroke-dashoffset: 0; }
  .program:hover, .card-x:hover { transform: none; }
}
html.noanim .squiggle path { animation: none; stroke-dashoffset: 0; }
