.nix-site-header,
.nix-site-footer {
	background: #fff;
	color: #000000;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nix-site-header__inner {
	min-height: 72px;
	padding: 0 24px;
}

.nix-site-footer {
	padding: 40px 24px;
}

.nix-case {
	--nix-blue: #003f87;
	--nix-blue-2: #0056b3;
	--nix-ink: #000000;
	--nix-muted: #000000;
	--nix-line: #D7DEE8;
	--nix-soft: #f5faff;

	/* NiX Type Scale — Desktop */
	--nix-fs-h1: 48px;
	--nix-fs-h2: 36px;
	--nix-fs-h3: 24px;
	--nix-fs-h4: 18px;
	--nix-fs-body: 16px;
	--nix-fs-small: 14px;
	--nix-fs-btn: 16px;

	background: #fff;
	color: #000000;
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--nix-fs-body);
	font-weight: 400;
	letter-spacing: 0;
	overflow: hidden;
}

@media (max-width: 768px) {
	.nix-case {
		--nix-fs-h1: 32px;
		--nix-fs-h2: 28px;
		--nix-fs-h3: 20px;
		--nix-fs-h4: 16px;
		--nix-fs-body: 16px;
		--nix-fs-small: 13px;
		--nix-fs-btn: 15px;
	}
}

.nix-case * {
	box-sizing: border-box;
}

.nix-case-has-motion .nix-case-reveal {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition:
		opacity 680ms ease,
		transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--nix-reveal-delay, 0ms);
	will-change: opacity, transform;
}

.nix-case-has-motion .nix-case-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.nix-case-has-motion .nix-case__hero-media.nix-case-reveal,
.nix-case-has-motion .nix-commit__visual.nix-case-reveal {
	transform: translate3d(28px, 0, 0);
}

.nix-case-has-motion .nix-case__hero-copy.nix-case-reveal,
.nix-case-has-motion .nix-commit__content.nix-case-reveal {
	transform: translate3d(-24px, 0, 0);
}

.nix-case-has-motion .nix-case__service-tabs.nix-case-reveal,
.nix-case-has-motion .nix-case__trial-board.nix-case-reveal {
	transform: translate3d(0, 18px, 0) scale(0.985);
}

.nix-case-has-motion .nix-case__hero-media.nix-case-reveal.is-visible,
.nix-case-has-motion .nix-commit__visual.nix-case-reveal.is-visible,
.nix-case-has-motion .nix-case__hero-copy.nix-case-reveal.is-visible,
.nix-case-has-motion .nix-commit__content.nix-case-reveal.is-visible,
.nix-case-has-motion .nix-case__service-tabs.nix-case-reveal.is-visible,
.nix-case-has-motion .nix-case__trial-board.nix-case-reveal.is-visible {
	transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
	.nix-case-has-motion .nix-case-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.nix-case__trial-visual::before,
	.nix-case__trial-visual::after,
	.nix-case__trial-cardlet,
	.nix-case__trial-dot {
		animation: none;
	}
}

.nix-case a {
	/* color: inherit; */
	text-decoration: none;
}

.nix-case__wrap {
	width: min(1440px, calc(100% - 48px));
	margin: 0 auto;
}

.nix-case__hero {
	background:
		radial-gradient(ellipse 70% 90% at 18% 42%, #e4f0ff 0%, rgba(228, 240, 255, 0.55) 38%, transparent 68%),
		linear-gradient(105deg, #f3f8ff 0%, #fafcff 42%, #ffffff 100%);
	padding: 64px 0 72px;
}

.nix-case__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 1.15fr);
	gap: clamp(36px, 5vw, 64px);
	align-items: center;
}

.nix-case__hero-copy {
	min-width: 0;
	max-width: 520px;
}

.nix-case__photo-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
	width: 100%;
	max-width: 620px;
	margin-left: auto;
	aspect-ratio: 5 / 4;
	height: auto;
	min-height: 380px;
}

.nix-case__photo {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	object-fit: cover;
	border-radius: 20px;
	background: #dce6f2;
	box-shadow: 0 12px 32px rgba(39, 67, 101, 0.1);
}

.nix-case__photo--main {
	grid-row: 1 / span 2;
}

/* Hide legacy badge / metrics in saved hero markup */
.nix-case__hero .nix-case__badge,
.nix-case__hero .nix-case__metrics {
	display: none !important;
}

.nix-case__kicker,
.nix-commit__badge,
.nix-commit__stat {
	display: none !important;
}

.nix-case__title {
	max-width: 520px;
	margin: 0 0 20px;
	font-size: var(--nix-fs-h1);
	line-height: 1.2;
	letter-spacing: 0;
	font-weight: 700;
	color: #000000;
}

.nix-case__hero .nix-case__title {
	max-width: 560px;
	font-size: 48px;
	line-height: 1.18;
	font-weight: 700;
}

.nix-case__title-accent {
	display: block;
	width: fit-content;
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
	color: #2563eb;
	-webkit-text-fill-color: #2563eb;
}

.nix-case__intro {
	max-width: 480px;
	margin: 0;
	color: #4b5563;
	font-size: var(--nix-fs-body);
	font-weight: 400;
	line-height: 1.8;
}

.nix-case__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.nix-case__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border-radius: 10px;
	padding: 0 22px;
	font-size: var(--nix-fs-btn);
	font-weight: 600;
	box-shadow: none;
}

.nix-case__button--primary {
	background: #003f87;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(0, 63, 135, 0.22);
}

.nix-case__hero .nix-case__button--primary::after {
	content: "→";
	font-weight: 500;
	line-height: 1;
}

