/* ==========================================================================
   EducaSEE.com — Design System (HTML/CSS static mockup)
   Base: GRID KUPASRUANG design tokens, colors re-themed to the EducaSEE logo
   (navy blue #1A4E8F / medium blue #2E86D6 / orange #F58220), light theme.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand colors — sampled from EducaSEE logo asset */
  --primary: #073a70;          /* navy — logo "Educa" / tagline */
  --primary-strong: #042952;   /* deeper navy */
  --primary-soft: #0f599a;     /* mid blue — owl body */
  --primary-tint: #e7f0f8;     /* light blue wash */
  --accent: #f7850c;           /* orange — logo "SEE" / swoosh */
  --accent-strong: #e06f00;    /* orange hover */
  --accent-soft: #fff1de;      /* light orange wash */
  --gold: #f7a81b;             /* tassel / accent gold */

  /* Neutrals (light theme) */
  --background: #f5f8fc;
  --surface: #ffffff;
  --surface-alt: #f8fbfe;
  --border: #dce6f1;
  --border-strong: #c5d3e4;
  --text: #0f1b2d;
  --text-muted: #5a6b80;
  --text-faint: #8494a8;
  --success: #1f9d55;
  --success-soft: #e7f6ee;
  --danger: #d64545;
  --danger-soft: #fdecec;

  /* Radii (GRID KUPASRUANG scale) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 10px 28px rgba(19, 60, 110, 0.08);
  --shadow-elevated: 0 2px 12px rgba(19, 60, 110, 0.06);
  --shadow-pop: 0 16px 40px rgba(19, 60, 110, 0.14);

  /* Motion */
  --dur-fast: 150ms;
  --dur-base: 350ms;
  --dur-slow: 1000ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Spacing base 4px */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 28px; --sp-8: 32px;
  --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

.container {
  width: min(1200px, 100% - var(--sp-8) * 2);
  margin-inline: auto;
}

h1, h2, h3, h4 { color: var(--primary); line-height: 1.3; }

.display-1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.12px;
  color: var(--primary);
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--primary);
}
.section-sub {
  color: var(--text-muted);
  max-width: 640px;
  margin-top: var(--sp-2);
}
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border: 1.5px solid transparent;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); box-shadow: 0 8px 20px rgba(19, 60, 110, 0.25); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-strong); box-shadow: 0 8px 20px rgba(245, 130, 32, 0.32); }

.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-tint); }

.btn-ghost { color: var(--primary); background: transparent; }
.btn-ghost:hover { background: var(--primary-tint); }

