/* =========================================================
   IUK Admissions — site styles (Bootstrap 5.3 base)
   Brand: Blue #23618e · Teal #285C77 / #295c79 · Gold #f9c700
   ========================================================= */
:root {
    --iuk-blue: #23618e;
    --iuk-teal: #285c77;
    --iuk-teal-2: #295c79;
    --iuk-gold: #f9c700;
    --iuk-gold-d: #e0b300;
    --iuk-ink: #0f2b3b;
    --iuk-deep: #173f55;
    --iuk-text: #3d5160;
    --iuk-muted: #6b7f8c;
    --iuk-line: #dde6ec;
    --iuk-tint: #f2f7fa;
    --iuk-white: #fff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(15, 43, 59, .06), 0 8px 24px rgba(15, 43, 59, .07);
    --shadow-lg: 0 20px 48px rgba(15, 43, 59, .16);
    --font-head: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--iuk-text);
    --bs-link-color: var(--iuk-blue);
    --bs-link-color-rgb: 35, 97, 142;
    --bs-link-hover-color: var(--iuk-teal);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font-body); color: var(--iuk-text); background: var(--iuk-white); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--iuk-ink); font-weight: 700; line-height: 1.15; }
h3 { font-weight: 700; }
h1, h2 { font-family: var(--font-head); letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--iuk-gold); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--iuk-ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.text-muted-2 { color: var(--iuk-muted); }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; letter-spacing: .01em; border-radius: 999px; padding: .65rem 1.4rem; transition: transform .15s ease, box-shadow .15s ease, background-color .15s; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1.02rem; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--iuk-gold); color: var(--iuk-ink); border: 0; }
.btn-gold:hover, .btn-gold:focus { background: var(--iuk-gold-d); color: var(--iuk-ink); box-shadow: 0 8px 20px rgba(249, 199, 0, .35); }
.btn-brand { background: var(--iuk-blue); color: #fff; border: 0; }
.btn-brand:hover { background: var(--iuk-teal); color: #fff; }
.btn-outline-brand { border: 1.5px solid var(--iuk-blue); color: var(--iuk-blue); background: transparent; }
.btn-outline-brand:hover { background: var(--iuk-blue); color: #fff; }
.btn-dark-brand { background: var(--iuk-ink); color: #fff; border: 0; }
.btn-dark-brand:hover { background: var(--iuk-deep); color: #fff; }
.btn-outline-dark-brand { border: 1.5px solid var(--iuk-ink); color: var(--iuk-ink); }
.btn-outline-dark-brand:hover { background: var(--iuk-ink); color: #fff; }
.btn-link { color: var(--iuk-blue); text-decoration: none; font-weight: 600; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--iuk-deep); color: rgba(255, 255, 255, .8); font-size: .82rem; padding: .45rem 0; }
.topbar a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.topbar a:hover { color: var(--iuk-gold); }
.topbar i { color: var(--iuk-gold); margin-right: 4px; }

.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--iuk-line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(15, 43, 59, .08); }
.navbar { padding: .6rem 0; }
.navbar-brand img { height: 56px; width: auto; }
.nav-link { font-weight: 600; color: var(--iuk-ink); padding: .5rem .85rem !important; border-radius: 999px; }
.nav-link:hover { color: var(--iuk-blue); }
.nav-link.active { color: var(--iuk-blue); background: var(--iuk-tint); }
.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
@media (min-width: 992px) { .nav-actions { margin-left: 1.25rem; } }
.btn-apply-nav { padding: .6rem 1.35rem; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(249, 199, 0, .35); white-space: nowrap; }
@media (max-width: 575.98px) { .btn-apply-nav { padding: .5rem 1rem; } }
.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--iuk-ink); padding: 0 .25rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
    .navbar-brand img { height: 44px; }
    .navbar-collapse { padding: .75rem 0 1rem; }
}

/* ---------- Shared bits ---------- */
.section { padding: clamp(3.5rem, 2rem + 5vw, 6rem) 0; }
.section--tint { background: var(--iuk-tint); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-end; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--iuk-blue); margin-bottom: .6rem; }
.eyebrow--gold { color: var(--iuk-gold); }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47, 191, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); } }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--iuk-muted); }
.empty-state i { font-size: 2.6rem; color: var(--iuk-blue); display: block; margin-bottom: .75rem; }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .88rem; color: var(--iuk-muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--iuk-blue); }
.crumbs--light { color: rgba(255, 255, 255, .8); }
.crumbs--light a:hover { color: var(--iuk-gold); }

