/* Новая главная SBL-Group (палитра Алины, 19.10.2026) */
:root {
	--sbl-0: #f7f7f7;
	--sbl-1: #c7e2ec;
	--sbl-2: #add6eb;
	--sbl-3: #62b0df;
	--sbl-4: #1b8dd1;
	--sbl-5: #0279bd;
	--sbl-6: #015182;
	--sbl-7: #033860;
	--sbl-8: #002a4a;
	--sbl-9: #021534;
	--sbl-text: #1c2a3a;
	--sbl-muted: #5b6b7c;
}

.indexpage {
	background: #fff;
	color: var(--sbl-text);
	overflow-x: hidden;
}

.indexpage main {
	margin-top: 0 !important;
}

/* ---------- Шапка и первый экран ---------- */
.indexpage .header-inner {
	position: relative;
	background: var(--sbl-9);
	color: #fff;
}

.indexpage .navbar-index-sbl {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	background: transparent;
	padding-top: 14px;
}

.indexpage .navbar-index-sbl .navbar-nav .nav-link {
	opacity: .9;
}

.indexpage .navbar-index-sbl .navbar-nav .nav-link:hover {
	opacity: 1;
	color: var(--sbl-2);
}

@media (max-width: 1199.75px) {
	.indexpage .header-inner nav.navbar-index-sbl,
	.indexpage .header-inner nav.navbar-index-sbl > .container-xl {
		min-height: 0 !important;
	}

	.indexpage .header-inner .navbar-collapse,
	.indexpage .header-inner .navbar-collapse.collapse.show {
		background: var(--sbl-7);
	}
}

.home-hero {
	position: relative;
	min-height: min(88vh, 820px);
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
}

.home-hero__video,
.home-hero__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero__placeholder {
	background:
		radial-gradient(60% 80% at 85% 30%, rgba(27, 141, 209, .55), transparent 70%),
		radial-gradient(50% 60% at 15% 90%, rgba(98, 176, 223, .25), transparent 70%),
		linear-gradient(135deg, var(--sbl-9) 0%, var(--sbl-7) 55%, var(--sbl-6) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 24px 32px;
}

.home-hero__placeholder span {
	font-size: 13px;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .55);
	border: 1px dashed rgba(255, 255, 255, .35);
	border-radius: 999px;
	padding: 6px 14px;
}

.home-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(2, 21, 52, .85) 0%, rgba(2, 21, 52, .55) 50%, rgba(2, 21, 52, .15) 100%);
}

.home-hero__content {
	position: relative;
	z-index: 2;
	padding-top: 120px;
	padding-bottom: 80px;
}

.home-hero__brand {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .06em;
	color: var(--sbl-2);
	margin-bottom: 14px;
}

.home-hero h1 {
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 20px;
}

.home-hero p {
	max-width: 640px;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, .88);
	margin-bottom: 32px;
}

/* ---------- Кнопки ---------- */
.home-btn {
	display: inline-block;
	padding: 14px 34px;
	border-radius: 999px;
	font-weight: 500;
	transition: background .2s, color .2s, transform .2s;
}

.home-btn--light {
	background: var(--sbl-4);
	color: #fff;
}

.home-btn--light:hover {
	background: var(--sbl-3);
	color: #fff;
	transform: translateY(-1px);
}

/* ---------- Общие блоки ---------- */
.home-section {
	padding: 88px 0;
}

.home-section--tint {
	background: var(--sbl-0);
}

.home-section--dark {
	background: linear-gradient(160deg, var(--sbl-9), var(--sbl-7));
	color: #fff;
}

.home-head {
	max-width: 720px;
	margin: 0 auto 48px;
	text-align: center;
}

.home-head p {
	font-weight: 400;
	font-size: 17px;
	color: var(--sbl-muted);
	margin: 0;
}

.home-section--dark .home-head p {
	color: var(--sbl-1);
}

.home-title {
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 700;
	color: var(--sbl-7);
	margin-bottom: 14px;
}

.home-section--dark .home-title {
	color: #fff;
}

.home-eyebrow {
	font-size: 15px;
	letter-spacing: .06em;
	color: var(--sbl-5);
	margin-bottom: 10px;
}

.home-lead {
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--sbl-muted);
}

.home-subtitle {
	font-size: 22px;
	font-weight: 700;
	color: var(--sbl-7);
	margin: 56px 0 20px;
}