.nix-case__button--primary,
.nix-case__button--primary * {
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.nix-case__button--secondary {
	background: #ffffff;
	color: #0f172a;
	border: 1.5px solid #94a3b8;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.nix-case__hero .nix-case__button--secondary {
	background: #ffffff;
	color: #003f87;
	border: 1.5px solid #003f87;
	font-weight: 700;
}

.nix-case__hero .nix-case__button--secondary:hover {
	background: #f0f7ff;
}

.nix-case__metrics {
	display: flex;
	gap: 26px;
	margin-top: 34px;
}

.nix-case__metric-value {
	display: block;
	font-size: 26px;
	line-height: 1;
	font-weight: 900;
}

.nix-case__metric-label {
	display: block;
	margin-top: 6px;
	color: #000000;
	font-size: 13px;
	font-weight: 700;
}

.nix-case__section {
	padding: 64px 0;
}

.nix-case__section--services {
	padding-bottom: 18px;
}

.nix-case__section--cards {
	padding-top: 18px;
}

.nix-case__section--trial-cta {
	padding: 56px 0 68px;
	background: linear-gradient(180deg, #f7fbff 0%, #eef7ff 100%);
}

.nix-case__trial-board {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 24px;
	padding: clamp(34px, 5vw, 62px) clamp(18px, 4vw, 44px);
	border: 1px solid rgba(0, 63, 135, 0.12);
	border-radius: 18px;
	background:
		radial-gradient(circle at 50% 0%, rgba(43, 127, 255, 0.24), transparent 36%),
		linear-gradient(135deg, #eef7ff 0%, #ffffff 46%, #e8f4ff 100%);
	box-shadow: 0 24px 70px rgba(0, 63, 135, 0.12);
	overflow: hidden;
	text-align: center;
}

.nix-case__trial-board::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 63, 135, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 63, 135, 0.045) 1px, transparent 1px);
	background-size: 44px 44px;
	content: "";
	pointer-events: none;
}

.nix-case__trial-hero,
.nix-case__trial-benefit {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	border: 1px solid rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 18px 46px rgba(0, 63, 135, 0.12);
	backdrop-filter: blur(12px);
}

.nix-case__trial-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 58px;
	gap: 18px;
	align-items: center;
	padding: clamp(34px, 4vw, 52px);
	border-radius: 18px;
	background:
		radial-gradient(circle at 14% 20%, rgba(81, 162, 255, 0.36), transparent 28%),
		linear-gradient(135deg, #003f87 0%, #0056b3 54%, #115cc8 100%);
	text-align: center;
}

.nix-case__trial-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: fit-content;
	margin: 0 auto 14px;
	border-radius: 999px;
	background: #e6f4ff;
	color: var(--nix-blue);
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	padding: 7px 12px;
}

.nix-case__trial-label::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2b7fff;
	content: "";
}

.nix-case__trial-title {
	grid-column: 1;
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 900;
	line-height: 1.34;
	letter-spacing: 0;
}

.nix-case__trial-contact-mark {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 999px;
	background: #fff;
	color: var(--nix-blue);
	font-size: 20px;
	font-weight: 900;
	box-shadow: 0 14px 28px rgba(0, 27, 70, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nix-case__trial-board:hover .nix-case__trial-contact-mark {
	box-shadow: 0 18px 34px rgba(0, 27, 70, 0.32);
	transform: translateX(3px);
}

.nix-case__trial-benefit {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
	gap: 24px;
	align-items: stretch;
	padding: 14px;
	border-radius: 18px;
	text-align: left;
}

.nix-case__trial-benefit-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-height: 190px;
	padding: clamp(24px, 3vw, 36px);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(230, 244, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 58%, rgba(220, 239, 255, 0.88) 100%);
}

.nix-case__trial-benefit-copy .nix-case__trial-label {
	margin: 0 0 18px;
	background: rgba(0, 63, 135, 0.08);
}

.nix-case__trial-support {
	max-width: 620px;
	margin: 0;
	color: #000000;
	font-size: var(--nix-fs-h3);
	font-weight: 700;
	line-height: 1.35;
}

.nix-case__trial-benefit-link {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-top: 24px;
	border: 1px solid rgba(0, 63, 135, 0.18);
	border-radius: 999px;
	background: var(--nix-blue);
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	box-shadow: 0 12px 24px rgba(39, 67, 101, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nix-case__trial-benefit-link:hover,
.nix-case__trial-benefit-link:focus-visible {
	box-shadow: 0 16px 30px rgba(39, 67, 101, 0.18);
	transform: translateX(3px);
}

.nix-case__trial-visual {
	position: relative;
	min-height: 190px;
	border-radius: 14px;
	background:
		radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.9), transparent 28%),
		linear-gradient(135deg, #dff2ff 0%, #b8dcff 48%, #eef7ff 100%);
	overflow: hidden;
}

.nix-case__trial-visual::before,
.nix-case__trial-visual::after {
	position: absolute;
	border-radius: 999px;
	background:
		radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.76), transparent 28%),
		rgba(0, 86, 179, 0.12);
	box-shadow: 0 18px 34px rgba(0, 86, 179, 0.12);
	content: "";
	pointer-events: none;
}

.nix-case__trial-visual::before {
	top: 20px;
	right: 24px;
	width: 28px;
	height: 28px;
	animation: nix-trial-bubble-float 7s ease-in-out infinite;
}

.nix-case__trial-visual::after {
	left: 42%;
	bottom: 22px;
	width: 20px;
	height: 20px;
	animation: nix-trial-bubble-float 8s ease-in-out 1.2s infinite reverse;
}

.nix-case__trial-cardlet,
.nix-case__trial-dot {
	position: absolute;
	display: block;
}

.nix-case__trial-cardlet {
	right: 32px;
	width: 150px;
	height: 96px;
	border: 2px solid rgba(0, 63, 135, 0.26);
	border-radius: 14px;
	background:
		linear-gradient(90deg, rgba(0, 63, 135, 0.18) 16px, transparent 16px) 20px 60px / 48px 8px no-repeat,
		linear-gradient(90deg, rgba(0, 63, 135, 0.3) 52px, rgba(0, 63, 135, 0.1) 52px) 20px 24px / 98px 10px no-repeat,
		rgba(255, 255, 255, 0.9);
	box-shadow: 0 16px 32px rgba(0, 63, 135, 0.16);
	will-change: transform;
}

.nix-case__trial-cardlet--front {
	top: 54px;
	transform: rotate(-5deg);
	animation: nix-trial-card-front 6.4s ease-in-out infinite;
}

.nix-case__trial-cardlet--back {
	top: 82px;
	right: 86px;
	background:
		linear-gradient(90deg, rgba(0, 63, 135, 0.18) 16px, transparent 16px) 20px 60px / 48px 8px no-repeat,
		linear-gradient(90deg, rgba(0, 63, 135, 0.3) 52px, rgba(0, 63, 135, 0.1) 52px) 20px 24px / 98px 10px no-repeat,
		#dcebff;
	transform: rotate(7deg);
	animation: nix-trial-card-back 7.2s ease-in-out 0.8s infinite;
}

