/*
 Theme Name:   GeneratePress Child - Tín Dụng Đúng
 Template:     generatepress
 Version:      1.0.0
 Description:  Child theme cho website Tín Dụng Đúng (concept "Giấy chấm đúng": giấy kẻ ô li, dấu tích mực đỏ, con dấu ĐÚNG; bảng sáu ô, tờ giấy chấm đúng, phiếu tự kiểm tra, bốn bước chọn, bảng so sánh có chấm). Toàn bộ CSS của dự án nằm trong file này.
 Text Domain:  tindungdung
*/

/* ==========================================================================
   1. VARIABLES (do bang PIL tu logo.png 500x500: lime #80BC38 ~64%,
      xanh la giua #509818 ~16%, xanh la dam #105818 ~12%)
   ========================================================================== */
:root {
	--tdd-primary: #105818;
	--tdd-primary-dark: #0B4212;
	--tdd-leaf: #509818;
	--tdd-lime: #80BC38;
	--tdd-lime-soft: #DDEFC4;
	--tdd-ink: #22313D;
	--tdd-text: #42525E;
	--tdd-muted: #65747F;
	--tdd-pen: #C8322B;
	--tdd-pen-soft: #FBEAE8;
	--tdd-paper: #FBF8EF;
	--tdd-sage: #F0F6E6;
	--tdd-white: #FFFFFF;
	--tdd-grid: #E6E2D2;
	--tdd-border: #DDE5D2;
	--tdd-on-ink: #D3DDE4;
	--tdd-on-ink-muted: #9FB0BC;
	--tdd-footer: #16222B;
	--tdd-shadow-sm: 0 2px 10px rgba(34, 49, 61, .07);
	--tdd-shadow-md: 0 12px 30px rgba(34, 49, 61, .11);
	--tdd-shadow-lg: 0 24px 56px rgba(34, 49, 61, .17);
	--tdd-radius: 14px;
	--tdd-radius-lg: 20px;
	--tdd-radius-btn: 12px;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
html,
body {
	overflow-x: clip;
}

body.tdd-body {
	background: var(--tdd-white);
	color: var(--tdd-text);
}

:where(.tdd-body) a {
	color: var(--tdd-primary);
}

:where(.tdd-body) a:hover,
:where(.tdd-body) a:focus {
	color: var(--tdd-primary-dark);
}

:where(.tdd-body) :where(ul, ol)[class] {
	margin: 0;
	padding: 0;
	list-style: none;
}

:where(.tdd-body) dl,
:where(.tdd-body) dd {
	margin: 0;
}

.tdd-body [hidden] {
	display: none !important;
}

.tdd-main h1,
.tdd-main h2,
.tdd-main h3,
.tdd-main h4,
.tdd-main h5,
.tdd-main h6 {
	color: var(--tdd-ink);
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.tdd-main p {
	margin: 0;
}

.tdd-main img {
	max-width: 100%;
	height: auto;
}

.tdd-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.tdd-container--narrow {
	max-width: 920px;
}

.tdd-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.tdd-skip {
	position: absolute;
	left: -9999px;
	top: 0;
}

.tdd-skip:focus {
	left: 12px;
	top: 12px;
	z-index: 2000;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--tdd-white);
	color: var(--tdd-ink);
	box-shadow: var(--tdd-shadow-md);
}

:where(.tdd-body) :focus-visible {
	outline: 3px solid var(--tdd-lime);
	outline-offset: 2px;
}

/* Dau tich: net ve bang stroke (pathLength=1). Mau theo ngu canh. */
.tdd-tick {
	flex: none;
	width: 26px;
	height: 22px;
	fill: none;
	stroke: var(--tdd-pen);
	stroke-width: 3.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: visible;
}

.tdd-tick path {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}

/* ==========================================================================
   3. BUTTONS + CTA loading
   ========================================================================== */
.tdd-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 0;
	border-radius: var(--tdd-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;
}

.tdd-btn.tdd-btn--primary {
	background: var(--tdd-primary);
	color: var(--tdd-white);
	box-shadow: 0 10px 22px rgba(16, 88, 24, .22);
}

.tdd-btn.tdd-btn--primary:hover,
.tdd-btn.tdd-btn--primary:focus {
	background: var(--tdd-primary-dark);
	color: var(--tdd-white);
}

/* Hover: nhac len + net gach chan do (nhu thay go but) o day nut */
.tdd-btn.tdd-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: inset 0 -4px 0 var(--tdd-pen), 0 14px 26px rgba(16, 88, 24, .26);
}

.tdd-btn.tdd-btn--light {
	background: var(--tdd-white);
	color: var(--tdd-primary);
	box-shadow: 0 12px 24px rgba(8, 32, 12, .24);
}

.tdd-btn.tdd-btn--light:hover,
.tdd-btn.tdd-btn--light:focus {
	background: var(--tdd-paper);
	color: var(--tdd-primary-dark);
}

.tdd-btn.tdd-btn--light:hover {
	transform: translateY(-2px);
	box-shadow: inset 0 -4px 0 var(--tdd-pen), 0 14px 26px rgba(8, 32, 12, .28);
}

.tdd-btn--lg {
	padding: 14px 32px;
	font-size: 17px;
}

.tdd-btn--block {
	width: 100%;
}

.tdd-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: tdd-spin .7s linear infinite;
}

@keyframes tdd-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.
   ========================================================================== */
.tdd-header {
	position: relative;
	background: #fff;
}

.tdd-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.tdd-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	text-decoration: none;
}

.tdd-header__logo {
	display: block;
	width: 46px;
	height: 46px;
}

.tdd-header__name {
	color: var(--tdd-ink);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.1;
	white-space: nowrap;
}

.tdd-header__name-accent {
	color: var(--tdd-primary);
}

.tdd-nav {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}

.tdd-nav__head,
.tdd-nav__cta {
	display: none;
}

.tdd-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.tdd-nav__link {
	position: relative;
	display: block;
	padding: 9px 14px 13px;
	border-radius: 10px;
	color: var(--tdd-ink);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.tdd-body .tdd-nav__link:hover,
.tdd-body .tdd-nav__link:focus {
	background: var(--tdd-paper);
	color: var(--tdd-ink);
}

.tdd-body .tdd-nav__link--active,
.tdd-body .tdd-nav__link--active:hover {
	background: transparent;
	color: var(--tdd-primary);
	pointer-events: none;
}

/* Chi bao active: dau tich do nho duoi chu */
.tdd-nav__link--active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 7px;
	height: 12px;
	margin-left: -4px;
	border-right: 3px solid var(--tdd-pen);
	border-bottom: 3px solid var(--tdd-pen);
	transform: rotate(40deg) scale(.7);
	transform-origin: 70% 70%;
}

.tdd-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.tdd-header__toggle {
	display: none;
}

.tdd-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(22, 34, 43, .58);
}

.tdd-nav-overlay[hidden] {
	display: none;
}

/* ==========================================================================
   5. HERO (giu nguyen khuon CLAUDE-TEMPLATE.md: 2 cot 1.1fr / 0.8fr)
   ========================================================================== */
