/*
 Theme Name:   GeneratePress Child – Cash365
 Theme URI:    http://cash365.localhost/
 Description:  Child theme Cash365 (concept "Lưới 365 ngày"). Toàn bộ CSS nằm trong file này.
 Author:       Cash365
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  cash365
*/

/* ==========================================================================
   1. VARIABLES (mau do PIL tu logo.png: cam #FC6102 don sac + wordmark in nghieng)
   ========================================================================== */
:root {
	--cs-primary: #FC6102;
	--cs-primary-light: #FF8A3D;
	--cs-btn: #B84500;
	--cs-primary-dark: #9A3800;
	--cs-orange-text: #AD4100;
	--cs-orange-tint: #FFE9DA;
	--cs-cobalt: #2B47C9;
	--cs-cobalt-dark: #1F37A3;
	--cs-cobalt-soft: #E4E9FB;
	--cs-navy: #141C3A;
	--cs-text: #454B66;
	--cs-muted: #646A85;
	--cs-bg-soft: #FFF6EF;
	--cs-bg-mist: #F2F5FC;
	--cs-white: #FFFFFF;
	--cs-border: #F0DFD3;
	--cs-line: #ECE6E2;
	--cs-line-cool: #DFE4F2;
	--cs-footer: #0E1430;
	--cs-gradient: linear-gradient(135deg, #FF8A3D 0%, #FC6102 45%, #B84500 100%);
	--cs-shadow-sm: 0 2px 8px rgba(20, 28, 58, .06);
	--cs-shadow-md: 0 12px 30px rgba(20, 28, 58, .09);
	--cs-shadow-lg: 0 24px 54px rgba(20, 28, 58, .14);
	--cs-radius: 16px;
	--cs-radius-lg: 22px;
	--cs-container: 1200px;
	/* 3 vach toc do nhu logo (dung lam hoa tiet) */
	--cs-speed: linear-gradient(var(--cs-primary), var(--cs-primary)) 0 0 / 70% 22% no-repeat,
		linear-gradient(var(--cs-primary), var(--cs-primary)) 30% 50% / 70% 22% no-repeat,
		linear-gradient(var(--cs-primary), var(--cs-primary)) 0 100% / 55% 22% no-repeat;
}

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

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

.cs-main {
	display: block;
	color: var(--cs-text);
}

:where(.cs-main) p {
	margin: 0 0 1em;
}

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

.cs-main ul,
.cs-main ol {
	margin: 0;
	padding: 0;
}

.cs-main a {
	color: var(--cs-orange-text);
}

.cs-main a:hover,
.cs-main a:focus {
	color: var(--cs-primary-dark);
}

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

.cs-container {
	width: 100%;
	max-width: var(--cs-container);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.cs-icon {
	display: block;
	width: 1em;
	height: 1em;
	flex: none;
}

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

.cs-skip {
	position: absolute;
	left: 12px;
	top: -80px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--cs-navy);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.cs-skip:focus {
	top: 12px;
	color: #fff;
}

:focus-visible {
	outline: 3px solid rgba(43, 71, 201, .45);
	outline-offset: 2px;
}

/* ---- Buttons (KHAI BAO DU background/color/border vi GeneratePress style button mac dinh) ---- */
.cs-btn,
.cs-btn:visited {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 0;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.cs-btn--primary,
.cs-btn--primary:visited {
	background: var(--cs-btn);
	color: #fff;
	box-shadow: 0 10px 22px rgba(184, 69, 0, .24);
}

.cs-btn--primary:hover,
.cs-btn--primary:focus {
	background: var(--cs-primary-dark);
	color: #fff;
}

.cs-btn--light,
.cs-btn--light:visited {
	background: #fff;
	color: var(--cs-navy);
	box-shadow: 0 10px 22px rgba(14, 20, 48, .22);
}

.cs-btn--light:hover,
.cs-btn--light:focus {
	background: var(--cs-bg-soft);
	color: var(--cs-orange-text);
}

.cs-btn--lg {
	padding: 14px 30px;
	font-size: 17px;
}

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

.cs-btn .btn-text {
	transition: opacity .15s ease;
}

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

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

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

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

/* ==========================================================================
   3. HEADER (KHONG sticky, KHONG z-index)
   ========================================================================== */
.cs-header {
	position: relative;
	background: #fff;
	border-bottom: 1px solid var(--cs-line);
}

.cs-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 78px;
}

.cs-header__brand,
.cs-header__brand:visited {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--cs-navy);
	text-decoration: none;
}

.cs-header__logo {
	display: block;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	object-fit: contain;
}

.cs-header__sitename {
	font-size: 24px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: -.01em;
	color: var(--cs-navy);
	white-space: nowrap;
}

.cs-header__sitename span {
	color: var(--cs-primary);
}

.cs-header__brand:hover .cs-header__sitename {
	color: var(--cs-cobalt);
}

.cs-nav {
	flex: 1;
}

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

.cs-nav__list {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-nav__link,
.cs-nav__link:visited {
	position: relative;
	display: block;
	padding: 10px 15px;
	color: var(--cs-navy);
	font-weight: 600;
	text-decoration: none;
	border-radius: 10px;
}

.cs-nav__link:hover,
.cs-nav__link:focus {
	color: var(--cs-orange-text);
	background: var(--cs-bg-soft);
}

/* Active: 3 vach toc do cam duoi chu */
.cs-nav__link--active,
.cs-nav__link--active:visited {
	color: var(--cs-orange-text);
	pointer-events: none;
}

.cs-nav__link--active::after {
	content: "";
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 4px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--cs-primary) 0 18%, transparent 18% 26%, var(--cs-primary) 26% 100%);
}

.cs-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cs-header__toggle {
	display: none;
}

.cs-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 998;
	background: rgba(14, 20, 48, .55);
}

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

/* ==========================================================================
   4. HERO (GIU khuon CLAUDE-TEMPLATE: 2 cot 1.1fr / 0.8fr)
   ========================================================================== */
