/*
 Theme Name:   GeneratePress Child – Quick Quang
 Theme URI:    http://quickquang.localhost/
 Description:  Child theme Quick Quang (concept "Đồng xu luân chuyển"). Toàn bộ CSS nằm trong file này.
 Author:       Quick Quang
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  quickquang
*/

/* ==========================================================================
   1. VARIABLES (mau do PIL tu logo.png)
   ========================================================================== */
:root {
	--qq-teal: #01968E;
	--qq-primary: #007A71;
	--qq-primary-dark: #00615A;
	--qq-teal-text: #006D65;
	--qq-teal-soft: #D5EFEA;
	--qq-mint: #3DB9AE;
	--qq-mint-light: #6ED3C9;
	--qq-orange: #FAA601;
	--qq-orange-deep: #E88F00;
	--qq-orange-text: #8A5200;
	--qq-yellow: #FEDD02;
	--qq-ink: #082B29;
	--qq-text: #3F5553;
	--qq-muted: #5E716F;
	--qq-cream: #FFF7DC;
	--qq-soft: #E8F6F3;
	--qq-white: #FFFFFF;
	--qq-border: #CFE7E2;
	--qq-line: #E3EFEC;
	--qq-footer: #05201E;
	--qq-gradient: linear-gradient(135deg, #3DB9AE 0%, #01968E 55%, #007A71 100%);
	--qq-coin: radial-gradient(circle at 36% 30%, #FFC646 0%, #FAA601 58%, #E88F00 100%);
	--qq-shadow-sm: 0 2px 8px rgba(8, 43, 41, .06);
	--qq-shadow-md: 0 10px 28px rgba(8, 43, 41, .09);
	--qq-shadow-lg: 0 22px 48px rgba(8, 43, 41, .14);
	--qq-radius: 20px;
	--qq-radius-lg: 28px;
	--qq-container: 1180px;
}

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

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

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

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

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

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

.qq-main a {
	color: var(--qq-teal-text);
}

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

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

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

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

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

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

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

:focus-visible {
	outline: 3px solid rgba(0, 122, 113, .45);
	outline-offset: 2px;
}

.qq-center {
	margin-top: 40px;
	text-align: center;
}

/* ---- Buttons (KHAI BAO DU background/color/border vi GeneratePress style button mac dinh) ---- */
.qq-btn,
.qq-btn:visited {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 0;
	border-radius: 999px;
	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;
}

.qq-btn--primary,
.qq-btn--primary:visited {
	background: var(--qq-primary);
	color: #fff;
	box-shadow: 0 8px 20px rgba(0, 122, 113, .26);
}

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

.qq-btn--light,
.qq-btn--light:visited {
	background: #fff;
	color: var(--qq-primary);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.qq-btn--light:hover,
.qq-btn--light:focus {
	background: var(--qq-cream);
	color: var(--qq-primary-dark);
}

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

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

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

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

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

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

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

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

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

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

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

.qq-header__sitename {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--qq-ink);
	white-space: nowrap;
}

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

.qq-nav {
	flex: 1;
}

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

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

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

.qq-nav__link:hover,
.qq-nav__link:focus {
	color: var(--qq-primary);
	background: var(--qq-soft);
}

/* Active: dong xu cam nho duoi chu (motif logo) */
.qq-nav__link--active,
.qq-nav__link--active:visited {
	color: var(--qq-primary);
	pointer-events: none;
}

.qq-nav__link--active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 1px;
	width: 7px;
	height: 7px;
	margin-left: -3.5px;
	border-radius: 50%;
	background: var(--qq-orange);
	box-shadow: 0 0 0 2px var(--qq-yellow);
}

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

.qq-header__toggle {
	display: none;
}

.qq-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 998;
	background: rgba(5, 32, 30, .5);
}

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

/* ==========================================================================
   4. HERO (GIU khuon CLAUDE-TEMPLATE: 2 cot 1.1fr / 0.8fr)
   ========================================================================== */
.qq-hero {
	position: relative;
	padding: 56px 0 132px;
	background:
		radial-gradient(520px 360px at 94% 4%, rgba(61, 185, 174, .16), transparent 70%),
		radial-gradient(440px 320px at 8% 96%, rgba(250, 166, 1, .13), transparent 70%),
		linear-gradient(180deg, #F3FBF9 0%, #fff 100%);
}

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

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

.qq-hero__desc {
	max-width: 58ch;
	margin: 16px 0 0;
	font-size: 17px;
	color: var(--qq-text);
}

.qq-hero__art {
	position: relative;
	max-width: 420px;
	margin-top: 22px;
}

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

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

/* ---- Widget uoc tinh ---- */
.qq-calc {
	width: 100%;
	max-width: 500px;
	padding: 28px;
	border: 1px solid var(--qq-border);
	border-radius: var(--qq-radius-lg);
	background: #fff;
	box-shadow: var(--qq-shadow-lg);
	box-sizing: border-box;
}

.qq-main .qq-calc__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 19px;
	font-weight: 800;
	color: var(--qq-ink);
}

.qq-main .qq-calc__title::before {
	content: "đ";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--qq-coin);
	box-shadow: 0 0 0 3px var(--qq-yellow);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
}

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

.qq-main .qq-calc__label {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--qq-muted);
}

.qq-calc__amount {
	font-size: 28px;
	font-weight: 800;
	color: var(--qq-teal-text);
	font-variant-numeric: tabular-nums;
}