.btn-light { background: #fff; color: var(--primary-strong); }
.btn-light:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-nav { padding: 9px 16px; font-size: 13.5px; font-weight: 600; border-radius: 10px; }
.btn-block { width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.badge-primary { background: var(--primary-tint); color: var(--primary); }
.badge-accent { background: var(--accent-soft); color: var(--accent-strong); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-gold { background: #fdf3dc; color: #b97a08; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--primary-soft); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip svg { width: 16px; height: 16px; }

/* ==========================================================================
   Topbar + Header
   ========================================================================== */
.topbar {
  background: var(--primary-strong);
  color: #dce8f6;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 6px 0;
}
.topbar a { color: #dce8f6; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar-links { display: flex; gap: var(--sp-5); }
.topbar-tag { font-weight: 600; color: var(--gold); }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.brand-logo-footer {
  height: 56px;
  max-width: 220px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--primary-strong); }
.brand-name .see { color: var(--accent); }
.brand-name .tld { font-weight: 600; color: var(--primary-strong); }
.brand-tag { font-size: 10.5px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.6px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav > li { position: relative; flex: none; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-link:hover { color: var(--primary); background: var(--primary-tint); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: var(--sp-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--dur-fast) var(--ease);
  z-index: 70;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
}
.dropdown a:hover { background: var(--primary-tint); color: var(--primary); }
.dropdown svg { width: 18px; height: 18px; color: var(--primary-soft); flex: none; }
.dropdown .dd-title { font-weight: 600; }
.dropdown .dd-sub { display: block; font-size: 12px; color: var(--text-faint); }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 440px; }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.menu-toggle { display: none; color: var(--primary-strong); }
.menu-toggle svg { width: 26px; height: 26px; }

/* ==========================================================================
   Hero + search
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  /* background-snippets pattern (ported from React demo → Blade/CSS) */
  background-color: #fff;
  background-image:
    linear-gradient(to right, #eef2f7 1px, transparent 1px),
    linear-gradient(to bottom, #eef2f7 1px, transparent 1px);
  background-size: 6rem 4rem;
  overflow: hidden;
  padding-bottom: 4.75rem;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
/* Soft brand glow — equivalent to the React radial overlay */
.hero::before {
  background:
    radial-gradient(circle 520px at 50% 180px, #c9ebff, transparent 70%),
    radial-gradient(circle 420px at 92% 12%, rgba(247, 133, 12, 0.12), transparent 65%);
  animation: heroGlow 16s ease-in-out infinite;
}
/* Fade grid toward bottom so content sections blend cleanly */
.hero::after {
  background: linear-gradient(180deg, transparent 55%, rgba(245, 248, 252, 0.92) 100%);
}
.hero > * {
  position: relative;
  z-index: 1;
}
@keyframes heroGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero .text-accent { color: var(--accent); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.25rem);
}
.hero-copy { max-width: 640px; }
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid #d9e2ec;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 1.1rem;
}
.hero-trust svg { width: 15px; height: 15px; color: var(--success); flex: none; }
.hero .display-1 {
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 11.5em;
  color: var(--primary);
}
.hero p.lead {
  color: #5b6b80;
  margin-top: 1rem;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.65;
}
.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
}
.hero-art-frame {
  background: linear-gradient(165deg, #fff6eb 0%, #eef5fc 48%, #fff 100%);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 18px 48px rgba(4, 41, 82, 0.10);
}
.hero-art-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Compact hero search — matches uploaded mock */
.hero-search {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1.5rem;
  padding: 8px 8px 8px 16px;
  background: #fff;
  border: 1px solid #e2e9f2;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(19, 60, 110, 0.08);
}
.hero-search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
.hero-search-field svg {
  position: absolute;
  left: 2px;
  width: 18px;
  height: 18px;
  color: #8a99ac;
  pointer-events: none;
}
.hero-search-field input,
.hero-search-field select {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 8px 12px 30px;
  font-size: 15px;
  color: var(--text);
  appearance: none;
}
.hero-search-field input::placeholder { color: #8a99ac; }
.hero-search-field input:focus,
.hero-search-field select:focus {
  outline: none;
}
.hero-search-select {
  flex: 0 1 168px;
  max-width: 180px;
}
.hero-search-select::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #8a99ac;
  border-bottom: 2px solid #8a99ac;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.hero-search-divider {
  width: 1px;
  height: 28px;
  background: #e2e9f2;
  flex: none;
}
.hero-search .btn {
  flex: none;
  padding: 12px 20px;
  border-radius: 12px;
  white-space: nowrap;
}
.hero-search:focus-within {
  border-color: #b8cce4;
  box-shadow: 0 12px 32px rgba(19, 60, 110, 0.10), 0 0 0 3px rgba(46, 134, 214, 0.12);
}

.hero-popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.15rem;
}
.hero-popular > span {
  font-size: 13px;
  font-weight: 600;
  color: #5b6b80;
}
.chip-quiet {
  padding: 7px 14px;
  font-size: 13px;
  border-color: #d9e2ec;
  background: #fff;
  color: #334155;
  box-shadow: none;
}
.chip-quiet:hover {
  border-color: var(--primary-soft);
  color: var(--primary);
  background: #fff;
}

/* Legacy search panel (directory / other pages) */
.search-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--sp-5);
  margin-top: var(--sp-6);
}
.search-panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-3);
  display: flex; align-items: center; gap: 8px;
}
.search-panel-title svg { width: 16px; height: 16px; color: var(--accent); }
.search-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: var(--sp-3);
  align-items: end;
}
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--primary-strong); }
.field .control { position: relative; }
.field select,
.field input {
  width: 100%;
  padding: 11px 12px 11px 38px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 14px;
  appearance: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field .control > svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--text-faint); pointer-events: none;
}
.field .control.select::after {
  content: "";
  position: absolute; right: 14px; top: 50%;
  width: 7px; height: 7px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select:focus, .field input:focus {
  outline: none;
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(46, 134, 214, 0.18);
}

/* Quick access cards */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  position: relative;
  z-index: 5;
}
.quick-card {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--sp-5);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: var(--primary-tint); }
.quick-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  flex: none;
}
.quick-icon svg { width: 24px; height: 24px; }
.quick-icon.blue { background: var(--primary-tint); color: var(--primary); }
.quick-icon.sky { background: rgba(46, 134, 214, 0.14); color: var(--primary-soft); }
.quick-icon.orange { background: var(--accent-soft); color: var(--accent-strong); }
.quick-icon.gold { background: #fdf3dc; color: #b97a08; }
.quick-card h3 { font-size: 16px; font-weight: 700; }
.quick-card p { font-size: 13px; color: var(--text-muted); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--sp-20) 0 var(--sp-16); }
.section-alt { background: var(--surface); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}
.section-head .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.section-head .eyebrow::before {
  content: "";
  width: 24px; height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

/* Program/method tabs + cards */
.tab-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.program-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: all var(--dur-fast) var(--ease);
}
.program-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-elevated); transform: translateY(-3px); }
.program-card .quick-icon { margin-bottom: var(--sp-4); }
.program-card h3 { font-size: 18px; margin-bottom: var(--sp-2); }
.program-card p { font-size: 14px; color: var(--text-muted); }
.program-card ul { margin-top: var(--sp-4); display: grid; gap: 8px; }
.program-card li { display: flex; gap: 8px; font-size: 13.5px; color: var(--text); align-items: flex-start; }
.program-card li svg { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 3px; }
.method-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-4);
  transition: all var(--dur-fast) var(--ease);
}
.method-card:hover { border-color: var(--accent); box-shadow: var(--shadow-elevated); }
.method-card .quick-icon { margin-inline: auto; margin-bottom: var(--sp-3); }
.method-card h3 { font-size: 15px; }
.method-card p { font-size: 13px; color: var(--text-muted); }

