/*
 Theme Name:   GeneratePress Child - KBA Nhanh
 Template:     generatepress
 Version:      1.0.0
 Description:  Child theme cho website KBA Nhanh (concept "Nhà ga tốc hành trong ngày": tàu tốc hành vào ga, bảng giờ giải ngân lật chữ + đồng hồ giờ Việt Nam, sáu biển chỉ dẫn sân ga, bốn cửa soát vé, đoàn tàu bốn toa, máy bán vé chi phí, sáu vệt tốc độ). Toàn bộ CSS của dự án nằm trong file này.
 Text Domain:  kbanhanh
*/

/* ==========================================================================
   1. VARIABLES (mau do bang PIL tu logo.png 500x500: cam #F95F03 ~78%, trang ~20%)
   ========================================================================== */
:root {
	--kb-primary: #C24200;
	--kb-primary-dark: #A63700;
	--kb-orange: #F95F03;
	--kb-orange-soft: #FFE2CC;
	--kb-orange-pale: #FFF0E4;
	--kb-amber: #FFB347;
	--kb-green: #2FBF71;
	--kb-red: #E5484D;
	--kb-ink: #0E2A2F;
	--kb-ink-2: #16393F;
	--kb-ink-3: #2C4D52;
	--kb-text: #3D5559;
	--kb-muted: #5F7477;
	--kb-on-ink: #CFE0E2;
	--kb-on-ink-muted: #9FC1C5;
	--kb-bg-cream: #FFF5EC;
	--kb-bg-mint: #EEF5F4;
	--kb-white: #FFFFFF;
	--kb-border: #F0DCCB;
	--kb-border-mint: #D5E6E4;
	--kb-footer: #0A2125;
	--kb-shadow-sm: 0 2px 10px rgba(14, 42, 47, .06);
	--kb-shadow-md: 0 12px 30px rgba(14, 42, 47, .10);
	--kb-shadow-lg: 0 24px 56px rgba(14, 42, 47, .16);
	--kb-radius: 14px;
	--kb-radius-lg: 22px;
	--kb-radius-btn: 12px;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
html,
body {
	overflow-x: clip;
}

body.kb-body {
	background: var(--kb-white);
	color: var(--kb-text);
}

:where(.kb-body) a {
	color: var(--kb-primary);
}

:where(.kb-body) a:hover,
:where(.kb-body) a:focus {
	color: var(--kb-primary-dark);
}

:where(.kb-body) :where(ul, ol)[class] {
	margin: 0;
	padding: 0;
	list-style: none;
}

:where(.kb-body) dl,
:where(.kb-body) dd {
	margin: 0;
}

.kb-main h1,
.kb-main h2,
.kb-main h3,
.kb-main h4,
.kb-main h5,
.kb-main h6 {
	color: var(--kb-ink);
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.kb-main p {
	margin: 0;
}

.kb-main img {
	max-width: 100%;
	height: auto;
}

.kb-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.kb-container--narrow {
	max-width: 920px;
}

.kb-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.kb-skip {
	position: absolute;
	left: -9999px;
	top: 0;
}

.kb-skip:focus {
	left: 12px;
	top: 12px;
	z-index: 2000;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--kb-white);
	color: var(--kb-ink);
	box-shadow: var(--kb-shadow-md);
}

:where(.kb-body) :focus-visible {
	outline: 3px solid var(--kb-orange);
	outline-offset: 2px;
}

/* Vet toc do (dung net logo: 3 vach dai ngan + 2 cham). Mau qua --streak. */
.kb-streak {
	--streak: var(--kb-orange);
	position: relative;
	display: inline-block;
	flex: none;
	width: 36px;
	height: 22px;
	vertical-align: middle;
}

.kb-streak span,
.kb-streak i {
	position: absolute;
	right: 0;
	height: 4px;
	border-radius: 2px;
	background: var(--streak);
}

.kb-streak span:nth-child(1) {
	top: 2px;
	width: 24px;
}

.kb-streak span:nth-child(2) {
	top: 9px;
	width: 30px;
}

.kb-streak span:nth-child(3) {
	top: 16px;
	width: 20px;
}

.kb-streak i {
	right: auto;
	width: 4px;
	border-radius: 50%;
	opacity: .7;
}

.kb-streak i:nth-of-type(1) {
	left: 4px;
	top: 2px;
}

.kb-streak i:nth-of-type(2) {
	left: 10px;
	top: 16px;
}

.kb-streak--light {
	--streak: var(--kb-amber);
}

/* ==========================================================================
   3. BUTTONS + CTA loading
   ========================================================================== */
.kb-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 0;
	border-radius: var(--kb-radius-btn);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease, color .2s ease;
}

.kb-btn.kb-btn--primary {
	background: var(--kb-primary);
	color: var(--kb-white);
	box-shadow: 0 10px 22px rgba(194, 66, 0, .24);
}

.kb-btn.kb-btn--primary:hover,
.kb-btn.kb-btn--primary:focus {
	background: var(--kb-primary-dark);
	color: var(--kb-white);
}

/* Hover: nhac len + vach toc do o day nut */
.kb-btn.kb-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: inset 0 -4px 0 var(--kb-amber), 0 14px 26px rgba(194, 66, 0, .28);
}

.kb-btn.kb-btn--light {
	background: var(--kb-white);
	color: var(--kb-ink);
	box-shadow: 0 12px 24px rgba(14, 42, 47, .22);
}

.kb-btn.kb-btn--light:hover,
.kb-btn.kb-btn--light:focus {
	background: var(--kb-bg-cream);
	color: var(--kb-ink);
}

.kb-btn.kb-btn--light:hover {
	transform: translateY(-2px);
	box-shadow: inset 0 -4px 0 var(--kb-amber), 0 14px 26px rgba(14, 42, 47, .26);
}

.kb-btn--lg {
	padding: 14px 32px;
	font-size: 17px;
}

.kb-btn--block {
	width: 100%;
}

.kb-btn .btn-text {
	position: relative;
	transition: opacity .15s ease;
}

.btn-loading {
	pointer-events: none;
}

.btn-loading .btn-text {
	opacity: 0;
}

.btn-loading::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2.5px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: kb-spin .7s linear infinite;
}

@keyframes kb-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ==========================================================================
   4. HEADER + NAV
   Header KHONG z-index (khong tao stacking context) de panel menu mobile (fixed, z 1001)
   nam tren overlay (z 1000, dat ngoai header) - bai hoc VayMax. Header KHONG sticky.
   ========================================================================== */
.kb-header {
	position: relative;
	background: #fff;
	border-bottom: 1px solid var(--kb-border);
}

.kb-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.kb-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	text-decoration: none;
}

.kb-header__logo {
	display: block;
	width: 46px;
	height: 46px;
	border-radius: 12px;
}

.kb-header__name {
	color: var(--kb-ink);
	font-size: 24px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: -.01em;
	line-height: 1.1;
	white-space: nowrap;
}

.kb-header__name-accent {
	color: var(--kb-primary);
}

.kb-nav {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}

.kb-nav__head,
.kb-nav__cta {
	display: none;
}

.kb-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.kb-nav__link {
	position: relative;
	display: block;
	padding: 9px 16px;
	border-radius: 10px;
	color: var(--kb-ink);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.kb-body .kb-nav__link:hover,
.kb-body .kb-nav__link:focus {
	background: var(--kb-bg-cream);
	color: var(--kb-ink);
}

.kb-body .kb-nav__link--active,
.kb-body .kb-nav__link--active:hover {
	background: var(--kb-orange-pale);
	color: var(--kb-primary);
	pointer-events: none;
}

/* Chi bao active: 2 vach toc do nho duoi chu */
.kb-nav__link--active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 22px;
	height: 7px;
	margin-left: -11px;
	background:
		linear-gradient(var(--kb-orange), var(--kb-orange)) 4px 0 / 18px 2.5px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 0 4.5px / 14px 2.5px no-repeat;
}

.kb-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.kb-header__toggle {
	display: none;
}

.kb-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(10, 33, 37, .55);
}

.kb-nav-overlay[hidden] {
	display: none;
}

/* ==========================================================================
   5. HERO (giu nguyen khuon CLAUDE-TEMPLATE.md: 2 cot 1.1fr / 0.8fr)
   ========================================================================== */
.kb-hero {
	position: relative;
	padding: 56px 0 136px;
	background:
		radial-gradient(circle at 6% 12%, rgba(255, 179, 71, .18), transparent 40%),
		radial-gradient(circle at 94% 90%, rgba(14, 42, 47, .06), transparent 36%),
		linear-gradient(180deg, var(--kb-bg-cream) 0%, #fff 100%);
}

.kb-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr .8fr;
	gap: 48px;
	align-items: center;
}