.cs-hero {
	position: relative;
	padding: 56px 0 132px;
	background:
		radial-gradient(560px 380px at 96% 0%, rgba(252, 97, 2, .10), transparent 70%),
		radial-gradient(440px 300px at 0% 100%, rgba(43, 71, 201, .07), transparent 70%),
		linear-gradient(180deg, var(--cs-bg-soft) 0%, #fff 100%);
}

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

.cs-main h1.cs-hero__title {
	font-size: clamp(1.3rem, 5vw, 2rem);
	line-height: 1.3;
}

.cs-hero__desc {
	max-width: 58ch;
	margin: 16px 0 0;
	font-size: 17.5px;
	line-height: 1.65;
	color: var(--cs-text);
}

.cs-hero__art {
	max-width: 460px;
	margin: 24px 0 0;
}

.cs-hero__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.cs-hero__speed {
	animation: cs-dash 2.4s ease-in-out infinite;
}

.cs-hero__bundle {
	transform-box: view-box;
	animation: cs-zip 2.4s ease-in-out infinite;
}

@keyframes cs-dash {
	0%,
	100% {
		transform: translateX(0);
		opacity: 1;
	}
	50% {
		transform: translateX(-10px);
		opacity: .75;
	}
}

@keyframes cs-zip {
	0%,
	100% {
		translate: 0 0;
	}
	50% {
		translate: 6px 0;
	}
}

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

/* ---- Widget "Uoc tinh khoan vay" ---- */
.cs-calc {
	position: relative;
	width: 100%;
	max-width: 500px;
	padding: 30px 28px 22px;
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius-lg);
	background: #fff;
	box-shadow: var(--cs-shadow-lg);
	box-sizing: border-box;
	overflow: hidden;
}

.cs-main .cs-calc__title {
	margin: 0 0 14px;
	font-size: 21px;
	font-weight: 800;
	color: var(--cs-navy);
}

.cs-calc__amount-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

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

.cs-calc__amount {
	font-size: 30px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.2;
	color: var(--cs-orange-text);
	font-variant-numeric: tabular-nums;
}

.cs-calc__range {
	--cs-fill: 21.05%; /* 5.000.000d tren thang 1 - 20 trieu; JS cap nhat khi keo */
	display: block;
	width: 100%;
	height: 30px;
	margin: 10px 0 4px;
	padding: 0;
	border: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.cs-calc__range::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--cs-primary-light) 0, var(--cs-primary) var(--cs-fill), #ECE6E2 var(--cs-fill));
}

.cs-calc__range::-moz-range-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--cs-primary-light) 0, var(--cs-primary) var(--cs-fill), #ECE6E2 var(--cs-fill));
}

.cs-calc__range::-webkit-slider-thumb {
	width: 28px;
	height: 28px;
	margin-top: -10px;
	border: 7px solid var(--cs-primary);
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(20, 28, 58, .3);
	-webkit-appearance: none;
	appearance: none;
}

.cs-calc__range::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 7px solid var(--cs-primary);
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(20, 28, 58, .3);
}

.cs-calc__scale {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--cs-muted);
}

.cs-main .cs-calc__rows {
	margin: 14px 0 16px;
	padding: 0;
}

.cs-calc__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--cs-line);
}

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

.cs-main .cs-calc__row dd {
	margin: 0;
	font-weight: 700;
	color: var(--cs-navy);
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.cs-calc__row--total {
	margin-top: 8px;
	padding: 12px 14px;
	border: 0;
	border-radius: 12px;
	background: var(--cs-bg-soft);
}

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

.cs-main .cs-calc__row--total dd {
	font-size: 22px;
	font-weight: 800;
	font-style: italic;
	color: var(--cs-orange-text);
}

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

.cs-main .cs-calc__hint a {
	color: var(--cs-orange-text);
	text-decoration: none;
}

/* ---- Stats bar: chi tablet/mobile ---- */
.cs-stats {
	position: relative;
	margin-top: -44px;
	padding-bottom: 8px;
}

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

.cs-stats__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px;
	border: 1px solid var(--cs-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--cs-shadow-md);
}

.cs-stats__value {
	font-size: 22px;
	font-weight: 800;
	font-style: italic;
	color: var(--cs-orange-text);
}

.cs-stats__label {
	font-size: 13.5px;
	color: var(--cs-muted);
}

/* ==========================================================================
   5. SECTION CHUNG
   ========================================================================== */
.cs-section {
	padding: 84px 0;
}

.cs-section--soft {
	background: var(--cs-bg-soft);
}

.cs-section--mist {
	background: var(--cs-bg-mist);
}

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

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

.cs-section__head {
	max-width: 760px;
	margin: 0 auto 40px;
	text-align: center;
}

.cs-section__head--left {
	margin-left: 0;
	text-align: left;
}

.cs-main .cs-section__title {
	font-size: clamp(20px, 3vw, 27px);
	line-height: 1.3;
}

.cs-main .cs-section__desc {
	margin: 12px 0 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--cs-text);
}

/* ==========================================================================
   6. SIGNATURE "VONG NAM" (1 vong tron = 365 ngay)
   ========================================================================== */
.cs-cycle {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px 64px;
	align-items: center;
}

.cs-main .cs-cycle__keys {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.cs-cycle__key {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 18px;
	border-radius: var(--cs-radius);
	background: rgba(255, 255, 255, .72);
}

.cs-cycle__swatch {
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 26px;
}

.cs-cycle__swatch::before {
	content: "";
	display: block;
	border-radius: 999px;
}

.cs-cycle__swatch--range::before {
	width: 28px;
	height: 6px;
	background: #FFB98A;
}

.cs-cycle__swatch--loan::before {
	width: 28px;
	height: 14px;
	background: linear-gradient(90deg, #FF8A3D, #E85800);
}

.cs-cycle__swatch--bead::before {
	width: 15px;
	height: 15px;
	border: 3.5px solid var(--cs-cobalt);
	background: #fff;
}

.cs-cycle__key-text {
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--cs-text);
}

.cs-cycle__key-text strong {
	display: block;
	font-size: 16.5px;
	color: var(--cs-navy);
}

.cs-cycle__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
}