.nix-case__trial-dot {
	border-radius: 999px;
	background:
		radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.68), transparent 30%),
		#0056b3;
	box-shadow: 0 12px 24px rgba(0, 86, 179, 0.2);
	will-change: transform, opacity;
}

.nix-case__trial-dot--one {
	top: 34px;
	left: 32px;
	width: 44px;
	height: 44px;
	opacity: 0.2;
	animation: nix-trial-bubble-one 6.8s ease-in-out infinite;
}

.nix-case__trial-dot--two {
	right: 24px;
	bottom: 24px;
	width: 70px;
	height: 70px;
	opacity: 0.12;
	animation: nix-trial-bubble-two 8.4s ease-in-out 0.4s infinite;
}

@keyframes nix-trial-bubble-one {
	0%,
	100% {
		opacity: 0.18;
		transform: translate3d(0, 0, 0) scale(1);
	}

	45% {
		opacity: 0.28;
		transform: translate3d(8px, -12px, 0) scale(1.08);
	}

	70% {
		opacity: 0.16;
		transform: translate3d(-4px, -20px, 0) scale(0.96);
	}
}

@keyframes nix-trial-bubble-two {
	0%,
	100% {
		opacity: 0.1;
		transform: translate3d(0, 0, 0) scale(1);
	}

	42% {
		opacity: 0.18;
		transform: translate3d(-12px, -18px, 0) scale(1.06);
	}

	74% {
		opacity: 0.12;
		transform: translate3d(8px, -30px, 0) scale(0.94);
	}
}

@keyframes nix-trial-bubble-float {
	0%,
	100% {
		opacity: 0.58;
		transform: translate3d(0, 0, 0) scale(1);
	}

	50% {
		opacity: 0.86;
		transform: translate3d(0, -18px, 0) scale(1.12);
	}
}

@keyframes nix-trial-card-front {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(-5deg);
	}

	50% {
		transform: translate3d(0, -8px, 0) rotate(-2deg);
	}
}

@keyframes nix-trial-card-back {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(7deg);
	}

	50% {
		transform: translate3d(-6px, 7px, 0) rotate(4deg);
	}
}

.nix-case__section--customer-voices {
	padding-bottom: 28px;
}

.nix-case__section--university-voices {
	padding-top: 28px;
}

/* Section headings căn giữa cho testimonial sections */
.nix-case__section--customer-voices .nix-case__section-title,
.nix-case__section--university-voices .nix-case__section-title {
	font-size: var(--nix-fs-h2);
	text-align: center;
}

.nix-case__center {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.nix-case__section-title {
	margin: 10px 0;
	font-size: var(--nix-fs-h2);
	line-height: 1.25;
	font-weight: 700;
	color: #003f87;
	text-align: center;
}

.nix-case__section-copy {
	max-width: 560px;
	margin: 0 auto;
	color: #000000;
	font-size: var(--nix-fs-body);
	font-weight: 400;
	line-height: 1.7;
	text-align: center;
}

.nix-case__customer-subtitle,
.nix-case__voice-subtitle {
	max-width: 720px;
	margin-top: 10px;
	margin-bottom: 28px;
	color: #000000;
	font-size: var(--nix-fs-body);
	font-weight: 400;
}

.nix-case__service-tabs {
	--nix-service-active: 1;
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: 38px;
	padding: 10px;
	border: 1px solid var(--nix-line);
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.nix-case__service-tabs::before {
	content: "";
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	z-index: 0;
	width: calc((100% - 20px) / 3);
	border-radius: 14px;
	background: linear-gradient(135deg, #003f87 0%, #0056b3 52%, #1a6fc4 100%);
	background-size: 160% 160%;
	box-shadow: 0 22px 44px rgba(0, 96, 196, 0.28);
	transform: translateX(calc(var(--nix-service-active) * 100%));
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
	animation: nix-service-pill-glow 4.2s ease-in-out infinite;
}

.nix-case__service-card {
	position: relative;
	z-index: 1;
	min-height: 116px;
	padding: 26px 68px 24px 26px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: var(--nix-ink);
	cursor: pointer;
	text-align: left;
	transition: transform 240ms ease, color 220ms ease;
	will-change: transform;
}

.nix-case__service-card:hover {
	transform: translateY(-4px);
	background: transparent;
}

.nix-case__service-card.is-active {
	background: transparent;
	color: #fff;
	box-shadow: none;
}

.nix-case__service-card.is-active:hover {
	transform: translateY(-6px) scale(1.01);
}

.nix-case__service-icon {
	position: absolute;
	top: 24px;
	right: 26px;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(0, 104, 216, 0.12);
	transition: background-color 220ms ease, box-shadow 220ms ease;
}

.nix-case__service-icon svg {
	position: absolute;
	inset: 7px;
	width: 18px;
	height: 18px;
	color: var(--nix-blue);
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	transition: color 220ms ease;
}

.nix-case__service-card.is-active .nix-case__service-icon {
	background: rgba(255, 255, 255, 0.22);
	box-shadow: none;
}

.nix-case__service-card.is-active .nix-case__service-icon svg {
	color: #fff;
}

@keyframes nix-service-pill-glow {
	0%,
	100% {
		background-position: 0% 50%;
		box-shadow: 0 18px 34px rgba(0, 96, 196, 0.22);
	}

	50% {
		background-position: 100% 50%;
		box-shadow: 0 26px 52px rgba(0, 113, 230, 0.34);
	}
}

.nix-case__service-menu {
	display: block;
	color: #8fb3df;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.nix-case__service-card.is-active .nix-case__service-menu {
	color: #b8dcff;
}

.nix-case__service-name {
	margin: 11px 0 7px;
	font-size: var(--nix-fs-h3);
	font-weight: 700;
}

.nix-case__service-text {
	margin: 0;
	color: #6b7280;
	font-size: var(--nix-fs-small);
	font-weight: 400;
	line-height: 1.55;
	transition: color 220ms ease;
}

.nix-case__service-card.is-active .nix-case__service-text {
	color: rgba(255, 255, 255, 0.78);
}

.nix-case__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 58px;
}

.nix-case__section--cards .nix-case__cards {
	margin-top: 0;
}

.nix-case-card {
	position: relative;
	min-height: 440px;
	overflow: hidden;
	border-radius: 10px;
	background: #142033;
	box-shadow: 0 18px 42px rgba(19, 34, 56, 0.14);
}

.nix-case-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 21, 36, 0.08) 20%, rgba(12, 21, 36, 0.88) 100%);
}

