/**
 * Desktop header — split nav, centered logo, scroll hide/show.
 */

header.site-header {
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.site-header.is-scroll-hidden {
	transform: translateY(-100%);
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	header.site-header {
		transition: none;
	}
}

.desktop-header-wrap {
	display: none;
}

.desktop-header {
	display: none;
}

@media (min-width: 993px) {
	header.site-header {
		padding: 14px 0;
		isolation: isolate;
	}

	header.site-header::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -1px;
		height: 2px;
		background: #00000b;
		pointer-events: none;
	}

	.desktop-header-wrap {
		display: block;
		width: 100%;
	}

	header.site-header .glow-btn,
	header.site-header .menu,
	#mobile-nav-menu {
		display: none !important;
	}

	.desktop-header {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
		width: 100%;
		min-height: 52px;
		gap: clamp(12px, 1.6vw, 20px);
	}

	.desktop-header__start,
	.desktop-header__end {
		display: flex;
		align-items: center;
		gap: clamp(12px, 1.4vw, 18px);
		min-width: 0;
	}

	.desktop-header__end {
		justify-content: flex-end;
	}

	.desktop-header__cta {
		flex: 0 0 auto;
		contain: paint;
		isolation: isolate;
		border-radius: 8px;
	}

	.desktop-header__logo {
		justify-self: center;
		flex: 0 0 auto;
		display: block;
		padding: 0 clamp(8px, 1.2vw, 20px);
		line-height: 0;
		text-decoration: none;
		contain: paint;
		isolation: isolate;
	}

	.desktop-header__social {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.desktop-header__social-link {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 8px;
		background: rgba(12, 18, 28, 0.55);
		box-shadow: none;
		color: rgba(255, 255, 255, 0.88);
		text-decoration: none;
		transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
	}

	.desktop-header__social-link:hover,
	.desktop-header__social-link:focus-visible {
		border: 0;
		background: rgba(12, 18, 28, 0.85);
		box-shadow: none;
		color: #4cb6ec;
		transform: translateY(-2px);
		outline: none;
	}

	.desktop-header__social-link:focus-visible {
		outline: 2px solid rgba(120, 200, 255, 0.45);
		outline-offset: 2px;
	}

	.desktop-nav {
		flex: 1 1 auto;
		min-width: 0;
	}

	.desktop-nav__list {
		display: flex;
		align-items: center;
		list-style: none;
		margin: 0;
		padding: 0;
		gap: clamp(22px, 2.4vw, 36px);
	}

	.desktop-nav--left .desktop-nav__list {
		justify-content: flex-end;
		padding-right: clamp(4px, 0.8vw, 12px);
	}

	.desktop-nav--right .desktop-nav__list {
		justify-content: flex-start;
		padding-left: clamp(4px, 0.8vw, 12px);
	}

	.desktop-nav__item {
		position: relative;
	}

	.desktop-nav__link {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 8px 4px;
		border: 0;
		background: none;
		color: rgba(255, 255, 255, 0.88);
		font-family: "Oswald", sans-serif;
		font-size: 17px;
		font-weight: 400;
		letter-spacing: 0.03em;
		line-height: 1.2;
		text-decoration: none;
		cursor: pointer;
		white-space: nowrap;
		transition: color 0.25s ease;
	}

	.desktop-nav__link::after {
		content: "";
		position: absolute;
		left: 4px;
		right: 4px;
		bottom: 4px;
		height: 2px;
		border-radius: 2px;
		background: linear-gradient(90deg, #fa8b07 0%, rgba(250, 139, 7, 0.35) 100%);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 0.25s ease;
	}

	.desktop-nav__link:hover,
	.desktop-nav__link:focus-visible,
	.desktop-nav__item--open > .desktop-nav__trigger {
		color: #fa8b07;
		outline: none;
	}

	.desktop-nav__link:hover::after,
	.desktop-nav__link:focus-visible::after,
	.desktop-nav__item--open > .desktop-nav__trigger::after {
		transform: scaleX(1);
	}

	.desktop-nav__chev {
		flex-shrink: 0;
		color: currentColor;
		opacity: 0.85;
		transition: transform 0.2s ease, opacity 0.2s ease, color 0.25s ease;
	}

	.desktop-nav__link:hover .desktop-nav__chev,
	.desktop-nav__item--open > .desktop-nav__trigger .desktop-nav__chev {
		opacity: 0.9;
	}

	.desktop-nav__item--open .desktop-nav__chev,
	.desktop-nav__item--has-dropdown:hover .desktop-nav__chev,
	.desktop-nav__item--has-dropdown:focus-within .desktop-nav__chev {
		transform: rotate(180deg);
	}

	.desktop-header__logo img {
		display: block;
		width: 100px;
		height: auto;
		filter: drop-shadow(0 0 3px rgba(250, 139, 7, 0.28)) drop-shadow(0 0 8px rgba(250, 139, 7, 0.12));
		transition: filter 0.3s ease;
	}

	.desktop-header__logo:hover img,
	.desktop-header__logo:focus-visible img {
		filter: drop-shadow(0 0 6px rgba(250, 139, 7, 0.45)) drop-shadow(0 0 14px rgba(250, 139, 7, 0.22)) drop-shadow(0 0 18px rgba(76, 182, 236, 0.15));
	}

	.desktop-nav__dropdown {
		position: absolute;
		top: calc(100% + 14px);
		left: 50%;
		z-index: 10060;
		min-width: 300px;
		margin: 0;
		padding: 8px;
		list-style: none;
		border: 1px solid rgba(76, 182, 236, 0.22);
		border-radius: 12px;
		background: linear-gradient(180deg, #0c121c 0%, #070b12 100%);
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, 8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
		pointer-events: none;
	}

	.desktop-nav__dropdown::before {
		content: "";
		position: absolute;
		left: 0;
		top: -14px;
		width: 100%;
		height: 14px;
	}

	.desktop-nav__item--has-dropdown:hover > .desktop-nav__dropdown,
	.desktop-nav__item--has-dropdown:focus-within > .desktop-nav__dropdown,
	.desktop-nav__item--open > .desktop-nav__dropdown {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
		pointer-events: auto;
	}

	.desktop-nav__dropdown a {
		display: block;
		padding: 11px 14px;
		border-radius: 8px;
		color: rgba(255, 255, 255, 0.88);
		font-family: "Oxygen", sans-serif;
		font-size: 14px;
		font-weight: 500;
		line-height: 1.35;
		text-decoration: none;
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.desktop-nav__dropdown a:hover,
	.desktop-nav__dropdown a:focus-visible {
		background: rgba(76, 182, 236, 0.1);
		color: #fff;
		outline: none;
	}
}

@media (min-width: 993px) and (max-width: 1280px) {
	.desktop-header {
		gap: 10px;
	}

	.desktop-nav__link {
		font-size: 14px;
		letter-spacing: 0.02em;
		padding: 6px 2px;
	}

	.desktop-nav__list {
		gap: clamp(14px, 1.6vw, 20px);
	}

	.desktop-nav--left .desktop-nav__list,
	.desktop-nav--right .desktop-nav__list {
		padding-left: 0;
		padding-right: 0;
	}

	.desktop-header__logo {
		padding: 0 10px;
	}

	.desktop-header__logo img {
		width: 76px;
	}

	.desktop-header__social-link {
		width: 32px;
		height: 32px;
	}

	.desktop-header__social-link svg {
		width: 16px;
		height: 16px;
	}

	.seorca-accent-btn--audit .seorca-accent-btn__chev {
		display: none;
	}

	.seorca-accent-btn--audit .seorca-accent-btn__icon svg {
		width: 15px;
		height: 15px;
	}

	.seorca-accent-btn__inner {
		padding: 8px 10px;
		gap: 6px;
	}

	.seorca-accent-btn__text {
		font-size: 12px;
	}
}

@media (min-width: 1281px) and (max-width: 1440px) {
	.desktop-nav__link {
		font-size: 16px;
	}

	.desktop-nav__list {
		gap: clamp(18px, 2vw, 28px);
	}

	.desktop-header__logo img {
		width: 92px;
	}
}