.tdd-hero {
	position: relative;
	padding: 56px 0 134px;
	background:
		radial-gradient(circle at 6% 10%, rgba(128, 188, 56, .17), transparent 40%),
		radial-gradient(circle at 94% 90%, rgba(200, 50, 43, .06), transparent 34%),
		linear-gradient(180deg, #F6FAEE 0%, #fff 100%);
}

.tdd-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr .8fr;
	gap: 48px;
	align-items: center;
}

.tdd-hero__grid > * {
	min-width: 0;
}

.tdd-main h1.tdd-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;
}

.tdd-main .tdd-hero__desc {
	max-width: 34em;
	margin: 0 0 18px;
	color: var(--tdd-text);
	font-size: 18px;
	line-height: 1.6;
}

.tdd-hero__art {
	width: 100%;
	max-width: 560px;
}

.tdd-hero__svg {
	display: block;
	width: 100%;
	height: auto;
}

.tdd-hero__tick {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	animation: tdd-draw 6.5s ease-in-out infinite;
}

.tdd-hero__tick--2 {
	animation-delay: .5s;
}

.tdd-hero__tick--3 {
	animation-delay: 1s;
}

.tdd-hero__stamp {
	animation: tdd-stamp 6.5s ease-in-out infinite;
	animation-delay: 1.6s;
	transform-box: fill-box;
	transform-origin: center;
}

.tdd-hero__pen {
	animation: tdd-bob 3.2s ease-in-out infinite;
}

.tdd-hero__float {
	animation: tdd-float 4.4s ease-in-out infinite;
}

.tdd-hero__float--late {
	animation-delay: 1.4s;
}

.tdd-hero__spark {
	animation: tdd-twinkle 2.8s ease-in-out infinite;
	transform-box: fill-box;
	transform-origin: center;
}

.tdd-hero__spark--late {
	animation-delay: 1.2s;
}

@keyframes tdd-draw {
	0%,
	6% {
		stroke-dashoffset: 1;
		opacity: 0;
	}

	7% {
		opacity: 1;
	}

	22%,
	90% {
		stroke-dashoffset: 0;
		opacity: 1;
	}

	98%,
	100% {
		stroke-dashoffset: 1;
		opacity: 0;
	}
}

@keyframes tdd-stamp {
	0%,
	24% {
		opacity: 0;
		scale: 1.5;
	}

	34%,
	90% {
		opacity: 1;
		scale: 1;
	}

	98%,
	100% {
		opacity: 0;
		scale: 1.5;
	}
}

@keyframes tdd-bob {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -4px;
	}
}

@keyframes tdd-float {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -9px;
	}
}

@keyframes tdd-twinkle {
	0%,
	100% {
		opacity: .45;
		scale: .8;
	}

	50% {
		opacity: 1;
		scale: 1.1;
	}
}

.tdd-hero__content {
	display: flex;
	justify-content: flex-end;
}

/* Widget "Uoc tinh khoan vay" */
.tdd-calc {
	width: 100%;
	max-width: 500px;
	padding: 28px 28px 24px;
	border: 1px solid var(--tdd-ink);
	border-radius: var(--tdd-radius-lg);
	background: #fff;
	box-shadow: 8px 8px 0 rgba(34, 49, 61, .12), var(--tdd-shadow-lg);
}

.tdd-main h2.tdd-calc__title {
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 2px dashed var(--tdd-grid);
	font-size: 20px;
	font-weight: 800;
}

.tdd-calc__field {
	margin-bottom: 14px;
}

.tdd-calc__label-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.tdd-calc__label {
	color: var(--tdd-text);
	font-size: 15px;
	font-weight: 600;
}

.tdd-calc__value {
	color: var(--tdd-primary);
	font-size: 26px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.tdd-range {
	--tdd-fill: 21.05%;
	display: block;
	width: 100%;
	height: 28px;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.tdd-range::-webkit-slider-runnable-track {
	height: 10px;
	border-radius: 10px;
	background:
		linear-gradient(90deg, var(--tdd-lime) 0%, var(--tdd-leaf) 100%) 0 0 / var(--tdd-fill) 100% no-repeat,
		#E5E8DC;
}

.tdd-range::-moz-range-track {
	height: 10px;
	border-radius: 10px;
	background: #E5E8DC;
}

.tdd-range::-moz-range-progress {
	height: 10px;
	border-radius: 10px;
	background: linear-gradient(90deg, var(--tdd-lime) 0%, var(--tdd-leaf) 100%);
}

.tdd-range::-webkit-slider-thumb {
	width: 28px;
	height: 28px;
	margin-top: -9px;
	border: 7px solid var(--tdd-primary);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 10px rgba(34, 49, 61, .28);
	-webkit-appearance: none;
	appearance: none;
}

.tdd-range::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 7px solid var(--tdd-primary);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 10px rgba(34, 49, 61, .28);
}

.tdd-calc__minmax {
	display: flex;
	justify-content: space-between;
	margin-top: 2px;
	color: var(--tdd-muted);
	font-size: 13px;
}

.tdd-calc__rows {
	margin: 14px 0 16px;
	padding: 4px 16px;
	border-radius: 12px;
	background:
		linear-gradient(rgba(34, 49, 61, .06) 1px, transparent 1px) 0 0 / 100% 38px,
		var(--tdd-paper);
}

.tdd-calc__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed #D5D0BC;
}

.tdd-calc__row dt {
	color: var(--tdd-text);
	font-size: 15px;
}

.tdd-calc__row dd {
	color: var(--tdd-ink);
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.tdd-calc__row--total {
	border-bottom: 0;
}

.tdd-calc__row--total dt {
	color: var(--tdd-ink);
	font-weight: 700;
}

.tdd-calc__row--total dd {
	color: var(--tdd-primary);
	font-size: 21px;
	font-weight: 800;
}

.tdd-main .tdd-calc__note {
	margin: 14px 0 0;
	color: var(--tdd-muted);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

.tdd-body .tdd-calc__note a {
	color: var(--tdd-muted);
	font-weight: 600;
	text-decoration: none;
}

.tdd-body .tdd-calc__note a:hover,
.tdd-body .tdd-calc__note a:focus {
	color: var(--tdd-primary-dark);
	text-decoration: underline;
}

/* ==========================================================================
   6. STATS BAR (chi tablet / mobile)
   ========================================================================== */
.tdd-stats {
	position: relative;
	margin-top: -4px;
	padding-bottom: 8px;
}

.tdd-stats__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.tdd-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 16px 10px;
	border: 1.5px solid var(--tdd-border);
	border-radius: var(--tdd-radius);
	background: #fff;
	box-shadow: var(--tdd-shadow-md);
	text-align: center;
}

.tdd-stats__num {
	color: var(--tdd-primary);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
}

.tdd-stats__label {
	color: var(--tdd-text);
	font-size: 13.5px;
	line-height: 1.35;
}

/* ==========================================================================
   7. SECTION CHUNG (gach chan H2 = net xanh dai + net do ngan, nhu thay gach bai)
   ========================================================================== */
.tdd-section {
	padding: 84px 0;
}

.tdd-section--paper {
	background: var(--tdd-paper);
}

.tdd-section--sage {
	background: var(--tdd-sage);
}

.tdd-section--flush-top {
	padding-top: 40px;
}

.tdd-section--flush-bottom {
	padding-bottom: 24px;
}

.tdd-section__head {
	max-width: 780px;
	margin: 0 auto 44px;
	text-align: center;
}

.tdd-main h2.tdd-section__title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.25;
}