/* Заглушка для фото */
.home-photo {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .35)),
		linear-gradient(135deg, var(--sbl-2), var(--sbl-3));
	display: flex;
	align-items: flex-end;
	padding: 12px 14px;
	overflow: hidden;
}

.home-photo::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	transform: translate(-50%, -60%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .8;
}

.home-photo span {
	position: relative;
	font-size: 12px;
	color: #fff;
	background: rgba(2, 21, 52, .35);
	border-radius: 999px;
	padding: 3px 10px;
}

.home-about-photos {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	grid-template-rows: 250px 190px;
	gap: 14px;
}

.home-about-photos .ap {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(2, 21, 52, .14);
}

/* дальний план — весь зал */
.home-about-photos .ap--wide {
	grid-column: 1;
	grid-row: 1;
	object-position: 50% 40%;
}

/* крупный план — лектор у трибуны */
.home-about-photos .ap--tall {
	grid-column: 2;
	grid-row: 1 / span 2;
	object-position: 38% 20%;
}

/* средний и ближний план — две маленькие под большой */
.home-about-photos .ap--mid,
.home-about-photos .ap--near {
	grid-row: 2;
}

.home-about-photos .ap--mid {
	grid-column: 1;
	width: calc(50% - 7px);
	object-position: 60% 50%;
}

.home-about-photos .ap--near {
	grid-column: 1;
	width: calc(50% - 7px);
	justify-self: end;
	object-position: 45% 40%;
}

/* ---------- 9 направлений ---------- */
.home-directions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.home-direction {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid #e3edf3;
	border-radius: 16px;
	padding: 20px 22px;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}

.home-direction:hover {
	border-color: var(--sbl-3);
	box-shadow: 0 10px 28px rgba(2, 81, 130, .12);
	transform: translateY(-2px);
}

.home-direction__icon {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--sbl-1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: var(--sbl-6);
}

.home-direction__icon img {
	width: 32px;
	height: 32px;
}

.home-direction__name {
	flex: 1;
	min-width: 0;
	font-size: 17px;
	color: var(--sbl-8);
}

.home-direction__more {
	font-size: 20px;
	font-weight: 400;
	color: var(--sbl-5);
	white-space: nowrap;
}

@media (min-width: 1200px) {
	.home-directions {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.home-direction {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		padding: 24px 12px 20px;
		gap: 12px;
		min-height: 160px;
	}

	.home-direction__name {
		flex: 0 0 auto;
		font-size: 16px;
	}

	.home-direction__more {
		display: none;
	}
}

/* ---------- Научные руководители ---------- */
.home-leaders {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.home-leader {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 20px 20px 16px;
	border-radius: 16px;
	background: var(--sbl-0);
	border: 1px solid #e3edf3;
}

.home-leader__direction {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--sbl-5);
	margin-bottom: 14px;
}

.home-leader__slide {
	display: none;
	flex: 1;
	flex-direction: column;
}

.home-leader__slide.is-active {
	display: flex;
	animation: leaderIn .3s ease;
}

@keyframes leaderIn {
	from { opacity: 0; transform: translateX(8px); }
	to { opacity: 1; transform: none; }
}

.home-leader__head {
	display: flex;
	gap: 16px;
	align-items: center;
}

.home-leader__photo {
	flex: 0 0 84px;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	background: linear-gradient(160deg, var(--sbl-1), var(--sbl-2));
	color: #fff;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(2, 81, 130, .15);
}

.home-leader__photo svg {
	width: 70px;
	height: 70px;
	margin-bottom: -6px;
}

.home-leader__body {
	min-width: 0;
}

.home-leader__tag {
	display: inline-block;
	font-size: 12px;
	color: var(--sbl-6);
	background: var(--sbl-1);
	border-radius: 999px;
	padding: 2px 10px;
	margin-bottom: 8px;
}

.home-leader__name {
	font-size: 17px;
	line-height: 1.3;
	color: var(--sbl-8);
}

.home-leader__name--soon {
	font-weight: 400;
	color: var(--sbl-muted);
}

.home-leader__role {
	font-size: 13px;
	font-weight: 400;
	color: var(--sbl-muted);
	margin-top: 4px;
}

/* регалии: 3 строки, остальное раскрывается */
.home-leader__regalia {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--sbl-muted);
	border-top: 1px solid #dde8ef;
	margin-top: 14px;
	padding-top: 12px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.home-leader__regalia.is-open {
	display: block;
	overflow: visible;
}

.home-leader__more {
	align-self: flex-start;
	border: 0;
	background: none;
	padding: 6px 0 0;
	font: inherit;
	font-size: 13px;
	color: var(--sbl-5);
	cursor: pointer;
}

.home-leader__more:hover {
	color: var(--sbl-4);
}

.home-leader__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 12px;
}

