/* ==========================================================================
   Учебен свят - main stylesheet
   1. Fonts + tokens   2. Base   3. Buttons   4. Header + mega menu
   5. Mobile menu      6. Hero (globe)        7. Sections + footer
   ========================================================================== */

/* 1. Fonts (self-hosted, Google Fonts, OFL) ------------------------------- */
/* headings: Montserrat (07.11 Нели: Unbounded looked as if all letters were capitals or all small;
   she wants clear capitals and small letters) */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url("../fonts/montserrat-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url("../fonts/montserrat-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/nunito-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/nunito-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* handwriting for notes on the light pages (loaded only when used) */
@font-face {
	font-family: "Caveat";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/caveat-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Caveat";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/caveat-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --accent {
	syntax: "<color>";
	inherits: true;
	initial-value: #ffc845;
}

:root {
	/* brand (current site) */
	--usv-accent: #4545da;
	--usv-violet: #66346e;
	--usv-green: #28713e;
	--usv-sky: #68a5d1;
	--usv-lilac: #d8b6dd;
	--usv-bg-light: #f3e6f9;
	--usv-ink: #161616;
	--usv-primary: #34495e;
	/* night sky of the new site */
	--night-0: #06051a;
	--night-1: #0c0a2b;
	--night-2: #17104a;
	--night-3: #2a1863;
	--gold: #ffc845;
	--gold-2: #ffb21f;
	--glass: rgba(255, 255, 255, .07);
	--glass-line: rgba(255, 255, 255, .14);
	--font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
	--font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
	--font-hand: "Caveat", "Segoe Print", cursive;
	/* the light world under the hero */
	--ink: #1d1245;
	--ink-2: #514a72;
	--paper: #ffffff;
	--paper-2: #f8f6ff;
	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--header-h: 92px;
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
	/* standard Cyrillic forms, like the logo and the live site; !important because the font shorthand resets it */
	font-feature-settings: "locl" 0 !important;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--night-1);
	color: #fff;
	font: 400 17px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.usv-lock {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

button {
	font: inherit;
	color: inherit;
}

.usv-ic {
	width: 20px;
	height: 20px;
	flex: none;
}

.usv-3d {
	display: block;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.usv-skip {
	position: fixed;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 12px;
	background: var(--gold);
	color: var(--night-2);
	font-weight: 800;
	transition: top .2s;
}

.usv-skip:focus {
	top: 12px;
}

/* the honeypot field of the forms (inc/forms.php): people never see it, bots fill it */
.usv-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

.usv-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* 3. Buttons --------------------------------------------------------------- */
.usv-cta {
	--cta-a: #ffe07a;
	--cta-b: var(--gold-2);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cta-a), var(--cta-b));
	color: #2a1450;
	font: 800 15px/1.1 var(--font-body);
	letter-spacing: .01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 12px 30px -12px rgba(255, 178, 31, .9), inset 0 -3px 0 rgba(120, 60, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .6);
	isolation: isolate;
	overflow: hidden;
	transition: transform .35s var(--ease-spring), box-shadow .35s;
}

.usv-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%);
	transform: translateX(-120%);
	animation: usv-shine 4.5s var(--ease-out) infinite;
}

