/* 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: -6%;
	z-index: 0;
	background:
		repeating-linear-gradient(
			115deg,
			rgba(255, 255, 255, 0.07) 0,
			rgba(255, 255, 255, 0.07) 46px,
			rgba(255, 255, 255, 0) 46px,
			rgba(255, 255, 255, 0) 130px
		),
		linear-gradient(180deg, rgba(196, 227, 244, 0.55), rgba(120, 176, 210, 0.45)),
		linear-gradient(120deg, #86bcdd 0%, #4f8fb6 38%, #2f6f97 62%, #4f8fb6 100%);
	background-size: 220% 220%, 100% 100%, 320% 320%;
	filter: blur(18px);
	transform: scale(1.08);
	animation: seaFlow 48s ease-in-out infinite alternate;
}

@keyframes seaFlow {
	0% {
		background-position: 0% 50%, 0% 0%, 0% 50%;
	}
	100% {
		background-position: 100% 50%, 0% 0%, 100% 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wrapper::before {
		animation: none;
	}
}

.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(100px, 1fr) repeat(4, minmax(80px, 1.3fr));
	align-items: center;
	gap: 12px;
	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;
}

.ambassadors-strip__logo {
	display: block;
	width: 100%;
	height: 40px;
	object-fit: contain;
	object-position: center;
}

.ambassadors-strip__logo--marelis {
	height: 58px;
}

.ambassadors-strip__logo--intresco {
	transform: translate(10px, 11px);
}

.ambassadors-strip__logo--bpg {
	transform: translateX(10px);
}

.ambassadors-strip__link:hover .ambassadors-strip__logo {
	opacity: 0.85;
}

.page {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	width: 100%;
	max-width: 640px;
	transition: max-width 0.2s ease;
}

.page--wide {
	max-width: 980px;
}

.panel {
	display: none;
	width: 100%;
	min-height: 0;
	height: 100%;
}

.panel.is-active {
	display: flex;
}

.courses-card,
.placeholder-card,
.team-card {
	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;
}

.courses-card__header {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid #e8ecf2;
}

.courses-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.courses-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.courses-tabs__button {
	flex: 1 1 180px;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid #c9d7ea;
	border-radius: 10px;
	background: #f4f7fc;
	color: #0f2f57;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.courses-tabs__button:hover {
	transform: translateY(-1px);
	background: #e8eef8;
}

.courses-tabs__button.is-active {
	background: #064991;
	border-color: #064991;
	color: #fff;
}

.courses-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 14px 16px 8px;
}

.courses-table-wrap {
	display: none;
}

.courses-table-wrap.is-active {
	display: block;
}

.courses-table-meta {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 8px;
}

.courses-table-meta--bottom {
	margin: 8px 0 0;
}

.courses-table-meta__note {
	font-size: 0.82rem;
	font-style: italic;
	color: #64748b;
}

.courses-table-scroll {
	width: 100%;
	overflow-x: auto;
}

.courses-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.courses-table th,
.courses-table td {
	padding: 10px 12px;
	border: 1px solid #cfd8e6;
	text-align: left;
	vertical-align: top;
}

.courses-table th {
	font-weight: 700;
	white-space: nowrap;
}

.courses-table td:nth-child(1),
.courses-table td:nth-child(4),
.courses-table td:nth-child(5) {
	white-space: nowrap;
}

.courses-table td:nth-child(2) {
	font-weight: 700;
	white-space: nowrap;
}

.courses-table__link {
	color: #064991;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.18s ease;
}

.courses-table__link:hover {
	color: #053a73;
}

.courses-table--special .courses-table__link {
	color: #166534;
}

.courses-table--special .courses-table__link:hover {
	color: #14532d;
}

.course-body .wrapper {
	height: auto;
	min-height: 100vh;
	min-height: 100svh;
	justify-content: flex-start;
	overflow: auto;
	padding: 18px 16px 28px;
}

.course-body .page {
	flex: 0 0 auto;
	height: auto;
}

.course-body .page--wide {
	max-width: 1200px;
}

.course-body .panel {
	height: auto;
}

.course-page {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: auto;
	min-height: 280px;
	padding: 20px 22px 28px;
	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);
}

.course-page__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.course-page__top .language-switcher {
	border-color: rgba(8, 73, 146, 0.18);
	background: #f4f7fc;
}

.course-page__top .language-switcher__button {
	color: #475569;
}

.course-page__top .language-switcher__button.is-active {
	background: #064991;
	color: #fff;
}

.course-page__back {
	color: #064991;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}

.course-page__back:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.course-page__title {
	margin: 0 0 18px;
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	font-weight: 700;
	color: #0f172a;
}

.course-page__content {
	flex: 1 1 auto;
	min-height: 180px;
}

.course-detail {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.course-inner-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.course-inner-tabs__button {
	flex: 1 1 180px;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid #c9d7ea;
	border-radius: 10px;
	background: #f4f7fc;
	color: #0f2f57;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.course-inner-tabs__button:hover {
	background: #e8eef8;
}

.course-inner-tabs__button.is-active {
	background: #064991;
	border-color: #064991;
	color: #fff;
}

.course-inner-panel {
	display: none;
	flex-direction: column;
	gap: 18px;
}

.course-inner-panel.is-active {
	display: flex;
}

.course-inner-panel .sched {
	padding: 8px 4px 10px;
}

.sched-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sched-switch__btn {
	flex: 1 1 220px;
	position: relative;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid #c9d7ea;
	border-radius: 10px;
	background: #f4f7fc;
	color: #0f2f57;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.sched-switch__btn:hover {
	background: #e8eef8;
}

.sched-switch__btn.is-active {
	background: #064991;
	border-color: #064991;
	color: #fff;
}

.sched-switch__btn--new {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-color: #f0a33a;
	background: #fff6e8;
	color: #8a4b06;
}

.sched-switch__btn--new:hover {
	background: #ffedd2;
}

.sched-switch__btn--new.is-active {
	background: #b9560a;
	border-color: #b9560a;
	color: #fff;
}

.sched-switch__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e8541a;
	box-shadow: 0 0 0 0 rgba(232, 84, 26, 0.6);
	animation: schedDotPulse 1.5s ease-out infinite;
}

.sched-switch__btn--new.is-active .sched-switch__dot {
	background: #ffd9a1;
	box-shadow: 0 0 0 0 rgba(255, 217, 161, 0.7);
	animation: schedDotPulseLight 1.5s ease-out infinite;
}

@keyframes schedDotPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(232, 84, 26, 0.6);
	}
	70% {
		box-shadow: 0 0 0 9px rgba(232, 84, 26, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(232, 84, 26, 0);
	}
}

@keyframes schedDotPulseLight {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 217, 161, 0.7);
	}
	70% {
		box-shadow: 0 0 0 9px rgba(255, 217, 161, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 217, 161, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sched-switch__dot {
		animation: none;
	}
}

.sched {
	padding: 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
}

.sched__header {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}

.sched__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.sched__title {
	margin: 0;
	padding: 6px 14px;
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
	text-transform: lowercase;
	background: #cfe8f7;
	border-radius: 4px;
	align-self: center;
}

.sched__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 110px;
}

.sched__logo {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.sched__group-label {
	margin: 6px 0 0;
	font-size: 0.78rem;
	color: #334155;
}

.sched__group-name {
	margin: 2px 0 0;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.sched__bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 10px;
}

.sched__year {
	font-size: 1.35rem;
	font-weight: 800;
	color: #0f172a;
}

.sched__bottom-center {
	text-align: center;
}

.sched__appendix {
	margin: 0;
	font-size: 0.84rem;
	color: #475569;
}

.sched__course {
	margin: 4px 0 0;
	font-size: 0.92rem;
	color: #0f172a;
	line-height: 1.35;
}

.sched__course strong {
	font-weight: 800;
}

.sched__bottom-spacer {
	display: block;
}

.sched__scroll {
	width: 100%;
	overflow-x: auto;
}

.sched-table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 0.8rem;
	line-height: 1.35;
}

.sched-col-date {
	width: 11%;
}

.sched-col-time {
	width: 11%;
}

.sched-col-no {
	width: 7%;
}

.sched-col-topic {
	width: auto;
}

.sched-col-hours {
	width: 7%;
}

.sched-col-teacher {
	width: 19%;
}

.sched-col-nego-week {
	width: 6.5%;
}

.sched-col-nego-time {
	width: 8%;
}

.sched-col-nego-mod {
	width: 7.5%;
}

.sched-col-nego-topic {
	width: 62%;
}

.sched-col-nego-hours {
	width: 5%;
}

.sched-col-nego-teacher {
	width: 11%;
}

.sched-table--nego {
	width: 100%;
	min-width: 0;
	font-size: 0.76rem;
	line-height: 1.22;
}

.sched-table--nego .sched-table__row--nego td {
	background: #e8f2ff;
}

.sched-table--nego .sched-table__row--nego-mod td {
	background: #fff;
	border-top: 2px solid #c5cedb;
}

.sched-table--nego .sched-table__topic {
	line-height: 1.24;
	padding-right: 14px;
}

.sched-table--nego .sched-table__mod-header-lead {
	padding: 4px;
	background: #fff;
}

.sched-table--nego .sched-table__module-banner {
	padding: 0;
	border-top: 2px solid #c5cedb;
	background: #fff;
	vertical-align: middle;
}

.sched-table--nego .sched-table__module-banner-inner {
	display: grid;
	grid-template-columns: 14.5% 7.5% 1fr;
	align-items: stretch;
	width: 100%;
	min-height: 34px;
}

.sched-table--nego .sched-table__module-banner-spacer {
	background: #fff;
}

.sched-table--nego .sched-table__module-no {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5efe3;
	font-size: 0.85rem;
	font-weight: 800;
}

.sched-table--nego .sched-table__module-text {
	display: flex;
	align-items: center;
	background: #d4dce8;
	padding: 6px 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.sched-table--nego .sched-table__head-mod {
	text-align: center;
	padding-left: 6px;
	padding-right: 10px;
}

.sched-table--nego .sched-table__head-topic {
	text-align: left;
	padding-left: 14px;
	padding-right: 10px;
}

.sched-table--nego .sched-table__row--nego-goal td {
	background: #e8f2ff;
	color: #dc2626;
	font-style: italic;
	line-height: 1.3;
}

.sched-table--nego .sched-table__mod,
.sched-table--nego .sched-table__no--nego {
	background: #f5efe3;
	text-align: center;
	vertical-align: middle;
	padding-left: 4px;
	padding-right: 4px;
}

.sched-table--nego .sched-table__time {
	text-align: right;
	white-space: nowrap;
	font-size: 0.74rem;
	line-height: 1.2;
}

.sched-table--nego .sched-table__hours {
	text-align: center;
	padding-left: 4px;
	padding-right: 4px;
}

.sched-table--nego .sched-table__row--nego td[rowspan] {
	text-align: center;
	vertical-align: middle;
	line-height: 1.25;
}

.sched-table--nego .sched-table__row--after td {
	background: #fff;
}

.sched-table__no--nego {
	color: #15803d;
}

.sched-table th,
.sched-table td {
	padding: 8px 9px;
	border: 1px solid #c5cedb;
	vertical-align: top;
	text-align: left;
}

.sched-table thead th {
	background: #334155;
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

.sched-table--nego th,
.sched-table--nego td {
	padding: 6px 7px;
}

.sched-table--nego thead th {
	white-space: normal;
	line-height: 1.15;
	font-size: 0.72rem;
	vertical-align: middle;
}

.sched-table__section td {
	font-weight: 700;
	color: #fff;
	text-align: center;
	letter-spacing: 0.02em;
}

.sched-table__section--prep td {
	background: #475569;
}

.sched-table__section--spec td {
	background: #3f6212;
}

.sched-table__row--prep td {
	background: #e8f2ff;
}

.sched-table__row--spec td {
	background: #f2f9e8;
}

.sched-table__row--oper td {
	background: #efe8fb;
}

.sched-table__row--chart td {
	background: #e8f5ef;
}

.sched-table__row--fin td {
	background: #fef9e7;
}

.sched-table__row--foot td {
	background: #f5efe3;
}

.sched-table__row--summary td,
.sched-table__row--total td {
	font-weight: 700;
}

.sched-table__no {
	font-weight: 800;
	color: #15803d;
	white-space: nowrap;
	text-align: center;
}

.sched-table__no--oper {
	color: #b91c1c;
}

.sched-table__no--chart {
	color: #b91c1c;
}

.sched-table__no--fin {
	color: #b45309;
}

.sched-table__hours {
	font-weight: 700;
	color: #1d4ed8;
	text-align: center;
	white-space: nowrap;
}

.sched-table__topic strong {
	display: inline;
	color: #0f172a;
}

.sched-table__row--after td {
	background: #fff;
	border-color: #e2e8f0;
	vertical-align: middle;
}

.sched-table__row--after-beige td {
	background: #f5efe3;
}

.sched-table__row--foot + .sched-table__row--after td {
	border-top: 2px solid #c5cedb;
}

.sched-table__row--total td {
	padding-top: 10px;
	padding-bottom: 10px;
}

.sched-table__row--notes td {
	padding: 0;
	border-top: none;
	vertical-align: top;
}

.sched-table__notes-wrap {
	padding: 12px 0 4px;
}

.sched-table__notes-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sched-table__notes-list li {
	position: relative;
	padding: 8px 9px 8px 1.35rem;
	font-size: 0.84rem;
	line-height: 1.4;
	color: #475569;
	border-top: 1px solid #e2e8f0;
}

.sched-table__notes-list li:first-child {
	border-top: none;
	padding-top: 4px;
}

.sched-table__notes-list li::before {
	content: "•";
	position: absolute;
	left: 9px;
	top: 8px;
	color: #475569;
}

.sched-table__notes-list li:first-child::before {
	top: 4px;
}

.sched-table__total-label {
	font-size: 0.84rem;
	line-height: 1.4;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
}

.sched__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding-top: 8px;
}

.sched__slogan {
	margin: 0;
	font-family: "Segoe Script", "Brush Script MT", "Comic Sans MS", cursive;
	font-size: clamp(1.4rem, 3.5vw, 2.2rem);
	line-height: 1.15;
	color: #5b9fd4;
	font-weight: 600;
}

.sched__qr-link {
	flex: 0 0 auto;
	line-height: 0;
}

.sched__qr {
	width: 120px;
	height: 120px;
	display: block;
}

@media (max-width: 700px) {
	.sched__top {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.sched__bottom {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.sched__year {
		order: 1;
	}

	.sched__bottom-center {
		order: 2;
	}

	.sched__bottom-spacer {
		display: none;
	}

	.sched__footer {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

.course-block {
	padding: 16px 16px 18px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
}

.course-block__title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.course-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.course-list li {
	position: relative;
	padding-left: 1.2rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #334155;
}

.course-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #064991;
}

.course-list--schedule li::before {
	background: #0f766e;
}

.course-steps {
	margin: 0;
	padding-left: 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #334155;
	font-size: 0.92rem;
	line-height: 1.45;
}

.course-steps li::marker {
	font-weight: 700;
	color: #064991;
}

.course-pricing {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.price-card {
	padding: 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #cfe0f5;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.price-card--company {
	border-color: #c7e8d4;
	background: #f7fcf8;
}

.price-card__badge {
	display: inline-flex;
	margin: 0 0 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #064991;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.price-card--company .price-card__badge {
	background: #166534;
}

.price-card__price {
	margin: 0 0 8px;
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.price-card__lead,
.price-card__note,
.price-card__subtitle,
.price-card__single {
	margin: 0 0 8px;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #334155;
}

.price-card__subtitle {
	margin-top: 10px;
	font-weight: 700;
	color: #0f172a;
}

.price-card__steps {
	margin: 0;
	padding-left: 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #334155;
	font-size: 0.92rem;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.course-pricing {
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
	}
}

.courses-table--main thead {
	background: #d9ebfb;
	color: #0f2f57;
}

.courses-table--main tbody tr:nth-child(even) {
	background: #f3f9ff;
}

.courses-table--special thead {
	background: #d9f2df;
	color: #14532d;
}

.courses-table--special tbody tr:nth-child(even) {
	background: #f3fbf5;
}

.courses-table--special td:nth-child(2) {
	color: #166534;
}

.courses-notes {
	list-style: none;
	margin: 0;
	padding: 12px 18px 4px;
	border-top: 1px solid #e8ecf2;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.courses-notes__item {
	display: grid;
	grid-template-columns: 2.2rem 1fr;
	gap: 8px;
	align-items: start;
	font-size: 0.84rem;
	line-height: 1.4;
	color: #334155;
}

.courses-notes__mark {
	font-weight: 700;
	color: #0f172a;
	text-align: right;
}

.courses-card__footer {
	display: flex;
	justify-content: center;
	padding: 12px 16px 16px;
	border-top: 1px solid #e8ecf2;
}

.courses-card__info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.courses-card__info:hover {
	background: #1e293b;
	transform: translateY(-1px);
}

.placeholder-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	padding: 48px 24px;
	color: #64748b;
	font-size: 1.05rem;
	font-weight: 600;
}

.team-card__header {
	padding: 16px 18px;
	border-bottom: 1px solid #e8ecf2;
}

.team-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.team-card__body {
	padding: 18px 20px 24px;
	overflow-y: auto;
}

.team-member__code {
	margin: 0 0 14px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #64748b;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.team-member__layout {
	display: grid;
	grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.team-member__photo {
	display: block;
	width: 100%;
	max-width: 240px;
	height: auto;
	border-radius: 10px;
	border: 1px solid #dbe3ef;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.team-member__role {
	margin: 0 0 4px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #064991;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.team-member__name {
	margin: 0 0 4px;
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

.team-member__company {
	margin: 0 0 14px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #334155;
}

.team-member__intro {
	margin: 0 0 16px;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #1e293b;
}

.team-member__section-title {
	margin: 0 0 10px;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f172a;
}

.team-member__list {
	margin: 0 0 16px;
	padding-left: 1.15rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #334155;
}

.team-member__list li + li {
	margin-top: 6px;
}

.team-member__note,
.team-member__text {
	margin: 0 0 16px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #334155;
}

.team-member__outro {
	margin-top: 4px;
}

.team-member__course-link {
	display: inline-flex;
	align-items: center;
	font-size: 0.92rem;
	font-weight: 700;
	color: #064991;
	text-decoration: none;
}

.team-member__course-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 700px) {
	.team-member__layout {
		grid-template-columns: 1fr;
	}

	.team-member__photo {
		max-width: 220px;
	}
}

.modal {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 0;
	background: #fff;
	border-radius: 16px;
	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__images--video {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	padding: 14px 14px 0;
	background: linear-gradient(135deg, #08346a, #05264f);
}

.modal__video {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-height: 320px;
	background: #000;
	line-height: 0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

.modal__video::before,
.modal__video::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 34px;
	z-index: 3;
	pointer-events: none;
}

.modal__video::before {
	left: 0;
	background: linear-gradient(to right, #08346a 0%, rgba(8, 52, 106, 0.85) 40%, rgba(8, 52, 106, 0) 100%);
}

.modal__video::after {
	right: 0;
	background: linear-gradient(to left, #08346a 0%, rgba(8, 52, 106, 0.85) 40%, rgba(8, 52, 106, 0) 100%);
}

.modal__video-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.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;
	}

	.page--wide {
		min-height: 70vh;
	}

	.courses-tabs__button {
		flex: 1 1 100%;
	}

	.content-modal {
		padding: 16px 18px 20px;
	}

	.modal__logo {
		width: 48px;
		height: 48px;
		top: 12px;
		left: 12px;
	}

	.contacts-modal__links {
		flex-direction: column;
		gap: 8px;
	}

}
