/* Site header & navigation — shared across all pages, PC + mobile responsive */

/* Override legacy theme #header nav rules — desktop only */
@media (min-width: 981px) {
	#header.site-header nav.site-nav,
	#header.site-header .site-nav {
		position: static !important;
		right: auto !important;
		top: auto !important;
		height: auto !important;
		line-height: normal !important;
		vertical-align: baseline !important;
	}
}

#header.site-header .site-nav__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#header.site-header .site-nav__item {
	border-radius: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

#header.site-header {
	background: #fff;
	box-shadow: 0 0 0.1em 0 rgba(0, 0, 0, 0.25);
	display: block !important;
	height: 4em;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10000;
}

.site-header__inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	height: 4em;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1400px;
	padding: 0 1.25em 0 0.75em;
	width: 100%;
}

.site-header__logo {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	line-height: 0;
	text-decoration: none;
}

.site-header__logo img {
	display: block;
	height: 3em;
	max-width: 100%;
	width: auto;
}

.site-header__nav-group {
	align-items: center;
	display: flex;
	flex-shrink: 0;
}

/* Nav links — no color transition, no pseudo hover */
.site-nav__link {
	color: #555f66;
	display: inline-block;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 0.85em;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1;
	padding: 0.5em 0;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-tap-highlight-color: transparent;
}

.site-nav__link:visited {
	color: #555f66;
}

.site-nav__link.is-active,
.site-nav__link.is-active:visited {
	color: #3963fc;
	font-weight: 500;
}

.site-nav__list {
	align-items: center;
	display: flex;
	gap: 2em;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__item {
	margin: 0;
	padding: 0;
}

.site-nav__toggle {
	display: none;
}

.site-nav__overlay {
	display: none;
}

/* Desktop — horizontal nav */
@media (min-width: 981px) {
	.site-nav {
		background: transparent;
		display: block;
		height: auto;
		overflow: visible;
		padding: 0;
		position: static;
		transform: none;
		width: auto;
	}

	.site-nav__overlay {
		display: none !important;
	}
}

/* Tablet landscape — tighter spacing */
@media (min-width: 981px) and (max-width: 1200px) {
	.site-nav__list {
		gap: 1.25em;
	}

	.site-nav__link {
		font-size: 0.78em;
		letter-spacing: 0.04em;
	}
}

/* Mobile & tablet portrait — drawer menu */
@media (max-width: 980px) {
	.site-header__inner {
		padding: 0 0.75em 0 0.5em;
	}

	.site-header__logo {
		flex: 1 1 auto;
		max-width: calc(100% - 3.25em);
		min-width: 0;
	}

	.site-header__logo img {
		height: 2.6em;
		max-width: 100%;
	}

	.site-header__nav-group {
		flex-shrink: 0;
		margin-left: auto;
	}

	#header.site-header .site-nav__toggle {
		align-items: center;
		background: transparent;
		border: 1px solid #d8dde3;
		border-radius: 8px;
		box-shadow: none;
		cursor: pointer;
		display: flex;
		flex-direction: column;
		flex-shrink: 0;
		gap: 4px;
		height: 2.5em;
		justify-content: center;
		margin-left: 0;
		padding: 0;
		width: 2.5em;
	}

	.site-nav__toggle-bar {
		background: #555f66;
		border-radius: 1px;
		display: block;
		height: 2px;
		margin: 0 auto;
		transition: transform 0.2s ease, opacity 0.2s ease;
		width: 18px;
	}

	.site-nav__toggle.is-open .site-nav__toggle-bar:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.site-nav__toggle.is-open .site-nav__toggle-bar:nth-child(2) {
		opacity: 0;
	}

	.site-nav__toggle.is-open .site-nav__toggle-bar:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	#header.site-header .site-nav__overlay {
		background: rgba(15, 23, 42, 0.35);
		display: none;
		height: 100% !important;
		left: 0 !important;
		opacity: 0;
		position: fixed !important;
		top: 0 !important;
		transition: opacity 0.25s ease;
		width: 100% !important;
		z-index: 10001;
	}

	#header.site-header .site-nav__overlay.is-open {
		display: block;
		opacity: 1;
	}

	#header.site-header .site-nav {
		background: #fff;
		box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
		height: calc(100% - 4em) !important;
		left: 0 !important;
		line-height: normal !important;
		overflow-y: auto;
		padding: 0.5em 0 2em;
		pointer-events: none;
		position: fixed !important;
		right: auto !important;
		top: 4em !important;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		vertical-align: baseline !important;
		visibility: hidden;
		width: min(300px, 88vw) !important;
		z-index: 10002;
		-webkit-overflow-scrolling: touch;
	}

	#header.site-header .site-nav.is-open {
		pointer-events: auto;
		transform: translateX(0);
		visibility: visible;
	}

	.site-nav__list {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.site-nav__item {
		border-top: 1px solid #eef1f4;
	}

	.site-nav__item:first-child {
		border-top: 0;
	}

	.site-nav__link {
		color: #555f66;
		display: block;
		font-size: 0.95em;
		letter-spacing: 0.05em;
		padding: 1em 1.5em;
	}

	.site-nav__link:visited {
		color: #555f66;
	}

	.site-nav__link.is-active,
	.site-nav__link.is-active:visited {
		background: rgba(57, 99, 252, 0.08);
		color: #3963fc;
		font-weight: 600;
	}
}