.tdd-section__title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 2px;
	background:
		linear-gradient(var(--tdd-primary), var(--tdd-primary)) 0 0 / 46px 4px no-repeat,
		linear-gradient(var(--tdd-pen), var(--tdd-pen)) 52px 0 / 12px 4px no-repeat;
}

.tdd-proof__intro .tdd-section__title::after,
.tdd-trust__body .tdd-section__title::after,
.tdd-cond__intro .tdd-section__title::after {
	margin-left: 0;
}

.tdd-main .tdd-section__desc {
	margin-top: 14px;
	color: var(--tdd-text);
	font-size: 17px;
	line-height: 1.65;
}

.tdd-section__actions {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

/* ==========================================================================
   8. THONG SO: BANG SAU O (o li lien khoi, khong card noi)
   ========================================================================== */
.tdd-specs__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--tdd-ink);
	border-radius: var(--tdd-radius-lg);
	overflow: hidden;
	background: #fff;
}

.tdd-spec {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 28px 28px 26px;
	border-right: 1.5px solid var(--tdd-grid);
	border-bottom: 1.5px solid var(--tdd-grid);
	background:
		linear-gradient(rgba(34, 49, 61, .05) 1px, transparent 1px) 0 0 / 100% 26px,
		linear-gradient(90deg, rgba(34, 49, 61, .05) 1px, transparent 1px) 0 0 / 26px 100%,
		#fff;
}

.tdd-spec:nth-child(3n) {
	border-right: 0;
}

.tdd-spec:nth-last-child(-n + 3) {
	border-bottom: 0;
}

.tdd-spec__no {
	position: absolute;
	right: 16px;
	top: 12px;
	color: var(--tdd-pen);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .04em;
}

.tdd-spec__label {
	color: var(--tdd-muted);
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.tdd-spec__value {
	color: var(--tdd-primary);
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 800;
	line-height: 1.2;
}

.tdd-spec__hint {
	color: var(--tdd-text);
	font-size: 15px;
	line-height: 1.55;
}

/* ==========================================================================
   9. SIGNATURE: TO GIAY CHAM DUNG (+ cong thuc + canh bao rui ro)
   ========================================================================== */
.tdd-proof__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 56px;
	align-items: center;
}

.tdd-proof__grid > * {
	min-width: 0;
}

.tdd-formula {
	display: grid;
	gap: 8px;
	margin: 22px 0 20px;
	counter-reset: tdd-f;
}

.tdd-formula li {
	position: relative;
	padding: 10px 14px 10px 50px;
	border-radius: 12px;
	background: #fff;
	border: 1.5px solid var(--tdd-border);
	color: var(--tdd-text);
	font-size: 15.5px;
	line-height: 1.5;
	counter-increment: tdd-f;
}

.tdd-formula li::before {
	content: counter(tdd-f);
	position: absolute;
	left: 12px;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	border-radius: 50%;
	background: var(--tdd-pen-soft);
	color: var(--tdd-pen);
	font-size: 14px;
	font-weight: 800;
}

.tdd-formula strong {
	color: var(--tdd-ink);
	white-space: nowrap;
}

.tdd-risk {
	padding: 14px 18px;
	border-left: 4px solid var(--tdd-pen);
	border-radius: 4px 12px 12px 4px;
	background: var(--tdd-pen-soft);
}

.tdd-main .tdd-risk__title {
	color: var(--tdd-pen);
	font-size: 15.5px;
	font-weight: 800;
}

.tdd-main .tdd-risk__text {
	margin-top: 4px;
	color: var(--tdd-text);
	font-size: 15px;
	line-height: 1.6;
}

.tdd-proof__actions {
	margin-top: 24px;
}

.tdd-sheet {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
}

.tdd-sheet__paper {
	position: relative;
	padding: 26px 22px 34px;
	border: 1px solid var(--tdd-ink);
	border-radius: 16px;
	background:
		linear-gradient(rgba(34, 49, 61, .07) 1px, transparent 1px) 0 0 / 100% 28px,
		linear-gradient(90deg, rgba(34, 49, 61, .07) 1px, transparent 1px) 0 0 / 28px 100%,
		#FFFDF6;
	box-shadow: 10px 10px 0 rgba(34, 49, 61, .1), var(--tdd-shadow-md);
	transform: rotate(1.2deg);
}

.tdd-sheet__paper::before {
	content: "";
	position: absolute;
	left: 44px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #EBB3AE;
}

.tdd-sheet__table {
	position: relative;
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
}

.tdd-sheet__table th,
.tdd-sheet__table td {
	padding: 12px 8px;
	border: 0;
	background: transparent;
	color: var(--tdd-ink);
	text-align: right;
	vertical-align: middle;
}

.tdd-sheet__table thead th {
	padding-bottom: 8px;
	color: var(--tdd-muted);
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tdd-sheet__table thead th:first-child {
	white-space: nowrap;
}

.tdd-sheet__table th:first-child {
	padding-left: 34px;
	text-align: left;
	font-weight: 700;
}

.tdd-sheet__table tbody tr {
	border-bottom: 1.5px dashed #CFCAB5;
}

.tdd-sheet__table tbody td:nth-child(4),
.tdd-sheet__table tfoot td:nth-child(4) {
	font-weight: 800;
}

.tdd-sheet__table tfoot tr {
	border-top: 2px solid var(--tdd-ink);
}

.tdd-sheet__row--total th,
.tdd-sheet__row--total td {
	font-size: 17px;
	font-weight: 800;
}

.tdd-sheet__row--total td:nth-child(4) {
	color: var(--tdd-primary);
}

.tdd-sheet__table .tdd-sheet__mark {
	width: 46px;
	padding-right: 0;
	text-align: center;
}

.tdd-sheet__mark .tdd-tick {
	display: inline-block;
	vertical-align: middle;
}

.tdd-sheet__mark .tdd-tick path {
	transition: stroke-dashoffset .55s ease;
}

.tdd-stamp {
	position: absolute;
	right: -26px;
	bottom: -62px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border: 4px double var(--tdd-pen);
	border-radius: 50%;
	background: rgba(255, 253, 246, .9);
	color: var(--tdd-pen);
	font-size: 23px;
	font-weight: 800;
	letter-spacing: .04em;
	transform: rotate(-13deg);
	transition: transform .4s cubic-bezier(.2, .9, .3, 1.25), opacity .3s ease;
}

.tdd-sheet.is-armed .tdd-sheet__mark .tdd-tick {
	opacity: 0;
}

.tdd-sheet.is-armed .tdd-sheet__mark .tdd-tick path {
	stroke-dashoffset: 1;
}

.tdd-sheet.is-armed .tdd-sheet__row.is-on .tdd-tick {
	opacity: 1;
}

.tdd-sheet.is-armed .tdd-sheet__row.is-on .tdd-tick path {
	stroke-dashoffset: 0;
}

.tdd-sheet.is-armed .tdd-stamp {
	opacity: 0;
	transform: rotate(-13deg) scale(1.8);
}

.tdd-sheet.is-armed.is-done .tdd-stamp {
	opacity: 1;
	transform: rotate(-13deg) scale(1);
}

.tdd-main .tdd-sheet__unit {
	margin-top: 68px;
	color: var(--tdd-muted);
	font-size: 14px;
	text-align: center;
}

/* ==========================================================================
   10. DIEU KIEN: PHIEU TU KIEM TRA (khach tu tick)
   ========================================================================== */
.tdd-cond__grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 56px;
	align-items: center;
}