.kb-hero__grid > * {
	min-width: 0;
}

.kb-main h1.kb-hero__title {
	max-width: 22em;
	margin: 0 0 14px;
	font-size: clamp(1.3rem, 5vw, 2rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
}

.kb-main .kb-hero__desc {
	max-width: 34em;
	margin: 0 0 18px;
	color: var(--kb-text);
	font-size: 18px;
	line-height: 1.6;
}

.kb-hero__art {
	width: 100%;
	max-width: 560px;
}

.kb-hero__svg {
	display: block;
	width: 100%;
	height: auto;
}

.kb-hero__train {
	animation: kb-bob 2.6s ease-in-out infinite;
}

.kb-hero__wind rect {
	animation: kb-gust 1.6s ease-in-out infinite;
	transform-box: fill-box;
	transform-origin: 100% 50%;
}

.kb-hero__wind rect:nth-child(2) {
	animation-delay: .25s;
}

.kb-hero__wind rect:nth-child(3) {
	animation-delay: .5s;
}

.kb-hero__hand {
	animation: kb-tick 6s steps(12) infinite;
	transform-box: view-box;
	transform-origin: 440px 78px;
}

.kb-hero__sign {
	animation: kb-sway 4.8s ease-in-out infinite;
	transform-box: view-box;
	transform-origin: 168px 0;
}

.kb-hero__float {
	animation: kb-float 4.4s ease-in-out infinite;
}

.kb-hero__float--late {
	animation-delay: 1.4s;
}

.kb-hero__spark {
	animation: kb-twinkle 2.8s ease-in-out infinite;
	transform-box: fill-box;
	transform-origin: center;
}

.kb-hero__spark--late {
	animation-delay: 1.2s;
}

@keyframes kb-bob {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -2px;
	}
}

@keyframes kb-gust {
	0%,
	100% {
		scale: 1 1;
	}

	50% {
		scale: .72 1;
	}
}

@keyframes kb-tick {
	to {
		rotate: 360deg;
	}
}

@keyframes kb-sway {
	0%,
	100% {
		rotate: -1.2deg;
	}

	50% {
		rotate: 1.2deg;
	}
}

@keyframes kb-float {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -9px;
	}
}

@keyframes kb-twinkle {
	0%,
	100% {
		opacity: .45;
		scale: .8;
	}

	50% {
		opacity: 1;
		scale: 1.1;
	}
}

.kb-hero__content {
	display: flex;
	justify-content: flex-end;
}

/* Widget "Uoc tinh khoan vay" */
.kb-calc {
	width: 100%;
	max-width: 500px;
	padding: 28px 28px 24px;
	border: 1px solid var(--kb-border);
	border-radius: var(--kb-radius-lg);
	background: #fff;
	box-shadow: var(--kb-shadow-lg);
}

.kb-main h2.kb-calc__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--kb-border);
	font-size: 20px;
	font-weight: 800;
}

.kb-main h2.kb-calc__title::before {
	content: "";
	flex: none;
	width: 26px;
	height: 14px;
	background:
		linear-gradient(var(--kb-orange), var(--kb-orange)) 6px 0 / 20px 3px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 0 5.5px / 26px 3px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 10px 11px / 16px 3px no-repeat;
}

.kb-calc__field {
	margin-bottom: 14px;
}

.kb-calc__label-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.kb-calc__label {
	color: var(--kb-text);
	font-size: 15px;
	font-weight: 600;
}

.kb-calc__value {
	color: var(--kb-primary);
	font-size: 26px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.kb-range {
	--kb-fill: 23.08%;
	display: block;
	width: 100%;
	height: 28px;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.kb-range::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 8px;
	background:
		linear-gradient(90deg, var(--kb-amber) 0%, var(--kb-orange) 100%) 0 0 / var(--kb-fill) 100% no-repeat,
		#EADFD6;
}

.kb-range::-moz-range-track {
	height: 8px;
	border-radius: 8px;
	background: #EADFD6;
}

.kb-range::-moz-range-progress {
	height: 8px;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--kb-amber) 0%, var(--kb-orange) 100%);
}

.kb-range::-webkit-slider-thumb {
	width: 26px;
	height: 26px;
	margin-top: -9px;
	border: 6px solid var(--kb-orange);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 10px rgba(14, 42, 47, .25);
	-webkit-appearance: none;
	appearance: none;
}

.kb-range::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 6px solid var(--kb-orange);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 10px rgba(14, 42, 47, .25);
}

.kb-calc__minmax {
	display: flex;
	justify-content: space-between;
	margin-top: 2px;
	color: var(--kb-muted);
	font-size: 13px;
}

.kb-calc__rows {
	margin: 4px 0 12px;
	padding: 4px 16px;
	border-radius: 14px;
	background: var(--kb-bg-cream);
}

.kb-calc__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed #E9CDB6;
}

.kb-calc__row dt {
	color: var(--kb-text);
	font-size: 15px;
}

.kb-calc__row dd {
	color: var(--kb-ink);
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.kb-calc__row--total {
	border-bottom: 0;
}

.kb-calc__row--total dt {
	color: var(--kb-ink);
	font-weight: 700;
}

.kb-calc__row--total dd {
	color: var(--kb-primary);
	font-size: 21px;
	font-weight: 800;
}

.kb-main .kb-calc__note {
	margin: 14px 0 0;
	color: var(--kb-muted);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

.kb-body .kb-calc__note a {
	color: var(--kb-muted);
	font-weight: 600;
	text-decoration: none;
}

.kb-body .kb-calc__note a:hover,
.kb-body .kb-calc__note a:focus {
	color: var(--kb-primary-dark);
	text-decoration: underline;
}

/* ==========================================================================
   6. STATS BAR (chi tablet / mobile)
   ========================================================================== */
.kb-stats {
	position: relative;
	margin-top: -40px;
	padding-bottom: 8px;
}

.kb-stats__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.kb-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 16px 10px;
	border: 1px solid var(--kb-border);
	border-radius: var(--kb-radius);
	background: #fff;
	box-shadow: var(--kb-shadow-md);
	text-align: center;
}

.kb-stats__num {
	color: var(--kb-primary);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
}

.kb-stats__label {
	color: var(--kb-text);
	font-size: 13.5px;
	line-height: 1.35;
}

/* ==========================================================================
   7. SECTION CHUNG (gach chan H2 = vet toc do 3 vach + 2 cham)
   ========================================================================== */
.kb-section {
	padding: 84px 0;
}

.kb-section--cream {
	background: var(--kb-bg-cream);
}

.kb-section--mint {
	background: var(--kb-bg-mint);
}

.kb-section--flush-top {
	padding-top: 40px;
}

.kb-section--flush-bottom {
	padding-bottom: 24px;
}

.kb-section__head {
	max-width: 780px;
	margin: 0 auto 44px;
	text-align: center;
}

.kb-main h2.kb-section__title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.25;
}

.kb-section__title::after {
	content: "";
	display: block;
	width: 112px;
	height: 18px;
	margin: 12px auto 0;
	background:
		radial-gradient(circle 2.6px, var(--kb-orange) 96%, transparent) 4px 1px / 6px 6px no-repeat,
		radial-gradient(circle 2.6px, var(--kb-orange) 96%, transparent) 14px 13px / 6px 6px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 22px 2px / 70px 4px no-repeat,
		linear-gradient(var(--kb-ink), var(--kb-ink)) 8px 8px / 104px 4px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 28px 14px / 52px 4px no-repeat;
}

.kb-example__intro .kb-section__title::after,
.kb-trust__body .kb-section__title::after {
	margin-left: 0;
}

.kb-main .kb-section__desc {
	margin-top: 14px;
	color: var(--kb-text);
	font-size: 17px;
	line-height: 1.65;
}

.kb-section__actions {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

/* ==========================================================================
   8. SIGNATURE: BANG GIO GIAI NGAN (bang lat chu nha ga)
   HTML mac dinh = trang thai cuoi. JS them .is-armed -> la gap len, .is-on -> lat xuong.
   ========================================================================== */
.kb-board {
	max-width: 980px;
	margin: 0 auto;
}

.kb-board__frame {
	position: relative;
	padding: 22px 24px 26px;
	border: 1px solid var(--kb-border-mint);
	border-radius: 26px;
	/* Nen sang mem: trang -> xanh ma nhat + quang cam rat nhat goc tren phai */
	background:
		radial-gradient(circle at 92% 0%, rgba(255, 179, 71, .16) 0%, transparent 42%),
		radial-gradient(circle at 0% 100%, rgba(14, 42, 47, .05) 0%, transparent 46%),
		linear-gradient(180deg, #FFFFFF 0%, #F3F9F8 100%);
	box-shadow: 0 18px 44px rgba(14, 42, 47, .09), inset 0 0 0 5px rgba(255, 255, 255, .7);
}

/* Hai moc treo bang */
.kb-board__frame::before,
.kb-board__frame::after {
	content: "";
	position: absolute;
	top: -34px;
	width: 6px;
	height: 28px;
	border-radius: 3px;
	background: #BFD3D1;
}

.kb-board__frame::before {
	left: 22%;
}

.kb-board__frame::after {
	right: 22%;
}

.kb-board__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px dashed var(--kb-border-mint);
}

.kb-main .kb-board__name {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--kb-ink);
	font-size: 18px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: .02em;
}