/* ---------- Degree slider ---------- */
.hero-slider { position: relative; background: var(--iuk-ink); }
.hero-slider .carousel-item { height: clamp(560px, 82vh, 760px); overflow: hidden; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.06); transition: transform 7s ease-out; }
.carousel-item.active .slide-img { transform: scale(1); }
.hero-slider .carousel-item::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(15, 43, 59, .94) 0%, rgba(23, 63, 85, .82) 38%, rgba(35, 97, 142, .35) 70%, rgba(15, 43, 59, .15) 100%),
    linear-gradient(0deg, rgba(15, 43, 59, .75) 0%, transparent 35%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 6.5rem; color: rgba(255, 255, 255, .9); }
.intake-badge--dark { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); }
.slide-eyebrow { margin-top: 1.25rem; font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--iuk-gold); }
.slide-title { color: #fff; font-size: clamp(2.3rem, 1.3rem + 4vw, 4.4rem); max-width: 16ch; margin: .5rem 0 1rem; text-wrap: balance; }
.slide-lead { max-width: 38rem; font-size: 1.1rem; margin-bottom: 1.25rem; }
.slide-facts { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.slide-facts li { padding: .35rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-weight: 600; color: #fff; }
.slide-facts i { color: var(--iuk-gold); margin-right: .25rem; }
.slide-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--iuk-ink); }
.slider-ctrl { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(15, 43, 59, .35); color: #fff; font-size: 1.2rem; backdrop-filter: blur(4px); transition: .2s; }
.slider-ctrl:hover { background: var(--iuk-gold); color: var(--iuk-ink); border-color: var(--iuk-gold); }
.slider-ctrl--prev { left: 1.25rem; } .slider-ctrl--next { right: 1.25rem; }
.slider-tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1.1rem 0 1.25rem; background: linear-gradient(0deg, rgba(10, 30, 42, .85), rgba(10, 30, 42, .55)); border-top: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.slider-tabs-row { display: flex; gap: 1rem; }
.slider-tabs button { flex: 1; min-width: 0; background: none; border: 0; padding: .6rem 0 0; text-align: left; color: rgba(255, 255, 255, .6); cursor: pointer; }
.tab-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; position: relative; margin-bottom: .5rem; }
.tab-bar::after { content: ""; position: absolute; inset: 0; background: var(--iuk-gold); transform: scaleX(0); transform-origin: left; }
.slider-tabs button.active { color: #fff; }
.slider-tabs button.active .tab-bar::after { animation: tabfill 6.5s linear forwards; }
.hero-slider.paused .slider-tabs button.active .tab-bar::after { animation-play-state: paused; }
@keyframes tabfill { to { transform: scaleX(1); } }
.tab-label { display: block; font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 991.98px) { .slider-ctrl { display: none; } }
@media (max-width: 767.98px) {
    .hero-slider .carousel-item { height: auto; min-height: 600px; }
    .hero-slider .carousel-item::after { background: linear-gradient(0deg, rgba(15, 43, 59, .96) 0%, rgba(15, 43, 59, .85) 55%, rgba(15, 43, 59, .45) 100%); }
    .slide-content { justify-content: flex-end; padding-top: 5rem; padding-bottom: 4.5rem; min-height: 620px; }
    .slider-tabs { padding: .9rem 0 1rem; }
    .slide-lead { font-size: 1.08rem; }
    .slide-btns .btn { flex: 1 1 auto; }
    .tab-label { display: none; }
    .slider-tabs-row { gap: .4rem; }
}

/* ---------- Finder ---------- */
.finder { position: relative; z-index: 4; margin-top: 2rem; }
.finder-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2rem; align-items: center; background: #fff; padding: 1.5rem 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--iuk-line); }
.finder-text h2 { font-size: 1.6rem; margin: 0; }
.finder-text p { margin: 0; color: var(--iuk-muted); }
.finder .hero-search { max-width: none; box-shadow: none; }
.finder .hero-chips { grid-column: 1 / -1; margin: 0; }
.finder-card > * { min-width: 0; }
@media (max-width: 767.98px) { .finder-card { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; } }
.finder + .stats { margin-top: 2.5rem; }

.intake-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--iuk-tint); border: 1px solid var(--iuk-line); color: var(--iuk-deep); font-weight: 600; font-size: .9rem; padding: .35rem .95rem; border-radius: 999px; }
.hero-search { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px solid var(--iuk-line); border-radius: 999px; padding: .35rem .35rem .35rem 1.1rem; max-width: 34rem; box-shadow: var(--shadow); }
.hero-search:focus-within { border-color: var(--iuk-blue); }
.hero-search i { color: var(--iuk-muted); }
.hero-search input { flex: 1; border: 0; outline: 0; min-width: 0; background: transparent; padding: .5rem 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .5rem .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--iuk-line); color: var(--iuk-ink); font-weight: 600; font-size: .88rem; text-decoration: none; transition: .15s; }
.chip span { background: var(--iuk-tint); color: var(--iuk-blue); border-radius: 999px; padding: .05rem .55rem; font-size: .78rem; }
.chip:hover { border-color: var(--iuk-blue); color: var(--iuk-blue); }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(120deg, var(--iuk-teal) 0%, var(--iuk-blue) 100%); color: #fff; }
.stat { padding: 2rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .14); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); color: var(--iuk-gold); }
.stat span { font-size: .9rem; opacity: .9; }
@media (max-width: 767.98px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); } }

