/* Neto UI — Glass header over Hero (fixed overlay + responsive) */

.neto-header {
	--neto-header-h: 4.35rem;
	--neto-header-shell-mt: 0.85rem;
	--neto-header-clear: calc(var(--neto-header-shell-mt) + var(--neto-header-h) + 1rem);
	--neto-header-glass: rgba(255, 255, 255, 0.22);
	--neto-header-glass-strong: rgba(255, 255, 255, 0.72);
	--neto-header-edge: rgba(255, 255, 255, 0.55);
	--neto-header-ink: #052b42;
	position: relative;
	z-index: 10050;
	width: 100%;
	font-family: var(--neto-font, "Vazirmatn FD", Tahoma, sans-serif);
	color: var(--neto-header-ink);
	box-sizing: border-box;
}

.neto-header *,
.neto-header *::before,
.neto-header *::after {
	box-sizing: border-box;
}

.neto-header,
.neto-header a,
.neto-header button,
.neto-header summary {
	-webkit-tap-highlight-color: transparent;
}

.neto-header a:focus,
.neto-header a:active,
.neto-header button:focus,
.neto-header button:active {
	outline: none !important;
}

.neto-header__burger:hover,
.neto-header__burger:focus,
.neto-header__burger:active,
.neto-header__burger:focus-visible {
	color: var(--neto-header-ink) !important;
	background: rgba(255, 255, 255, 0.45) !important;
	background-image: none !important;
	border-color: rgba(255, 255, 255, 0.65) !important;
	box-shadow: none !important;
	outline: none !important;
}

.neto-header__burger:hover .neto-header__burger-lines span,
.neto-header__burger:focus .neto-header__burger-lines span,
.neto-header__burger:active .neto-header__burger-lines span,
.neto-header__burger:focus-visible .neto-header__burger-lines span {
	background: currentColor !important;
	background-color: currentColor !important;
}

html[data-neto-ui-theme="dark"] .neto-header__burger:hover,
html[data-neto-ui-theme="dark"] .neto-header__burger:focus,
html[data-neto-ui-theme="dark"] .neto-header__burger:active,
html[data-neto-ui-theme="dark"] .neto-header__burger:focus-visible {
	background: rgba(255, 255, 255, 0.1) !important;
	background-image: none !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	color: var(--neto-header-ink) !important;
	box-shadow: none !important;
}

.neto-header__link:focus,
.neto-header__link:active,
.neto-header__sublink:focus,
.neto-header__sublink:active {
	color: var(--neto-header-ink) !important;
	background: transparent !important;
}

html[data-neto-ui-theme="dark"] .neto-header {
	--neto-header-glass: rgba(9, 9, 11, 0.28);
	--neto-header-glass-strong: rgba(25, 25, 25, 0.78);
	--neto-header-edge: rgba(255, 255, 255, 0.12);
	--neto-header-ink: #fafafa;
}

/* Floating glass bar — same shape on scroll (no full-bleed) */
.neto-header__shell {
	position: relative;
	z-index: 2;
	width: min(100% - 1.75rem, var(--neto-content-max, 1300px));
	margin: var(--neto-header-shell-mt, 0.85rem) auto 0;
	padding: 0;
	border-radius: 1.15rem;
	border: 1px solid var(--neto-header-edge);
	background: var(--neto-header-glass);
	box-shadow:
		0 10px 40px rgba(15, 30, 50, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(22px) saturate(1.55);
	-webkit-backdrop-filter: blur(22px) saturate(1.55);
	transition:
		background 0.28s ease,
		border-color 0.28s ease,
		box-shadow 0.28s ease;
}

.neto-header.is-scrolled .neto-header__shell {
	/* Keep floating inset + radius; only deepen glass a bit */
	background: var(--neto-header-glass-strong);
	box-shadow:
		0 12px 36px rgba(40, 70, 110, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

html[data-neto-ui-theme="dark"] .neto-header.is-scrolled .neto-header__shell {
	border-color: var(--neto-header-edge);
	box-shadow:
		0 14px 40px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	background: var(--neto-header-glass-strong);
}

.neto-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	min-height: var(--neto-header-h);
	padding: 0.45rem clamp(0.75rem, 2vw, 1.25rem);
	width: 100%;
	margin-inline: auto;
}

.neto-header__brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	flex-grow: 0;
	flex-shrink: 0;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	max-width: 10rem;
	width: auto;
	order: 1;
	line-height: 0;
}

.neto-header__logo,
.neto-header img.neto-header__logo,
.neto-header .neto-header__brand img {
	display: block !important;
	width: 9rem !important;
	max-width: 9rem !important;
	height: auto !important;
	max-height: 1.85rem !important;
	object-fit: contain !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	vertical-align: middle;
}

html[data-neto-ui-theme="dark"] .neto-header__logo {
	filter: brightness(0) invert(1);
	opacity: 0.96;
}

.neto-header__wordmark {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}
.neto-header__wordmark-fa { font-size: 1.1rem; }
.neto-header__wordmark-en {
	font-size: 0.75rem;
	font-weight: 600;
	opacity: 0.65;
}

.neto-header__nav {
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
	min-width: 0;
	order: 2;
	overflow: visible;
}

.neto-header__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.05rem;
}