.kb-main .kb-board__clock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 8px;
	background: #071A1D;
	font-variant-numeric: tabular-nums;
}

.kb-board__clock-label {
	color: var(--kb-on-ink-muted);
	font-size: 12.5px;
	font-weight: 600;
}

.kb-board__clock-time {
	color: var(--kb-amber);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .04em;
}

.kb-board__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 8px;
	perspective: 600px;
}

.kb-board__table th,
.kb-board__table td {
	padding: 0 6px;
	border: 0;
	background: transparent;
	text-align: left;
	vertical-align: middle;
}

.kb-board__name .kb-streak {
	--streak: var(--kb-orange);
}

.kb-board__table thead th {
	padding-bottom: 2px;
	color: var(--kb-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
}

.kb-board__row th,
.kb-board__row td {
	transition: background-color .3s ease;
}

.kb-board__row.is-current th,
.kb-board__row.is-current td {
	background: rgba(255, 179, 71, .2);
}

.kb-board__row.is-current th {
	border-radius: 10px 0 0 10px;
	box-shadow: inset 4px 0 0 var(--kb-orange);
}

.kb-board__row.is-current td:last-child {
	border-radius: 0 10px 10px 0;
}

.kb-board__row th,
.kb-board__row td {
	padding-top: 6px;
	padding-bottom: 6px;
}

/* La lat: khoi chu co vach chia ngang o giua nhu bang lat chu */
.kb-flap {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 7px 12px;
	border-radius: 7px;
	/* Vach chia giua nam trong NEN (duoi chu), khong de len chu nhu gach ngang */
	background: linear-gradient(180deg, #1D4349 0 calc(50% - 1px), #0B2125 calc(50% - 1px) calc(50% + 1px), #183A40 calc(50% + 1px) 100%);
	box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	font-variant-numeric: tabular-nums;
	transform-origin: 50% 0;
	transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .2s ease;
}

.kb-flap--hot {
	color: var(--kb-amber);
}

.kb-flap--status {
	color: #CFF5DF;
	font-size: 14.5px;
}

.kb-board__lamp {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--kb-amber);
	box-shadow: 0 0 10px var(--kb-amber);
}

.kb-board__row.is-current .kb-board__lamp {
	animation: kb-blink 1.2s steps(2) infinite;
}

@keyframes kb-blink {
	50% {
		opacity: .25;
	}
}

.kb-board.is-armed .kb-flap {
	opacity: 0;
	transform: rotateX(-88deg);
}

.kb-board.is-armed .kb-flap.is-on {
	opacity: 1;
	transform: none;
}

.kb-main .kb-board__now {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 760px;
	margin: 22px auto 0;
	padding: 14px 18px;
	border: 1px solid var(--kb-border);
	border-radius: var(--kb-radius);
	background: #fff;
	color: var(--kb-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
}

.kb-main .kb-board__now::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border: 3px solid var(--kb-ink);
	border-radius: 50%;
	background:
		linear-gradient(var(--kb-orange), var(--kb-orange)) 50% 3px / 2.5px 7px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 8.5px 8.5px / 5px 2.5px no-repeat;
	box-sizing: border-box;
}

/* ==========================================================================
   9. THONG SO: SAU BIEN CHI DAN SAN GA
   ========================================================================== */
.kb-signs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px 22px;
}

.kb-sign {
	position: relative;
	min-width: 0;
	padding-top: 26px;
}

.kb-sign__rods {
	position: absolute;
	left: 22%;
	right: 22%;
	top: 0;
	height: 28px;
	border-left: 3px solid var(--kb-ink-3);
	border-right: 3px solid var(--kb-ink-3);
}

.kb-sign__rods::before {
	content: "";
	position: absolute;
	left: -10px;
	right: -10px;
	top: 0;
	height: 4px;
	border-radius: 2px;
	background: #C9D7D8;
}

.kb-sign__plate {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	height: 100%;
	padding: 18px 18px 20px;
	border-radius: var(--kb-radius);
	background: var(--kb-ink);
	box-shadow: var(--kb-shadow-md);
	box-sizing: border-box;
	transform-origin: 50% -26px;
	transition: transform .35s ease, box-shadow .35s ease;
}

.kb-sign:hover .kb-sign__plate {
	transform: rotate(-1.6deg);
	box-shadow: var(--kb-shadow-lg);
}

.kb-sign__pict {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: var(--kb-orange);
	color: var(--kb-ink);
	font-size: 17px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.kb-sign__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.kb-sign__label {
	color: var(--kb-on-ink-muted);
	font-size: 14px;
	font-weight: 600;
}

.kb-sign__value {
	color: #fff;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.3;
}

.kb-sign__hint {
	color: var(--kb-on-ink);
	font-size: 14px;
	line-height: 1.45;
}

.kb-signs.is-armed .kb-sign {
	opacity: 0;
	transform: translateY(-16px);
	transition: opacity .4s ease, transform .5s ease;
}

.kb-signs.is-armed .kb-sign.is-on {
	opacity: 1;
	transform: none;
}

.kb-signs.is-armed .kb-sign.is-on .kb-sign__plate {
	animation: kb-swing 1.1s ease-out;
}

@keyframes kb-swing {
	0% {
		rotate: 5deg;
	}

	35% {
		rotate: -3deg;
	}

	65% {
		rotate: 1.4deg;
	}

	100% {
		rotate: 0deg;
	}
}

.kb-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 36px;
}

.kb-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--kb-border);
	border-radius: 999px;
	background: var(--kb-bg-cream);
	color: var(--kb-ink);
	font-size: 15px;
	font-weight: 600;
}

.kb-chip::before {
	content: "";
	width: 14px;
	height: 8px;
	background:
		linear-gradient(var(--kb-orange), var(--kb-orange)) 3px 0 / 11px 2.5px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 0 5px / 14px 2.5px no-repeat;
}

/* ==========================================================================
   10. DIEU KIEN: BON CUA SOAT VE
   Trang thai cuoi (mac dinh) = canh chan da mo + mui ten xanh.
   ========================================================================== */
.kb-gates {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	padding-top: 4px;
}

/* San ga chay ngang duoi chan cac cua */
.kb-gates::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 98px;
	height: 6px;
	border-radius: 3px;
	background: repeating-linear-gradient(90deg, #F5C84A 0 18px, var(--kb-ink) 18px 36px);
	opacity: .55;
}

.kb-gate {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
}

.kb-gate__machine {
	position: relative;
	display: block;
	width: 168px;
	height: 98px;
	margin-bottom: 18px;
}

/* Hai tru cua */
.kb-gate__machine::before,
.kb-gate__machine::after {
	content: "";
	position: absolute;
	bottom: 0;
	width: 28px;
	height: 66px;
	border-radius: 8px 8px 4px 4px;
	background: linear-gradient(180deg, #2C4D52 0%, var(--kb-ink) 100%);
}

.kb-gate__machine::before {
	left: 0;
}

.kb-gate__machine::after {
	right: 0;
}

.kb-gate__screen {
	position: absolute;
	left: 50%;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 26px;
	margin-left: -35px;
	border: 3px solid var(--kb-ink);
	border-radius: 7px;
	background: #071A1D;
}

/* Mui ten xanh "di" (trang thai cuoi) */
.kb-gate__arrow {
	position: relative;
	width: 26px;
	height: 12px;
	background:
		linear-gradient(var(--kb-green), var(--kb-green)) 0 4.5px / 18px 3px no-repeat;
	transition: background .3s ease;
}

.kb-gate__arrow::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 1px;
	width: 8px;
	height: 8px;
	border-top: 3px solid var(--kb-green);
	border-right: 3px solid var(--kb-green);
	transform: rotate(45deg);
	transition: border-color .3s ease;
}

