.spf-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	box-sizing: border-box;
	width: 100%;
	padding: 50px 100px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	background: transparent;
	transition: background 0.25s ease;
}

.spf-header.is-scrolled {
	background: #1f1f1f;
}

.spf-logo {
	display: block;
	flex: 0 0 270px;
	line-height: 0;
	transition: flex-basis 0.25s ease;
}

.spf-logo img {
	display: block;
	width: 270px;
	height: 100px;
	object-fit: contain;
	transition: width 0.25s ease, height 0.25s ease;
}

.spf-header.is-scrolled .spf-logo {
	flex-basis: 180px;
}

.spf-header.is-scrolled .spf-logo img {
	width: 180px;
	height: 67px;
}

.spf-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 388px;
	margin-top: 0;
	padding: 11px 11px 11px 13px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.spf-nav a {
	padding: 12px 10px;
	color: #a3a3a3;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.spf-nav a:hover,
.spf-nav a:focus {
	color: #ffffff;
}

.spf-nav-rule {
	flex: 0 0 1px;
	width: 1px;
	height: 16px;
	background: #a3a3a3;
}

@media (max-width: 1100px) {
	.spf-header {
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 20px !important;
		padding: 28px 24px !important;
	}

	.spf-logo {
		flex: 0 0 auto !important;
	}

	.spf-nav {
		width: auto !important;
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.spf-header {
		flex-direction: column !important;
		align-items: center !important;
		gap: 16px !important;
		padding: 20px 16px 16px !important;
	}

	.spf-logo,
	.spf-logo img {
		flex: none !important;
		width: min(200px, 70vw) !important;
		height: auto !important;
	}

	.spf-nav {
		width: 100% !important;
		justify-content: space-between;
		padding: 6px 4px !important;
	}

	.spf-nav a {
		padding: 10px 4px;
		font-size: 13px;
	}

	.spf-header.is-scrolled .spf-logo,
	.spf-header.is-scrolled .spf-logo img {
		width: min(140px, 46vw) !important;
		height: auto !important;
		flex-basis: auto !important;
	}
}
