/* =====================================================================
   IBI Kosgoro 1957 - Gaya utama (di atas Bootstrap 5)
   Identitas: biru dan oranye, mengikuti mockup beranda.
   ===================================================================== */

:root {
  --blue:        #0b4cb5;
  --blue-dark:   #082a6b;
  --blue-deep:   #061f52;
  --navy:        #0c3b8f;   /* teks menu, ikon di atas lingkaran oranye */
  --copy:        #163f92;   /* teks paragraf */
  --orange:      #f57c00;
  --orange-2:    #ff9a1f;
  --yellow:      #ffb703;
  --ink:         #14213d;
  --muted:       #4a6299;
  --soft:        #f2f6fd;
  --soft-2:      #e9f1fd;
  --line:        #e1e8f4;
  --white:       #ffffff;
  --radius:      5px;
  --shadow:      0 10px 30px rgba(11, 45, 110, .10);
  --font:        'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* jarak tepi halaman: header lebih lebar daripada isi, seperti mockup */
  --gutter:      clamp(1rem, 4.9vw, 5rem);
  --gutter-wide: clamp(1rem, 3.5vw, 3.5rem);
}

/* ---------- Dasar ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
ul { padding-left: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--blue-dark); color: #fff; padding: 10px 16px; border-radius: 5px;
}
.skip-link:focus { top: 12px; color: #fff; }

.text-orange { color: var(--orange); }

/* ---------- Kontainer ---------- */
.container-page {
  width: 100%; margin-inline: auto; padding-inline: var(--gutter);
  max-width: calc(1440px + 2 * var(--gutter));
}
.container-wide {
  width: 100%; margin-inline: auto; padding-inline: var(--gutter-wide);
  max-width: 1760px;
}
.navbar > .container-wide { display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between; }