.nix-case-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nix-case-card__logo {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0,0,0,0.15);
	overflow: hidden;
}

.nix-case-card__dot {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0,0,0,0.15);
	overflow: hidden;
}

.nix-case-card__dot::before {
	content: "NX";
	color: #003f87;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.nix-case-card__logo img {
	width: 80%;
	height: 80%;
	object-fit: contain;
}

.nix-case-card__logo span {
	color: #003f87;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}

.nix-case-card__body {
	position: static;
	z-index: 2;
	color: #fff;
}

.nix-case-card__tag {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	display: inline-flex;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 999px;
	padding: 6px 12px;
	background: rgba(0, 30, 80, 0.55);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nix-case-card__title {
	position: absolute;
	left: 18px;
	right: 56px;
	bottom: 20px;
	z-index: 2;
	max-width: 310px;
	margin: 0;
	font-size: 18px; /* H4 */
	line-height: 1.5;
	font-weight: 700;
}

.nix-case-card__arrow {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	font-weight: 800;
}

.nix-case .nix-case-card > .nix-case-card__tag {
	display: inline-flex;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 8px;
}

.nix-case .nix-case-card > .nix-case-card__logo {
	display: grid;
	margin: 0;
}

.nix-case .nix-case-card .nix-case-card__logo > span {
	display: block;
	margin: 0;
	color: #1a2a40;
	font-size: 10px;
	line-height: 1;
}

.nix-case .nix-case-card .nix-case-card__title {
	margin: 0;
}

.nix-case .nix-case-card .nix-case-card__arrow {
	display: grid;
	margin: 0;
	color: #fff;
	font-size: 14px;
	line-height: 1;
}

.nix-case__pager {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 22px;
	margin-top: 38px;
	color: #000000;
	font-size: var(--nix-fs-small);
}

.nix-case__pager[hidden] {
	display: none;
}

.nix-case__pager-nav,
.nix-case__pager-link {
	border: 0;
	background: none;
	padding: 0;
	color: inherit;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: color 180ms ease;
}

.nix-case__pager-link:hover,
.nix-case__pager-nav:hover {
	color: #003f87;
}

.nix-case__pager-nav:last-child {
	color: #003f87;
	font-weight: 800;
}

.nix-case__pager-nav.is-disabled {
	color: #000000;
	opacity: 0.72;
	cursor: default;
}

.nix-case__pager-current {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #003f87;
	color: #fff;
	font-weight: 900;
}

.nix-case__quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 440px));
	justify-content: center;
	align-items: stretch;
	margin: 50px auto;
	gap: 24px;
	max-width: 1400px;
}

.nix-quote {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	min-height: 190px;
	padding: 28px;
	border: 1px solid var(--nix-line);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 16px 30px rgba(25, 48, 80, 0.06);
	box-sizing: border-box;
	position: relative;
	z-index: 1;
	transition:
		transform 0.28s ease,
		box-shadow 0.28s ease,
		border-color 0.28s ease,
		opacity 0.28s ease,
		filter 0.28s ease;
}

.nix-quote:hover,
.nix-quote.is-hovered,
.nix-quote:focus-within {
	z-index: 5;
	transform: translateY(-10px) scale(1.03);
	border-color: #9fc2ef;
	box-shadow:
		0 22px 48px rgba(0, 63, 135, 0.18),
		0 8px 18px rgba(25, 48, 80, 0.08);
}

.nix-quote__tag {
	display: inline-flex;
	align-self: flex-start;
	max-width: 100%;
	border-radius: 999px;
	background: #eef6ff;
	color: var(--nix-blue);
	font-size: 11px;
	font-weight: 900;
	padding: 5px 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nix-quote__text {
	margin: 18px 0 24px;
	color: #000000;
	font-size: var(--nix-fs-body);
	font-weight: 400;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.nix-quote__name {
	margin-top: auto;
	border-top: 1px solid #dfe9f5;
	padding-top: 16px;
	color: var(--nix-blue);
	font-size: var(--nix-fs-small);
	font-weight: 700;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.nix-case__voices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 440px));
	justify-content: center;
	align-items: start;
	gap: 24px;
	max-width: 1400px;
	margin: 50px auto 0;
}

.nix-voice {
	min-width: 0;
	padding: 12px 20px 20px;
	text-align: center;
	position: relative;
	z-index: 1;
	border-radius: 20px;
	background: transparent;
	transition:
		transform 0.25s ease,
		opacity 0.25s ease;
}

.nix-voice:hover,
.nix-voice.is-hovered,
.nix-voice:focus-within {
	z-index: 5;
	transform: translateY(-6px);
}

.nix-voice:hover .nix-voice__avatar,
.nix-voice.is-hovered .nix-voice__avatar,
.nix-voice:focus-within .nix-voice__avatar {
	border-color: #0056b3;
	box-shadow:
		0 0 0 6px rgba(0, 63, 135, 0.08),
		0 14px 28px rgba(0, 63, 135, 0.2);
	transform: scale(1.04);
}

.nix-voice:hover .nix-voice__name,
.nix-voice.is-hovered .nix-voice__name,
.nix-voice:focus-within .nix-voice__name {
	color: #003f87;
}

.nix-voice:hover .nix-voice__text,
.nix-voice.is-hovered .nix-voice__text,
.nix-voice:focus-within .nix-voice__text {
	color: #000000;
}