/* Hai canh chan kinh: mo = thu ve sat tru (scaleX nho) */
.kb-gate__wing {
	position: absolute;
	bottom: 22px;
	width: 56px;
	height: 34px;
	border: 2.5px solid var(--kb-orange);
	background: rgba(249, 95, 3, .16);
	transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

.kb-gate__wing--l {
	left: 28px;
	border-left: 0;
	border-radius: 0 8px 8px 0;
	transform: scaleX(.18);
	transform-origin: 0 50%;
}

.kb-gate__wing--r {
	right: 28px;
	border-right: 0;
	border-radius: 8px 0 0 8px;
	transform: scaleX(.18);
	transform-origin: 100% 50%;
}

.kb-gates.is-armed .kb-gate__wing {
	transform: none;
}

.kb-gates.is-armed .kb-gate.is-on .kb-gate__wing {
	transform: scaleX(.18);
}

.kb-gates.is-armed .kb-gate__arrow {
	background: none;
}

.kb-gates.is-armed .kb-gate__arrow::after {
	right: 8px;
	top: 1px;
	width: 10px;
	height: 10px;
	border: 0;
	background:
		linear-gradient(45deg, transparent 42%, var(--kb-red) 42% 58%, transparent 58%),
		linear-gradient(-45deg, transparent 42%, var(--kb-red) 42% 58%, transparent 58%);
	transform: none;
}

.kb-gates.is-armed .kb-gate.is-on .kb-gate__arrow {
	background: linear-gradient(var(--kb-green), var(--kb-green)) 0 4.5px / 18px 3px no-repeat;
}

.kb-gates.is-armed .kb-gate.is-on .kb-gate__arrow::after {
	right: 2px;
	width: 8px;
	height: 8px;
	border-top: 3px solid var(--kb-green);
	border-right: 3px solid var(--kb-green);
	background: none;
	transform: rotate(45deg);
}

.kb-gate__card {
	width: 100%;
	padding: 18px 16px 20px;
	border: 1px solid var(--kb-border-mint);
	border-radius: var(--kb-radius);
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
	text-align: center;
	transition: box-shadow .4s ease, border-color .4s ease;
}

.kb-gates.is-armed .kb-gate.is-on .kb-gate__card {
	border-color: #9ED9B8;
	box-shadow: var(--kb-shadow-md);
}

.kb-gate__label {
	display: block;
	margin-bottom: 6px;
	color: var(--kb-primary-dark);
	font-size: 13.5px;
	font-weight: 700;
}

.kb-main h3.kb-gate__title,
.kb-main h2.kb-gate__title {
	font-size: 18px;
	font-weight: 800;
}

.kb-main .kb-gate__text {
	margin-top: 6px;
	color: var(--kb-text);
	font-size: 15px;
	line-height: 1.55;
}

.kb-main .kb-gates__tip {
	max-width: 720px;
	margin: 30px auto 0;
	color: var(--kb-text);
	font-size: 16px;
	line-height: 1.6;
	text-align: center;
}

.kb-gates__tip strong {
	color: var(--kb-ink);
}

/* ==========================================================================
   11. QUY TRINH: DOAN TAU BON TOA
   ========================================================================== */
.kb-train {
	position: relative;
	padding: 6px 0 34px;
}

.kb-train__cars {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .5s ease;
}

.kb-car {
	position: relative;
	min-width: 0;
	padding: 62px 18px 44px;
	border: 2px solid var(--kb-ink);
	border-radius: 18px 18px 10px 10px;
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
}

/* Soc cam chay doc than toa */
.kb-car::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	height: 6px;
	background: var(--kb-orange);
}

/* Moc noi giua cac toa */
.kb-car + .kb-car::after {
	content: "";
	position: absolute;
	left: -24px;
	bottom: 34px;
	width: 24px;
	height: 6px;
	border-radius: 3px;
	background: var(--kb-ink);
}

.kb-car__window {
	position: absolute;
	left: 18px;
	top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 34px;
	border-radius: 9px;
	background: var(--kb-ink);
	color: var(--kb-amber);
	font-size: 19px;
	font-weight: 800;
	transition: background-color .4s ease, color .4s ease, box-shadow .4s ease;
}

.kb-car__window::after {
	content: "";
	position: absolute;
	left: 62px;
	top: 6px;
	width: 34px;
	height: 22px;
	border-radius: 7px;
	background: #BFE3E8;
	opacity: .6;
}

.kb-main h3.kb-car__title,
.kb-main h2.kb-car__title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.kb-car__label {
	color: var(--kb-primary-dark);
}

.kb-main .kb-car__text {
	margin-top: 8px;
	color: var(--kb-text);
	font-size: 15.5px;
	line-height: 1.6;
}

.kb-car__wheels {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: -14px;
	display: flex;
	justify-content: space-between;
}

.kb-car__wheels i {
	width: 26px;
	height: 26px;
	border: 5px solid #fff;
	border-radius: 50%;
	background: var(--kb-ink);
	box-sizing: border-box;
}

/* Dau may: than cam dam, mui bo tron ben phai */
.kb-car--engine {
	border-radius: 18px 54px 10px 10px;
	background: linear-gradient(160deg, var(--kb-primary) 0%, var(--kb-primary-dark) 100%);
}

.kb-car--engine::before {
	background: #fff;
	opacity: .9;
}

.kb-main .kb-car--engine .kb-car__title,
.kb-car--engine .kb-car__label {
	color: #fff;
}

.kb-main .kb-car--engine .kb-car__text {
	color: #fff;
}

.kb-car--engine .kb-car__window::after {
	left: auto;
	right: -60px;
	width: 40px;
	border-radius: 7px 22px 7px 7px;
	background: var(--kb-ink);
	opacity: 1;
}

.kb-train__rail {
	position: absolute;
	left: -20px;
	right: -20px;
	bottom: 6px;
	height: 10px;
	background:
		linear-gradient(var(--kb-ink), var(--kb-ink)) 0 0 / 100% 3px no-repeat,
		repeating-linear-gradient(90deg, #C9B6A4 0 12px, transparent 12px 40px) 0 3px / 100% 7px no-repeat;
}

.kb-train__wind {
	position: absolute;
	left: -12px;
	top: 40%;
	z-index: 0;
	display: block;
	width: 70px;
	height: 40px;
	opacity: 0;
}

.kb-train__wind span {
	position: absolute;
	right: 0;
	height: 5px;
	border-radius: 3px;
	background: var(--kb-orange);
}

.kb-train__wind span:nth-child(1) {
	top: 0;
	width: 50px;
}

.kb-train__wind span:nth-child(2) {
	top: 16px;
	width: 70px;
}

.kb-train__wind span:nth-child(3) {
	top: 32px;
	width: 40px;
}

.kb-train.is-armed .kb-train__cars {
	opacity: 0;
	transform: translateX(-80px);
}

.kb-train.is-armed.is-moving .kb-train__cars {
	opacity: 1;
	transform: none;
}

.kb-train.is-armed .kb-car__window {
	background: #5F7477;
	color: #fff;
}

.kb-train.is-armed .kb-car.is-on .kb-car__window {
	background: var(--kb-ink);
	color: var(--kb-amber);
	box-shadow: 0 0 0 4px rgba(255, 179, 71, .35);
}

.kb-train.is-armed.is-moving .kb-train__wind {
	animation: kb-wind 1.1s ease-out forwards;
}

@keyframes kb-wind {
	0% {
		opacity: 0;
		transform: translateX(40px);
	}

	40% {
		opacity: .9;
	}

	100% {
		opacity: 0;
		transform: translateX(-30px);
	}
}

/* ==========================================================================
   12. VI DU: MAY BAN VE CHI PHI + CANH BAO RUI RO
   ========================================================================== */
.kb-example__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.kb-example__grid > * {
	min-width: 0;
}

.kb-main .kb-example__formula {
	margin-top: 22px;
	padding: 14px 18px;
	border: 1.5px dashed #E2B998;
	border-radius: 12px;
	background: #fff;
	color: var(--kb-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.55;
}

.kb-example__formula-label {
	display: block;
	margin-bottom: 2px;
	color: var(--kb-muted);
	font-size: 13.5px;
	font-weight: 600;
}

.kb-risk {
	margin-top: 18px;
	padding: 16px 18px;
	border-left: 5px solid var(--kb-orange);
	border-radius: 0 12px 12px 0;
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
}

.kb-main .kb-risk__title {
	color: var(--kb-ink);
	font-size: 16.5px;
	font-weight: 800;
}

.kb-main .kb-risk__text {
	margin-top: 6px;
	color: var(--kb-text);
	font-size: 15.5px;
	line-height: 1.6;
}

.kb-machine {
	position: relative;
	padding: 22px 22px 24px;
	border-radius: 26px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, transparent 30%),
		var(--kb-ink);
	box-shadow: var(--kb-shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .06);
	color: #fff;
}

.kb-machine__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.kb-machine__brand {
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: .02em;
}

.kb-machine__led {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--kb-green);
	box-shadow: 0 0 10px var(--kb-green);
}