.cs-cycle__dial {
	position: relative;
	width: min(100%, 400px);
	aspect-ratio: 1;
}

/* Quang mem cam / cobalt phia sau vong */
.cs-cycle__dial::before {
	content: "";
	position: absolute;
	inset: -10%;
	background:
		radial-gradient(closest-side at 32% 30%, rgba(252, 97, 2, .13), rgba(252, 97, 2, 0)),
		radial-gradient(closest-side at 70% 74%, rgba(43, 71, 201, .11), rgba(43, 71, 201, 0));
}

.cs-cycle__svg {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.cs-cycle__outer {
	fill: none;
	stroke: #DFE5F5;
	stroke-width: 6;
}

.cs-cycle__range {
	fill: none;
	stroke: #FFB98A;
	stroke-width: 6;
	stroke-linecap: round;
	transition: opacity .8s ease .2s;
}

.cs-cycle__track {
	fill: #fff;
	stroke: #F7EDE6;
	stroke-width: 24;
	filter: drop-shadow(0 18px 30px rgba(20, 28, 58, .08));
}

.cs-cycle__loan {
	fill: none;
	stroke-width: 24;
	stroke-linecap: round;
	stroke-dasharray: 120 365;
	transition: stroke-dasharray 1.6s cubic-bezier(.22, .8, .24, 1), opacity .3s ease;
}

.cs-cycle__bead {
	fill: #fff;
	stroke: var(--cs-cobalt);
	stroke-width: 3.5;
	transform-box: fill-box;
	transform-origin: center;
	transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), opacity .3s ease;
}

.cs-cycle__bead--1 { transition-delay: .5s; }
.cs-cycle__bead--2 { transition-delay: .85s; }
.cs-cycle__bead--3 { transition-delay: 1.2s; }
.cs-cycle__bead--4 { transition-delay: 1.6s; }

.cs-cycle.is-armed:not(.is-in) .cs-cycle__loan {
	stroke-dasharray: 0 365;
	opacity: 0;
}

.cs-cycle.is-armed:not(.is-in) .cs-cycle__range,
.cs-cycle.is-armed:not(.is-in) .cs-cycle__bead {
	opacity: 0;
}

.cs-cycle.is-armed:not(.is-in) .cs-cycle__bead {
	transform: scale(0);
}

.cs-cycle__center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
}

.cs-cycle__num {
	font-size: clamp(54px, 6.4vw, 76px);
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--cs-orange-text);
	font-variant-numeric: tabular-nums;
}

.cs-cycle__unit {
	margin-top: 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--cs-navy);
}

.cs-cycle__of {
	margin-top: 2px;
	font-size: 14px;
	color: var(--cs-muted);
}

.cs-main .cs-cycle__caption {
	max-width: 400px;
	margin: 22px auto 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--cs-muted);
	text-align: center;
}

/* ==========================================================================
   7. QUY TRINH "4 SO NGHIENG KHONG LO"
   ========================================================================== */
.cs-steps__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	list-style: none;
}

.cs-steps__item {
	position: relative;
	transition: opacity .45s ease, transform .45s ease;
}

.cs-steps__num {
	display: block;
	margin: 0 0 6px -4px;
	font-size: 104px;
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	color: var(--cs-primary);
	font-variant-numeric: lining-nums;
}

@supports ((-webkit-text-stroke: 1px currentColor) and (paint-order: stroke)) {
	.cs-steps__num {
		color: #fff;
		-webkit-text-stroke: 3px var(--cs-primary);
		paint-order: stroke fill;
		text-shadow: 6px 6px 0 var(--cs-orange-tint);
	}

	.cs-steps__item:last-child .cs-steps__num {
		color: var(--cs-primary);
		-webkit-text-stroke: 3px var(--cs-primary);
	}
}

/* vet toc do noi giua cac cot */
.cs-steps__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 40px;
	right: -24px;
	width: 74px;
	height: 26px;
	background: var(--cs-speed);
	opacity: .35;
}

.cs-main .cs-steps__title {
	font-size: 19px;
	line-height: 1.35;
}

.cs-main .cs-steps__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 10px 0 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--cs-cobalt);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.cs-steps__chip .cs-icon {
	font-size: 15px;
}

.cs-main .cs-steps__desc {
	margin: 10px 0 0;
	font-size: 16px;
	line-height: 1.65;
}

.cs-steps__list.is-armed .cs-steps__item {
	opacity: 0;
	transform: translateX(-18px);
}

.cs-steps__list.is-armed .cs-steps__item.is-in {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   8. KHOAN VAY "LICH TRA GOP 4 KY"
   ========================================================================== */
.cs-loan__grid {
	display: grid;
	grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
	gap: 36px;
	align-items: start;
}

.cs-loan__specs {
	display: grid;
	gap: 14px;
	list-style: none;
}

.cs-loan__spec {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 20px 22px 20px 26px;
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius);
	background: #fff;
	box-shadow: var(--cs-shadow-sm);
	overflow: hidden;
}

.cs-loan__spec::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	bottom: 18px;
	width: 5px;
	border-radius: 0 4px 4px 0;
	background: var(--cs-primary);
}

.cs-loan__spec-label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cs-muted);
}

.cs-loan__spec-value {
	font-size: 30px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.25;
	color: var(--cs-navy);
}

.cs-loan__spec-value small {
	font-size: 16px;
	font-weight: 700;
	font-style: normal;
	color: var(--cs-orange-text);
}

.cs-loan__spec-note {
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--cs-muted);
}

.cs-loan__plan {
	padding: 26px 26px 24px;
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius-lg);
	background: #fff;
	box-shadow: var(--cs-shadow-md);
}

.cs-main .cs-loan__plan-title {
	margin: 0 0 14px;
	font-size: 19px;
	font-weight: 800;
	color: var(--cs-navy);
}

.cs-loan__table th span {
	font-weight: 500;
	color: var(--cs-muted);
}