.neto-header__item {
	position: relative;
	margin: 0 !important;
	list-style: none !important;
}

.neto-header__link {
	display: inline-flex;
	align-items: center;
	gap: 0.22rem;
	padding: 0.42rem 0.55rem;
	border-radius: 999px;
	text-decoration: none !important;
	color: var(--neto-header-ink) !important;
	font-size: clamp(0.78rem, 0.9vw, 0.88rem);
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
	background: transparent;
}

.neto-header__link:hover,
.neto-header__link:focus-visible,
.neto-header__item.is-ancestor > .neto-header__link,
.neto-header__link.is-active {
	background: rgba(0, 77, 119, 0.1);
	color: #004d77 !important;
	outline: none;
}

html[data-neto-ui-theme="dark"] .neto-header__link:hover,
html[data-neto-ui-theme="dark"] .neto-header__link:focus-visible,
html[data-neto-ui-theme="dark"] .neto-header__item.is-ancestor > .neto-header__link,
html[data-neto-ui-theme="dark"] .neto-header__link.is-active {
	background: rgba(255, 255, 255, 0.08);
	color: #fafafa !important;
}

.neto-header__caret {
	opacity: 0.55;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.neto-header__item:hover > .neto-header__link .neto-header__caret,
.neto-header__item:focus-within > .neto-header__link .neto-header__caret {
	transform: rotate(180deg);
}

.neto-header__subtoggle {
	display: none;
}

.neto-header__sub {
	list-style: none !important;
	margin: 0 !important;
	padding: 0.4rem !important;
	position: absolute;
	top: calc(100% + 0.4rem);
	right: 0;
	min-width: 13rem;
	border-radius: 0.95rem;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow: 0 18px 40px rgba(40, 70, 110, 0.16);
	backdrop-filter: blur(18px) saturate(1.4);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 20;
}

html[data-neto-ui-theme="dark"] .neto-header__sub {
	background: rgba(25, 25, 25, 0.92);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

.neto-header__item:hover > .neto-header__sub,
.neto-header__item:focus-within > .neto-header__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
}

.neto-header__sublink {
	display: block;
	padding: 0.58rem 0.75rem;
	border-radius: 0.65rem;
	text-decoration: none !important;
	color: var(--neto-header-ink) !important;
	font-size: 0.86rem;
	font-weight: 500;
	transition: background 0.18s ease;
}

.neto-header__sublink:hover,
.neto-header__sublink:focus-visible,
.neto-header__sublink.is-active {
	background: rgba(0, 77, 119, 0.09);
	outline: none;
}

html[data-neto-ui-theme="dark"] .neto-header__sublink:hover,
html[data-neto-ui-theme="dark"] .neto-header__sublink:focus-visible,
html[data-neto-ui-theme="dark"] .neto-header__sublink.is-active {
	background: rgba(255, 255, 255, 0.08);
}

.neto-header__actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.4rem;
	flex: 0 0 auto;
	order: 3;
}

.neto-header__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 2.3rem;
	padding: 0 0.85rem;
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid transparent;
	transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.neto-header__btn svg { flex-shrink: 0; }

.neto-header__btn--ghost {
	background: rgba(255, 255, 255, 0.35);
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--neto-header-ink) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

html[data-neto-ui-theme="dark"] .neto-header__btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}

.neto-header__btn--ghost:hover,
.neto-header__btn--ghost:focus-visible {
	transform: translateY(-1px);
	outline: none;
}

.neto-header__btn--primary {
	background: #004d77;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(0, 77, 119, 0.28);
}

.neto-header__btn--primary:hover,
.neto-header__btn--primary:focus-visible {
	transform: translateY(-1px);
	background: #00385a;
	outline: none;
}

.neto-header__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	min-width: 2.5rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 0.75rem;
	background: rgba(255, 255, 255, 0.35);
	color: var(--neto-header-ink);
	cursor: pointer;
	box-shadow: none;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}