/* ---------- Level cards ---------- */
.level-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--iuk-line); text-decoration: none; color: var(--iuk-text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.level-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.level-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--iuk-tint); color: var(--iuk-blue); font-size: 1.5rem; margin-bottom: 1.1rem; transition: .2s; }
.level-card:hover .level-icon { background: var(--iuk-gold); color: var(--iuk-ink); }
.level-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.level-card p { font-size: .94rem; margin-bottom: 1.2rem; }
.level-count { margin-top: auto; font-weight: 700; color: var(--iuk-blue); font-size: .9rem; }

/* ---------- Programme cards ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.prog-cell { display: contents; }
.prog-cell[hidden] { display: none; }
.prog-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--iuk-line); transition: transform .2s, box-shadow .2s; }
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prog-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--iuk-tint); }
.prog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prog-card:hover .prog-media img { transform: scale(1.05); }
.prog-level { position: absolute; left: 12px; top: 12px; background: rgba(15, 43, 59, .82); color: #fff; font-size: .85rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; backdrop-filter: blur(4px); }
.prog-level i { color: var(--iuk-gold); }
.prog-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.35rem 1.35rem; }
.prog-code { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--iuk-blue); text-transform: uppercase; }
.prog-title { font-family: var(--font-body); font-size: 1.12rem; margin: .3rem 0 .5rem; line-height: 1.35; }
.prog-title a { color: var(--iuk-ink); text-decoration: none; }
.prog-title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.prog-card { position: relative; }
.prog-title a:hover { color: var(--iuk-blue); }
.prog-desc { font-size: .9rem; color: var(--iuk-muted); margin-bottom: 1rem; }
.prog-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .84rem; }
.prog-facts i { color: var(--iuk-blue); margin-right: .3rem; }
.prog-foot { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--iuk-line); display: flex; justify-content: space-between; align-items: center; }
.prog-fee { font-weight: 700; color: var(--iuk-ink); }
.prog-fee small { font-weight: 500; color: var(--iuk-muted); margin-left: 2px; }
.prog-more { position: relative; z-index: 1; font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--iuk-blue); }
.prog-more i { transition: transform .2s; }
.prog-card:hover .prog-more i { transform: translateX(3px); }

/* ---------- Why IUK ---------- */
.why-list { display: grid; gap: 1.4rem; }
.why-item { display: flex; gap: 1rem; }
.why-item > i { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--iuk-tint); color: var(--iuk-blue); font-size: 1.25rem; }
.why-item h3 { font-size: 1.05rem; margin-bottom: .2rem; font-family: var(--font-body); }
.why-item p { margin: 0; font-size: .95rem; }
.photo-stack { position: relative; padding: 0 12% 14% 0; }
.photo-stack .ps-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.photo-stack .ps-small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg); }