.cs-table-wrap .cs-loan__table td,
.cs-table-wrap .cs-loan__table tbody th {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.cs-table-wrap .cs-loan__table .cs-loan__pay {
	font-weight: 800;
	color: var(--cs-orange-text);
}

.cs-table-wrap .cs-loan__table tfoot th,
.cs-table-wrap .cs-loan__table tfoot td {
	border-top: 2px solid var(--cs-navy);
	border-bottom: 0;
	background: var(--cs-bg-soft);
	font-weight: 800;
	color: var(--cs-navy);
}

.cs-main .cs-loan__formula {
	margin: 0 0 18px;
	padding: 12px 16px;
	border-left: 4px solid var(--cs-cobalt);
	border-radius: 0 12px 12px 0;
	background: var(--cs-bg-mist);
	font-size: 15px;
	line-height: 1.6;
	color: var(--cs-navy);
}

/* ---- Hop rui ro ---- */
.cs-risk {
	padding: 20px 22px;
	border: 1px solid rgba(252, 97, 2, .3);
	border-left: 5px solid var(--cs-primary);
	border-radius: 14px;
	background: #fff;
}

.cs-main .cs-risk__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-weight: 800;
	color: var(--cs-navy);
}

.cs-risk__title .cs-icon {
	font-size: 20px;
	color: var(--cs-primary);
}

.cs-risk__list {
	display: grid;
	gap: 8px;
	padding-left: 18px !important;
	font-size: 15px;
	line-height: 1.6;
}

.cs-risk__list li::marker {
	color: var(--cs-primary);
}

/* ==========================================================================
   9. DIEU KIEN "THUOC TUOI 22 - 60"
   ========================================================================== */
.cs-ruler {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
	gap: 40px;
	align-items: stretch;
}

.cs-ruler__scale {
	margin: 30px 0 0;
	padding: 22px 24px 18px;
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius);
	background: var(--cs-bg-soft);
}

.cs-main .cs-ruler__label {
	margin: 0 0 40px;
	font-size: 16px;
	font-weight: 600;
	color: var(--cs-navy);
}

.cs-ruler__label strong {
	font-size: 22px;
	font-weight: 800;
	font-style: italic;
	color: var(--cs-orange-text);
}

/* 53 vach cho tuoi 18..70; vi tri tuoi a = (a - 18) / 53 */
.cs-ruler__track {
	position: relative;
	display: flex;
	height: 34px;
	margin-bottom: 26px;
	border-top: 2px solid var(--cs-navy);
}

.cs-ruler__band {
	position: absolute;
	top: -14px;
	left: 7.547%;
	width: 71.698%;
	height: 12px;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--cs-primary-light), var(--cs-primary));
	transform-origin: left center;
	transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.cs-ruler__tick {
	position: relative;
	flex: 1;
	height: 10px;
	border-left: 1.5px solid #B9BED2;
}

.cs-ruler__tick--major {
	height: 20px;
	border-left-color: var(--cs-navy);
}

.cs-ruler__tick--edge {
	height: 24px;
	border-left: 2.5px solid var(--cs-primary);
}

.cs-ruler__num {
	position: absolute;
	top: 22px;
	left: 0;
	transform: translateX(-50%);
	font-size: 13px;
	font-weight: 700;
	color: var(--cs-muted);
}

.cs-ruler__pin {
	position: absolute;
	top: -46px;
	padding: 2px 9px;
	border-radius: 7px;
	background: var(--cs-navy);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	font-style: italic;
	transform: translateX(-50%);
	transition: opacity .3s ease .7s;
}

.cs-ruler__pin--start {
	left: 7.547%;
}

.cs-ruler__pin--end {
	left: 79.245%;
}

.cs-ruler.is-armed:not(.is-in) .cs-ruler__band {
	transform: scaleX(0);
}

.cs-ruler.is-armed:not(.is-in) .cs-ruler__pin {
	opacity: 0;
}

.cs-ruler__cells {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 16px !important;
	list-style: none;
}

.cs-ruler__cell {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--cs-line);
	border-radius: 14px;
	background: #fff;
}

.cs-ruler__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--cs-orange-tint);
	color: var(--cs-orange-text);
	font-size: 21px;
}

.cs-ruler__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--cs-muted);
}

.cs-ruler__text strong {
	font-size: 16px;
	color: var(--cs-navy);
}

.cs-ruler__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 28px;
	border-radius: var(--cs-radius-lg);
	background: var(--cs-cobalt);
	color: #E4E9FB;
	box-shadow: var(--cs-shadow-lg);
	overflow: hidden;
}

.cs-main .cs-ruler__panel-kicker {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #C9D2F5;
}

.cs-main .cs-ruler__panel-big {
	margin: 0 0 18px;
	font-size: 26px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.25;
	color: #fff;
}

.cs-ruler__panel-list {
	display: grid;
	gap: 10px;
	margin: 0 0 26px !important;
	list-style: none;
	font-size: 15.5px;
	line-height: 1.55;
}

.cs-ruler__panel-list li {
	position: relative;
	padding-left: 24px;
}

.cs-ruler__panel-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .4em;
	width: 11px;
	height: 6px;
	border-left: 2.5px solid #FFB27F;
	border-bottom: 2.5px solid #FFB27F;
	transform: rotate(-45deg);
}

.cs-ruler__panel .cs-btn {
	position: relative;
	z-index: 1;
	margin-top: auto;
	align-self: flex-start;
}

/* ==========================================================================
   10. UU DIEM "5 TAB DOC"
   ========================================================================== */
.cs-tabs {
	display: grid;
	gap: 18px;
}