.qq-calc__range {
	--qq-fill: 17%;
	display: block;
	width: 100%;
	height: 28px;
	margin: 10px 0 4px;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.qq-calc__range::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--qq-mint) 0, var(--qq-teal) var(--qq-fill), #E1EEEB var(--qq-fill));
}

.qq-calc__range::-moz-range-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--qq-mint) 0, var(--qq-teal) var(--qq-fill), #E1EEEB var(--qq-fill));
}

.qq-calc__range::-webkit-slider-thumb {
	width: 28px;
	height: 28px;
	margin-top: -10px;
	border: 5px solid var(--qq-yellow);
	border-radius: 50%;
	background: var(--qq-orange);
	box-shadow: 0 2px 10px rgba(232, 143, 0, .45);
	-webkit-appearance: none;
	appearance: none;
}

.qq-calc__range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 5px solid var(--qq-yellow);
	border-radius: 50%;
	background: var(--qq-orange);
	box-shadow: 0 2px 10px rgba(232, 143, 0, .45);
}

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

.qq-main .qq-calc__rows {
	margin: 18px 0 14px;
	padding: 0;
}

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

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

.qq-main .qq-calc__row dd {
	margin: 0;
	font-weight: 700;
	color: var(--qq-ink);
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.qq-calc__row--total {
	margin-top: 10px;
	padding: 11px 14px;
	border: 0;
	border-radius: 14px;
	background: var(--qq-soft);
}

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

.qq-main .qq-calc__row--total dd {
	font-size: 24px;
	font-weight: 800;
	color: var(--qq-teal-text);
}

.qq-main .qq-calc__note {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--qq-muted);
}

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

.qq-main .qq-calc__hint a {
	text-decoration: none;
	font-weight: 600;
}

/* ---- Stats bar (chi tablet / mobile) ---- */
.qq-stats-wrap {
	position: relative;
	margin-top: -16px;
}

.qq-main .qq-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	padding: 16px;
	border: 1px solid var(--qq-border);
	border-radius: var(--qq-radius);
	background: #fff;
	box-shadow: var(--qq-shadow-md);
	list-style: none;
}

.qq-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.qq-stats__value {
	font-size: 18px;
	font-weight: 800;
	color: var(--qq-teal-text);
}

.qq-stats__label {
	font-size: 13px;
	color: var(--qq-muted);
}

@media (min-width: 1025px) {
	.qq-stats-wrap {
		display: none;
	}
}

/* ---- Bang trong noi dung ---- */
.qq-main .qq-table-wrap {
	margin: 18px 0 22px;
	overflow-x: auto;
	border: 1px solid var(--qq-border);
	border-radius: var(--qq-radius);
	background: #fff;
}

.qq-main .qq-table-wrap table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15.5px;
	line-height: 1.55;
}

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

.qq-main .qq-table-wrap thead th {
	background: var(--qq-soft);
	color: var(--qq-ink);
	font-weight: 800;
}

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

/* ==========================================================================
   5. SECTIONS
   ========================================================================== */
.qq-section {
	padding: 80px 0;
}

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

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

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

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

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

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

.qq-main .qq-section__title {
	font-size: clamp(21px, 2.8vw, 28px);
	line-height: 1.3;
}

.qq-main .qq-section__desc {
	margin: 12px 0 0;
	font-size: 16.5px;
	color: var(--qq-text);
}

/* ==========================================================================
   6. SIGNATURE: DONG XU HAI MAT (lat 3D)
   ========================================================================== */
.qq-coin {
	display: grid;
	grid-template-columns: .95fr 1.05fr;
	gap: 56px;
	align-items: center;
}

.qq-coin__stage {
	position: relative;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	perspective: 1200px;
	color: var(--qq-teal);
}

/* Hai mui ten cung quanh xu (nhu logo): quay nua vong moi lan lat. 180deg giu nguyen hop bao. */
.qq-coin__arrows {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transition: transform .9s cubic-bezier(.45, .05, .25, 1);
}

.qq-coin.is-back .qq-coin__arrows {
	transform: rotate(180deg);
}

.qq-coin__flip {
	position: absolute;
	inset: 15%;
	transform-style: preserve-3d;
	transition: transform .9s cubic-bezier(.45, .05, .25, 1);
}

.qq-coin.is-back .qq-coin__flip {
	transform: rotateY(180deg);
}

.qq-coin__face {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	text-align: center;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	box-sizing: border-box;
}

.qq-coin__face--front {
	background: var(--qq-coin);
	box-shadow: inset 0 0 0 12px var(--qq-yellow), inset 0 -10px 0 12px rgba(198, 120, 0, .25), 0 18px 34px rgba(232, 143, 0, .28);
	color: #fff;
}

.qq-coin__face--back {
	background: radial-gradient(circle at 36% 30%, #2FB3A7 0%, #01968E 58%, #007A71 100%);
	box-shadow: inset 0 0 0 12px var(--qq-mint-light), inset 0 -10px 0 12px rgba(0, 80, 74, .3), 0 18px 34px rgba(0, 122, 113, .28);
	color: #fff;
	transform: rotateY(180deg);
}

.qq-coin__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	color: #fff;
}

.qq-coin__ring-text {
	fill: #fff;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .14em;
	opacity: .92;
}

.qq-coin__mark {
	position: relative;
	display: block;
	font-size: clamp(54px, 7vw, 76px);
	font-weight: 800;
	line-height: .9;
}

.qq-coin__mark::after {
	content: "";
	display: block;
	width: 52%;
	height: 6px;
	margin: 4px auto 0;
	border-radius: 2px;
	background: currentColor;
}