/* ---------- Tombol ---------- */
.btn { font-weight: 700; border-radius: 5px; padding: .6rem 1.25rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; }
.btn .bi-chevron-right { font-size: .72rem; -webkit-text-stroke: .6px currentColor; }
.btn-lg { padding: .6rem 1.55rem; font-size: .84rem; }
.btn-orange { background: linear-gradient(180deg, #ff8a0d, #f57c00); border: 2px solid var(--orange); color: #fff; box-shadow: 0 6px 14px rgba(245, 124, 0, .28); }
.btn-orange:hover, .btn-orange:focus { background: #dd6f00; border-color: #dd6f00; color: #fff; }
.btn-outline-blue { background: #fff; border: 2px solid var(--blue); color: var(--navy); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }
.btn-yellow { background: var(--yellow); border: 2px solid var(--yellow); color: var(--blue-deep); }
.btn-yellow:hover { background: #ffc933; border-color: #ffc933; color: var(--blue-deep); }
.btn-ghost-light { background: transparent; border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue-dark); }

/* ---------- Topbar ---------- */
.topbar { background: linear-gradient(180deg, #ff8206, #f57c00); color: #fff; font-size: .76rem; font-weight: 600; }
.topbar .container-wide { min-height: 41px; gap: 2rem; }
.topbar a, .topbar button { color: #fff; background: none; border: 0; padding: 0; }
.topbar a:hover, .topbar button:hover { color: var(--blue-deep); }
.topbar-links { display: flex; align-items: center; margin: 0; }
.topbar-links li + li { margin-left: .8rem; padding-left: .8rem; border-left: 1px solid rgba(255, 255, 255, .8); line-height: 1.05; }
.topbar-social { display: flex; align-items: center; gap: 1.45rem; font-size: 1.05rem; margin-left: 1rem; }
.topbar-social button .bi { -webkit-text-stroke: .6px currentColor; }

/* ---------- Header & navigasi ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 3px 16px rgba(11, 45, 110, .08); }
.site-header .navbar { padding: .55rem 0; }

.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--blue); }
.brand:hover { color: var(--blue); }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: .12rem; }
.brand-text small { font-size: .72rem; font-weight: 700; letter-spacing: .005em; text-transform: uppercase; color: var(--blue); }
.brand-text strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; color: var(--blue); line-height: 1.05; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-text small, .brand-light .brand-text strong { color: #fff; }

.navbar-toggler { border: 0; font-size: 2rem; color: var(--navy); padding: 0 .25rem; }
.navbar-toggler:focus { box-shadow: none; }

.navbar { --nav-pad: clamp(.55rem, 1.05vw, 1.1rem); }
.navbar-nav { gap: 0; }
.navbar .nav-link { color: var(--navy); font-weight: 500; font-size: .88rem; padding: .6rem var(--nav-pad); position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.show { color: var(--orange); }
.navbar .nav-link.active { color: var(--orange); }
.navbar .nav-link.active::after {
  content: ''; position: absolute; left: var(--nav-pad); right: var(--nav-pad); bottom: -.28rem; height: 3px; border-radius: 5px; background: var(--orange);
}
/* panah dropdown: chevron tipis seperti mockup */
.navbar .dropdown-toggle::after {
  content: '\f282'; font-family: 'bootstrap-icons'; border: 0; vertical-align: -.05em;
  margin-left: .45rem; font-size: .64rem; -webkit-text-stroke: .7px currentColor; transition: none;
}
.dropdown-menu { border: 0; border-radius: 5px; box-shadow: var(--shadow); padding: .5rem; min-width: 220px; }
.dropdown-item { border-radius: 5px; font-weight: 500; font-size: .9rem; padding: .5rem .8rem; color: var(--ink); }
.dropdown-item:hover, .dropdown-item.active { background: var(--soft); color: var(--orange); }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; padding: .75rem 0; }
.nav-actions .btn { border-radius: 5px; padding: .66rem 1.4rem; font-size: .9rem; font-weight: 600; gap: .5rem; box-shadow: 0 3px 8px rgba(245, 124, 0, .22); }
.nav-actions .btn .bi { font-size: 1.2rem; }
.nav-search { background: none; border: 0; color: var(--blue); font-size: 1.3rem; line-height: 1; padding: 0; }
.nav-search:hover { color: var(--orange); }

.search-panel { background: var(--soft); border-top: 1px solid var(--line); padding: .9rem 0; }
.search-panel form { display: flex; gap: .75rem; }
.search-panel input {
  flex: 1; border: 1px solid var(--line); border-radius: 5px; padding: .65rem 1.2rem; font: inherit;
}

@media (min-width: 1200px) {
  .nav-actions { padding: 0; }
  .navbar-expand-xl .navbar-nav { margin-inline: auto; }
}
/* layar 1200-1399px: rapatkan menu supaya muat satu baris */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar { --nav-pad: .5rem; }
  .navbar .nav-link { font-size: .82rem; }
  .brand img { width: 52px; height: 52px; }
  .brand-text strong { font-size: 1.25rem; }
  .brand-text small { font-size: .62rem; }
  .nav-search { display: none; }
  .nav-actions .btn { padding: .6rem 1.05rem; font-size: .86rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; overflow: hidden; background: linear-gradient(180deg, #e9f2fb 0%, #f4f9fe 62%, #fdfeff 100%); }
.hero-slide {
  grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
  min-height: clamp(440px, 31.7vw, 580px);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

/* Foto tajam menempel di sisi kanan dan memudar ke kiri. Di belakangnya ada salinan foto yang
   sama, dikaburkan dan diberi kabut putih-biru, sehingga sisi kiri tampak seperti latar kampus
   yang berkabut (seperti mockup). Lengkung oranye digambar terpisah. */
.hero-media {
  position: absolute; inset: 0 0 1.75rem 0; overflow: hidden;
  background:
    radial-gradient(ellipse 28% 34% at 12% 14%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)),
    radial-gradient(ellipse 22% 26% at 36% 6%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #bcdcf7 0%, #d9ecfb 42%, #f3f9fe 100%);
}
.hero-media .hero-backdrop {
  /* diperbesar dan digeser ke pojok kanan atas foto (pohon + gedung, tanpa orang) */
  position: absolute; right: -4%; top: -8%; width: 270%; height: auto; max-width: none;
  filter: blur(14px) saturate(1.15); opacity: .4;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0, #000 45%);
}
.hero-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 250, 255, .62) 0, rgba(245, 250, 255, .5) 34%, rgba(245, 250, 255, .28) 54%, rgba(245, 250, 255, .08) 70%, rgba(245, 250, 255, 0) 80%),
              linear-gradient(0deg, rgba(253, 254, 255, .95) 0, rgba(253, 254, 255, 0) 20%);
}
.hero-media .hero-photo {
  position: absolute; z-index: 2; right: 0; top: 0; height: 100%; width: auto; max-width: 62%;
  object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16%);
}
.hero-media::after {
  z-index: 3;
  content: ''; position: absolute; right: 0; bottom: 0; height: 100%; aspect-ratio: 946 / 459;
  background: url('../img/hero-arc.svg') right bottom / 100% 100% no-repeat; pointer-events: none;
}

.hero-inner { position: relative; z-index: 4; padding-top: 3rem; padding-bottom: 6.5rem; }
.hero-copy { max-width: min(520px, 35vw); }
.hero-eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; line-height: 1.5; }
.hero-title { font-size: clamp(2.3rem, 3.65vw, 4rem); font-weight: 800; line-height: .93; color: var(--blue); letter-spacing: -.025em; margin-bottom: 1rem; }
.hero-title .text-orange { display: block; }
.hero-desc { color: var(--copy); font-size: .84rem; line-height: 1.55; margin-bottom: 1.15rem; max-width: 510px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 2.6rem; margin-inline: auto; z-index: 3;
  display: flex; align-items: center; gap: .6rem;
}
.hero-arrow {
  width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); font-size: .8rem; -webkit-text-stroke: .6px currentColor;
  display: grid; place-items: center; box-shadow: 0 3px 10px rgba(11, 45, 110, .14);
}
.hero-arrow:hover { background: var(--blue); color: #fff; }
.hero-dots { display: flex; gap: .45rem; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--blue); background: transparent; padding: 0; }
.hero-dots button.is-active { background: var(--orange); border-color: var(--orange); }

@media (max-width: 991.98px) {
  .hero-slide { display: flex; flex-direction: column; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: clamp(200px, 52vw, 320px); order: 0; }
  /* lebihkan lebar 14% ke kanan agar tepi kanan foto (tempat lengkung di desktop) terpotong */
  .hero-media .hero-backdrop, .hero-media::before { display: none; }
  .hero-media .hero-photo { left: 0; right: auto; max-width: none; width: 114%; object-position: left center; -webkit-mask-image: none; mask-image: none; }
  .hero-media::after { display: none; }
  .hero-inner { padding-top: 1.5rem; padding-bottom: 6.5rem; }
  .hero-copy { max-width: none; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-controls { bottom: 2.75rem; }
}

/* ---------- Keunggulan (kartu di bawah hero) ---------- */
.highlights { position: relative; z-index: 5; margin-top: -1.75rem; }
.highlight-card {
  display: flex; justify-content: space-between; margin: 0; padding: 1.3rem clamp(1rem, 2vw, 2rem);
  background: #fff; border-radius: 5px; box-shadow: 0 12px 34px rgba(11, 45, 110, .11);
}
.highlight-item { position: relative; min-width: 0; flex: 1 1 auto; display: flex; align-items: center; gap: .85rem; padding: .3rem clamp(.6rem, 1.1vw, 1.2rem); }
.highlight-item:first-child { padding-left: 0; }
.highlight-item:last-child { padding-right: 0; }
.highlight-item + .highlight-item::before {
  content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; border-left: 1px solid #dde7f6;
}
.highlight-item strong { display: block; font-size: .9rem; font-weight: 700; color: var(--blue); line-height: 1.25; white-space: nowrap; }
.highlight-item small { display: block; font-size: .77rem; color: #2453a8; line-height: 1.5; margin-top: .25rem; max-width: 14.5em; }
.highlight-card .icon-badge { width: 56px; height: 56px; font-size: 1.85rem; }

@media (max-width: 1199.98px) {
  .highlight-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 0; padding: 1.4rem 1rem; }
  .highlight-item, .highlight-item:first-child, .highlight-item:last-child { padding: .3rem 1rem; }
  .highlight-item:nth-child(odd)::before { display: none; }
  .highlight-item strong { white-space: normal; }
}
@media (max-width: 575.98px) {
  .highlight-card { grid-template-columns: 1fr; }
  .highlight-item::before { display: none !important; }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .highlight-item strong { white-space: normal; }
  .highlight-item { gap: .8rem; }
  .highlight-card .icon-badge { width: 52px; height: 52px; font-size: 1.6rem; }
}

/* lingkaran ikon: oranye, glyph biru tua */
.icon-badge {
  flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.95rem; color: var(--navy);
  background: radial-gradient(circle at 34% 28%, #ffb85c 0%, #ff8f10 52%, #f27400 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .38), 0 4px 10px rgba(245, 124, 0, .25);
}
.icon-badge-soft { background: #d6e5fa; color: var(--blue); box-shadow: none; width: 50px; height: 50px; font-size: 1.55rem; }

/* ---------- Bagian umum ---------- */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--soft); }
.section-soft + .section-soft { padding-top: 0; }
.eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: .35rem; }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.15; color: var(--blue); letter-spacing: -.01em; margin-bottom: 1rem; }
.section-text { color: var(--copy); font-size: .93rem; max-width: 60ch; margin-bottom: 1.5rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head .section-title { margin-bottom: 0; }
.link-more { font-weight: 700; font-size: .85rem; color: var(--orange); }
.link-more:hover { color: var(--blue); }

/* ---------- Tentang kami ---------- */
.about { padding-top: 3.1rem; }
.about-layout {
  display: grid; grid-template-columns: minmax(0, 419fr) minmax(0, 545fr) minmax(0, 338fr);
  column-gap: clamp(1.5rem, 3.4vw, 3.4rem); align-items: center;
}
.about-layout-nostats { grid-template-columns: minmax(0, 419fr) minmax(0, 545fr); }

.about-photo {
  position: relative; border-radius: 5px; overflow: hidden; aspect-ratio: 419 / 257;
  box-shadow: 0 10px 26px rgba(11, 45, 110, .12);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../img/about-wave.svg') left bottom / 100% 100% no-repeat;
}

.about-copy .section-title { font-size: clamp(1.5rem, 1.83vw, 2rem); line-height: 1.08; margin-bottom: .85rem; max-width: 14.5em; }
.about-copy .section-text { font-size: .85rem; line-height: 1.5; max-width: none; margin-bottom: 1.2rem; }
.about-copy .btn { padding: .55rem 1.35rem; font-size: .8rem; }

.stat-panel { background: var(--soft-2); border-radius: 5px; padding: .45rem 1.4rem .45rem 1.15rem; margin: 0; }
.stat-panel li { display: flex; align-items: center; gap: 1.05rem; }
.stat-text { flex: 1; padding: .5rem 0; line-height: 1.15; }
.stat-panel li + li .stat-text { border-top: 1px solid #d3e1f6; }
.stat-panel strong { display: block; font-size: 1.55rem; font-weight: 800; color: var(--blue); line-height: 1.1; letter-spacing: -.01em; }
.stat-panel small { color: var(--muted); font-size: .8rem; }

@media (max-width: 991.98px) {
  .about-layout, .about-layout-nostats { grid-template-columns: 1fr; row-gap: 1.75rem; }
  .about-photo { max-width: 560px; }
}

/* ---------- Angka prestasi ---------- */
.achievement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; margin: 0; }
.achievement-grid li {
  background: #fff; border-radius: var(--radius); padding: 1.4rem .75rem; text-align: center;
  box-shadow: 0 6px 20px rgba(11, 45, 110, .06);
}
.achievement-grid .icon-badge { margin: 0 auto .75rem; }
.achievement-grid strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.achievement-grid small { color: var(--muted); font-size: .8rem; font-weight: 600; }

/* ---------- Carousel horizontal (program studi & fasilitas) ---------- */
.h-scroll { position: relative; }
.h-scroll-track {
  display: flex; gap: 1rem; margin: 0; padding: .25rem .25rem 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.h-scroll-track::-webkit-scrollbar { display: none; }
.card-item { flex: 0 0 min(230px, 72%); scroll-snap-align: start; }
.card-item-sm { flex-basis: min(200px, 68%); }
.h-scroll-nav { display: flex; justify-content: flex-end; gap: .5rem; }
.h-scroll-nav button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue);
  display: grid; place-items: center;
}
.h-scroll-nav button:hover:not(:disabled) { background: var(--blue); color: #fff; }
.h-scroll-nav button:disabled { opacity: .4; cursor: default; }

.program-card {
  display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; color: var(--ink);
}
.program-card:hover { color: var(--ink); border-color: #c9d8f2; box-shadow: var(--shadow); }
.program-thumb { display: block; aspect-ratio: 4 / 3; background: var(--soft); }
.program-thumb img { width: 100%; height: 100%; object-fit: cover; }
.program-body { display: flex; flex-direction: column; gap: .2rem; padding: 1rem; }
.program-body strong { color: var(--blue-dark); font-size: 1rem; line-height: 1.3; }
.program-body small { color: var(--muted); font-size: .8rem; }
.program-body .link-more { margin-top: .5rem; }

.facility-card { position: relative; margin: 0; border-radius: 5px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); }
.facility-card img { width: 100%; height: 100%; object-fit: cover; }
.facility-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .8rem;
  background: linear-gradient(0deg, rgba(6, 31, 82, .92), rgba(6, 31, 82, 0));
  color: #fff; font-weight: 700; font-size: .88rem; display: flex; align-items: center; gap: .5rem;
}
.facility-card figcaption i { color: var(--yellow); }

/* ---------- Alasan memilih kami ---------- */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.reason-grid li { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.2rem; box-shadow: 0 6px 20px rgba(11, 45, 110, .06); }
.reason-grid .icon-badge { margin-bottom: .8rem; }
.reason-grid strong { display: block; color: var(--blue-dark); font-size: .98rem; line-height: 1.3; }
.reason-grid small { display: block; color: var(--muted); font-size: .82rem; margin-top: .3rem; }
@media (max-width: 767.98px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .reason-grid { grid-template-columns: 1fr; } }

/* ---------- Berita & agenda ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1199.98px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .news-grid { grid-template-columns: 1fr; } }

.news-card { background: #fff; border-radius: 5px; overflow: hidden; box-shadow: 0 6px 20px rgba(11, 45, 110, .06); display: flex; flex-direction: column; }
.news-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--soft); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb .tag {
  position: absolute; left: .6rem; top: .6rem; background: var(--orange); color: #fff; border-radius: 5px;
  font-size: .68rem; font-weight: 700; padding: .15rem .65rem;
}
.news-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-body h3 { font-size: .95rem; font-weight: 700; line-height: 1.35; margin: 0; }
.news-body h3 a { color: var(--blue-dark); }
.news-body h3 a:hover { color: var(--orange); }
.news-body time { color: var(--muted); font-size: .78rem; margin-top: auto; }

.agenda-panel { background: #fff; border-radius: var(--radius); padding: 1.3rem; box-shadow: 0 6px 20px rgba(11, 45, 110, .06); height: 100%; }
.agenda-panel h3 { font-size: 1rem; font-weight: 800; color: var(--blue-dark); display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.agenda-panel h3 i { color: var(--orange); }
.agenda-panel li { display: flex; gap: .8rem; padding: .7rem 0; }
.agenda-panel li + li { border-top: 1px solid var(--line); }
.agenda-date {
  flex: 0 0 auto; width: 46px; height: 50px; border-radius: 5px; background: #dfe9fa; color: var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05;
}
.agenda-date strong { font-size: 1.15rem; font-weight: 800; }
.agenda-date small { font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.agenda-info strong { display: block; font-size: .85rem; color: var(--blue-dark); line-height: 1.3; }
.agenda-info small { color: var(--muted); font-size: .75rem; }

/* ---------- Banner ajakan mendaftar ---------- */
.cta-wrap { position: relative; z-index: 3; margin-bottom: -5.5rem; padding-top: 3.5rem; }
.cta-banner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(110deg, var(--blue) 0%, var(--blue-dark) 70%);
  color: #fff; border-radius: 5px; padding: 1.9rem 2.2rem; box-shadow: 0 18px 40px rgba(6, 31, 82, .35);
}
.cta-icon {
  flex: 0 0 auto; width: 68px; height: 68px; border-radius: 50%; border: 2px solid var(--yellow);
  display: grid; place-items: center; font-size: 2rem; color: var(--yellow);
}
.cta-text { flex: 1 1 320px; }
.cta-eyebrow { font-size: .78rem; font-weight: 700; color: var(--yellow); margin: 0 0 .15rem; }
.cta-text h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; margin: 0 0 .25rem; }
.cta-sub { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .8); max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255, 255, 255, .78); padding: 9rem 0 1.5rem; font-size: .88rem; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--yellow); }
.footer-about { margin: 1.1rem 0 1rem; max-width: 42ch; }
.footer-social { display: flex; gap: .6rem; margin-bottom: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center; color: #fff;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.footer-contact { display: grid; gap: .6rem; margin: 0; max-width: 360px; }
.footer-contact li { display: flex; gap: .8rem; align-items: flex-start; background: rgba(255, 255, 255, .06); border-radius: 5px; padding: .7rem .9rem; }
.footer-contact i { color: var(--orange-2); font-size: 1.15rem; margin-top: .1rem; }
.footer-contact strong { display: block; color: #fff; font-size: .82rem; }

.footer-heading { font-size: .98rem; font-weight: 700; color: #fff; margin-bottom: 1.1rem; padding-bottom: .6rem; position: relative; }
.footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 5px; background: var(--orange); }
.footer-links li { padding: .3rem 0; }

.footer-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; }

/* ---------- Responsif umum ---------- */
@media (max-width: 767.98px) {
  .section { padding: 3rem 0; }
  .cta-banner { padding: 1.5rem; }
  .site-footer { padding-top: 11rem; }
  .brand-text strong { font-size: 1.25rem; }
  .brand-text small { font-size: .6rem; }
  .brand img { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}

/* =====================================================================
   Halaman dalam (Program Studi, dst.) — banner, filter, grid, detail
   ===================================================================== */

.page-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 2.4rem 0 2.2rem;
}
.breadcrumb-nav ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 .7rem; padding: 0; font-size: .82rem; }
.breadcrumb-nav li { color: rgba(255,255,255,.75); display: flex; align-items: center; }
.breadcrumb-nav li + li::before { content: '/'; margin: 0 .5rem; color: rgba(255,255,255,.5); }
.breadcrumb-nav a { color: rgba(255,255,255,.9); }
.breadcrumb-nav a:hover { color: var(--yellow); }
.breadcrumb-nav span[aria-current] { color: #fff; font-weight: 600; }
.page-banner-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 0; letter-spacing: -.01em; }
.page-banner-sub { color: rgba(255,255,255,.85); margin: .5rem 0 0; max-width: 62ch; font-size: .92rem; }