.home-leader__arrow {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: var(--sbl-5);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	padding: 0 0 3px;
	cursor: pointer;
	transition: background .2s;
}

.home-leader__arrow:hover {
	background: var(--sbl-4);
}

.home-leader__count {
	font-size: 13px;
	font-weight: 400;
	color: var(--sbl-muted);
	min-width: 36px;
	text-align: center;
}

.home-leader__count b {
	font-weight: 500;
	color: var(--sbl-8);
}

/* ---------- Мероприятия на неделю ---------- */
.home-events {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 900px;
	margin: 0 auto;
}

.home-event {
	display: flex;
	align-items: center;
	gap: 22px;
	background: #fff;
	border: 1px solid #e3edf3;
	border-radius: 16px;
	padding: 16px 24px 16px 16px;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}

.home-event:hover {
	border-color: var(--sbl-3);
	box-shadow: 0 10px 28px rgba(2, 81, 130, .12);
	transform: translateY(-2px);
}

.home-event__date {
	flex: 0 0 72px;
	text-align: center;
	border-radius: 12px;
	background: var(--sbl-7);
	color: var(--sbl-1);
	padding: 10px 0;
	font-size: 13px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.2;
}

.home-event__date b {
	display: block;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
}

.home-event__body {
	flex: 1;
	min-width: 0;
}

.home-event__meta {
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: var(--sbl-muted);
	margin-bottom: 4px;
}

.home-event__time {
	margin-left: 6px;
}

.home-event__time::before {
	content: "•";
	margin-right: 8px;
}

.home-event__title {
	display: block;
	font-size: 17px;
	color: var(--sbl-8);
}

.home-event__go {
	font-size: 22px;
	color: var(--sbl-5);
}

.home-events-empty {
	text-align: center;
	font-weight: 400;
	color: var(--sbl-muted);
}

/* ---------- Организация и площадки ---------- */
.home-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.home-card h3 {
	font-size: 19px;
	font-weight: 700;
	color: var(--sbl-7);
	margin: 18px 0 8px;
}

.home-card p {
	font-weight: 400;
	color: var(--sbl-muted);
	margin: 0;
}

.home-photo--card {
	aspect-ratio: 16 / 10;
}

.home-venues {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.home-venue {
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e3edf3;
	box-shadow: 0 8px 24px rgba(2, 81, 130, .06);
}

.home-venue__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.home-venue__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 24px;
	flex: 1;
}

.home-venue__body h4 {
	font-size: 22px;
	font-weight: 700;
	color: var(--sbl-7);
	margin: 0;
}

.home-venue__addr {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--sbl-5);
}

.home-venue__addr svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.home-venue__addr:hover {
	color: var(--sbl-4);
}

.home-venue__body p {
	font-weight: 400;
	line-height: 1.6;
	color: var(--sbl-muted);
	margin: 0;
}

.home-venue__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: auto 0 0;
	padding-top: 6px;
}

.home-venue__tags li {
	font-size: 12px;
	color: var(--sbl-6);
	background: var(--sbl-1);
	border-radius: 999px;
	padding: 4px 12px;
}

/* ---------- Почему выбирают нас ---------- */
.home-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
	max-width: 1100px;
	margin: 0 auto 56px;
	text-align: center;
}

.home-stats div {
	padding: 22px 12px;
	border: 1px solid rgba(173, 214, 235, .25);
	border-radius: 16px;
	background: rgba(255, 255, 255, .04);
}

.home-stats b {
	display: block;
	font-size: clamp(28px, 2.9vw, 38px);
	white-space: nowrap;
	color: var(--sbl-2);
	line-height: 1.1;
}

.home-stats span {
	font-weight: 400;
	color: var(--sbl-1);
}

.home-why {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px 48px;
}

.home-why__item {
	display: flex;
	gap: 20px;
}

.home-why__item svg {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	color: var(--sbl-3);
}

.home-why__item h3 {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 8px;
}

