/* Главная: блок «Видео о компании» — обложка, без автозапуска; VK — iframe по клику */

.lf-cv {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Горизонтальные поля как у Hero (.lf-hero__gutter) */
.lf-cv__gutter {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px var(--lf-chrome-pad-x, clamp(18px, 3vw, 48px)) 32px;
}

.lf-cv__intro {
	text-align: center;
	font-family: "Rubik", system-ui, sans-serif;
	margin-bottom: 22px;
}

.lf-cv__heading {
	margin: 0;
	/* Figma: Academy 400, 48px, line-height 145%, letter-spacing 0.35px, center */
	font-family: "Academy", Georgia, "Times New Roman", serif;
	font-synthesis: none;
	font-weight: 400;
	font-style: normal;
	font-size: clamp(1.875rem, 3.5vw + 1rem, 3rem);
	line-height: 1.45;
	letter-spacing: 0.35px;
	text-align: center;
	color: #0f172a;
}

.lf-cv__sub,
.lf-cv__sub--html {
	margin: 12px auto 0;
	/* Figma Text-xl/500, 18_24: Rubik Medium, 18px, line-height 24px, letter-spacing 0, center */
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: clamp(1rem, 1.5vw + 0.75rem, 1.125rem);
	line-height: 1.333333;
	letter-spacing: 0;
	text-align: center;
	color: #475569;
	max-width: 40em;
}

.lf-cv__sub--html {
	margin-left: auto;
	margin-right: auto;
}

.lf-cv__sub--html p {
	margin: 0 0 0.65em;
	font: inherit;
}

.lf-cv__sub--html p:last-child {
	margin-bottom: 0;
}

/* На всю ширину «хрома», как .lf-hero__frame (без max-width).
   21:9 — ниже, чем 16:9 при той же ширине (~на четверть); видео с object-fit: cover заполняет рамку (края кадра могут обрезаться). */
.lf-cv__frame {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #0f172a;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.14);
	aspect-ratio: 21 / 9;
}

.lf-cv__file {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.lf-cv__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	vertical-align: top;
	background: #000;
}

.lf-cv__video--file {
	position: absolute;
	inset: 0;
	z-index: 0;
	object-fit: cover;
	object-position: center;
}

/* До старта: только кадр/постер, без UI; клик по кадру — воспроизведение */
.lf-cv__file:not(.lf-cv--playing) .lf-cv__video--file {
	cursor: pointer;
}

.lf-cv__file:not(.lf-cv--playing) .lf-cv__video--file::-webkit-media-controls {
	display: none !important;
}

.lf-cv__file:not(.lf-cv--playing) .lf-cv__video--file::-webkit-media-controls-enclosure {
	display: none !important;
}

.lf-cv__vk {
	position: absolute;
	inset: 0;
}

.lf-cv__stage {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0f172a;
}

.lf-cv__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lf-cv__poster--placeholder {
	background: linear-gradient(145deg, #1e293b 0%, #0f172a 55%, #1e3a5f 100%);
}

.lf-cv__play {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.lf-cv__play:hover,
.lf-cv__play:focus-visible {
	transform: scale(1.06);
	outline: none;
}

.lf-cv__play:focus-visible .lf-cv__play-icon circle {
	stroke-width: 3;
}

.lf-cv__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.lf-cv--playing .lf-cv__stage {
	background: #000;
}