.nix-case__quotes.is-carousel,
.nix-case__voices.is-carousel {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	gap: 24px;
	overflow-x: auto;
	overflow-y: visible;
	padding: 18px 6px 28px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.nix-case__quotes.is-carousel::-webkit-scrollbar,
.nix-case__voices.is-carousel::-webkit-scrollbar {
	display: none;
}

.nix-case__quotes.is-carousel > .nix-quote,
.nix-case__voices.is-carousel > .nix-voice {
	flex: 0 0 calc((100% - 48px) / 3);
	scroll-snap-align: start;
}

/* Khi hover 1 ý kiến: làm mờ các ý kiến còn lại */
.nix-case__quotes:has(.nix-quote:hover) > .nix-quote:not(:hover),
.nix-case__quotes:has(.nix-quote.is-hovered) > .nix-quote:not(.is-hovered),
.nix-case__quotes:has(.nix-quote:focus-within) > .nix-quote:not(:focus-within) {
	opacity: 0.45;
	filter: grayscale(0.15);
	transform: scale(0.98);
}

.nix-case__voices:has(.nix-voice:hover) > .nix-voice:not(:hover),
.nix-case__voices:has(.nix-voice.is-hovered) > .nix-voice:not(.is-hovered),
.nix-case__voices:has(.nix-voice:focus-within) > .nix-voice:not(:focus-within) {
	opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
	.nix-quote,
	.nix-voice,
	.nix-voice__avatar,
	.nix-voice__name,
	.nix-voice__text {
		transition: none;
	}

	.nix-quote:hover,
	.nix-quote.is-hovered,
	.nix-quote:focus-within,
	.nix-voice:hover,
	.nix-voice.is-hovered,
	.nix-voice:focus-within,
	.nix-voice:hover .nix-voice__avatar,
	.nix-voice.is-hovered .nix-voice__avatar,
	.nix-voice:focus-within .nix-voice__avatar {
		transform: none;
	}
}

.nix-voice-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 9px;
	max-width: 1400px;
	margin: 18px auto 52px;
}

.nix-voice-carousel__controls button {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid #cdd9e8;
	border-radius: 50%;
	background: #fff;
	color: #003f87;
	font: inherit;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nix-voice-carousel__controls button:hover,
.nix-voice-carousel__controls button:focus-visible {
	background: #003f87;
	color: #fff;
	transform: translateY(-1px);
}

.nix-voice-carousel__status {
	min-width: 42px;
	color: #000000;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.nix-voice__avatar {
	display: grid;
	place-items: center;
	width: 160px;
	height: 160px;
	margin: 0 auto 28px;
	border: 4px solid var(--nix-blue);
	border-radius: 50%;
	background: linear-gradient(135deg, #e8f0fc 0%, #f3f8ff 100%);
	overflow: hidden;
	color: var(--nix-blue);
	font-weight: 900;
	box-shadow: 0 4px 18px rgba(0, 63, 135, 0.15);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.nix-voice__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.nix-voice__name {
	margin: 0;
	color: #000000;
	font-size: var(--nix-fs-h3);
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
	transition: color 0.25s ease;
}

.nix-voice__role {
	margin: 6px 0 22px;
	color: var(--nix-blue);
	font-size: var(--nix-fs-small);
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.nix-voice__text {
	max-width: 360px;
	margin: 0 auto;
	color: #000000;
	font-size: var(--nix-fs-body);
	font-weight: 400;
	line-height: 1.75;
	overflow-wrap: anywhere;
	transition: color 0.25s ease;
}

.nix-case__partners {
	background: #f4f6f8;
	padding: 54px 0;
	color: #9bc9f9;
	font-size: 15px;
	font-weight: 900;
	text-align: center;
	word-spacing: 14px;
}

.nix-case__commitment {
	padding: 64px 0;
	background: #f5f8fc;
}

.nix-commit {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(360px, 520px);
	gap: clamp(36px, 5vw, 56px);
	align-items: center;
	min-height: 280px;
	border-radius: 16px;
	background: linear-gradient(135deg, #003f87 0%, #0056b3 52%, #1a6fc4 100%);
	color: #fff;
	padding: clamp(32px, 4vw, 42px);
	box-shadow: 0 24px 48px rgba(0, 63, 135, 0.22);
	/* thêm subtle texture overlay */
	position: relative;
	overflow: hidden;
}

/* dải sáng chéo góc tạo chiều sâu */
.nix-commit::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 80% at 0% 50%, rgba(255,255,255,0.06) 0%, transparent 70%),
		radial-gradient(ellipse 40% 60% at 100% 0%, rgba(255,255,255,0.04) 0%, transparent 60%);
	pointer-events: none;
}

.nix-commit__badge,
.nix-commit .nix-case__badge {
	margin: 0;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.34);
	color: #fff;
	backdrop-filter: blur(10px);

}

.nix-commit__badge::before,
.nix-commit .nix-case__badge::before {
	background: #fff;
}

.nix-commit__title {
	margin: 0 0 14px;
	font-size: var(--nix-fs-h2);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0;
	white-space: pre-line;
}

.nix-commit__text {
	margin-top: 20px;
	position: relative;
	max-width: 500px;
	margin: 0 0 28px;
	padding: 22px 22px 22px 28px;
	border-left: 4px solid rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.13);
	border-radius: 0 12px 12px 0;
	color: #fff;
	font-size: var(--nix-fs-body);
	font-weight: 400;
	font-style: italic;
	line-height: 1.9;
	letter-spacing: 0.01em;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.15),
		0 8px 24px rgba(0,0,0,0.15);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

/* dấu ngoặc kép trang trí góc trên trái */
.nix-commit__text::before {
	content: '\201C';
	position: absolute;
	top: -18px;
	left: 16px;
	font-size: 72px;
	line-height: 1;
	font-style: normal;
	color: rgba(255, 255, 255, 0.35);
	font-family: Georgia, serif;
	pointer-events: none;
}

/* ── Journey cards: ①診断 ②伴走 ③自立 ── */
.nix-commit__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 0 0 28px;
}