.home-why__item p {
	font-weight: 400;
	line-height: 1.65;
	color: var(--sbl-1);
	margin: 0;
}

/* ---------- Отзывы ---------- */
.home-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.home-review {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e3edf3;
	box-shadow: 0 8px 24px rgba(2, 81, 130, .06);
}

.home-review p {
	font-weight: 400;
	font-style: italic;
	line-height: 1.65;
	color: var(--sbl-muted);
	margin: 0;
}

.home-review__author {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 14px;
	font-weight: 400;
	color: var(--sbl-muted);
}

.home-review__author b {
	font-weight: 500;
	color: var(--sbl-8);
}

.home-review__ava {
	flex: 0 0 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sbl-2), var(--sbl-4));
}

/* ---------- Подвал на главной ---------- */
.indexpage .footer {
	background: var(--sbl-9) !important;
	color: var(--sbl-1);
}

.indexpage .footer a {
	color: var(--sbl-1);
}

/* ---------- Планшет и телефон ---------- */
@media (max-width: 991.98px) {
	.home-section {
		padding: 64px 0;
	}

	.home-directions,
	.home-leaders {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-cards {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin: 0 auto;
	}

	.home-venues {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		margin: 0 auto;
	}

	.home-leaders {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-why,
	.home-reviews {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.home-section {
		padding: 52px 0;
	}

	.home-hero {
		min-height: 78vh;
	}

	.home-hero p {
		font-size: 16px;
	}

	.home-directions {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-leaders {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-about-photos {
		grid-template-rows: 190px 150px;
		gap: 10px;
	}

	.home-event {
		gap: 14px;
		padding-right: 14px;
	}

	.home-event__go {
		display: none;
	}

	.home-stats {
		grid-template-columns: 1fr;
	}

	.home #webinarslider {
		padding: 0 36px;
	}
}


/* ---------- Площадки: при наведении показываем конференц-зал ---------- */
.home-venue__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--sbl-1);
}

.home-venue__media .home-venue__img {
	position: absolute;
	inset: 0;
	height: 100%;
	transition: opacity .6s ease, transform .8s ease;
}

.home-venue__img--hall {
	opacity: 0;
	transform: scale(1.06);
}

.home-venue__badge {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(2, 21, 52, .62);
	color: #fff;
	font-size: 13px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .5s ease .1s, transform .5s ease .1s;
}

.home-venue__media.has-hall {
	cursor: pointer;
}

@media (hover: hover) {
	.home-venue__media.has-hall:hover .home-venue__img:not(.home-venue__img--hall) {
		opacity: 0;
		transform: scale(1.04);
	}

	.home-venue__media.has-hall:hover .home-venue__img--hall {
		opacity: 1;
		transform: scale(1);
	}

	.home-venue__media.has-hall:hover .home-venue__badge {
		opacity: 1;
		transform: none;
	}
}

.home-venue__media.has-hall:focus-visible .home-venue__img:not(.home-venue__img--hall),
.home-venue__media.is-hall .home-venue__img:not(.home-venue__img--hall) {
	opacity: 0;
}

.home-venue__media.has-hall:focus-visible .home-venue__img--hall,
.home-venue__media.is-hall .home-venue__img--hall {
	opacity: 1;
	transform: scale(1);
}

.home-venue__media.is-hall .home-venue__badge {
	opacity: 1;
	transform: none;
}


/* ---------- Форматы мероприятий: большое фото и вкладки ---------- */
.home-section--formats {
	background: linear-gradient(180deg, #fff 0%, var(--sbl-0) 100%);
}

.fmt {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 40px;
	align-items: stretch;
}

.fmt__stage {
	position: relative;
	min-height: 520px;
	border-radius: 28px;
	overflow: hidden;
	background: var(--sbl-7);
	box-shadow: 0 24px 60px rgba(2, 53, 96, .22);
}

.fmt__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.12);
	clip-path: inset(0 0 0 100%);
	transition: opacity .9s ease, transform 7s ease-out, clip-path .9s cubic-bezier(.7, 0, .2, 1);
}

.fmt__img.is-active {
	opacity: 1;
	transform: scale(1);
	clip-path: inset(0 0 0 0);
	z-index: 1;
}

.fmt__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(2, 21, 52, 0) 55%, rgba(2, 21, 52, .55) 100%);
	pointer-events: none;
}

