/* ============================================================
   DaftarKuliah.org — Global Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1F2937;
  background: #F8FAFC;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Variables --- */
:root {
  --navy: #1B3A6B;
  --blue: #2563EB;
  --blue-light: #EFF6FF;
  --gold: #F59E0B;
  --gold-light: #FFFBEB;
  --green: #10B981;
  --red: #EF4444;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --transition: .2s ease;
}

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-sub {
  color: var(--gray-600);
  margin-bottom: 40px;
  font-size: 1rem;
}
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* --- Header / Nav --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--blue-light);
  color: var(--blue);
}
.header-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.header-cta:hover { background: var(--navy) !important; color: var(--white) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  display: block;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #0f2355 0%, #1B3A6B 45%, #1e4fa8 100%);
  color: var(--white);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-banner-2.png') center/cover no-repeat;
  opacity: .15;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 20px;
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--gold); }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}
.search-icon { color: var(--gray-400); flex-shrink: 0; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .95rem;
  color: var(--gray-800);
  background: transparent;
  min-width: 0;
}
.search-box input::placeholder { color: var(--gray-400); }
.search-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--navy); }
.search-suggestions {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin-top: 8px;
  display: none;
  overflow: hidden;
  z-index: 50;
  position: relative;
}
.search-suggestions.active { display: block; }
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--blue-light); }
.suggestion-item .sug-name { font-weight: 600; font-size: .9rem; color: var(--gray-800); }
.suggestion-item .sug-loc { font-size: .78rem; color: var(--gray-400); }
.suggestion-item .sug-type {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.sug-type.ptn { background: #EFF6FF; color: var(--blue); }
.sug-type.pts { background: #FFFBEB; color: #B45309; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-tag {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: color var(--transition);
}
.hero-tag:hover { color: var(--gold); }
.hero-tag::before { content: '#'; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  padding: 20px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 12px 16px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .78rem; color: rgba(255,255,255,.7); font-weight: 500; }

/* --- Quick Cats --- */
.quick-cats { padding: 40px 0; background: var(--white); }
.cats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  text-decoration: none;
}
.cat-card:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cat-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.cat-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.cat-desc { font-size: .78rem; color: var(--gray-600); line-height: 1.4; }

/* --- University Cards --- */
.uni-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.uni-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.uni-card-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.uni-rank {
  background: var(--navy);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.uni-rank.gold { background: var(--gold); color: var(--navy); }
.uni-info { flex: 1; min-width: 0; }
.uni-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 2px;
}
.uni-short { font-size: .78rem; color: var(--gray-400); font-weight: 600; }
.uni-card-body { padding: 14px 20px; flex: 1; }
.uni-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.uni-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .76rem;
  color: var(--gray-600);
}
.uni-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
}
.badge-ptn { background: #EFF6FF; color: #1D4ED8; }
.badge-pts { background: #FFFBEB; color: #B45309; }
.badge-unggul { background: #ECFDF5; color: #065F46; }
.badge-baik-sekali { background: #F0FDF4; color: #166534; }
.badge-baik { background: #F7FEE7; color: #3F6212; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: 6px 12px; font-size: .8rem; }
.btn-lg { padding: 12px 28px; font-size: 1rem; }

/* --- Filters --- */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
  position: sticky;
  top: 68px;
  z-index: 90;
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-label { font-size: .8rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; }
.filter-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}
.filter-count {
  margin-left: auto;
  font-size: .8rem;
  color: var(--gray-400);
  white-space: nowrap;
}

/* --- University List Page --- */
.uni-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* --- University Detail Page --- */
.uni-detail-hero {
  background: linear-gradient(135deg, var(--uni-color, #1B3A6B) 0%, #1e4fa8 100%);
  color: var(--white);
  padding: 48px 0 56px;
}
.uni-detail-hero .container { display: flex; gap: 40px; align-items: center; }
.uni-hero-content { flex: 1; }
.uni-detail-hero h1 { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 800; margin-bottom: 6px; }
.uni-detail-hero .uni-full-name { font-size: 1rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.uni-hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.uni-hs {
  text-align: center;
  background: rgba(255,255,255,.12);
  padding: 12px 20px;
  border-radius: 10px;
}
.uni-hs-num { font-size: 1.4rem; font-weight: 800; color: var(--gold); display: block; }
.uni-hs-label { font-size: .72rem; color: rgba(255,255,255,.7); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.35); }
.breadcrumb .current { color: rgba(255,255,255,.9); }

/* --- Detail Layout --- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 40px 0 64px;
}
.detail-main { min-width: 0; }
.detail-sidebar { min-width: 0; }

/* --- Tabs --- */
.tabs { border-bottom: 2px solid var(--gray-200); margin-bottom: 32px; }
.tabs-list { display: flex; gap: 0; overflow-x: auto; }
.tab-btn {
  padding: 12px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Content Blocks --- */
.content-section { margin-bottom: 36px; }
.content-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}
.content-section h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.content-section p { color: var(--gray-600); margin-bottom: 10px; line-height: 1.7; }
.highlight-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.highlight-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  background: var(--blue-light);
  border-radius: 8px;
  font-size: .88rem;
  color: var(--gray-800);
}
.check-icon { color: var(--green); flex-shrink: 0; margin-top: 1px; }

/* --- Program / Jurusan Grid --- */
.prodi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.prodi-card {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--white);
}
.prodi-name { font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 4px; }
.prodi-meta { font-size: .75rem; color: var(--gray-400); display: flex; gap: 8px; flex-wrap: wrap; }

/* --- Beasiswa Table --- */
.beasiswa-list { display: flex; flex-direction: column; gap: 12px; }
.beasiswa-card {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
  background: var(--white);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.beasiswa-icon {
  width: 40px; height: 40px;
  background: var(--gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.beasiswa-name { font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 2px; }
.beasiswa-nominal { font-size: .82rem; color: var(--green); font-weight: 600; margin-bottom: 2px; }
.beasiswa-deadline { font-size: .75rem; color: var(--gray-400); }

/* --- Jalur Masuk --- */
.jalur-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.jalur-card {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--white);
}
.jalur-name { font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: .9rem; }
.jalur-desc { font-size: .78rem; color: var(--gray-600); line-height: 1.5; }

/* --- Fasilitas Grid --- */
.fasilitas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.fasilitas-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: 8px;
  font-size: .82rem;
  color: var(--gray-700, #374151);
}

/* --- Sidebar Cards --- */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.info-row {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .82rem;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-label { color: var(--gray-400); width: 110px; flex-shrink: 0; font-size: .78rem; }
.info-val { color: var(--gray-800); font-weight: 500; flex: 1; }
.website-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: .85rem;
  margin-top: 12px;
  transition: color var(--transition);
}
.website-link:hover { color: var(--navy); }
.related-uni {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.related-uni:last-child { border-bottom: none; }
.related-uni:hover .related-name { color: var(--blue); }
.related-badge {
  width: 34px; height: 34px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.related-name { font-size: .82rem; font-weight: 600; color: var(--navy); }
.related-loc { font-size: .73rem; color: var(--gray-400); }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--white);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  user-select: none;
}
.faq-q:hover { background: var(--gray-50); }
.faq-icon { font-size: .8rem; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 16px 14px;
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* --- CTA Banner --- */
.cta-section {
  background: linear-gradient(135deg, #0f2355, #1B3A6B);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-section h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gold); color: var(--navy); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* --- Footer --- */
.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 36px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .82rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
  cursor: pointer;
}
.social-btn:hover { background: var(--blue); color: var(--white); }

/* --- Pagination --- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

/* --- Location Map Placeholder --- */
.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: .85rem;
  border: 2px dashed var(--gray-200);
}
.location-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* --- Notice / Alert --- */
.notice {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .85rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.notice-info { background: var(--blue-light); color: #1E40AF; border-left: 3px solid var(--blue); }
.notice-gold { background: var(--gold-light); color: #92400E; border-left: 3px solid var(--gold); }

/* --- Back to top --- */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 200;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .uni-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { order: -1; }
  .sidebar-card:first-child { display: flex; flex-wrap: wrap; gap: 0; }
  .info-row { width: 50%; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .hero { padding: 48px 0 56px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .cats-grid { grid-template-columns: repeat(2,1fr); }
  .uni-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .prodi-grid { grid-template-columns: 1fr; }
  .jalur-list { grid-template-columns: 1fr; }
  .fasilitas-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 40px 0; }
  .filter-inner { gap: 8px; }
  .header-cta { display: none; }
}
@media (max-width: 480px) {
  .cats-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .fasilitas-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .search-box { flex-wrap: wrap; padding: 8px; gap: 8px; }
  .search-btn { width: 100%; justify-content: center; }
}
