/*
 Theme Name:   GeneratePress Child – Dragon Money
 Theme URI:    http://dragonmoney.localhost/
 Description:  Child theme Dragon Money (concept "Thân rồng 4 giờ"). Toàn bộ CSS nằm trong file này.
 Author:       Dragon Money
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  dragonmoney
*/

/* ==========================================================================
   1. VARIABLES (mau do PIL tu logo.png: do son #D00030 don sac + chu serif)
   ========================================================================== */
:root {
	--dm-primary: #D00030;
	--dm-primary-light: #E8435F;
	--dm-primary-dark: #A30026;
	--dm-red-text: #B0002A;
	--dm-gold: #E2A72E;
	--dm-gold-soft: #F7E3B5;
	--dm-gold-text: #7A5200;
	--dm-navy: #24161A;
	--dm-text: #4D3F42;
	--dm-muted: #6E6064;
	--dm-bg-soft: #FBF5EC;
	--dm-bg-blush: #FCEFF1;
	--dm-white: #FFFFFF;
	--dm-border: #EADBD3;
	--dm-line: #F0E4DE;
	--dm-footer: #1A0E11;
	--dm-gradient: linear-gradient(135deg, #E8435F 0%, #D00030 55%, #A30026 100%);
	--dm-shadow-sm: 0 2px 8px rgba(36, 22, 26, .06);
	--dm-shadow-md: 0 12px 30px rgba(36, 22, 26, .09);
	--dm-shadow-lg: 0 24px 54px rgba(36, 22, 26, .14);
	--dm-radius: 16px;
	--dm-radius-lg: 24px;
	--dm-container: 1200px;
	--dm-serif: "Noto Serif", Cambria, "Times New Roman", Times, serif;
}

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

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

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

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

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

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

.dm-main a {
	color: var(--dm-red-text);
}

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

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

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

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

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

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

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

:focus-visible {
	outline: 3px solid rgba(208, 0, 48, .4);
	outline-offset: 2px;
}

/* ---- Buttons (KHAI BAO DU background/color/border vi GeneratePress style button mac dinh) ---- */
.dm-btn,
.dm-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;
}

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

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

.dm-btn--light,
.dm-btn--light:visited {
	background: #fff;
	color: var(--dm-red-text);
	box-shadow: 0 10px 22px rgba(36, 22, 26, .2);
}

.dm-btn--light:hover,
.dm-btn--light:focus {
	background: var(--dm-bg-soft);
	color: var(--dm-primary-dark);
}

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

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

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

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

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

.dm-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: dm-spin .7s linear infinite;
}

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

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

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

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

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

.dm-header__sitename {
	font-family: var(--dm-serif);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--dm-primary);
	white-space: nowrap;
}

.dm-header__brand:hover .dm-header__sitename {
	color: var(--dm-primary-dark);
}

.dm-nav {
	flex: 1;
}

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

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

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

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

/* Active: gach do son duoi chu */
.dm-nav__link--active,
.dm-nav__link--active:visited {
	color: var(--dm-red-text);
	pointer-events: none;
}

.dm-nav__link--active::after {
	content: "";
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 4px;
	height: 3px;
	border-radius: 2px;
	background: var(--dm-primary);
}

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

.dm-header__toggle {
	display: none;
}

.dm-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 998;
	background: rgba(26, 14, 17, .55);
}

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

/* ==========================================================================
   4. HERO (GIU khuon CLAUDE-TEMPLATE: 2 cot 1.1fr / 0.8fr)
   ========================================================================== */