.kb-machine__screen {
	padding: 10px 16px 12px;
	border: 2px solid var(--kb-ink-3);
	border-radius: 14px;
	background: #071A1D;
}

.kb-machine__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.kb-machine__table th,
.kb-machine__table td {
	padding: 8px 0;
	border: 0;
	border-bottom: 1px dashed rgba(159, 193, 197, .25);
	background: transparent;
	font-size: 15px;
	line-height: 1.4;
}

.kb-machine__table th {
	color: var(--kb-on-ink-muted);
	font-weight: 600;
	text-align: left;
}

.kb-machine__table td {
	color: #fff;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.kb-machine__total th,
.kb-machine__total td {
	border-bottom: 0;
}

.kb-machine__total th {
	color: #fff;
}

.kb-machine__total td {
	color: var(--kb-amber);
	font-size: 22px;
	font-weight: 800;
}

.kb-main .kb-machine__formula {
	margin-top: 4px;
	padding-top: 8px;
	border-top: 1px solid rgba(159, 193, 197, .2);
	color: var(--kb-on-ink-muted);
	font-size: 13.5px;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.kb-machine__keys {
	margin-top: 14px;
}

.kb-main .kb-machine__keys-label {
	margin: 10px 0 6px;
	color: var(--kb-on-ink);
	font-size: 13.5px;
	font-weight: 600;
}

.kb-machine__keypad {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
}

.kb-machine__keypad--days {
	grid-template-columns: repeat(3, 1fr);
}

.kb-body .kb-key {
	min-height: 42px;
	padding: 8px 4px;
	border: 1px solid var(--kb-ink-3);
	border-radius: 10px;
	background: var(--kb-ink-2);
	box-shadow: 0 3px 0 #061417;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
	transition: background-color .15s ease, transform .1s ease, box-shadow .1s ease;
}

.kb-body .kb-key:hover,
.kb-body .kb-key:focus {
	border-color: var(--kb-amber);
	background: #1D4349;
	color: #fff;
}

.kb-body .kb-key:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 #061417;
}

.kb-body .kb-key[aria-pressed="true"] {
	border-color: var(--kb-amber);
	background: var(--kb-amber);
	color: var(--kb-ink);
}

.kb-machine__slot {
	position: relative;
	margin: 18px 0 16px;
	padding-top: 8px;
}

.kb-machine__slot::before {
	content: "";
	position: absolute;
	left: 14%;
	right: 14%;
	top: 0;
	height: 8px;
	border-radius: 4px;
	background: #030B0C;
	box-shadow: inset 0 2px 3px rgba(0, 0, 0, .6);
}

.kb-main .kb-ticket {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	width: 68%;
	margin: 0 auto;
	padding: 12px 16px 14px;
	border-radius: 0 0 8px 8px;
	background:
		radial-gradient(circle 6px at 0 50%, transparent 96%, var(--kb-bg-cream) 100%) left / 51% 100% no-repeat,
		radial-gradient(circle 6px at 100% 50%, transparent 96%, var(--kb-bg-cream) 100%) right / 51% 100% no-repeat;
	color: var(--kb-ink);
	text-align: center;
}

.kb-ticket__label {
	color: var(--kb-muted);
	font-size: 13px;
	font-weight: 700;
}

.kb-ticket__value {
	color: var(--kb-primary);
	font-size: 24px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
}

.kb-ticket__note {
	color: var(--kb-text);
	font-size: 12.5px;
}

.kb-ticket.is-printing {
	animation: kb-print .5s ease-out;
}

@keyframes kb-print {
	from {
		clip-path: inset(0 0 100% 0);
		transform: translateY(-10px);
	}

	to {
		clip-path: inset(0 0 0 0);
		transform: none;
	}
}

.kb-machine.is-armed .kb-ticket {
	opacity: 0;
	transform: translateY(-14px);
	transition: opacity .4s ease, transform .6s ease;
}

.kb-machine.is-armed.is-on .kb-ticket {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   13. VI SAO CHON: SAU VET TOC DO
   ========================================================================== */
.kb-streaks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 44px;
	max-width: 1040px;
	margin: 0 auto;
}

.kb-streak-item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	min-width: 0;
	padding: 22px 0;
	border-bottom: 1px solid var(--kb-border);
}

.kb-streak-item__mark {
	display: flex;
	flex: none;
	align-items: center;
	gap: 6px;
	width: 92px;
	padding-top: 2px;
}

.kb-streak-item__mark .kb-streak {
	width: 40px;
	transition: width .5s ease;
}

.kb-streak-item__num {
	color: var(--kb-ink);
	font-size: 24px;
	font-weight: 800;
	font-style: italic;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.kb-streak-item__body {
	min-width: 0;
}

.kb-main h3.kb-streak-item__title,
.kb-main h2.kb-streak-item__title {
	font-size: 18.5px;
	font-weight: 800;
}

.kb-main .kb-streak-item__text {
	margin-top: 6px;
	color: var(--kb-text);
	font-size: 16px;
	line-height: 1.6;
}

.kb-streaks.is-armed .kb-streak-item {
	opacity: 0;
	transform: translateX(-46px);
	transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}

.kb-streaks.is-armed .kb-streak-item.is-on {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   14. PHAP NHAN + LUU Y + GIA HAN (trang con)
   ========================================================================== */
.kb-trust__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 48px;
	align-items: start;
}

.kb-trust__grid > * {
	min-width: 0;
}

.kb-trust__body .kb-section__desc {
	margin-bottom: 24px;
}

.kb-plate {
	padding: 26px 26px 22px;
	border-radius: var(--kb-radius-lg);
	background: var(--kb-ink);
	box-shadow: var(--kb-shadow-lg);
	color: var(--kb-on-ink);
}

.kb-main .kb-plate__kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--kb-on-ink-muted);
	font-size: 14px;
	font-weight: 700;
}

.kb-main .kb-plate__name {
	margin: 10px 0 14px;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
}

.kb-plate__row {
	display: grid;
	grid-template-columns: 128px 1fr;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 15px;
	line-height: 1.55;
}

.kb-plate__row dt {
	color: var(--kb-on-ink-muted);
	font-weight: 600;
}

.kb-plate__row dd {
	min-width: 0;
	color: #fff;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.kb-body .kb-plate a {
	color: var(--kb-amber);
	text-decoration: none;
}

.kb-body .kb-plate a:hover,
.kb-body .kb-plate a:focus {
	color: #FFD08A;
	text-decoration: underline;
}

.kb-notes {
	display: grid;
	gap: 14px;
}

.kb-note {
	display: flex;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--kb-border-mint);
	border-radius: var(--kb-radius);
	background: #fff;
}