.usv-cta:hover {
	box-shadow: 0 18px 40px -12px rgba(255, 178, 31, 1), inset 0 -3px 0 rgba(120, 60, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.usv-cta .usv-ic {
	transition: transform .35s var(--ease-spring);
}

.usv-cta:hover .usv-ic {
	transform: translateX(4px);
}

.usv-cta--lg {
	padding: 17px 28px;
	font-size: 17px;
}

.usv-cta--sm {
	padding: 10px 18px;
	font-size: 14px;
}

.usv-cta--block {
	display: flex;
	width: 100%;
	padding: 16px;
	font-size: 17px;
}

@keyframes usv-shine {
	0%, 55% { transform: translateX(-120%); }
	85%, 100% { transform: translateX(120%); }
}

.usv-ghost {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 22px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background .3s, border-color .3s;
}

.usv-ghost:hover {
	background: rgba(255, 255, 255, .12);
	border-color: var(--accent, #fff);
}

.usv-ghost .usv-ic {
	transition: transform .35s var(--ease-spring);
}

.usv-ghost:hover .usv-ic {
	transform: translateX(4px);
}

/* sparkles spawned by menu.js around [data-usv-sparkle] */
.usv-spark {
	position: fixed;
	z-index: 90;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	pointer-events: none;
	background: var(--sc, #ffe07a);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
	animation: usv-spark .8s var(--ease-out) forwards;
}

@keyframes usv-spark {
	from { transform: translate(0, 0) scale(.4) rotate(0); opacity: 1; }
	to { transform: translate(var(--dx), var(--dy)) scale(1.3) rotate(160deg); opacity: 0; }
}

/* 4. Header ---------------------------------------------------------------- */
.usv-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
	padding: 14px 20px 0;
	pointer-events: none;
	transition: transform .5s var(--ease-out);
}

.usv-header.is-hidden {
	transform: translateY(-120%);
}

.usv-header__progress {
	position: absolute;
	left: 0;
	top: 0;
	height: 3px;
	width: 100%;
	transform-origin: 0 50%;
	transform: scaleX(var(--p, 0));
	background: linear-gradient(90deg, var(--gold), #ff7eb6, #6f9bff);
}

.usv-header__bar {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 20px;
	max-width: 1400px;
	height: 66px;
	margin: 0 auto;
	padding: 0 10px 0 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	pointer-events: auto;
	transition: background .45s, border-color .45s, box-shadow .45s, height .45s var(--ease-out);
}

.usv-header.is-scrolled .usv-header__bar,
.usv-header.is-open .usv-header__bar {
	height: 60px;
	background: rgba(14, 11, 44, .66);
	border-color: rgba(255, 255, 255, .1);
	box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .8);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
}

.usv-logo {
	display: block;
	line-height: 0;
}

/* 07.11 Нели: „логото ми се губи“, so the tight-cropped logo, about 35% bigger than before, with a soft glow */
.usv-logo img {
	width: auto;
	height: 58px;
	filter: drop-shadow(0 2px 14px rgba(150, 130, 255, .45));
	transition: height .45s var(--ease-out), filter .3s;
}

.usv-header.is-scrolled .usv-logo img {
	height: 48px;
}

.usv-logo:hover img {
	filter: drop-shadow(0 0 12px rgba(255, 200, 69, .55));
}

/* nav pill with a liquid hover blob */
.usv-nav {
	position: relative;
	justify-self: center;
	padding: 5px;
	border: 1px solid var(--glass-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.usv-nav__list {
	position: relative;
	z-index: 1;
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usv-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: rgba(255, 255, 255, .86);
	font: 700 15px/1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: color .25s;
}

.usv-nav__link:hover,
.usv-nav__link[aria-expanded="true"] {
	color: #fff;
}

.usv-nav__link .usv-ic {
	width: 16px;
	height: 16px;
	transition: transform .4s var(--ease-spring);
}

.usv-nav__link[aria-expanded="true"] .usv-ic {
	transform: rotate(180deg);
}

.usv-nav__blob {
	position: absolute;
	left: 0;
	top: 5px;
	z-index: 0;
	width: var(--bw, 60px);
	height: calc(100% - 10px);
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 24px -10px rgba(111, 155, 255, .8);
	transform: translateX(var(--bx, 0));
	opacity: 0;
	transition: transform .5s var(--ease-spring), width .5s var(--ease-spring), opacity .3s;
}

.usv-nav__blob::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -3px;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 10px 2px rgba(255, 200, 69, .8);
}

.usv-nav.is-hover .usv-nav__blob {
	opacity: 1;
}

.usv-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-self: end;
}

.usv-phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 14px 4px 4px;
	border-radius: 999px;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	transition: background .3s;
}

.usv-phone:hover {
	background: rgba(255, 255, 255, .08);
}

.usv-phone__ic {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--glass-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
}

.usv-phone__ic .usv-ic {
	width: 18px;
	height: 18px;
}

.usv-phone:hover .usv-phone__ic .usv-ic {
	animation: usv-ring .6s ease-in-out 2;
}

@keyframes usv-ring {
	0%, 100% { transform: rotate(0); }
	25% { transform: rotate(-16deg); }
	75% { transform: rotate(16deg); }
}

.usv-burger {
	display: none;
	position: relative;
	width: 46px;
	height: 46px;
	border: 1px solid var(--glass-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	cursor: pointer;
}

.usv-burger span {
	position: absolute;
	left: 13px;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform .45s var(--ease-spring), opacity .2s, width .3s;
}

.usv-burger span:nth-child(1) { top: 16px; }
.usv-burger span:nth-child(2) { top: 21px; width: 12px; }
.usv-burger span:nth-child(3) { top: 26px; }

.usv-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.usv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.usv-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mega menu: glass panel revealed as a circle from the "Курсове" button */
.usv-mega {
	position: absolute;
	left: 50%;
	top: calc(100% + 12px);
	width: min(1180px, calc(100vw - 40px));
	padding: 22px 22px 0;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 30px;
	background:
		radial-gradient(500px 260px at var(--gx, 30%) var(--gy, 0%), rgba(111, 155, 255, .18), transparent 70%),
		linear-gradient(160deg, rgba(30, 22, 82, .94), rgba(12, 10, 40, .96));
	-webkit-backdrop-filter: blur(24px) saturate(150%);
	backdrop-filter: blur(24px) saturate(150%);
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .08);
	color: #fff;
	pointer-events: auto;
	transform: translateX(-50%);
	clip-path: circle(0 at var(--ox, 20%) -20px);
	visibility: hidden;
	transition: clip-path .7s var(--ease-out), visibility 0s .7s;
}

.usv-mega.is-open {
	clip-path: circle(150% at var(--ox, 20%) -20px);
	visibility: visible;
	transition: clip-path .75s var(--ease-out), visibility 0s;
}

/* 08.11: the panel never runs below the screen. On short screens it gets compact, and if it still
   does not fit, it scrolls inside (the wheel over it never scrolls the page, see menu.js). */
.usv-mega {
	max-height: calc(100vh - 100px);
	max-height: calc(100dvh - 100px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
/* (the compact rules for short screens come after the panel's own rules, just before the scrim) */

.usv-mega__glow {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, .7), transparent),
		radial-gradient(1px 1px at 38% 78%, rgba(255, 255, 255, .6), transparent),
		radial-gradient(1.5px 1.5px at 66% 14%, rgba(255, 255, 255, .5), transparent),
		radial-gradient(1px 1px at 84% 62%, rgba(255, 255, 255, .7), transparent),
		radial-gradient(1px 1px at 92% 18%, rgba(255, 255, 255, .5), transparent);
	opacity: .7;
}

.usv-mega__head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.usv-mega__hint {
	margin: 0;
	color: rgba(255, 255, 255, .6);
	font-size: 14px;
}

.usv-tabs {
	position: relative;
	display: inline-flex;
	padding: 4px;
	border: 1px solid var(--glass-line);
	border-radius: 999px;
	background: rgba(0, 0, 0, .2);
}

.usv-tabs button {
	position: relative;
	z-index: 1;
	padding: 9px 18px;
	border: 0;
	border-radius: 999px;
	background: none;
	font-weight: 800;
	font-size: 14px;
	color: rgba(255, 255, 255, .7);
	cursor: pointer;
	transition: color .3s;
}

.usv-tabs button[aria-selected="true"] {
	color: #2a1450;
}

.usv-tabs__ind {
	position: absolute;
	top: 4px;
	left: 0;
	height: calc(100% - 8px);
	width: var(--tw, 100px);
	border-radius: 999px;
	background: linear-gradient(135deg, #ffe07a, var(--gold-2));
	transform: translateX(var(--tx, 4px));
	transition: transform .5s var(--ease-spring), width .5s var(--ease-spring);
}

.usv-mega__panel[hidden] {
	display: none !important;
}

.usv-mega__panel--subj {
	position: relative;
	display: grid;
	grid-template-columns: 330px 1fr 250px;
	gap: 18px;
	min-height: 360px;
}

.usv-subjects {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usv-subj {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 12px 8px 8px;
	border-radius: 18px;
	text-decoration: none;
	transition: background .3s;
}

.usv-subj::before {
	content: "";
	position: absolute;
	left: -2px;
	top: 18%;
	bottom: 18%;
	width: 4px;
	border-radius: 4px;
	background: var(--c);
	box-shadow: 0 0 14px var(--c);
	transform: scaleY(0);
	transition: transform .4s var(--ease-spring);
}

.usv-subj.is-on {
	background: rgba(255, 255, 255, .08);
}

.usv-subj.is-on::before {
	transform: scaleY(1);
}

.usv-subj .usv-3d {
	width: 50px;
	height: 50px;
	filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35));
	transition: transform .5s var(--ease-spring);
}

.usv-subj.is-on .usv-3d,
.usv-subj:hover .usv-3d {
	transform: translateY(-3px) rotate(-8deg) scale(1.12);
}

.usv-subj b {
	display: block;
	font-size: 15px;
	line-height: 1.25;
}

.usv-subj small {
	display: block;
	margin-top: 2px;
	color: rgba(255, 255, 255, .6);
	font-size: 13px;
	line-height: 1.35;
}

.usv-mega__detail {
	position: relative;
	padding: 18px 22px;
	border-radius: 22px;
	background: rgba(255, 255, 255, .045);
	border: 1px solid rgba(255, 255, 255, .07);
	overflow: hidden;
}

.usv-courses {
	display: none;
}

.usv-courses.is-on {
	display: block;
}

.usv-courses__title {
	margin: 0 0 12px;
	font: 700 22px/1.2 var(--font-display);
	color: var(--c);
	text-shadow: 0 0 24px color-mix(in srgb, var(--c) 50%, transparent);
}

.usv-courses ul {
	display: grid;
	gap: 2px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.usv-courses li {
	animation: usv-in-left .5s var(--ease-out) both;
	animation-delay: calc(var(--i) * 45ms);
}

.usv-courses li a,
.usv-courses__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background .25s, padding .3s var(--ease-out);
}

.usv-courses li a .usv-ic {
	width: 18px;
	height: 18px;
	opacity: 0;
	color: var(--c);
	transform: translateX(-8px);
	transition: opacity .25s, transform .35s var(--ease-spring);
}

.usv-courses li a:hover {
	padding-left: 18px;
	background: rgba(255, 255, 255, .07);
}

.usv-courses li a:hover .usv-ic {
	opacity: 1;
	transform: none;
}

.usv-courses__all {
	display: inline-flex;
	color: var(--c);
	padding-left: 12px;
}

@keyframes usv-in-left {
	from { opacity: 0; transform: translateX(-14px); }
	to { opacity: 1; transform: none; }
}

.usv-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px 20px;
	border-radius: 22px;
	background:
		radial-gradient(220px 160px at 80% 0%, rgba(255, 126, 182, .45), transparent 70%),
		linear-gradient(160deg, #4545da, #66346e);
	overflow: hidden;
}

.usv-promo__img {
	position: absolute;
	right: -6px;
	top: 6px;
	width: 92px;
	height: auto;
	filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35));
	animation: usv-bob 3.6s ease-in-out infinite;
}

.usv-promo__kicker {
	max-width: 130px;
	margin: 0 0 56px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #ffd9ea;
}

.usv-promo__title {
	margin: 0 0 8px;
	font: 700 21px/1.2 var(--font-display);
}

.usv-promo__text {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
	line-height: 1.5;
}

.usv-promo .usv-cta {
	margin-top: auto;
}

@keyframes usv-bob {
	0%, 100% { transform: translateY(0) rotate(-4deg); }
	50% { transform: translateY(-10px) rotate(4deg); }
}

/* by class */
.usv-mega__panel--class {
	position: relative;
	min-height: 360px;
}

.usv-mega__ask {
	margin: 0 0 14px;
	font: 700 20px/1.2 var(--font-display);
}

.usv-mega__ask span {
	margin-left: 8px;
	color: var(--gold);
	font: 700 14px var(--font-body);
}

.usv-classline {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
}

.usv-classline__n {
	position: relative;
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid var(--glass-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	font-weight: 800;
	font-size: 15px;
	cursor: pointer;
	transition: transform .35s var(--ease-spring), background .25s, color .25s, box-shadow .3s;
}

.usv-classline__n:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, .12);
}

.usv-classline__n[aria-checked="true"] {
	background: linear-gradient(135deg, #ffe07a, var(--gold-2));
	border-color: transparent;
	color: #2a1450;
	transform: scale(1.12);
	box-shadow: 0 10px 24px -8px rgba(255, 178, 31, .9);
}

.usv-classline__n--word {
	font-size: 13px;
	padding: 0 14px;
}

.usv-byclass {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0 0 4px;
	list-style: none;
}

.usv-byclass li {
	animation: usv-pop .45s var(--ease-spring) both;
	animation-delay: calc(var(--n, 0) * 35ms);
}

.usv-byclass li[hidden] {
	display: none;
}

.usv-byclass a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 10px 14px 10px 10px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 16px;
	background: rgba(255, 255, 255, .045);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	transition: background .25s, border-color .25s, transform .35s var(--ease-spring);
}

.usv-byclass a:hover {
	transform: translateY(-3px);
	border-color: var(--c);
	background: rgba(255, 255, 255, .08);
}

.usv-byclass .usv-3d {
	width: 38px;
	height: 38px;
}