/* Filter chip (fakultas / jenjang) */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.filter-chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.05rem; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: .84rem; font-weight: 600;
}
.filter-chip:hover { border-color: var(--orange); color: var(--orange); }
.filter-chip.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Grid kartu program studi (halaman daftar) */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.program-grid-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 20px rgba(11, 45, 110, .06); height: 100%; transition: transform .15s ease;
}
.program-grid-card:hover { transform: translateY(-3px); }
.program-grid-card .pg-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--soft); }
.program-grid-card .pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.program-grid-card .pg-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.program-grid-card .pg-faculty { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--orange); margin-bottom: .3rem; }
.program-grid-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--blue); margin: 0 0 .5rem; line-height: 1.3; }
.program-grid-card .pg-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.badge-pill { display: inline-flex; align-items: center; padding: .22rem .65rem; border-radius: var(--radius); font-size: .72rem; font-weight: 700; background: var(--soft-2); color: var(--navy); }
.badge-pill.acc { background: #eafaf0; color: #0f8a45; }
.program-grid-card .pg-desc { color: var(--muted); font-size: .84rem; margin-bottom: 1rem; flex: 1; }
.program-grid-card .link-more { font-weight: 700; font-size: .85rem; color: var(--blue); display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; }
.program-grid-card:hover .link-more { color: var(--orange); }

.empty-note { text-align: center; padding: 3rem 1rem; color: var(--muted); background: var(--soft); border-radius: var(--radius); }

/* Halaman detail program studi */
.detail-hero { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 2.2rem; align-items: center; padding: 3rem 0 1rem; }
.detail-hero .dh-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.detail-hero .dh-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .dh-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.detail-hero h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--blue); font-weight: 800; margin-bottom: .8rem; line-height: 1.2; }
.detail-hero .dh-desc { color: var(--copy); font-size: .95rem; margin-bottom: 1.3rem; }
.detail-hero .dh-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 900px){ .detail-hero { grid-template-columns: 1fr; } }