.kb-note__mark {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background:
		linear-gradient(#fff, #fff) 9px 9px / 14px 2.5px no-repeat,
		linear-gradient(#fff, #fff) 6px 14px / 17px 2.5px no-repeat,
		linear-gradient(#fff, #fff) 11px 19px / 12px 2.5px no-repeat,
		var(--kb-orange);
}

.kb-main h3.kb-note__title,
.kb-main h2.kb-note__title {
	font-size: 17px;
	font-weight: 800;
}

.kb-main .kb-note__text {
	margin-top: 4px;
	color: var(--kb-text);
	font-size: 15.5px;
	line-height: 1.6;
}

.kb-renew {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.kb-renew__step {
	position: relative;
	min-width: 0;
	padding: 22px 20px;
	border: 1px solid var(--kb-border-mint);
	border-radius: var(--kb-radius);
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
}

.kb-renew__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: var(--kb-ink);
	color: var(--kb-amber);
	font-size: 18px;
	font-weight: 800;
}

.kb-main h3.kb-renew__title {
	font-size: 17.5px;
	font-weight: 800;
}

.kb-main .kb-renew__text {
	margin-top: 6px;
	color: var(--kb-text);
	font-size: 15.5px;
	line-height: 1.6;
}

/* ==========================================================================
   15. KHOI NOI DUNG SEO (cuoi trang chu, KHONG collapse)
   ========================================================================== */
.kb-seo {
	padding: 84px 0;
	background: var(--kb-bg-mint);
}

.kb-seo__inner,
.kb-doc {
	position: relative;
	padding: 48px 56px;
	border: 1px solid var(--kb-border-mint);
	border-radius: var(--kb-radius-lg);
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
	color: var(--kb-text);
	font-size: 17px;
	line-height: 1.75;
	counter-reset: kb-h2;
}

.kb-main .kb-seo__inner p,
.kb-main .kb-doc p,
.kb-seo__inner ul,
.kb-seo__inner ol,
.kb-doc ul,
.kb-doc ol {
	margin: 0 0 16px;
}

.kb-seo__inner ul,
.kb-seo__inner ol,
.kb-doc ul,
.kb-doc ol {
	padding-left: 24px;
}

.kb-seo__inner li,
.kb-doc li {
	margin-bottom: 8px;
}

.kb-seo__inner strong,
.kb-doc strong {
	color: var(--kb-ink);
}

/* H2 danh so trong "bien so toa": o muc co soc cam ben trai */
.kb-main .kb-seo__inner h2,
.kb-main .kb-doc h2 {
	position: relative;
	margin: 44px 0 16px;
	padding-left: 64px;
	font-size: clamp(21px, 2.7vw, 26px);
	font-weight: 800;
	counter-increment: kb-h2;
}

.kb-main .kb-seo__inner h2:first-child,
.kb-main .kb-doc h2:first-child {
	margin-top: 0;
}

.kb-seo__inner h2::before,
.kb-doc h2::before {
	content: counter(kb-h2, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: .05em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 32px;
	border-left: 6px solid var(--kb-orange);
	border-radius: 6px;
	background: var(--kb-ink);
	color: var(--kb-amber);
	font-size: 15px;
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	box-sizing: border-box;
}

.kb-main .kb-seo__inner h3 {
	position: relative;
	margin: 28px 0 12px;
	padding-left: 30px;
	font-size: clamp(18px, 2.2vw, 21px);
	font-weight: 800;
}

.kb-seo__inner h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 20px;
	height: 10px;
	background:
		radial-gradient(circle 3px, var(--kb-orange) 96%, transparent) 0 2px / 6px 6px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 8px 0 / 12px 3px no-repeat,
		linear-gradient(var(--kb-ink), var(--kb-ink)) 8px 6px / 9px 3px no-repeat;
}

.kb-table-wrap {
	margin: 20px 0 22px;
	overflow-x: auto;
	border: 1px solid var(--kb-border-mint);
	border-radius: 14px;
}

.kb-table-wrap table {
	width: 100%;
	min-width: 520px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 16px;
}

.kb-table-wrap th,
.kb-table-wrap td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--kb-border-mint);
	text-align: left;
	vertical-align: top;
}

.kb-table-wrap th {
	background: var(--kb-ink);
	color: #fff;
	font-weight: 700;
}

.kb-table-wrap tr:nth-child(even) td {
	background: var(--kb-bg-cream);
}

.kb-table-wrap tr:last-child td {
	border-bottom: 0;
}

.kb-seo__figure {
	max-width: 560px;
	margin: 28px auto 6px;
}

.kb-seo__img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--kb-border);
	border-radius: var(--kb-radius);
	box-shadow: var(--kb-shadow-sm);
}

.kb-doc a {
	font-weight: 600;
}

/* ==========================================================================
   16. TRANG CON
   ========================================================================== */
.kb-page-hero {
	position: relative;
	overflow: hidden;
	padding: 44px 0 64px;
	background:
		radial-gradient(circle at 50% 140%, rgba(255, 179, 71, .26) 0%, transparent 45%),
		linear-gradient(180deg, var(--kb-bg-cream) 0%, #fff 100%);
	text-align: center;
}

/* Hai cum vet toc do mo o hai goc */
.kb-page-hero::before,
.kb-page-hero::after {
	content: "";
	position: absolute;
	width: 120px;
	height: 44px;
	opacity: .32;
	background:
		radial-gradient(circle 5px, var(--kb-orange) 96%, transparent) 0 0 / 10px 10px no-repeat,
		radial-gradient(circle 5px, var(--kb-orange) 96%, transparent) 12px 34px / 10px 10px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 24px 1px / 80px 8px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 6px 18px / 114px 8px no-repeat,
		linear-gradient(var(--kb-orange), var(--kb-orange)) 34px 35px / 62px 8px no-repeat;
}

.kb-page-hero::before {
	left: 5%;
	top: 34px;
}

.kb-page-hero::after {
	right: 6%;
	bottom: 30px;
}

.kb-page-hero .kb-container {
	position: relative;
	z-index: 1;
}

.kb-breadcrumbs {
	margin-bottom: 16px;
}

.kb-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	font-size: 14.5px;
}

.kb-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--kb-text);
}

.kb-breadcrumbs__item + .kb-breadcrumbs__item::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-right: 2px;
	border-top: 1.5px solid var(--kb-muted);
	border-right: 1.5px solid var(--kb-muted);
	transform: rotate(45deg);
}

.kb-body .kb-breadcrumbs__link {
	color: var(--kb-primary-dark);
	font-weight: 600;
	text-decoration: none;
}

.kb-body .kb-breadcrumbs__link:hover,
.kb-body .kb-breadcrumbs__link:focus {
	text-decoration: underline;
}

.kb-main h1.kb-page-hero__title {
	max-width: 22em;
	margin: 0 auto;
	font-size: clamp(1.3rem, 4vw, 2rem);
	font-weight: 800;
	line-height: 1.3;
}

.kb-main .kb-page-hero__desc {
	max-width: 44em;
	margin: 14px auto 0;
	color: var(--kb-text);
	font-size: 17px;
	line-height: 1.65;
}

/* Van ban tu do */
.kb-prose {
	color: var(--kb-text);
	font-size: 17px;
	line-height: 1.75;
}

.kb-main .kb-prose p,
.kb-prose ul {
	margin: 0 0 16px;
}

.kb-prose ul {
	padding-left: 22px;
}

.kb-prose li {
	margin-bottom: 8px;
}

.kb-prose strong {
	color: var(--kb-ink);
}

.kb-main .kb-prose h2 {
	margin: 34px 0 14px;
	font-size: clamp(20px, 2.6vw, 25px);
	font-weight: 800;
}

.kb-main .kb-prose h2:first-child {
	margin-top: 0;
}

/* FAQ accordion */
.kb-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kb-faq__item {
	border: 1px solid var(--kb-border);
	border-radius: var(--kb-radius);
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
}

.kb-main h2.kb-faq__q {
	font-size: 17px;
}

.kb-body .kb-faq__btn {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 18px 20px;
	border: 0;
	border-radius: var(--kb-radius);
	background: transparent;
	color: var(--kb-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.kb-body .kb-faq__btn:hover,
.kb-body .kb-faq__btn:focus {
	background: var(--kb-bg-cream);
	color: var(--kb-ink);
}

.kb-faq__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 30px;
	border-left: 5px solid var(--kb-orange);
	border-radius: 6px;
	background: var(--kb-ink);
	color: var(--kb-amber);
	font-size: 14px;
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	box-sizing: border-box;
}

.kb-faq__text {
	flex: 1;
}

.kb-faq__icon {
	position: relative;
	flex: none;
	width: 16px;
	height: 16px;
}

.kb-faq__icon::before,
.kb-faq__icon::after {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 16px;
	height: 2.5px;
	border-radius: 2px;
	background: var(--kb-primary);
	transition: transform .2s ease;
}

.kb-faq__icon::after {
	transform: rotate(90deg);
}

.kb-faq__btn[aria-expanded="true"] .kb-faq__icon::after {
	transform: rotate(0);
}

.kb-faq__a {
	padding: 0 20px 18px 76px;
	color: var(--kb-text);
	font-size: 16px;
	line-height: 1.7;
}

/* Lien he */
.kb-contact {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.kb-contact__card {
	min-width: 0;
	padding: 26px 22px;
	border: 1px solid var(--kb-border);
	border-radius: var(--kb-radius-lg);
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
}

.kb-contact__icon {
	position: relative;
	display: block;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--kb-ink);
}

.kb-contact__icon--phone::before {
	content: "";
	position: absolute;
	left: 17px;
	top: 11px;
	width: 18px;
	height: 30px;
	border: 3px solid var(--kb-amber);
	border-radius: 5px;
	box-sizing: border-box;
}

.kb-contact__icon--phone::after {
	content: "";
	position: absolute;
	left: 24px;
	top: 34px;
	width: 4px;
	height: 3px;
	border-radius: 2px;
	background: var(--kb-amber);
}

.kb-contact__icon--mail::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 15px;
	width: 28px;
	height: 22px;
	border: 3px solid var(--kb-amber);
	border-radius: 4px;
	box-sizing: border-box;
}

.kb-contact__icon--mail::after {
	content: "";
	position: absolute;
	left: 19px;
	top: 13px;
	width: 14px;
	height: 14px;
	border-right: 3px solid var(--kb-amber);
	border-bottom: 3px solid var(--kb-amber);
	transform: rotate(45deg);
}