/* Steps (business flow) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  transition: all var(--dur-fast) var(--ease);
}
.step:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-elevated); }
.step-num {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  margin: 0 auto var(--sp-3);
  box-shadow: 0 6px 14px rgba(19, 60, 110, 0.25);
}
.step:nth-child(even) .step-num { background: var(--accent); box-shadow: 0 6px 14px rgba(245, 130, 32, 0.3); }
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-muted); }
.step::after {
  content: "";
  position: absolute;
  top: 44px; right: calc(-1 * var(--sp-4) + 4px);
  width: calc(var(--sp-4) + 2px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 4px, transparent 4px 8px);
}
.step:last-child::after { display: none; }

/* Campus cards */
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.campus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  transition: all var(--dur-fast) var(--ease);
  display: flex;
  flex-direction: column;
}
.campus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.campus-cover {
  height: 140px;
  display: grid;
  place-items: center;
  position: relative;
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 1px;
}
.campus-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 140px at 20% 0%, rgba(255, 255, 255, 0.22), transparent 70%);
}
.cover-1 { background: linear-gradient(135deg, #1a4e8f, #2e86d6); }
.cover-2 { background: linear-gradient(135deg, #133c6e, #1a4e8f); }
.cover-3 { background: linear-gradient(135deg, #f58220, #f7a81b); }
.cover-4 { background: linear-gradient(135deg, #2e86d6, #58a8e6); }
.cover-5 { background: linear-gradient(135deg, #b97a08, #f7a81b); }
.cover-6 { background: linear-gradient(135deg, #f58220, #e06f10); }
.campus-cover .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.campus-cover .badge-loc {
  position: absolute;
  top: 12px;
  left: auto;
  right: 12px;
  z-index: 2;
  max-width: 48%;
  background: rgba(255,255,255,0.92);
  color: var(--primary-strong);
}
.campus-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; min-width: 0; }
.campus-body h3 { font-size: 17px; line-height: 1.35; min-height: 2.7em; }
.campus-meta { display: flex; gap: var(--sp-4); flex-wrap: wrap; font-size: 12.5px; color: var(--text-muted); }
.campus-meta span { display: inline-flex; align-items: center; gap: 5px; }
.campus-meta svg { width: 14px; height: 14px; color: var(--primary-soft); }
.campus-tags { display: flex; gap: 6px; flex-wrap: wrap; min-height: 28px; }
.campus-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--border-strong);
  flex-wrap: wrap;
}
.price { min-width: 0; }
.price small { display: block; font-size: 11px; color: var(--text-faint); }
.price b { font-size: 15px; color: var(--primary-strong); }
.campus-foot .btn { padding: 9px 18px; font-size: 13px; flex: none; pointer-events: none; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.testi-card .quote { font-size: 14.5px; color: var(--text); }
.testi-card .quote::before { content: "\201C"; color: var(--accent); font-weight: 800; }
.testi-card .quote::after { content: "\201D"; color: var(--accent); font-weight: 800; }
.testi-who { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  background: var(--primary);
  flex: none;
}
.avatar.alt { background: var(--accent); }
.testi-who b { font-size: 14px; color: var(--primary-strong); display: block; }
.testi-who span { font-size: 12.5px; color: var(--text-muted); }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur-fast) var(--ease);
}
.article-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.article-cover { height: 150px; display: grid; place-items: center; color: rgba(255,255,255,0.9); }
.article-cover svg { width: 44px; height: 44px; }
.article-body { padding: var(--sp-5); display: grid; gap: var(--sp-2); }
.article-body .meta { font-size: 12px; color: var(--text-faint); display: flex; gap: 10px; }
.article-body h3 { font-size: 16px; line-height: 1.45; }
.article-body p { font-size: 13.5px; color: var(--text-muted); }
.article-body a.more { font-size: 13.5px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.article-body a.more:hover { color: var(--accent-strong); }

/* ==========================================================================
   CTA + consult form
   ========================================================================== */
.cta-banner {
  background:
    radial-gradient(700px 320px at 92% 8%, rgba(247, 133, 12, 0.28), transparent 58%),
    radial-gradient(640px 300px at 0% 100%, rgba(15, 89, 154, 0.38), transparent 60%),
    var(--primary-strong);
  border-radius: calc(var(--radius-xl) + 8px);
  color: #fff;
  padding: var(--sp-12) var(--sp-10);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-8);
  align-items: center;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #cdddf0; margin-top: var(--sp-3); }
.cta-points { margin-top: var(--sp-5); display: grid; gap: 10px; }
.cta-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #e7eefb; }
.cta-points svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.cta-art-wrap {
  display: grid;
  place-items: center;
  align-self: center;
  min-width: 0;
}
.cta-art {
  display: block;
  width: min(100%, 320px);
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.consult-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-pop);
  display: grid;
  gap: var(--sp-4);
  color: var(--text);
}
.consult-form h3 { font-size: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.form-grid { display: grid; gap: var(--sp-4); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 14px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(46, 134, 214, 0.18);
}
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--text-muted);
}
.consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--primary); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); align-items: start; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--primary-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 var(--sp-5) var(--sp-4); font-size: 13.5px; color: var(--text-muted); }

/* ==========================================================================
   Directory page (kampus.html)
   ========================================================================== */
.page-head {
  background: linear-gradient(120deg, var(--primary-strong), var(--primary) 55%, var(--primary-soft));
  color: #fff;
  padding: var(--sp-12) 0;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 168, 27, 0.35), transparent 70%);
}
.breadcrumb { font-size: 13px; color: #bcd3ec; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: #e8f1fb; }
.breadcrumb a:hover { color: #fff; }
.page-head h1 { color: #fff; margin-top: var(--sp-2); }
.page-head p { color: #cdddf0; margin-top: var(--sp-2); max-width: 560px; }

.directory-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-6);
  align-items: start;
}
.filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-elevated);
  position: sticky;
  top: 96px;
  display: grid;
  gap: var(--sp-5);
}
.filter-group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-strong);
  margin-bottom: var(--sp-3);
}
.filter-group .check { display: flex; gap: 10px; align-items: center; font-size: 13.5px; padding: 5px 0; color: var(--text); cursor: pointer; }
.filter-group .check input { width: 16px; height: 16px; accent-color: var(--primary); }
.filter-group .check .count { margin-left: auto; font-size: 11.5px; color: var(--text-faint); }
.range-box { display: flex; align-items: center; gap: 10px; }
.range-box input[type="range"] { flex: 1; accent-color: var(--accent); }

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.results-head .found { font-size: 14px; color: var(--text-muted); }
.results-head .found b { color: var(--primary-strong); }
.results-head .sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
.results-head .sort select { padding: 9px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); background: var(--surface); font-size: 13.5px; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.active-filters .chip { padding: 5px 12px; font-size: 12.5px; }
.active-filters .chip button { color: var(--accent-strong); font-weight: 700; }

