/* Edu Professionalist theme styles
   Palette from the logo: ink navy, steel blue, brass. */

:root {
	--ink: #13263a;
	--ink-2: #1d3954;
	--steel: #3d7aa8;
	--steel-soft: #e7f0f7;
	--brass: #c4923a;
	--brass-dk: #8f6a22;
	--brass-soft: #f6ecd9;
	--paper: #ffffff;
	--cloud: #f3f6f9;
	--line: #dce3ea;
	--text: #1b2a3a;
	--muted: #566779;
	--wa: #1faa59;

	--display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--r-sm: 8px;
	--r-md: 12px;
	--r-lg: 22px;
	--shadow: 0 1px 2px rgba(19, 38, 58, .06), 0 8px 24px rgba(19, 38, 58, .06);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brass-soft); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.muted { color: var(--muted); font-size: .95rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: 820px; }

/* Buttons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: #d4a24a; color: var(--ink); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17924b; color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn .icon { width: 1.15em; height: 1.15em; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: 2px; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(19,38,58,.05); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 108px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; }
.nav__list a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--r-sm); }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a { background: var(--cloud); }
.nav__list .sub-menu { list-style: none; }
.nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-call .icon { color: var(--brass); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (min-width: 1001px) {
	.nav__list > li { position: relative; }
	.nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease); }
	.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 1000px) {
	.header-call span { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header__actions .btn { display: none; }
	.site-header__actions { margin-left: auto; }
	/* backdrop-filter would trap the fixed menu inside the header */
	.site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav { position: fixed; inset: 76px 0 0 0; background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s linear .28s; margin: 0; }
	.nav.is-open { transform: none; visibility: visible; transition: transform .28s var(--ease); }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__list .sub-menu a { padding-left: 20px; font-size: 1rem; font-weight: 500; }
	.nav__mobile-extra { display: grid; gap: 14px; margin-top: 24px; }
	.nav__call { display: inline-flex; align-items: center; gap: 8px; justify-content: center; font-weight: 700; color: var(--ink); text-decoration: none; padding: 10px; }
	body.nav-open { overflow: hidden; }
	body.nav-open .wa-float { opacity: 0; pointer-events: none; }
}