.usv-byclass small {
	display: block;
	color: var(--c);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

@keyframes usv-pop {
	from { opacity: 0; transform: scale(.92) translateY(8px); }
	to { opacity: 1; transform: none; }
}

.usv-mega__foot {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 18px -22px 0;
	padding: 14px 22px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	background: rgba(0, 0, 0, .18);
	border-radius: 0 0 30px 30px;
	color: rgba(255, 255, 255, .75);
	font-size: 14px;
}

.usv-mega__place {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.usv-mega__place .usv-ic {
	width: 17px;
	height: 17px;
	color: var(--gold);
}

.usv-mega__place b {
	color: #fff;
}

.usv-mega__place em,
.usv-mobile__contact em {
	padding: 2px 8px;
	border-radius: 999px;
	background: #ff7eb6;
	color: #2a0a1c;
	font-style: normal;
	font-weight: 800;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* 11.11 Нели: „По-светъл фон на падащото меню - струва ми се много тъмен нюанс“. The panel is now light
   (white and lavender glass like the light sections of the site); the subject colors are darkened so the
   course titles read well on white. The promo card stays colorful. */
.usv-mega {
	border-color: rgba(214, 206, 250, .9);
	background:
		radial-gradient(520px 280px at var(--gx, 30%) var(--gy, 0%), rgba(143, 123, 255, .14), transparent 70%),
		linear-gradient(160deg, rgba(255, 255, 255, .97), rgba(244, 241, 255, .97));
	box-shadow: 0 40px 90px -34px rgba(20, 14, 70, .55), inset 0 1px 0 #fff;
	color: var(--ink);
	scrollbar-color: rgba(29, 18, 69, .25) transparent;
}

.usv-mega__glow {
	opacity: 0;
}

/* the promo card stays dark violet, so its text stays white */
.usv-mega .usv-promo {
	color: #fff;
}

.usv-mega__hint {
	color: var(--ink-2);
}

.usv-tabs {
	border-color: #e3defa;
	background: #f1eeff;
}

.usv-tabs button {
	color: #5b5590;
}

.usv-subj.is-on {
	background: #fff;
	box-shadow: 0 10px 24px -16px rgba(40, 30, 120, .45), inset 0 0 0 1px #ece8fb;
}

.usv-subj:hover:not(.is-on) {
	background: rgba(255, 255, 255, .7);
}

.usv-subj .usv-3d {
	filter: drop-shadow(0 8px 10px rgba(40, 30, 120, .22));
}

.usv-subj b {
	color: var(--ink);
}

.usv-subj small {
	color: var(--ink-2);
}

.usv-mega__detail {
	border-color: #ebe7fb;
	background: #fff;
	box-shadow: 0 18px 40px -30px rgba(40, 30, 120, .45);
}

.usv-courses__title {
	color: color-mix(in srgb, var(--c) 55%, #1d1245);
	text-shadow: none;
}

.usv-courses li a {
	color: var(--ink);
}

.usv-courses li a:hover {
	background: color-mix(in srgb, var(--c) 12%, #fff);
}

.usv-courses li a .usv-ic,
.usv-courses__all {
	color: color-mix(in srgb, var(--c) 55%, #1d1245);
}

.usv-mega__ask {
	color: var(--ink);
}

.usv-mega__ask span {
	color: #b77a00;
}

.usv-classline__n {
	border-color: #e3defa;
	background: #f6f4ff;
	color: var(--ink);
}

.usv-classline__n:hover {
	background: #ebe7ff;
}

.usv-byclass a {
	border-color: #ece8fb;
	background: #fff;
	color: var(--ink);
}

.usv-byclass a:hover {
	background: #faf9ff;
}

.usv-byclass small {
	color: color-mix(in srgb, var(--c) 55%, #1d1245);
}

.usv-mega__foot {
	border-top-color: #ece8fb;
	background: #f4f1ff;
	color: var(--ink-2);
}

.usv-mega__place .usv-ic {
	color: #e09a00;
}

.usv-mega__place b {
	color: var(--ink);
}

/* 08.11: short desktop screens (laptops at 125-150% zoom are 600-730 px tall): a compact panel that fits */
@media (min-width: 1100px) and (max-height: 820px) {
	.usv-mega {
		padding-top: 16px;
	}

	.usv-mega__head {
		margin-bottom: 12px;
	}

	.usv-mega__panel--subj,
	.usv-mega__panel--class {
		min-height: 0;
	}

	.usv-subjects {
		gap: 2px;
	}

	.usv-subj {
		padding-top: 4px;
		padding-bottom: 4px;
	}

	.usv-subj .usv-3d {
		width: 40px;
		height: 40px;
	}

	.usv-mega__foot {
		margin-top: 12px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

@media (min-width: 1100px) and (max-height: 700px) {
	.usv-subj small {
		display: none;
	}

	.usv-courses li a,
	.usv-courses__all {
		padding-top: 7px;
		padding-bottom: 7px;
	}

	.usv-mega__detail {
		padding-top: 14px;
		padding-bottom: 12px;
	}
}

.usv-scrim {
	position: fixed;
	inset: 0;
	z-index: 55;
	background: rgba(4, 3, 18, .5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s, visibility 0s .45s;
}

.usv-scrim.is-on {
	opacity: 1;
	visibility: visible;
	transition: opacity .45s;
}

/* 5. Mobile menu ----------------------------------------------------------- */
.usv-mobile {
	position: fixed;
	inset: 0;
	z-index: 58;
	overflow-y: auto;
	overscroll-behavior: contain;
	background:
		radial-gradient(600px 400px at 100% 0%, rgba(111, 155, 255, .25), transparent 70%),
		radial-gradient(500px 400px at 0% 100%, rgba(255, 126, 182, .18), transparent 70%),
		linear-gradient(180deg, var(--night-2), var(--night-0));
	clip-path: circle(0 at var(--mx, calc(100% - 44px)) var(--my, 44px));
	visibility: hidden;
	transition: clip-path .7s var(--ease-out), visibility 0s .7s;
}

.usv-mobile.is-open {
	clip-path: circle(160% at var(--mx, calc(100% - 44px)) var(--my, 44px));
	visibility: visible;
	transition: clip-path .75s var(--ease-out), visibility 0s;
}

.usv-mobile__inner {
	max-width: 560px;
	margin: 0 auto;
	padding: 96px 20px 40px;
}

.usv-mobile__label {
	margin: 22px 0 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
}

.usv-mobile__label:first-child {
	margin-top: 0;
}

.usv-mobile__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usv-mobile__grid a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 6px 12px;
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
	text-decoration: none;
	font-weight: 800;
	font-size: 14px;
	text-align: center;
}

.usv-mobile__grid .usv-3d {
	width: 46px;
	height: 46px;
	filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35));
}

.usv-mobile__grid li,
.usv-mobile__links li {
	opacity: 0;
	transform: translateY(18px) scale(.96);
	transition: opacity .5s, transform .6s var(--ease-spring);
}

.usv-mobile.is-open .usv-mobile__grid li,
.usv-mobile.is-open .usv-mobile__links li {
	opacity: 1;
	transform: none;
	transition-delay: calc(.15s + var(--i) * 50ms);
}

.usv-classline--mobile {
	flex-wrap: nowrap;
	margin: 0 -20px 14px;
	padding: 4px 20px 8px;
	overflow-x: auto;
	scrollbar-width: none;
}

.usv-classline--mobile::-webkit-scrollbar {
	display: none;
}

.usv-classline--mobile .usv-classline__n {
	flex: none;
}

.usv-byclass--mobile {
	grid-template-columns: 1fr;
}

.usv-mobile__links {
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.usv-mobile__links a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	font: 700 22px/1.2 var(--font-display);
	text-decoration: none;
}

.usv-mobile__contact {
	display: grid;
	gap: 10px;
	margin: 24px 0;
	color: rgba(255, 255, 255, .78);
	font-size: 15px;
}

.usv-mobile__contact a,
.usv-mobile__contact span {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.usv-mobile__contact a {
	font-weight: 800;
	font-size: 18px;
	color: #fff;
}

.usv-mobile__contact .usv-ic {
	color: var(--gold);
}

/* 6. Hero ------------------------------------------------------------------ */
.usv-hero {
	--mx: 0;
	--my: 0;
	position: relative;
	min-height: max(700px, 100vh);
	min-height: max(700px, 100svh);
	overflow: hidden;
	isolation: isolate;
	/* 07.11 Нели: less black, more deep blue and violet, with some white light */
	background:
		radial-gradient(760px 560px at 72% 44%, rgba(255, 255, 255, .13) 0%, rgba(205, 195, 255, .09) 30%, rgba(205, 195, 255, 0) 62%),
		radial-gradient(520px 300px at 30% 8%, rgba(235, 240, 255, .08) 0%, rgba(235, 240, 255, 0) 70%),
		radial-gradient(1200px 820px at 72% 46%, #3d2c9e 0%, rgba(61, 44, 158, 0) 64%),
		radial-gradient(900px 700px at 0% 100%, #5b2c92 0%, rgba(91, 44, 146, 0) 62%),
		radial-gradient(1000px 640px at 8% 0%, #20409f 0%, rgba(32, 64, 159, 0) 62%),
		linear-gradient(180deg, #131d63 0%, #1c1868 50%, #2b1b7a 100%);
}

/* clouds at the bottom: from space down into the light page */
.usv-hero__clouds {
	--cy: 0;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 3;
	height: 160px;
	pointer-events: none;
}

.usv-cl {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	animation: usv-cloud-in 1.8s var(--ease-out) both;
}

.usv-cl--back {
	fill: #cfc4ff;
	opacity: .55;
	transform: translateY(calc(var(--cy) * -0.08px));
	animation-delay: .1s;
}

.usv-cl--mid {
	fill: #ece7ff;
	filter: drop-shadow(0 -10px 24px rgba(120, 100, 230, .25));
	transform: translateY(calc(var(--cy) * -0.04px));
	animation-delay: .25s;
}

.usv-cl--front {
	fill: #fff;
	filter: drop-shadow(0 -8px 22px rgba(120, 100, 230, .22));
	animation-delay: .4s;
}

@keyframes usv-cloud-in {
	from { translate: 0 60px; opacity: 0; }
}

/* Variant for comparison (?oblaci=ne -> body.usv-v-arc, 07.11 Нели се колебае за облачетата):
   instead of the cloud bank a bright horizon arc - the light page curves into space with a glowing rim.
   The footer gets the same arc upside down. */
.usv-arc {
	display: none;
}

.usv-v-arc .usv-cl,
.usv-v-arc .usv-fcl {
	display: none;
}

.usv-v-arc .usv-arc {
	--arc: 130px; /* how high the arc rises in the middle */
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;
	width: max(820px, 210vw);
	aspect-ratio: 3 / 1;
	border-radius: 50%;
	background: var(--paper);
	transform: translate(-50%, calc(100% - var(--arc)));
	box-shadow:
		0 0 0 1.5px rgba(255, 255, 255, .95),
		0 -4px 18px 2px rgba(222, 214, 255, .95),
		0 -24px 70px 14px rgba(165, 145, 255, .6),
		0 -70px 190px 50px rgba(120, 100, 255, .32);
	animation: usv-cloud-in 1.8s var(--ease-out) both;
}

.usv-v-arc .usv-arc--down {
	top: 0;
	bottom: auto;
	transform: translate(-50%, calc(var(--arc) - 100%));
	box-shadow:
		0 0 0 1.5px rgba(255, 255, 255, .95),
		0 4px 18px 2px rgba(222, 214, 255, .95),
		0 24px 70px 14px rgba(165, 145, 255, .6),
		0 70px 190px 50px rgba(120, 100, 255, .32);
	animation: none;
}

.usv-hero__sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.usv-hero__aurora {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .55;
	mix-blend-mode: screen;
	transition: background-color 1.4s;
	animation: usv-drift 18s ease-in-out infinite alternate;
}

.usv-hero__aurora--a {
	width: 46vw;
	height: 46vw;
	right: 6%;
	top: 6%;
	background: color-mix(in srgb, var(--accent) 40%, #2b1a70);
}

.usv-hero__aurora--b {
	width: 30vw;
	height: 30vw;
	left: -6%;
	top: 20%;
	background: #4545da;
	opacity: .35;
	animation-duration: 23s;
}

.usv-hero__aurora--c {
	width: 26vw;
	height: 26vw;
	left: 38%;
	bottom: -10%;
	background: color-mix(in srgb, var(--accent) 30%, #66346e);
	opacity: .4;
	animation-duration: 27s;
}

@keyframes usv-drift {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(4vw, -3vw) scale(1.15); }
}

.usv-shoot {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 140px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
	transform: rotate(-25deg) translateX(0);
	opacity: 0;
	animation: usv-shoot 18s linear infinite;
	animation-delay: var(--t);
}

@keyframes usv-shoot {
	0% { opacity: 0; transform: rotate(-25deg) translateX(-60px); }
	1% { opacity: 1; }
	4% { opacity: 0; transform: rotate(-25deg) translateX(420px); }
	100% { opacity: 0; transform: rotate(-25deg) translateX(420px); }
}

.usv-hero__canvas {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none;
	opacity: 0;
	transition: opacity 1.2s var(--ease-out);
}

.usv-hero.is-ready .usv-hero__canvas {
	opacity: 1;
}

/* invisible circle over the globe (placed by hero.js): turns the globe with mouse or finger */
.usv-hero__grab {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 3;
	width: 0;
	height: 0;
	border-radius: 50%;
	touch-action: none;
	cursor: grab;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	user-select: none;
}

.usv-hero.is-dragging .usv-hero__grab {
	cursor: grabbing;
}

.usv-hero--nogl .usv-hero__grab {
	display: none;
}

/* floating 3D decor with mouse parallax */
.usv-hero__decor {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.usv-float {
	position: absolute;
	height: auto;
	translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px);
	filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45));
	animation: usv-bob 6s ease-in-out infinite;
	transition: translate .6s var(--ease-out);
}

.usv-float--rocket {
	width: 74px;
	left: 47%;
	top: 15%;
	rotate: 28deg;
	animation-duration: 4.2s;
}

.usv-float--planet {
	width: 120px;
	right: 3%;
	bottom: 24%;
	animation-duration: 8s;
}

.usv-float--sat {
	width: 104px;
	left: 48%;
	bottom: 26%;
	animation-duration: 7s;
	animation-delay: -2s;
}

.usv-float--star {
	width: 36px;
	left: 41%;
	top: 30%;
	animation: usv-twinkle 3s ease-in-out infinite;
}

.usv-float--cloud {
	width: 110px;
	right: 12%;
	top: 64%;
	opacity: .8;
	animation-duration: 9s;
}

@keyframes usv-twinkle {
	0%, 100% { transform: scale(.85) rotate(0); opacity: .8; }
	50% { transform: scale(1.1) rotate(18deg); opacity: 1; }
}

/* pins on the globe (positioned by hero.js) */
.usv-hero__pins,
.usv-hero__fx {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.usv-hero__fx {
	z-index: 2;
	overflow: hidden;
}

.usv-pin {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s;
	will-change: transform;
}

.usv-pin.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* the active pin's label stays above the neighbouring pins (Madrid - Paris - London are close) */
.usv-pin.is-active { z-index: 2; }
.usv-pin:hover { z-index: 3; }

/* the active pin stands on a stem above its country, so the glowing country shows;
   it lets the pointer through, so the globe can be grabbed in the middle */
.usv-pin.is-active,
.usv-pin--home.is-visible {
	pointer-events: none;
}

.usv-pin::before {
	content: "";
	position: absolute;
	left: -1px;
	bottom: 0;
	width: 2px;
	height: 0;
	border-radius: 2px;
	background: linear-gradient(to top, rgba(255, 255, 255, .1), #fff);
	transition: height .5s var(--ease-spring);
}

.usv-pin.is-active::before {
	height: 34px;
}

.usv-pin.is-active .usv-pin__dot,
.usv-pin.is-active .usv-pin__label {
	translate: 0 -36px;
}

.usv-pin__dot {
	position: relative;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 6px 18px rgba(0, 0, 0, .45);
	transition: transform .45s var(--ease-spring), translate .55s var(--ease-spring), box-shadow .3s;
}

.usv-pin__dot img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
}

.usv-pin__dot::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid var(--c);
	opacity: 0;
}

.usv-pin.is-active .usv-pin__dot {
	transform: scale(1.25);
	box-shadow: 0 0 0 3px var(--c), 0 0 26px 4px color-mix(in srgb, var(--c) 70%, transparent);
}

.usv-pin.is-active .usv-pin__dot::after {
	animation: usv-ping 1.8s var(--ease-out) infinite;
}

@keyframes usv-ping {
	from { transform: scale(.8); opacity: .9; }
	to { transform: scale(2.2); opacity: 0; }
}

.usv-pin__label {
	display: grid;
	padding: 6px 12px 6px 10px;
	margin-top: -15px;
	border-radius: 12px;
	background: rgba(12, 10, 40, .78);
	border: 1px solid rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: rgba(255, 255, 255, .7);
	font-size: 11px;
	line-height: 1.25;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(-8px) scale(.9);
	transform-origin: 0 50%;
	transition: opacity .3s, transform .4s var(--ease-spring), translate .55s var(--ease-spring);
}

.usv-pin__label b {
	color: #fff;
	font-size: 13px;
}

.usv-pin:hover .usv-pin__label,
.usv-pin.is-active .usv-pin__label {
	opacity: 1;
	transform: none;
}

.usv-pin--home .usv-pin__dot {
	background: linear-gradient(135deg, #ffe07a, var(--gold-2));
}

.usv-pin--home .usv-3d {
	width: 22px;
	height: 22px;
}

/* glyphs that fly out of the active country */
.usv-glyph {
	position: absolute;
	left: 0;
	top: 0;
	color: color-mix(in srgb, var(--accent) 65%, #fff);
	font: 700 var(--s, 22px)/1 var(--font-display);
	white-space: nowrap;
	text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 80%, transparent), 0 2px 0 rgba(0, 0, 0, .25);
	pointer-events: none;
	animation: usv-glyph var(--life, 3.4s) var(--ease-out) forwards;
}

@keyframes usv-glyph {
	0% { opacity: 0; transform: translate(var(--x0), var(--y0)) translate(-50%, -50%) scale(.2) rotate(0); }
	15% { opacity: 1; }
	70% { opacity: .9; }
	100% { opacity: 0; transform: translate(calc(var(--x0) + var(--dx)), calc(var(--y0) + var(--dy))) translate(-50%, -50%) scale(1) rotate(var(--r)); }
}

/* layout */
.usv-hero__inner {
	position: relative;
	z-index: 4; /* text and buttons stay above the clouds */
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 24px;
	max-width: 1400px;
	min-height: inherit;
	margin: 0 auto;
	padding: calc(var(--header-h) + 8px) 40px 118px;
	pointer-events: none;
}

.usv-hero__copy {
	display: grid;
	max-width: 620px;
	pointer-events: auto;
}

.usv-slide {
	grid-area: 1 / 1;
	align-self: center;
	visibility: hidden;
}

.usv-slide.is-active,
.usv-slide.is-leaving {
	visibility: visible;
}

.usv-slide__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 7px 16px 7px 7px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-weight: 800;
	font-size: 14px;
	color: rgba(255, 255, 255, .9);
}

.usv-slide__kicker img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .3);
}

.usv-slide__title {
	margin: 22px 0 18px;
	font: 700 clamp(34px, 4.1vw, 62px)/1.08 var(--font-display);
	letter-spacing: -.01em;
	text-wrap: balance;
}

.usv-slide__title em {
	font-style: normal;
	color: var(--accent);
	text-shadow: 0 0 34px color-mix(in srgb, var(--accent) 55%, transparent);
}

.usv-slide__title sub {
	font-size: .5em;
	vertical-align: -.15em;
	line-height: 0;
}

/* words are wrapped by hero.js: .w > span */
.usv-slide__title .w {
	display: inline-block;
	vertical-align: top;
}

.usv-slide__title .w > span {
	display: inline-block;
	transform: translateY(.45em) rotate(4deg);
	opacity: 0;
	filter: blur(8px);
	transition: transform .9s var(--ease-out), opacity .6s, filter .7s;
	transition-delay: calc(var(--i) * 42ms);
}

.usv-slide.is-active .usv-slide__title .w > span {
	transform: none;
	opacity: 1;
	filter: none;
}

.usv-slide.is-leaving .usv-slide__title .w > span {
	transform: translateY(-.4em) rotate(-3deg);
	opacity: 0;
	transition-duration: .45s, .3s, .4s;
	transition-delay: calc(var(--i) * 18ms);
}

.usv-slide__kicker,
.usv-slide__text,
.usv-slide__actions,
.usv-slide__fact {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s, transform .8s var(--ease-out);
}

.usv-slide.is-active .usv-slide__kicker,
.usv-slide.is-active .usv-slide__text,
.usv-slide.is-active .usv-slide__actions,
.usv-slide.is-active .usv-slide__fact {
	opacity: 1;
	transform: none;
}

.usv-slide.is-active .usv-slide__text { transition-delay: .25s; }
.usv-slide.is-active .usv-slide__actions { transition-delay: .35s; }
.usv-slide.is-active .usv-slide__fact { transition-delay: .45s; }

.usv-slide.is-leaving .usv-slide__kicker,
.usv-slide.is-leaving .usv-slide__text,
.usv-slide.is-leaving .usv-slide__actions,
.usv-slide.is-leaving .usv-slide__fact {
	opacity: 0;
	transform: translateY(-12px);
	transition-duration: .3s;
}

.usv-slide__text {
	margin: 0;
	max-width: 540px;
	color: rgba(255, 255, 255, .78);
	font-size: 18px;
	line-height: 1.65;
}

.usv-slide__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.usv-slide__fact {
	display: none;
	margin: 22px 0 0;
	padding: 12px 14px;
	border-left: 3px solid var(--accent);
	border-radius: 0 14px 14px 0;
	background: rgba(255, 255, 255, .06);
	color: rgba(255, 255, 255, .78);
	font-size: 15px;
}

.usv-slide__fact b {
	color: var(--accent);
}

/* globe stage (the canvas covers the whole hero; this box tells hero.js where the globe goes) */
.usv-hero__stage {
	position: relative;
	justify-self: center;
	width: min(100%, calc(100vh - 240px), 780px);
	width: min(100%, calc(100svh - 240px), 780px);
	aspect-ratio: 1;
}

.usv-hero__fallback {
	display: none;
}

.usv-hero--nogl .usv-hero__fallback {
	display: block;
	position: absolute;
	inset: 12%;
	border-radius: 50%;
	background: url("../globe/day-2048.webp") 0 50% / 200% 100% repeat-x;
	box-shadow: inset -40px -20px 80px rgba(0, 0, 0, .65), 0 0 80px rgba(111, 155, 255, .45);
	animation: usv-spin-map 60s linear infinite;
}

@keyframes usv-spin-map {
	to { background-position: -200% 50%; }
}

.usv-hero__hint {
	position: absolute;
	left: 50%;
	bottom: 15%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(12, 10, 40, .6);
	border: 1px solid rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 700;
	color: rgba(255, 255, 255, .85);
	white-space: nowrap;
	transform: translateX(-50%);
	transition: opacity .6s, transform .6s var(--ease-out);
}

.usv-hero__hint .usv-ic {
	width: 18px;
	height: 18px;
	color: var(--gold);
	animation: usv-wiggle 2.4s ease-in-out infinite;
}

.usv-hero__hint.is-gone {
	opacity: 0;
	transform: translate(-50%, 10px);
}

@keyframes usv-wiggle {
	0%, 100% { transform: translateX(0) rotate(0); }
	30% { transform: translateX(-5px) rotate(-10deg); }
	60% { transform: translateX(5px) rotate(10deg); }
}

/* postcard with a fact */
/* 11.11 Нели: the postcard a bit higher, so it covers less of the Earth. Above it is the header, so it is
   also a little smaller and its picture lower (16:10): its bottom edge is about 60 px higher than before. */
.usv-cards {
	position: absolute;
	right: -12%;
	top: 0;
	width: 232px;
	perspective: 900px;
	pointer-events: none;
}

.usv-card {
	position: absolute;
	inset: 0 0 auto;
	padding: 10px 10px 14px;
	border-radius: 22px;
	background: rgba(255, 255, 255, .94);
	color: #1d1640;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5);
	transform-origin: 50% 0;
	transform: rotateX(-80deg) translateY(-20px);
	opacity: 0;
	transition: transform .9s var(--ease-spring), opacity .4s;
}

.usv-card.is-active {
	transform: rotate(3deg);
	opacity: 1;
	transition-delay: .25s;
}

.usv-card.is-leaving {
	transform: rotateY(70deg) translateX(40px);
	opacity: 0;
	transition: transform .5s var(--ease-out), opacity .35s;
}

.usv-card__pic {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 70%, #fff), color-mix(in srgb, var(--accent) 35%, #2a1863));
}

.usv-card__pic > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 6s linear;
}

.usv-card.is-active .usv-card__pic > img {
	transform: scale(1);
}

.usv-card__pic--icon {
	display: grid;
	place-items: center;
}

.usv-card__pic--icon .usv-3d {
	width: 46%;
	height: auto;
	filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .35));
	animation: usv-bob 4s ease-in-out infinite;
}

.usv-card__stamp {
	position: absolute;
	right: 8px;
	top: 8px;
	display: grid;
	place-items: center;
	width: 46px;
	height: 54px;
	background: #fff;
	-webkit-mask: radial-gradient(circle 3px at 3px 3px, transparent 98%, #000) -3px -3px / 9px 9px;
	mask: radial-gradient(circle 3px at 3px 3px, transparent 98%, #000) -3px -3px / 9px 9px;
	rotate: 6deg;
}

.usv-card__stamp img {
	width: 34px;
	height: 40px;
	object-fit: cover;
	border-radius: 2px;
}

.usv-card__place {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(12, 10, 40, .72);
	color: #fff;
	font: 700 12px/1.3 var(--font-display);
}

.usv-card__fact {
	margin: 12px 6px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #3a3360;
}

.usv-card__fact b {
	display: block;
	margin-bottom: 2px;
	color: color-mix(in srgb, var(--accent) 60%, #2a1450);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* dock with the subjects */
.usv-dock-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	max-width: calc(100% - 32px);
	margin: 0 auto;
}

.usv-dock {
	display: flex;
	gap: 6px;
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 26px;
	background: rgba(24, 17, 66, .86);
	-webkit-backdrop-filter: blur(18px) saturate(150%);
	backdrop-filter: blur(18px) saturate(150%);
	box-shadow: 0 26px 50px -22px rgba(40, 20, 110, .55);
	overflow-x: auto;
	scrollbar-width: none;
}

.usv-dock::-webkit-scrollbar {
	display: none;
}

.usv-dock__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	padding: 6px 16px 6px 6px;
	border: 1px solid transparent;
	border-radius: 20px;
	background: none;
	font-weight: 800;
	font-size: 14px;
	color: rgba(255, 255, 255, .75);
	cursor: pointer;
	overflow: hidden;
	transition: background .3s, color .3s, border-color .3s;
}

.usv-dock__btn .usv-3d {
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4));
	transition: transform .5s var(--ease-spring);
}

.usv-dock__btn:hover {
	color: #fff;
	background: rgba(255, 255, 255, .06);
}

.usv-dock__btn:hover .usv-3d {
	transform: translateY(-4px) rotate(-8deg) scale(1.1);
}

.usv-dock__btn.is-active {
	color: #fff;
	background: linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, transparent), rgba(255, 255, 255, .06));
	border-color: color-mix(in srgb, var(--c) 60%, transparent);
	box-shadow: 0 0 24px -6px var(--c);
}

.usv-dock__btn.is-active .usv-3d {
	transform: scale(1.12) rotate(-6deg);
}

.usv-dock__bar {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 3px;
	height: 3px;
	border-radius: 3px;
	background: var(--c);
	transform: scaleX(0);
	transform-origin: 0 50%;
	opacity: 0;
}

.usv-dock__btn.is-active .usv-dock__bar {
	opacity: 1;
}

.usv-hero.is-autoplay .usv-dock__btn.is-active .usv-dock__bar {
	animation: usv-progress var(--dur, 7s) linear forwards;
}

@keyframes usv-progress {
	to { transform: scaleX(1); }
}

.usv-dock__pause {
	position: relative;
	display: grid;
	grid-auto-flow: column;
	place-content: center;
	gap: 4px;
	flex: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 50%;
	background: rgba(24, 17, 66, .86);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	cursor: pointer;
}

.usv-dock__pause i {
	width: 4px;
	height: 14px;
	border-radius: 2px;
	background: #fff;
}

.usv-dock__pause[aria-pressed="true"] i:first-child {
	width: 0;
	height: 0;
	border-radius: 0;
	background: none;
	border-left: 12px solid #fff;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	margin-left: 3px;
}

.usv-dock__pause[aria-pressed="true"] i:last-child {
	display: none;
}

/* 07.11 Нели питаше какво прави бутонът: подсказка при посочване (текстът е aria-label, сменя го hero.js) */
.usv-dock__pause::after {
	content: attr(aria-label);
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	padding: 7px 12px;
	border-radius: 12px;
	background: rgba(24, 17, 66, .92);
	box-shadow: 0 10px 24px -10px rgba(20, 10, 60, .6);
	color: #fff;
	font: 700 12px/1.2 var(--font-body);
	font-feature-settings: "locl" 0;
	white-space: nowrap;
	opacity: 0;
	translate: 0 4px;
	pointer-events: none;
	transition: opacity .25s, translate .25s;
}

.usv-dock__pause:hover::after,
.usv-dock__pause:focus-visible::after {
	opacity: 1;
	translate: 0 0;
}

/* 7. Shared headings + footer ----------------------------------------------- */
.usv-eyebrow {
	margin: 0 0 12px;
	color: var(--gold);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.usv-h2 {
	margin: 0 0 40px;
	font: 700 clamp(30px, 3.8vw, 54px)/1.1 var(--font-display);
	letter-spacing: -.01em;
	text-wrap: balance;
}

.usv-h2 em {
	font-style: normal;
	background: linear-gradient(90deg, var(--gold), #ff7eb6 55%, #6f9bff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* 9. Footer = the mirror of the hero ------------------------------------------
   light page -> clouds -> space with stars -> the Earth's horizon with a sunrise behind the wordmark */
.usv-footer {
	--cap: 230px;            /* how much of the Earth shows at the bottom */
	--earth: max(2000px, 165vw);
	--tile-h: 2000px;        /* the equirectangular map: 2:1 */
	--tile-w: calc(var(--tile-h) * 2);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: 250px 0 0;
	background:
		radial-gradient(1000px 460px at 50% 100%, #3d2c9e 0%, rgba(61, 44, 158, 0) 70%),
		radial-gradient(900px 700px at 100% 20%, #5b2c92 0%, rgba(91, 44, 146, 0) 62%),
		radial-gradient(1000px 640px at 0% 55%, #20409f 0%, rgba(32, 64, 159, 0) 62%),
		linear-gradient(180deg, #2b1b7a 0%, #1c1868 45%, #131d63 100%);
	color: rgba(255, 255, 255, .72);
	font-size: 15px;
}

.usv-footer__space {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.usv-footer__stars {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.usv-footer__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	mix-blend-mode: screen;
	animation: usv-drift 22s ease-in-out infinite alternate;
}

.usv-footer__glow--a {
	width: 40vw;
	height: 40vw;
	left: -10%;
	top: 24%;
	background: #4545da;
	opacity: .3;
}

.usv-footer__glow--b {
	width: 34vw;
	height: 34vw;
	right: -8%;
	top: 34%;
	background: #7b3fa8;
	opacity: .28;
	animation-duration: 27s;
}

.usv-footer__float {
	position: absolute;
	height: auto;
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
	animation: usv-ffloat 9s ease-in-out infinite alternate;
}

.usv-footer__float--planet {
	width: 124px;
	left: max(8px, calc(50% - 700px));
	bottom: calc(var(--cap) + 230px);
	--r: -10deg;
}

.usv-footer__float--sat {
	width: 190px;
	right: max(8px, calc(50% - 760px));
	bottom: calc(var(--cap) + 20px);
	--r: 7deg;
	animation-duration: 11s;
}

.usv-footer__float--star {
	width: 46px;
	left: 47%;
	top: 230px;
	--r: 18deg;
	animation-duration: 7s;
}

@keyframes usv-ffloat {
	from { transform: translateY(0) rotate(0); }
	to { transform: translateY(-18px) rotate(var(--r)); }
}

/* the hero's clouds, flipped: they hang from the white page above */
.usv-footer__clouds {
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	z-index: 1;
	height: 170px;
	pointer-events: none;
}

.usv-fcl {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.usv-fcl--back {
	fill: #cfc4ff;
	opacity: .5;
}

.usv-fcl--mid {
	fill: #ece7ff;
	filter: drop-shadow(0 10px 24px rgba(120, 100, 230, .25));
}

.usv-fcl--front {
	fill: var(--paper);
	filter: drop-shadow(0 8px 22px rgba(120, 100, 230, .22));
}

.usv-footer__inner {
	position: relative;
	z-index: 2;
}

.usv-footer__top {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.25fr;
	gap: 40px;
}

/* 11.11 Нели: „логото трябва да бъде също по-голямо и видимо“ - about 45% bigger, with the glow of the header logo */
.usv-footer__brand img {
	width: min(335px, 100%);
	height: auto;
	filter: drop-shadow(0 2px 16px rgba(150, 130, 255, .5));
}

.usv-footer__brand p {
	max-width: 300px;
	margin: 18px 0 22px;
}

.usv-footer__social {
	display: flex;
	gap: 10px;
}

.usv-footer__social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .07);
	color: #fff;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background .3s, color .3s, border-color .3s, box-shadow .3s, transform .4s var(--ease-spring);
}

.usv-footer__social a:hover {
	transform: translateY(-3px) rotate(-8deg);
	border-color: transparent;
	background: var(--gold);
	color: var(--ink);
	box-shadow: 0 10px 26px -8px rgba(255, 200, 69, .65);
}

.usv-footer__h {
	margin: 0 0 16px;
	color: #fff;
	font: 700 16px/1.2 var(--font-display);
}

.usv-footer__col {
	display: grid;
	align-content: start;
	gap: 4px;
}

.usv-footer__col a,
.usv-footer__col span {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 0;
	text-decoration: none;
	transition: color .25s, translate .35s var(--ease-spring);
}

.usv-footer__col a:hover {
	color: #fff;
	translate: 4px 0;
}

.usv-footer__col a > i {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c, #7b5cff);
	transform: scale(.6);
	transition: transform .35s var(--ease-spring);
}

.usv-footer__col a:hover > i {
	transform: scale(1.3);
}

.usv-footer__col .usv-ic {
	width: 18px;
	height: 18px;
	color: var(--gold);
}

/* the world: wordmark over the Earth's horizon, the sun rising behind it */
.usv-footer__world {
	position: relative;
	z-index: 2;
	margin-top: 90px;
	padding-bottom: var(--cap);
}

/* every letter glows (white -> lavender -> sunrise gold), a light sweeps across, and the pointer adds a spotlight */
.usv-footer__word {
	--fx: -400px;
	--fy: 50%;
	position: relative;
	z-index: 3;
	margin: 0 0 22px;
	/* 07.11 Нели: „дали трябва да е така голям“, so about 60% of the first size */
	font: 800 clamp(34px, 6vw, 104px)/.92 var(--font-display);
	letter-spacing: -.03em;
	text-align: center;
	white-space: nowrap;
	color: transparent;
	background:
		radial-gradient(220px circle at var(--fx) var(--fy), #fff 0%, rgba(255, 255, 255, 0) 70%),
		linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 58%),
		linear-gradient(180deg, #fff 6%, #ebe5ff 44%, #ffd36b 86%, #ffb84a 100%);
	background-repeat: no-repeat;
	background-size: 100% 100%, 260% 100%, 100% 100%;
	background-position: 0 0, 160% 0, 0 0;
	-webkit-background-clip: text;
	background-clip: text;
	filter: drop-shadow(0 0 26px rgba(255, 196, 92, .3)) drop-shadow(0 8px 34px rgba(120, 100, 255, .35));
	animation: usv-word-shine 8s ease-in-out infinite;
	user-select: none;
}

@keyframes usv-word-shine {
	0%, 55% { background-position: 0 0, 160% 0, 0 0; }
	85%, 100% { background-position: 0 0, -60% 0, 0 0; }
}

/* 22.11 Нели: the time in the cities of the globe, over the Earth (footer.php + menu.js).
   Glass chips in a row that bends like the horizon; the dot is the subject's colour, a crescent at night. */
.usv-clocks {
	position: relative;
	z-index: 3;
	margin: 0 auto 34px;
	padding: 0 16px;
	text-align: center;
}

.usv-clocks__h {
	margin: 0 0 14px;
	font: 700 12px/1.2 var(--font-display);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
}

.usv-clocks__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usv-clocks__list li {
	transform: translateY(var(--arc, 0));
}

.usv-clocks__list a {
	display: grid;
	justify-items: center;
	gap: 2px;
	min-width: 118px;
	padding: 10px 16px 11px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 14px 30px -18px rgba(6, 5, 26, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
	color: #fff;
	text-decoration: none;
	transition: transform .25s, border-color .25s, box-shadow .25s;
}

.usv-clocks__list a:hover,
.usv-clocks__list a:focus-visible {
	transform: translateY(-3px);
	border-color: var(--c);
	box-shadow: 0 16px 34px -16px var(--c), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.usv-clocks__city {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, .82);
}

.usv-clocks__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 10px var(--c);
}

/* the crescent: the same colour, cut by an inner shadow */
.is-night .usv-clocks__dot {
	background: transparent;
	box-shadow: inset -3px -1px 0 0 var(--c);
	transform: rotate(-20deg);
}

.usv-clocks__time {
	font: 800 24px/1.1 var(--font-display);
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
}

.usv-clocks__subj {
	font-size: 11.5px;
	color: var(--c);
	filter: brightness(1.15);
}

.usv-footer__sun {
	position: absolute;
	left: 50%;
	bottom: calc(var(--cap) - 150px);
	z-index: 2;
	width: min(1200px, 130vw);
	height: 380px;
	transform: translateX(-50%);
	background:
		radial-gradient(closest-side, rgba(255, 236, 190, .55), rgba(255, 190, 100, .22) 45%, rgba(255, 160, 90, 0) 100%);
	mix-blend-mode: screen;
	pointer-events: none;
	animation: usv-sun 9s ease-in-out infinite alternate;
}

/* the glint where the sun touches the horizon */
.usv-footer__sun::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 46%;
	height: 34px;
	border-radius: 50%;
	transform: translate(-50%, -6px);
	background: radial-gradient(closest-side, #fffaf0, rgba(255, 214, 120, .7) 40%, rgba(255, 190, 90, 0));
	filter: blur(5px);
}

@keyframes usv-sun {
	to { opacity: .8; transform: translateX(-50%) scale(1.06); }
}

/* the Earth from orbit: a huge disc, only its top shows. Night side with the city lights,
   day colours near the sunrise, clouds, the blue atmosphere on the rim; it turns slowly (west -> east) */
.usv-earth {
	position: absolute;
	left: 50%;
	top: calc(100% - var(--cap));
	z-index: 1;
	width: var(--earth);
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	transform: translateX(-50%);
	background: #071434;
	box-shadow:
		0 0 0 1.5px rgba(175, 210, 255, .8),
		0 -6px 26px 2px rgba(120, 170, 255, .6),
		0 -26px 90px 20px rgba(90, 130, 255, .32),
		0 -70px 220px 70px rgba(111, 90, 255, .16);
}

.usv-earth > i {
	position: absolute;
	inset: 0;
}

.usv-earth__night::before,
.usv-earth__day::before,
.usv-earth__clouds::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: calc(var(--tile-w) * 2);
	height: calc(var(--cap) + 60px);
	background-repeat: repeat-x;
	/* the textures are only the band 61°N..23°N of the map (tools/assets/earth_band.py), so they stay sharp;
	   ~57°N sits at the horizon: Europe and the Mediterranean */
	background-size: var(--tile-w) calc(var(--tile-h) * .21);
	background-position: 0 calc(var(--tile-h) * -.02);
	will-change: transform;
	animation: usv-earth-spin 900s linear infinite;
	animation-delay: -680s; /* start over Europe */
}

/* NASA Black Marble / Blue Marble: 4096 px for normal screens, 8192 px for retina */
.usv-earth__night::before {
	background-image: url(../globe/earth-night-4k.webp);
	background-image: image-set(url(../globe/earth-night-4k.webp) 1x, url(../globe/earth-night-8k.webp) 2x);
}

/* the day side only around the sunrise: the mask sits on the still wrapper, the map turns under it */
.usv-earth__day,
.usv-earth__clouds {
	-webkit-mask-image: radial-gradient(ellipse min(46vw, 640px) 260px at 50% 0, #000 20%, transparent 100%);
	mask-image: radial-gradient(ellipse min(46vw, 640px) 260px at 50% 0, #000 20%, transparent 100%);
}

.usv-earth__clouds {
	-webkit-mask-image: radial-gradient(ellipse min(70vw, 1000px) 300px at 50% 0, #000 30%, transparent 100%);
	mask-image: radial-gradient(ellipse min(70vw, 1000px) 300px at 50% 0, #000 30%, transparent 100%);
	mix-blend-mode: screen;
	opacity: .42;
}

.usv-earth__day::before {
	background-image: url(../globe/earth-day-4k.webp);
	background-image: image-set(url(../globe/earth-day-4k.webp) 1x, url(../globe/earth-day-8k.webp) 2x);
}

.usv-earth__clouds::before {
	background-image: url(../globe/earth-clouds.webp);
	animation-duration: 640s;
	animation-delay: -480s;
}

/* atmosphere haze on the rim, darker further in (the copyright line sits there) */
.usv-earth__shade {
	background:
		linear-gradient(180deg, rgba(160, 200, 255, .55) 0, rgba(120, 170, 255, .16) 18px, rgba(120, 170, 255, 0) 70px),
		linear-gradient(180deg, rgba(6, 5, 26, 0) 70px, rgba(6, 5, 26, .62) var(--cap));
}

@keyframes usv-earth-spin {
	from { transform: translateX(calc(var(--tile-w) * -1)); }
	to { transform: translateX(0); }
}

/* the textures load only when the footer comes near (menu.js adds .is-near); without JS they load at once */
.usv-js .usv-footer:not(.is-near) .usv-earth > i::before {
	background-image: none;
}

.usv-footer__bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 22px;
	padding-right: 76px; /* 22.11: the „back to top“ button sits there, the credit stays clear of it */
	color: rgba(255, 255, 255, .6);
	font-size: 13px;
	text-shadow: 0 1px 8px rgba(6, 5, 26, .8);
}

/* back to the top (11.11 Нели: „в долния край да излиза една стрелка ... да се връщаш най-горе“).
   It sits above the bottom bar of the course pages and above the „Съдържание“ button of the articles. */
.usv-totop {
	position: fixed;
	right: 22px;
	bottom: calc(22px + env(safe-area-inset-bottom, 0px));
	z-index: 45;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #3b2a9a, #1d1245 70%);
	box-shadow: 0 18px 36px -14px rgba(20, 12, 70, .75), inset 0 1px 0 rgba(255, 255, 255, .12);
	color: #ffd84a;
	opacity: 0;
	visibility: hidden;
	transform: translateY(24px) scale(.8);
	transition: opacity .35s, transform .5s var(--ease-spring), visibility 0s .5s, bottom .45s var(--ease-out);
}

.usv-totop.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .35s, transform .5s var(--ease-spring), visibility 0s, bottom .45s var(--ease-out);
}

.usv-totop__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.usv-totop__ring circle {
	fill: none;
	stroke: rgba(255, 255, 255, .14);
	stroke-width: 2.5;
}

.usv-totop__ring .usv-totop__done {
	stroke: #ffd84a;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: calc(1 - var(--p, 0));
}

.usv-totop__arrow {
	position: relative;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .35s var(--ease-spring);
}

.usv-totop:hover .usv-totop__arrow,
.usv-totop:focus-visible .usv-totop__arrow {
	transform: translateY(-3px);
}

.usv-totop:focus-visible {
	outline: 3px solid #ffd84a;
	outline-offset: 3px;
}

.usv-totop.is-go .usv-totop__arrow {
	animation: usv-totop-go .7s var(--ease-out);
}

@keyframes usv-totop-go {
	45% { transform: translateY(-26px); opacity: 0; }
	46% { transform: translateY(18px); opacity: 0; }
	100% { transform: none; opacity: 1; }
}

/* keep clear of the fixed bars of other pages */
body:has(.crs-bar.is-on) .usv-totop {
	bottom: calc(98px + env(safe-area-inset-bottom, 0px));
}

body:has(.bl-tocfab.is-on) .usv-totop {
	bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 640px) {
	.usv-totop {
		right: 14px;
		bottom: calc(14px + env(safe-area-inset-bottom, 0px));
		width: 50px;
		height: 50px;
	}

	body:has(.bl-tocfab.is-on) .usv-totop {
		bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}

	body:has(.crs-bar.is-on) .usv-totop {
		bottom: calc(92px + env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.usv-totop,
	.usv-totop.is-on {
		transition: opacity .2s, visibility 0s;
		transform: none;
	}

	.usv-totop.is-go .usv-totop__arrow {
		animation: none;
	}
}

@media print {
	.usv-totop {
		display: none;
	}
}

/* the three documents (as in the footer of the current site) */
.usv-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
}

.usv-footer__legal a {
	color: inherit;
	text-decoration: none;
	transition: color .2s;
}

.usv-footer__legal a:hover,
.usv-footer__legal a:focus-visible {
	color: #fff;
}

/* 22.11: who made the site */
.usv-footer__made a {
	color: rgba(255, 255, 255, .88);
	font-weight: 600;
	text-decoration: none;
	transition: color .2s;
}

.usv-footer__made a:hover,
.usv-footer__made a:focus-visible {
	color: #ffd84a;
}

/* 22.11: under ~1200 px the clocks reach the satellite's spot, so it flies higher, in the space over the columns */
@media (max-width: 1199px) and (min-width: 641px) {
	.usv-footer__float--sat {
		width: 130px;
		top: 130px;
		bottom: auto;
		right: 18px;
	}
}

@media (max-width: 1099px) {
	.usv-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.usv-footer__float--planet,
	.usv-footer__float--star {
		display: none;
	}
}

@media (max-width: 640px) {
	.usv-footer {
		--cap: 150px;
		--earth: 1300px;
		--tile-h: 1200px;
		padding-top: 180px;
	}

	.usv-footer__clouds {
		height: 120px;
	}

	/* the phone's map is 2400 px wide: the 4096 px textures are enough */
	.usv-earth__night::before {
		background-image: url(../globe/earth-night-4k.webp);
	}

	.usv-earth__day::before {
		background-image: url(../globe/earth-day-4k.webp);
	}

	.usv-footer__top {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.usv-footer__world {
		margin-top: 64px;
	}

	.usv-footer__word {
		font-size: 14vw;
		line-height: .95;
		white-space: normal;
	}

	.usv-footer__word span {
		display: block;
	}

	/* 11.11: higher, so it stays clear of the bigger logo */
	.usv-footer__float--sat {
		width: 104px;
		top: 92px;
		bottom: auto;
		right: 12px;
	}

	.usv-footer__bottom {
		flex-direction: column;
		gap: 2px;
		padding-right: 64px;
	}

	/* the clocks: 3 x 2, straight */
	.usv-clocks {
		margin-bottom: 26px;
	}

	.usv-clocks__list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.usv-clocks__list li {
		transform: none;
	}

	.usv-clocks__list a {
		min-width: 0;
		padding: 8px 6px 9px;
		border-radius: 14px;
	}

	.usv-clocks__city {
		font-size: 12px;
		gap: 5px;
	}

	.usv-clocks__time {
		font-size: 20px;
	}

	.usv-clocks__subj {
		font-size: 10.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.usv-footer__float,
	.usv-footer__glow,
	.usv-footer__word,
	.usv-footer__sun,
	.usv-earth > i::before {
		animation-play-state: paused;
	}
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1279px) {
	.usv-phone__num {
		display: none;
	}

	.usv-phone {
		padding: 0;
	}

	.usv-nav__link {
		padding: 10px 14px;
	}
}

@media (max-width: 1099px) {
	:root {
		--header-h: 78px;
	}

	.usv-nav,
	.usv-mega,
	.usv-scrim {
		display: none;
	}

	.usv-burger {
		display: block;
	}

	.usv-header {
		padding: 10px 12px 0;
	}

	.usv-header__bar {
		grid-template-columns: auto 1fr;
		height: 60px;
		padding: 0 8px 0 14px;
	}

	.usv-logo img,
	.usv-header.is-scrolled .usv-logo img {
		height: 42px;
	}

	.usv-header.is-mobile-open .usv-header__bar {
		background: transparent;
		border-color: transparent;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.usv-cards {
		display: none;
	}

	.usv-slide__fact {
		display: block;
	}

	/* globe on top, the subject dock right under it, then the text */
	.usv-hero {
		--stage: min(calc(100vw - 44px), 50vh, 520px);
	}

	.usv-hero__inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding: calc(var(--header-h) + 4px) 22px 140px;
		align-content: start;
	}

	.usv-hero__clouds {
		height: 150px;
	}

	.usv-hero__stage {
		order: -1;
		width: var(--stage);
	}

	.usv-hero__copy {
		max-width: 640px;
		margin-top: 84px;
	}

	.usv-dock-wrap {
		top: calc(var(--header-h) + 4px + var(--stage) + 12px);
		bottom: auto;
	}

	.usv-float--rocket { left: 6%; top: 14%; width: 54px; }
	.usv-float--sat { left: auto; right: 4%; top: 36%; bottom: auto; width: 78px; }
	.usv-float--planet { width: 80px; right: auto; left: -14px; top: 40%; bottom: auto; }
	.usv-float--star { left: auto; right: 7%; top: 14%; }
	.usv-float--cloud { display: none; }
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.usv-header__actions .usv-cta {
		padding: 10px 14px;
		font-size: 14px;
	}

	.usv-phone__ic {
		width: 44px;
		height: 44px;
	}

	.usv-slide__title {
		margin: 16px 0 12px;
		font-size: clamp(28px, 8.4vw, 38px);
	}

	.usv-slide__text {
		font-size: 16px;
	}

	.usv-slide__kicker {
		font-size: 13px;
	}

	.usv-slide__actions {
		margin-top: 22px;
	}

	.usv-slide__actions .usv-cta--lg {
		flex: 1 1 100%;
		padding: 16px 20px;
	}

	.usv-slide__actions .usv-ghost {
		flex: 1 1 100%;
		justify-content: center;
		padding: 13px 20px;
	}

	.usv-hero {
		--stage: min(calc(100vw - 24px), 46vh, 420px);
	}

	.usv-hero__copy {
		margin-top: 78px;
	}

	.usv-hero__inner {
		padding-bottom: 136px;
	}

	.usv-hero__clouds {
		height: 112px;
	}

	.usv-slide__fact {
		display: none;
	}

	.usv-hero__hint {
		bottom: 0;
		font-size: 12px;
	}

	.usv-dock-wrap {
		left: 0;
		width: 100%;
		max-width: none;
		padding: 0 12px;
	}

	.usv-dock {
		flex: 1;
		border-radius: 22px;
	}

	.usv-dock__btn {
		padding: 5px 12px 5px 5px;
		font-size: 13px;
	}

	.usv-dock__btn .usv-3d {
		width: 34px;
		height: 34px;
	}

	.usv-mobile__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 380px) {
	.usv-header__actions .usv-cta {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
}