.campus-list { display: grid; gap: var(--sp-4); }
.campus-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur-fast) var(--ease);
}
.campus-row:hover { box-shadow: var(--shadow-card); border-color: var(--primary-tint); }
.campus-row .campus-cover { height: 100%; min-height: 170px; font-size: 34px; }
.campus-row-body { padding: var(--sp-5); display: grid; gap: 10px; align-content: start; }
.campus-row-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; padding-top: var(--sp-3); border-top: 1px dashed var(--border-strong); }
.empty-state {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  background: var(--surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.empty-state .quick-icon { margin: 0 auto var(--sp-3); }
.empty-state h3 { margin-bottom: var(--sp-2); }
.empty-state p { font-size: 14px; }

/* ==========================================================================
   Detail page (detail-kampus.html)
   ========================================================================== */
.detail-hero {
  background: linear-gradient(120deg, var(--primary-strong), var(--primary) 55%, var(--primary-soft));
  color: #fff;
  padding: var(--sp-10) 0 calc(var(--sp-16) + var(--sp-8));
  position: relative;
  overflow: hidden;
}
.detail-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.detail-hero .campus-meta { color: #cdddf0; }
.detail-hero .campus-meta svg { color: var(--gold); }
.detail-hero .badge { background: rgba(255, 255, 255, 0.15); color: #fff; }
.detail-hero .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--sp-4); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-6);
  align-items: start;
  margin-top: calc(-1 * var(--sp-16));
}
.detail-main { display: grid; gap: var(--sp-5); }
.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  padding: var(--sp-6);
}
.detail-card > h2 { font-size: 20px; margin-bottom: var(--sp-4); display: flex; align-items: center; gap: 10px; }
.detail-card > h2 svg { width: 22px; height: 22px; color: var(--accent); }
.detail-card p.desc { color: var(--text-muted); font-size: 14.5px; }

.tabs { display: flex; gap: var(--sp-2); border-bottom: 2px solid var(--border); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.tab {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--accent-strong); border-bottom-color: var(--accent); }

.prodi-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.prodi-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-faint);
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
}
.prodi-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prodi-table tr:hover td { background: var(--primary-tint); }
.prodi-table .prodi-name b { display: block; color: var(--primary-strong); }
.prodi-table .prodi-name span { font-size: 12px; color: var(--text-faint); }