/* Small phones */
@media (max-width: 480px) {
	#header.site-header {
		height: 3.5em;
	}

	.site-header__inner {
		height: 3.5em;
	}

	.site-header__logo img {
		height: 2.35em;
	}

	.site-nav__toggle {
		height: 2.25em;
		width: 2.25em;
	}

	#header.site-header .site-nav {
		height: calc(100% - 3.5em) !important;
		top: 3.5em !important;
	}
}

/* Inner pages — clear fixed header */
#header.site-header + #main {
	scroll-margin-top: 4em;
}

@media (max-width: 480px) {
	#header.site-header + #main {
		scroll-margin-top: 3.5em;
	}
}

/* Social float — sync load so icons show before skel injects style.css */
.social-float {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10001;
	display: flex;
	flex-direction: column;
	gap: 0.45em;
	padding: 0.5em 0.35em;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid #e0e0e0;
	border-right: none;
	border-radius: 8px 0 0 8px;
	box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.08);
}

.social-float a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5em;
	height: 2.5em;
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-float a:hover {
	opacity: 0.88;
	transform: scale(1.08);
}

.social-float a svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}

.social-float a svg path {
	fill: #fff;
}

.social-float .social-fb {
	background: #1877f2;
}

.social-float .social-x {
	background: #000;
}

.social-float .social-tt {
	background: #010101;
}

.social-float .social-wa {
	background: #25d366;
}

.social-float .social-ig {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

@media (max-width: 736px) {
	.social-float {
		top: auto;
		bottom: 5em;
		transform: none;
		padding: 0.4em 0.3em;
		gap: 0.35em;
	}

	.social-float a {
		width: 2.2em;
		height: 2.2em;
	}

	.social-float a svg {
		width: 18px;
		height: 18px;
	}
}

/* Product network — cross-site SEO footer */
.product-network {
	margin: 0 0 1.5em;
	text-align: left;
}

.product-network h3 {
	font-size: 1em;
	margin-bottom: 0.5em;
	color: #444;
}

.product-network p {
	font-size: 0.88em;
	color: #666;
	margin-bottom: 0.75em;
	line-height: 1.55;
}

.product-network__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1.2em;
	list-style: none;
	padding: 0;
	margin: 0;
}

.product-network__list li {
	font-size: 0.85em;
}

.product-network__list a {
	color: #3963fc;
	text-decoration: none;
}

.product-network__list a:hover {
	text-decoration: underline;
}

.product-network__list strong {
	color: #333;
	font-weight: 600;
}