.qq-coin__big {
	position: relative;
	display: block;
	margin-top: 8px;
	font-size: clamp(26px, 3.2vw, 34px);
	font-weight: 800;
	line-height: 1.1;
}

.qq-coin__small {
	position: relative;
	display: block;
	margin-top: 4px;
	font-size: 14.5px;
	font-weight: 700;
	opacity: .95;
}

.qq-coin__shadow {
	position: absolute;
	left: 26%;
	right: 26%;
	bottom: 2%;
	height: 16px;
	border-radius: 50%;
	background: rgba(8, 43, 41, .14);
	transition: transform .9s cubic-bezier(.45, .05, .25, 1);
}

.qq-coin.is-flipping .qq-coin__shadow {
	transform: scaleX(.55);
}

.qq-main .qq-coin__sides {
	display: grid;
	gap: 14px;
	margin-top: 26px;
	list-style: none;
}

.qq-coin__side,
.qq-coin__side:hover,
.qq-coin__side:focus {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	padding: 18px 20px;
	border: 2px solid transparent;
	border-radius: var(--qq-radius);
	background: #fff;
	box-shadow: var(--qq-shadow-sm);
	color: var(--qq-text);
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.qq-coin__side:hover {
	box-shadow: var(--qq-shadow-md);
}

.qq-coin__side.is-active {
	border-color: var(--qq-orange);
}

.qq-coin__side[data-face="back"].is-active {
	border-color: var(--qq-teal);
}

.qq-coin__side-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--qq-coin);
	box-shadow: 0 0 0 3px var(--qq-yellow);
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	flex: none;
}

.qq-coin__side[data-face="back"] .qq-coin__side-num {
	background: var(--qq-teal);
	box-shadow: 0 0 0 3px var(--qq-mint-light);
}

.qq-coin__side-body {
	display: grid;
	gap: 2px;
}

.qq-coin__side-label {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--qq-muted);
}

.qq-coin__side-value {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--qq-orange-text);
}

.qq-coin__side[data-face="back"] .qq-coin__side-value {
	color: var(--qq-teal-text);
}

.qq-main .qq-coin__caption {
	margin: 18px 0 0;
	font-size: 14px;
	color: var(--qq-muted);
}

/* ==========================================================================
   7. QUY TRINH: 4 CHANG NOI BANG MUI TEN CUNG
   ========================================================================== */
.qq-main .qq-flow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 56px;
	list-style: none;
	counter-reset: none;
}

.qq-flow__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.qq-flow__badge {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 3px solid var(--qq-teal);
	border-radius: 24px;
	background: #fff;
	color: var(--qq-teal);
	box-shadow: 0 8px 18px rgba(1, 150, 142, .14);
	box-sizing: border-box;
}

.qq-flow__badge .qq-icon {
	width: 32px;
	height: 32px;
}

.qq-flow__num {
	position: absolute;
	top: -12px;
	right: -12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--qq-coin);
	box-shadow: 0 0 0 3px var(--qq-yellow);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.qq-main .qq-flow__title {
	margin: 20px 0 8px;
	font-size: 18.5px;
	line-height: 1.35;
}

.qq-main .qq-flow__desc {
	margin: 0 0 14px;
	font-size: 15.5px;
	line-height: 1.6;
}

.qq-main .qq-flow__chip {
	margin: auto 0 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--qq-soft);
	color: var(--qq-teal-text);
	font-size: 13.5px;
	font-weight: 700;
}

.qq-flow__item:nth-child(3) .qq-flow__chip,
.qq-flow__item:nth-child(4) .qq-flow__chip {
	background: #FFEFC2;
	color: var(--qq-orange-text);
}

/* Mui ten cung giua 2 chang (hinh vuong -> lat / xoay khong doi hop bao) */
.qq-flow__arrow {
	position: absolute;
	top: 6px;
	right: -54px;
	width: 52px;
	height: 52px;
	color: var(--qq-orange);
}

.qq-flow__arrow--down {
	top: 22px;
	transform: scaleY(-1);
}

.qq-flow__arc {
	stroke-dasharray: 100;
	stroke-dashoffset: 0;
}

.qq-flow.is-reveal .qq-flow__arc {
	stroke-dashoffset: 100;
	transition: stroke-dashoffset .7s ease;
}

.qq-flow.is-reveal .qq-flow__item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
}

.qq-flow.is-in .qq-flow__item {
	opacity: 1;
	transform: none;
}

.qq-flow.is-in .qq-flow__arc {
	stroke-dashoffset: 0;
}

.qq-flow.is-in .qq-flow__item:nth-child(2) { transition-delay: .15s; }
.qq-flow.is-in .qq-flow__item:nth-child(3) { transition-delay: .3s; }
.qq-flow.is-in .qq-flow__item:nth-child(4) { transition-delay: .45s; }
.qq-flow.is-in .qq-flow__item:nth-child(1) .qq-flow__arc { transition-delay: .3s; }
.qq-flow.is-in .qq-flow__item:nth-child(2) .qq-flow__arc { transition-delay: .45s; }
.qq-flow.is-in .qq-flow__item:nth-child(3) .qq-flow__arc { transition-delay: .6s; }

/* ==========================================================================
   8. KHOAN VAY: PHEP TINH MAU + 4 THONG SO
   ========================================================================== */
.qq-loan {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.qq-eq__row {
	justify-content: center;
}

.qq-eq {
	padding: 30px;
	border: 1px solid var(--qq-border);
	border-radius: var(--qq-radius-lg);
	background: #fff;
	box-shadow: var(--qq-shadow-md);
}

.qq-main .qq-eq__kicker {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--qq-teal-text);
}

