/* Gaya dasar halaman dalam (Layanan, Visi Misi & Logo, Kalender Akademik).
   Disamakan dengan beranda: font Outfit, palet maroon/emas, tombol pill, panel bulat. */
:root {
  --bg: #ffffff;
  --s: #ffffff;
  --s2: #f3e9eb;
  --panel: #f8f1f2;
  --bd: #e9dde0;
  --ac: #ffba50;
  --mr: #7a1424;
  --mr2: #5e0f1b;
  --ink: #14090c;
  --tx: #14090c;
  --soft: #4a5270;
  --mut: #7a8199;
  --fh: "Outfit", "DM Sans", system-ui, sans-serif;
  --fd: var(--fh);
  --fb: "DM Sans", system-ui, sans-serif;
  --r: 36px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.7;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
[hidden] { display: none !important; }
a { color: var(--mr); text-decoration: none; }
a:hover { color: var(--mr2); text-decoration: underline; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* header: sama dengan beranda (logo + menu pill) */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(20, 9, 12, 0.04);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-weight: 800; letter-spacing: -0.02em; font-size: 1.25rem; color: var(--tx); }
.brand:hover { text-decoration: none; color: var(--tx); }
.brand img { height: 38px; width: auto; }
.brand b { color: var(--mr); font-weight: 400; }
.menu { display: none; align-items: center; gap: 2px; }
.menu a {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 10px 20px;
  border-radius: 999px;
  color: #6b5a60;
  transition: color 0.25s ease, background 0.25s ease;
}
.menu a:hover { color: var(--mr); text-decoration: none; }
.menu a.on, .menu a.on:hover { background: var(--ink); color: #fff; }
.back {
  font-family: var(--fh);
  font-weight: 600;
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  white-space: nowrap;
}
.back:hover { background: var(--ac); border-color: var(--ac); text-decoration: none; color: var(--ink); }
@media (min-width: 992px) {
  .menu { display: flex; }
  .back { display: none; }
}

/* isi halaman: panel bulat seperti section di beranda */
main.wrap {
  max-width: none;
  margin: 28px clamp(12px, 2.4vw, 36px);
  padding: clamp(32px, 5vw, 64px) max(clamp(20px, 4vw, 48px), calc((100% - 1170px) / 2));
  background: var(--panel);
  border-radius: var(--r);
}

/* judul */
.hero { padding: 0 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--fh);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mr);
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 5px 14px;
  line-height: 1.4;
}
h1 {
  font-family: var(--fh);
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 16px 0 16px;
}
.lead { max-width: 62ch; margin: 0; font-size: 1.1rem; }

/* tombol pill */
.btn {
  display: inline-block;
  font-family: var(--fh);
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  background: var(--ac);
  color: #06091a;
  box-shadow: 0 6px 0 rgba(20, 9, 12, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; background: #ffd28a; color: #0d1130; transform: translateY(2px); box-shadow: 0 4px 0 rgba(20, 9, 12, 0.12); }
.btn.alt { background: var(--mr); color: #fff; }
.btn.alt:hover { background: var(--mr2); color: #fff; }

footer { margin-top: 28px; border-top: 1px solid var(--bd); padding: 28px 0; font-size: 0.9rem; color: var(--mut); }

@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .brand span { font-size: 1.05rem; white-space: nowrap; }
  .brand img { height: 34px; }
  .back { padding: 8px 14px; font-size: 0.82rem; }
  main.wrap { margin: 16px 10px; border-radius: 28px; padding: 28px 18px; }
}