html[data-neto-ui-theme="dark"] .neto-header__burger {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}

.neto-header__burger:hover,
.neto-header__burger:focus-visible {
	transform: translateY(-1px);
}

.neto-header__burger-lines {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	width: 16px;
}
.neto-header__burger-lines span {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 999px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.neto-header.is-open .neto-header__burger-lines span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.neto-header.is-open .neto-header__burger-lines span:nth-child(2) { opacity: 0; }
.neto-header.is-open .neto-header__burger-lines span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Drawer */
.neto-header__backdrop {
	position: fixed;
	inset: 0;
	z-index: 10040;
	background: rgba(9, 9, 11, 0.42);
	backdrop-filter: blur(8px) saturate(1.2);
	-webkit-backdrop-filter: blur(8px) saturate(1.2);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.neto-header.is-open .neto-header__backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.neto-header__drawer {
	position: fixed;
	top: 0.65rem;
	bottom: 0.65rem;
	right: 0.55rem;
	z-index: 10060;
	width: min(20.5rem, calc(100vw - 1.1rem));
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 0.95rem 1rem 1.15rem;
	border-radius: 1.35rem;
	border: 1px solid rgba(255, 255, 255, 0.62);
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.62) 0%, rgba(244, 247, 253, 0.38) 100%);
	box-shadow:
		0 24px 60px rgba(30, 55, 90, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(28px) saturate(1.65);
	-webkit-backdrop-filter: blur(28px) saturate(1.65);
	transform: translateX(110%);
	visibility: hidden;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
	overflow: auto;
}
html[data-neto-ui-theme="dark"] .neto-header__drawer {
	border-color: rgba(255, 255, 255, 0.12);
	background:
		linear-gradient(165deg, rgba(40, 40, 44, 0.72) 0%, rgba(18, 18, 20, 0.78) 100%);
	box-shadow:
		0 28px 70px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.neto-header.is-open .neto-header__drawer {
	transform: none;
	visibility: visible;
}

.neto-header__drawer-top {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid rgba(5, 43, 66, 0.08);
}
html[data-neto-ui-theme="dark"] .neto-header__drawer-top {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* لوگو راست · بستن چپ (لغو order موبایل هدر) */
.neto-header__drawer-top .neto-header__brand,
.neto-header__drawer .neto-header__brand--drawer {
	order: 1 !important;
	margin: 0 !important;
	margin-inline-end: auto !important;
	max-width: 9rem;
}
.neto-header__drawer-top .neto-header__close {
	order: 2 !important;
	margin-inline-start: 0 !important;
	flex-shrink: 0;
}

.neto-header__brand--drawer .neto-header__logo,
.neto-header__drawer img.neto-header__logo {
	width: 8.25rem !important;
	max-width: 8.25rem !important;
	max-height: 1.7rem !important;
}
.neto-header__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.85rem;
	height: 2.85rem;
	border-radius: 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.4);
	color: inherit;
	cursor: pointer;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.neto-header__close svg {
	width: 20px;
	height: 20px;
}
html[data-neto-ui-theme="dark"] .neto-header__close {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
}

.neto-header__drawer-nav .neto-header__list {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0.35rem;
	width: 100%;
}

/* فقط آیتم‌های سطح اول */
.neto-header__drawer-nav > .neto-header__list > .neto-header__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.38);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
	overflow: hidden;
}
html[data-neto-ui-theme="dark"] .neto-header__drawer-nav > .neto-header__list > .neto-header__item {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

.neto-header__drawer-nav .neto-header__link {
	width: 100%;
	justify-content: flex-start;
	padding: 0.88rem 0.95rem;
	white-space: normal;
	font-size: 0.95rem;
	border-radius: 0;
	background: transparent !important;
}
.neto-header__drawer-nav .neto-header__caret { display: none; }

.neto-header__drawer-nav .neto-header__subtoggle {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin: 0.15rem 0.1rem 0.15rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	opacity: 1;
	cursor: pointer;
	flex-shrink: 0;
}
html[data-neto-ui-theme="dark"] .neto-header__drawer-nav .neto-header__subtoggle {
	border: 0;
	background: transparent;
}
.neto-header__drawer-nav .neto-header__subtoggle svg {
	width: 28px;
	height: 28px;
	transition: transform 0.2s ease;
}
.neto-header__drawer-nav .neto-header__item.is-open > .neto-header__subtoggle {
	background: transparent;
	border: 0;
}
.neto-header__drawer-nav .neto-header__item.is-open > .neto-header__subtoggle svg {
	transform: rotate(180deg);
}

/* زیر‌منو آکاردئونی */
.neto-header__drawer-nav .neto-header__sub {
	position: static !important;
	grid-column: 1 / -1;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	pointer-events: auto !important;
	display: none;
	width: auto;
	min-width: 0;
	margin: 0 0.45rem 0.5rem !important;
	padding: 0.3rem !important;
	border-radius: 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(244, 247, 253, 0.55) !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}
html[data-neto-ui-theme="dark"] .neto-header__drawer-nav .neto-header__sub {
	background: rgba(0, 0, 0, 0.28) !important;
	border-color: rgba(255, 255, 255, 0.08);
}
.neto-header__drawer-nav .neto-header__item.is-open > .neto-header__sub {
	display: flex !important;
	flex-direction: column;
	gap: 0.15rem;
}

.neto-header__drawer-nav .neto-header__sub .neto-header__item {
	display: block !important;
	margin: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0.65rem;
	box-shadow: none !important;
}
.neto-header__drawer-nav .neto-header__sublink {
	display: block;
	padding: 0.7rem 0.85rem;
	border-radius: 0.65rem;
	font-size: 0.88rem;
	color: inherit !important;
}
.neto-header__drawer-nav .neto-header__sublink:hover,
.neto-header__drawer-nav .neto-header__sublink:focus-visible,
.neto-header__drawer-nav .neto-header__sublink.is-active {
	background: rgba(0, 77, 119, 0.1) !important;
}
html[data-neto-ui-theme="dark"] .neto-header__drawer-nav .neto-header__sublink:hover,
html[data-neto-ui-theme="dark"] .neto-header__drawer-nav .neto-header__sublink:focus-visible,
html[data-neto-ui-theme="dark"] .neto-header__drawer-nav .neto-header__sublink.is-active {
	background: rgba(255, 255, 255, 0.08) !important;
}

.neto-header__drawer-actions {
	display: grid;
	gap: 0.55rem;
	margin-top: auto;
	padding-top: 0.5rem;
}
.neto-header__drawer-actions .neto-header__btn {
	width: 100%;
	min-height: 2.75rem;
}

/* —— Overlay on Hero: collapse Elementor header chrome —— */
body:has(.neto-header) .elementor-location-header {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	z-index: 10050 !important;
	background: transparent !important;
	pointer-events: none;
}

body:has(.neto-header) .elementor-location-header .neto-header,
body:has(.neto-header) .elementor-location-header .neto-header * {
	pointer-events: auto;
}

body:has(.neto-header) .elementor-location-header .elementor-section,
body:has(.neto-header) .elementor-location-header .elementor-container,
body:has(.neto-header) .elementor-location-header .elementor-column,
body:has(.neto-header) .elementor-location-header .elementor-widget-wrap,
body:has(.neto-header) .elementor-location-header .elementor-element,
body:has(.neto-header) .elementor-location-header .elementor-widget,
body:has(.neto-header) .elementor-location-header .elementor-widget-container,
body:has(.neto-header) .elementor-location-header .neto-ui--header {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	max-width: none !important;
	width: 100% !important;
}

/* Fixed glass over page (Hero starts under it) */
.neto-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
}