.dm-hero {
	position: relative;
	padding: 56px 0 132px;
	background:
		radial-gradient(560px 380px at 96% 0%, rgba(208, 0, 48, .09), transparent 70%),
		radial-gradient(420px 300px at 0% 100%, rgba(226, 167, 46, .08), transparent 70%),
		linear-gradient(180deg, var(--dm-bg-soft) 0%, #fff 100%);
}

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

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

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

.dm-hero__art {
	max-width: 430px;
	margin: 24px 0 0;
}

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

.dm-hero__lantern {
	transform-box: view-box;
	transform-origin: 398px 0;
	animation: dm-sway 5s ease-in-out infinite;
}

@keyframes dm-sway {
	0%,
	100% {
		transform: rotate(-2.5deg);
	}
	50% {
		transform: rotate(2.5deg);
	}
}

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

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

.dm-main .dm-calc__title {
	margin: 0 0 14px;
	font-family: var(--dm-serif);
	font-size: 21px;
	font-weight: 700;
	color: var(--dm-navy);
}

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

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

.dm-calc__amount {
	font-family: var(--dm-serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--dm-primary);
	font-variant-numeric: tabular-nums;
}

.dm-calc__range {
	--dm-fill: 21%;
	display: block;
	width: 100%;
	height: 30px;
	margin: 10px 0 4px;
	padding: 0;
	border: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

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

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

.dm-calc__range::-webkit-slider-thumb {
	width: 28px;
	height: 28px;
	margin-top: -10px;
	border: 7px solid var(--dm-primary);
	border-radius: 50%;
	background: var(--dm-gold-soft);
	box-shadow: 0 3px 10px rgba(36, 22, 26, .3);
	-webkit-appearance: none;
	appearance: none;
}

.dm-calc__range::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 7px solid var(--dm-primary);
	border-radius: 50%;
	background: var(--dm-gold-soft);
	box-shadow: 0 3px 10px rgba(36, 22, 26, .3);
}

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

.dm-main .dm-calc__note {
	margin: 10px 0 0;
	padding: 9px 12px;
	border-radius: 10px;
	background: var(--dm-gold-soft);
	color: var(--dm-gold-text);
	font-size: 13.5px;
	line-height: 1.5;
}

.dm-main .dm-calc__note[hidden] {
	display: none;
}

.dm-main .dm-calc__rows {
	margin: 18px 0 16px;
	padding: 0;
}

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

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

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

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

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

.dm-main .dm-calc__row--total dd {
	font-family: var(--dm-serif);
	font-size: 21px;
	color: var(--dm-primary);
}

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

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

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

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

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

.dm-stats__value {
	font-family: var(--dm-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--dm-primary);
}

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

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

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

.dm-section--blush {
	background: var(--dm-bg-blush);
}

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

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

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

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

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

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

/* ==========================================================================
   6. SIGNATURE "THAN RONG 4 GIO" (16 vay, moi vay 15 phut)
   ========================================================================== */
.dm-dragon {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	gap: 48px;
	align-items: center;
}

.dm-dragon__legend {
	display: grid;
	gap: 14px;
	margin-top: 26px !important;
	list-style: none;
}

.dm-dragon__key {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 12px;
	align-items: start;
	font-size: 16px;
	line-height: 1.55;
}

.dm-dragon__key strong {
	color: var(--dm-navy);
}

.dm-dragon__swatch {
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
	margin-top: -1px;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(36, 22, 26, .18);
	box-sizing: border-box;
}

.dm-dragon__swatch--red {
	background: var(--dm-primary);
}

.dm-dragon__swatch--gold {
	background: var(--dm-gold);
}

.dm-dragon__swatch--eye {
	background: radial-gradient(ellipse 3px 9px at 50% 50%, #fff 98%, transparent 100%), radial-gradient(ellipse 7px 11px at 50% 50%, var(--dm-primary) 98%, #fff 100%);
	border-color: var(--dm-primary);
}

.dm-dragon__stage {
	margin: 0;
}

.dm-dragon__card {
	padding: 0 0 10px;
	border: 1px solid var(--dm-border);
	border-radius: var(--dm-radius-lg);
	background: #fff;
	box-shadow: var(--dm-shadow-md);
	overflow: hidden;
}

/* Dai trang thai TINH dau the (khong absolute, khong phu len SVG) */
.dm-main .dm-dragon__status {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 13px 20px;
	border-bottom: 1px solid var(--dm-line);
	background: var(--dm-bg-soft);
	font-size: 15px;
	font-weight: 700;
	color: var(--dm-navy);
}

.dm-dragon__dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--dm-gold);
	box-shadow: 0 0 0 4px rgba(226, 167, 46, .22);
}

