/* Site header — premium two-tier commercial layout */

.as-site-header {
	--hdr-navy: #1a2744;
	--hdr-navy-deep: #121c30;
	--hdr-blue: #2c4387;
	--hdr-blue-mid: #3a5aad;
	--hdr-amber: #c45c26;
	--hdr-amber-soft: #f0b27a;
	--hdr-muted: #9eb0cb;
	--hdr-line: rgba(255, 255, 255, 0.12);
	--hdr-text: #243047;
	--hdr-max: 1180px;
	--hdr-radius: 6px;
	width: 100%;
	background: #fff;
	position: relative;
	z-index: 1000;
	font-family: "open_sansregular", "Segoe UI", sans-serif;
	box-shadow: 0 8px 28px rgba(18, 28, 48, 0.08);
	transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.as-site-header.is-compact {
	box-shadow: 0 6px 22px rgba(18, 28, 48, 0.12);
}

.as-site-header a {
	text-decoration: none;
	color: inherit;
}

/* Top utility bar */
.as-topbar {
	background: #f5f6f8;
	border-bottom: 1px solid #e6e9ef;
	font-size: 12px;
	color: #666;
	overflow: hidden;
	transition:
		max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.28s ease,
		padding 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.28s ease;
	max-height: 48px;
	opacity: 1;
}

.as-site-header.is-compact .as-topbar {
	max-height: 0;
	opacity: 0;
	border-bottom-color: transparent;
	pointer-events: none;
}

.as-topbar-inner {
	max-width: var(--hdr-max);
	margin: 0 auto;
	padding: 0 20px;
	min-height: 42px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
}

.as-topbar-left,
.as-topbar-right {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 10px;
	min-width: 0;
}

.as-topbar-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-family: "open_sanssemibold", "Segoe UI", sans-serif;
	font-size: 11px;
	line-height: 1;
	white-space: nowrap;
	transition:
		color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.25s ease,
		border-color 0.25s ease;
}

.as-topbar-left .as-topbar-item {
	justify-content: flex-start;
}

.as-topbar-item i {
	font-size: 13px;
	color: #555;
	flex: 0 0 auto;
}

.as-topbar-item:hover {
	color: #2c4387;
}

.as-topbar-item:hover i {
	color: #2c4387;
}

.as-topbar-email {
	text-transform: none;
	letter-spacing: 0;
	font-family: "open_sansregular", "Segoe UI", sans-serif;
	font-size: 12px;
}

/* Right-side actions — equal size */
.as-topbar-right .as-topbar-item {
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid #d7dde8;
	border-radius: 3px;
	background: #fff;
	box-sizing: border-box;
}

.as-topbar-right .as-topbar-item:hover {
	border-color: #2c4387;
	background: #f3f6fb;
}

.as-price-btn {
	background: #2c4387 !important;
	border-color: #2c4387 !important;
	color: #fff !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	box-shadow: none;
}

.as-price-btn i {
	color: #fff !important;
}

.as-price-btn:hover {
	background: #3a5aad !important;
	border-color: #3a5aad !important;
	color: #fff !important;
}

/* Main navbar */
.as-navbar {
	background: #fff;
	border-bottom: 1px solid #e8ecf3;
	position: relative;
}

.as-navbar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--hdr-amber) 0%, var(--hdr-blue) 45%, transparent 100%);
	opacity: 0.85;
	pointer-events: none;
}

.as-navbar-inner {
	max-width: var(--hdr-max);
	margin: 0 auto;
	padding: 0 20px;
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-sizing: border-box;
	transition: min-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.as-site-header.is-compact .as-navbar-inner {
	min-height: 52px;
}

.as-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	transition: opacity 0.25s ease;
}

.as-logo:hover {
	opacity: 0.88;
}

.as-header-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1 1 auto;
	min-width: 0;
}

.as-header-call {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 1 auto;
	min-width: 0;
}

.as-header-call-tel,
.as-header-call-wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 12px;
	border-radius: var(--hdr-radius);
	font-family: "open_sanssemibold", "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.as-header-call-tel {
	color: var(--hdr-navy);
	background: #f3f6fb;
	border: 0;
}

.as-header-call-tel:hover {
	background: var(--hdr-navy);
	border-color: transparent;
	color: #fff;
}

.as-header-call-tel:hover .as-header-call-icon {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.as-header-call-wa {
	color: #fff;
	background: #25d366;
	border: 0;
	padding: 0 12px;
}

.as-header-call-wa:hover {
	background: #1ebe57;
	border-color: transparent;
	color: #fff;
}

.as-header-call-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(44, 67, 135, 0.12);
	color: var(--hdr-blue);
	font-size: 12px;
	flex: 0 0 auto;
}

.as-header-call-wa .as-header-call-icon {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.as-header-call-num {
	letter-spacing: 0.01em;
}

.as-header-call-wa-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.as-logo img,
.as-site-header .as-logo img,
.parent > .header .as-logo img {
	display: block !important;
	height: 44px !important;
	width: auto !important;
	max-width: 200px !important;
	object-fit: contain;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.as-site-header.is-compact .as-logo img,
.as-site-header.is-compact .parent > .header .as-logo img,
.parent > .header .as-site-header.is-compact .as-logo img {
	height: 36px !important;
}

.as-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 2px;
	flex: 1 1 auto;
}

.as-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	font-family: "open_sanssemibold", "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--hdr-text);
	line-height: 1;
	border-radius: 0;
	transition:
		color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		font-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.as-site-header.is-compact .as-nav a {
	padding: 6px 10px;
	font-size: 12px;
}

.as-nav a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 2px;
	background: var(--hdr-amber);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.as-nav a:hover {
	color: var(--hdr-navy);
	background: transparent;
}

.as-nav a:hover::after {
	transform: scaleX(1);
}

.as-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #d7dde8;
	border-radius: var(--hdr-radius);
	background: #fff;
	color: var(--hdr-navy);
	cursor: pointer;
	font-size: 18px;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		width 0.35s ease,
		height 0.35s ease;
}