/* Publish header clearance to the document (header is often a sibling, not ancestor) */
body:has(.neto-header) {
	--neto-header-h: 4.35rem;
	--neto-header-shell-mt: 0.85rem;
	--neto-header-clear: calc(var(--neto-header-shell-mt) + var(--neto-header-h) + 1rem);
}

/* Hero starts at viewport top; keep content clear of bar */
body:has(.neto-header) .neto-hero {
	padding-top: max(var(--neto-header-clear), clamp(5.5rem, 11vh, 7rem));
}

/* Inner page masthead — clear fixed header (tight gap) */
body:has(.neto-header) .neto-page-head {
	padding-top: calc(var(--neto-header-clear) - 0.35rem);
}

/* Tablet / mobile: از راست → منو، پروفایل، لوگو */
@media (max-width: 1180px) {
	.neto-header {
		--neto-header-h: 3.3rem;
		--neto-header-shell-mt: 0.55rem;
		--neto-header-clear: calc(var(--neto-header-shell-mt) + var(--neto-header-h) + 0.85rem);
	}
	body:has(.neto-header) {
		--neto-header-h: 3.3rem;
		--neto-header-shell-mt: 0.55rem;
		--neto-header-clear: calc(var(--neto-header-shell-mt) + var(--neto-header-h) + 0.85rem);
	}
	.neto-header__shell {
		margin-top: var(--neto-header-shell-mt);
		border-radius: 0.95rem;
	}
	.neto-header__inner {
		min-height: var(--neto-header-h);
		padding: 0.28rem 0.55rem;
		gap: 0.35rem;
		justify-content: flex-start;
	}
	.neto-header__nav {
		display: none !important;
	}
	.neto-header__actions {
		display: contents;
	}
	.neto-header__burger {
		display: inline-flex;
		order: 1;
		width: 2.5rem;
		height: 2.5rem;
		min-width: 2.5rem;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.55);
		border-radius: 0.75rem;
		background: rgba(255, 255, 255, 0.35);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}
	html[data-neto-ui-theme="dark"] .neto-header__burger {
		background: rgba(255, 255, 255, 0.06);
		border-color: rgba(255, 255, 255, 0.14);
	}
	.neto-header__burger-lines {
		width: 16px;
		gap: 4px;
	}
	.neto-header__burger-lines span {
		height: 2px;
	}
	.neto-header.is-open .neto-header__burger-lines span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}
	.neto-header.is-open .neto-header__burger-lines span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
	.neto-header__btn--account {
		order: 2;
	}
	.neto-header__theme {
		display: inline-flex !important;
		order: 3;
		margin: 0;
	}
	.neto-header__theme .neto-ui-theme-btn {
		width: 2.5rem !important;
		height: 2.5rem !important;
		min-width: 2.5rem !important;
		min-height: 2.5rem !important;
		padding: 0 !important;
		border-radius: 0.75rem;
	}
	.neto-header__theme .neto-ui-theme-btn svg {
		width: 18px;
		height: 18px;
	}
	.neto-header__brand {
		order: 4;
		margin-inline-start: auto;
		margin-left: 0.45rem;
		max-width: 9rem;
		padding-left: 0.15rem;
	}
	.neto-header__btn--consult {
		order: 5;
	}
	.neto-header__logo,
	.neto-header img.neto-header__logo,
	.neto-header .neto-header__brand img {
		width: auto !important;
		max-width: 8.5rem !important;
		height: auto !important;
		max-height: 1.85rem !important;
	}
	.neto-header__btn--consult span,
	.neto-header__btn--account span {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
	.neto-header__btn--consult,
	.neto-header__btn--account {
		position: relative;
		width: 2.5rem;
		height: 2.5rem;
		min-width: 2.5rem;
		padding: 0;
		border-radius: 0.75rem;
	}
	.neto-header__btn--account svg,
	.neto-header__btn--consult svg {
		width: 18px;
		height: 18px;
	}
}

