/* Cinematic Nexyro single-product homepage. */
@font-face {
	font-family: "Estedad";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/estedad/Estedad-Variable.woff2") format("woff2-variations");
}

.front-page-main {
	display: block;
}

.nexyro-cinematic-hero {
	background: #050506;
	color: var(--nexyro-paper);
	font-family: "Estedad", "Vazirmatn", Tahoma, Arial, sans-serif;
	overflow: hidden;
}

.nexyro-cinematic-hero__stage.nexyro-container {
	direction: ltr;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
	height: 780px;
	max-width: 1440px;
	padding: 0;
	width: 100%;
}

.nexyro-cinematic-hero__film {
	background: #050506 url("../videos/nexyro-product-hero-poster.png") center / cover no-repeat;
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.nexyro-cinematic-hero__video {
	display: block;
	height: 100%;
	opacity: 0;
	object-fit: cover;
	object-position: center;
	transition: opacity 240ms ease;
	width: 100%;
}

.nexyro-cinematic-hero.is-film-active .nexyro-cinematic-hero__video,
.nexyro-cinematic-hero.is-complete .nexyro-cinematic-hero__video {
	opacity: 1;
}

.nexyro-cinematic-hero__progress {
	background: rgba(245, 245, 243, 0.18);
	bottom: 22px;
	height: 2px;
	inset-inline: 28px;
	overflow: hidden;
	position: absolute;
}

.nexyro-cinematic-hero__progress span {
	background: var(--nexyro-orange);
	display: block;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	width: 100%;
}

.nexyro-cinematic-hero.is-complete .nexyro-cinematic-hero__progress span {
	transform: scaleX(1);
}

.nexyro-cinematic-hero__content {
	align-content: center;
	background: var(--nexyro-charcoal);
	direction: rtl;
	display: grid;
	padding: 64px 58px 64px 44px;
	text-align: right;
}

.nexyro-cinematic-hero__model {
	color: rgba(245, 245, 243, 0.62);
	font-size: 0.92rem;
	font-weight: 500;
	letter-spacing: 0;
	margin: 0 0 22px;
	text-align: right;
}

.nexyro-cinematic-hero h1 {
	color: var(--nexyro-panel);
	font-size: clamp(2.6rem, 4vw, 3.55rem);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.36;
	margin: 0;
	max-width: 590px;
	overflow-wrap: normal;
}

.nexyro-cinematic-hero__lead {
	color: rgba(245, 245, 243, 0.72);
	font-size: 1.06rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 2;
	margin: 22px 0 0;
	max-width: 560px;
}

.nexyro-cinematic-hero__meta {
	align-items: center;
	border-block: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	gap: 24px;
	justify-content: flex-start;
	margin-top: 34px;
	padding-block: 20px;
}

.nexyro-cinematic-hero__price {
	color: var(--nexyro-panel);
	font-size: 1.5rem;
	font-weight: 700;
	white-space: nowrap;
}

.nexyro-cinematic-hero__price del {
	color: rgba(245, 245, 243, 0.5);
	font-size: 0.72em;
}

.nexyro-cinematic-hero__price ins {
	text-decoration: none;
}

.nexyro-cinematic-hero__stock {
	align-items: center;
	color: rgba(245, 245, 243, 0.78);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 600;
	gap: 8px;
}

.nexyro-cinematic-hero__stock::before {
	background: var(--nexyro-accent-blue);
	border-radius: 50%;
	content: "";
	height: 8px;
	width: 8px;
}

.nexyro-cinematic-hero__stock--outofstock::before {
	background: var(--nexyro-error);
}

.nexyro-cinematic-hero__stock--onbackorder::before {
	background: var(--nexyro-orange);
}

.nexyro-cinematic-hero__actions {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 26px;
}

.nexyro-cinematic-hero__actions .nexyro-button {
	font-weight: 600;
	min-height: 56px;
	padding: 12px 18px;
	width: 100%;
}

.nexyro-cinematic-hero__actions .nexyro-button--secondary {
	background: transparent;
	border: 1px solid rgba(242, 107, 42, 0.82);
	color: var(--nexyro-panel);
}

.nexyro-cinematic-hero__actions .nexyro-button--secondary:hover,
.nexyro-cinematic-hero__actions .nexyro-button--secondary:focus-visible {
	background: rgba(242, 107, 42, 0.1);
	border-color: var(--nexyro-orange);
	color: var(--nexyro-panel);
}

.nexyro-cinematic-benefits {
	background: var(--nexyro-charcoal);
	border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.nexyro-cinematic-benefits__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding-block: 24px;
}

.nexyro-cinematic-benefit {
	display: grid;
	gap: 6px;
	min-width: 0;
	padding-inline: 22px;
	text-align: right;
}

.nexyro-cinematic-benefit + .nexyro-cinematic-benefit {
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.nexyro-cinematic-benefit strong {
	color: var(--nexyro-orange);
	font-size: 0.93rem;
	font-weight: 700;
}

.nexyro-cinematic-benefit span {
	color: rgba(245, 245, 243, 0.7);
	font-size: 0.83rem;
	font-weight: 400;
	line-height: 1.7;
}

.front-page-main .product-proof-section {
	background: var(--nexyro-paper);
	padding-block: 72px;
	scroll-margin-top: 72px;
}

.front-page-main .product-proof-section__inner {
	align-items: center;
	grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.front-page-main .product-proof-section__media {
	background: var(--nexyro-charcoal);
	border-radius: var(--nexyro-radius-card);
	box-shadow: var(--nexyro-shadow);
	overflow: hidden;
}

@media (max-width: 1080px) {
	.nexyro-cinematic-hero__stage.nexyro-container {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
		height: 700px;
	}

	.nexyro-cinematic-hero__content {
		padding: 48px 36px 48px 28px;
	}

	.nexyro-cinematic-hero h1 {
		font-size: 2.55rem;
	}
}

@media (max-width: 780px) {
	.nexyro-cinematic-hero__stage.nexyro-container {
		direction: rtl;
		grid-template-columns: 1fr;
		height: auto;
	}

	.nexyro-cinematic-hero__film {
		height: clamp(340px, 48svh, 430px);
		order: 1;
	}

	.nexyro-cinematic-hero__content {
		order: 2;
		padding: 34px 28px 40px;
	}

	.nexyro-cinematic-hero__model {
		margin-bottom: 14px;
	}

	.nexyro-cinematic-hero h1 {
		font-size: 2.18rem;
		line-height: 1.42;
	}

	.nexyro-cinematic-hero__lead {
		font-size: 1rem;
		line-height: 1.9;
		margin-top: 14px;
	}

	.nexyro-cinematic-hero__meta {
		margin-top: 24px;
	}

	.nexyro-cinematic-benefits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-block: 10px;
	}

	.nexyro-cinematic-benefit {
		padding: 16px 18px;
	}

	.nexyro-cinematic-benefit + .nexyro-cinematic-benefit {
		border-right: 0;
	}

	.nexyro-cinematic-benefit:nth-child(even) {
		border-right: 1px solid rgba(255, 255, 255, 0.12);
	}

	.nexyro-cinematic-benefit:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.front-page-main .product-proof-section__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.nexyro-cinematic-hero__film {
		height: 360px;
	}

	.nexyro-cinematic-hero__video {
		object-position: center;
	}

	.nexyro-cinematic-hero__progress {
		bottom: 14px;
		inset-inline: 20px;
	}

	.nexyro-cinematic-hero__content {
		padding: 24px 20px 28px;
	}

	.nexyro-cinematic-hero__model {
		font-size: 0.82rem;
		margin-bottom: 10px;
	}

	.nexyro-cinematic-hero h1 {
		font-size: 1.82rem;
	}

	.nexyro-cinematic-hero__lead {
		font-size: 0.96rem;
		line-height: 1.85;
	}

	.nexyro-cinematic-hero__meta {
		gap: 16px;
		margin-top: 18px;
		padding-block: 16px;
	}

	.nexyro-cinematic-hero__price {
		font-size: 1.3rem;
	}

	.nexyro-cinematic-hero__actions {
		margin-top: 18px;
	}

	.nexyro-cinematic-hero__actions .nexyro-button {
		font-size: 0.86rem;
		line-height: 1.5;
		min-height: 58px;
		padding-inline: 10px;
	}

	.front-page-main .product-proof-section {
		padding-block: 48px;
	}
}

@media (max-width: 340px) {
	.nexyro-cinematic-hero__actions,
	.nexyro-cinematic-benefits__grid {
		grid-template-columns: 1fr;
	}

	.nexyro-cinematic-benefit,
	.nexyro-cinematic-benefit:nth-child(even),
	.nexyro-cinematic-benefit:nth-child(n + 3) {
		border-right: 0;
	}

	.nexyro-cinematic-benefit + .nexyro-cinematic-benefit {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
}

@media (prefers-reduced-motion: reduce) {
	.nexyro-cinematic-hero__progress {
		display: none;
	}
}