/* ---------- Steps ---------- */
.section--brand { background: var(--iuk-deep) radial-gradient(800px 400px at 90% 0, rgba(35, 97, 142, .7), transparent 70%); color: rgba(255, 255, 255, .85); }
.section--brand h2, .section--brand h3 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding: 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--iuk-gold); color: var(--iuk-ink); font-weight: 800; margin-bottom: 1rem; }
.steps h3 { font-size: 1.1rem; font-family: var(--font-body); }
.steps p { margin: 0; font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--iuk-line); border-radius: var(--radius-sm) !important; margin-bottom: .75rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; color: var(--iuk-ink); padding: 1.1rem 1.25rem; }
.faq .accordion-button:not(.collapsed) { background: var(--iuk-tint); color: var(--iuk-blue); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(249, 199, 0, .5); }
.faq .accordion-header { margin: 0; font-size: 1rem; }

.faq-title { margin-bottom: .75rem; max-width: 14ch; }
.faq-intro { font-size: 1.12rem; margin-bottom: 1.75rem; }
.faq-visual { position: relative; margin: 0; }
.faq-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-help { position: relative; margin: -3.5rem 1.25rem 0; display: grid; gap: .55rem; padding: 1.25rem 1.4rem; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border-left: 5px solid var(--iuk-gold); }
.faq-help strong { color: var(--iuk-ink); font-size: 1.15rem; }
.faq-help a { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; color: var(--iuk-blue); overflow-wrap: anywhere; }
.faq-help i { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--iuk-tint); }
.faq .accordion-button { font-size: 1.02rem; }