@media (max-width: 640px) {
	.neto-header {
		--neto-header-h: 3.1rem;
		--neto-header-shell-mt: 0.45rem;
		--neto-header-clear: calc(var(--neto-header-shell-mt) + var(--neto-header-h) + 0.75rem);
	}
	body:has(.neto-header) {
		--neto-header-h: 3.1rem;
		--neto-header-shell-mt: 0.45rem;
		--neto-header-clear: calc(var(--neto-header-shell-mt) + var(--neto-header-h) + 0.75rem);
	}
	.neto-header__shell {
		width: calc(100% - 0.9rem);
		margin-top: 0.45rem;
		border-radius: 0.85rem;
	}
	.neto-header__inner {
		padding: 0.22rem 0.45rem;
		gap: 0.3rem;
	}
	.neto-header__btn--consult {
		display: none;
	}
	.neto-header__brand {
		max-width: 8.25rem;
		margin-left: 0.5rem;
		padding-left: 0.2rem;
	}
	.neto-header__logo,
	.neto-header img.neto-header__logo,
	.neto-header .neto-header__brand img {
		width: auto !important;
		max-width: 7.75rem !important;
		height: auto !important;
		max-height: 1.7rem !important;
	}
	.neto-header__burger,
	.neto-header__btn--account,
	.neto-header__theme .neto-ui-theme-btn {
		width: 2.35rem !important;
		height: 2.35rem !important;
		min-width: 2.35rem !important;
		min-height: 2.35rem !important;
		border-radius: 0.7rem;
	}
}

/* Compact hero offset when glass header is present */
@media (max-width: 1180px) {
	body:has(.neto-header) .neto-hero {
		padding-top: max(var(--neto-header-clear), clamp(4.25rem, 8.5vh, 5.5rem));
	}
}

@media (prefers-reduced-motion: reduce) {
	.neto-header__shell,
	.neto-header__drawer,
	.neto-header__backdrop,
	.neto-header__sub,
	.neto-header__btn,
	.neto-header__burger-lines span {
		transition: none !important;
	}
}