.kb-contact__icon--pin::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 10px;
	width: 22px;
	height: 22px;
	border: 3px solid var(--kb-amber);
	border-radius: 50% 50% 50% 0;
	box-sizing: border-box;
	transform: rotate(-45deg);
}

.kb-contact__icon--pin::after {
	content: "";
	position: absolute;
	left: 23px;
	top: 18px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--kb-amber);
}

.kb-contact__icon--clock::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 12px;
	width: 28px;
	height: 28px;
	border: 3px solid var(--kb-amber);
	border-radius: 50%;
	box-sizing: border-box;
}

.kb-contact__icon--clock::after {
	content: "";
	position: absolute;
	left: 25px;
	top: 18px;
	width: 7px;
	height: 9px;
	border-left: 3px solid var(--kb-amber);
	border-bottom: 3px solid var(--kb-amber);
}

.kb-main h2.kb-contact__title {
	font-size: 18px;
}

.kb-main .kb-contact__value {
	margin-top: 6px;
	color: var(--kb-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.kb-body .kb-contact__value a {
	text-decoration: none;
}

.kb-main .kb-contact__note {
	margin-top: 6px;
	color: var(--kb-muted);
	font-size: 14.5px;
	line-height: 1.55;
}

/* CTA band trang con: nen cam dam + vet toc do trang */
.kb-section--cta {
	padding: 0 0 84px;
}

.kb-section--cream + .kb-section--cta,
.kb-section--mint + .kb-section--cta {
	padding-top: 84px;
}

.kb-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 36px 44px;
	border-radius: var(--kb-radius-lg);
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 28px),
		linear-gradient(120deg, var(--kb-primary) 0%, var(--kb-primary-dark) 100%);
}

.kb-streak--cta {
	--streak: #fff;
	width: 84px;
	height: 52px;
}

.kb-streak--cta span {
	height: 9px;
	border-radius: 5px;
}

.kb-streak--cta span:nth-child(1) {
	top: 4px;
	width: 56px;
}

.kb-streak--cta span:nth-child(2) {
	top: 21px;
	width: 70px;
}

.kb-streak--cta span:nth-child(3) {
	top: 38px;
	width: 46px;
}

.kb-streak--cta i {
	width: 9px;
	height: 9px;
}

.kb-streak--cta i:nth-of-type(1) {
	left: 6px;
	top: 4px;
}

.kb-streak--cta i:nth-of-type(2) {
	left: 18px;
	top: 38px;
}

.kb-cta__body {
	flex: 1;
	min-width: 0;
}

.kb-main h2.kb-cta__title {
	color: #fff;
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 800;
}

.kb-main .kb-cta__desc {
	margin-top: 6px;
	color: #fff;
	font-size: 16.5px;
	line-height: 1.6;
}

/* 404 */
.kb-404 {
	padding: 88px 0 104px;
	text-align: center;
}

.kb-main .kb-404__code {
	margin: 0 0 30px;
	color: var(--kb-ink);
	font-size: clamp(92px, 20vw, 196px);
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

@supports ((-webkit-text-stroke: 1px currentColor) and (paint-order: stroke)) {
	.kb-main .kb-404__code {
		color: var(--kb-amber);
		-webkit-text-stroke: .055em var(--kb-ink);
		paint-order: stroke fill;
		text-shadow: .035em .045em 0 var(--kb-orange);
	}
}

.kb-main h1.kb-404__title {
	max-width: 56ch;
	margin: 0 auto 30px;
	color: var(--kb-text);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.6;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.kb-footer {
	position: relative;
	padding: 64px 0 0;
	background: var(--kb-footer);
	color: var(--kb-on-ink);
	font-size: 15.5px;
	line-height: 1.65;
}

/* Dai ta vet duong ray o mep tren */
.kb-footer__rail {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 14px;
	background:
		linear-gradient(var(--kb-orange), var(--kb-orange)) 0 0 / 100% 4px no-repeat,
		repeating-linear-gradient(90deg, #3E6A70 0 14px, transparent 14px 40px) 0 4px / 100% 10px no-repeat;
}

.kb-footer__grid {
	display: grid;
	grid-template-columns: 1.55fr .85fr .85fr 1.35fr;
	gap: 40px;
}

.kb-footer__grid > * {
	min-width: 0;
}

.kb-footer__logo-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.kb-footer__logo-chip {
	display: inline-flex;
	padding: 4px;
	border-radius: 14px;
	background: #fff;
}

.kb-footer__logo {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 11px;
}

.kb-footer__name {
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	font-style: italic;
}

.kb-footer__name-accent {
	color: var(--kb-amber);
}

.kb-footer__desc {
	margin: 16px 0 12px;
}

.kb-footer__legal {
	margin: 0;
	color: #A9C2C5;
	font-size: 14px;
}

.kb-footer__legal strong {
	color: #fff;
}

.kb-footer__title {
	margin: 4px 0 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}

.kb-footer__links li,
.kb-footer__contact li {
	margin-bottom: 10px;
}

.kb-body .kb-footer a {
	color: #E6F0F1;
	text-decoration: none;
}

.kb-body .kb-footer a:hover,
.kb-body .kb-footer a:focus {
	color: var(--kb-amber);
	text-decoration: underline;
}

.kb-footer__contact li {
	display: flex;
	flex-direction: column;
	overflow-wrap: anywhere;
}

.kb-footer__label {
	color: #98B3B6;
	font-size: 13px;
	font-weight: 600;
}

.kb-footer__bottom {
	margin-top: 44px;
	padding: 20px 0 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.kb-footer__copy {
	margin: 0;
	color: #98B3B6;
	font-size: 14px;
	text-align: center;
}

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */
@media (min-width: 1025px) {
	.kb-stats {
		display: none;
	}

	/* Desktop khong co stats bar de len hero -> bot khoang duoi hero */
	.kb-hero {
		padding-bottom: 76px;
	}
}

@media (max-width: 1100px) {
	.kb-gates {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px 22px;
		max-width: 760px;
		margin: 0 auto;
	}

	.kb-gates::before {
		display: none;
	}

	.kb-train__cars {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 22px;
		max-width: 760px;
		margin: 0 auto;
	}

	/* Moc noi chi giua 2 toa cung hang */
	.kb-car:nth-child(odd)::after {
		display: none;
	}

	.kb-train__rail {
		display: none;
	}
}

@media (max-width: 1024px) {
	.kb-hero {
		padding: 40px 0 86px;
	}

	.kb-hero__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.kb-hero__visual {
		display: contents;
	}

	.kb-main h1.kb-hero__title {
		order: 1;
	}

	.kb-main .kb-hero__desc {
		order: 2;
		max-width: none;
	}

	.kb-hero__content {
		order: 3;
		justify-content: center;
		margin-bottom: 28px;
	}

	.kb-hero__art {
		order: 4;
		margin: 0 auto;
	}

	.kb-calc {
		max-width: 560px;
	}

	.kb-signs {
		grid-template-columns: repeat(2, 1fr);
	}

	.kb-example__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.kb-machine {
		width: 100%;
		max-width: 560px;
		justify-self: center;
		box-sizing: border-box;
	}

	/* Khoi 2 cot xep doc: bang phap nhan ve cuoi khoi (display: contents + order) */
	.kb-trust__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.kb-trust__body {
		display: contents;
	}

	.kb-trust__title {
		order: 1;
	}

	.kb-trust__desc {
		order: 2;
	}

	.kb-notes {
		order: 3;
	}

	.kb-trust__side {
		order: 4;
		margin-top: 28px;
	}

	.kb-renew {
		grid-template-columns: repeat(2, 1fr);
	}

	.kb-contact {
		grid-template-columns: repeat(2, 1fr);
	}

	.kb-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px 28px;
	}

	.kb-footer__brand,
	.kb-footer__col--contact {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.kb-section,
	.kb-seo {
		padding: 58px 0;
	}

	.kb-section--flush-top {
		padding-top: 32px;
	}

	.kb-section--cta {
		padding: 0 0 58px;
	}

	.kb-section--cream + .kb-section--cta,
	.kb-section--mint + .kb-section--cta {
		padding-top: 58px;
	}

	.kb-section__head {
		margin-bottom: 30px;
	}

	.kb-section__actions {
		margin-top: 30px;
	}

	/* An art hero tren mobile (GVay) */
	.kb-hero__art {
		display: none;
	}

	.kb-page-hero {
		padding-bottom: 52px;
	}

	.kb-page-hero::after {
		display: none;
	}

	.kb-page-hero::before {
		left: -30px;
		top: 18px;
	}

	/* Menu mobile off-canvas */
	.kb-header__inner {
		min-height: 64px;
		gap: 12px;
	}

	.kb-header__logo {
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}

	.kb-header__brand {
		gap: 8px;
	}

	.kb-header__name {
		font-size: 21px;
	}

	.kb-body .kb-header__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid var(--kb-border);
		border-radius: 10px;
		background: #fff;
	}

	.kb-body .kb-header__toggle:hover,
	.kb-body .kb-header__toggle:focus {
		background: var(--kb-bg-cream);
	}

	.kb-header__toggle-bar,
	.kb-header__toggle-bar::before,
	.kb-header__toggle-bar::after {
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 2px;
		background: var(--kb-ink);
	}

	.kb-header__toggle-bar {
		position: relative;
	}

	.kb-header__toggle-bar::before,
	.kb-header__toggle-bar::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.kb-header__toggle-bar::before {
		top: -6px;
		width: 14px;
		left: 6px;
	}

	.kb-header__toggle-bar::after {
		top: 6px;
		width: 16px;
		left: 4px;
	}

	.kb-header__actions {
		margin-left: auto;
	}

	.kb-header__cta {
		padding: 9px 16px;
		font-size: 15px;
	}

	.kb-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1001;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: min(84vw, 340px);
		padding: 18px 20px 28px;
		overflow-y: auto;
		background: #fff;
		box-shadow: -20px 0 40px rgba(10, 33, 37, .2);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility 0s linear .3s;
	}

	.kb-nav.is-open {
		transform: none;
		visibility: visible;
		transition: transform .3s ease, visibility 0s;
	}

	.kb-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-bottom: 14px;
		margin-bottom: 10px;
		border-bottom: 1px solid var(--kb-border);
	}

	.kb-nav__label {
		color: var(--kb-ink);
		font-size: 17px;
		font-weight: 800;
	}

	.kb-body .kb-nav__close {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 8px 12px;
		border: 1px solid var(--kb-border);
		border-radius: 10px;
		background: #fff;
		color: var(--kb-ink);
		font-size: 15px;
		font-weight: 700;
		line-height: 1.3;
		cursor: pointer;
	}

	.kb-body .kb-nav__close:hover,
	.kb-body .kb-nav__close:focus {
		background: var(--kb-bg-cream);
		color: var(--kb-ink);
	}

	.kb-nav__close-icon {
		position: relative;
		width: 12px;
		height: 12px;
	}

	.kb-nav__close-icon::before,
	.kb-nav__close-icon::after {
		content: "";
		position: absolute;
		left: 0;
		top: 5px;
		width: 12px;
		height: 2px;
		border-radius: 1px;
		background: currentColor;
		transform: rotate(45deg);
	}

	.kb-nav__close-icon::after {
		transform: rotate(-45deg);
	}

	.kb-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.kb-nav__link {
		padding: 13px 14px;
		font-size: 17px;
	}

	.kb-nav__link--active::after {
		left: auto;
		right: 16px;
		bottom: 50%;
		margin: 0 0 -3px;
	}

	.kb-nav__cta {
		display: inline-flex;
		margin-top: 18px;
	}

	/* Bang gio: moi hang thanh 1 the 2x2, nhan cot hien bang data-label */
	.kb-board__frame {
		padding: 18px 14px 16px;
		border-radius: var(--kb-radius-lg);
	}

	.kb-board__top {
		flex-wrap: wrap;
	}

	.kb-board__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.kb-board__table,
	.kb-board__table tbody {
		display: block;
	}

	.kb-board__row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px 10px;
		margin-bottom: 12px;
		padding: 12px;
		border-radius: 12px;
		background: rgba(14, 42, 47, .04);
	}

	.kb-board__row:last-child {
		margin-bottom: 0;
	}

	.kb-board__row th,
	.kb-board__row td {
		display: block;
		padding: 0;
	}

	.kb-board__row th::before,
	.kb-board__row td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		color: var(--kb-muted);
		font-size: 12.5px;
		font-weight: 600;
	}

	.kb-board__row.is-current {
		box-shadow: inset 4px 0 0 var(--kb-orange);
		background: rgba(255, 179, 71, .2);
	}

	.kb-board__row.is-current th,
	.kb-board__row.is-current td {
		background: transparent;
		box-shadow: none;
	}

	.kb-flap {
		min-height: 36px;
		font-size: 15px;
	}

	.kb-signs {
		gap: 30px 16px;
	}

	.kb-example__grid {
		gap: 28px;
	}

	.kb-streaks {
		grid-template-columns: 1fr;
	}

	.kb-seo__inner,
	.kb-doc {
		padding: 30px 22px;
		font-size: 16.5px;
	}

	.kb-main .kb-seo__inner h2,
	.kb-main .kb-doc h2 {
		padding-left: 58px;
	}

	.kb-faq__a {
		padding-left: 20px;
	}

	.kb-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding: 30px 26px;
	}

	.kb-footer__grid {
		gap: 30px 24px;
	}
}