.cs-tabs.is-tabs {
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.cs-tabs__list {
	display: grid;
	gap: 8px;
}

.cs-tabs__list[hidden] {
	display: none;
}

.cs-tabs__tab,
.cs-tabs__tab:hover,
.cs-tabs__tab:focus {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 14px 18px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: transparent;
	color: var(--cs-navy);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cs-tabs__tab:hover {
	background: rgba(255, 255, 255, .6);
}

.cs-tabs__tab[aria-selected="true"] {
	border-color: var(--cs-line-cool);
	background: #fff;
	box-shadow: var(--cs-shadow-sm);
}

.cs-tabs__tab[aria-selected="true"]::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 12px;
	bottom: 12px;
	width: 4px;
	border-radius: 0 3px 3px 0;
	background: var(--cs-cobalt);
}

.cs-tabs__num {
	flex: none;
	width: 30px;
	font-size: 26px;
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	color: #A9B3D9;
}

.cs-tabs__tab[aria-selected="true"] .cs-tabs__num {
	color: var(--cs-cobalt);
}

.cs-tabs__panels {
	display: grid;
	gap: 16px;
}

.cs-tabs__panel {
	position: relative;
	padding: 34px 36px;
	border: 1px solid var(--cs-line-cool);
	border-radius: var(--cs-radius-lg);
	background: #fff;
	box-shadow: var(--cs-shadow-md);
	overflow: hidden;
}

.cs-tabs__panel[hidden] {
	display: none;
}

.cs-tabs.is-tabs .cs-tabs__panel {
	min-height: 276px;
	box-sizing: border-box;
}

.cs-tabs__big {
	position: absolute;
	right: 26px;
	bottom: -34px;
	font-size: 190px;
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	color: var(--cs-bg-mist);
	pointer-events: none;
}

.cs-main .cs-tabs__title {
	position: relative;
	font-size: 24px;
}

.cs-main .cs-tabs__desc {
	position: relative;
	max-width: 56ch;
	margin: 12px 0 18px;
	font-size: 17px;
	line-height: 1.7;
}

.cs-main .cs-tabs__fact {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--cs-cobalt-soft);
	color: var(--cs-cobalt-dark);
	font-size: 15px;
	font-weight: 700;
}

.cs-tabs__fact .cs-icon {
	font-size: 18px;
}

/* ==========================================================================
   11. THANH TOAN "BANG DOI CHIEU 2 CACH"
   ========================================================================== */
.cs-pay__wrap {
	max-width: 980px;
	margin: 0 auto 22px !important;
	background: #fff;
	box-shadow: var(--cs-shadow-sm);
}

.cs-table-wrap .cs-pay__table thead th {
	background: #fff;
	color: var(--cs-navy);
	border-bottom: 2px solid var(--cs-navy);
	font-size: 17px;
}

.cs-pay__head {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.cs-pay__head .cs-icon {
	display: inline-flex;
	width: 36px;
	height: 36px;
	padding: 7px;
	border-radius: 11px;
	background: var(--cs-primary);
	color: #fff;
	box-sizing: border-box;
}

.cs-pay__table th:nth-child(3) .cs-icon {
	background: var(--cs-cobalt);
}

.cs-table-wrap .cs-pay__table tbody th {
	width: 170px;
	color: var(--cs-muted);
	font-weight: 700;
	white-space: nowrap;
}

.cs-table-wrap .cs-pay__table tbody tr:nth-child(even) td,
.cs-table-wrap .cs-pay__table tbody tr:nth-child(even) th {
	background: var(--cs-bg-mist);
}

.cs-pay__notes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 26px;
	max-width: 980px;
	margin: 0 auto !important;
	list-style: none;
	font-size: 15.5px;
	line-height: 1.5;
}

.cs-pay__notes li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cs-pay__notes .cs-icon {
	font-size: 20px;
	color: var(--cs-orange-text);
}

.cs-pay__notes strong {
	color: var(--cs-navy);
}

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

.cs-seo__inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 48px 56px;
	border: 1px solid var(--cs-line);
	border-radius: var(--cs-radius-lg);
	background: #fff;
	box-shadow: var(--cs-shadow-sm);
	counter-reset: csh2;
	font-size: 17px;
	line-height: 1.75;
	box-sizing: border-box;
}

/* sapo: cac doan truoc H2 dau tien */
.cs-seo > .cs-container > .cs-seo__inner > p:first-child {
	padding-left: 18px;
	border-left: 4px solid var(--cs-primary);
}

.cs-main .cs-seo__inner h2 {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 42px 0 16px;
	font-size: clamp(20px, 2.6vw, 25px);
	line-height: 1.35;
	counter-increment: csh2;
	scroll-margin-top: 24px;
}

/* So H2 in nghieng cam, 3 vach toc do phia truoc (nhu logo) */
.cs-main .cs-seo__inner h2::before {
	content: counter(csh2, decimal-leading-zero);
	flex: none;
	min-width: 30px;
	padding-left: 26px;
	background: linear-gradient(var(--cs-primary), var(--cs-primary)) 0 34% / 14px 3px no-repeat,
		linear-gradient(var(--cs-primary), var(--cs-primary)) 6px 54% / 16px 3px no-repeat,
		linear-gradient(var(--cs-primary), var(--cs-primary)) 0 74% / 11px 3px no-repeat;
	color: var(--cs-orange-text);
	font-size: 1.05em;
	font-weight: 800;
	font-style: italic;
	line-height: inherit;
}

.cs-main .cs-seo__inner > h2:first-child {
	margin-top: 0;
}

.cs-main .cs-seo__inner h3 {
	margin: 28px 0 10px;
	padding-left: 16px;
	border-left: 4px solid var(--cs-cobalt);
	font-size: 19px;
	line-height: 1.4;
	scroll-margin-top: 24px;
}

.cs-seo__inner ul,
.cs-seo__inner ol {
	margin: 0 0 1em !important;
	padding-left: 22px !important;
}

.cs-seo__inner li {
	margin-bottom: 6px;
}

.cs-seo__inner li::marker {
	color: var(--cs-orange-text);
	font-weight: 700;
}

.cs-seo__inner strong {
	color: var(--cs-navy);
}

.cs-table-wrap {
	margin: 0 0 1.2em;
	overflow-x: auto;
	border: 1px solid var(--cs-line);
	border-radius: 14px;
}

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

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

.cs-table-wrap thead th {
	background: var(--cs-navy);
	color: #fff;
	font-weight: 700;
}

.cs-table-wrap tbody tr:nth-child(even) td,
.cs-table-wrap tbody tr:nth-child(even) th {
	background: var(--cs-bg-soft);
}

.cs-table-wrap tbody tr:last-child td,
.cs-table-wrap tbody tr:last-child th {
	border-bottom: 0;
}