.qq-main .qq-eq__lead {
	margin: 0 0 22px;
	font-size: 17px;
	font-weight: 700;
	color: var(--qq-ink);
}

.qq-eq__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 8px;
}

.qq-eq__tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 72px;
	padding: 12px 14px;
	border: 1.5px solid var(--qq-border);
	border-radius: 16px;
	background: var(--qq-soft);
	text-align: center;
	box-sizing: border-box;
}

.qq-eq__val {
	font-size: 19px;
	font-weight: 800;
	color: var(--qq-ink);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.qq-eq__cap {
	margin-top: 2px;
	font-size: 12.5px;
	color: var(--qq-muted);
	white-space: nowrap;
}

.qq-eq__op {
	font-size: 22px;
	font-weight: 800;
	color: var(--qq-teal);
}

.qq-eq__tile--result {
	border-color: var(--qq-yellow);
	background: var(--qq-coin);
	box-shadow: 0 8px 18px rgba(232, 143, 0, .28);
}

.qq-eq__tile--result .qq-eq__val,
.qq-eq__tile--result .qq-eq__cap {
	color: #fff;
}

.qq-eq__tile--result .qq-eq__val {
	font-size: 21px;
	text-shadow: 0 1px 2px rgba(120, 60, 0, .45);
}

.qq-eq__tile--result .qq-eq__cap {
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(120, 60, 0, .45);
}

.qq-eq__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px dashed var(--qq-border);
}

.qq-main .qq-eq__total {
	margin: 0;
	font-size: 16px;
	color: var(--qq-text);
}

.qq-eq__total strong {
	margin-left: 6px;
	font-size: 26px;
	font-weight: 800;
	color: var(--qq-teal-text);
}

.qq-main .qq-eq__chip {
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--qq-cream);
	color: var(--qq-orange-text);
	font-size: 14px;
	font-weight: 700;
}

.qq-eq.is-reveal .qq-eq__tile,
.qq-eq.is-reveal .qq-eq__op {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .35s ease, transform .35s ease;
}

.qq-eq.is-in .qq-eq__tile,
.qq-eq.is-in .qq-eq__op {
	opacity: 1;
	transform: none;
}

.qq-eq.is-in .qq-eq__row > :nth-child(2) { transition-delay: .1s; }
.qq-eq.is-in .qq-eq__row > :nth-child(3) { transition-delay: .2s; }
.qq-eq.is-in .qq-eq__row > :nth-child(4) { transition-delay: .3s; }
.qq-eq.is-in .qq-eq__row > :nth-child(5) { transition-delay: .4s; }
.qq-eq.is-in .qq-eq__row > :nth-child(6) { transition-delay: .5s; }
.qq-eq.is-in .qq-eq__row > :nth-child(7) { transition-delay: .6s; }
.qq-eq.is-in .qq-eq__row > :nth-child(8) { transition-delay: .7s; }
.qq-eq.is-in .qq-eq__row > :nth-child(9) { transition-delay: .85s; }

.qq-main .qq-specs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	list-style: none;
}

.qq-specs__item {
	padding: 20px;
	border-radius: var(--qq-radius);
	background: #fff;
	box-shadow: var(--qq-shadow-sm);
}

.qq-specs__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 14px;
	background: var(--qq-teal-soft);
	color: var(--qq-teal-text);
}

.qq-specs__icon .qq-icon {
	width: 22px;
	height: 22px;
}

.qq-main .qq-specs__label {
	margin: 12px 0 2px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--qq-muted);
}

.qq-main .qq-specs__value {
	margin: 0 0 4px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--qq-ink);
}

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

/* ---- Hop canh bao rui ro ---- */
.qq-risk {
	margin-top: 28px;
	padding: 22px 26px;
	border: 1px solid #F2D59A;
	border-left: 5px solid var(--qq-orange);
	border-radius: var(--qq-radius);
	background: #fff;
}

.qq-main .qq-risk__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 800;
	color: var(--qq-orange-text);
}

.qq-risk__title .qq-icon {
	width: 22px;
	height: 22px;
}

.qq-main .qq-risk__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 28px;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.6;
}

.qq-risk__list li::marker {
	color: var(--qq-orange);
}

/* ==========================================================================
   9. UU DIEM: SQUIRCLE TEAL BON GOC
   ========================================================================== */
.qq-quad {
	position: relative;
	border-radius: 56px;
	background: var(--qq-gradient);
	box-shadow: var(--qq-shadow-lg);
	overflow: hidden;
}

/* Vong sang mo goc phai tren (nhu do bong app icon) */
.qq-quad::before {
	content: "";
	position: absolute;
	right: -120px;
	top: -160px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
	pointer-events: none;
}

.qq-main .qq-quad__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	list-style: none;
}

.qq-quad__item {
	padding: 44px 52px;
	color: #E9FBF8;
}

/* Duong ke chu thap mint mong */
.qq-quad__item:nth-child(1),
.qq-quad__item:nth-child(3) {
	border-right: 1.5px solid rgba(255, 255, 255, .28);
}

.qq-quad__item:nth-child(1),
.qq-quad__item:nth-child(2) {
	border-bottom: 1.5px solid rgba(255, 255, 255, .28);
}

.qq-quad__item:nth-child(2),
.qq-quad__item:nth-child(4) {
	padding-left: 72px;
}

.qq-quad__item:nth-child(3),
.qq-quad__item:nth-child(4) {
	padding-top: 52px;
}

.qq-quad__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .16);
	color: #fff;
}

.qq-quad__icon .qq-icon {
	width: 26px;
	height: 26px;
}