.dm-dragon.is-running .dm-dragon__dot {
	background: var(--dm-primary);
	box-shadow: 0 0 0 4px rgba(208, 0, 48, .18);
	animation: dm-pulse 1s ease-in-out infinite;
}

@keyframes dm-pulse {
	50% {
		box-shadow: 0 0 0 7px rgba(208, 0, 48, .08);
	}
}

.dm-dragon__status-text {
	flex: 1;
	min-width: 0;
}

.dm-dragon__clock {
	flex: none;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--dm-navy);
	color: #fff;
	font-family: var(--dm-serif);
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}

.dm-dragon__svg {
	display: block;
	width: 100%;
	height: auto;
	padding: 6px 10px 0;
	box-sizing: border-box;
}

/* Vay: mac dinh (khong JS) = da sang du mau */
.dm-dragon__scale--red .dm-dragon__disc {
	fill: var(--dm-primary);
	stroke: #fff;
	stroke-width: 3;
}

.dm-dragon__scale--red .dm-dragon__fin {
	fill: var(--dm-primary-dark);
}

.dm-dragon__scale--red .dm-dragon__shine {
	stroke: rgba(255, 255, 255, .45);
}

.dm-dragon__scale--gold .dm-dragon__disc {
	fill: var(--dm-gold);
	stroke: #fff;
	stroke-width: 3;
}

.dm-dragon__scale--gold .dm-dragon__fin {
	fill: #B8841C;
}

.dm-dragon__scale--gold .dm-dragon__shine {
	stroke: rgba(255, 255, 255, .6);
}

.dm-dragon__disc,
.dm-dragon__fin,
.dm-dragon__shine {
	transition: fill .35s ease, stroke .35s ease;
}

.dm-dragon__eye {
	transform-box: fill-box;
	transform-origin: center;
	transition: transform .5s cubic-bezier(.3, 1.4, .5, 1);
}

/* JS: .is-armed tat het, roi .is-lit sang lan luot */
.dm-dragon.is-armed .dm-dragon__scale:not(.is-lit) .dm-dragon__disc {
	fill: #F6ECE6;
	stroke: #E6D3CA;
	stroke-width: 2;
}

.dm-dragon.is-armed .dm-dragon__scale:not(.is-lit) .dm-dragon__fin {
	fill: #EADBD3;
}

.dm-dragon.is-armed .dm-dragon__scale:not(.is-lit) .dm-dragon__shine {
	stroke: transparent;
}

.dm-dragon.is-armed:not(.is-done) .dm-dragon__eye {
	transform: scaleY(.08);
}

.dm-main .dm-dragon__caption {
	margin: 12px 4px 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--dm-muted);
}

/* ==========================================================================
   7. QUY TRINH "NAM BUC TRANH TREO"
   ========================================================================== */
.dm-scrolls__list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
	list-style: none;
}

.dm-scrolls__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.dm-scrolls__rod {
	position: relative;
	z-index: 1;
	display: block;
	height: 12px;
	margin: 0 -8px;
	border-radius: 999px;
	background: linear-gradient(180deg, #F0C55F 0%, var(--dm-gold) 55%, #B8841C 100%);
	box-shadow: 0 3px 6px rgba(36, 22, 26, .16);
}

.dm-scrolls__rod::before,
.dm-scrolls__rod::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border-radius: 50%;
	background: var(--dm-primary-dark);
}

.dm-scrolls__rod::before {
	left: -6px;
}

.dm-scrolls__rod::after {
	right: -6px;
}

.dm-scrolls__rod--bottom {
	margin-top: -2px;
}