.tdd-cond__grid > * {
	min-width: 0;
}

.tdd-cond__actions {
	margin-top: 26px;
}

.tdd-form {
	padding: 28px 28px 24px;
	border: 1px solid var(--tdd-ink);
	border-radius: var(--tdd-radius-lg);
	background:
		linear-gradient(rgba(34, 49, 61, .05) 1px, transparent 1px) 0 0 / 100% 28px,
		var(--tdd-paper);
	box-shadow: 8px 8px 0 rgba(34, 49, 61, .1);
}

.tdd-main .tdd-form__title {
	font-size: 20px;
	font-weight: 800;
}

.tdd-main .tdd-form__hint {
	margin: 4px 0 16px;
	color: var(--tdd-muted);
	font-size: 15px;
}

.tdd-form__list {
	display: grid;
	gap: 10px;
}

.tdd-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 13px 16px;
	border: 1.5px solid var(--tdd-border);
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}

.tdd-check:hover {
	border-color: var(--tdd-leaf);
}

.tdd-check__input {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.tdd-check__box {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-top: 1px;
	border: 2.5px solid var(--tdd-ink);
	border-radius: 8px;
	background: #fff;
	transition: background-color .2s ease, border-color .2s ease;
}

.tdd-check__box .tdd-tick {
	width: 20px;
	height: 17px;
	stroke: #fff;
	stroke-width: 4;
	opacity: 0;
}

.tdd-check__box .tdd-tick path {
	stroke-dashoffset: 1;
	transition: stroke-dashoffset .35s ease;
}

.tdd-check__input:checked + .tdd-check__box {
	border-color: var(--tdd-primary);
	background: var(--tdd-primary);
}

.tdd-check__input:checked + .tdd-check__box .tdd-tick {
	opacity: 1;
}

.tdd-check__input:checked + .tdd-check__box .tdd-tick path {
	stroke-dashoffset: 0;
}

.tdd-check__input:focus-visible + .tdd-check__box {
	outline: 3px solid var(--tdd-lime);
	outline-offset: 2px;
}

.tdd-check:has(.tdd-check__input:checked) {
	border-color: var(--tdd-primary);
	background: var(--tdd-sage);
}

.tdd-check__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}

.tdd-check__text strong {
	color: var(--tdd-ink);
	font-size: 16.5px;
	line-height: 1.35;
}

.tdd-check__sub {
	color: var(--tdd-text);
	font-size: 14.5px;
	line-height: 1.5;
}

.tdd-form__status {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 2px dashed var(--tdd-grid);
}

.tdd-main .tdd-form__count {
	color: var(--tdd-ink);
	font-size: 15.5px;
	font-weight: 600;
}

.tdd-form__count strong {
	color: var(--tdd-primary);
	font-size: 20px;
}

.tdd-meter {
	height: 10px;
	margin: 8px 0 10px;
	border-radius: 10px;
	background: #E5E8DC;
	overflow: hidden;
}

.tdd-meter__fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 10px;
	background: linear-gradient(90deg, var(--tdd-lime), var(--tdd-primary));
	transition: width .3s ease;
}

.tdd-main .tdd-verdict {
	color: var(--tdd-text);
	font-size: 15px;
	line-height: 1.55;
}

.tdd-form.is-complete .tdd-verdict {
	color: var(--tdd-primary);
	font-weight: 700;
}

/* ==========================================================================
   11. QUY TRINH: BON BUOC, BAM CHON (tablist trai + panel phai)
   ========================================================================== */
.tdd-flow {
	display: grid;
	gap: 16px;
}

.tdd-flow.is-tabs {
	grid-template-columns: 340px 1fr;
	gap: 28px;
	align-items: stretch;
}

.tdd-flow__tabs {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tdd-body .tdd-flow__tab {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 16px 18px;
	border: 2px solid var(--tdd-border);
	border-radius: 14px;
	background: #fff;
	color: var(--tdd-ink);
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.tdd-body .tdd-flow__tab:hover,
.tdd-body .tdd-flow__tab:focus {
	border-color: var(--tdd-leaf);
	background: #fff;
	color: var(--tdd-ink);
}

.tdd-body .tdd-flow__tab[aria-selected="true"],
.tdd-body .tdd-flow__tab[aria-selected="true"]:hover,
.tdd-body .tdd-flow__tab[aria-selected="true"]:focus {
	border-color: var(--tdd-primary);
	background: var(--tdd-primary);
	color: #fff;
}

.tdd-flow__num {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 2px solid currentColor;
	border-radius: 10px;
	font-size: 17px;
	font-weight: 800;
}

.tdd-flow__tab[aria-selected="true"] .tdd-flow__num {
	border-color: var(--tdd-lime);
	background: var(--tdd-lime);
	color: var(--tdd-ink);
}

.tdd-flow__panels {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.tdd-flow__panel {
	position: relative;
	padding: 34px 36px;
	border: 1px solid var(--tdd-ink);
	border-radius: var(--tdd-radius-lg);
	background:
		linear-gradient(rgba(34, 49, 61, .05) 1px, transparent 1px) 0 0 / 100% 28px,
		#fff;
	box-shadow: 8px 8px 0 rgba(34, 49, 61, .1);
}

.tdd-flow__step {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--tdd-pen);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tdd-main h3.tdd-flow__title {
	font-size: clamp(21px, 2.4vw, 26px);
	font-weight: 800;
}

.tdd-main .tdd-flow__text {
	margin-top: 10px;
	color: var(--tdd-text);
	font-size: 17px;
	line-height: 1.7;
}

.tdd-flow__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.tdd-flow__chip {
	padding: 6px 14px;
	border: 1.5px solid var(--tdd-border);
	border-radius: 999px;
	background: var(--tdd-sage);
	color: var(--tdd-primary);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.4;
}

/* ==========================================================================
   12. VI SAO CHON: BANG SO SANH CO CHAM
   ========================================================================== */
.tdd-compare__scroll {
	overflow-x: auto;
	border: 2px solid var(--tdd-ink);
	border-radius: var(--tdd-radius-lg);
	background: #fff;
}

.tdd-compare__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 16px;
}

.tdd-compare__table th,
.tdd-compare__table td {
	padding: 18px 22px;
	border: 0;
	border-bottom: 1.5px solid var(--tdd-grid);
	background: transparent;
	text-align: left;
	vertical-align: middle;
	line-height: 1.55;
}

.tdd-compare__table thead th {
	border-bottom: 0;
	background: var(--tdd-ink);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .03em;
}

.tdd-compare__table thead th:nth-child(2) {
	background: var(--tdd-primary);
}

.tdd-compare__table tbody th {
	width: 20%;
	background: var(--tdd-paper);
	color: var(--tdd-ink);
	font-weight: 800;
}

.tdd-compare__table tbody tr:last-child th,
.tdd-compare__table tbody tr:last-child td {
	border-bottom: 0;
}

.tdd-compare__yes {
	width: 40%;
	background: var(--tdd-sage);
	color: var(--tdd-ink);
	font-weight: 700;
}

.tdd-compare__yes .tdd-tick {
	display: inline-block;
	width: 22px;
	height: 19px;
	margin-right: 12px;
	vertical-align: -3px;
	stroke: var(--tdd-primary);
	stroke-width: 4;
}

.tdd-compare__no {
	position: relative;
	width: 40%;
	color: var(--tdd-muted);
}

.tdd-compare__cell {
	display: inline;
}

.tdd-main .tdd-compare__note {
	margin-top: 16px;
	color: var(--tdd-muted);
	font-size: 14.5px;
	line-height: 1.6;
	text-align: center;
}

/* ==========================================================================
   13. PHAP NHAN + LUU Y + THANH TOAN (trang con)
   ========================================================================== */
.tdd-trust__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 48px;
	align-items: start;
}

.tdd-trust__grid > * {
	min-width: 0;
}

.tdd-trust__body .tdd-section__desc {
	margin-bottom: 24px;
}

.tdd-plate {
	padding: 26px 26px 22px;
	border-radius: var(--tdd-radius-lg);
	background: var(--tdd-ink);
	box-shadow: var(--tdd-shadow-lg);
	color: var(--tdd-on-ink);
}

.tdd-main .tdd-plate__kicker {
	color: var(--tdd-on-ink-muted);
	font-size: 14px;
	font-weight: 700;
}

.tdd-main .tdd-plate__name {
	margin: 8px 0 14px;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
}

.tdd-plate__row {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 15px;
	line-height: 1.55;
}

.tdd-plate__row dt {
	color: var(--tdd-on-ink-muted);
	font-weight: 600;
}

.tdd-plate__row dd {
	min-width: 0;
	color: #fff;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.tdd-body .tdd-plate a {
	color: #BFE08C;
	text-decoration: none;
}

.tdd-body .tdd-plate a:hover,
.tdd-body .tdd-plate a:focus {
	color: #DCF2BB;
	text-decoration: underline;
}

.tdd-notes {
	display: grid;
	gap: 14px;
}

.tdd-note {
	display: flex;
	gap: 14px;
	padding: 16px 18px;
	border: 1.5px solid var(--tdd-border);
	border-radius: var(--tdd-radius);
	background: #fff;
}

.tdd-note__mark {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--tdd-primary);
}