.qq-main .qq-quad__title {
	margin: 16px 0 8px;
	font-size: 21px;
	color: #fff;
}

.qq-main .qq-quad__desc {
	max-width: 40ch;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #E9FBF8;
}

.qq-quad__coin {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	background: var(--qq-coin);
	box-shadow: 0 0 0 6px var(--qq-yellow), 0 10px 24px rgba(5, 32, 30, .35);
	color: #fff;
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
}

/* ==========================================================================
   10. DIEU KIEN: TO TIEN DIEU KIEN
   ========================================================================== */
.qq-bill {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 56px;
	align-items: center;
}

.qq-main .qq-bill__intro .qq-section__desc {
	margin-bottom: 26px;
}

.qq-bill__note {
	position: relative;
	padding: 34px 38px 28px;
	border-radius: 26px;
	background: linear-gradient(135deg, #5ACCC1 0%, #3DB9AE 50%, #2FA99E 100%);
	box-shadow: 0 24px 44px rgba(1, 150, 142, .25);
	color: #fff;
	overflow: hidden;
	transition: transform .7s cubic-bezier(.3, .1, .2, 1), opacity .7s ease;
}

/* Vien trong net dut nhu to tien trong logo */
.qq-bill__note::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 2.5px dashed rgba(255, 255, 255, .7);
	border-radius: 16px;
	pointer-events: none;
}

.qq-bill__dot {
	position: absolute;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #fff;
}

.qq-bill__dot--a {
	left: 26px;
	top: 26px;
}

.qq-bill__dot--b {
	right: 26px;
	bottom: 26px;
}

.qq-bill__mark {
	position: absolute;
	right: 24px;
	top: -6px;
	font-size: 170px;
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 255, 255, .12);
	pointer-events: none;
}

.qq-main .qq-bill__title {
	position: relative;
	margin: 0 0 12px 14px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--qq-ink);
}

.qq-main .qq-bill__list {
	position: relative;
	margin: 0;
	padding: 6px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .94);
	color: var(--qq-text);
}

.qq-bill__row {
	display: grid;
	grid-template-columns: 108px 1fr;
	gap: 12px;
	align-items: baseline;
	padding: 13px 0;
	border-top: 1.5px dashed var(--qq-border);
}

.qq-bill__row:first-child {
	border-top: 0;
}

.qq-bill__row dt {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--qq-muted);
}

.qq-main .qq-bill__row dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

.qq-bill__row dd strong {
	font-size: 18px;
	font-weight: 800;
	color: var(--qq-ink);
}

.qq-bill__row dd span {
	color: var(--qq-muted);
}

.qq-bill.is-reveal .qq-bill__note {
	opacity: 0;
	transform: translateY(26px) rotate(-3deg);
}

.qq-bill.is-in .qq-bill__note {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   11. THANH TOAN: 2 TAB
   ========================================================================== */
.qq-pay {
	max-width: 860px;
	margin: 0 auto;
}

.qq-pay__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 6px;
	border-radius: 999px;
	background: var(--qq-soft);
}

.qq-pay__tabs[hidden] {
	display: none;
}

.qq-pay__tab,
.qq-pay__tab:hover,
.qq-pay__tab:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--qq-teal-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}

.qq-pay__tab .qq-icon {
	width: 22px;
	height: 22px;
}

.qq-pay__tab[aria-selected="true"] {
	background: var(--qq-primary);
	color: #fff;
	box-shadow: 0 6px 14px rgba(0, 122, 113, .25);
}

.qq-pay__panel {
	margin-top: 20px;
	padding: 28px 32px;
	border: 1px solid var(--qq-border);
	border-radius: var(--qq-radius-lg);
	background: #fff;
	box-shadow: var(--qq-shadow-sm);
}

.qq-pay__panel[hidden] {
	display: none;
}

.qq-main .qq-pay__title {
	margin-bottom: 16px;
	font-size: 19px;
}

.qq-main .qq-pay__steps {
	display: grid;
	gap: 14px;
	list-style: none;
	counter-reset: qq-pay;
}

.qq-pay__steps li {
	position: relative;
	padding-left: 48px;
	font-size: 16px;
	line-height: 1.6;
	counter-increment: qq-pay;
}

.qq-pay__steps li::before {
	content: counter(qq-pay);
	position: absolute;
	left: 0;
	top: -2px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--qq-teal-soft);
	color: var(--qq-teal-text);
	font-size: 15px;
	font-weight: 800;
}

.qq-guide-pay .qq-section__title {
	margin-bottom: 18px;
}

.qq-guide-pay .qq-pay__tab {
	font-size: 14.5px;
	padding: 10px 12px;
}

/* ==========================================================================
   12. KHOI NOI DUNG SEO (khong collapse)
   ========================================================================== */
.qq-seo {
	padding: 80px 0 88px;
}

.qq-seo__inner {
	max-width: 860px;
	margin: 0 auto;
	padding: 44px 52px;
	border-radius: var(--qq-radius-lg);
	background: #fff;
	box-shadow: var(--qq-shadow-sm);
	font-size: 16.5px;
	line-height: 1.78;
	counter-reset: qq-h2;
	border: 1px solid #d5d5d5;
}

.qq-main .qq-seo__inner h2 {
	position: relative;
	margin: 44px 0 16px;
	padding: 28px 0 0 62px;
	border-top: 1px solid var(--qq-line);
	font-size: clamp(20px, 2.5vw, 25px);
	line-height: 1.35;
	counter-increment: qq-h2;
}