.dm-scrolls__paper {
	flex: 1;
	margin-top: -2px;
	padding: 30px 20px 28px;
	border: 1px solid var(--dm-border);
	border-top: 0;
	border-bottom: 0;
	background:
		linear-gradient(180deg, rgba(226, 167, 46, .08), transparent 40%),
		var(--dm-bg-soft);
	text-align: center;
}

.dm-scrolls__seal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 8px;
	background: var(--dm-primary);
	color: #fff;
	font-family: var(--dm-serif);
	font-size: 26px;
	font-weight: 700;
	box-shadow: inset 0 0 0 3px var(--dm-primary), inset 0 0 0 5px rgba(255, 255, 255, .55);
	transform: rotate(-4deg);
}

.dm-main .dm-scrolls__title {
	font-family: var(--dm-serif);
	font-size: 19px;
	line-height: 1.35;
}

.dm-main .dm-scrolls__chip {
	display: inline-block;
	margin: 10px 0 0;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--dm-gold-soft);
	color: var(--dm-gold-text);
	font-size: 14px;
	font-weight: 800;
}

.dm-main .dm-scrolls__desc {
	margin: 12px 0 0;
	font-size: 15.5px;
	line-height: 1.65;
}

/* hien dan khi cuon (JS them .is-armed roi .is-in) */
.dm-scrolls__list.is-armed .dm-scrolls__item {
	opacity: 0;
	transform: translateY(-14px);
	transition: opacity .5s ease, transform .5s ease;
}

.dm-scrolls__list.is-armed .dm-scrolls__item.is-in {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   8. KHOAN VAY "KHE UOC CO DAU SON"
   ========================================================================== */
.dm-deed__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 32px;
	align-items: start;
}

.dm-deed__sheet {
	position: relative;
	padding: 34px 34px 26px;
	border: 1px solid var(--dm-border);
	border-radius: 10px;
	background: #FFFDF8;
	box-shadow: var(--dm-shadow-md), inset 0 0 0 8px #FFFDF8, inset 0 0 0 9.5px var(--dm-gold), inset 0 0 0 13px #FFFDF8, inset 0 0 0 14px rgba(226, 167, 46, .55);
}

.dm-main .dm-deed__sheet-title {
	margin: 0 0 18px;
	padding: 6px 104px 14px 0;
	border-bottom: 2px solid var(--dm-navy);
	font-family: var(--dm-serif);
	font-size: 21px;
	font-weight: 700;
	color: var(--dm-navy);
}

.dm-main .dm-deed__list {
	margin: 0;
}

.dm-deed__row {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid var(--dm-line);
	font-size: 16px;
	line-height: 1.5;
}

.dm-deed__row:last-child {
	border-bottom: 0;
}

.dm-deed__row dt {
	color: var(--dm-muted);
}

.dm-main .dm-deed__row dd {
	margin: 0;
	font-weight: 700;
	color: var(--dm-navy);
}

.dm-deed__stamp {
	position: absolute;
	top: 22px;
	right: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border: 3px solid rgba(208, 0, 48, .72);
	border-radius: 50%;
	color: rgba(208, 0, 48, .78);
	font-family: var(--dm-serif);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .02em;
	box-shadow: inset 0 0 0 4px #FFFDF8, inset 0 0 0 5.5px rgba(208, 0, 48, .55);
	transform: rotate(-14deg);
	pointer-events: none;
}

.dm-deed__side {
	display: grid;
	gap: 20px;
}

.dm-example {
	padding: 28px 28px 24px;
	border-radius: var(--dm-radius-lg);
	background: var(--dm-navy);
	color: #E9DCDF;
	box-shadow: var(--dm-shadow-lg);
}

.dm-main .dm-example__kicker {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dm-gold);
}

.dm-main .dm-example__loan {
	margin: 0 0 14px;
	font-size: 17px;
	color: #fff;
}

.dm-example__loan span {
	font-family: var(--dm-serif);
	font-size: 30px;
	font-weight: 700;
}

.dm-main .dm-example__rows {
	margin: 0;
}

.dm-example__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed rgba(233, 220, 223, .22);
	font-size: 15.5px;
}

