.txexp-nav,
.txexp-nav * {
	box-sizing: border-box;
}

.txexp-nav {
	--txexp-bg: #ffffff;
	--txexp-bg-panel: #ffffff;
	--txexp-bg-soft: #f4f4f0;
	--txexp-text: #1a2b5c;
	--txexp-text-muted: #687082;
	--txexp-text-dark: #242629;
	--txexp-text-dark-muted: #687082;
	--txexp-accent: #c8102e;
	--txexp-accent-hover: #a40d24;
	--txexp-navy: #1a2b5c;
	--txexp-blue: #2e4a8a;
	--txexp-border: rgba(26, 43, 92, 0.14);
	--txexp-border-light: rgba(26, 43, 92, 0.14);
	position: relative;
	width: 100%;
	background: var(--txexp-bg);
	border-bottom: 1px solid var(--txexp-border);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	z-index: 100;
}

.txexp-nav a {
	text-decoration: none;
}

.txexp-nav__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.txexp-nav__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.txexp-nav__logo img {
	height: 46px;
	width: auto;
	display: block;
}

.txexp-nav__menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}

.txexp-nav__item {
	position: static;
	height: 100%;
	display: flex;
	align-items: center;
}

.txexp-nav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
	height: 100%;
	color: var(--txexp-text);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	position: relative;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.txexp-nav__link:hover,
.txexp-nav__link:focus-visible {
	color: var(--txexp-accent);
}

.txexp-nav__link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 14px;
	right: 14px;
	height: 2px;
	background: var(--txexp-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}

.txexp-nav__item:hover .txexp-nav__link::after,
.txexp-nav__item:focus-within .txexp-nav__link::after,
.txexp-nav__item--active .txexp-nav__link::after {
	transform: scaleX(1);
}

.txexp-nav__chevron {
	width: 10px;
	height: 10px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	transition: transform 0.25s ease;
}

.txexp-nav__item:hover .txexp-nav__chevron,
.txexp-nav__item:focus-within .txexp-nav__chevron {
	transform: rotate(180deg);
}

.txexp-nav__cta {
	padding: 12px 20px;
	background: var(--txexp-accent);
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 2px;
	transition: background 0.2s ease, transform 0.2s ease;
	margin-left: 12px;
	white-space: nowrap;
}

.txexp-nav__cta:hover,
.txexp-nav__cta:focus-visible {
	background: var(--txexp-accent-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

.txexp-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--txexp-bg-panel);
	color: var(--txexp-text-dark);
	box-shadow: 0 24px 48px rgba(26, 43, 92, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
	border-top: 1px solid var(--txexp-border-light);
	z-index: 99;
}

.txexp-nav__item:hover .txexp-mega,
.txexp-nav__item:focus-within .txexp-mega {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}

.txexp-mega__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 48px 32px;
	display: grid;
	gap: 48px;
}

.txexp-mega--products .txexp-mega__inner,
.txexp-mega--about .txexp-mega__inner {
	grid-template-columns: 1.1fr 1fr 1.25fr;
}

.txexp-mega--services .txexp-mega__inner,
.txexp-mega--industries .txexp-mega__inner {
	grid-template-columns: repeat(4, 1fr);
}

.txexp-mega--default .txexp-mega__inner {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.txexp-mega__col-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--txexp-accent);
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--txexp-border-light);
}

.txexp-mega__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.txexp-mega__list li {
	margin-bottom: 14px;
}

.txexp-mega__list li:last-child {
	margin-bottom: 0;
}

.txexp-mega__link {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	color: var(--txexp-text-dark);
	transition: transform 0.2s ease;
}

.txexp-mega__link:hover,
.txexp-mega__link:focus-visible {
	transform: translateX(4px);
}

.txexp-mega__link-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--txexp-text-dark);
	transition: color 0.2s ease;
}

.txexp-mega__link:hover .txexp-mega__link-title,
.txexp-mega__link:focus-visible .txexp-mega__link-title {
	color: var(--txexp-accent);
}

.txexp-mega__link-desc {
	font-size: 12px;
	color: var(--txexp-text-dark-muted);
	margin-top: 2px;
	line-height: 1.4;
}

.txexp-mega__feature {
	background: linear-gradient(135deg, var(--txexp-navy) 0%, var(--txexp-blue) 100%);
	color: #ffffff;
	padding: 32px;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 260px;
	position: relative;
	overflow: hidden;
}

.txexp-mega__feature::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 140px;
	height: 140px;
	background: #ffffff;
	opacity: 0.09;
	border-radius: 50%;
	transform: translate(40%, -40%);
}

.txexp-mega__feature > * {
	position: relative;
}

.txexp-mega__feature-tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--txexp-accent);
	margin-bottom: 8px;
}

.txexp-mega__feature-title {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 10px;
}

.txexp-mega__feature-desc {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.5;
	margin-bottom: 20px;
}

.txexp-mega__feature-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	align-self: flex-start;
}

.txexp-mega__feature-link:hover,
.txexp-mega__feature-link:focus-visible {
	color: #f1a6b2;
}

.txexp-mega__feature-link svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	transition: transform 0.2s ease;
}

.txexp-mega__feature-link:hover svg,
.txexp-mega__feature-link:focus-visible svg {
	transform: translateX(4px);
}

.txexp-nav__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--txexp-text);
}

.txexp-nav__toggle svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

@media (max-width: 1160px) {
	.txexp-nav__link {
		padding: 0 10px;
		font-size: 12px;
	}

	.txexp-nav__cta {
		padding: 11px 16px;
		margin-left: 8px;
	}
}

@media (max-width: 1024px) {
	.txexp-nav__inner {
		height: 70px;
		padding: 0 20px;
	}

	.txexp-nav__toggle {
		display: block;
	}

	.txexp-nav__menu {
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--txexp-bg);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 24px 0;
		height: calc(100vh - 70px);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.3s ease;
	}

	.txexp-nav--open .txexp-nav__menu {
		transform: translateX(0);
	}

	.txexp-nav__item {
		display: block;
		height: auto;
		flex-direction: column;
		align-items: stretch;
	}

	.txexp-nav__link {
		height: auto;
		padding: 18px 24px;
		justify-content: space-between;
		border-bottom: 1px solid var(--txexp-border);
		font-size: 14px;
	}

	.txexp-nav__link::after {
		display: none;
	}

	.txexp-mega {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: var(--txexp-bg-soft);
		color: var(--txexp-text-dark);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		box-shadow: none;
		border: none;
	}

	.txexp-nav__item--mega-open .txexp-mega {
		max-height: 2000px;
	}

	.txexp-nav__item--mega-open .txexp-nav__chevron {
		transform: rotate(180deg);
	}

	.txexp-mega__inner {
		padding: 16px 24px 24px;
		grid-template-columns: 1fr !important;
		gap: 24px;
	}

	.txexp-mega__col-label {
		color: var(--txexp-accent);
		border-color: var(--txexp-border);
	}

	.txexp-mega__link-title {
		color: var(--txexp-navy);
	}

	.txexp-mega__link-desc {
		color: var(--txexp-text-muted);
	}

	.txexp-nav__cta {
		margin: 16px 24px 0;
		text-align: center;
		justify-content: center;
		display: block;
	}
}
