/* Greenhouse — Website Under Construction (фон: static/img/background.jpg) */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #111;
	background: #c8c4bc;
}

.wrapper {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	height: 100vh;
	height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 16px;
	overflow: hidden;
}

.wrapper::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(rgba(245, 243, 240, 0.35), rgba(230, 226, 220, 0.45)),
		url("../img/background.jpg") center / cover no-repeat;
	filter: blur(18px);
	transform: scale(1.08);
}

.site-header {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: min(100%, 980px);
	color: #fff;
}

.site-header__hero {
	position: relative;
	min-height: 108px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 24px 24px;
	border-radius: 18px 18px 10px 10px;
	background:
		linear-gradient(135deg, rgba(8, 73, 146, 0.97), rgba(5, 40, 96, 0.97)),
		linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
	box-shadow:
		0 18px 34px rgba(15, 23, 42, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-header__hero::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%),
		radial-gradient(circle at 70% 70%, rgba(156, 205, 255, 0.18), transparent 58%);
	pointer-events: none;
}

.site-header__brand,
.site-header__aside {
	position: relative;
	z-index: 1;
}

.site-header__brand {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.site-header__logo {
	width: 88px;
	height: 88px;
	flex: 0 0 auto;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.site-header__copy {
	min-width: 0;
}

.site-header__title {
	font-size: clamp(1.65rem, 4vw, 2.45rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
}

.site-header__subtitle {
	margin-top: 4px;
	font-size: clamp(1rem, 2.2vw, 1.45rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	opacity: 0.92;
}

.site-header__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.language-switcher {
	display: flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(3, 22, 52, 0.34);
	backdrop-filter: blur(12px);
}

.language-switcher__button {
	min-width: 40px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, 0.76);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.language-switcher__button:hover {
	transform: translateY(-1px);
	color: #fff;
}

.language-switcher__button.is-active {
	background: #fff;
	color: #064991;
}

.site-nav {
	position: relative;
	z-index: 2;
	width: calc(100% - 72px);
	margin: -17px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px 12px;
	border: 1px solid rgba(47, 86, 147, 0.2);
	border-radius: 12px;
	background: rgba(246, 248, 255, 0.94);
	box-shadow:
		0 12px 24px rgba(15, 23, 42, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(16px);
}

.site-nav__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 13px;
	border-radius: 9px;
	color: #111936;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav__link:hover {
	transform: translateY(-1px);
	background: rgba(8, 73, 146, 0.08);
	color: #064991;
}

.site-nav__link.is-active {
	background: rgba(8, 73, 146, 0.12);
	color: #064991;
}

.ambassadors-strip {
	display: grid;
	grid-template-columns: minmax(118px, 1.45fr) repeat(4, minmax(68px, 1fr));
	align-items: center;
	gap: 6px;
	width: 100%;
	margin: 16px auto 0;
	padding-top: 2px;
}

.ambassadors-strip__label,
.ambassadors-strip__link {
	display: flex;
	align-items: center;
	min-height: 24px;
	color: #0f172a;
	font-size: clamp(0.68rem, 1.55vw, 0.78rem);
	line-height: 1.15;
	text-decoration: none;
	white-space: nowrap;
}

.ambassadors-strip__label {
	font-weight: 700;
}

.ambassadors-strip__link {
	justify-content: center;
	border-radius: 8px;
	font-weight: 700;
	letter-spacing: 0;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ambassadors-strip__link:hover {
	transform: translateY(-1px);
	color: #064991;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	width: 100%;
	max-width: 640px;
}

.modal {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow:
		0 24px 48px rgba(0, 0, 0, 0.12),
		0 8px 16px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.modal__images {
	flex: 1 1 auto;
	min-height: 0;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	background: #e8e6e3;
}

.modal__photo {
	flex: 1 1 auto;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.modal__logo {
	display: none;
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.modal__team {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	vertical-align: middle;
}

.content-modal {
	flex: 0 0 auto;
	padding: 20px 28px 24px;
	text-align: center;
}

.content-modal__title {
	margin: 0 0 12px;
	font-size: clamp(1.3rem, 3vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.content-modal__text {
	margin: 0 0 16px;
	font-size: 0.95rem;
	color: #333;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contacts-modal__label {
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 8px;
}

.contacts-modal__address {
	margin: 0 auto 10px;
	max-width: 100%;
	color: #333;
	font-size: 0.84rem;
	line-height: 1.35;
}

.contacts-modal__school {
	font-weight: 700;
	color: #111;
}

.contacts-modal__links {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 16px;
	font-size: 0.9rem;
}

.contacts-modal__links a {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.contacts-modal__links a:hover {
	opacity: 0.75;
}

.contacts-modal__socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.contacts-modal__socials a {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #111;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.contacts-modal__socials a:hover {
	transform: translateY(-2px);
	opacity: 0.88;
}

.--icon-telegram {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M21.95 3.48a1.07 1.07 0 00-1.12-.18L2.5 10.5c-.85.35-.84 1.6.02 1.92l4.9 1.72 1.9 6.1c.26.84 1.35.97 1.8.22l2.55-4.1 4.45 3.45c.72.56 1.76.1 1.95-.82L21.95 3.48z'/%3E%3C/svg%3E");
}

.--icon-facebook {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.5 22v-8.57h2.89l.55-3.43H13.5V8.28c0-.94.26-1.58 1.62-1.58h1.73V3.64c-.3-.04-1.33-.13-2.53-.13-2.5 0-4.21 1.52-4.21 4.32v2.14H7v3.43h2.11V22h4.39z'/%3E%3C/svg%3E");
}

.--icon-tik-tok {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16.6 5.82s.51.5 1.28.6v4.09a8.11 8.11 0 01-4.39-.89v5.27A6.91 6.91 0 0112 22a6.91 6.91 0 01-6.9-6.9 6.91 6.91 0 016.9-6.9c.7 0 1.37.11 2 .3V5.82h2.6zm-.88 8.16v-1.97a4.36 4.36 0 00-2-.47 4.32 4.32 0 00-4.32 4.32 4.32 4.32 0 004.32 4.32 4.32 4.32 0 004.32-4.32c0-.3-.03-.6-.08-.89z'/%3E%3C/svg%3E");
}

.--icon-instagram {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 2h10a5 5 0 015 5v10a5 5 0 01-5 5H7a5 5 0 01-5-5V7a5 5 0 015-5zm0 2a3 3 0 00-3 3v10a3 3 0 003 3h10a3 3 0 003-3V7a3 3 0 00-3-3H7zm11 1a1 1 0 110 2 1 1 0 010-2zM12 7a5 5 0 110 10 5 5 0 010-10zm0 2a3 3 0 100 6 3 3 0 000-6z'/%3E%3C/svg%3E");
}

.--icon-linkedin {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.5 8.77h-3v11.5h3V8.77zm-1.5-4.8c-.97 0-1.75.78-1.75 1.75S4.03 7.47 5 7.47s1.75-.78 1.75-1.75S5.97 3.97 5 3.97zm13.13 4.8c-2.14 0-3.45 1.17-4.03 2.01h-.06v-1.7h-3v11.5h3v-5.7c0-1.26.24-2.48 1.8-2.48 1.54 0 1.56 1.44 1.56 2.56v5.62h3V14.2c0-2.59-.56-4.43-3.27-4.43z'/%3E%3C/svg%3E");
}

.--icon-youtube {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M21.8 8.04a2.5 2.5 0 00-1.76-1.77C18.2 6 12 6 12 6s-6.2 0-8.04.27A2.5 2.5 0 002.2 8.04 26.27 26.27 0 002 12a26.27 26.27 0 00.2 3.96 2.5 2.5 0 001.76 1.77C5.8 18 12 18 12 18s6.2 0 8.04-.27a2.5 2.5 0 001.76-1.77A26.27 26.27 0 0022 12a26.27 26.27 0 00-.2-3.96zM10 15V9l5 3-5 3z'/%3E%3C/svg%3E");
}

@media (max-width: 600px) {
	.wrapper {
		height: auto;
		min-height: 100vh;
		min-height: 100svh;
		justify-content: flex-start;
		gap: 10px;
		padding: 10px;
		overflow: auto;
	}

	.site-header__hero {
		min-height: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 16px;
	}

	.site-header__brand {
		gap: 12px;
	}

	.site-header__logo {
		width: 66px;
		height: 66px;
	}

	.site-header__aside {
		align-items: stretch;
	}

	.language-switcher {
		justify-content: center;
	}

	.site-nav {
		width: calc(100% - 20px);
		justify-content: flex-start;
		overflow-x: auto;
		padding: 8px;
	}

	.site-nav__link {
		min-height: 34px;
		padding: 7px 11px;
		font-size: 0.82rem;
	}

	.ambassadors-strip {
		grid-template-columns: repeat(5, max-content);
		justify-content: flex-start;
		gap: 6px;
		margin-top: 14px;
		padding-top: 0;
		overflow-x: auto;
	}

	.ambassadors-strip__label {
		justify-content: flex-start;
	}

	.ambassadors-strip__link {
		min-height: 28px;
		font-size: 0.82rem;
	}

	.page {
		flex: 0 0 auto;
		min-height: 560px;
	}

	.content-modal {
		padding: 16px 18px 20px;
	}

	.modal__logo {
		width: 48px;
		height: 48px;
		top: 12px;
		left: 12px;
	}

	.contacts-modal__links {
		flex-direction: column;
		gap: 8px;
	}

}