/* So H2 trong dong xu cam vien vang */
.qq-main .qq-seo__inner h2::before {
	content: counter(qq-h2);
	position: absolute;
	left: 0;
	top: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--qq-coin);
	box-shadow: 0 0 0 4px var(--qq-yellow), 0 6px 14px rgba(232, 143, 0, .25);
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	text-shadow: 0 1px 2px rgba(120, 60, 0, .4);
}

.qq-main .qq-seo__inner h3 {
	margin: 28px 0 10px;
	padding-left: 14px;
	border-left: 4px solid var(--qq-teal);
	font-size: clamp(18px, 2vw, 20px);
	line-height: 1.4;
}

.qq-main .qq-seo__inner ul,
.qq-main .qq-seo__inner ol {
	margin: 0 0 1em;
	padding-left: 24px;
}

.qq-seo__inner li + li {
	margin-top: 6px;
}

.qq-seo__inner li::marker {
	color: var(--qq-teal);
	font-weight: 700;
}

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

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

/* ==========================================================================
   13. SUBPAGES
   ========================================================================== */
.qq-page-hero {
	padding: 40px 0 44px;
	background:
		radial-gradient(420px 260px at 90% 0%, rgba(61, 185, 174, .16), transparent 70%),
		radial-gradient(360px 220px at 6% 100%, rgba(250, 166, 1, .1), transparent 70%),
		linear-gradient(180deg, #F3FBF9 0%, #fff 100%);
	text-align: center;
}

.qq-breadcrumbs {
	margin-bottom: 14px;
}

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

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

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

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

.qq-main .qq-breadcrumbs__link:hover {
	text-decoration: underline;
}

.qq-main h1.qq-page-hero__title {
	max-width: 30ch;
	margin: 0 auto;
	font-size: clamp(1.3rem, 4.6vw, 2rem);
	line-height: 1.3;
}

.qq-main .qq-page-hero__desc {
	max-width: 66ch;
	margin: 14px auto 0;
	font-size: 16.5px;
}

.qq-split {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 48px;
	align-items: start;
}

.qq-prose {
	font-size: 16.5px;
	line-height: 1.75;
}

.qq-main .qq-prose .qq-section__title {
	margin-bottom: 16px;
}

.qq-main .qq-prose ul + .qq-section__title,
.qq-main .qq-prose p + .qq-section__title {
	margin-top: 32px;
}

.qq-main .qq-prose ul,
.qq-main .qq-prose ol {
	margin: 0 0 1em;
	padding-left: 22px;
}

.qq-prose li + li {
	margin-top: 6px;
}

.qq-prose li::marker {
	color: var(--qq-teal);
}

/* ---- The phap nhan ---- */
.qq-company {
	padding: 28px;
	border: 1px solid var(--qq-border);
	border-top: 5px solid var(--qq-teal);
	border-radius: var(--qq-radius-lg);
	background: #fff;
	box-shadow: var(--qq-shadow-md);
}

.qq-main .qq-company__kicker {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--qq-teal-text);
}

.qq-main .qq-company__name {
	margin-bottom: 14px;
	font-size: 19px;
	line-height: 1.4;
}

.qq-main .qq-company__rows {
	margin: 0;
}

.qq-company__row {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px dashed var(--qq-border);
	font-size: 15px;
}

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

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

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

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

.qq-contact__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 16px;
	background: var(--qq-teal-soft);
	color: var(--qq-teal-text);
}

.qq-contact__icon .qq-icon {
	width: 24px;
	height: 24px;
}

.qq-main h2.qq-contact__title {
	margin: 16px 0 6px;
	font-size: 16px;
	color: var(--qq-muted);
}

.qq-main .qq-contact__value {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 800;
	color: var(--qq-ink);
	overflow-wrap: anywhere;
}

.qq-main .qq-contact__value--sm {
	font-size: 15.5px;
	line-height: 1.5;
}

.qq-main .qq-contact__value a {
	color: var(--qq-primary);
	text-decoration: none;
}

.qq-main .qq-contact__desc {
	margin: 0;
	font-size: 14.5px;
	color: var(--qq-muted);
}

.qq-box {
	margin-top: 28px;
	padding: 24px 26px;
	border: 1px solid var(--qq-border);
	border-left: 5px solid var(--qq-orange);
	border-radius: var(--qq-radius);
	background: #fff;
}

.qq-main h2.qq-box__title {
	margin-bottom: 10px;
	font-size: 19px;
}

.qq-box p:last-child {
	margin-bottom: 0;
}

/* ---- FAQ ---- */
.qq-faq-wrap {
	max-width: 880px;
}

.qq-faq-group + .qq-faq-group {
	margin-top: 40px;
}

.qq-main h2.qq-faq-group__title {
	margin-bottom: 14px;
	padding-left: 14px;
	border-left: 4px solid var(--qq-teal);
	font-size: 21px;
}

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

.qq-main h3.qq-faq__q {
	font-size: inherit;
}

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

.qq-faq__btn:hover {
	color: var(--qq-primary);
}

.qq-faq__icon {
	position: relative;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--qq-soft);
	flex: none;
}

.qq-faq__icon::before,
.qq-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--qq-primary);
	transition: transform .2s ease;
}

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

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

.qq-faq__panel {
	padding: 0 48px 18px 2px;
	font-size: 16px;
}

.qq-faq__panel p:last-child {
	margin-bottom: 0;
}

/* ---- Van ban dai: muc luc + noi dung ---- */
.qq-doc {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 48px;
	align-items: start;
}