@media (max-width: 640px) {
	.kb-signs {
		grid-template-columns: 1fr;
		max-width: 460px;
		margin: 0 auto;
	}

	/* Cua soat ve: danh sach doc, cua thu nho ben trai */
	.kb-gates {
		grid-template-columns: 1fr;
		gap: 16px;
		max-width: 520px;
	}

	.kb-gate {
		flex-direction: row;
		align-items: center;
		gap: 14px;
	}

	.kb-gate__machine {
		flex: none;
		width: 100px;
		height: 74px;
		margin-bottom: 0;
	}

	.kb-gate__machine::before,
	.kb-gate__machine::after {
		width: 18px;
		height: 50px;
	}

	.kb-gate__screen {
		width: 54px;
		height: 22px;
		margin-left: -27px;
	}

	.kb-gate__arrow {
		transform: scale(.8);
	}

	.kb-gate__wing {
		bottom: 16px;
		width: 32px;
		height: 26px;
	}

	.kb-gate__wing--l {
		left: 18px;
	}

	.kb-gate__wing--r {
		right: 18px;
	}

	.kb-gate__card {
		text-align: left;
	}

	/* Doan tau: toa xep doc, moc noi doc giua cac toa */
	.kb-train__cars {
		grid-template-columns: 1fr;
		gap: 36px;
		max-width: 480px;
	}

	.kb-car + .kb-car::after,
	.kb-car:nth-child(odd)::after {
		display: block;
		left: 50%;
		top: -38px;
		bottom: auto;
		width: 6px;
		height: 38px;
		margin-left: -3px;
	}

	.kb-car:first-child::after {
		display: none;
	}

	.kb-car--engine {
		border-radius: 18px 18px 10px 10px;
	}

	.kb-train__wind {
		display: none;
	}

	.kb-train.is-armed .kb-train__cars {
		transform: translateY(30px);
	}

	.kb-machine {
		padding: 18px 14px 18px;
	}

	.kb-machine__keypad {
		grid-template-columns: repeat(3, 1fr);
	}

	.kb-main .kb-ticket {
		width: 86%;
	}

	.kb-renew {
		grid-template-columns: 1fr;
	}

	.kb-contact {
		grid-template-columns: 1fr;
	}

	.kb-plate__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

@media (max-width: 480px) {
	.kb-container {
		padding: 0 16px;
	}

	.kb-main .kb-hero__desc {
		font-size: 16.5px;
	}

	.kb-calc {
		padding: 22px 18px 20px;
	}

	.kb-calc__value {
		font-size: 23px;
	}

	.kb-stats__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.kb-stats__num {
		font-size: 19px;
	}

	.kb-header__cta {
		padding: 8px 12px;
		font-size: 14.5px;
	}

	.kb-board__row {
		gap: 10px 8px;
		padding: 10px;
	}

	.kb-flap {
		padding: 6px 9px;
		font-size: 14.5px;
	}

	.kb-main .kb-board__now {
		font-size: 15px;
	}

	.kb-sign__plate {
		padding: 16px 14px 18px;
	}

	.kb-sign__value {
		font-size: 19px;
	}

	.kb-streak-item {
		gap: 12px;
	}

	.kb-streak-item__mark {
		flex-direction: column;
		align-items: flex-start;
		width: 44px;
	}

	.kb-seo__inner,
	.kb-doc {
		padding: 24px 16px;
	}

	.kb-faq__btn {
		padding: 16px 14px;
	}

	.kb-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ==========================================================================
   19. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.kb-hero__train,
	.kb-hero__wind rect,
	.kb-hero__hand,
	.kb-hero__sign,
	.kb-hero__float,
	.kb-hero__spark,
	.kb-board__lamp {
		animation: none !important;
	}
}