.as-site-header.is-compact .as-nav-toggle {
	width: 38px;
	height: 38px;
}

.as-nav-toggle:hover {
	background: var(--hdr-navy);
	border-color: var(--hdr-navy);
	color: #fff;
}

/* Kill legacy .header box that clipped / centered the new header */
.parent > .header,
.header:has(.as-site-header) {
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
	background: #fff !important;
	overflow: visible !important;
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
}

.parent > .header img {
	width: auto !important;
	margin: 0 !important;
}

.parent > .aboveline,
.parent > .headerseperate {
	display: none;
}

@media only screen and (max-width: 1100px) {
	.as-nav a {
		padding: 8px 10px;
		font-size: 12px;
		letter-spacing: 0.04em;
	}

	.as-nav a::after {
		left: 10px;
		right: 10px;
	}
}

@media only screen and (max-width: 980px) {
	.as-topbar-left .as-topbar-email {
		display: none;
	}

	.as-nav-toggle {
		display: inline-flex;
	}

	.as-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		gap: 0;
		background: #fff;
		border-bottom: 1px solid #e6e9ef;
		box-shadow: 0 16px 36px rgba(18, 28, 48, 0.14);
		padding: 10px 0 14px;
		z-index: 120;
	}

	.as-nav.is-open {
		display: flex;
	}

	.as-nav a {
		padding: 14px 20px;
		border-bottom: 1px solid #f0f2f6;
		justify-content: flex-start;
		color: var(--hdr-navy);
	}

	.as-nav a::after {
		display: none;
	}

	.as-nav a:hover {
		background: #f5f7fb;
		color: var(--hdr-amber);
	}

	.as-navbar {
		position: relative;
	}

	.as-navbar-inner {
		min-height: 56px;
		gap: 12px;
	}

	.as-header-brand {
		gap: 10px;
		flex: 1 1 auto;
	}

	.as-header-call {
		gap: 6px;
	}

	.as-header-call-tel,
	.as-header-call-wa {
		min-height: 34px;
		padding: 0 10px;
		font-size: 13px;
	}

	.as-header-call-wa-label {
		display: none;
	}

	.as-logo img,
	.as-site-header .as-logo img,
	.parent > .header .as-logo img {
		height: 40px !important;
	}
}

@media only screen and (max-width: 700px) {
	.as-topbar-inner {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		padding: 6px 12px;
		gap: 10px;
		min-height: 42px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.as-topbar-left,
	.as-topbar-right {
		flex-wrap: nowrap;
		flex: 0 0 auto;
		gap: 6px;
	}

	.as-topbar-left .as-topbar-item,
	.as-topbar-left .as-topbar-item span {
		max-width: none;
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
		font-size: 10px;
	}

	.as-topbar-item {
		font-size: 10px;
		gap: 5px;
	}

	.as-topbar-item i {
		font-size: 11px;
	}

	.as-topbar-right .as-topbar-item {
		min-height: 28px;
		padding: 0 8px;
	}

	.as-navbar-inner {
		padding: 0 12px;
		min-height: 54px;
	}

	.as-site-header.is-compact .as-navbar-inner {
		min-height: 48px;
	}

	.as-header-brand {
		gap: 8px;
	}

	.as-header-call-tel {
		padding: 0 8px;
		font-size: 12px;
		gap: 6px;
	}

	.as-header-call-num {
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 42vw;
	}

	.as-header-call-wa {
		width: 34px;
		min-height: 34px;
		padding: 0;
		justify-content: center;
	}

	.as-header-call-icon {
		width: 20px;
		height: 20px;
		font-size: 11px;
	}
}

@media only screen and (max-width: 480px) {
	.as-topbar-inner {
		gap: 8px;
	}

	.as-topbar-left .as-topbar-item span {
		max-width: none;
		overflow: visible;
		text-overflow: clip;
	}

	.as-topbar-right .as-topbar-item {
		width: 32px;
		height: 32px;
		min-height: 32px;
		padding: 0;
		justify-content: center;
	}

	.as-topbar-right .as-topbar-item span {
		display: none;
	}

	.as-topbar-right .as-topbar-item i {
		margin: 0;
		font-size: 14px;
	}

	.as-logo img,
	.as-site-header .as-logo img,
	.parent > .header .as-logo img {
		height: 34px !important;
		max-width: 120px !important;
	}

	.as-header-call-tel {
		min-height: 32px;
		padding: 0 7px;
		font-size: 11px;
	}

	.as-header-call-num {
		max-width: 38vw;
	}

	.as-header-call-wa {
		width: 32px;
		min-height: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.as-site-header,
	.as-topbar,
	.as-navbar-inner,
	.as-logo img,
	.as-topbar-item,
	.as-nav a,
	.as-nav a::after,
	.as-nav-toggle,
	.as-logo {
		transition: none !important;
	}
}