.timeline { display: grid; gap: 0; }
.timeline-item { display: flex; gap: var(--sp-4); }
.timeline-item .node {
  display: flex; flex-direction: column; align-items: center; flex: none;
}
.timeline-item .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary-tint); color: var(--primary);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  border: 2px solid var(--primary-tint);
}
.timeline-item.done .dot { background: var(--success-soft); color: var(--success); border-color: var(--success-soft); }
.timeline-item.current .dot { background: var(--accent); color: #fff; border-color: var(--accent-soft); }
.timeline-item .bar { width: 2px; flex: 1; background: var(--border-strong); margin: 4px 0; }
.timeline-item:last-child .bar { display: none; }
.timeline-item .t-body { padding: 4px 0 var(--sp-5); }
.timeline-item .t-body b { font-size: 14px; color: var(--primary-strong); display: block; }
.timeline-item .t-body span { font-size: 12.5px; color: var(--text-muted); }

/* Sticky sidebar CTA */
.detail-aside { display: grid; gap: var(--sp-5); position: sticky; top: 96px; }
.aside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-3);
}
.aside-card h3 { font-size: 17px; }
.aside-card .price-lg b { font-size: 24px; color: var(--primary-strong); }
.aside-card .price-lg small { color: var(--text-faint); font-size: 12px; }
.mini-list { display: grid; gap: 10px; font-size: 13.5px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.mini-list svg { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 3px; }
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #25d366; color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.wa-btn:hover { background: #1fb959; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }
.wa-btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--primary-strong);
  color: #b9cde4;
  margin-top: var(--sp-16);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-10);
  padding: var(--sp-16) 0 var(--sp-10);
}
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #8fb0d4; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: 10px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-about p { font-size: 13.5px; margin-top: var(--sp-4); max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: var(--sp-5); }
.socials a {
  width: 36px; height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease);
}
.socials a:hover { background: var(--accent); }
.socials svg { width: 17px; height: 17px; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--sp-5) 0;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: var(--sp-5); }

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform var(--dur-fast) var(--ease);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .btn { grid-column: 1 / -1; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); margin-top: var(--sp-8); }
  .program-grid, .campus-grid, .testi-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: var(--sp-10); }
  .hero-copy { max-width: none; }
  .hero .display-1 { max-width: none; }
  .hero-art { width: min(100%, 420px); margin: 0 auto; }
  .brand-logo { height: 44px; max-width: 180px; }
  .directory-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .detail-main, .detail-card, .detail-aside { min-width: 0; }
  .table-scroll { min-width: 0; max-width: 100%; }
  .detail-aside { position: static; }
  .cta-banner { grid-template-columns: 1fr; padding: var(--sp-8); }
  .faq { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

@media (max-width: 1100px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-pop);
    padding: var(--sp-4);
    display: none;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 14px; font-size: 15px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; min-width: 0; }
  .dropdown-grid { grid-template-columns: 1fr; min-width: 0; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-actions .btn-outline { display: none; }
}
@media (max-width: 1024px) {
  .campus-cover .badge-loc {
    top: 42px;
    left: 12px;
    right: auto;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 640px) {
  .quick-grid, .program-grid, .campus-grid, .testi-grid, .article-grid,
  .method-grid, .steps { grid-template-columns: 1fr; }
  .search-fields { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .campus-row { grid-template-columns: 1fr; }
  .campus-row .campus-cover { min-height: 120px; height: 120px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: var(--sp-2); }
  .topbar-links { display: none; }
  .section { padding: var(--sp-12) 0 var(--sp-10); }
  .brand-logo { height: 40px; max-width: 150px; }
  .btn-nav { padding: 10px 16px; font-size: 13.5px; }
  .hero-search {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 8px;
  }
  .hero-search-divider { display: none; }
  .hero-search-field,
  .hero-search-select { max-width: none; flex: none; width: 100%; }
  .hero-search-field input,
  .hero-search-field select {
    background: #f7fafd;
    border-radius: 10px;
    padding: 12px 12px 12px 38px;
  }
  .hero-search-field svg { left: 12px; }
  .hero-search .btn { width: 100%; }
  .hero-art { display: none; }
  .header-actions .btn-nav.btn-outline { display: none; }
}

/* ---------- Directory and campus detail pages ---------- */
.header-static .static-nav { gap: 2px; }
.directory-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; color: #dce8f6; font-size: 13px; }
.directory-stats b { color: #fff; font-size: 19px; margin-right: 5px; }
.directory-section { padding-top: 48px; }
.directory-intro { margin-bottom: 24px; }
.directory-intro .section-title { margin-top: 4px; }
.directory-search { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(150px, .8fr)) auto; gap: 14px; align-items: end; padding: 20px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-elevated); }
.directory-search-field { display: grid; gap: 6px; color: var(--primary-strong); font-size: 12px; font-weight: 600; }
.directory-search-field input, .directory-search-field select { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-alt); font-size: 13px; }
.directory-search-field input:focus, .directory-search-field select:focus, .results-head select:focus { outline: 2px solid var(--primary-soft); outline-offset: 2px; }
.directory-search .btn { height: 44px; }
.filter-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.filter-title-row h3 { font-size: 16px; }
.filter-title-row a, .aside-note a { color: var(--primary); font-size: 12px; font-weight: 600; }
.filter-group { min-width: 0; border: 0; padding: 0; margin: 0; }
.filter-group legend, .filter-group h4 { display: block; width: 100%; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--primary-strong); margin-bottom: 8px; }
.filter-group .check { padding: 5px 0; }
.range-label { display: flex; justify-content: space-between; gap: 8px; color: var(--text-muted); font-size: 12px; margin-bottom: 10px; }
.range-label b { color: var(--primary-strong); }
.range-box-input { width: 100%; accent-color: var(--accent); }
.directory-results { min-width: 0; }
.results-head .sort select { color: var(--text); }
.campus-row-body h2 { font-size: 18px; }
.campus-row-caption { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.campus-row-foot .btn { flex: none; }
.directory-note, .table-caption { color: var(--text-faint); font-size: 11.5px; margin-top: 14px; }
.pagination { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.pagination a, .pagination .page-current { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--primary); font-weight: 600; }
.pagination .page-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination-label { margin-left: 8px; color: var(--text-muted); font-size: 12px; }
.detail-title-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 12px; min-height: 140px; }
.detail-hero h1 { font-size: clamp(28px, 3.4vw, 42px); }
.detail-hero-badges { display: flex; gap: 8px; margin-bottom: 12px; }
.detail-title-row .detail-location { color: #dce8f6; margin-top: 8px; }
.detail-hero .badges { margin-top: 16px; }
.detail-monogram { display: grid; place-items: center; width: 132px; aspect-ratio: 1; flex: none; border: 1px solid rgb(255 255 255 / 25%); border-radius: 20px; background: rgb(255 255 255 / 10%); color: #fff; font-size: 38px; font-weight: 800; }
.detail-content-section { padding-top: var(--sp-10); }
.detail-card { scroll-margin-top: 96px; }
.detail-card-kicker { color: var(--accent-strong); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.profile-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.profile-facts div, .cost-item { display: grid; gap: 4px; padding: 14px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.profile-facts span, .cost-item span { color: var(--text-faint); font-size: 11px; }
.profile-facts b { color: var(--primary-strong); font-size: 12px; }
.table-scroll { width: 100%; overflow-x: auto; }
.prodi-table { min-width: 640px; }
.prodi-table td:nth-child(2), .prodi-table td:nth-child(4) { white-space: nowrap; }
.cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.cost-item b { color: var(--primary-strong); font-size: 14px; }
.cost-item small { color: var(--text-faint); font-size: 10px; }
.cost-note { font-size: 13px !important; }
.detail-aside .price-lg { border-block: 1px solid var(--border); padding: 12px 0; }
.detail-aside .aside-card .desc { font-size: 13px; }
.aside-note { box-shadow: none; background: var(--surface-alt); }
.aside-note p { color: var(--text-muted); font-size: 12px; }
.aside-note a { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--border); }
@media (max-width: 1024px) {
  .directory-search { grid-template-columns: 1fr 1fr; }
  .directory-search .btn { grid-column: 1 / -1; }
  .header-static .header-inner { flex-wrap: wrap; }
  .header-static .nav { position: static; order: 3; display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; padding: 0; border: 0; box-shadow: none; }
  .header-static .menu-toggle { display: none; }
}
@media (max-width: 640px) {
  .directory-search { grid-template-columns: 1fr; padding: 16px; }
  .directory-search .btn { grid-column: auto; }
  .directory-stats { gap: 10px 20px; }
  .directory-stats span { width: calc(50% - 10px); }
  .directory-row { grid-template-columns: 1fr; }
  .campus-row .campus-cover { min-height: 120px; height: 120px; }
  .campus-row-foot { align-items: flex-start; }
  .detail-title-row { align-items: flex-start; position: relative; min-height: 0; padding-right: 0; }
  .detail-title-row > div:first-child { min-width: 0; }
  .detail-monogram { width: 56px; border-radius: 10px; font-size: 18px; }
  .detail-hero { padding-bottom: var(--sp-10); }
  .detail-content-section { padding-top: var(--sp-8); }
  .detail-hero h1 { max-width: 280px; font-size: 27px; }
  .detail-hero-badges { flex-wrap: wrap; padding-right: 58px; }
  .detail-hero .badges .badge { white-space: normal; }
  .header-static .header-inner { gap: 12px; }
  .header-static .header-actions { width: 100%; }
  .header-static .header-actions .btn { width: 100%; }
  .header-static .static-nav { gap: 0; }
  .header-static .nav-link { padding: 8px 10px; font-size: 13px; }
  .detail-hero .badges { gap: 6px; }
  .profile-facts, .cost-grid { grid-template-columns: 1fr; }
  .pagination-label { margin-left: auto; }
}
@media (min-width: 641px) {
  .campus-row .campus-cover .badge { left: 10px; right: auto; max-width: calc(100% - 20px); padding: 3px 8px; font-size: 10px; }
  .campus-row .campus-cover .badge-loc { top: 40px; }
}
@media (max-width: 640px) {
  .campus-row .campus-cover .badge { left: 10px; right: auto; max-width: calc(100% - 20px); padding: 3px 8px; font-size: 10px; }
  .campus-row .campus-cover .badge-loc { top: 40px; }
}

/* ---------- Catalog / entity cards / payment / partner / hero carousel ---------- */
.hero-slides { position: relative; }
.hero-slide { animation: heroFade .45s var(--ease); }
@keyframes heroFade { from { opacity: .35; } to { opacity: 1; } }
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 8;
  width: auto;
  max-width: calc(100% - 2rem);
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(4, 41, 82, 0.12);
}
.hero-nav {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.hero-nav:hover { border-color: var(--primary-soft); color: var(--primary-soft); }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: 0; background: #c5d3e4; padding: 0; cursor: pointer;
  transition: width var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.hero-dot.is-active { background: var(--accent); width: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5rem; }

.directory-head {
  padding: clamp(2rem, 4vw, 3rem) 0 1.25rem;
}
.directory-kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.directory-head .display-1 { margin: 0; }
.directory-head p {
  color: var(--text-muted);
  max-width: 58ch;
  margin-top: 0.75rem;
}
.catalog-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(130px, 0.75fr)) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-elevated);
}
.catalog-filters .input,
.catalog-filters .select {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface-alt);
  padding: 0 16px;
  font-size: 14px;
}
.catalog-filters .btn { min-height: 46px; border-radius: 999px; }
.catalog-count {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 1.25rem;
}
.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.entity-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.entity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.entity-card-poster {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: var(--primary-tint);
}
.entity-card-poster-fallback {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 55%, var(--accent) 120%);
}
.entity-card-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .55rem; }
.entity-card-body h3 { font-size: 1.05rem; color: var(--primary); margin: 0; }
.entity-card-meta { color: var(--text-muted); font-size: .9rem; margin: 0; }
.entity-card-cta { color: var(--accent-strong); font-weight: 600; font-size: .9rem; }

