/*
Theme Name: UniMed Landing
Description: Landing page theme for UniMed, styled after unimedeu.com — light blue, professional, student-friendly. Full section set with testimonials carousel, FAQ, stats and booking CTA.
Author: UniMed
Version: 2.1
*/

:root {
	--blue-primary: #2f6fed;
	--blue-dark: #14356b;
	--blue-soft: #eaf2ff;
	--blue-mid: #dceaff;
	--text-main: #1f2937;
	--text-muted: #5b6b82;
	--white: #ffffff;
	--radius: 14px;
	--shadow-sm: 0 6px 16px rgba(20,53,107,0.06);
	--shadow-md: 0 12px 28px rgba(20,53,107,0.10);
	--header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
	color: var(--text-main);
	background: var(--white);
	line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}
.container-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	text-align: center;
	padding: 13px 28px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 15px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
	background: var(--blue-primary);
	color: var(--white);
	box-shadow: 0 6px 16px rgba(47,111,237,0.28);
}
.btn-primary:hover { background: #2559c9; }
.btn-ghost {
	background: transparent;
	color: var(--white);
	border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,0.9);
	backdrop-filter: saturate(180%) blur(8px);
	transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled {
	box-shadow: 0 2px 16px rgba(20,53,107,0.10);
	background: rgba(255,255,255,0.98);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	position: relative;
}
.nav-toggle { display: none; }
.logo {
	font-size: 23px;
	font-weight: 800;
	color: var(--blue-dark);
	letter-spacing: -0.5px;
	white-space: nowrap;
}
.logo span { color: var(--blue-primary); }
.logo-mark {
	width: 60px; height: 60px;
	object-fit: contain;
	vertical-align: middle;
	margin-right: 2px;
	display: inline-block;
}
.main-nav ul {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}
.main-nav a {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-main);
	position: relative;
}
.main-nav a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -6px;
	width: 0; height: 2px;
	background: var(--blue-primary);
	transition: width .2s ease;
}
.main-nav a:hover { color: var(--blue-primary); }
.main-nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: var(--white);
	padding: 120px 0 110px;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(20,53,107,0.92) 0%, rgba(20,53,107,0.72) 45%, rgba(47,111,237,0.55) 100%);
}
.hero-content {
	position: relative;
	max-width: 720px;
}
.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	background: rgba(255,255,255,0.16);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 20px;
}
.hero h1 {
	font-size: 48px;
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 20px;
}
.hero p {
	font-size: 19px;
	color: #e8eefb;
	margin: 0 0 32px;
	max-width: 620px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--blue-soft); }
.section h2 {
	font-size: 34px;
	font-weight: 800;
	color: var(--blue-dark);
	text-align: center;
	margin: 0 0 12px;
	letter-spacing: -0.5px;
}
.section .lead {
	text-align: center;
	color: var(--text-muted);
	max-width: 660px;
	margin: 0 auto 50px;
	font-size: 17px;
}
.section .lead em { color: var(--blue-primary); font-style: normal; }

/* ---------- Grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }

/* Program cards with photos */
.card {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img {
	aspect-ratio: 3 / 2;
	overflow: hidden;
}
.card-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 20px 22px 26px; text-align: center; }
.card-body h3 { margin: 0 0 8px; font-size: 19px; color: var(--blue-dark); }
.card-body p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* Benefits */
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item .check {
	flex: 0 0 30px; height: 30px; width: 30px;
	border-radius: 50%;
	background: var(--blue-primary);
	color: var(--white);
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700;
}
.why-item h4 { margin: 0 0 4px; font-size: 16px; color: var(--text-main); }
.why-item p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- How it works: stepper ---------- */
.stepper {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	position: relative;
}
.stepper::before {
	content: "";
	position: absolute;
	top: 26px; left: 10%; right: 10%;
	height: 2px;
	background: var(--blue-mid);
	z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; padding: 0 6px; }
.step .num {
	width: 52px; height: 52px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--blue-primary);
	color: var(--white);
	font-weight: 700; font-size: 20px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 14px rgba(47,111,237,0.30);
	border: 4px solid var(--white);
}
.step h4 { font-size: 15px; margin: 0 0 6px; color: var(--blue-dark); }
.step p { font-size: 13px; color: var(--text-muted); margin: 0; }
.step-time {
	display: inline-block;
	margin: 0 auto 8px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--blue-soft);
	color: var(--blue-primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
.steps-note {
	text-align: center;
	margin-top: 26px;
	font-size: 12px;
	color: var(--text-muted);
	font-style: italic;
}
.services-tagline {
	text-align: center; margin-top: 46px;
	font-size: 18px; font-weight: 600; color: var(--blue-dark);
}

/* Student Outcomes — deliberately a coloured band, not white cards, to break the section rhythm. */
.outcomes-band {
	background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
	color: var(--white);
	padding: 74px 0;
}
.outcomes-head {
	max-width: 680px;
	margin: 0 auto 40px;
	text-align: center;
}
.outcomes-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}
.outcomes-head .lead {
	margin: 0;
	font-size: 20px;
	line-height: 1.5;
	color: var(--white);
}
.outcomes-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.outcome {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	padding: 20px;
}
.outcome-ic { font-size: 28px; line-height: 1; flex-shrink: 0; }
.outcome-txt h4 { margin: 0 0 6px; font-size: 15px; color: var(--white); }
.outcome-txt p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.82); line-height: 1.55; }
@media (max-width: 900px) {
	.outcomes-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
	.outcomes-row { grid-template-columns: 1fr; }
	.outcomes-head .lead { font-size: 17px; }
}

/* Programs -> Universities hook */
.programs-cta {
	text-align: center;
	margin-top: 40px;
}
.programs-cta p {
	margin: 0 0 18px;
	font-size: 17px;
	color: var(--text-muted);
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Testimonials carousel ---------- */
.carousel { position: relative; max-width: 760px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); }
.carousel-track {
	display: flex;
	transition: transform .45s ease;
}
.carousel-slide { min-width: 100%; padding: 6px; }
.review {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: var(--radius);
	padding: 38px 40px;
	margin: 0;
	box-shadow: var(--shadow-sm);
	text-align: center;
}
.review > p {
	font-size: 19px;
	color: var(--text-main);
	line-height: 1.6;
	margin: 0 0 24px;
	font-style: italic;
}
.review-author {
	display: flex; align-items: center; justify-content: center;
	gap: 14px; text-align: left;
}
.review-avatar {
	width: 52px; height: 52px;
	border-radius: 50%;
	object-fit: cover;
}
.review-author span { font-size: 14px; color: var(--text-muted); }
.review-author strong { color: var(--blue-dark); }

.carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid #e0e8f4;
	background: var(--white);
	color: var(--blue-dark);
	font-size: 24px; line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: background .15s ease, color .15s ease;
	z-index: 2;
}
.carousel-arrow:hover { background: var(--blue-primary); color: var(--white); }
.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }
.carousel-dots {
	display: flex; justify-content: center; gap: 10px;
	margin-top: 24px;
}
.carousel-dot {
	width: 10px; height: 10px; padding: 0;
	border-radius: 50%;
	border: none;
	background: var(--blue-mid);
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.carousel-dot.is-active { background: var(--blue-primary); transform: scale(1.25); }

/* ---------- Why choose us ---------- */
.features .feature {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: var(--radius);
	padding: 28px 22px;
	text-align: center;
	transition: transform .18s ease, box-shadow .18s ease;
}
.features .feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-ic {
	width: 58px; height: 58px;
	margin: 0 auto 16px;
	border-radius: 16px;
	background: var(--blue-soft);
	display: flex; align-items: center; justify-content: center;
	font-size: 26px;
}
.feature h4 { margin: 0 0 8px; font-size: 17px; color: var(--blue-dark); }
.feature p { margin: 0; font-size: 14px; color: var(--text-muted); }

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 54px;
	background: var(--blue-dark);
	border-radius: var(--radius);
	padding: 40px 24px;
}
.stat { text-align: center; color: var(--white); }
.stat-num {
	display: block;
	font-size: 38px; font-weight: 800;
	color: var(--white);
	line-height: 1.1;
}
.stat-label { font-size: 14px; color: #c9d8f2; }

/* ---------- FAQ ---------- */
/* Cal.com inline booking embed (Booking page) */
.cal-embed {
	width: 100%;
	min-height: 680px;
	margin-top: 8px;
	border-radius: 14px;
	overflow: hidden;
}
@media (max-width: 620px) {
	.cal-embed { min-height: 560px; }
}
.cal-note {
	margin: 0 0 14px;
	padding: 10px 14px;
	background: var(--blue-soft);
	border-radius: 10px;
	color: var(--blue-dark);
	font-size: 13px;
	text-align: center;
}
/* Google appointment-scheduling embed */
.gembed {
	width: 100%;
	border: 0;
	border-radius: 14px;
	background: var(--white);
	display: block;
}
/* Sized to the Google widget so it shows fully without the iframe's scrollbar or empty space. */
.gembed-cal { height: 980px; }
@media (max-width: 620px) {
	.gembed-cal { height: 1180px; }
}

/* Long-form narrative (Our Story / Spain) */
.story-narrative h2 { text-align: center; }
.story-narrative > p {
	margin: 0 0 16px;
	line-height: 1.75;
	font-size: 16px;
	color: var(--text-muted);
	text-align: left;
}
.story-narrative .spain-actions { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Mission & Vision cards */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mv-card {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-left: 4px solid var(--blue-primary);
	border-radius: 14px;
	padding: 28px 30px;
	box-shadow: 0 6px 20px rgba(20, 53, 107, 0.05);
}
.mv-eyebrow {
	display: block;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--blue-primary);
}
.mv-card p { margin: 0; color: var(--text-muted); line-height: 1.7; font-size: 16px; }
@media (max-width: 760px) {
	.mv-grid { grid-template-columns: 1fr; }
}

/* Consultation nudge — slide-in toast, bottom-left (matches Bulgaria bubble palette) */
.consult-nudge {
	position: fixed;
	left: 22px; bottom: 22px;
	z-index: 65;
	width: 300px;
	max-width: calc(100vw - 44px);
	padding: 20px 22px;
	background: linear-gradient(135deg, var(--blue-dark) 0%, #1c4a9e 100%);
	color: var(--white);
	border-radius: 16px;
	box-shadow: 0 18px 46px rgba(20, 53, 107, 0.34);
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.consult-nudge.is-shown { opacity: 1; visibility: visible; transform: none; }
.consult-nudge .cn-title { display: block; font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.consult-nudge .cn-text { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, 0.85); line-height: 1.5; }
.consult-nudge .btn { width: 100%; }
.consult-nudge-close {
	position: absolute; top: 8px; right: 10px;
	width: 24px; height: 24px;
	border: none; background: rgba(255, 255, 255, 0.16);
	color: #fff; font-size: 16px; line-height: 1;
	border-radius: 50%; cursor: pointer;
	transition: background .15s ease;
}
.consult-nudge-close:hover { background: rgba(255, 255, 255, 0.32); }
@media (max-width: 520px) {
	.consult-nudge { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.consult-nudge { transition: opacity .01s linear; transform: none; }
}

.faq { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
}
/* Question = a clickable button */
.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 22px;
	font-weight: 700;
	font-size: 15px;
	color: var(--blue-dark);
	background: var(--white);
	border: 1.5px solid #dbe6f7;
	border-radius: 14px;
	box-shadow: 0 3px 10px rgba(20, 53, 107, 0.06);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.faq-item summary:hover { border-color: var(--blue-primary); box-shadow: 0 6px 16px rgba(47, 111, 237, 0.12); }
.faq-item[open] summary { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue-primary); outline-offset: 2px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	flex-shrink: 0;
	width: 26px; height: 26px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--blue-soft);
	color: var(--blue-primary);
	font-size: 20px; line-height: 1;
	transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq-item[open] summary::after { transform: rotate(135deg); background: rgba(255, 255, 255, 0.25); color: var(--white); }
/* Answer = cute bubble that pops out (matches the Bulgaria countdown popup) */
.faq-body {
	position: relative;
	margin-top: 14px;
	padding: 18px 22px;
	background: linear-gradient(135deg, var(--blue-dark) 0%, #1c4a9e 100%);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(20, 53, 107, 0.28);
	animation: cdpop .35s ease both;
}
.faq-body::before {
	content: "";
	position: absolute;
	top: -7px; left: 34px;
	width: 15px; height: 15px;
	background: var(--blue-dark);
	transform: rotate(45deg);
	border-radius: 3px;
}
.faq-body p { margin: 0; color: #eaf2ff; font-size: 15px; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) {
	.faq-item summary, .faq-item summary::after { transition: none; }
	.faq-body { animation: none; }
}

/* ---------- CTA / booking ---------- */
.cta-band {
	background: linear-gradient(120deg, var(--blue-dark) 0%, #1c4a9e 100%);
	color: var(--white);
	text-align: center;
	padding: 74px 0;
}
.cta-band h2 { color: var(--white); font-size: 34px; margin: 0 0 12px; }
.cta-band > .container > p { color: #c9d8f2; max-width: 560px; margin: 0 auto 30px; }
.booking-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	max-width: 760px;
	margin: 0 auto;
}
.booking-form .field { flex: 1 1 200px; }
.booking-form input,
.booking-form select {
	width: 100%;
	padding: 13px 16px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-size: 15px;
	background: var(--white);
	color: var(--text-main);
}
.booking-form .btn { flex: 0 0 auto; }
.cta-alt { margin-top: 20px; font-size: 14px; color: #c9d8f2; }
.cta-alt a { color: var(--white); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #0f2a57; color: #c4d3ec; }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding: 56px 24px 40px;
}
.logo-light { color: var(--white); }
.footer-about p { font-size: 14px; color: #a9bcda; margin: 14px 0 0; max-width: 320px; }
.footer-contact a { color: var(--white); }
.footer-col h5 {
	color: var(--white);
	font-size: 15px;
	margin: 0 0 16px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: #a9bcda; }
.footer-col ul a:hover { color: var(--white); }
.social { display: flex; gap: 10px; margin-bottom: 20px; }
.social-link {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	display: flex; align-items: center; justify-content: center;
	color: var(--white);
	font-weight: 700; font-size: 14px;
	transition: background .15s ease;
}
.social-link:hover { background: var(--blue-primary); }
.footer-legal {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 20px 0;
	font-size: 13px;
	color: #8ea6cc;
}
.footer-legal .container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}
.footer-legal a { color: #a9bcda; }
.footer-legal a:hover { color: var(--white); }

/* ---------- Nav active state + hamburger ---------- */
.main-nav a.is-active { color: var(--blue-primary); }
.main-nav a.is-active::after { width: 100%; }
a.logo { text-decoration: none; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px; height: 42px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--blue-dark);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Nav dropdown ---------- */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
.caret { font-size: 10px; transition: transform .2s ease; }
.main-nav .dropdown-menu,
.lang-switcher .dropdown-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	min-width: 170px;
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: 12px;
	box-shadow: 0 14px 30px rgba(20,53,107,0.14);
	padding: 6px;
	list-style: none;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 60;
}
.main-nav .dropdown-menu::before,
.lang-switcher .dropdown-menu::before {
	content: "";
	position: absolute;
	top: -6px; left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 12px; height: 12px;
	background: var(--white);
	border-left: 1px solid #e7edf6;
	border-top: 1px solid #e7edf6;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .caret,
.has-dropdown.open .caret { transform: rotate(180deg); }
.dropdown-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-main);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--blue-soft); color: var(--blue-primary); }
.dropdown-menu a.is-active { background: var(--blue-soft); color: var(--blue-primary); }
.is-active-parent > .dropdown-toggle { color: var(--blue-primary); }
.is-active-parent > .dropdown-toggle::after { width: 100%; }

/* Language switcher */
.lang-switcher { margin-left: 4px; }
.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-main);
	transition: background .15s ease, color .15s ease;
}
.lang-toggle:hover { background: var(--blue-soft); color: var(--blue-primary); }
.lang-globe { font-size: 15px; line-height: 1; }
.lang-code { letter-spacing: .3px; }
.lang-toggle .caret { font-size: 10px; }
.lang-toggle::after { display: none; }
.lang-switcher .dropdown-menu { left: auto; right: 0; transform: translateY(8px); min-width: 150px; }
.lang-switcher .dropdown-menu::before { left: auto; right: 22px; transform: rotate(45deg); }
.lang-switcher:hover .dropdown-menu,
.lang-switcher:focus-within .dropdown-menu,
.lang-switcher.open .dropdown-menu { transform: translateY(0); }
.lang-menu a { display: block; }

/* ---------- Tab toggle (Bulgaria: Benefits | Universities) ---------- */
.tabs {
	position: relative;
	display: flex;
	width: fit-content;
	gap: 4px;
	margin: 0 auto 44px;
	padding: 5px;
	background: var(--blue-soft);
	border-radius: 999px;
	border: 1px solid #dbe6f6;
}
/* "Click here" nudge — badge to the right of the tabs, arrow pointing at Benefits */
.tab-hint {
	position: absolute; left: calc(100% + 16px); top: 50%;
	transform: translateY(-50%);
	white-space: nowrap; text-align: left;
	padding: 8px 13px; border-radius: 10px;
	background: var(--blue-dark); color: #fff;
	font-size: 12.5px; font-weight: 700; line-height: 1.3;
	box-shadow: 0 10px 24px rgba(20,53,107,0.28);
	animation: hintbob 1.5s ease-in-out infinite;
	pointer-events: none; z-index: 3;
}
.tab-hint::before {
	content: ""; position: absolute; right: 100%; top: 50%;
	transform: translateY(-50%);
	border: 7px solid transparent; border-right-color: var(--blue-dark);
}
@keyframes hintbob {
	0%, 100% { transform: translateY(-50%) translateX(0); }
	50% { transform: translateY(-50%) translateX(-4px); }
}
.tabs.hint-off .tab-hint { display: none; }
@media (max-width: 620px) {
	/* stack below on narrow screens (no room to the side) */
	.tab-hint {
		left: auto; right: 0; top: calc(100% + 12px); transform: none;
		white-space: normal; text-align: center; max-width: 150px;
		animation: none;
	}
	.tab-hint::before { right: 26px; top: auto; bottom: 100%; transform: none; border: 7px solid transparent; border-bottom-color: var(--blue-dark); }
}
.tab {
	appearance: none;
	border: none;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-muted);
	padding: 11px 26px;
	border-radius: 999px;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.tab:hover { color: var(--blue-dark); }
.tab.is-active {
	background: var(--blue-primary);
	color: var(--white);
	box-shadow: 0 6px 14px rgba(47,111,237,0.28);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: msfade .35s ease; }

/* ---------- Benefits: reasons + advisor (side by side) ---------- */
.why-split {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 46px;
	align-items: start;
}
.reason-list { list-style: none; counter-reset: none; margin: 0; padding: 0; }
.reason-list li {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 22px 0;
	border-bottom: 1px solid #dbe6f6;
}
.reason-list li:first-child { padding-top: 0; }
.reason-list li:last-child { border-bottom: none; padding-bottom: 0; }
.reason-idx {
	flex: 0 0 auto;
	font-size: 26px;
	font-weight: 800;
	color: var(--blue-mid);
	line-height: 1;
	letter-spacing: -1px;
	min-width: 40px;
	transition: color .2s ease;
}
.reason-list li:hover .reason-idx { color: var(--blue-primary); }
.reason-body h4 { margin: 0 0 5px; font-size: 18px; color: var(--blue-dark); }
.reason-body p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.55; }

.advisor-card {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	position: sticky;
	top: 96px;
}
.advisor-img {
	height: 170px;
	background-size: cover;
	background-position: center;
}
.advisor-body { padding: 24px 24px 28px; }
.advisor-badge {
	display: inline-block;
	font-size: 12px; font-weight: 700;
	letter-spacing: .4px; text-transform: uppercase;
	color: var(--blue-primary);
	background: var(--blue-soft);
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.advisor-body h3 { margin: 0 0 8px; font-size: 21px; color: var(--blue-dark); }
.advisor-body p { margin: 0 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.advisor-btn { width: 100%; }

/* ---------- University profile cards ---------- */
.uni-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.uni-profile {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	min-height: 380px;
	display: flex;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.uni-profile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.up-bg {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.uni-profile:hover .up-bg { transform: scale(1.06); }
.up-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15,42,87,0.05) 0%, rgba(15,42,87,0.35) 45%, rgba(15,42,87,0.92) 100%);
}
.up-city {
	position: absolute;
	top: 16px; left: 16px;
	z-index: 2;
	background: rgba(255,255,255,0.92);
	color: var(--blue-dark);
	font-size: 13px; font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
	backdrop-filter: blur(2px);
}
.up-overlay {
	position: relative;
	z-index: 2;
	margin-top: auto;
	padding: 22px 22px 24px;
	color: var(--white);
	width: 100%;
}
.up-overlay h4 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; color: var(--white); }
.up-summary {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255,255,255,0.88);
}
.up-btn {
	width: 100%;
	border-radius: 999px;
	background: var(--white);
	color: var(--blue-dark);
	box-shadow: none;
}
.up-btn:hover { background: var(--blue-soft); color: var(--blue-dark); }

.spain-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.spain-actions .btn-ghost-dark { border-color: #cdd9ec; }

/* ---------- University modal ---------- */
body.modal-lock { overflow: hidden; }
.uni-modal[hidden] { display: none; }
.uni-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.uni-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15,42,87,0.55);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .22s ease;
}
.uni-modal.is-open .uni-modal-backdrop { opacity: 1; }
.uni-modal-panel {
	position: relative;
	background: var(--white);
	border-radius: 20px;
	max-width: 620px;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	box-shadow: 0 30px 70px rgba(15,42,87,0.35);
	transform: translateY(24px) scale(.98);
	opacity: 0;
	transition: transform .24s ease, opacity .24s ease;
}
.uni-modal.is-open .uni-modal-panel { transform: none; opacity: 1; }
.uni-modal-close {
	position: absolute;
	top: 14px; right: 14px;
	width: 38px; height: 38px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.9);
	color: var(--blue-dark);
	font-size: 24px; line-height: 1;
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 4px 12px rgba(20,53,107,0.18);
	transition: background .15s ease;
}
.uni-modal-close:hover { background: var(--white); color: var(--blue-primary); }
.uni-modal-media {
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.uni-modal-media .up-city { top: auto; left: 20px; bottom: 16px; }
.uni-modal-body { padding: 26px 30px 30px; }
.uni-modal-body h3 { margin: 0 0 4px; font-size: 24px; color: var(--blue-dark); }
.uni-modal-sub { display: block; font-size: 13px; color: var(--blue-primary); font-weight: 600; margin-bottom: 16px; }
.uni-modal-body > p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin: 0 0 22px; }
.uni-modal-facts {
	display: grid;
	gap: 16px;
	background: var(--blue-soft);
	border-radius: 14px;
	padding: 20px 22px;
	margin-bottom: 24px;
}
.fact-label {
	display: block;
	font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .5px;
	color: var(--blue-primary);
	margin-bottom: 6px;
}
.fact ul { margin: 0; padding-left: 18px; }
.fact ul li { font-size: 14px; color: var(--text-main); font-weight: 600; margin-bottom: 4px; }
.fact > p { margin: 0; font-size: 14px; color: var(--text-muted); }
.uni-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.uni-modal-actions .btn { flex: 1 1 auto; text-align: center; }
.uni-modal-note { margin: 14px 0 0; font-size: 12px; color: #9aa9bf; text-align: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative;
	color: var(--white);
	padding: 96px 0 76px;
	overflow: hidden;
	text-align: center;
}
.page-hero-sm { padding: 78px 0 62px; }
.page-hero .hero-content { max-width: 720px; margin: 0 auto; }
.page-hero h1 { font-size: 42px; font-weight: 800; margin: 0 0 14px; line-height: 1.14; }
.page-hero p { font-size: 18px; color: #e8eefb; margin: 0; }
.hero-overlay-solid { background: linear-gradient(120deg, var(--blue-dark) 0%, #1c4a9e 100%); }

.page-hero-tall { padding: 130px 0 108px; }
.page-hero-tall h1 { font-size: 50px; max-width: 780px; margin-left: auto; margin-right: auto; }

/* ---------- Stats strip (under hero) ---------- */
.stats-strip {
	background: var(--blue-primary);
	color: var(--white);
}
.stats-strip-inner {
	display: flex;
	align-items: stretch;
	gap: 22px;
	padding: 26px 24px;
	flex-wrap: wrap;
}
.stats-group {
	flex: 1 1 420px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-content: center;
}
.ss-item { text-align: center; }
.ss-num { display: block; font-size: 34px; font-weight: 800; line-height: 1.1; }
.ss-label { font-size: 14px; color: #dbe7ff; }

/* Inline countdown box inside the stats strip (darker blue) */
.stats-cd {
	flex: 0 0 auto;
	min-width: 300px;
	background: linear-gradient(135deg, var(--blue-dark) 0%, #1c4a9e 100%);
	border-radius: 16px;
	padding: 16px 22px 18px;
	box-shadow: 0 12px 30px rgba(20,53,107,0.28);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	text-align: center;
}
.stats-cd .section-tag { margin: 0; color: #bcd2f7; }
.stats-cd .cb-title { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.2; }
.stats-cd .countdown-clock { margin: 2px 0 0; gap: 6px; align-items: center; }
.stats-cd .cd-unit { min-width: 50px; padding: 7px 6px 6px; border-radius: 10px; }
.stats-cd .cd-num { font-size: 23px; }
.stats-cd .cd-lbl { font-size: 10px; }
.stats-cd .cd-sep { font-size: 18px; color: rgba(255,255,255,0.55); }
.stats-cd .countdown-deadline { margin: 0; font-size: 12px; color: #bcd2f7; }
.stats-cd .countdown-expired { margin: 0; font-size: 13px; color: #ffd7d7; }
.stats-cd .countdown-cta.btn-primary {
	margin-top: 2px; padding: 8px 18px; font-size: 13px;
	background: #fff; color: var(--blue-dark);
}
.stats-cd .countdown-cta.btn-primary:hover { background: #eaf2ff; }
@media (max-width: 900px) {
	.stats-group { flex: 1 1 100%; }
	.stats-cd { flex: 1 1 100%; min-width: 0; }
}
@media (max-width: 520px) {
	.stats-group { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Feature band (full-width image + quote) ---------- */
.feature-band {
	position: relative;
	color: var(--white);
	padding: 92px 0;
	overflow: hidden;
	text-align: center;
}
.feature-band-bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
}
.feature-band-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(120deg, rgba(20,53,107,0.90), rgba(28,74,158,0.78));
}
.feature-band-content { position: relative; max-width: 760px; }
.feature-band-content h2 {
	color: var(--white);
	font-size: 30px;
	font-style: italic;
	font-weight: 700;
	margin: 0 0 14px;
	line-height: 1.35;
}
.feature-band-content p { color: #dbe7ff; font-size: 17px; margin: 0; }

/* ---------- Tick list ---------- */
.tick-list { list-style: none; margin: 22px 0 0; padding: 0; }
.tick-list li {
	position: relative;
	padding: 8px 0 8px 34px;
	color: var(--text-main);
	font-size: 15px;
}
.tick-list li::before {
	content: "✓";
	position: absolute; left: 0; top: 7px;
	width: 22px; height: 22px;
	background: var(--blue-primary);
	color: var(--white);
	border-radius: 50%;
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}

/* ---------- Process split (image + numbered list) ---------- */
.process-split {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 48px;
	align-items: center;
}
.process-img img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	object-fit: cover;
}
.process-list { list-style: none; counter-reset: none; margin: 0; padding: 0; }
.process-list li {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid #dbe6f6;
}
.process-list li:last-child { border-bottom: none; }
.pl-num {
	flex: 0 0 40px;
	width: 40px; height: 40px;
	border-radius: 12px;
	background: var(--blue-primary);
	color: var(--white);
	font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 14px rgba(47,111,237,0.30);
}
.process-list h4 { margin: 0 0 3px; font-size: 16px; color: var(--blue-dark); }
.process-list p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- Team grid ---------- */
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.team-member {
	margin: 0;
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: 16px;
	overflow: hidden;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.team-member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-member img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.team-member figcaption { padding: 18px 16px 22px; }
.team-member strong { display: block; color: var(--blue-dark); font-size: 17px; }
.team-member span { display: block; color: var(--blue-primary); font-size: 14px; margin-top: 4px; }

/* ---------- Section tag + left headings ---------- */
.section-tag {
	display: inline-block;
	font-size: 13px; font-weight: 700;
	letter-spacing: 0.6px; text-transform: uppercase;
	color: var(--blue-primary);
	margin-bottom: 12px;
}
.section h2.left, h2.left { text-align: left; }
.center-block { text-align: center; }

/* ---------- About: mission split ---------- */
.about-split {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 54px;
	align-items: center;
}
.about-split-text h2 { margin: 0 0 18px; }
.about-split-text p { color: var(--text-muted); font-size: 16px; margin: 0 0 16px; }
.about-split-text .btn { margin-top: 10px; }
.about-split-img img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	object-fit: cover;
}
.who-lead { font-size: 18px; color: var(--text-muted); margin: 0 0 26px; }

/* ---------- Why-choose: slick numbered cards ---------- */
.center-tag { display: block; text-align: center; }
.wc-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin-top: 8px;
}
.wc-card {
	position: relative;
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: 16px;
	padding: 30px 22px 26px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wc-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--blue-primary), #6ea0ff);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.wc-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
	border-color: #d3e1f7;
}
.wc-card:hover::before { transform: scaleX(1); }
.wc-num {
	display: block;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	color: var(--blue-mid);
	letter-spacing: -1px;
	margin-bottom: 16px;
	transition: color .2s ease;
}
.wc-card:hover .wc-num { color: var(--blue-primary); }
.wc-card h4 { margin: 0 0 8px; font-size: 16px; color: var(--blue-dark); }
.wc-card p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.55; }

.tagline-banner {
	position: relative;
	text-align: center;
	margin: 48px auto 0;
	max-width: 660px;
	padding-top: 28px;
	font-size: 21px;
	font-weight: 600;
	font-style: italic;
	color: var(--blue-dark);
}
.tagline-banner::before {
	content: "";
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: 48px; height: 3px;
	border-radius: 2px;
	background: var(--blue-primary);
}

/* ---------- Program pills ---------- */
.pill-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	max-width: 780px;
	margin: 0 auto;
}
.pill {
	background: var(--white);
	border: 1px solid #d7e3f6;
	color: var(--blue-dark);
	font-weight: 600;
	font-size: 15px;
	padding: 12px 22px;
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
}

/* ---------- Values ---------- */
.values-grid .value {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-left: 4px solid var(--blue-primary);
	border-radius: 12px;
	padding: 24px 22px;
}
.values-grid h4 { margin: 0 0 8px; color: var(--blue-dark); font-size: 17px; }
.values-grid p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- Values: editorial split (About) ---------- */
.values-editorial {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: start;
}
.ve-intro { position: sticky; top: 100px; }
.ve-intro h2 { margin: 0 0 14px; }
.ve-intro p { color: var(--text-muted); font-size: 16px; margin: 0 0 24px; max-width: 360px; }
.ve-list { list-style: none; margin: 0; padding: 0; }
.ve-row {
	display: flex;
	gap: 24px;
	align-items: baseline;
	padding: 26px 20px 26px 0;
	border-bottom: 1px solid #d5e2f4;
	transition: padding .2s ease, background .2s ease;
}
.ve-list .ve-row:first-child { padding-top: 4px; }
.ve-list .ve-row:last-child { border-bottom: none; }
.ve-row:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(47,111,237,0.06), transparent); border-radius: 12px; }
.ve-idx {
	font-size: 22px;
	font-weight: 800;
	color: var(--blue-mid);
	letter-spacing: -1px;
	line-height: 1;
	min-width: 34px;
	transition: color .2s ease;
}
.ve-row:hover .ve-idx { color: var(--blue-primary); }
.ve-body h4 { margin: 0 0 6px; font-size: 20px; color: var(--blue-dark); }
.ve-body p { margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.55; }

/* ---------- Booking page card ---------- */
.booking-card {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	padding: 40px 40px 36px;
}
.booking-card h2 { margin: 0 0 8px; }
.booking-intro { color: var(--text-muted); margin: 0 0 26px; }
.booking-form-page { flex-direction: row; }
.booking-form-page .field { flex: 1 1 46%; }
.booking-form-page .field-full { flex: 1 1 100%; }
.booking-form-page input,
.booking-form-page select,
.booking-form-page textarea {
	width: 100%;
	padding: 13px 16px;
	border-radius: 10px;
	border: 1px solid #d7e3f6;
	font-size: 15px;
	font-family: inherit;
	background: var(--white);
	color: var(--text-main);
}
.booking-form-page textarea { resize: vertical; }
.booking-form-page .btn { flex: 1 1 100%; }
.cta-alt-dark { margin-top: 18px; font-size: 14px; color: var(--text-muted); text-align: center; }
.cta-alt-dark a { color: var(--blue-primary); }
.btn-on-dark { background: var(--white); color: var(--blue-dark); box-shadow: none; }
.btn-on-dark:hover { background: var(--blue-soft); }

/* ---------- Generic page content ---------- */
.page-content { font-size: 16px; color: var(--text-main); }
.page-content h2 { text-align: left; }
.contact-lines { font-size: 17px; margin: 0 0 26px; }
.contact-lines a { color: var(--blue-primary); }

/* ---------- Contact: top band ---------- */
.contact-top {
	background: linear-gradient(180deg, var(--blue-soft) 0%, #f4f8ff 100%);
	padding: 70px 0 90px;
}
.contact-top-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: start;
}
.contact-info h1 { font-size: 44px; font-weight: 800; color: var(--blue-dark); margin: 0 0 14px; letter-spacing: -0.5px; }
.contact-intro { color: var(--text-muted); max-width: 420px; margin: 0 0 22px; }
.contact-lines-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.contact-lines-list a { color: var(--blue-dark); font-weight: 600; }
.contact-lines-list a:hover { color: var(--blue-primary); }
.contact-social { display: flex; gap: 10px; margin-bottom: 34px; }
.social-dark { background: var(--blue-dark); }
.social-dark:hover { background: var(--blue-primary); }

.contact-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.contact-col h5 { margin: 0 0 8px; font-size: 15px; color: var(--blue-dark); }
.contact-col p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.contact-col a { color: var(--blue-primary); }

/* Get in Touch card */
.git-card {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: 18px;
	box-shadow: 0 18px 46px rgba(20,53,107,0.14);
	padding: 30px 30px 26px;
}
.git-card h3 { margin: 0 0 4px; font-size: 24px; color: var(--blue-dark); }
.git-sub { margin: 0 0 22px; font-size: 14px; color: var(--text-muted); }
.git-form { display: flex; flex-direction: column; gap: 14px; }
.git-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.git-form input,
.git-form select,
.git-form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #dce6f5;
	background: #f7faff;
	font-size: 15px;
	font-family: inherit;
	color: var(--text-main);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.git-form input:focus,
.git-form select:focus,
.git-form textarea:focus {
	outline: none;
	background: var(--white);
	border-color: var(--blue-primary);
	box-shadow: 0 0 0 3px rgba(47,111,237,0.15);
}
/* Country-code select carries "flag +code Name", so it needs more room than the
   old bare "+359" did. Dial code leads the label, so clipping stays harmless. */
/* Closed select shows only "flag +code" (main.js swaps the label), so it can stay
   narrow and give the phone field the room. */
.git-phone { display: grid; grid-template-columns: 104px 1fr; gap: 10px; }

/* Windows ships no flag glyphs in its system emoji font, so the country select
   would fall back to bare letters (BG, PH). This subset webfont supplies only
   the regional-indicator range; unicode-range keeps it away from all other text
   and means the browser downloads it only when a flag is actually rendered. */
@font-face {
	font-family: 'Twemoji Country Flags';
	src: url('assets/fonts/TwemojiCountryFlags.woff2') format('woff2');
	font-display: swap;
	unicode-range: U+1F1E6-1F1FF;
}
/* Custom country-code listbox (main.js). Both the button and the list are
   rendered in-page, so the flag webfont applies to each — unlike a native
   <select>, whose dropdown is drawn by the OS and ignores webfonts. */
.dialsel { position: relative; }
.dialsel.is-enhanced select { display: none; }   /* no-JS: native select stays */

.dialsel-btn,
.dialsel-list {
	font-family: 'Twemoji Country Flags', "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}
.dialsel-btn {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 13px 12px;
	border: 1px solid var(--blue-mid);
	border-radius: 10px;
	background: #f7faff;
	color: var(--text-main);
	font-size: 15px;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
}
.dialsel-btn::after {
	content: "";
	margin-left: auto;
	border: 5px solid transparent;
	border-top-color: var(--text-muted);
	transform: translateY(2px);
}
.dialsel-btn:focus-visible { outline: 2px solid var(--blue-primary); outline-offset: 1px; }
.dialsel[aria-expanded] .dialsel-btn { border-color: var(--blue-primary); }

.dialsel-list {
	position: absolute;
	z-index: 40;
	top: calc(100% + 4px);
	left: 0;
	min-width: 260px;
	max-height: 280px;
	overflow-y: auto;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--blue-mid);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(20,53,107,0.16);
}
.dialsel-item {
	padding: 9px 14px;
	font-size: 14px;
	color: var(--text-main);
	cursor: pointer;
	white-space: nowrap;
}
.dialsel-item:hover,
.dialsel-item.is-active { background: var(--blue-soft); }
.dialsel-item[aria-selected="true"] { font-weight: 700; }
.dialsel-group {
	padding: 8px 14px 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.git-textarea { position: relative; }
.git-textarea textarea { resize: vertical; }
.char-count {
	position: absolute;
	right: 12px; bottom: 10px;
	font-size: 12px;
	color: #9aa9bf;
	pointer-events: none;
}
.git-submit { width: 100%; margin-top: 2px; }
.git-terms { margin: 4px 0 0; font-size: 12px; color: #9aa9bf; text-align: center; }
.git-terms a { color: var(--blue-primary); }

.form-done {
	background: var(--blue-soft);
	border: 1px solid #cfe0fb;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--blue-dark);
	font-weight: 600;
}
.form-done-ic {
	display: inline-flex;
	width: 20px; height: 20px;
	background: var(--blue-primary);
	color: var(--white);
	border-radius: 50%;
	align-items: center; justify-content: center;
	font-size: 12px;
	margin-right: 6px;
}
.form-done-note { display: block; font-weight: 400; font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Contact: map section ---------- */
.map-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 50px;
	align-items: center;
}
.map-wrap { position: relative; }
.map-frame {
	width: 100%;
	height: 400px;
	border: 0;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	display: block;
	filter: saturate(0.95);
}
.map-card {
	position: absolute;
	top: 26px; left: 26px;
	background: var(--white);
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(20,53,107,0.20);
	padding: 16px 18px;
	max-width: 240px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.map-card-head { margin-bottom: 2px; }
.map-card-logo { font-weight: 800; color: var(--blue-dark); font-size: 18px; }
.map-card-logo span { color: var(--blue-primary); }
.map-card strong { color: var(--text-main); font-size: 15px; }
.map-card-addr { font-size: 13px; color: var(--text-muted); }
.map-card-link { font-size: 13px; font-weight: 600; color: var(--blue-primary); margin-top: 4px; }
.map-hq-title { margin: 18px 0 8px; font-size: 17px; color: var(--blue-dark); }
.map-hq { font-style: normal; color: var(--text-muted); line-height: 1.7; margin: 0 0 18px; }

/* ---------- Contact: FAQ split ---------- */
.faq-contact-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 50px;
	align-items: start;
}
.faq-contact-left h2 { margin: 0 0 12px; }
.faq-contact-left p { color: var(--text-muted); margin: 0 0 20px; }
.quick-email { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-email input {
	flex: 1 1 200px;
	padding: 13px 16px;
	border-radius: 10px;
	border: 1px solid #d7e3f6;
	font-size: 15px;
	font-family: inherit;
}
.quick-email input:focus { outline: none; border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(47,111,237,0.15); }
.quick-email .form-done { flex: 1 1 100%; }

/* ---------- Scroll reveal (all pages) ---------- */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s ease, transform .6s ease;
	will-change: opacity, transform;
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Back to top ---------- */
.back-to-top {
	position: fixed;
	right: 22px; bottom: 22px;
	width: 46px; height: 46px;
	border-radius: 50%;
	border: none;
	background: var(--blue-primary);
	color: var(--white);
	font-size: 22px; line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(47,111,237,0.40);
	opacity: 0;
	transform: translateY(14px) scale(.9);
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease, background .15s ease;
	z-index: 60;
}
.back-to-top.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.back-to-top:hover { background: #2559c9; }

/* ---------- Nav micro-interaction ---------- */
.nav-cta { transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.nav-cta:hover { transform: translateY(-2px); }
.logo { transition: opacity .15s ease; }
.logo:hover { opacity: .85; }

/* ---------- Apply steps (booking page) ---------- */
.apply-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	counter-reset: none;
	position: relative;
}
.apply-step {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: 16px;
	padding: 30px 22px 26px;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.apply-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.as-num {
	width: 46px; height: 46px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue-primary), #6ea0ff);
	color: var(--white);
	font-weight: 800; font-size: 19px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 14px rgba(47,111,237,0.32);
}
.apply-step h4 { margin: 0 0 8px; color: var(--blue-dark); font-size: 16px; }
.apply-step p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- Multi-step form ---------- */
.ms-form-wrap {
	background: var(--white);
	border: 1px solid #e7edf6;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	padding: 34px 34px 30px;
	max-width: 680px;
	margin: 0 auto;
}
.ms-progress { margin-bottom: 28px; }
.ms-progress-bar {
	height: 6px;
	background: var(--blue-mid);
	border-radius: 999px;
	overflow: hidden;
}
.ms-progress-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--blue-primary), #6ea0ff);
	border-radius: 999px;
	transition: width .35s ease;
}
.ms-steps {
	list-style: none;
	display: flex;
	justify-content: space-between;
	margin: 12px 0 0;
	padding: 0;
	counter-reset: msstep;
}
.ms-steps li {
	counter-increment: msstep;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color .2s ease;
}
.ms-steps li::before {
	content: counter(msstep);
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--blue-mid);
	color: var(--white);
	font-size: 12px;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease;
}
.ms-steps li.is-active { color: var(--blue-dark); }
.ms-steps li.is-active::before { background: var(--blue-primary); }

.ms-step { border: none; margin: 0; padding: 0; display: none; }
.ms-step.is-active { display: block; animation: msfade .35s ease; }
@keyframes msfade { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ms-grid .field-full { grid-column: 1 / -1; }
.ms-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--blue-dark);
}
.ms-form input,
.ms-form select,
.ms-form textarea {
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #d7e3f6;
	font-size: 15px;
	font-family: inherit;
	font-weight: 400;
	color: var(--text-main);
	background: var(--white);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ms-form input:focus,
.ms-form select:focus,
.ms-form textarea:focus {
	outline: none;
	border-color: var(--blue-primary);
	box-shadow: 0 0 0 3px rgba(47,111,237,0.15);
}
.ms-form textarea { resize: vertical; }
.ms-form .has-error { border-color: #e0526b; box-shadow: 0 0 0 3px rgba(224,82,107,0.14); }
.ms-consent { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; color: var(--text-main); }
.ms-consent input { width: 18px; height: 18px; }
.ms-consent input.has-error { accent-color: #e0526b; box-shadow: 0 0 0 3px rgba(224,82,107,0.22); border-radius: 3px; }
.ms-consent input.has-error + span { color: #e0526b; font-weight: 600; }
.ms-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 24px;
}
.btn-ghost-dark { color: var(--blue-dark); border-color: #cdd9ec; }
.btn-ghost-dark:hover { background: var(--blue-soft); }

.ms-success { text-align: center; padding: 20px 10px; animation: msfade .4s ease; }
.ms-success-ic {
	width: 64px; height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--blue-primary);
	color: var(--white);
	font-size: 32px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(47,111,237,0.35);
}
.ms-success h3 { margin: 0 0 8px; color: var(--blue-dark); font-size: 22px; }
.ms-success p { margin: 0 0 8px; color: var(--text-muted); }
.ms-success .ms-note { font-size: 13px; color: #90a0b8; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.about-split { grid-template-columns: 1fr; gap: 32px; }
	.apply-steps { grid-template-columns: repeat(2, 1fr); }
	.about-split-text h2.left { text-align: center; }
	.about-split-text { text-align: center; }
	.wc-grid { grid-template-columns: repeat(3, 1fr); }
	.stats-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
	.process-split { grid-template-columns: 1fr; gap: 30px; }
	.process-list { max-width: 560px; margin: 0 auto; }
	.team-grid { grid-template-columns: repeat(3, 1fr); }
	.tick-list { display: inline-block; text-align: left; }
	.values-editorial { grid-template-columns: 1fr; gap: 30px; }
	.ve-intro { position: static; }
	.contact-top-grid { grid-template-columns: 1fr; gap: 36px; }
	.map-grid { grid-template-columns: 1fr; gap: 30px; }
	.faq-contact-grid { grid-template-columns: 1fr; gap: 30px; }
	.why-split { grid-template-columns: 1fr; gap: 34px; }
	.advisor-card { position: static; max-width: 440px; }
	.uni-grid { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.stepper { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
	.stepper::before { display: none; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.nav-toggle { display: flex; }
	/* Keep the header CTA on one line — it used to wrap to two and blow out the bar. */
	.nav-cta { padding: 8px 11px; font-size: 12px; white-space: nowrap; }
	.logo, .nav-toggle, .nav-cta { flex: 0 0 auto; }
	.logo { font-size: 20px; }
	.logo .logo-mark { width: 40px; height: 40px; }
	.main-nav {
		display: none;
		position: absolute;
		top: var(--header-h);
		left: 0; right: 0;
		background: var(--white);
		box-shadow: 0 12px 24px rgba(20,53,107,0.12);
		border-top: 1px solid #eef2f7;
	}
	.site-header.nav-open .main-nav { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
	.main-nav li { border-bottom: 1px solid #f1f5fa; }
	.main-nav li:last-child { border-bottom: none; }
	.main-nav a { display: block; padding: 14px 24px; }
	.main-nav a::after { display: none; }
	/* mobile dropdown: inline, toggled by caret */
	.dropdown-toggle { justify-content: space-between; }
	.caret { padding: 6px 10px; margin: -6px -10px -6px 0; }
	.main-nav .dropdown-menu {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		display: none;
		box-shadow: none;
		border: none;
		border-radius: 0;
		background: #f7faff;
		padding: 0;
		min-width: 0;
	}
	.main-nav .dropdown-menu::before { display: none; }
	.has-dropdown.open .dropdown-menu { display: block; }
	/* The desktop open/hover rules also set translateX(-50%), which pushed the
	   full-width mobile submenu half off-screen. Beat them on specificity. */
	.main-nav .has-dropdown:hover .dropdown-menu,
	.main-nav .has-dropdown:focus-within .dropdown-menu,
	.main-nav .has-dropdown.open .dropdown-menu { transform: none; }
	.main-nav .dropdown-menu a { padding: 12px 40px; font-size: 14px; }
	.hero { padding: 90px 0 80px; }
	.hero h1 { font-size: 34px; }
	.hero p { font-size: 17px; }
	.section { padding: 60px 0; }
	.section h2 { font-size: 28px; }
	.grid-2 { grid-template-columns: 1fr; }
	.carousel-arrow.prev { left: 2px; }
	.carousel-arrow.next { right: 2px; }
	.review { padding: 30px 24px; }
	.review > p { font-size: 17px; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.booking-form .field { flex: 1 1 100%; }
	.wc-grid { grid-template-columns: 1fr; }
	.booking-card { padding: 28px 22px; }
	.booking-form-page .field { flex: 1 1 100%; }
	.page-hero h1 { font-size: 32px; }
	.page-hero-tall h1 { font-size: 32px; }
	.stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.feature-band-content h2 { font-size: 24px; }
	.apply-steps { grid-template-columns: 1fr; }
	.ms-grid { grid-template-columns: 1fr; }
	.ms-form-wrap { padding: 24px 20px; }
	.contact-cols { grid-template-columns: 1fr; gap: 16px; }
	.git-row { grid-template-columns: 1fr; }
	.contact-info h1 { font-size: 34px; }
	.map-card { position: static; max-width: none; margin-top: 14px; }
	.ms-steps li { font-size: 0; gap: 0; }
	.ms-steps li::before { font-size: 12px; }
	.uni-grid { grid-template-columns: 1fr; }
	.uni-modal-actions { flex-direction: column; }
	.uni-modal-body { padding: 22px 20px 24px; }
	.uni-modal { padding: 14px; }
}

/* ======================================================================
   Feature add-ons: form errors, cookie banner, WhatsApp float,
   university filter + comparison, deadline countdown, visa checklist
   ====================================================================== */

/* Inline form error message */
.form-fail, .ms-fail {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fdecec;
	border: 1px solid #f5b5b5;
	color: #a02121;
	font-size: 14px;
}

/* Lift back-to-top so it clears the WhatsApp button */
.back-to-top { bottom: 84px; }

/* Floating WhatsApp button */
.wa-float {
	position: fixed;
	right: 22px; bottom: 22px;
	width: 52px; height: 52px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #25d366;
	color: #fff;
	box-shadow: 0 8px 22px rgba(37,211,102,0.45);
	z-index: 60;
	transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover {
	transform: translateY(-3px) scale(1.05);
	color: #fff;
	box-shadow: 0 12px 26px rgba(37,211,102,0.55);
}

/* Floating Facebook button (sits left of WhatsApp) */
.fb-float {
	position: fixed;
	right: 86px; bottom: 22px;
	width: 52px; height: 52px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #1877f2;
	color: #fff;
	box-shadow: 0 8px 22px rgba(24,119,242,0.45);
	z-index: 60;
	transition: transform .18s ease, box-shadow .18s ease;
}
.fb-float:hover {
	transform: translateY(-3px) scale(1.05);
	color: #fff;
	box-shadow: 0 12px 26px rgba(24,119,242,0.55);
}

/* Cookie consent banner */
.cookie-consent {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 80;
	background: var(--blue-dark);
	color: #eaf2ff;
	box-shadow: 0 -6px 24px rgba(20,53,107,0.28);
	transform: translateY(120%);
	transition: transform .35s ease;
}
.cookie-consent.is-visible { transform: none; }
.cookie-inner {
	display: flex; align-items: center; gap: 20px;
	padding: 16px 24px; flex-wrap: wrap;
}
.cookie-msg { margin: 0; font-size: 14px; flex: 1 1 320px; }
.cookie-msg a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; margin-left: auto; }
.cookie-actions .btn-ghost-dark {
	color: #fff;
	background: transparent;
	border-color: rgba(255,255,255,0.55);
}
.cookie-actions .btn-ghost-dark:hover {
	background: rgba(255,255,255,0.14);
	color: #fff;
}

/* University search + city filter */
.uni-filter { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 26px; }
.uni-search, .uni-city {
	padding: 12px 16px;
	border: 1px solid #d5deee;
	border-radius: 10px;
	font-size: 15px;
	background: #fff;
	color: inherit;
}
.uni-search { flex: 1 1 280px; }
.uni-city { flex: 0 0 auto; min-width: 160px; }
.uni-search:focus, .uni-city:focus {
	outline: none; border-color: var(--blue-primary);
	box-shadow: 0 0 0 3px rgba(47,111,237,.15);
}
.uni-empty { text-align: center; color: #64748b; padding: 24px 0; font-weight: 600; }

/* University comparison table */
.uni-compare { margin-top: 54px; }
.uni-compare h3 { font-size: 24px; margin-bottom: 6px; }
.uni-compare-scroll { overflow-x: auto; margin-top: 18px; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare-table th, .compare-table td {
	padding: 14px 16px; text-align: left; border-bottom: 1px solid #e6ecf6;
}
.compare-table thead th {
	background: var(--blue-soft); color: var(--blue-dark);
	font-size: 13px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.compare-table tbody th[scope="row"] { font-weight: 700; color: var(--blue-dark); }
.compare-table tbody tr:hover { background: #f7faff; }
.compare-act { text-align: right; white-space: nowrap; }
.compare-note { margin-top: 12px; font-size: 12.5px; color: #7a8699; }

/* Deadline countdown */
.countdown-section { text-align: center; }
.countdown {
	text-align: center;
	background: linear-gradient(135deg, var(--blue-dark) 0%, #1c4a9e 100%);
	color: #fff;
	border-radius: 22px;
	padding: 52px 32px 46px;
	box-shadow: 0 24px 55px rgba(20,53,107,0.28);
	position: relative;
	overflow: hidden;
}
.countdown::before {
	content: "";
	position: absolute;
	top: -40%; right: -10%;
	width: 320px; height: 320px;
	background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 70%);
	pointer-events: none;
}
.countdown > * { position: relative; z-index: 1; }
.countdown .section-tag { color: #bcd2f7; }
.countdown h2 { color: #fff; }
.countdown .lead { color: #dbe6fb; max-width: 620px; margin-left: auto; margin-right: auto; }
.countdown-clock {
	display: flex; align-items: flex-start; justify-content: center;
	gap: 10px; margin: 28px 0 12px;
}
.cd-unit {
	background: var(--blue-soft);
	border-radius: 14px;
	padding: 16px 10px 12px;
	min-width: 84px;
	display: flex; flex-direction: column; gap: 4px;
}
.cd-num {
	font-size: 40px; font-weight: 800; color: var(--blue-dark);
	line-height: 1; font-variant-numeric: tabular-nums;
}
.cd-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.cd-sep { font-size: 34px; font-weight: 700; color: rgba(255,255,255,0.55); align-self: center; }
.countdown-deadline { font-weight: 600; color: #bcd2f7; margin: 6px 0 22px; }
.countdown-expired { font-weight: 700; color: #ffd7d7; margin: 10px 0 22px; }
.countdown-cta.btn-primary { background: #fff; color: var(--blue-dark); }
.countdown-cta.btn-primary:hover { background: #eaf2ff; }

/* Deadline countdown — slim band under the banner */
.countdown-band { position: relative; z-index: 5; }
.countdown-row {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px 30px; flex-wrap: wrap;
	text-align: left;
	padding: 22px 30px;
	margin-top: -40px;
}
.cb-text { display: flex; flex-direction: column; gap: 2px; }
.countdown-row .section-tag { margin: 0; }
.cb-title { font-size: 20px; color: #fff; font-weight: 800; }
.countdown-row .countdown-deadline { margin: 2px 0 0; font-size: 13px; }
.countdown-row .countdown-clock { margin: 0; gap: 8px; align-items: center; }
.countdown-row .cd-unit { min-width: 60px; padding: 9px 8px 7px; }
.countdown-row .cd-num { font-size: 28px; }
.countdown-row .cd-sep { font-size: 24px; }
.countdown-row .countdown-cta { flex: 0 0 auto; margin: 0; }
.countdown-row .countdown-expired { margin: 0; }
@media (max-width: 900px) {
	.countdown-row { flex-direction: column; align-items: center; text-align: center; margin-top: -30px; }
	.cb-text { align-items: center; }
	.countdown-row .countdown-clock { justify-content: center; }
}

/* Visa document checklist */
.visa-docs { list-style: none; margin: 6px 0 0; padding: 0; }
.visa-docs li {
	position: relative; padding: 7px 0 7px 28px; font-size: 15px;
	border-bottom: 1px solid rgba(20,53,107,.10);
}
.visa-docs li:last-child { border-bottom: none; }
.visa-docs li::before { content: "\2713"; position: absolute; left: 0; top: 7px; color: #25d366; font-weight: 700; }
.visa-disclaimer { margin-top: 22px; font-size: 12.5px; color: #7a8699; text-align: center; }

/* Responsive tweaks for the add-ons */
@media (max-width: 760px) {
	.cd-unit { min-width: 62px; padding: 12px 6px 10px; }
	.cd-num { font-size: 28px; }
	.cd-sep { display: none; }
	.countdown-clock { gap: 8px; }
	.cookie-actions { margin-left: 0; width: 100%; }
	.cookie-actions .btn { flex: 1; }
	.wa-float { width: 48px; height: 48px; }
	.fb-float { width: 48px; height: 48px; right: 80px; }
}

/* ======================================================================
   Blog / News + 404
   ====================================================================== */

/* Category filter chips */
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.blog-filter .chip {
	border: 1px solid #d5deee;
	background: #fff;
	color: var(--blue-dark);
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 14px; font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.blog-filter .chip:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.blog-filter .chip.is-active { background: var(--blue-primary); border-color: var(--blue-primary); color: #fff; }

/* Post grid + cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
	background: #fff;
	border: 1px solid #e6ecf6;
	border-radius: 16px;
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(20,53,107,0.14); }
.pc-media {
	display: block;
	position: relative;
	height: 180px;
	background-size: cover; background-position: center;
}
.pc-cat {
	position: absolute; top: 12px; left: 12px;
	background: rgba(255,255,255,0.94);
	color: var(--blue-dark);
	font-size: 12px; font-weight: 700;
	padding: 5px 12px; border-radius: 999px;
}
.pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-meta { font-size: 12.5px; color: #7a8699; }
.pc-body h3 { font-size: 18px; line-height: 1.3; margin: 6px 0 10px; }
.pc-body h3 a { color: var(--blue-dark); text-decoration: none; }
.pc-body h3 a:hover { color: var(--blue-primary); }
.pc-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0 0 16px; }
.pc-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--blue-primary); text-decoration: none; }
.pc-more:hover { text-decoration: underline; }

/* Pagination */
.post-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.post-pagination .page-numbers {
	min-width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0 12px;
	border: 1px solid #d5deee; border-radius: 10px;
	color: var(--blue-dark); text-decoration: none; font-weight: 600;
}
.post-pagination .page-numbers.current { background: var(--blue-primary); border-color: var(--blue-primary); color: #fff; }
.post-pagination a.page-numbers:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.blog-empty { text-align: center; color: #64748b; padding: 40px 0; font-weight: 600; }

/* Single post */
.post-hero .hero-bg { filter: brightness(0.7); }
.post-hero-cat {
	display: inline-block; margin-bottom: 12px;
	background: var(--blue-primary); color: #fff;
	font-size: 13px; font-weight: 700;
	padding: 6px 14px; border-radius: 999px; text-decoration: none;
}
.post-hero-meta { font-size: 14px; color: #e8eefb; margin-top: 10px; }
.post-content { font-size: 16px; line-height: 1.75; color: var(--text-main); }
.post-content > * { margin: 0 0 20px; }
.post-content h2 { font-size: 26px; color: var(--blue-dark); margin: 34px 0 14px; }
.post-content h3 { font-size: 20px; color: var(--blue-dark); margin: 28px 0 12px; }
.post-content a { color: var(--blue-primary); }
.post-content ul, .post-content ol { padding-left: 22px; }
.post-content li { margin-bottom: 8px; }
.post-content img { max-width: 100%; height: auto; border-radius: 12px; }
.post-content blockquote {
	border-left: 4px solid var(--blue-primary);
	background: var(--blue-soft);
	padding: 16px 22px; border-radius: 0 12px 12px 0;
	font-style: italic; color: var(--blue-dark);
}
.post-content table {
	width: 100%; border-collapse: collapse; font-size: 15px;
	border: 1px solid #e6ecf6; border-radius: 12px; overflow: hidden;
}
.post-content table th, .post-content table td {
	padding: 11px 14px; text-align: left; border-bottom: 1px solid #eef2f9;
}
.post-content table th { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.post-content table tr:last-child td { border-bottom: 0; }
.post-content hr { border: 0; border-top: 1px solid #e6ecf6; margin: 30px 0; }
.post-cta-q {
	border-left: 4px solid var(--blue-primary); background: var(--blue-soft);
	padding: 16px 22px; border-radius: 0 12px 12px 0; color: var(--blue-dark);
	font-weight: 600;
}
.legal-content { font-size: 15.5px; }
.legal-note {
	background: #fff7ed; border: 1px solid #fcd9a8; color: #8a5a12;
	padding: 12px 16px; border-radius: 10px; font-size: 14px;
}
.post-back { margin-top: 30px; }
.center-tag-h2 { text-align: center; margin-bottom: 30px; }

/* 404 */
.error-hero { text-align: center; }
.error-code {
	font-size: 96px; font-weight: 800; line-height: 1;
	color: rgba(255,255,255,0.9);
	letter-spacing: 4px; margin: 4px 0 8px;
}
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.error-links { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; }
.error-links a { color: var(--blue-primary); font-weight: 600; text-decoration: none; }
.error-links a:hover { text-decoration: underline; }

@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
	.post-grid { grid-template-columns: 1fr; }
	.error-code { font-size: 72px; }
}

/* ======================================================================
   Blog journal layout: featured hero, card meta, single sidebar, figures
   ====================================================================== */

/* Card meta / footer */
.pc-foot { margin-top: auto; }
.pc-meta { font-size: 12.5px; color: #7a8699; display: block; }
.pc-dot { margin: 0 5px; color: #c3cede; }
.pc-body h3 { margin: 0 0 8px; }
.pc-body .pc-excerpt { margin: 0 0 14px; }
.pc-foot .pc-more { display: inline-block; margin-top: 10px; }

/* Featured hero (latest post) */
.blog-hero {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 0;
	background: #fff;
	border: 1px solid #e6ecf6;
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 46px;
	box-shadow: 0 10px 34px rgba(20,53,107,0.08);
}
.bh-media { display: block; min-height: 340px; background-size: cover; background-position: center; }
.bh-body { padding: 34px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.bh-crumb {
	display: inline-block; margin-bottom: 14px;
	background: var(--blue-soft); color: var(--blue-primary);
	font-size: 12.5px; font-weight: 700;
	padding: 5px 13px; border-radius: 999px; text-decoration: none;
}
.bh-body h2 { font-size: 28px; line-height: 1.22; margin: 0 0 12px; }
.bh-body h2 a { color: var(--blue-dark); text-decoration: none; }
.bh-body h2 a:hover { color: var(--blue-primary); }
.bh-excerpt { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; }
.bh-cta { margin-top: 8px; }

/* "Featured blog posts" head row with filter chips */
.blog-more-head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 18px; flex-wrap: wrap; margin: 0 0 24px;
}
.blog-more-head h2 { margin: 0; font-size: 24px; }
.blog-more-head .blog-filter { margin: 0; }

/* Single post: content + sticky sidebar */
.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 48px;
	align-items: start;
}
.post-main { min-width: 0; }
.post-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }

.sidebar-card {
	background: #fff;
	border: 1px solid #e6ecf6;
	border-radius: 16px;
	padding: 24px 24px 10px;
}
.sidebar-title { font-size: 19px; color: var(--blue-dark); margin: 0 0 10px; }
.side-posts { list-style: none; margin: 0; padding: 0; }
.side-posts li { border-top: 1px solid #eef2f8; }
.side-posts li:first-child { border-top: none; }
.sp-item { display: flex; gap: 16px; padding: 18px 0; text-decoration: none; }
.sp-thumb {
	flex: 0 0 90px; width: 90px; height: 90px;
	border-radius: 12px; background-size: cover; background-position: center;
}
.sp-text { display: flex; flex-direction: column; min-width: 0; }
.sp-cat { font-size: 12px; font-weight: 700; color: var(--blue-primary); text-transform: uppercase; letter-spacing: .03em; }
.sp-title { font-size: 16.5px; font-weight: 700; color: var(--blue-dark); line-height: 1.35; margin: 3px 0 5px; }
.sp-item:hover .sp-title { color: var(--blue-primary); }
.sp-meta { font-size: 13px; color: #94a3b8; }

.sidebar-cta {
	background: linear-gradient(135deg, var(--blue-dark) 0%, #1c4a9e 100%);
	color: #fff; border-radius: 16px; padding: 22px 22px 24px;
}
.sidebar-cta h4 { margin: 0 0 8px; font-size: 18px; color: #fff; }
.sidebar-cta p { margin: 0 0 16px; font-size: 14px; color: #dbe6fb; line-height: 1.55; }
.sidebar-cta .btn-primary { background: #fff; color: var(--blue-dark); }
.sidebar-cta .btn-primary:hover { background: #eaf2ff; }

/* Inline images inside article content */
.post-content figure { margin: 30px 0; }
.post-content figure img { width: 100%; height: auto; border-radius: 14px; display: block; }
.post-content figcaption {
	margin-top: 10px; text-align: center;
	font-size: 13px; color: #7a8699; font-style: italic;
}

@media (max-width: 900px) {
	.blog-hero { grid-template-columns: 1fr; }
	.bh-media { min-height: 220px; }
	.post-layout { grid-template-columns: 1fr; gap: 34px; }
	.post-sidebar { position: static; }
}

/* Floating countdown popup (bottom-left) — reuses .stats-cd dark-blue style */
.cd-popup {
	position: fixed;
	left: 22px; bottom: 22px;
	z-index: 70;
	width: 300px;
	max-width: calc(100vw - 44px);
	padding-top: 24px;
	box-shadow: 0 18px 46px rgba(20,53,107,0.34);
	animation: cdpop .4s ease both;
}
@keyframes cdpop { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.cd-popup.is-hidden { display: none; }
.cd-popup-close {
	position: absolute; top: 8px; right: 10px;
	width: 24px; height: 24px;
	border: none; background: rgba(255,255,255,0.16);
	color: #fff; font-size: 16px; line-height: 1;
	border-radius: 50%; cursor: pointer;
	transition: background .15s ease;
}
.cd-popup-close:hover { background: rgba(255,255,255,0.32); }
@media (max-width: 520px) {
	.cd-popup { left: 12px; right: 12px; bottom: 12px; width: auto; min-width: 0; }
}

/* ======================================================================
   Universities — country picker cards (with flags)
   ====================================================================== */
.country-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 42px; }
.country-card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid #e6ecf6; border-radius: 18px;
	overflow: hidden; text-decoration: none; color: inherit;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.country-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(20,53,107,0.16); border-color: #cddcff; }
.cc-flag {
	padding: 36px; display: flex; justify-content: center;
	background: linear-gradient(135deg, var(--blue-soft) 0%, #f4f8ff 100%);
	border-bottom: 1px solid #eef2fb;
}
.cc-flag svg { width: 124px; height: 82px; border-radius: 7px; box-shadow: 0 8px 22px rgba(20,53,107,0.20); }
.cc-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cc-tag { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue-primary); }
.cc-body h3 { font-size: 24px; color: var(--blue-dark); margin: 6px 0 10px; }
.cc-body p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0 0 18px; }
.cc-cta { margin-top: auto; font-weight: 700; color: var(--blue-primary); }
.country-card:hover .cc-cta { text-decoration: underline; }
.cc-badge {
	position: absolute; top: 14px; right: 14px; z-index: 2;
	background: var(--blue-dark); color: #fff;
	font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	padding: 5px 12px; border-radius: 999px;
}
.country-card.is-soon .cc-flag { filter: grayscale(0.35); }
.country-card.is-soon .cc-tag { color: #8a94a6; }
@media (max-width: 760px) { .country-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   Mobile fixes
   ====================================================================== */

/* Narrow phones (iPhone SE and similar): tighten the header so the CTA
   still fits on one line. */
@media (max-width: 400px) {
	.header-inner { padding-left: 14px; padding-right: 14px; }
	.logo { font-size: 18px; }
	.logo .logo-mark { width: 34px; height: 34px; }
	.nav-cta { font-size: 11px; padding: 8px 9px; }
}

/* iOS Safari zooms the page in whenever a focused field is under 16px.
   Bump every control up on touch-sized viewports. */
@media (max-width: 760px) {
	.booking-form input,
	.booking-form select,
	.uni-search,
	.uni-city,
	.field input,
	.field select,
	.field textarea,
	.git-form input,
	.git-form select,
	.git-form textarea,
	.ms-form input,
	.ms-form select,
	.ms-form textarea,
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	select,
	textarea { font-size: 16px; }
}

/* The floating countdown goes full-width on phones and buried the WhatsApp,
   Facebook and back-to-top buttons. Lift them clear while it is on screen;
   closing it (.is-hidden) drops them straight back. */
@media (max-width: 760px) {
	body:has(.cd-popup:not(.is-hidden)) .wa-float { bottom: 208px; }
	body:has(.cd-popup:not(.is-hidden)) .fb-float { bottom: 208px; }
	body:has(.cd-popup:not(.is-hidden)) .back-to-top { bottom: 270px; }
}

/* Programs section now holds 6 cards and "How it works" 6 steps.
   3-up / 6-up on desktop, collapse to 2-up on tablet & mobile. */
.stepper-6 { grid-template-columns: repeat(6, 1fr); }
#programs .grid-4 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
	.stepper-6 { grid-template-columns: repeat(2, 1fr); }
	#programs .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Per-university application-deadline pill on each Bulgaria card. */
.up-overlay .up-deadline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 16px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(47,111,237,0.92);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

/* Phone header: the full CTA label + longer "UniMed Europe" brand crowd the bar.
   Swap to a short "Book" label on small phones so logo, toggle and CTA breathe. */
.nav-cta-short { display: none; }
@media (max-width: 480px) {
	.nav-cta-full { display: none; }
	.nav-cta-short { display: inline; }
	.nav-cta { padding: 9px 16px; }
}
/* Smallest phones (≤360, incl. old iPhone SE 320): shave the header so the
   longer "UniMed Europe" brand never overflows the bar. */
@media (max-width: 360px) {
	.header-inner { padding-left: 10px; padding-right: 10px; }
	.logo { font-size: 17px; }
	.logo .logo-mark { width: 30px; height: 30px; }
	.nav-cta { padding: 8px 12px; }
}