/* Hero --------------------------------------------------------------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); background:
	radial-gradient(900px 420px at 100% 0%, var(--steel-soft), transparent 70%); }
.hero__in { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5.2vw, 4.1rem); max-width: 14ch; margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 54ch; margin-bottom: 28px; }

.finder { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); display: grid; gap: 20px; box-shadow: 0 24px 48px -24px rgba(19,38,58,.55); }
.finder__sentence { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.35; letter-spacing: -0.015em; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .4em; }
.finder__pick { position: relative; display: inline-flex; }
.finder__pick select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 3px solid var(--brass); color: var(--brass); font: inherit; padding: 0 1.05em 2px 0; cursor: pointer; border-radius: 0; max-width: 100%; }
.finder__pick select:hover { color: #e3b866; }
.finder__pick select option { color: var(--ink); font-family: var(--body); font-size: 1rem; }
.finder__pick::after { content: ""; position: absolute; right: .15em; top: 50%; width: .42em; height: .42em; border-right: 3px solid var(--brass); border-bottom: 3px solid var(--brass); transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.finder .btn { justify-self: start; }
.finder .btn .icon { transition: transform .2s var(--ease); }
.finder .btn:hover .icon { transform: translateX(3px); }
.hero__direct { margin: 18px 0 0; color: var(--muted); font-size: .98rem; }
.hero__direct a { font-weight: 700; color: var(--ink); }

.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: var(--r-lg); }
.hero__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--brass); border-radius: var(--r-lg); z-index: -1; }
.hero__note { position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow); display: grid; gap: 2px; max-width: 260px; }
.hero__note strong { font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.hero__note span { font-size: .9rem; color: var(--muted); }

@media (max-width: 1000px) {
	.hero__in { grid-template-columns: 1fr; }
	.hero__title { max-width: 18ch; }
	.hero__media { max-width: 520px; }
	.hero__media img { aspect-ratio: 1 / 1; }
	.hero__note { left: 12px; bottom: 12px; }
	.hero__media::before { inset: 12px -10px -10px 12px; }
}
@media (max-width: 520px) {
	.finder .btn { width: 100%; }
	.hero__media::before { display: none; }
	.hero__media { max-width: none; }
	.hero__media img { aspect-ratio: 5 / 6; }
}

/* Sections ----------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--cloud { background: var(--cloud); }
.section__head { max-width: 680px; margin-bottom: clamp(24px, 4vw, 40px); }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row > div { max-width: 640px; }
.section__head--row h2 { margin-bottom: .3em; }

/* Cities ------------------------------------------------------------- */
.cities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 3 / 4; background: var(--ink); isolation: isolate; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); z-index: -2; }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,38,58,0) 25%, rgba(19,38,58,.78) 55%, rgba(19,38,58,.95) 100%); z-index: -1; }
.city__name, .city__tag { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.city:hover img { transform: scale(1.04); }
.city:hover { color: #fff; }
.city__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 4px; }
.city__name { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.city__count { color: #e3b866; font-weight: 700; }
.city__tag { font-size: .95rem; color: rgba(255,255,255,.86); line-height: 1.45; margin-top: 4px; }
@media (max-width: 860px) {
	.cities__grid { grid-template-columns: 1fr; }
	.city { aspect-ratio: 4 / 3; }
}

/* Tabs --------------------------------------------------------------- */
.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.tabs__btn { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs__btn[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs__btn:not([aria-selected="true"]):hover { color: var(--ink); }
.featured__more { margin: 28px 0 0; }

/* College cards ------------------------------------------------------ */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cgrid { grid-template-columns: 1fr; } }
.ccard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, box-shadow .2s; }
.ccard:hover { border-color: #b9c7d4; box-shadow: var(--shadow); }
.ccard__link { text-decoration: none; color: inherit; }
.ccard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ccard__name { font-size: 1.15rem; margin: 0; }
.ccard:hover .ccard__name { color: var(--steel); }
.ccard__area, .ccard__rank { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: .95rem; color: var(--muted); }
.ccard__area .icon, .ccard__rank .icon { margin-top: .22em; color: var(--brass); }
.ccard__rank { color: var(--ink); font-weight: 600; }
.ccard__own { margin: 0; font-size: .9rem; color: var(--muted); }
.ccard__exams { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--ink); }
.ccard__exams span { color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8rem; font-weight: 700; color: var(--steel); background: var(--steel-soft); padding: 3px 10px; border-radius: 999px; }

/* Process ------------------------------------------------------------ */
.process__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.process__intro p { color: var(--muted); font-size: 1.08rem; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 72px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--brass); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; background: #fff; }
.steps li::after { content: ""; position: absolute; left: 23px; top: 46px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 6px 0 4px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .process__in { grid-template-columns: 1fr; } }

/* Streams ------------------------------------------------------------ */
.streams__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stream { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 5; background: var(--ink-2); isolation: isolate; }
.stream img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.stream::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(19,38,58,.9)); z-index: -1; }
.stream:hover img { transform: scale(1.04); }
.stream:hover { color: #fff; }
.stream__body { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; }
.stream__name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.stream__count { font-size: .9rem; color: rgba(255,255,255,.82); }
@media (max-width: 900px) { .streams__grid { grid-template-columns: repeat(2, 1fr); } }

/* Promise ------------------------------------------------------------ */
.promise__in { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); background:
	linear-gradient(135deg, var(--brass-soft), #fff 55%); }
.promise__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 16px; }
.promise h3 { font-size: 1.05rem; color: var(--muted); font-family: var(--body); font-weight: 700; margin-bottom: 10px; }
.ticks, .crosses { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--wa); margin-top: .25em; }
.crosses li { position: relative; padding-left: 28px; }
.crosses li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 2px; background: #c0533a; transform: rotate(45deg); box-shadow: 0 0 0 0 transparent; }
.crosses li::after { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 2px; background: #c0533a; transform: rotate(-45deg); }
@media (max-width: 720px) { .promise__cols { grid-template-columns: 1fr; } }

/* FAQ ---------------------------------------------------------------- */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { margin: 0 0 18px; color: var(--muted); max-width: 68ch; }

/* Enquiry band ------------------------------------------------------- */
.enquiry { background: var(--ink); color: #dfe7ef; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.enquiry::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(61,122,168,.45), transparent); pointer-events: none; }
.enquiry__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.enquiry h2 { color: #fff; max-width: 18ch; }
.enquiry__copy > p { font-size: 1.08rem; max-width: 52ch; }
.enquiry__list { list-style: none; display: grid; gap: 10px; margin: 24px 0 28px; }
.enquiry__list li { display: flex; gap: 10px; align-items: flex-start; }
.enquiry__list .icon { color: var(--brass); margin-top: .25em; }
.enquiry__direct { display: flex; flex-wrap: wrap; gap: 12px; }
.enquiry__card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.enquiry__card h3 { font-size: 1.4rem; margin-bottom: 16px; }
@media (max-width: 900px) { .enquiry__in { grid-template-columns: 1fr; } }

/* Forms -------------------------------------------------------------- */
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.lead-form--compact .lead-form__grid { grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 88px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(61,122,168,.15); }
.field input::placeholder, .field textarea::placeholder { color: #93a1af; }
.lead-form__note { margin: 12px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
.lead-form__msg { background: #fdf0ec; color: #8a3520; border-radius: var(--r-sm); padding: 10px 14px; font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .lead-form__grid { grid-template-columns: 1fr; } }

/* Page heads & breadcrumbs ------------------------------------------- */
.page-head { padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--cloud), #fff); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 22ch; }
.page-head__intro { max-width: 70ch; color: var(--muted); font-size: 1.08rem; }
.page-head__intro p:last-child { margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a7b3bf; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.post-meta { color: var(--muted); font-size: .95rem; margin: 0; }

/* Routes on city pages ----------------------------------------------- */
.routes { padding: 32px 0 0; }
.routes__title { font-size: 1.3rem; }
.routes__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.routes__list > div { border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--r-sm); padding: 14px 16px; }
.routes__list dt { font-weight: 800; color: var(--ink); }
.routes__list dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* Listing ------------------------------------------------------------ */
.listing { padding: 32px 0 clamp(56px, 8vw, 96px); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 16px; background: var(--cloud); border-radius: var(--r-md); margin-bottom: 18px; }
.filters .field { min-width: 180px; }
.filters .field--grow { flex: 1 1 220px; }
.listing__count { font-weight: 700; color: var(--ink); display: flex; gap: 14px; align-items: baseline; }
.listing__count a { font-weight: 600; font-size: .95rem; }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: var(--r-md); }
.empty p { color: var(--muted); }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* College page ------------------------------------------------------- */
.college-head { padding: clamp(28px, 4vw, 48px) 0 0; background: linear-gradient(180deg, var(--cloud), #fff 85%); }
.college-head h1 { max-width: 24ch; margin-bottom: .3em; }
.college-head__short { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.facts > div { padding: 14px 18px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: .82rem; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
@media (max-width: 700px) { .facts > div { border-right: 0; border-bottom: 1px solid var(--line); } .facts > div:last-child { border-bottom: 0; } }

.college { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); padding-top: 28px; padding-bottom: clamp(56px, 8vw, 96px); align-items: start; }
@media (max-width: 1000px) { .college { grid-template-columns: minmax(0, 1fr); } }
.jump { display: flex; gap: 6px; flex-wrap: wrap; position: sticky; top: 76px; z-index: 5; background: #fff; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
@media (max-width: 700px) { .jump { position: static; flex-wrap: nowrap; overflow-x: auto; } .jump a { white-space: nowrap; } }
.jump a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.jump a:hover { background: var(--cloud); }
.college__sec { padding: 28px 0; border-bottom: 1px solid var(--line); }
.college__sec:last-of-type { border-bottom: 0; }
.college__sec h3 { margin-top: 1.4em; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--ink); background: #fff; }
.routes-list { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; }
.routes-list li { padding: 12px 16px; background: var(--cloud); border-radius: var(--r-sm); border-left: 4px solid var(--steel); }
.college__side { position: sticky; top: 92px; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-card h2 { font-size: 1.3rem; margin: 0; }
.side-card > p { margin: 0; color: var(--muted); }
.side-card .lead-form__note { margin-bottom: 4px; }
@media (max-width: 1000px) { .college__side { position: static; } }
.sources { margin-top: 28px; padding: 18px 20px; background: var(--cloud); border-radius: var(--r-md); font-size: .95rem; }
.sources h2 { font-size: 1rem; font-family: var(--body); font-weight: 800; }
.sources ul { list-style: none; display: grid; gap: 6px; margin-bottom: 10px; }
.sources a { display: inline-flex; align-items: center; gap: 6px; }
.sources p { margin: 0; color: var(--muted); }

.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); background: #e62117; border-radius: 14px; }
.yt__play::after { content: ""; position: absolute; left: 29px; top: 15px; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.yt iframe { width: 100%; height: 100%; border: 0; }

/* Prose -------------------------------------------------------------- */
.prose { font-size: 1.05rem; }
.prose > * { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .97rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--cloud); color: var(--ink); }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--brass); color: var(--ink); }
.page-body { padding: 36px 0 clamp(48px, 6vw, 80px); }

/* Post cards --------------------------------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } }
.pcard__img { border-radius: var(--r-md); aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.pcard__title { font-size: 1.2rem; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--steel); }
.pcard p { color: var(--muted); }
.post-hero img { border-radius: var(--r-lg); margin-top: 28px; }

/* Thanks / 404 ------------------------------------------------------- */
.thanks { padding: clamp(56px, 10vw, 120px) 0; text-align: center; }
.thanks__mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e3f5ea; color: var(--wa); margin-bottom: 18px; }
.thanks__mark .icon { width: 32px; height: 32px; }
.thanks__lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin: 0 auto 1em; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 18px 0 28px; }

/* Footer ------------------------------------------------------------- */
.site-footer { background: #0d1c2c; color: #b8c5d2; padding: 64px 0 0; font-size: .97rem; }
.site-footer a { color: #e2e9f0; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { width: 120px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__offices { display: flex; gap: 8px; align-items: flex-start; }
.site-footer__offices .icon { color: var(--brass); margin-top: .25em; }
.site-footer__h { font-family: var(--body); font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__contact .icon { color: var(--brass); }
.site-footer__hours { margin-top: 12px; font-size: .9rem; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.1); padding: 20px var(--gutter) 28px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .88rem; }
.site-footer__base p { margin: 0; max-width: 80ch; }
.site-footer__links { list-style: none; display: flex !important; gap: 18px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp float ----------------------------------------------------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31,170,89,.35); transition: transform .2s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* Hero additions ----------------------------------------------------- */
.stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 24px 0 0; }
.stats > div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: .85rem; color: var(--muted); font-weight: 600; }
.stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; }
.hero__note .link-arrow { margin-top: 6px; justify-self: start; background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0 0 2px; cursor: pointer; font-size: .92rem; }
.icon--flip { transform: scaleX(-1); }

/* Ticker ------------------------------------------------------------- */
.ticker { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { list-style: none; display: flex; }
.ticker__list li { display: flex; align-items: center; }
.ticker__list li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin: 0 26px; }
.ticker__list a { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; white-space: nowrap; letter-spacing: -0.01em; }
.ticker__list a:hover { color: var(--steel); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* More cities -------------------------------------------------------- */
.more-cities { margin-top: 36px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.more-cities h3 { margin: 0; font-size: 1.1rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s, background .2s; }
.chips a:hover { border-color: var(--ink); background: var(--cloud); }
.chips span { font-size: .8rem; color: var(--steel); background: var(--steel-soft); border-radius: 999px; padding: 1px 8px; }

/* Process image ------------------------------------------------------ */
.process__img { margin: 28px 0 0; }
.process__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

/* Reviews ------------------------------------------------------------ */
.reviews__nav { display: flex; gap: 8px; }
.reviews__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s; }
.reviews__btn:hover { border-color: var(--ink); background: var(--cloud); }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 36px) / 3)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.review { scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.review::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--brass-soft); }
.review__stars { color: var(--brass); letter-spacing: 2px; }
.review blockquote { margin: 0; color: var(--text); flex: 1; }
.review blockquote p:last-child { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; color: var(--ink); }
.review figcaption small { display: block; color: var(--muted); font-size: .88rem; }
.review__photo, .review__initial { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.review__initial { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; }
@media (max-width: 640px) { .reviews__track { grid-auto-columns: 86%; } }

/* College page additions --------------------------------------------- */
.college-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.exam-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 14px; margin-bottom: 12px; }
.exam-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .2s var(--ease); }
.exam-card:hover { border-color: #b9c7d4; transform: translateY(-2px); }
.exam-card h3 { margin: 0; font-size: 1.1rem; }
.exam-card__by { margin: 0; font-size: .88rem; color: var(--muted); }
.exam-card dl { margin: 6px 0 0; display: grid; gap: 8px; }
.exam-card dt { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; color: var(--steel); }
.exam-card dd { margin: 2px 0 0; font-size: .95rem; }
.exam-card__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; }
.ticks--cols { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.ccard__brochure { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; cursor: pointer; transition: border-color .2s, background .2s; }
.ccard__brochure:hover { border-color: var(--brass); background: var(--brass-soft); }
.exam-guide { padding: 24px var(--gutter) clamp(48px, 6vw, 80px); }
.exam-guide__group { padding-top: 28px; }
.jump--static { position: static; background: transparent; border: 0; padding: 18px 0 0; margin: 0; }

/* Popup -------------------------------------------------------------- */
.modal { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; margin: 0; overflow: auto; }
.modal::backdrop { background: rgba(13, 28, 44, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { display: grid; place-items: center; }
.modal__panel { position: relative; width: min(440px, calc(100% - 32px)); margin: 24px auto; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
.modal__panel::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--ink), var(--steel) 60%, var(--brass)); }
.modal[open] .modal__panel { animation: pop .32s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__body { padding: 26px 28px 24px; }
.modal__close { position: absolute; right: 12px; top: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cloud); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.modal__close:hover { background: var(--line); }
.modal__kicker { margin: 0 0 6px; font-size: .85rem; font-weight: 700; color: var(--brass-dk); }
.modal__title { font-size: 1.55rem; margin: 0 40px 6px 0; }
.modal__lead { color: var(--muted); margin-bottom: 18px; font-size: .98rem; }
.modal__form { display: grid; gap: 12px; }
.mrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mfield { position: relative; }
.mfield input, .mfield select { width: 100%; height: 54px; padding: 22px 14px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.mfield--select select { padding: 0 34px 0 14px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.mfield label { position: absolute; left: 15px; top: 17px; color: var(--muted); pointer-events: none; transition: transform .15s var(--ease), font-size .15s, color .15s; transform-origin: left top; }
.mfield input:focus + label, .mfield input:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: .75rem; color: var(--steel); font-weight: 700; }
.mfield input:focus, .mfield select:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(61,122,168,.15); }
.modal__error { margin: 0; color: #8a3520; background: #fdf0ec; border-radius: 8px; padding: 8px 12px; font-size: .92rem; }
.modal__fine { margin: 2px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.modal__done { text-align: center; display: grid; gap: 12px; justify-items: center; }
.modal__done .btn { width: 100%; }
.modal__done .modal__title { margin: 0; }
body.modal-open { overflow: hidden; }
.modal [hidden] { display: none !important; }

/* Motion ------------------------------------------------------------- */
.anim-up { animation: up .7s var(--ease) both; animation-delay: var(--d, 0s); }
.anim-fade { animation: fade .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.finder__pick select { transition: color .2s; }
.ccard { transition: border-color .2s, box-shadow .2s, transform .25s var(--ease); }
.ccard:hover { transform: translateY(-3px); }

/* Motion preference -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.ticker__track { animation: none; }
}