.qq-doc__toc {
	position: sticky;
	top: 24px;
	padding: 22px;
	border: 1px solid var(--qq-border);
	border-radius: var(--qq-radius);
	background: var(--qq-soft);
}

.qq-main .qq-doc__toc-title {
	margin: 0 0 10px;
	font-weight: 800;
	color: var(--qq-ink);
}

.qq-main .qq-doc__toc-list {
	padding-left: 20px;
	font-size: 14.5px;
}

.qq-doc__toc-list li + li {
	margin-top: 6px;
}

.qq-main .qq-doc__toc-list a {
	display: block;
	padding: 2px 0;
	color: var(--qq-text);
	text-decoration: none;
}

.qq-main .qq-doc__toc-list a:hover {
	color: var(--qq-primary);
	text-decoration: underline;
}

.qq-doc__body {
	max-width: 820px;
	min-width: 0;
	font-size: 16.5px;
	line-height: 1.75;
}

.qq-main .qq-doc__body h2 {
	margin: 36px 0 12px;
	padding-top: 24px;
	border-top: 1px solid var(--qq-line);
	font-size: clamp(19px, 2.3vw, 23px);
	scroll-margin-top: 20px;
}

.qq-main .qq-doc__body h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.qq-main .qq-doc__body ul {
	margin: 0 0 1em;
	padding-left: 22px;
}

.qq-doc__body li + li {
	margin-top: 6px;
}

.qq-doc__body li::marker {
	color: var(--qq-teal);
}

/* ---- CTA band ---- */
.qq-section--cta {
	padding: 24px 0 88px;
}

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

/* Cung mui ten mo trong band (pseudo, khong xoay) */
.qq-cta::before {
	content: "";
	position: absolute;
	right: 150px;
	bottom: -170px;
	width: 300px;
	height: 300px;
	border: 24px solid rgba(255, 255, 255, .14);
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-radius: 50%;
	box-sizing: border-box;
	pointer-events: none;
}

.qq-cta__body {
	position: relative;
}

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

.qq-main .qq-cta__desc {
	margin: 8px 0 0;
	color: #fff;
}

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

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

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

@supports ((-webkit-text-stroke: 1px currentColor) and (paint-order: stroke)) {
	.qq-main .qq-404__code {
		color: var(--qq-orange);
		-webkit-text-stroke: .055em var(--qq-ink);
		paint-order: stroke fill;
		text-shadow: .035em .045em 0 rgba(61, 185, 174, .75);
	}
}

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

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.qq-footer {
	position: relative;
	padding: 64px 0 28px;
	background: var(--qq-footer);
	color: #C4DCD8;
	overflow: hidden;
}

/* Hai cung mui ten teal mo (motif logo), pseudo-element, khong xoay */
.qq-footer::before,
.qq-footer::after {
	content: "";
	position: absolute;
	width: 340px;
	height: 340px;
	border: 26px solid rgba(61, 185, 174, .1);
	border-radius: 50%;
	box-sizing: border-box;
	pointer-events: none;
}

.qq-footer::before {
	right: -40px;
	top: -190px;
	border-top-color: transparent;
	border-right-color: transparent;
}

.qq-footer::after {
	right: 60px;
	top: -110px;
	border-color: rgba(250, 166, 1, .08);
	border-bottom-color: transparent;
	border-left-color: transparent;
}

.qq-footer a {
	color: #fff;
	text-decoration: none;
}

.qq-footer a:hover {
	color: var(--qq-yellow);
}

.qq-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
	gap: 36px;
}

.qq-footer__logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

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