.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; padding: 1rem 0 4rem; align-items: start; }
@media (max-width: 900px){ .detail-layout { grid-template-columns: 1fr; } }

.detail-tabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--line); margin-bottom: 1.6rem; flex-wrap: wrap; }
.detail-tabs button {
  border: 0; background: none; padding: .8rem 1.1rem; font-weight: 700; font-size: .88rem; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer;
}
.detail-tabs button.is-active { color: var(--orange); border-bottom-color: var(--orange); }
.detail-panel { display: none; color: var(--copy); font-size: .93rem; line-height: 1.75; }
.detail-panel.is-active { display: block; }
.detail-panel h2, .detail-panel h3 { color: var(--blue); font-weight: 800; margin: 1.1rem 0 .6rem; }
.detail-panel ul, .detail-panel ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.detail-panel p { margin-bottom: 1rem; }

.info-card { background: var(--soft); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.info-card h3 { font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: 1rem; }
.info-card dl { margin: 0; }
.info-card .info-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.info-card .info-row:last-child { border-bottom: 0; }
.info-card .info-row dt { color: var(--muted); }
.info-card .info-row dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.info-card .btn { width: 100%; justify-content: center; margin-top: .5rem; }

.lecturer-mini { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.lecturer-mini:last-child { border-bottom: 0; }
.lecturer-mini img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--soft-2); }
.lecturer-mini strong { display: block; font-size: .86rem; color: var(--ink); }
.lecturer-mini small { color: var(--muted); font-size: .76rem; }

.related-title { font-size: 1.2rem; font-weight: 800; color: var(--blue); margin-bottom: 1.2rem; }

/* Paginasi publik */
.page-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.page-pagination a, .page-pagination span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--navy);
}
.page-pagination a:hover { border-color: var(--orange); color: var(--orange); }
.page-pagination .is-active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Halaman 404 */
.error-page { padding: 6rem 0; text-align: center; }
.error-page .error-code { font-size: clamp(3.5rem, 10vw, 6rem); font-weight: 800; color: var(--blue); line-height: 1; }
.error-page p { color: var(--muted); margin: 1rem 0 1.6rem; }