.dm-main .dm-example__row dd {
	margin: 0;
	font-weight: 700;
	color: #fff;
	text-align: right;
}

.dm-example__row--total {
	border-bottom: 0;
}

.dm-main .dm-example__row--total dd {
	font-family: var(--dm-serif);
	font-size: 22px;
	color: var(--dm-gold);
}

.dm-main .dm-example__formula,
.dm-main .dm-example__late {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #CDBCC0;
}

.dm-main .dm-example__late strong {
	color: #fff;
}

/* ---- Hop rui ro ---- */
.dm-risk {
	padding: 20px 22px;
	border: 1px solid rgba(208, 0, 48, .25);
	border-left: 5px solid var(--dm-primary);
	border-radius: 14px;
	background: #fff;
}

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

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

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

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

/* ==========================================================================
   9. DIEU KIEN "BO HO SO CO CHU THICH"
   ========================================================================== */
.dm-kit {
	display: grid;
	grid-template-columns: .95fr 1.05fr;
	gap: 48px;
	align-items: center;
}

.dm-kit__list {
	display: grid;
	gap: 10px;
	margin: 26px 0 28px !important;
	list-style: none;
}

.dm-kit__item {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 14px;
	align-items: start;
	padding: 12px 0;
	border-bottom: 1px solid var(--dm-line);
}

.dm-kit__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 2.5px solid #fff;
	border-radius: 50%;
	background: var(--dm-primary);
	color: #fff;
	font-weight: 800;
	box-shadow: 0 2px 6px rgba(208, 0, 48, .3);
}

.dm-kit__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dm-kit__label {
	font-size: 16.5px;
	color: var(--dm-navy);
}

.dm-kit__value {
	font-size: 15.5px;
	line-height: 1.55;
}

.dm-kit__art {
	max-width: 560px;
	justify-self: end;
	width: 100%;
}

.dm-kit__svg {
	display: block;
	width: 100%;
	height: auto;
}

.dm-kit__pin-body {
	transform-box: fill-box;
	transform-origin: center;
	transition: transform .4s cubic-bezier(.3, 1.5, .5, 1), opacity .3s ease;
}

.dm-kit.is-armed .dm-kit__pin:not(.is-in) .dm-kit__pin-body {
	opacity: 0;
	transform: scale(.2);
}

/* ==========================================================================
   10. UU DIEM "SAU DONG DANH SO SERIF"
   ========================================================================== */
.dm-merits {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 56px;
	list-style: none;
	border-top: 2px solid var(--dm-navy);
}

.dm-merits__item {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 18px;
	align-items: start;
	padding: 26px 0;
	border-bottom: 1px solid var(--dm-border);
}

.dm-merits__num {
	font-family: var(--dm-serif);
	font-size: 46px;
	font-weight: 700;
	line-height: .95;
	color: var(--dm-primary);
	font-variant-numeric: lining-nums;
}

.dm-main .dm-merits__title {
	font-family: var(--dm-serif);
	font-size: 20px;
	line-height: 1.35;
}

.dm-main .dm-merits__desc {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.65;
}

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

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

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

/* So H2 trong con dau son vuong */
.dm-main .dm-seo__inner h2::before {
	content: counter(dmh2, decimal-leading-zero);
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -3px;
	border-radius: 6px;
	background: var(--dm-primary);
	color: #fff;
	font-family: var(--dm-serif);
	font-size: 17px;
	font-weight: 700;
	box-shadow: inset 0 0 0 3px var(--dm-primary), inset 0 0 0 4.5px rgba(255, 255, 255, .55);
	transform: rotate(-4deg);
}

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

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

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

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

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

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

.dm-main .dm-seo__formula {
	margin: 0 0 1em;
	padding: 14px 18px;
	border-left: 4px solid var(--dm-primary);
	border-radius: 0 12px 12px 0;
	background: var(--dm-bg-soft);
	font-family: var(--dm-serif);
	font-size: 17.5px;
	color: var(--dm-navy);
}

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

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

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

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

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

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