.qq-footer__logo {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.qq-footer__sitename {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
}

.qq-footer__desc {
	margin: 16px 0 10px;
	font-size: 15px;
	line-height: 1.65;
}

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

.qq-footer__title {
	margin: 4px 0 14px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .02em;
	color: var(--qq-orange);
}

.qq-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.qq-footer__links li + li {
	margin-top: 10px;
}

.qq-footer__hotline {
	display: inline-block;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: .01em;
}

.qq-footer__hours {
	margin: 6px 0 0;
	font-size: 14.5px;
}

.qq-footer__bottom {
	position: relative;
	z-index: 1;
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
}

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

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

.qq-footer__copy {
	margin: 10px 0 0;
	color: #94B3AE;
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.qq-hero {
		padding: 40px 0 86px;
	}

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

	.qq-hero__visual {
		display: contents;
	}

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

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

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

	.qq-hero__art {
		order: 4;
		width: 100%;
		margin: 28px auto 0;
	}

	.qq-calc {
		max-width: none;
	}

	.qq-split {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.qq-main .qq-specs {
		grid-template-columns: repeat(2, 1fr);
	}

	.qq-coin,
	.qq-bill {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.qq-coin__stage {
		max-width: 360px;
	}

	.qq-main .qq-flow {
		grid-template-columns: repeat(2, 1fr);
		gap: 48px 64px;
	}

	.qq-flow__item:nth-child(2) .qq-flow__arrow {
		display: none;
	}

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

	.qq-doc {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.qq-doc__toc {
		position: static;
	}

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

	.qq-quad__item {
		padding: 36px 36px;
	}

	.qq-quad__item:nth-child(2),
	.qq-quad__item:nth-child(4) {
		padding-left: 52px;
	}
}

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

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

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

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

	.qq-header__cta {
		display: none;
	}

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

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

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

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

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

	.qq-header__toggle-bar::before {
		top: -6.5px;
		width: 14px;
		background: var(--qq-orange);
	}

	.qq-header__toggle-bar::after {
		top: 6.5px;
	}

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

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

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

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

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

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

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

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

	.qq-nav__link,
	.qq-nav__link:visited {
		padding: 14px 16px;
		border-radius: 14px;
		font-size: 17px;
	}

	.qq-nav__link--active,
	.qq-nav__link--active:visited {
		background: var(--qq-soft);
	}

	.qq-nav__link--active::after {
		left: auto;
		right: 20px;
		bottom: 50%;
		margin: 0 0 -3.5px;
	}

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

	/* Hero */
	.qq-hero__art {
		display: none;
	}

	.qq-calc {
		padding: 22px 18px;
	}

	.qq-calc__amount {
		font-size: 24px;
	}

	.qq-main .qq-stats {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 14px;
	}

	.qq-section {
		padding: 56px 0;
	}

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

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

	/* Dong xu */
	.qq-coin__stage {
		max-width: 300px;
	}

	.qq-coin__side-value {
		font-size: 22px;
	}

	/* Quy trinh: cot doc, mui ten cung quay xuong */
	.qq-main .qq-flow {
		grid-template-columns: 1fr;
		gap: 52px;
	}

	.qq-flow__item {
		display: grid;
		grid-template-columns: 72px 1fr;
		column-gap: 18px;
		align-items: start;
	}

	.qq-flow__badge {
		grid-row: 1 / span 3;
	}

	.qq-main .qq-flow__title {
		margin-top: 4px;
	}

	.qq-main .qq-flow__chip {
		justify-self: start;
	}

	.qq-flow__arrow,
	.qq-flow__item:nth-child(2) .qq-flow__arrow {
		display: block;
		top: auto;
		right: auto;
		left: 10px;
		bottom: -50px;
		width: 48px;
		height: 48px;
		transform: rotate(90deg);
	}

	.qq-flow__arrow--down {
		transform: rotate(90deg) scaleY(-1);
	}

	/* Khoan vay */
	.qq-eq {
		padding: 22px 18px;
	}

	/* Phep tinh doc: moi o 1 hang (gia tri trai, chu thich phai), dau phep tinh canh giua giua 2 hang */
	.qq-eq__row {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.qq-eq__tile {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		min-width: 0;
		padding: 10px 14px;
		border-radius: 14px;
	}

	.qq-eq__val {
		font-size: 17px;
	}

	.qq-eq__cap {
		margin: 0;
		font-size: 13px;
	}

	.qq-eq__op {
		font-size: 17px;
		line-height: 1.1;
		text-align: center;
	}

	.qq-main .qq-specs {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.qq-specs__item {
		padding: 16px 14px;
	}

	.qq-main .qq-specs__value {
		font-size: 16.5px;
	}

	.qq-main .qq-risk__list {
		grid-template-columns: 1fr;
	}

	.qq-risk {
		padding: 20px 18px;
	}

	/* Squircle: 4 o xep doc, xu nho o mep tren */
	.qq-quad {
		border-radius: 36px;
		padding-top: 38px;
	}

	.qq-main .qq-quad__grid {
		grid-template-columns: 1fr;
	}

	.qq-quad__item,
	.qq-quad__item:nth-child(2),
	.qq-quad__item:nth-child(3),
	.qq-quad__item:nth-child(4) {
		padding: 26px 24px;
		border-right: 0;
		border-bottom: 1.5px solid rgba(255, 255, 255, .28);
	}

	.qq-quad__item:last-child {
		border-bottom: 0;
	}

	.qq-quad__coin {
		top: 20px;
		width: 44px;
		height: 44px;
		margin: 0 0 0 -22px;
		font-size: 24px;
		box-shadow: 0 0 0 4px var(--qq-yellow);
	}

	/* To tien dieu kien */
	.qq-bill__note {
		padding: 44px 20px 26px;
	}

	.qq-main .qq-bill__title {
		margin-left: 4px;
	}

	.qq-bill__mark {
		font-size: 120px;
	}

	.qq-main .qq-bill__list {
		padding: 4px 14px;
	}

	.qq-bill__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	/* Thanh toan */
	.qq-pay__tabs {
		border-radius: 20px;
	}

	.qq-pay__tab,
	.qq-pay__tab:hover,
	.qq-pay__tab:focus,
	.qq-guide-pay .qq-pay__tab {
		flex-direction: column;
		gap: 4px;
		padding: 10px 8px;
		border-radius: 16px;
		font-size: 14px;
		text-align: center;
	}

	.qq-pay__panel {
		padding: 22px 18px;
	}

	/* SEO */
	.qq-seo {
		padding: 48px 0 56px;
	}

	.qq-seo__inner {
		padding: 28px 18px;
		font-size: 16px;
	}

	.qq-main .qq-seo__inner h2 {
		padding-left: 54px;
	}

	.qq-main .qq-seo__inner h2::before {
		width: 38px;
		height: 38px;
		font-size: 16px;
	}

	/* Trang con */
	.qq-main .qq-contact {
		grid-template-columns: 1fr;
	}

	.qq-company {
		padding: 22px 18px;
	}

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

	.qq-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px 24px;
	}

	.qq-cta::before {
		right: -80px;
	}

	.qq-faq__panel {
		padding-right: 2px;
	}

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

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

	/* Footer: brand + hotline chiem ca hang, 2 cot link song song */
	.qq-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
	}

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

	.qq-footer::before {
		right: -150px;
	}

	.qq-footer::after {
		right: -60px;
	}
}

@media (max-width: 480px) {
	.qq-main .qq-specs__value {
		font-size: 15.5px;
	}

	.qq-main .qq-specs__desc {
		font-size: 13px;
	}
}

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