.nix-commit__card {
	padding: 16px 16px 18px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.32);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 8px 24px rgba(0, 0, 0, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nix-commit__card:hover {
	transform: translateY(-3px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 16px 36px rgba(0, 0, 0, 0.22);
}

.nix-commit__card-head {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 4px;
}

.nix-commit__card-num {
	font-size: var(--nix-fs-h4);
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.nix-commit__card-label {
	margin: 0;
	font-size: var(--nix-fs-h4);
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.nix-commit__card-sub {
	margin: 0 0 6px;
	font-size: var(--nix-fs-small);
	font-weight: 400;
	color: rgba(255, 255, 255, 0.55);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.4;
}

.nix-commit__card-desc {
	margin: 0;
	font-size: var(--nix-fs-body);
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.75;
}

.nix-commit__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 7px;
	background: #fff;
	color: var(--nix-blue) !important;
	font-size: var(--nix-fs-btn);
	font-weight: 600;
	box-shadow: 0 12px 24px rgba(8, 40, 96, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nix-commit__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 28px rgba(8, 40, 96, 0.16);
}

.nix-commit__cta-arrow {
	font-size: 16px;
	line-height: 1;
}

/* ── Right: single photo ── */
.nix-commit__photo {
	position: relative;
	min-height: 300px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 48px rgba(8, 40, 96, 0.28);
}

.nix-commit__photo-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
	object-position: top center;
}

.nix-commit__stat {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 138px;
	border-radius: 8px;
	background: #fff;
	color: #000000;
	padding: 10px 12px;
	box-shadow: 0 16px 32px rgba(0, 33, 94, 0.18);
}

.nix-commit__stat-icon {
	display: grid;
	place-items: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #eef7ff;
	color: var(--nix-blue);
}

.nix-commit__stat-icon svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nix-commit__stat-copy strong {
	display: block;
	color: #000000;
	font-size: 14px;
	line-height: 1.2;
}

.nix-commit__stat-copy span {
	display: block;
	margin-top: 2px;
	color: #000000;
	font-size: 10px;
	font-weight: 700;
}

@media (max-width: 920px) {
	.nix-case__hero-grid,
	.nix-commit {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.nix-case__photo-grid {
		max-width: none;
		margin-left: 0;
		min-height: 300px;
		aspect-ratio: 4 / 3;
		height: auto;
	}

	.nix-case__service-tabs,
	.nix-case__cards,
	.nix-case__quotes,
	.nix-case__voices {
		grid-template-columns: 1fr;
	}

	.nix-case__service-tabs::before {
		display: none;
	}

	.nix-case__service-card.is-active {
		background: linear-gradient(135deg, #003f87 0%, #0056b3 52%, #1a6fc4 100%);
		box-shadow: 0 18px 34px rgba(0, 96, 196, 0.22);
	}

	.nix-case__quotes.is-carousel > .nix-quote,
	.nix-case__voices.is-carousel > .nix-voice {
		flex-basis: 100%;
	}

	.nix-voice-carousel__controls {
		justify-content: center;
		margin: 24px auto 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nix-case__quotes.is-carousel,
	.nix-case__voices.is-carousel {
		scroll-behavior: auto;
	}
}

a.nix-case-card,
button.nix-case-card {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	color: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
}

button.nix-case-card:focus-visible {
	outline: 3px solid var(--nix-blue-2);
	outline-offset: 3px;
}

html.nix-case-modal-open {
	overflow: hidden;
}

.nix-case-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 32px);
}

.nix-case-modal[hidden] {
	display: none;
}

.nix-case-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(23, 32, 51, 0.22);
	backdrop-filter: blur(2px);
}

.nix-case-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: 94vh;
	overflow: auto;
	overscroll-behavior: contain;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(12, 31, 60, 0.22);
	scrollbar-width: thin;
	scrollbar-color: #b7c5d8 transparent;
}

.nix-case-modal__close {
	position: sticky;
	top: 12px;
	z-index: 20;
	float: right;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin: 12px 14px -42px 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(10px);
}

.nix-case-modal__close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.nix-case-modal__content {
	clear: none;
}

.nix-modal-case {
	--nix-modal-blue: #0056b3;
	--nix-modal-blue-dark: #003f87;
	--nix-modal-blue-light: #1a6fc4;
	color: #000000;
	background: #fff;
	font-family: "Noto Sans JP", sans-serif;
}

.nix-modal-case__hero {
	position: relative;
	min-height: 268px;
	overflow: hidden;
	background-color: #142033;
	background-position: center;
	background-size: cover;
}

.nix-modal-case__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 25, 44, 0.12) 25%, rgba(10, 25, 44, 0.86) 100%);
}

.nix-modal-case__hero-content {
	position: absolute;
	right: 32px;
	bottom: 28px;
	left: 32px;
	z-index: 1;
	color: #fff;
}