.tdd-note__mark .tdd-tick {
	width: 18px;
	height: 15px;
	stroke: #fff;
	stroke-width: 4;
}

.tdd-main h3.tdd-note__title,
.tdd-main h2.tdd-note__title {
	font-size: 17px;
	font-weight: 800;
}

.tdd-main .tdd-note__text {
	margin-top: 4px;
	color: var(--tdd-text);
	font-size: 15.5px;
	line-height: 1.6;
}

.tdd-pay {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.tdd-pay__item {
	min-width: 0;
	padding: 22px 20px;
	border: 2px solid var(--tdd-ink);
	border-radius: var(--tdd-radius);
	background: #fff;
	box-shadow: 5px 5px 0 rgba(34, 49, 61, .1);
}

.tdd-pay__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: var(--tdd-ink);
	color: var(--tdd-lime);
	font-size: 18px;
	font-weight: 800;
}

.tdd-main h3.tdd-pay__title {
	font-size: 17.5px;
	font-weight: 800;
}

.tdd-main .tdd-pay__text {
	margin-top: 6px;
	color: var(--tdd-text);
	font-size: 15.5px;
	line-height: 1.6;
}

/* ==========================================================================
   14. KHOI NOI DUNG SEO (cuoi trang chu, KHONG collapse) + van ban dai
   ========================================================================== */
.tdd-seo {
	padding: 84px 0;
}

.tdd-seo__inner,
.tdd-doc {
	position: relative;
	padding: 48px 56px;
	border: 1px solid var(--tdd-ink);
	border-radius: var(--tdd-radius-lg);
	background: #fff;
	box-shadow: 8px 8px 0 rgba(34, 49, 61, .08);
	color: var(--tdd-text);
	font-size: 17px;
	line-height: 1.75;
	counter-reset: tdd-h2;
}

.tdd-main .tdd-seo__inner p,
.tdd-main .tdd-doc p,
.tdd-seo__inner ul,
.tdd-seo__inner ol,
.tdd-doc ul,
.tdd-doc ol {
	margin: 0 0 16px;
}

.tdd-seo__inner ul,
.tdd-seo__inner ol,
.tdd-doc ul,
.tdd-doc ol {
	padding-left: 24px;
}

.tdd-seo__inner li,
.tdd-doc li {
	margin-bottom: 8px;
}

.tdd-seo__inner strong,
.tdd-doc strong {
	color: var(--tdd-ink);
}

/* Sapo (cac doan truoc H2 dau tien): vach le do nhu le vo hoc sinh */
.tdd-main .tdd-seo__inner > p:not(h2 ~ p) {
	padding-left: 18px;
	border-left: 4px solid var(--tdd-lime);
}

/* H2 danh so trong o li vuong */
.tdd-main .tdd-seo__inner h2,
.tdd-main .tdd-doc h2 {
	position: relative;
	margin: 44px 0 16px;
	padding-left: 62px;
	font-size: clamp(21px, 2.7vw, 26px);
	font-weight: 800;
	counter-increment: tdd-h2;
}

.tdd-main .tdd-seo__inner h2:first-child,
.tdd-main .tdd-doc h2:first-child {
	margin-top: 0;
}

.tdd-seo__inner h2::before,
.tdd-doc h2::before {
	content: counter(tdd-h2, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -.04em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2.5px solid var(--tdd-ink);
	border-radius: 10px;
	background:
		linear-gradient(rgba(34, 49, 61, .12) 1px, transparent 1px) 0 0 / 100% 11px,
		linear-gradient(90deg, rgba(34, 49, 61, .12) 1px, transparent 1px) 0 0 / 11px 100%,
		var(--tdd-paper);
	color: var(--tdd-primary);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	box-sizing: border-box;
}

.tdd-main .tdd-seo__inner h3 {
	position: relative;
	margin: 28px 0 12px;
	padding-left: 30px;
	font-size: clamp(18px, 2.2vw, 21px);
	font-weight: 800;
}

/* H3: dau tich do nho */
.tdd-seo__inner h3::before {
	content: "";
	position: absolute;
	left: 6px;
	top: .34em;
	width: 7px;
	height: 13px;
	border-right: 3.5px solid var(--tdd-pen);
	border-bottom: 3.5px solid var(--tdd-pen);
	transform: rotate(40deg);
}

.tdd-table-wrap {
	margin: 20px 0 22px;
	overflow-x: auto;
	border: 2px solid var(--tdd-ink);
	border-radius: 12px;
}

.tdd-table-wrap table {
	width: 100%;
	min-width: 520px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 16px;
}

.tdd-table-wrap th,
.tdd-table-wrap td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1.5px solid var(--tdd-grid);
	text-align: left;
	vertical-align: top;
}

.tdd-table-wrap th {
	background: var(--tdd-ink);
	color: #fff;
	font-weight: 700;
}

.tdd-table-wrap tr:nth-child(even) td {
	background: var(--tdd-sage);
}

.tdd-table-wrap tr:last-child td {
	border-bottom: 0;
}

