.nx-explorer,
.nx-explorer * {
	box-sizing: border-box;
}

.nx-explorer {
	--nx-navy: #082a46;
	--nx-blue: #16496d;
	--nx-paper: #f4f6f7;
	--nx-muted: #69747d;
	--nx-rule: #dce1e4;
	width: min(1380px, calc(100% - 40px));
	margin: clamp(45px, 6vw, 90px) auto;
	color: #17212a;
	font-family: Montserrat, Arial, sans-serif;
}

.nx-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	padding-bottom: 22px;
	border-bottom: 2px solid var(--nx-rule);
}

.nx-eyebrow {
	display: block;
	margin-bottom: 7px;
	color: var(--nx-muted);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.nx-heading h2 {
	margin: 0;
	color: var(--nx-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(38px, 4vw, 62px);
	line-height: 1;
}

.nx-heading p {
	margin: 12px 0 0;
	color: var(--nx-muted);
	font-size: clamp(15px, 1.4vw, 19px);
}

.nx-badge,
.nx-result-badge {
	display: inline-block;
	padding: 7px 13px;
	border-radius: 999px;
	background: #e7f1f7;
	color: var(--nx-blue);
	font-size: 12px;
	font-weight: 700;
}

.nx-modes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0;
}

.nx-mode,
.nx-option {
	appearance: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.nx-mode {
	padding: 10px 15px;
	border-radius: 999px;
	background: transparent;
	color: var(--nx-muted);
	font-size: 15px;
}

.nx-mode:hover,
.nx-mode:focus-visible {
	color: var(--nx-navy);
}

.nx-mode.is-active {
	background: var(--nx-navy);
	color: #fff;
}

.nx-body {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(350px, .85fr);
	gap: clamp(30px, 5vw, 70px);
	align-items: stretch;
}

.nx-options-stage {
	position: relative;
	min-height: 500px;
}

.nx-options {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.nx-option {
	display: grid;
	min-height: 140px;
	align-content: center;
	justify-items: start;
	gap: 8px;
	padding: 20px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: rgba(255, 255, 255, .76);
	color: var(--nx-muted);
	text-align: left;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.nx-option:hover,
.nx-option:focus-visible {
	border-color: var(--nx-blue);
	color: var(--nx-navy);
	outline: none;
}

.nx-option.is-active {
	border-color: var(--nx-navy);
	background: var(--nx-navy);
	color: #fff;
}

.nx-option-icon {
	font-size: 24px;
	line-height: 1;
}

.nx-option strong {
	font-size: 17px;
}

.nx-option small {
	color: inherit;
	font-size: 12px;
	opacity: .72;
}

.nx-boat {
	position: absolute;
	z-index: 1;
	left: 2%;
	bottom: 2px;
	width: 96%;
	height: auto;
	fill: none;
	stroke: var(--nx-blue);
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: .14;
	pointer-events: none;
}

.nx-result {
	align-self: stretch;
	padding: clamp(24px, 3vw, 38px);
	border: 1px solid var(--nx-rule);
	border-radius: 22px;
	background: var(--nx-paper);
}

.nx-path {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 26px;
	color: var(--nx-muted);
	font-size: 12px;
}

.nx-path strong {
	color: var(--nx-navy);
}

.nx-result h3 {
	margin: 18px 0 10px;
	color: var(--nx-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.05;
}

.nx-result > p {
	margin: 0 0 28px;
	color: #39454e;
	font-size: 16px;
	line-height: 1.6;
}

.nx-articles {
	display: grid;
	border-top: 1px solid var(--nx-rule);
}

.nx-articles a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid var(--nx-rule);
	color: var(--nx-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.nx-articles a:hover span:first-child {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nx-route {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	padding: 11px 16px;
	border-radius: 9px;
	background: var(--nx-navy);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
}

.nx-route:hover {
	background: var(--nx-blue);
}

@media (max-width: 900px) {
	.nx-body {
		grid-template-columns: 1fr;
	}

	.nx-options-stage {
		min-height: 490px;
	}

	.nx-result {
		align-self: auto;
	}
}

@media (max-width: 620px) {
	.nx-explorer {
		width: calc(100% - 28px);
		margin: 42px auto;
	}

	.nx-heading {
		align-items: flex-start;
	}

	.nx-badge {
		display: none;
	}

	.nx-heading h2 {
		font-size: 38px;
	}

	.nx-modes {
		gap: 5px;
	}

	.nx-mode {
		padding: 9px 11px;
		font-size: 13px;
	}

	.nx-options-stage {
		min-height: 610px;
	}

	.nx-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nx-option {
		min-height: 125px;
		padding: 15px;
	}

	.nx-boat {
		bottom: 3px;
		opacity: .1;
	}
}

@media (max-width: 360px) {
	.nx-options {
		grid-template-columns: 1fr;
	}

	.nx-options-stage {
		min-height: 900px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nx-option {
		transition: none;
	}
}
/* Mejorar contraste y legibilidad del explorador */
.nx-explorer {
	color: #17212a;
	font-weight: 400;
}

.nx-heading p {
	color: #465762 !important;
	font-weight: 500 !important;
}

.nx-mode {
	color: #40515d !important;
	font-weight: 700 !important;
}

.nx-mode.is-active {
	background: #082a46 !important;
	color: #ffffff !important;
}

.nx-option {
	background: rgba(247, 249, 250, 0.92) !important;
	border-color: #e0e6e9 !important;
	color: #293d4b !important;
}

.nx-option strong {
	color: #082a46 !important;
	font-weight: 700 !important;
}

.nx-option small {
	color: #566772 !important;
	font-weight: 500 !important;
	opacity: 1 !important;
}

.nx-option-icon {
	color: #16496d !important;
	font-weight: 700 !important;
}

.nx-option:hover,
.nx-option:focus-visible {
	background: #eef3f6 !important;
	border-color: #16496d !important;
}

.nx-option.is-active {
	background: #082a46 !important;
	border-color: #082a46 !important;
	color: #ffffff !important;
}

.nx-option.is-active strong,
.nx-option.is-active small,
.nx-option.is-active .nx-option-icon {
	color: #ffffff !important;
}