.cs-table-wrap td:first-child,
.cs-table-wrap tbody th {
	font-weight: 600;
	color: var(--cs-navy);
}

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

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

/* ==========================================================================
   13. TRANG CON
   ========================================================================== */
.cs-page-hero {
	padding: 44px 0 56px;
	background:
		radial-gradient(480px 300px at 92% 0%, rgba(252, 97, 2, .09), transparent 70%),
		radial-gradient(380px 260px at 6% 100%, rgba(43, 71, 201, .06), transparent 70%),
		linear-gradient(180deg, var(--cs-bg-soft) 0%, #fff 100%);
	text-align: center;
}

.cs-main h1.cs-page-hero__title {
	max-width: 860px;
	margin: 0 auto;
	font-size: clamp(1.3rem, 5vw, 2rem);
	line-height: 1.3;
}

.cs-main .cs-page-hero__desc {
	max-width: 720px;
	margin: 14px auto 0;
	font-size: 17px;
	line-height: 1.65;
}

/* ---- Breadcrumbs ---- */
.cs-breadcrumbs {
	margin-bottom: 16px;
}

.cs-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	list-style: none;
	font-size: 14.5px;
}

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

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

.cs-main .cs-breadcrumbs__link {
	color: var(--cs-orange-text);
	font-weight: 700;
	text-decoration: none;
}

.cs-main .cs-breadcrumbs__link:hover,
.cs-main .cs-breadcrumbs__link:focus {
	text-decoration: underline;
}

/* ---- Split + prose ---- */
.cs-split {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 44px;
	align-items: start;
}

.cs-prose {
	font-size: 17px;
	line-height: 1.75;
}

.cs-main .cs-prose .cs-section__title {
	margin-bottom: 14px;
}

.cs-main .cs-prose .cs-section__title:not(:first-child) {
	margin-top: 34px;
}

.cs-prose ul {
	display: grid;
	gap: 10px;
	margin: 0 0 1em !important;
	list-style: none;
}

.cs-prose li {
	position: relative;
	padding-left: 24px;
}

.cs-prose li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .6em;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--cs-primary);
}

.cs-note {
	display: flex;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--cs-border);
	font-size: 15.5px;
	line-height: 1.6;
}

.cs-note .cs-icon {
	margin-top: 3px;
	font-size: 22px;
	color: var(--cs-cobalt);
}

/* ---- The phap nhan ---- */
.cs-company {
	position: relative;
	padding: 28px 28px 22px;
	border: 1px solid var(--cs-line);
	border-radius: var(--cs-radius-lg);
	background: #fff;
	box-shadow: var(--cs-shadow-md);
	overflow: hidden;
}

.cs-company::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--cs-primary) 0 70%, var(--cs-cobalt) 70% 100%);
}

.cs-main .cs-company__kicker {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cs-orange-text);
}

.cs-main .cs-company__name {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.35;
}

.cs-main .cs-company__rows {
	margin: 16px 0 0;
}

.cs-company__row {
	display: grid;
	grid-template-columns: 128px 1fr;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px dashed var(--cs-line);
	font-size: 15px;
	line-height: 1.55;
}

.cs-company__row dt {
	color: var(--cs-muted);
}

.cs-main .cs-company__row dd {
	margin: 0;
	font-weight: 600;
	color: var(--cs-navy);
	overflow-wrap: anywhere;
}

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

.cs-contact__card {
	display: flex;
	flex-direction: column;
	padding: 24px 22px;
	border: 1px solid var(--cs-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--cs-shadow-sm);
}

.cs-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border-radius: 14px;
	background: var(--cs-primary);
	color: #fff;
	font-size: 22px;
}

.cs-contact__card:nth-child(even) .cs-contact__icon {
	background: var(--cs-cobalt);
}

.cs-main .cs-contact__label {
	margin: 0 0 4px;
	font-size: 14px;
	color: var(--cs-muted);
}

.cs-main .cs-contact__value {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: var(--cs-navy);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.cs-main a.cs-contact__value[href^="mailto:"] {
	font-size: 16px;
	overflow-wrap: normal;
	word-break: break-word;
}

.cs-main .cs-contact__value--text {
	font-size: 16px;
	line-height: 1.5;
}

.cs-main a.cs-contact__value:hover {
	color: var(--cs-orange-text);
}

.cs-main .cs-contact__note {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--cs-muted);
}

/* ---- FAQ ---- */
.cs-faq-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 44px;
	align-items: start;
}

.cs-faq-layout__nav {
	position: sticky;
	top: 24px;
	padding: 22px;
	border-radius: 18px;
	background: var(--cs-bg-mist);
}

.cs-main .cs-faq-layout__nav-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cs-navy);
}

.cs-faq-layout__nav ol {
	display: grid;
	gap: 6px;
	list-style: none;
}

.cs-main .cs-faq-layout__nav a {
	display: block;
	padding: 8px 10px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
}

.cs-main .cs-faq-layout__nav a:hover {
	background: #fff;
}

.cs-main a.cs-faq-layout__call {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--cs-btn);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

.cs-main a.cs-faq-layout__call:hover {
	color: #fff;
	background: var(--cs-primary-dark);
}

.cs-faq-group + .cs-faq-group {
	margin-top: 44px;
}

.cs-faq-group {
	scroll-margin-top: 24px;
}

.cs-main .cs-faq-group__title {
	margin-bottom: 14px;
	font-size: clamp(20px, 3vw, 25px);
}

.cs-faq {
	border-top: 2px solid var(--cs-navy);
}

.cs-faq__item {
	border-bottom: 1px solid var(--cs-line);
}

.cs-main .cs-faq__q {
	margin: 0;
	font-size: 17px;
}

.cs-faq__btn,
.cs-faq__btn:hover,
.cs-faq__btn:focus {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 18px 4px;
	border: 0;
	background: transparent;
	color: var(--cs-navy);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.cs-faq__btn:hover span:first-child {
	color: var(--cs-orange-text);
}

.cs-faq__icon {
	position: relative;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--cs-orange-tint);
}