.detail-poster {
  width: min(100%, 640px);
  height: auto;
  border-radius: 16px;
  margin: 1rem 0 1.25rem;
  display: block;
}
.detail-split {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1.25rem;
  align-items: start;
}
.fee-note {
  background: var(--accent-soft);
  border: 1px solid #f3d2a3;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 1rem;
  color: var(--primary-strong);
  display: grid;
  gap: 4px;
}
.fee-note span { color: var(--text-muted); font-size: .9rem; font-weight: 500; }

.auth-card, .payment-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-elevated);
  display: grid;
  gap: 1rem;
}
.auth-switch { font-size: .95rem; color: var(--text-muted); }
.auth-switch a { color: var(--primary); font-weight: 600; }
.form-error { color: var(--danger); font-size: .85rem; margin-top: 4px; }
.flash-ok {
  background: var(--success-soft);
  color: var(--success);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.inline-form { display: inline; }

.payment-summary {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.payment-label { display: block; font-size: .8rem; color: var(--text-faint); }
.payment-fee { color: var(--accent-strong); font-size: 1.25rem; }
.payment-methods { display: grid; gap: 10px; }
.payment-method {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px; padding: 12px 14px; cursor: pointer;
}
.payment-method:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.payment-method b { display: block; color: var(--primary); }
.payment-method small { color: var(--text-muted); }
.payment-preview-pane {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 14px;
  border: 1px dashed var(--border-strong);
}
.qris-placeholder {
  width: 140px; height: 140px; margin: 8px 0;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-faint); font-weight: 700;
}
.payment-hint, .hint { color: var(--text-muted); font-size: .92rem; }

.partner-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.partner-benefit {
  border-radius: 18px;
  padding: 1.25rem;
  color: #fff;
  min-height: 190px;
}
.partner-benefit h3 { color: #fff; margin: .75rem 0 .5rem; }
.partner-benefit p { color: rgba(255,255,255,.92); font-size: .92rem; }
.partner-check {
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.22); font-weight: 700;
}
.partner-benefit-pink { background: linear-gradient(160deg, #e91e63, #c2185b); }
.partner-benefit-orange { background: linear-gradient(160deg, #f7850c, #e06f00); }
.partner-benefit-green { background: linear-gradient(160deg, #2e9e5b, #1f7a45); }
.partner-benefit-purple { background: linear-gradient(160deg, #5b4cdb, #3f35a8); }
.eyebrow-label { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.section-alt { background: #f3f7fc; }
.partner-strip {
  margin-top: 1rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: center;
}
.partner-strip-stat strong { display: block; font-size: 2rem; color: var(--primary); }
.partner-strip-stat span { color: var(--text-muted); font-size: .9rem; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-logo {
  width: 52px; height: 52px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--primary-tint); color: var(--primary); font-weight: 700;
  border: 1px solid var(--border);
}
.partner-form-wrap {
  background: linear-gradient(145deg, #5b4cdb, #073a70);
  border-radius: 24px;
  padding: 1.75rem;
  color: #fff;
}
.partner-form-intro p { color: rgba(255,255,255,.88); margin: .5rem 0 1.25rem; }
.partner-form {
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.article-prose p { margin-bottom: 1rem; line-height: 1.7; }

@media (max-width: 1024px) {
  .entity-grid, .partner-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-split, .partner-strip, .catalog-filters { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .entity-grid, .partner-benefits, .form-row-3 { grid-template-columns: 1fr; }
}

/* ---------- Auth / Enrollment form ---------- */
.enroll-page,
.auth-page {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
}
.enroll-shell,
.auth-shell {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.enroll-wrap { max-width: 720px; }
.enroll-hero {
  text-align: center;
  margin-bottom: 1.5rem;
}
.enroll-entity-meta {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.enroll-hero h1 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.35;
  color: #1f2937;
  max-width: 22ch;
  margin: 0 auto;
}
.enroll-lede {
  margin: 0.65rem auto 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 40rem;
}
.enroll-pill {
  display: inline-flex;
  margin-top: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #f0c14b;
  background: #fff8e6;
  color: #8a6a10;
  font-size: 13px;
  font-weight: 600;
}
.enroll-locked {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  text-align: left;
}
.enroll-locked span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-soft);
}
.enroll-locked strong {
  color: var(--primary-strong);
  font-size: 0.98rem;
}
.enroll-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 40, 80, 0.08);
  border: 1px solid #e8eef5;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  display: grid;
  gap: 1rem;
}
.enroll-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  background: #f3f6fa;
  border-radius: 14px;
}
.enroll-tab {
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
}
.enroll-tab.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(7, 58, 112, 0.1);
}
.enroll-form-title {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  color: #111827;
}
.enroll-field { display: grid; gap: 6px; }
.enroll-field label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.req { color: #e11d48; }
.enroll-input {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid #d7e0ea;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  font-size: 14.5px;
  color: var(--text);
}
.enroll-input-soft { background: #f7f9fc; }
.enroll-input-accent { border-color: #93c5fd; background: #f8fbff; }
.enroll-input:focus {
  outline: none;
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(46, 134, 214, 0.16);
  background: #fff;
}
.enroll-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.enroll-filter {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.enroll-filter-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}
.enroll-account-box {
  background: linear-gradient(120deg, #eef4ff, #f5f0ff);
  border-radius: 12px;
  padding: 14px 16px;
}
.enroll-account-copy b { display: block; color: var(--primary); margin-bottom: 4px; }
.enroll-account-copy p { margin: 0; font-size: 13px; color: #475569; line-height: 1.5; }
.enroll-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  cursor: pointer;
}
.enroll-check input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; }
.enroll-panel { display: none; gap: 1rem; }
.enroll-panel.is-active { display: grid; }
.enroll-panel[hidden] { display: none !important; }
.enroll-submit {
  justify-self: center;
  min-width: min(100%, 280px);
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(247, 133, 12, 0.35);
}
.enroll-submit:hover { background: var(--accent-strong); color: #fff; }
.enroll-switch {
  text-align: center;
  margin: 0;
  color: #64748b;
  font-size: 14px;
}
.enroll-switch a { color: var(--primary); font-weight: 700; }
.enroll-errors {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.enroll-errors ul { margin: 0; padding-left: 1.1rem; }

.auth-shell-inner { max-width: 920px; }
.auth-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e8eef5;
  box-shadow: 0 18px 48px rgba(15, 40, 80, 0.1);
}
.auth-panel-brand {
  background: linear-gradient(160deg, var(--primary-strong), var(--primary) 55%, #2e86d6);
  color: #fff;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid;
  align-content: center;
  gap: 0.85rem;
}
.auth-panel-brand img {
  width: 160px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
}
.auth-panel-brand h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: #fff;
  line-height: 1.25;
}
.auth-panel-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  line-height: 1.6;
}
.auth-panel-form { padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.auth-modern { display: grid; gap: 1rem; }
.auth-remember { margin: 0.15rem 0; }
.password-field {
  position: relative;
  display: block;
}
.password-field .enroll-input {
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #64748b;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.password-toggle:hover { color: var(--primary); background: var(--primary-tint); }
.password-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}
.password-toggle .icon-eye-off { display: none; }
.password-toggle.is-visible .icon-eye { display: none; }
.password-toggle.is-visible .icon-eye-off { display: block; }

@media (max-width: 800px) {
  .enroll-row { grid-template-columns: 1fr; }
  .auth-panel { grid-template-columns: 1fr; }
  .auth-panel-brand { min-height: 180px; }
  .enroll-hero h1 { max-width: none; }
}