.dm-table-wrap td:first-child {
	font-weight: 600;
	color: var(--dm-navy);
}

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

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

/* ==========================================================================
   12. TRANG CON
   ========================================================================== */
.dm-page-hero {
	padding: 44px 0 56px;
	background:
		radial-gradient(480px 300px at 92% 0%, rgba(208, 0, 48, .08), transparent 70%),
		linear-gradient(180deg, var(--dm-bg-soft) 0%, #fff 100%);
	text-align: center;
}

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

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

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

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

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

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

.dm-main .dm-breadcrumbs__link {
	color: var(--dm-red-text);
	font-weight: 600;
	text-decoration: none;
}

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

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

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

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

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

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

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

.dm-prose li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .55em;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--dm-primary);
	transform: rotate(45deg);
}

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

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

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

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

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

.dm-main .dm-company__name {
	font-family: var(--dm-serif);
	font-size: 20px;
	line-height: 1.35;
}

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

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

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

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

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

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

.dm-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border-radius: 8px;
	background: var(--dm-primary);
	color: #fff;
	font-size: 22px;
	box-shadow: inset 0 0 0 3px var(--dm-primary), inset 0 0 0 4.5px rgba(255, 255, 255, .5);
}

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

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

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

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

.dm-main a.dm-contact__value:hover {
	color: var(--dm-red-text);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dm-faq__btn,
.dm-faq__btn:hover,
.dm-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(--dm-navy);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

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

.dm-faq__icon {
	position: relative;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--dm-bg-blush);
}

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

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

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

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

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

/* ---- Van ban dai (quyen rieng tu, dieu khoan) ---- */
.dm-doc {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 40px;
	align-items: start;
}

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

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

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

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

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

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

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

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

/* hoa van vay rong mo goc phai */
.dm-cta::before {
	content: "";
	position: absolute;
	top: -20px;
	right: 180px;
	width: 260px;
	height: 160px;
	background: radial-gradient(circle at 50% 100%, transparent 15px, rgba(255, 255, 255, .1) 16px, rgba(255, 255, 255, .1) 18px, transparent 19px) 0 0 / 40px 22px;
	opacity: .9;
}

.dm-cta__body {
	position: relative;
}

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

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

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

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

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

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

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

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.dm-footer {
	position: relative;
	padding: 64px 0 28px;
	border-top: 3px solid var(--dm-gold);
	background: var(--dm-footer);
	color: #CDBCC0;
	overflow: hidden;
}

/* hoa van vay rong mo, chi goc phai tren */
.dm-footer::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 360px;
	height: 200px;
	background: radial-gradient(circle at 50% 100%, transparent 17px, rgba(226, 167, 46, .12) 18px, rgba(226, 167, 46, .12) 20px, transparent 21px) 0 0 / 44px 24px;
	-webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 70%);
	mask-image: linear-gradient(225deg, #000 0%, transparent 70%);
	pointer-events: none;
}

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

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

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

.dm-footer__logo {
	display: block;
	width: 42px;
	height: 42px;
	border-radius: 9px;
}

.dm-footer__sitename {
	font-family: var(--dm-serif);
	font-size: 22px;
	font-weight: 700;
}

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

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

.dm-footer a {
	color: #F7E3B5;
}

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

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

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

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

.dm-footer__hotline,
.dm-footer__hotline:visited {
	display: inline-block;
	font-family: var(--dm-serif);
	font-size: 25px;
	font-weight: 700;
	color: var(--dm-gold);
	text-decoration: none;
}

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

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

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

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

.dm-footer__copy {
	margin: 10px 0 0;
	color: #A3939A;
}

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