.nix-modal-case__tag {
	display: inline-flex;
	margin: 0 0 10px;
	padding: 4px 9px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.nix-modal-case__hero h2 {
	max-width: 720px;
	margin: 0;
	color: #fff;
	font-size: clamp(22px, 3vw, 28px);
	line-height: 1.35;
	font-weight: 900;
}

.nix-modal-case__body {
	padding: 30px 30px 38px;
}

.nix-modal-case__intro {
	margin: 0 0 30px;
	color: #000000;
	font-size: 16px;
	line-height: 1.9;
}

.nix-modal-case__diagnosis {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 30px;
	margin-bottom: 34px;
}

.nix-modal-case__diagnosis > :only-child {
	grid-column: 1 / -1;
}

.nix-modal-case__problem,
.nix-modal-case__solution {
	min-height: 210px;
	padding: 24px;
	border-radius: 12px;
}

.nix-modal-case__problem {
	border: 1px solid #c8d0dc;
	background: #fbfcfe;
}

.nix-modal-case__solution {
	background: linear-gradient(135deg, #2b8bf2 0%, #1378e8 55%, #0566dc 100%);
	color: #fff;
	box-shadow: 0 16px 34px rgba(0, 86, 179, 0.18);
}

.nix-modal-case__panel-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.nix-modal-case__panel-heading > span {
	display: grid;
	place-items: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin: 0;
	border-radius: 9px;
	background: #fff2c7;
	color: #f6a900;
	font-size: 13px;
	font-weight: 900;
}

.nix-modal-case__solution .nix-modal-case__panel-heading > span {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.nix-modal-case__panel-heading h3 {
	margin: 0;
	color: inherit;
	font-size: 18px;
	font-weight: 900;
}

.nix-modal-case__panel-heading small {
	margin-top: 3px;
	color: #000000;
	font-size: 9px;
}

.nix-modal-case__solution .nix-modal-case__panel-heading small {
	color: rgba(255, 255, 255, 0.7);
}

.nix-modal-case__problem-list,
.nix-modal-case__solution-list {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nix-modal-case__problem-list li,
.nix-modal-case__solution-list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14px;
	line-height: 1.45;
}

.nix-modal-case__problem-list li > span,
.nix-modal-case__solution-list li > span {
	display: grid;
	place-items: center;
	flex: 0 0 15px;
	width: 18px;
	height: 18px;
	margin: 0;
	border-radius: 50%;
	background: #ffe9a6;
	color: #e99a00;
	font-size: 9px;
}

.nix-modal-case__solution-list li > span {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.nix-modal-case__progress-effect {
	margin: -4px 0 34px;
	padding: 24px;
	border: 1px solid #cfe4fb;
	border-radius: 12px;
	background: linear-gradient(135deg, #eef7ff 0%, #ffffff 100%);
	box-shadow: 0 16px 30px rgba(0, 61, 155, 0.06);
}

.nix-modal-case__progress-effect .nix-modal-case__panel-heading > span {
	background: #e5f1ff;
	color: #0056b3;
}

.nix-modal-case__progress-effect .nix-modal-case__panel-heading h3 {
	color: #003d9b;
}

.nix-modal-case__progress-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nix-modal-case__progress-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #000000;
	font-size: 13px;
	line-height: 1.65;
}

.nix-modal-case__progress-list li > span {
	display: grid;
	place-items: center;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border-radius: 50%;
	background: #0056b3;
	color: #fff;
	font-size: 9px;
}

.nix-modal-case__progress-list li > div {
	min-width: 0;
}

.nix-modal-case__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px;
	margin: 0 0 40px;
}

.nix-modal-case__metric {
	display: grid;
	place-items: center;
	min-height: 106px;
	padding: 16px;
	border-radius: 12px;
	background: #eef6ff;
	text-align: center;
}

.nix-modal-case__metric strong {
	color: #2584ed;
	font-size: 34px;
	line-height: 1;
}

.nix-modal-case__metric span {
	margin-top: 8px;
	color: #000000;
	font-size: 12px;
	font-weight: 700;
}

.nix-modal-case__metric small {
	display: block;
	margin-top: 5px;
	color: #000000;
	font-size: 14px;
	line-height: 1.4;
}

.nix-modal-case__overview {
	margin: 0 0 38px;
	color: #000000;
	font-size: 12px;
	line-height: 1.8;
}

.nix-modal-case__feedback {
	margin: 0 0 34px;
	padding: 24px;
	border: 1px solid #cfe4fb;
	border-radius: 12px;
	background: linear-gradient(135deg, #eef7ff 0%, #ffffff 100%);
	box-shadow: 0 16px 30px rgba(0, 61, 155, 0.06);
}

.nix-modal-case__feedback .nix-modal-case__panel-heading > span {
	background: #e5f1ff;
	color: #0056b3;
	font-size: 16px;
	line-height: 1;
}

.nix-modal-case__feedback .nix-modal-case__panel-heading h3 {
	color: #003d9b;
}

.nix-modal-case__feedback-text {
	margin: 0;
	padding: 0;
	border: 0;
	color: #000000;
	font-size: 13px;
	line-height: 1.65;
	font-style: normal;
}

.nix-modal-case__feedback-author {
	display: block;
	margin-top: 12px;
	color: #0056b3;
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
}

.nix-modal-case__overview h3,
.nix-modal-case__timeline-section > h3,
.nix-modal-case__media > h3 {
	margin: 0 0 20px;
	color: #000000;
	font-size: 16px;
	font-weight: 900;
}

.nix-modal-case__overview p:first-child {
	margin-top: 0;
}

.nix-modal-case__timeline-section {
	margin-top: 38px;
}

.nix-modal-case__timeline {
	position: relative;
	margin-left: 14px;
	padding-left: 34px;
}

.nix-modal-case__timeline::before {
	content: "";
	position: absolute;
	top: 14px;
	bottom: 28px;
	left: 0;
	width: 1px;
	background: #b9d9ff;
}

.nix-modal-case__timeline-item {
	position: relative;
	padding: 0 0 30px;
}

.nix-modal-case__timeline-number {
	position: absolute;
	top: 0;
	left: -48px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 0;
	border-radius: 50%;
	background: #2688f4;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	box-shadow: 0 5px 14px rgba(38, 136, 244, 0.25);
}

.nix-modal-case__timeline-week {
	display: block;
	margin: 0 0 5px;
	color: #2688f4;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.nix-modal-case__timeline-content h4 {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 900;
}

.nix-modal-case__timeline-content p {
	margin: 0 0 13px;
	color: #000000;
	font-size: 13px;
	line-height: 1.6;
}

.nix-modal-case__timeline-content img {
	display: block;
	width: 100%;
	max-height: 190px;
	border-radius: 10px;
	object-fit: cover;
}

.nix-modal-case__media {
	margin-top: 20px;
}

.nix-modal-case__media-image {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #142033;
}

.nix-modal-case__media-image > img {
	display: block;
	width: 100%;
	aspect-ratio: 2.1;
	object-fit: cover;
	filter: brightness(0.78);
}

.nix-modal-case__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin: 0;
	border-radius: 50%;
	background: #fff;
	color: #2688f4 !important;
	font-size: 18px;
	transform: translate(-50%, -50%);
	box-shadow: 0 12px 30px rgba(10, 31, 60, 0.22);
}

.nix-modal-case__media-label {
	position: absolute;
	bottom: 14px;
	left: 14px;
	margin: 0;
	padding: 7px 11px;
	border-radius: 7px;
	background: rgba(17, 31, 50, 0.74);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
}

.nix-modal-case__cta {
	margin-top: 36px;
	padding: 28px;
	border-radius: 12px;
	background: linear-gradient(135deg, #2b8bf2 0%, #0873e8 55%, #0660d8 100%);
	color: #fff;
}

.nix-modal-case__cta > span {
	display: block;
	margin: 0 0 10px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 9px;
}

.nix-modal-case__cta h3 {
	max-width: 520px;
	margin: 0 0 10px;
	color: #fff;
	font-size: 21px;
	line-height: 1.4;
	font-weight: 900;
}

.nix-modal-case__cta p {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 11px;
	line-height: 1.65;
}

.nix-modal-case__cta a {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	min-height: 40px;
	margin: 0;
	padding: 0 18px;
	border-radius: 8px;
	background: #fff;
	color: #146edb !important;
	font-size: 11px;
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(0, 40, 110, 0.16);
}

.nix-modal-case__cta a b {
	font-size: 14px;
}

@media (max-width: 700px) {
	.nix-case-modal {
		padding: 8px;
	}

	.nix-case-modal__dialog {
		max-height: 96vh;
		border-radius: 12px;
	}

	.nix-modal-case__hero {
		min-height: 230px;
	}

	.nix-modal-case__hero-content {
		right: 20px;
		bottom: 20px;
		left: 20px;
	}

	.nix-modal-case__body {
		padding: 24px 18px 28px;
	}

	.nix-modal-case__diagnosis,
	.nix-modal-case__metrics {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.nix-modal-case__metrics {
		margin-bottom: 30px;
	}

	.nix-modal-case__metric {
		min-height: 90px;
	}

	.nix-modal-case__timeline {
		margin-left: 10px;
		padding-left: 28px;
	}

	.nix-modal-case__timeline-number {
		left: -42px;
	}

	.nix-modal-case__media-image > img {
		aspect-ratio: 1.45;
	}
}

.nix-case-modal__article .nix-case__hero {
	padding-top: 0;
}

.nix-case-modal__article .nix-case-detail__panel h3 {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 900;
}

.nix-case-card[hidden],
.nix-case-card.is-hidden,
.nix-case-card.is-paged-out {
	display: none;
}

.nix-case__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 64px 24px;
	border: 1px dashed var(--nix-line);
	border-radius: 12px;
	background: #f7faff;
	color: var(--nix-muted);
	text-align: center;
}

.nix-case__empty[hidden] {
	display: none;
}

.nix-case__empty strong,
.nix-case__empty span {
	display: block;
}

.nix-case__empty strong {
	color: var(--nix-ink);
	font-size: 18px;
}

.nix-case__empty span {
	margin-top: 8px;
	font-size: 14px;
}

.nix-case-detail__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.nix-case-detail__back {
	display: inline-flex;
	margin-bottom: 18px;
	color: var(--nix-blue);
	font-size: 13px;
	font-weight: 700;
}

.nix-case-detail__client {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
}

.nix-case-detail__client .nix-case-card__logo {
	position: static;
	width: 56px;
	height: 56px;
}

.nix-case-detail__client strong {
	display: block;
	font-size: 15px;
}

.nix-case-detail__client span {
	display: block;
	margin-top: 4px;
	color: var(--nix-muted);
	font-size: 13px;
}

.nix-case-detail__hero-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1.15;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 18px 42px rgba(39, 67, 101, 0.12);
}

.nix-case-detail__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.nix-case-detail__panel {
	padding: 32px;
	border: 1px solid var(--nix-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 30px rgba(25, 48, 80, 0.06);
}

.nix-case-detail__panel--wide {
	grid-column: 1 / -1;
}

.nix-case-detail__panel h2,
.nix-case-detail__related .nix-case__section-title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 900;
}

.nix-case-detail__panel p,
.nix-case-detail__rich {
	margin: 0;
	color: #000000;
	font-size: 15px;
	line-height: 1.85;
}

.nix-case-detail__progress-effect {
	border-color: #cfe4fb;
	background: linear-gradient(135deg, #eef7ff 0%, #ffffff 100%);
}

.nix-case-detail__progress-effect h2 {
	color: #003d9b;
}

.nix-case-detail__quote {
	grid-column: 1 / -1;
	margin: 0;
	padding: 36px;
	border-left: 4px solid var(--nix-blue);
	border-radius: 12px;
	background: var(--nix-soft);
}

.nix-case-detail__quote p {
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 1.75;
	font-weight: 600;
}

.nix-case-detail__quote cite {
	color: var(--nix-blue);
	font-size: 13px;
	font-style: normal;
	font-weight: 800;
	text-transform: uppercase;
}

.nix-case-detail__related .nix-case__section-title {
	margin-bottom: 36px;
}

@media (max-width: 920px) {
	.nix-case-detail__hero-grid,
	.nix-case-detail__grid {
		grid-template-columns: 1fr;
	}

	.nix-case__trial-benefit {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.nix-case__wrap {
		width: calc(100% - 32px);
	}

	.nix-case__hero {
		padding: 40px 0 48px;
	}

	.nix-case__section {
		padding: 48px 0;
	}

	.nix-case__title {
		margin: 0 0 16px;
		font-size: var(--nix-fs-h1);
	}

	.nix-case__hero .nix-case__title {
		font-size: 32px;
	}

	.nix-case__intro {
		font-size: var(--nix-fs-body);
		line-height: 1.75;
	}

	.nix-case__section-title {
		font-size: 28px;
	}

	.nix-case__section--services {
		padding-bottom: 20px;
	}

	.nix-case__section--cards {
		padding-top: 20px;
	}

	.nix-case__section--customer-voices {
		padding-bottom: 28px;
	}

	.nix-case__section--university-voices {
		padding-top: 28px;
	}

	.nix-case__trial-board {
		gap: 22px;
		padding: 32px 18px;
	}

	.nix-case__trial-hero {
		grid-template-columns: 1fr;
		padding: 28px 18px;
	}

	.nix-case__trial-benefit {
		padding: 16px;
	}

	.nix-case__trial-benefit-copy {
		min-height: 0;
		padding: 22px 18px;
	}

	.nix-case__trial-support {
		font-size: var(--nix-fs-h3);
	}

	.nix-case__trial-title {
		font-size: 22px;
		line-height: 1.55;
	}

	.nix-case__trial-contact-mark {
		grid-column: 1;
		grid-row: auto;
		margin: 0 auto;
		width: 46px;
		height: 46px;
	}

	.nix-case__trial-visual {
		min-height: 170px;
	}

	.nix-case__pager {
		gap: 14px;
	}

	.nix-case__metrics {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}

	.nix-case__metric-value {
		font-size: 20px;
	}

	.nix-case__photo-grid {
		grid-template-columns: 1fr 1fr;
		min-height: 0;
		aspect-ratio: auto;
		height: auto;
	}

	.nix-case__photo {
		aspect-ratio: 1;
		border-radius: 16px;
	}

	.nix-case__photo--main {
		grid-column: 1 / -1;
		grid-row: auto;
		aspect-ratio: 1.4;
	}

	.nix-case-card {
		min-height: 370px;
	}

	.nix-commit {
		padding: 28px;
	}

	.nix-commit__title {
		font-size: var(--nix-fs-h2);
	}

	.nix-commit__cards {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.nix-commit__photo {
		min-height: 220px;
	}

	.nix-commit__photo-img {
		min-height: 220px;
	}

	.nix-commit__stat {
		left: 14px;
		bottom: 14px;
		min-width: 0;
	}
}

/* ── Service menu scroll target ─────────────────────────────────────────────
 * Offset for the sticky header so the section heading stays visible
 * after scrollIntoView(). Adjust if the header height changes.
 * ─────────────────────────────────────────────────────────────────────────── */
#case-study-service-menu {
	scroll-margin-top: 120px;
}