.tdd-seo__figure {
	max-width: 560px;
	margin: 28px auto 6px;
}

.tdd-seo__img {
	display: block;
	width: 100%;
	height: auto;
	border: 1.5px solid var(--tdd-border);
	border-radius: var(--tdd-radius);
	box-shadow: var(--tdd-shadow-sm);
}

.tdd-doc a {
	font-weight: 600;
}

/* ==========================================================================
   15. TRANG CON
   ========================================================================== */
.tdd-page-hero {
	padding: 48px 0 40px;
	background:
		linear-gradient(rgba(34, 49, 61, .045) 1px, transparent 1px) 0 0 / 100% 30px,
		linear-gradient(90deg, rgba(34, 49, 61, .045) 1px, transparent 1px) 0 0 / 30px 100%,
		linear-gradient(180deg, #F3F8EA 0%, #fff 100%);
	text-align: center;
}

.tdd-breadcrumbs {
	margin-bottom: 16px;
}

.tdd-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.tdd-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	color: var(--tdd-text);
	font-size: 15px;
}

.tdd-breadcrumbs__item + .tdd-breadcrumbs__item::before {
	content: "";
	width: 7px;
	height: 7px;
	margin: 0 12px 0 10px;
	border-right: 2px solid var(--tdd-muted);
	border-top: 2px solid var(--tdd-muted);
	transform: rotate(45deg);
}

.tdd-body .tdd-breadcrumbs__link {
	color: var(--tdd-primary-dark);
	font-weight: 600;
	text-decoration: none;
}

.tdd-body .tdd-breadcrumbs__link:hover,
.tdd-body .tdd-breadcrumbs__link:focus {
	text-decoration: underline;
}

.tdd-main h1.tdd-page-hero__title {
	max-width: 22em;
	margin: 0 auto 14px;
	font-size: clamp(26px, 3.8vw, 39px);
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.25;
}

.tdd-main .tdd-page-hero__desc {
	max-width: 44em;
	margin: 0 auto;
	color: var(--tdd-text);
	font-size: 18px;
	line-height: 1.65;
}

.tdd-prose {
	color: var(--tdd-text);
	font-size: 17px;
	line-height: 1.75;
}

.tdd-main .tdd-prose h2 {
	margin: 36px 0 12px;
	font-size: clamp(21px, 2.7vw, 26px);
	font-weight: 800;
}

.tdd-main .tdd-prose h2:first-child {
	margin-top: 0;
}

.tdd-prose h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 8px;
	border-radius: 2px;
	background:
		linear-gradient(var(--tdd-primary), var(--tdd-primary)) 0 0 / 40px 4px no-repeat,
		linear-gradient(var(--tdd-pen), var(--tdd-pen)) 46px 0 / 10px 4px no-repeat;
}

.tdd-main .tdd-prose p {
	margin: 0 0 14px;
}

.tdd-prose ul {
	margin: 0 0 16px;
	padding-left: 24px;
}

.tdd-prose li {
	margin-bottom: 8px;
}

.tdd-prose strong {
	color: var(--tdd-ink);
}

/* FAQ accordion */
.tdd-faq {
	display: grid;
	gap: 12px;
}

.tdd-faq__item {
	border: 2px solid var(--tdd-ink);
	border-radius: var(--tdd-radius);
	background: #fff;
	overflow: hidden;
}

.tdd-main .tdd-faq__q {
	font-size: 17px;
	font-weight: 700;
}

.tdd-body .tdd-faq__btn {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 16px 20px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--tdd-ink);
	font: inherit;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
}

.tdd-body .tdd-faq__btn:hover,
.tdd-body .tdd-faq__btn:focus {
	background: var(--tdd-paper);
	color: var(--tdd-ink);
}

.tdd-faq__num {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 28px;
	border-radius: 8px;
	background: var(--tdd-lime-soft);
	color: var(--tdd-primary);
	font-size: 14px;
	font-weight: 800;
}

.tdd-faq__text {
	flex: 1;
	min-width: 0;
}

.tdd-faq__icon {
	position: relative;
	flex: none;
	width: 18px;
	height: 18px;
}

.tdd-faq__icon::before,
.tdd-faq__icon::after {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 18px;
	height: 3px;
	border-radius: 2px;
	background: var(--tdd-primary);
	transition: transform .2s ease;
}

.tdd-faq__icon::after {
	transform: rotate(90deg);
}

.tdd-faq__btn[aria-expanded="true"] .tdd-faq__icon::after {
	transform: rotate(0);
}

.tdd-faq__a {
	padding: 0 20px 18px 70px;
	color: var(--tdd-text);
	font-size: 16.5px;
	line-height: 1.7;
}

/* Lien he */
.tdd-contact {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.tdd-contact__card {
	min-width: 0;
	padding: 26px 22px;
	border: 2px solid var(--tdd-ink);
	border-radius: var(--tdd-radius);
	background: #fff;
	box-shadow: 5px 5px 0 rgba(34, 49, 61, .1);
	text-align: center;
}

.tdd-contact__icon {
	position: relative;
	display: block;
	width: 52px;
	height: 52px;
	margin: 0 auto 12px;
	border-radius: 14px;
	background: var(--tdd-primary);
}

.tdd-contact__icon::before,
.tdd-contact__icon::after {
	content: "";
	position: absolute;
}

.tdd-contact__icon--phone::before {
	left: 17px;
	top: 12px;
	width: 18px;
	height: 28px;
	border: 3px solid var(--tdd-lime-soft);
	border-radius: 6px;
}

.tdd-contact__icon--phone::after {
	left: 24px;
	top: 34px;
	width: 4px;
	height: 3px;
	border-radius: 2px;
	background: var(--tdd-lime-soft);
}

.tdd-contact__icon--mail::before {
	left: 12px;
	top: 15px;
	width: 22px;
	height: 16px;
	border: 3px solid var(--tdd-lime-soft);
	border-radius: 4px;
}

.tdd-contact__icon--mail::after {
	left: 16px;
	top: 16px;
	width: 14px;
	height: 14px;
	border-right: 3px solid var(--tdd-lime-soft);
	border-bottom: 3px solid var(--tdd-lime-soft);
	transform: translateY(-7px) rotate(45deg) scale(.6);
}

.tdd-contact__icon--pin::before {
	left: 16px;
	top: 11px;
	width: 20px;
	height: 20px;
	border: 3px solid var(--tdd-lime-soft);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}

.tdd-contact__icon--pin::after {
	left: 23px;
	top: 18px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tdd-lime-soft);
}

.tdd-contact__icon--clock::before {
	left: 13px;
	top: 13px;
	width: 20px;
	height: 20px;
	border: 3px solid var(--tdd-lime-soft);
	border-radius: 50%;
}

.tdd-contact__icon--clock::after {
	left: 25px;
	top: 19px;
	width: 7px;
	height: 9px;
	border-left: 3px solid var(--tdd-lime-soft);
	border-bottom: 3px solid var(--tdd-lime-soft);
}

.tdd-main h2.tdd-contact__title {
	font-size: 18px;
	font-weight: 800;
}