.cs-faq__icon::before,
.cs-faq__icon::after {
	content: "";
	position: absolute;
	top: 14px;
	left: 8px;
	width: 14px;
	height: 2.4px;
	border-radius: 2px;
	background: var(--cs-orange-text);
	transition: transform .2s ease;
}

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

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

.cs-faq__panel {
	padding: 0 4px 18px;
}

.cs-main .cs-faq__panel p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
}

/* ---- Van ban dai (bao mat, dieu khoan, cookie) ---- */
.cs-doc {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 40px;
	align-items: start;
}

.cs-doc__toc {
	position: sticky;
	top: 24px;
	padding: 22px;
	border-radius: 18px;
	background: var(--cs-bg-mist);
}

.cs-main .cs-doc__toc-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cs-navy);
}

.cs-doc__toc-list {
	display: grid;
	gap: 4px;
	padding-left: 20px !important;
	font-size: 15px;
}

.cs-main .cs-doc__toc-list a {
	text-decoration: none;
	font-weight: 600;
}

.cs-main .cs-doc__toc-list a:hover {
	text-decoration: underline;
}

.cs-doc__body.cs-seo__inner {
	max-width: none;
	margin: 0;
}

/* ---- CTA band ---- */
.cs-section--cta {
	padding: 0 0 84px;
}

.cs-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 40px 44px;
	border-radius: var(--cs-radius-lg);
	border-left: 6px solid var(--cs-primary);
	background: var(--cs-navy);
	box-shadow: var(--cs-shadow-lg);
	overflow: hidden;
}

.cs-cta__body {
	position: relative;
}

.cs-main .cs-cta__title {
	font-size: clamp(20px, 3vw, 27px);
	color: #fff;
}

.cs-main .cs-cta__desc {
	margin: 8px 0 0;
	font-size: 16.5px;
	color: #C9D2F5;
}

.cs-cta .cs-btn {
	position: relative;
	flex: none;
}

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

.cs-404__code {
	margin: 0 0 30px;
	font-size: clamp(92px, 20vw, 196px);
	font-weight: 800;
	font-style: italic;
	line-height: 1;
	letter-spacing: .01em;
	color: var(--cs-navy);
	font-variant-numeric: tabular-nums;
}

@supports ((-webkit-text-stroke: 1px currentColor) and (paint-order: stroke)) {
	.cs-404__code {
		color: var(--cs-primary);
		-webkit-text-stroke: .055em var(--cs-navy);
		paint-order: stroke fill;
		text-shadow: .035em .045em 0 rgba(0, 0, 0, .18);
	}
}

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

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.cs-footer {
	position: relative;
	padding: 64px 0 28px;
	border-top: 4px solid var(--cs-primary);
	background: var(--cs-footer);
	color: #BCC4DE;
	overflow: hidden;
}

.cs-footer__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 36px;
}

.cs-footer__logo-link,
.cs-footer__logo-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
}

.cs-footer__chip {
	display: inline-flex;
	padding: 4px;
	border-radius: 13px;
	background: #fff;
}

.cs-footer__logo {
	display: block;
	width: 42px;
	height: 42px;
	border-radius: 10px;
}

.cs-footer__sitename {
	font-size: 23px;
	font-weight: 800;
	font-style: italic;
}

.cs-footer__desc {
	margin: 16px 0 12px;
	font-size: 15px;
	line-height: 1.7;
}

.cs-footer__email {
	margin: 0;
	font-size: 15px;
}

.cs-footer a {
	color: #FFB27F;
}

.cs-footer a:hover,
.cs-footer a:focus {
	color: #fff;
}

.cs-footer__title {
	margin: 4px 0 14px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
}