/* ---------- CTA ---------- */
.cta-band { background: var(--iuk-gold); padding: 3rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.cta-inner h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: .3rem; }
.cta-inner p { margin: 0; color: var(--iuk-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--iuk-ink); color: rgba(255, 255, 255, .72); padding: 4rem 0 0; font-size: .94rem; }
.footer-logo { display: inline-block; background: #fff; padding: .6rem .9rem; border-radius: 12px; }
.footer-logo img { height: 56px; width: auto; }
.footer-title { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-body); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--iuk-gold); }
.footer-contact li { display: flex; gap: .7rem; }
.footer-contact i { color: var(--iuk-gold); }
.footer-bottom { margin-top: 3rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.to-top { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }

/* ---------- Programmes page ---------- */
.page-hero { background: var(--iuk-tint); padding: 3rem 0 5.5rem; border-bottom: 1px solid var(--iuk-line); }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem); }
.page-hero p { max-width: 40rem; font-size: 1.08rem; margin: 0; }
.filter-bar { position: relative; margin-top: -2.6rem; display: grid; grid-template-columns: 1fr 220px 200px; gap: .75rem; background: #fff; padding: .85rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.filter-search { position: relative; }
.filter-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--iuk-muted); }
.filter-search input, .filter-bar .form-select { height: 50px; border-radius: var(--radius-sm); border: 1.5px solid var(--iuk-line); }
.filter-search input { width: 100%; padding: 0 1rem 0 2.6rem; outline: 0; }
.filter-search input:focus, .filter-bar .form-select:focus { border-color: var(--iuk-blue); box-shadow: 0 0 0 3px rgba(35, 97, 142, .15); }
@media (max-width: 767.98px) { .filter-bar { grid-template-columns: 1fr 1fr; } .filter-search { grid-column: 1 / -1; } }
.level-tabs { display: flex; gap: .5rem; overflow-x: auto; padding: 1.5rem 0 .25rem; scrollbar-width: none; }
.level-tabs::-webkit-scrollbar { display: none; }
.level-tabs button { flex: none; border: 1px solid var(--iuk-line); background: #fff; color: var(--iuk-ink); font-weight: 600; padding: .5rem .6rem .5rem 1rem; border-radius: 999px; font-size: .9rem; transition: .15s; }
.level-tabs button span { background: var(--iuk-tint); color: var(--iuk-blue); border-radius: 999px; padding: .05rem .55rem; font-size: .78rem; margin-left: .3rem; }
.level-tabs button:hover { border-color: var(--iuk-blue); }
.level-tabs button.active { background: var(--iuk-blue); border-color: var(--iuk-blue); color: #fff; }
.level-tabs button.active span { background: var(--iuk-gold); color: var(--iuk-ink); }
.result-count { color: var(--iuk-muted); font-size: .92rem; margin: 1rem 0 1.5rem; }
.result-count strong { color: var(--iuk-ink); }

/* ---------- Course page ---------- */
.course-hero { position: relative; color: #fff; padding: 3rem 0 6.5rem; background: var(--iuk-deep); isolation: isolate; overflow: hidden; }
.course-hero::before { content: ""; position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; z-index: -2; }
.course-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 43, 59, .95) 0%, rgba(35, 97, 142, .82) 55%, rgba(35, 97, 142, .45) 100%); z-index: -1; }
.course-hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); max-width: 22ch; margin: 0; }
.course-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); }
.tag--gold { background: var(--iuk-gold); color: var(--iuk-ink); border-color: var(--iuk-gold); }
.facts-bar { position: relative; margin: -3.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.facts-bar > div { padding: 1.3rem 1.5rem; border-right: 1px solid var(--iuk-line); }
.facts-bar > div:last-child { border-right: 0; }
.facts-bar dt { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--iuk-muted); margin-bottom: .3rem; }
.facts-bar dt i { color: var(--iuk-blue); }
.facts-bar dd { margin: 0; font-weight: 700; color: var(--iuk-ink); font-size: 1.05rem; }
@media (max-width: 767.98px) {
    .facts-bar { grid-template-columns: 1fr 1fr; }
    .facts-bar > div:nth-child(2) { border-right: 0; }
    .facts-bar > div:nth-child(-n+2) { border-bottom: 1px solid var(--iuk-line); }
}
.course-body h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; }
.course-body h2:first-child { margin-top: 0; }
.lead-text { font-size: 1.06rem; }
.req-options { display: grid; gap: 0; }
.req-option { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.2rem; background: var(--iuk-tint); border-left: 4px solid var(--iuk-blue); border-radius: var(--radius-sm); }
.req-option i { color: var(--iuk-blue); font-size: 1.2rem; line-height: 1.4; }
.req-or { text-align: center; margin: .4rem 0; }
.req-or span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--iuk-muted); background: #fff; padding: .15rem .6rem; border: 1px solid var(--iuk-line); border-radius: 999px; }
.career-list, .campus-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .65rem; }
.career-list li, .campus-list li { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid var(--iuk-line); border-radius: var(--radius-sm); font-weight: 500; color: var(--iuk-ink); }
.career-list i, .campus-list i { color: var(--iuk-blue); }
.campus-list li { background: var(--iuk-tint); border-color: transparent; }
.mini-steps { padding-left: 1.2rem; display: grid; gap: .5rem; }
.mini-steps li::marker { color: var(--iuk-blue); font-weight: 700; }

.apply-card { position: sticky; top: 110px; padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--iuk-line); box-shadow: var(--shadow); border-top: 5px solid var(--iuk-gold); }
.apply-fee { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--iuk-ink); line-height: 1.1; }
.apply-fee small { white-space: nowrap; font-family: var(--font-body); font-size: .9rem; color: var(--iuk-muted); font-weight: 500; margin-left: .3rem; }
.apply-meta { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.apply-meta li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--iuk-line); font-size: .94rem; }
.apply-meta span { color: var(--iuk-muted); }
.apply-meta strong { color: var(--iuk-ink); text-align: right; }
.apply-help { display: grid; gap: .35rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--iuk-line); font-size: .92rem; }
.apply-help a { text-decoration: none; }

.mobile-apply { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--iuk-line); box-shadow: 0 -8px 24px rgba(15, 43, 59, .08); }
.mobile-apply small { display: block; color: var(--iuk-muted); font-size: .75rem; }
.mobile-apply strong { color: var(--iuk-ink); }
@media (max-width: 991.98px) { body:has(.mobile-apply) .site-footer { padding-bottom: 70px; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