@media (max-width: 1100px) {
	.dm-scrolls__list {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 28px;
	}
}

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

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

	.dm-hero__visual {
		display: contents;
	}

	.dm-hero__title {
		order: 1;
	}

	.dm-hero__desc {
		order: 2;
	}

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

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

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

	.dm-dragon,
	.dm-kit {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.dm-kit__art {
		justify-self: center;
	}

	.dm-deed__grid,
	.dm-split {
		grid-template-columns: 1fr;
	}

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

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

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

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

	.dm-merits {
		grid-template-columns: 1fr;
	}

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

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

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

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

	.dm-header__sitename {
		font-size: 20px;
	}

	.dm-header__cta {
		display: none;
	}

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

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

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

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

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

	.dm-header__toggle-bar::before {
		top: -6.5px;
		background: var(--dm-primary);
	}

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

	.dm-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(--dm-shadow-lg);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility .3s;
		overflow-y: auto;
		box-sizing: border-box;
	}

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

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

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

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

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

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

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

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

	.dm-nav__link--active {
		background: var(--dm-bg-blush);
	}

	.dm-nav__link--active::after {
		left: 0;
		right: auto;
		top: 12px;
		bottom: 12px;
		width: 4px;
		height: auto;
	}

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

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

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

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

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

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

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

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

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

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

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

	.dm-main .dm-dragon__status {
		padding: 11px 14px;
		font-size: 14px;
	}

	.dm-dragon__svg {
		padding: 4px 2px 0;
	}

	.dm-scrolls__list {
		grid-template-columns: 1fr;
		row-gap: 14px;
	}

	.dm-scrolls__item {
		flex-direction: row;
	}

	.dm-scrolls__rod {
		width: 12px;
		height: auto;
		margin: -8px 0;
		background: linear-gradient(90deg, #F0C55F 0%, var(--dm-gold) 55%, #B8841C 100%);
	}

	.dm-scrolls__rod::before,
	.dm-scrolls__rod::after {
		left: 50%;
		margin: 0 0 0 -7px;
	}

	.dm-scrolls__rod::before {
		top: -6px;
	}

	.dm-scrolls__rod::after {
		top: auto;
		right: auto;
		bottom: -6px;
	}

	.dm-scrolls__rod--bottom {
		margin-top: -8px;
		margin-left: -2px;
	}

	.dm-scrolls__paper {
		display: grid;
		grid-template-columns: 52px 1fr;
		column-gap: 16px;
		margin: 0 0 0 -2px;
		padding: 20px 18px;
		border: 1px solid var(--dm-border);
		border-left: 0;
		border-right: 0;
		text-align: left;
	}

	.dm-scrolls__seal {
		grid-row: 1 / span 3;
		margin-bottom: 0;
	}

	.dm-main .dm-scrolls__chip {
		justify-self: start;
		margin-top: 6px;
	}

	.dm-main .dm-scrolls__desc {
		margin-top: 6px;
	}

	.dm-scrolls__list.is-armed .dm-scrolls__item {
		transform: translateX(-14px);
	}

	.dm-deed__sheet {
		padding: 26px 20px 18px;
	}

	.dm-deed__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.dm-deed__stamp {
		top: 18px;
		right: 14px;
		width: 76px;
		height: 76px;
		font-size: 11px;
	}

	.dm-main .dm-deed__sheet-title {
		padding-right: 84px;
		font-size: 19px;
	}

	.dm-example {
		padding: 24px 20px;
	}

	.dm-merits__item {
		grid-template-columns: 56px 1fr;
		gap: 12px;
		padding: 22px 0;
	}

	.dm-merits__num {
		font-size: 36px;
	}

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

	.dm-main .dm-seo__inner h2::before {
		width: 34px;
		height: 34px;
		font-size: 15px;
	}

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

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

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

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

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

	.dm-cta::before {
		right: -60px;
	}

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

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

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

	.dm-footer::before {
		width: 220px;
		height: 130px;
	}

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

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

@media (max-width: 480px) {
	.dm-calc__amount {
		font-size: 26px;
	}

	.dm-calc__row dt {
		font-size: 14.5px;
	}

	.dm-stats__value {
		font-size: 19px;
	}
}

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

	.dm-hero__lantern {
		animation: none;
	}
}