.tdd-main .tdd-contact__value {
	margin-top: 6px;
	color: var(--tdd-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.tdd-main .tdd-contact__note {
	margin-top: 6px;
	color: var(--tdd-text);
	font-size: 14.5px;
	line-height: 1.55;
}

/* CTA band cuoi trang con */
.tdd-section--cta {
	padding: 24px 0 84px;
}

.tdd-section--paper + .tdd-section--cta,
.tdd-section--sage + .tdd-section--cta {
	padding-top: 84px;
}

.tdd-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 40px 48px;
	border-radius: var(--tdd-radius-lg);
	background:
		linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 28px,
		linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 28px 100%,
		linear-gradient(120deg, var(--tdd-primary) 0%, #1B6A22 100%);
	box-shadow: var(--tdd-shadow-lg);
}

.tdd-cta__body {
	min-width: 0;
}

.tdd-main h2.tdd-cta__title {
	color: #fff;
	font-size: clamp(22px, 2.8vw, 30px);
	font-weight: 800;
}

.tdd-main .tdd-cta__desc {
	margin-top: 8px;
	color: #DDEFC4;
	font-size: 17px;
	line-height: 1.6;
}

.tdd-cta .tdd-btn {
	flex: none;
}

/* Trang 404 */
.tdd-404 {
	padding: 88px 0 104px;
	text-align: center;
}

.tdd-404__code {
	margin: 0 0 30px;
	font-size: clamp(92px, 20vw, 196px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	color: var(--tdd-ink);
	font-variant-numeric: tabular-nums;
}

@supports ((-webkit-text-stroke: 1px currentColor) and (paint-order: stroke)) {
	.tdd-404__code {
		color: var(--tdd-lime);
		-webkit-text-stroke: .055em var(--tdd-ink);
		paint-order: stroke fill;
		text-shadow: .035em .045em 0 var(--tdd-pen);
	}
}

.tdd-main h1.tdd-404__title {
	max-width: 56ch;
	margin: 0 auto 30px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--tdd-text);
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.tdd-footer {
	position: relative;
	padding: 64px 0 28px;
	background: var(--tdd-footer);
	color: var(--tdd-on-ink);
}

.tdd-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr .8fr .8fr 1.3fr;
	gap: 40px;
}

.tdd-footer__grid > * {
	min-width: 0;
}

.tdd-footer__logo-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.tdd-footer__logo-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: #fff;
}

.tdd-footer__logo {
	display: block;
	width: 44px;
	height: 44px;
}

.tdd-footer__name {
	color: #fff;
	font-size: 24px;
	font-weight: 800;
}

.tdd-footer__name-accent {
	color: var(--tdd-lime);
}

.tdd-footer__desc {
	margin: 16px 0 0;
	color: var(--tdd-on-ink);
	font-size: 15px;
	line-height: 1.7;
}

.tdd-footer__legal {
	margin: 14px 0 0;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	color: var(--tdd-on-ink-muted);
	font-size: 14px;
	line-height: 1.65;
}

.tdd-footer__legal strong {
	color: #fff;
}

.tdd-footer__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
}

.tdd-footer__links,
.tdd-footer__contact {
	display: grid;
	gap: 10px;
}

.tdd-body .tdd-footer a {
	color: var(--tdd-on-ink);
	text-decoration: none;
}

.tdd-body .tdd-footer a:hover,
.tdd-body .tdd-footer a:focus {
	color: #fff;
	text-decoration: underline;
}

.tdd-footer__contact li {
	display: grid;
	gap: 2px;
	font-size: 15px;
	line-height: 1.6;
}

