/* ---------- Header / Navbar ---------- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 18px 0;
	transition:
		padding 0.4s var(--ease),
		background 0.4s;
}
.header.scrolled {
	padding: 10px 0;
	background: rgba(10, 11, 13, 0.85);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid var(--line);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-1);
}

.logo img {
	width: auto;
	height: 34px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px;
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line);
	backdrop-filter: blur(14px);
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
}
.nav-links a {
	padding: 9px 16px;
	border-radius: var(--r-pill);
	font-size: 0.86rem;
	color: var(--text-muted);
	transition:
		color 0.3s,
		background 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
	color: var(--white);
	background: rgba(255, 255, 255, 0.08);
}

.nav-mobile-extra {
	display: none;
}

.header-cta {
	padding: 8px 8px 8px 20px;
	font-size: 0.88rem;
}
.header-cta .arrow {
	width: 32px;
	height: 32px;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.05);
	position: relative;
	transition:
		background 0.3s,
		border-color 0.3s;
}
.menu-toggle span {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 2px;
	background: var(--white);
	border-radius: 2px;
	transition:
		transform 0.35s var(--ease),
		top 0.35s var(--ease);
}
.menu-toggle span:nth-child(1) {
	top: 17px;
}
.menu-toggle span:nth-child(2) {
	top: 25px;
}

.menu-open .menu-toggle {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
}
.menu-open .menu-toggle span:nth-child(1) {
	top: 21px;
	transform: rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
	top: 21px;
	transform: rotate(-45deg);
}

@media (max-width: 960px) {
	.header-cta {
		display: none;
	}
	.menu-toggle {
		display: block;
		z-index: 50;
	}

	.header .logo {
		z-index: 50;
	}

	.menu-open .header {
		background: #0a0b0d !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		background: #0a0b0d;
		border: none;
		border-radius: 0;
		backdrop-filter: none;
		padding: 92px 28px 48px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 32px;
		z-index: 45;
	}

	.menu-open .nav {
		display: flex;
		animation: menuFadeIn 0.25s var(--ease) forwards;
	}

	@keyframes menuFadeIn {
		from {
			opacity: 0;
			transform: translateY(-6px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.nav-links {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		width: 100%;
	}

	.nav-links a {
		padding: 0;
		font-family: var(--font-display);
		font-size: clamp(1.5rem, 5.2vw, 2.1rem);
		font-weight: 500;
		line-height: 1.25;
		letter-spacing: -0.01em;
		text-transform: uppercase;
		color: #ffffff;
		background: none !important;
		border-radius: 0;
		transition:
			color 0.2s,
			transform 0.2s;
	}

	.nav-links a:hover,
	.nav-links a.active {
		color: var(--orange);
		transform: translateX(4px);
	}

	.nav-mobile-extra {
		display: flex;
		flex-direction: column;
		gap: 28px;
		margin-top: auto;
		padding-top: 24px;
		width: 100%;
	}

	.nav-mobile-section {
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.nav-mobile-title {
		font-family: var(--font-body);
		font-size: 0.78rem;
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: #8c9099;
	}

	.nav-mobile-text,
	.nav-contact-link {
		font-family: var(--font-body);
		font-size: 0.95rem;
		line-height: 1.5;
		color: #e4e4e7;
		transition: color 0.2s;
	}

	.nav-contact-link:hover {
		color: var(--orange);
	}

	.nav-mobile-socials {
		display: flex;
		align-items: center;
		gap: 14px;
		margin-top: 4px;
	}

	.nav-social-btn {
		width: 42px;
		height: 42px;
		border-radius: 50%;
		background: #ffffff;
		display: grid;
		place-items: center;
		transition:
			transform 0.25s var(--ease),
			box-shadow 0.25s;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	}

	.nav-social-btn:hover {
		transform: translateY(-3px) scale(1.06);
	}

	.nav-social-btn img {
		width: 24px;
		height: 24px;
		display: block;
	}
}