.fmt__counter {
	position: absolute;
	z-index: 3;
	left: 28px;
	bottom: 22px;
	color: rgba(255, 255, 255, .75);
	font-size: 15px;
	letter-spacing: .08em;
}

.fmt__counter b {
	font-size: 34px;
	color: #fff;
	font-weight: 700;
	margin-right: 4px;
}

.fmt__tabs {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
}

.fmt__tab {
	position: relative;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e3edf3;
	padding: 20px 26px;
	cursor: pointer;
	overflow: hidden;
	transition: box-shadow .3s, border-color .3s, background .3s;
}

.fmt__tab:hover {
	border-color: var(--sbl-3);
}

.fmt__tab.is-active {
	background: linear-gradient(135deg, var(--sbl-7), var(--sbl-6));
	border-color: transparent;
	box-shadow: 0 16px 40px rgba(2, 53, 96, .25);
	cursor: default;
}

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

.fmt__tab-head {
	display: flex;
	align-items: center;
	gap: 18px;
}

.fmt__num {
	font-size: 15px;
	font-weight: 500;
	color: var(--sbl-4);
	min-width: 26px;
}

.fmt__tab h3 {
	flex: 1;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--sbl-7);
	transition: color .3s;
}

.fmt__plus {
	position: relative;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
}

.fmt__plus::before,
.fmt__plus::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 2px;
	margin: -1px 0 0 -7px;
	border-radius: 1px;
	background: var(--sbl-4);
	transition: transform .35s, opacity .35s, background .3s;
}

.fmt__plus::after {
	transform: rotate(90deg);
}

.fmt__tab.is-active .fmt__num {
	color: var(--sbl-2);
}

.fmt__tab.is-active h3 {
	color: #fff;
}

.fmt__tab.is-active .fmt__plus::before,
.fmt__tab.is-active .fmt__plus::after {
	background: #fff;
}

.fmt__tab.is-active .fmt__plus::after {
	transform: rotate(0);
	opacity: 0;
}

/* раскрывающийся текст */
.fmt__tab-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .55s cubic-bezier(.3, .7, .2, 1);
}

.fmt__tab.is-active .fmt__tab-body {
	grid-template-rows: 1fr;
}

.fmt__tab-inner {
	overflow: hidden;
	min-height: 0;
}

.fmt__tab-inner p {
	margin: 16px 0 16px 44px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--sbl-1);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .5s .15s, transform .5s .15s;
}

.fmt__tab-inner ul {
	list-style: none;
	margin: 0 0 6px 44px;
	padding: 0 0 6px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fmt__tab-inner li {
	position: relative;
	padding-left: 34px;
	font-size: 15px;
	color: #fff;
	opacity: 0;
	transform: translateX(-14px);
	transition: opacity .45s, transform .45s;
}

.fmt__tab.is-active .fmt__tab-inner p {
	opacity: 1;
	transform: none;
}

.fmt__tab.is-active .fmt__tab-inner li {
	opacity: 1;
	transform: none;
}

.fmt__tab.is-active .fmt__tab-inner li:nth-child(1) { transition-delay: .3s; }
.fmt__tab.is-active .fmt__tab-inner li:nth-child(2) { transition-delay: .42s; }
.fmt__tab.is-active .fmt__tab-inner li:nth-child(3) { transition-delay: .54s; }

.fmt__tab-inner li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* полоска времени до следующего формата */
.fmt__bar {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 4px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: left;
	background: linear-gradient(90deg, var(--sbl-3), var(--sbl-2));
}

.fmt.is-running .fmt__tab.is-active .fmt__bar {
	animation: fmtBar 8s linear forwards;
}

.fmt.is-paused .fmt__tab.is-active .fmt__bar {
	animation-play-state: paused;
}

@keyframes fmtBar {
	to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
	.fmt__img,
	.fmt__tab-body,
	.fmt__tab-inner p,
	.fmt__tab-inner li { transition: none; }
	.fmt.is-running .fmt__tab.is-active .fmt__bar { animation: none; }
}

@media (max-width: 991.98px) {
	.fmt {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.fmt__stage {
		min-height: 0;
		aspect-ratio: 4 / 3;
		border-radius: 22px;
	}

	.fmt__tab {
		padding: 16px 18px;
	}

	.fmt__tab h3 {
		font-size: 16px;
	}

	.fmt__tab-inner p,
	.fmt__tab-inner ul {
		margin-left: 0;
	}
}