.tdd-footer__label {
	color: var(--tdd-on-ink-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.tdd-footer__bottom {
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	text-align: center;
}

.tdd-footer__copy {
	margin: 0;
	color: var(--tdd-on-ink-muted);
	font-size: 14px;
}

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */
@media (min-width: 1025px) {
	.tdd-stats {
		display: none;
	}
}

@media (max-width: 1024px) {
	.tdd-hero {
		padding: 40px 0 88px;
	}

	.tdd-stats {
		margin-top: -44px;
	}

	/* Hero xep doc: H1 -> desc -> widget -> art (DOM giu nguyen, H1 van dau tien) */
	.tdd-hero__grid {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.tdd-hero__visual {
		display: contents;
	}

	.tdd-main h1.tdd-hero__title {
		order: 1;
		max-width: none;
	}

	.tdd-main .tdd-hero__desc {
		order: 2;
		max-width: none;
		margin-bottom: 26px;
	}

	.tdd-hero__content {
		order: 3;
		width: 100%;
		justify-content: center;
	}

	.tdd-hero__art {
		order: 4;
		margin: 32px auto 0;
		max-width: 460px;
	}

	.tdd-calc {
		max-width: 560px;
	}

	.tdd-section {
		padding: 64px 0;
	}

	.tdd-specs__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tdd-spec:nth-child(3n) {
		border-right: 1.5px solid var(--tdd-grid);
	}

	.tdd-spec:nth-child(2n) {
		border-right: 0;
	}

	.tdd-spec:nth-last-child(-n + 3) {
		border-bottom: 1.5px solid var(--tdd-grid);
	}

	.tdd-spec:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.tdd-proof__grid,
	.tdd-cond__grid,
	.tdd-trust__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.tdd-flow.is-tabs {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tdd-flow__tabs {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.tdd-body .tdd-flow__tab {
		width: auto;
		flex: 1 1 calc(50% - 10px);
	}

	.tdd-contact {
		grid-template-columns: repeat(2, 1fr);
	}

	.tdd-pay {
		grid-template-columns: 1fr;
	}

	.tdd-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.tdd-footer__brand {
		grid-column: 1 / -1;
	}

	.tdd-seo__inner,
	.tdd-doc {
		padding: 36px 32px;
	}
}

@media (max-width: 768px) {
	/* Menu mobile: panel truot tu phai (fixed, nam NGOAI header de khong bi overlay phu) */
	.tdd-header__inner {
		gap: 12px;
		min-height: 66px;
	}

	.tdd-header__actions {
		margin-left: auto;
	}

	.tdd-header__name {
		font-size: 21px;
	}

	.tdd-header__logo {
		width: 40px;
		height: 40px;
	}

	.tdd-body .tdd-header__toggle {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 2px solid var(--tdd-ink);
		border-radius: 12px;
		background: #fff;
		color: var(--tdd-ink);
		cursor: pointer;
		box-shadow: none;
	}

	.tdd-body .tdd-header__toggle:hover,
	.tdd-body .tdd-header__toggle:focus {
		background: var(--tdd-paper);
		color: var(--tdd-ink);
	}

	.tdd-header__toggle-bar,
	.tdd-header__toggle-bar::before,
	.tdd-header__toggle-bar::after {
		display: block;
		width: 20px;
		height: 3px;
		border-radius: 2px;
		background: var(--tdd-ink);
	}

	.tdd-header__toggle-bar {
		position: relative;
	}

	.tdd-header__toggle-bar::before,
	.tdd-header__toggle-bar::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.tdd-header__toggle-bar::before {
		top: -7px;
	}

	.tdd-header__toggle-bar::after {
		top: 7px;
	}

	.tdd-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1001;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 8px;
		width: min(86vw, 340px);
		padding: 18px 20px 28px;
		background: #fff;
		box-shadow: -12px 0 40px rgba(22, 34, 43, .3);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .28s ease, visibility .28s ease;
	}

	.tdd-nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.tdd-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-bottom: 14px;
		border-bottom: 2px dashed var(--tdd-grid);
	}

	.tdd-nav__label {
		color: var(--tdd-ink);
		font-size: 18px;
		font-weight: 800;
	}

	.tdd-body .tdd-nav__close {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 2px solid var(--tdd-ink);
		border-radius: 12px;
		background: #fff;
		color: var(--tdd-ink);
		cursor: pointer;
		box-shadow: none;
	}

	.tdd-body .tdd-nav__close:hover,
	.tdd-body .tdd-nav__close:focus {
		background: var(--tdd-paper);
		color: var(--tdd-ink);
	}

	.tdd-nav__close-icon,
	.tdd-nav__close-icon::before {
		display: block;
		width: 20px;
		height: 3px;
		border-radius: 2px;
		background: var(--tdd-ink);
	}

	.tdd-nav__close-icon {
		position: relative;
		transform: rotate(45deg);
	}

	.tdd-nav__close-icon::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		transform: rotate(90deg);
	}

	.tdd-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.tdd-nav__link {
		padding: 14px 14px;
		font-size: 17px;
	}

	.tdd-nav__link--active::after {
		left: auto;
		right: 18px;
		bottom: auto;
		top: 50%;
		margin-top: -9px;
	}

	.tdd-nav__cta {
		display: inline-flex;
		margin-top: 12px;
	}

	.tdd-stats__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.tdd-hero__art {
		display: none;
	}

	.tdd-calc {
		padding: 22px 18px 20px;
		box-shadow: 5px 5px 0 rgba(34, 49, 61, .12);
	}

	.tdd-main .tdd-hero__desc {
		font-size: 17px;
	}

	.tdd-section {
		padding: 52px 0;
	}

	.tdd-section__head {
		margin-bottom: 32px;
	}

	.tdd-seo {
		padding: 52px 0;
	}

	.tdd-seo__inner,
	.tdd-doc {
		padding: 28px 20px;
		font-size: 16.5px;
		box-shadow: 5px 5px 0 rgba(34, 49, 61, .08);
	}

	.tdd-main .tdd-seo__inner h2,
	.tdd-main .tdd-doc h2 {
		padding-left: 54px;
	}

	.tdd-seo__inner h2::before,
	.tdd-doc h2::before {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	.tdd-specs__grid {
		grid-template-columns: 1fr;
	}

	.tdd-spec,
	.tdd-spec:nth-child(2n),
	.tdd-spec:nth-child(3n) {
		border-right: 0;
		border-bottom: 1.5px solid var(--tdd-grid);
	}

	.tdd-spec:last-child {
		border-bottom: 0;
	}

	.tdd-spec {
		padding: 22px 20px;
	}

	.tdd-sheet__paper {
		padding: 20px 10px 40px 14px;
		transform: rotate(.6deg);
	}

	.tdd-sheet__paper::before {
		left: 22px;
	}

	.tdd-sheet__table {
		font-size: 14px;
	}

	.tdd-sheet__table th,
	.tdd-sheet__table td {
		padding: 11px 4px;
	}

	.tdd-sheet__table th:first-child {
		padding-left: 18px;
	}

	.tdd-sheet__table thead th {
		font-size: 11.5px;
		letter-spacing: 0;
	}

	.tdd-sheet__row--total th,
	.tdd-sheet__row--total td {
		font-size: 14.5px;
	}

	.tdd-sheet__table .tdd-sheet__mark {
		width: 34px;
	}

	.tdd-sheet__mark .tdd-tick {
		width: 20px;
		height: 17px;
	}

	.tdd-stamp {
		right: -8px;
		bottom: -56px;
		width: 84px;
		height: 84px;
		font-size: 20px;
	}

	.tdd-form {
		padding: 22px 16px 20px;
	}

	.tdd-check {
		padding: 12px 12px;
		gap: 12px;
	}

	.tdd-body .tdd-flow__tab {
		flex: 1 1 100%;
	}

	.tdd-flow__panel {
		padding: 26px 20px;
		box-shadow: 5px 5px 0 rgba(34, 49, 61, .1);
	}

	/* Bang so sanh: moi hang thanh mot the xep doc, co nhan cot */
	.tdd-compare__scroll {
		border: 0;
		background: transparent;
		overflow: visible;
	}

	.tdd-compare__table,
	.tdd-compare__table tbody,
	.tdd-compare__table tr,
	.tdd-compare__table th,
	.tdd-compare__table td {
		display: block;
		width: auto;
	}

	.tdd-compare__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tdd-compare__table tbody tr {
		margin-bottom: 14px;
		border: 2px solid var(--tdd-ink);
		border-radius: var(--tdd-radius);
		background: #fff;
		overflow: hidden;
	}

	.tdd-compare__table tbody th {
		width: auto;
		padding: 12px 16px;
		border-bottom: 0;
		background: var(--tdd-ink);
		color: #fff;
	}

	.tdd-compare__table tbody td {
		width: auto;
		padding: 12px 16px 14px;
		border-bottom: 1.5px solid var(--tdd-grid);
	}

	.tdd-compare__table tbody tr:last-child th,
	.tdd-compare__table tbody tr:last-child td {
		border-bottom: 0;
	}

	.tdd-compare__table tbody td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: var(--tdd-muted);
		font-size: 12.5px;
		font-weight: 800;
		letter-spacing: .04em;
		text-transform: uppercase;
	}

	.tdd-compare__table tbody tr:last-child td:last-child {
		border-bottom: 0;
	}

	.tdd-compare__table tbody td.tdd-compare__yes {
		display: grid;
		grid-template-columns: 22px 1fr;
		column-gap: 10px;
		align-items: start;
	}

	.tdd-compare__table tbody td.tdd-compare__yes::before {
		grid-column: 1 / -1;
	}

	.tdd-compare__yes .tdd-tick {
		margin-right: 0;
		margin-top: 3px;
	}

	.tdd-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 22px;
		padding: 30px 24px;
	}

	.tdd-cta .tdd-btn {
		width: 100%;
	}

	.tdd-contact {
		grid-template-columns: 1fr;
	}

	.tdd-page-hero {
		padding: 36px 0 30px;
	}

	.tdd-main .tdd-page-hero__desc {
		font-size: 16.5px;
	}

	.tdd-plate__row {
		grid-template-columns: 100px 1fr;
	}

	.tdd-faq__a {
		padding-left: 20px;
	}

	.tdd-404 {
		padding: 56px 0 72px;
	}

	.tdd-main h1.tdd-404__title {
		font-size: 17.5px;
	}

	.tdd-footer {
		padding-top: 52px;
	}

	.tdd-footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

@media (max-width: 480px) {
	.tdd-container {
		padding: 0 16px;
	}

	.tdd-header__cta {
		display: none;
	}

	.tdd-stats__num {
		font-size: 17px;
	}

	.tdd-calc__value {
		font-size: 23px;
	}

	.tdd-calc__row dd {
		font-size: 15px;
	}

	.tdd-calc__row--total dd {
		font-size: 19px;
	}

	.tdd-formula li {
		padding-right: 10px;
	}
}

/* ==========================================================================
   18. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.tdd-hero__tick {
		stroke-dashoffset: 0;
		opacity: 1;
	}

	.tdd-hero__stamp {
		opacity: 1;
		scale: 1;
	}
}