.cs-footer__links {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.cs-footer__links a {
	text-decoration: none;
}

.cs-footer__hotline,
.cs-footer__hotline:visited {
	display: inline-block;
	font-size: 25px;
	font-weight: 800;
	font-style: italic;
	color: var(--cs-primary);
	text-decoration: none;
}

.cs-footer__hours {
	margin: 8px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
}

.cs-footer__bottom {
	position: relative;
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid rgba(188, 196, 222, .2);
	font-size: 14px;
	line-height: 1.6;
}

.cs-footer__legal {
	margin: 0 0 4px;
}

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

.cs-footer__copy {
	margin: 10px 0 0;
	color: #8E97B5;
}

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

@media (max-width: 1100px) {
	.cs-steps__list {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 40px;
	}

	.cs-steps__item:nth-child(2)::after {
		display: none;
	}
}

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

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

	.cs-hero__visual {
		display: contents;
	}

	.cs-hero__title {
		order: 1;
	}

	.cs-hero__desc {
		order: 2;
	}

	.cs-hero__content {
		order: 3;
		justify-content: center;
		margin-top: 26px;
	}

	.cs-hero__art {
		order: 4;
		margin: 30px auto 0;
	}

	.cs-calc {
		max-width: 620px;
	}

	/* Mobile/tablet: H2 -> mo ta -> vong -> chu giai (display: contents, khong doi DOM) */
	.cs-cycle {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.cs-cycle__intro {
		display: contents;
	}

	.cs-cycle__figure {
		order: 3;
		margin: 36px 0 32px;
	}

	.cs-main .cs-cycle__keys {
		order: 4;
		margin-top: 0;
	}

	.cs-cycle__dial {
		width: min(100%, 360px);
	}

	/* minmax(0, 1fr): bang nowrap khong duoc keo rong track (tran ngang 390px) */
	.cs-loan__grid,
	.cs-ruler,
	.cs-split {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.cs-tabs.is-tabs {
		grid-template-columns: 260px minmax(0, 1fr);
	}

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

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

@media (max-width: 900px) {
	.cs-faq-layout,
	.cs-doc {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.cs-faq-layout__nav,
	.cs-doc__toc {
		position: static;
	}

	.cs-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

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

	/* Header + menu mobile (panel truot phai, co nut Dong rieng) */
	.cs-header__inner {
		min-height: 66px;
		gap: 12px;
	}

	.cs-header__logo {
		width: 40px;
		height: 40px;
	}

	.cs-header__sitename {
		font-size: 21px;
	}

	.cs-header__cta {
		display: none;
	}

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

	.cs-header__toggle,
	.cs-header__toggle:hover,
	.cs-header__toggle:focus {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 1.5px solid var(--cs-border);
		border-radius: 12px;
		background: #fff;
		cursor: pointer;
	}

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

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

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

	.cs-header__toggle-bar::before {
		top: -6.5px;
		left: 4px;
		width: 16px;
		background: var(--cs-primary);
	}

	.cs-header__toggle-bar::after {
		top: 6.5px;
		width: 14px;
	}

	.cs-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: flex;
		flex-direction: column;
		width: min(320px, 86vw);
		padding: 16px 20px 28px;
		background: #fff;
		box-shadow: var(--cs-shadow-lg);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility .3s;
		overflow-y: auto;
		box-sizing: border-box;
	}

	.cs-nav.is-open {
		transform: none;
		visibility: visible;
	}

	.cs-nav__head {
		display: flex;
		justify-content: flex-end;
		margin-bottom: 12px;
	}

	.cs-nav__close,
	.cs-nav__close:hover,
	.cs-nav__close:focus {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 8px 14px;
		border: 1.5px solid var(--cs-border);
		border-radius: 999px;
		background: #fff;
		color: var(--cs-navy);
		font-size: 15px;
		font-weight: 700;
		line-height: 1.4;
		cursor: pointer;
	}

	.cs-nav__close-icon {
		position: relative;
		width: 14px;
		height: 14px;
	}

	.cs-nav__close-icon::before,
	.cs-nav__close-icon::after {
		content: "";
		position: absolute;
		top: 6px;
		left: -1px;
		width: 16px;
		height: 2.2px;
		border-radius: 2px;
		background: var(--cs-primary);
		transform: rotate(45deg);
	}

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

	.cs-nav__list {
		flex-direction: column;
		gap: 4px;
	}

	.cs-nav__link,
	.cs-nav__link:visited {
		padding: 13px 14px;
		font-size: 17px;
	}

	.cs-nav__link--active {
		background: var(--cs-bg-soft);
	}

	.cs-nav__link--active::after {
		left: 0;
		right: auto;
		top: 12px;
		bottom: 12px;
		width: 4px;
		height: auto;
		background: var(--cs-primary);
	}

	.cs-nav__cta {
		display: inline-flex;
		margin-top: 20px;
	}

	/* Hero mobile: an khoi minh hoa (GVay) */
	.cs-hero__art {
		display: none;
	}

	.cs-hero__desc {
		font-size: 16.5px;
	}

	.cs-calc {
		padding: 26px 18px 18px;
	}

	.cs-calc::before {
		left: 18px;
		right: 18px;
	}

	.cs-stats {
		margin-top: -36px;
	}

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

	.cs-section,
	.cs-seo {
		padding: 56px 0;
	}

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

	.cs-section--cta {
		padding: 0 0 56px;
	}

	.cs-section__head {
		margin-bottom: 28px;
	}

	.cs-cycle__key {
		padding: 12px 14px;
	}

	.cs-cycle__dial {
		width: min(100%, 320px);
	}

	.cs-steps__list {
		grid-template-columns: 1fr;
		row-gap: 26px;
	}

	.cs-steps__item {
		display: grid;
		grid-template-columns: 64px 1fr;
		gap: 14px;
	}

	.cs-steps__item::after {
		display: none;
	}

	.cs-steps__num {
		margin: 0;
		font-size: 64px;
	}

	.cs-loan__specs {
		grid-template-columns: minmax(0, 1fr);
	}

	.cs-loan__plan {
		padding: 20px 16px;
	}

	.cs-loan__spec-value {
		font-size: 26px;
	}

	.cs-ruler__scale {
		padding: 18px 14px 14px;
	}

	.cs-ruler__num {
		font-size: 12px;
	}

	.cs-ruler__cells {
		grid-template-columns: 1fr;
	}

	.cs-ruler__panel {
		padding: 26px 20px;
	}

	.cs-tabs.is-tabs {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.cs-tabs__list {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.cs-tabs__tab,
	.cs-tabs__tab:hover,
	.cs-tabs__tab:focus {
		padding: 11px 14px;
		font-size: 16px;
	}

	.cs-tabs__panel {
		padding: 24px 20px;
	}

	.cs-tabs.is-tabs .cs-tabs__panel {
		min-height: 0;
	}

	.cs-tabs__big {
		font-size: 130px;
		right: 12px;
		bottom: -24px;
	}

	.cs-main .cs-tabs__title {
		font-size: 21px;
	}

	.cs-table-wrap .cs-pay__table tbody th {
		width: auto;
		white-space: normal;
	}

	.cs-pay__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		font-size: 15px;
		line-height: 1.35;
	}

	.cs-pay__head .cs-icon {
		width: 30px;
		height: 30px;
		padding: 6px;
		border-radius: 9px;
	}

	.cs-pay__notes {
		flex-direction: column;
		align-items: flex-start;
	}

	.cs-seo__inner {
		padding: 28px 18px;
		font-size: 16.5px;
	}

	.cs-table-wrap th,
	.cs-table-wrap td {
		padding: 10px 12px;
		font-size: 15px;
	}

	.cs-page-hero {
		padding: 32px 0 40px;
	}

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

	.cs-company__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.cs-cta {
		padding: 30px 22px;
	}


	.cs-404 {
		padding: 56px 0 72px;
	}

	.cs-main h1.cs-404__title {
		font-size: 17.5px;
	}

	.cs-footer {
		padding-top: 48px;
	}


	.cs-footer__grid {
		gap: 28px 20px;
	}

	.cs-footer__col--brand,
	.cs-footer__col--call {
		grid-column: 1 / -1;
	}
}

@media (max-width: 480px) {
	.cs-header__sitename {
		font-size: 19px;
	}

	.cs-calc__amount {
		font-size: 26px;
	}

	.cs-ruler__num {
		font-size: 11px;
	}
}

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

	.cs-hero__speed,
	.cs-hero__bundle {
		animation: none;
	}
}
