/*
 Theme Name:   iVay (GeneratePress Child)
 Theme URI:    https://generatepress.com
 Description:  Child theme website iVay - vay tiền online đến 15 triệu, giải ngân trong 2H.
 Author:       iVay
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  ivay
*/

/* ==========================================================================
   1. VARIABLES (mau trich tu logo.png: cam #FC8813 -> #F64501 ~73%, trang ~27%;
      neutral nau ca phe #2A1A12)
   ========================================================================== */

:root {
	--iv-orange: #F64501;          /* cam logo (mep duoi): trang tri */
	--iv-orange-light: #FC8813;    /* cam logo (mep tren) */
	--iv-primary: #D24500;         /* nut chu trang 4,57:1 */
	--iv-primary-dark: #A63600;    /* hover 6,67:1 */
	--iv-link: #B83D00;            /* link, so nhan 5,67:1 */
	--iv-ink: #2A1A12;             /* nau ca phe dam: heading, footer */
	--iv-text: #5A4639;
	--iv-muted: #6B5546;
	--iv-soft: #FFF6EF;
	--iv-soft-2: #FFE9DA;
	--iv-peach: #FFF0E4;
	--iv-white: #FFFFFF;
	--iv-border: #F3DCCB;
	--iv-border-strong: #E8BFA3;
	--iv-logo-gradient: linear-gradient(170deg, #FC8813 0%, #F86A08 45%, #F64501 100%);
	--iv-gradient: linear-gradient(135deg, #D24500 0%, #A63600 100%);
	--iv-shadow-sm: 0 2px 10px rgba(42, 26, 18, .06);
	--iv-shadow-md: 0 12px 30px rgba(42, 26, 18, .09);
	--iv-shadow-lg: 0 24px 56px rgba(42, 26, 18, .14);
	--iv-radius: 22px;
	--iv-radius-lg: 32px;
	--iv-radius-btn: 999px;
	--iv-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='%23F64501' d='M20 0C21.6 11.2 28.8 18.4 40 20 28.8 21.6 21.6 28.8 20 40 18.4 28.8 11.2 21.6 0 20 11.2 18.4 18.4 11.2 20 0Z'/%3E%3C/svg%3E");
	--iv-petal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Cellipse cx='26' cy='26' rx='24' ry='16' transform='rotate(-45 26 26)' fill='%23FFE1CC' stroke='%23F64501' stroke-width='2'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

html,
body {
	overflow-x: clip;
}

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

.iv-body a {
	color: var(--iv-link);
}

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

.iv-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.iv-narrow {
	max-width: 880px;
}

.iv-main {
	display: block;
}

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

.iv-main :where(h2) {
	font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.iv-main :where(h3) {
	font-size: 19px;
}

.iv-main :where(h4, h5, h6) {
	font-size: 17px;
}

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

.iv-main :where(ul, ol) {
	margin: 0;
	padding: 0;
}

.iv-body dt {
	font-weight: 400;
}

.iv-body dd {
	margin: 0;
}

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

.iv-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 2000;
	padding: 10px 16px;
	border-radius: var(--iv-radius-btn);
	background: var(--iv-ink);
	color: #fff;
}

.iv-body .iv-skip:focus {
	left: 12px;
	color: #fff;
}

.iv-star-icon {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ==========================================================================
   3. BUTTONS (CTA pattern)
   ========================================================================== */

.iv-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 30px;
	border: 0;
	border-radius: var(--iv-radius-btn);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}

.iv-body .iv-btn--primary {
	background: var(--iv-primary);
	color: var(--iv-white);
	box-shadow: 0 10px 22px rgba(210, 69, 0, .28);
}

.iv-body .iv-btn--primary:hover,
.iv-body .iv-btn--primary:focus {
	background: var(--iv-primary-dark);
	color: var(--iv-white);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(166, 54, 0, .32);
}

/* Nut trang chu cam dam (tren nen gradient cua CTA band) */
.iv-body .iv-btn--light {
	background: #fff;
	color: var(--iv-primary-dark);
	box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.iv-body .iv-btn--light:hover,
.iv-body .iv-btn--light:focus {
	background: var(--iv-ink);
	color: #fff;
	transform: translateY(-1px);
}

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

.iv-btn:focus-visible {
	outline: 3px solid var(--iv-orange-light);
	outline-offset: 3px;
}

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

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

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

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

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

/* ==========================================================================
   4. HEADER
   ========================================================================== */

/* KHONG sticky, KHONG z-index (khong tao stacking context -> panel menu mobile noi tren overlay) */
.iv-header {
	position: relative;
	background: #fff;
	border-bottom: 1px solid var(--iv-border);
}

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

/* Logo + ten site trong CUNG mot the <a> ve trang chu */
.iv-body .iv-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	flex-shrink: 0;
	color: var(--iv-ink);
	text-decoration: none;
}

.iv-body .iv-header__brand:hover,
.iv-body .iv-header__brand:focus {
	color: var(--iv-link);
}

.iv-header__logo {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	object-fit: contain;
}

.iv-header__sitename {
	font-size: 25px;
	font-weight: 900;
	letter-spacing: -.01em;
	white-space: nowrap;
}

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

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

.iv-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iv-body .iv-nav__link {
	display: block;
	padding: 8px 16px;
	border-radius: var(--iv-radius-btn);
	color: var(--iv-ink);
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.iv-body .iv-nav__link:hover,
.iv-body .iv-nav__link:focus {
	background: var(--iv-soft);
	color: var(--iv-link);
}

.iv-body .iv-nav__link--active {
	background: var(--iv-soft-2);
	color: var(--iv-primary);
	pointer-events: none;
}

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

.iv-header__cta {
	padding: 10px 24px;
}

.iv-body .iv-header__toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--iv-border);
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
}

.iv-body .iv-header__toggle:hover,
.iv-body .iv-header__toggle:focus {
	background: var(--iv-soft);
	border-color: var(--iv-border);
}

.iv-header__toggle-bar,
.iv-header__toggle-bar::before,
.iv-header__toggle-bar::after {
	position: absolute;
	left: 50%;
	width: 20px;
	height: 3px;
	margin-left: -10px;
	border-radius: 2px;
	background: var(--iv-ink);
	content: "";
}

.iv-header__toggle-bar {
	top: 50%;
	margin-top: -1.5px;
}

.iv-header__toggle-bar::before {
	top: -7px;
	left: 0;
	margin: 0;
}

.iv-header__toggle-bar::after {
	top: 7px;
	left: 0;
	width: 13px;
	margin: 0;
	background: var(--iv-orange);
}

.iv-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(42, 26, 18, .55);
}

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

/* ==========================================================================
   5. HERO (giu nguyen bo cuc CLAUDE-TEMPLATE.md)
   ========================================================================== */

.iv-hero {
	position: relative;
	padding: 56px 0 136px;
	background:
		radial-gradient(520px 360px at 6% 94%, rgba(252, 136, 19, .14), transparent 70%),
		radial-gradient(480px 320px at 96% 4%, rgba(246, 69, 1, .10), transparent 70%),
		linear-gradient(180deg, #FFF6EF 0%, #FFFFFF 100%);
}

.iv-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr);
	gap: 48px;
	align-items: center;
}

.iv-main h1.iv-hero__title {
	margin: 0 0 14px;
	font-size: clamp(1.3rem, 5vw, 2rem);
	line-height: 1.3;
	color: var(--iv-ink);
}

.iv-hero__desc {
	max-width: 580px;
	font-size: 17px;
	color: var(--iv-text);
}

.iv-hero__art {
	max-width: 500px;
	margin-top: 4px;
}

.iv-jar {
	display: block;
	width: 100%;
	height: auto;
}

.iv-jar__plate {
	fill: #FFE9DA;
}

.iv-jar__petals ellipse {
	fill: #FFD7BC;
	opacity: .55;
}

.iv-jar__shadow {
	fill: rgba(42, 26, 18, .08);
}

.iv-jar__body {
	fill: rgba(255, 255, 255, .74);
	stroke: #F2C3A2;
	stroke-width: 4;
}

.iv-jar__coins ellipse {
	stroke: #E89A2A;
	stroke-width: 2;
}

.iv-jar__label rect {
	fill: #fff;
	stroke: #F7D5BD;
	stroke-width: 2;
}

.iv-jar__label-star {
	fill: var(--iv-orange);
}

.iv-jar__shine {
	fill: none;
	stroke: #fff;
	stroke-width: 8;
	stroke-linecap: round;
	opacity: .9;
}

.iv-jar__neck {
	fill: #fff;
	stroke: #F2C3A2;
	stroke-width: 3;
}

.iv-jar__lid-line {
	fill: rgba(255, 255, 255, .45);
}

.iv-jar__fly ellipse {
	stroke: #E89A2A;
	stroke-width: 2;
}

.iv-jar__coin-text {
	fill: #A65A00;
	font-size: 17px;
	font-weight: 800;
	text-anchor: middle;
}

.iv-jar__trail {
	fill: none;
	stroke: #F7B98F;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 3 7;
}

.iv-jar__spark {
	fill: #F86A08;
}

.iv-hero__content {
	justify-self: end;
	width: 100%;
	max-width: 470px;
}

/* Widget uoc tinh chi phi */
.iv-loan {
	padding: 28px 28px 22px;
	border: 1px solid var(--iv-border);
	border-radius: var(--iv-radius-lg);
	background: #fff;
	box-shadow: var(--iv-shadow-lg);
}

.iv-loan__title {
	margin: 0 0 18px;
	color: var(--iv-ink);
	font-size: 19px;
	font-weight: 800;
}

.iv-loan__amount {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.iv-loan__label {
	display: block;
	margin: 0;
	color: var(--iv-muted);
	font-size: 15px;
	font-weight: 600;
}

.iv-loan__value {
	color: var(--iv-link);
	font-size: 26px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.iv-loan__range {
	--iv-fill: 17.857%;
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 10px;
	margin: 6px 0 8px;
	border-radius: 999px;
	background: linear-gradient(to right, #FC8813 0%, #F64501 var(--iv-fill), #F3DCCB var(--iv-fill), #F3DCCB 100%);
	cursor: pointer;
	outline: none;
}

.iv-loan__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 28px;
	height: 28px;
	border: 6px solid var(--iv-orange);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(166, 54, 0, .3);
	cursor: grab;
}

.iv-loan__range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 6px solid var(--iv-orange);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(166, 54, 0, .3);
	cursor: grab;
}

.iv-loan__range:focus-visible {
	outline: 3px solid var(--iv-orange-light);
	outline-offset: 6px;
}

.iv-loan__scale {
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
	color: var(--iv-muted);
	font-size: 13px;
}

.iv-loan__terms {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 8px 0 6px;
}

.iv-body .iv-loan__term {
	padding: 10px 12px;
	border: 1.5px solid var(--iv-border);
	border-radius: var(--iv-radius-btn);
	background: var(--iv-soft);
	color: var(--iv-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.iv-body .iv-loan__term:hover,
.iv-body .iv-loan__term:focus {
	border-color: var(--iv-orange);
	background: var(--iv-soft-2);
	color: var(--iv-ink);
}

.iv-body .iv-loan__term[aria-pressed="true"] {
	border-color: var(--iv-primary);
	background: var(--iv-primary);
	color: #fff;
}

.iv-loan__rows {
	margin: 16px 0 18px;
}

.iv-loan__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px dashed var(--iv-border-strong);
}

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

.iv-loan__row dt span {
	color: var(--iv-muted);
	font-size: 13.5px;
}

.iv-loan__row dd {
	color: var(--iv-ink);
	font-size: 16px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.iv-loan__row--total {
	padding-top: 14px;
	border-bottom: 0;
}

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

.iv-loan__row--total dd {
	color: var(--iv-link);
	font-size: 23px;
	font-weight: 900;
}

.iv-loan__note {
	margin: 12px 0 0;
	color: var(--iv-muted);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}
.iv-loan__note a {
	color: var(--iv-link);
	text-decoration: none;
}
/* ==========================================================================
   6. STATS BAR (chi tablet/mobile)
   ========================================================================== */

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

.iv-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	text-align: center;
}

.iv-stats__num {
	color: var(--iv-link);
	font-size: 19px;
	font-weight: 900;
	white-space: nowrap;
}

.iv-stats__label {
	color: var(--iv-muted);
	font-size: 13px;
	line-height: 1.35;
}

/* ==========================================================================
   7. SECTION CHUNG + BANG
   ========================================================================== */

.iv-section {
	padding: 76px 0;
}

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

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

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

.iv-section__head {
	max-width: 780px;
}

.iv-section__head--center {
	margin: 0 auto;
	text-align: center;
}

.iv-main .iv-section__title {
	margin: 0 0 12px;
}

.iv-main .iv-section__title--spaced {
	margin-top: 40px;
}

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

.iv-table-wrap {
	margin: 20px 0;
	overflow-x: auto;
	border: 1px solid var(--iv-border);
	border-radius: 18px;
	background: #fff;
}

.iv-body .iv-table-wrap table {
	width: 100%;
	min-width: 540px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
}

.iv-body .iv-table-wrap th,
.iv-body .iv-table-wrap td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--iv-border);
	text-align: left;
	vertical-align: top;
	font-variant-numeric: tabular-nums;
}

.iv-body .iv-table-wrap th {
	background: var(--iv-soft-2);
	color: var(--iv-ink);
	font-size: 14px;
	font-weight: 800;
}

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

.iv-body .iv-table-wrap td strong {
	color: var(--iv-ink);
}

/* ==========================================================================
   8. SIGNATURE: BON DONG XU LAT
   ========================================================================== */

.iv-flip__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 44px;
	align-items: center;
	margin-top: 46px;
}

.iv-flip__marks {
	display: grid;
	gap: 26px;
	list-style: none;
}

.iv-flip__mark {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 22px;
	border: 1.5px solid var(--iv-border);
	border-radius: var(--iv-radius);
	background: #fff;
	box-shadow: var(--iv-shadow-sm);
	transition: opacity .4s ease, border-color .4s ease, transform .4s ease;
}

.iv-flip__marks--left .iv-flip__mark {
	flex-direction: row-reverse;
	text-align: right;
}

.iv-flip__num {
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 2px solid var(--iv-orange);
	border-radius: 50%;
	background: var(--iv-soft-2);
	color: var(--iv-link);
	font-size: 17px;
	font-weight: 900;
}

.iv-main h3.iv-flip__label {
	margin: 0 0 4px;
	font-size: 18px;
}

.iv-flip__text {
	margin: 0;
	color: var(--iv-text);
	font-size: 15px;
	line-height: 1.55;
}

/* San khau: ve lai hinh logo (4 dong xu elip quanh sao 4 canh) */
.iv-flip__stage {
	position: relative;
	width: 380px;
	height: 380px;
	border-radius: 96px;
	background: var(--iv-logo-gradient);
	box-shadow: 0 26px 60px rgba(246, 69, 1, .28), inset 0 -10px 30px rgba(166, 54, 0, .18);
}

.iv-flip__coin {
	position: absolute;
	width: 150px;
	height: 92px;
	perspective: 640px;
}

.iv-flip__coin--1 {
	left: 33px;
	top: 62px;
	transform: rotate(-45deg);
}

.iv-flip__coin--2 {
	left: 197px;
	top: 62px;
	transform: rotate(45deg);
}

.iv-flip__coin--3 {
	left: 33px;
	top: 226px;
	transform: rotate(45deg);
}

.iv-flip__coin--4 {
	left: 197px;
	top: 226px;
	transform: rotate(-45deg);
}

.iv-flip__inner {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	transition: transform .7s cubic-bezier(.3, .7, .2, 1);
}

.iv-flip__face {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	border-radius: 50%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.iv-flip__face--front {
	background: #fff;
	box-shadow: inset 0 0 0 7px rgba(246, 69, 1, .12), 0 8px 18px rgba(166, 54, 0, .25);
}

.iv-flip__face--back {
	border: 2px dashed rgba(255, 255, 255, .8);
	background: rgba(255, 255, 255, .26);
	transform: rotateY(180deg);
}

.iv-flip__digit {
	color: var(--iv-link);
	font-size: 36px;
	font-weight: 900;
	line-height: 1;
}

.iv-flip__coin--1 .iv-flip__digit,
.iv-flip__coin--4 .iv-flip__digit {
	transform: rotate(45deg);
}

.iv-flip__coin--2 .iv-flip__digit,
.iv-flip__coin--3 .iv-flip__digit {
	transform: rotate(-45deg);
}

.iv-flip__star {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 168px;
	height: 168px;
	margin: -84px 0 0 -84px;
	transition: transform .6s cubic-bezier(.3, .7, .2, 1), opacity .5s ease;
}

.iv-flip__star-shape {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: #fff;
	filter: drop-shadow(0 6px 12px rgba(166, 54, 0, .25));
}

.iv-flip__time {
	position: relative;
	padding: 3px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--iv-ink);
	font-size: 16px;
	font-weight: 900;
	white-space: nowrap;
	transition: opacity .4s ease;
}

.iv-flip__time-sign {
	color: var(--iv-link);
}

/* Trang thai "armed" (JS them luc load): dong xu up mat sau, nhan mo, sao nho.
   Rule "is-in" co CUNG tien to .is-armed de specificity cao hon (bai hoc Vang Set). */
.iv-flip.is-armed .iv-flip__inner {
	transform: rotateY(180deg);
}

.iv-flip.is-armed .iv-flip__mark {
	opacity: .45;
	transform: translateY(6px);
}

.iv-flip.is-armed .iv-flip__star {
	opacity: .55;
	transform: scale(.78);
}

.iv-flip.is-armed .iv-flip__time {
	opacity: 0;
}

.iv-flip.is-armed.is-in .iv-flip__inner {
	transform: rotateY(0deg);
}

.iv-flip.is-armed.is-in .iv-flip__mark {
	opacity: 1;
	border-color: var(--iv-orange);
	transform: none;
}

.iv-flip.is-armed.is-in .iv-flip__star {
	opacity: 1;
	transform: scale(1);
	transition-delay: 2.1s;
	animation: iv-star-glow 1.4s ease 2.5s 1;
}

.iv-flip.is-armed.is-in .iv-flip__time {
	opacity: 1;
	transition-delay: 2.3s;
}

.iv-flip.is-armed.is-in .iv-flip__coin--1 .iv-flip__inner,
.iv-flip.is-armed.is-in .iv-flip__mark--1 {
	transition-delay: .15s;
}

.iv-flip.is-armed.is-in .iv-flip__coin--2 .iv-flip__inner,
.iv-flip.is-armed.is-in .iv-flip__mark--2 {
	transition-delay: .65s;
}

.iv-flip.is-armed.is-in .iv-flip__coin--3 .iv-flip__inner,
.iv-flip.is-armed.is-in .iv-flip__mark--3 {
	transition-delay: 1.15s;
}

.iv-flip.is-armed.is-in .iv-flip__coin--4 .iv-flip__inner,
.iv-flip.is-armed.is-in .iv-flip__mark--4 {
	transition-delay: 1.65s;
}

@keyframes iv-star-glow {
	0%, 100% { transform: scale(1); }
	45% { transform: scale(1.08); }
}

/* ==========================================================================
   9. THONG SO: BON CANH THONG SO
   ========================================================================== */

.iv-petals__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 940px;
	margin: 44px auto 0;
}

.iv-petal {
	min-height: 190px;
	padding: 30px 34px;
	border: 1px solid var(--iv-border);
	background: #fff;
	box-shadow: var(--iv-shadow-sm);
	box-sizing: border-box;
}

.iv-petal--tl {
	padding-right: 104px;
	border-radius: 32px 32px 110px 32px;
}

.iv-petal--tr {
	padding-left: 104px;
	border-radius: 32px 32px 32px 110px;
}

.iv-petal--bl {
	padding-right: 104px;
	border-radius: 32px 110px 32px 32px;
}

.iv-petal--br {
	padding-left: 104px;
	border-radius: 110px 32px 32px 32px;
}

.iv-main h3.iv-petal__label {
	margin: 0 0 6px;
	color: var(--iv-muted);
	font-size: 15px;
	font-weight: 700;
}

.iv-petal__value {
	margin: 0 0 8px;
	color: var(--iv-link);
	font-size: 26px;
	font-weight: 900;
	line-height: 1.2;
}

.iv-petal__text {
	margin: 0;
	color: var(--iv-text);
	font-size: 15px;
	line-height: 1.55;
}

.iv-petals__badge {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 172px;
	height: 172px;
	margin: -86px 0 0 -86px;
	border: 8px solid #fff;
	border-radius: 50%;
	background: var(--iv-gradient);
	box-shadow: var(--iv-shadow-lg);
	box-sizing: border-box;
	color: #fff;
	text-align: center;
}

.iv-petals__badge-num {
	font-size: 28px;
	font-weight: 900;
	line-height: 1.1;
}

.iv-petals__badge-label {
	max-width: 110px;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.35;
	opacity: .95;
}

.iv-petals__note {
	max-width: 760px;
	margin: 28px auto 0;
	color: var(--iv-muted);
	font-size: 15px;
	text-align: center;
}

/* ==========================================================================
   10. VI DU: THANH CHI PHI CHONG
   ========================================================================== */

.iv-cost__grid {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: 40px;
	align-items: start;
	margin-top: 36px;
}

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

.iv-cost__pick-label {
	margin: 0 0 10px;
	color: var(--iv-muted);
	font-size: 15px;
	font-weight: 600;
}

.iv-cost__picks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}

.iv-body .iv-cost__pick {
	padding: 9px 20px;
	border: 1.5px solid var(--iv-border);
	border-radius: var(--iv-radius-btn);
	background: var(--iv-soft);
	color: var(--iv-ink);
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.iv-body .iv-cost__pick:hover,
.iv-body .iv-cost__pick:focus {
	border-color: var(--iv-orange);
	background: var(--iv-soft-2);
	color: var(--iv-ink);
}

.iv-body .iv-cost__pick[aria-pressed="true"] {
	border-color: var(--iv-ink);
	background: var(--iv-ink);
	color: #fff;
}

.iv-cost__row {
	margin-top: 24px;
}

.iv-cost__row-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.iv-cost__term {
	margin: 0;
	color: var(--iv-ink);
	font-size: 17px;
	font-weight: 800;
}

.iv-cost__sum {
	margin: 0;
	text-align: right;
}

.iv-cost__sum-label {
	color: var(--iv-muted);
	font-size: 13.5px;
}

.iv-cost__sum strong {
	color: var(--iv-link);
	font-size: 22px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

.iv-cost__bar {
	display: flex;
	height: 20px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--iv-soft-2);
	clip-path: inset(0 0 0 0 round 999px);
	transition: clip-path 1s cubic-bezier(.3, .7, .2, 1);
}

.iv-cost__seg {
	display: block;
	height: 100%;
}

.iv-cost__seg--interest {
	background: linear-gradient(90deg, #FC8813, #F64501);
}

.iv-cost__seg--fee {
	background: #7A4A2E;
}

/* Ty le that: lai 180 ngay + phi = 100% (giong nhau cho moi so tien vi lai, phi deu ty le voi goc) */
.iv-cost__row--90 .iv-cost__seg--interest {
	width: 42.47%;
}

.iv-cost__row--180 .iv-cost__seg--interest {
	width: 84.93%;
}

.iv-cost__seg--fee {
	width: 15.07%;
}

.iv-cost.is-armed .iv-cost__bar {
	clip-path: inset(0 100% 0 0 round 999px);
}

.iv-cost.is-armed.is-in .iv-cost__bar {
	clip-path: inset(0 0 0 0 round 999px);
}

.iv-cost.is-armed.is-in .iv-cost__row--180 .iv-cost__bar {
	transition-delay: .25s;
}

.iv-cost__detail {
	margin: 8px 0 0;
	color: var(--iv-text);
	font-size: 14.5px;
}

.iv-cost__detail strong {
	color: var(--iv-ink);
	font-variant-numeric: tabular-nums;
}

.iv-cost__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px dashed var(--iv-border-strong);
	list-style: none;
	color: var(--iv-muted);
	font-size: 14px;
}

.iv-cost__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.iv-cost__legend-item::before {
	content: "";
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(90deg, #FC8813, #F64501);
}

.iv-cost__legend-item--fee::before {
	background: #7A4A2E;
}

.iv-main h3.iv-cost__formula-title {
	margin: 0 0 10px;
	font-size: 18px;
}

.iv-cost__formula {
	margin: 0 0 6px;
	padding: 16px 20px;
	border-left: 4px solid var(--iv-orange);
	border-radius: 0 16px 16px 0;
	background: #fff;
	color: var(--iv-text);
	font-size: 15.5px;
	line-height: 1.75;
}

.iv-cost__formula strong {
	color: var(--iv-ink);
}

.iv-cost__note {
	margin: 0;
	color: var(--iv-muted);
	font-size: 14.5px;
}

/* ==========================================================================
   11. DIEU KIEN: CAN CO / KHONG CAN
   ========================================================================== */

.iv-need__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) auto minmax(0, .9fr);
	gap: 24px;
	align-items: stretch;
	margin-top: 40px;
}

.iv-need__card {
	padding: 30px 32px;
	border-radius: var(--iv-radius-lg);
	box-sizing: border-box;
}

.iv-need__card--yes {
	border: 1px solid var(--iv-border);
	background: #fff;
	box-shadow: var(--iv-shadow-md);
}

.iv-need__card--no {
	border: 2px dashed var(--iv-border-strong);
	background: transparent;
}

.iv-main h3.iv-need__title {
	margin: 0 0 16px;
	font-size: 21px;
}

.iv-need__card--no .iv-need__title {
	color: var(--iv-muted);
}

.iv-need__list {
	display: grid;
	gap: 12px;
	list-style: none;
}

.iv-need__list li {
	position: relative;
	padding-left: 36px;
	color: var(--iv-ink);
	font-size: 16px;
	line-height: 1.5;
}

.iv-need__card--yes .iv-need__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--iv-orange);
}

.iv-need__card--yes .iv-need__list li::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 6px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.iv-need__card--no .iv-need__list li {
	color: var(--iv-muted);
	text-decoration: line-through;
	text-decoration-color: rgba(246, 69, 1, .7);
	text-decoration-thickness: 2px;
}

.iv-need__card--no .iv-need__list li::before,
.iv-need__card--no .iv-need__list li::after {
	content: "";
	position: absolute;
	left: 11px;
	top: 3px;
	width: 2.5px;
	height: 20px;
	border-radius: 2px;
	background: var(--iv-muted);
	transform: rotate(45deg);
}

.iv-need__card--no .iv-need__list li::after {
	transform: rotate(-45deg);
}

.iv-need__foot {
	margin: 18px 0 0;
	color: var(--iv-text);
	font-size: 14.5px;
}

.iv-need__vs {
	display: grid;
	align-self: center;
	place-items: center;
	width: 62px;
	height: 62px;
	border: 2px solid var(--iv-orange);
	border-radius: 50%;
	background: #fff;
	color: var(--iv-link);
	font-size: 17px;
	font-weight: 900;
	box-shadow: var(--iv-shadow-sm);
}

/* ==========================================================================
   12. CACH VAY: BON BUOC NOI CONG
   ========================================================================== */

.iv-steps__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
	margin-top: 44px;
	list-style: none;
}

.iv-step {
	position: relative;
	padding: 84px 24px 26px;
	border: 1px solid var(--iv-border);
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--iv-shadow-sm);
}

.iv-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 34px;
	right: -30px;
	width: 30px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 22'%3E%3Cpath d='M2 16C8 4 18 3 25 10' fill='none' stroke='%23F64501' stroke-width='2.2' stroke-linecap='round' stroke-dasharray='3 4'/%3E%3Cpath d='M20 10.5 26 11 25.5 5' fill='none' stroke='%23F64501' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.iv-step__num {
	position: absolute;
	top: 14px;
	left: 22px;
	color: var(--iv-soft-2);
	font-size: 54px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.02em;
}

@supports ((-webkit-text-stroke: 1px #000) or (text-stroke: 1px #000)) {
	.iv-step__num {
		color: transparent;
		-webkit-text-stroke: 2px var(--iv-orange);
	}
}

.iv-main h3.iv-step__title {
	margin: 0 0 8px;
	font-size: 18px;
}

.iv-step__text {
	margin: 0;
	color: var(--iv-text);
	font-size: 15px;
	line-height: 1.55;
}

.iv-step__chip {
	display: inline-block;
	margin-top: 14px;
	padding: 4px 13px;
	border-radius: 999px;
	background: var(--iv-soft-2);
	color: var(--iv-link);
	font-size: 13.5px;
	font-weight: 800;
}

.iv-steps__cta,
.iv-chat__cta {
	margin-top: 36px;
	text-align: center;
}

/* ==========================================================================
   13. VI SAO CHON: KHUNG CHAT HOI NHANH
   ========================================================================== */

.iv-chat {
	max-width: 740px;
	margin: 40px auto 0;
	overflow: hidden;
	border: 1px solid var(--iv-border);
	border-radius: var(--iv-radius-lg);
	background: #fff;
	box-shadow: var(--iv-shadow-md);
}

.iv-chat__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px;
	border-bottom: 1px solid var(--iv-border);
	background: var(--iv-soft);
}

.iv-chat__avatar {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 12px;
}

.iv-chat__who {
	display: flex;
	flex-direction: column;
	margin: 0;
	line-height: 1.3;
}

.iv-chat__who strong {
	color: var(--iv-ink);
	font-size: 17px;
}

.iv-chat__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--iv-muted);
	font-size: 13.5px;
}

.iv-chat__status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1E9E5A;
}

.iv-chat__body {
	display: grid;
	gap: 18px;
	padding: 26px 24px 28px;
	background:
		radial-gradient(circle at 1px 1px, rgba(232, 191, 163, .35) 1px, transparent 0) 0 0 / 18px 18px;
}

.iv-chat__pair {
	display: grid;
	gap: 8px;
}

.iv-chat__msg {
	position: relative;
	max-width: 80%;
	margin: 0;
	padding: 12px 16px;
	border-radius: 20px;
	font-size: 15.5px;
	line-height: 1.55;
	transition: opacity .35s ease, transform .35s ease, color .25s ease;
}

.iv-chat__msg--q {
	justify-self: end;
	border-bottom-right-radius: 6px;
	background: var(--iv-ink);
	color: #fff;
	font-weight: 600;
}

.iv-chat__msg--a {
	justify-self: start;
	border-bottom-left-radius: 6px;
	background: var(--iv-peach);
	color: var(--iv-ink);
}

.iv-chat__typing {
	display: none;
}

/* JS: is-armed -> bong bong an (van giu cho, khong gay CLS); tung cap: is-shown -> is-typing -> is-answered */
.iv-chat.is-armed .iv-chat__msg {
	opacity: 0;
	transform: translateY(10px);
}

.iv-chat.is-armed .iv-chat__pair.is-shown .iv-chat__msg--q {
	opacity: 1;
	transform: none;
}

.iv-chat.is-armed .iv-chat__pair.is-typing .iv-chat__msg--a {
	opacity: 1;
	transform: none;
	color: transparent;
}

.iv-chat.is-armed .iv-chat__pair.is-answered .iv-chat__msg--a {
	opacity: 1;
	transform: none;
	color: var(--iv-ink);
}

.iv-chat.is-armed .iv-chat__pair.is-typing .iv-chat__typing {
	position: absolute;
	left: 16px;
	top: 50%;
	display: inline-flex;
	gap: 5px;
	margin-top: -4px;
}

.iv-chat__typing i {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #C9895F;
	animation: iv-typing 1s ease-in-out infinite;
}

.iv-chat__typing i:nth-child(2) {
	animation-delay: .15s;
}

.iv-chat__typing i:nth-child(3) {
	animation-delay: .3s;
}

@keyframes iv-typing {
	0%, 100% { opacity: .35; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(-3px); }
}

/* ==========================================================================
   14. VAY CO TRACH NHIEM + THE PHAP NHAN
   ========================================================================== */

.iv-care__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 44px;
	align-items: start;
}

.iv-care__list {
	display: grid;
	gap: 12px;
	margin-top: 22px;
	list-style: none;
}

.iv-main .iv-care__list {
	margin-top: 22px;
}

.iv-care__list li {
	position: relative;
	padding: 14px 18px 14px 50px;
	border: 1px solid var(--iv-border);
	border-radius: 18px;
	background: #fff;
	color: var(--iv-ink);
	font-size: 16px;
	line-height: 1.5;
}

.iv-care__list li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 19px;
	width: 18px;
	height: 11px;
	border-radius: 50%;
	background: var(--iv-logo-gradient);
	transform: rotate(-45deg);
}

.iv-company {
	padding: 28px;
	border: 1px solid var(--iv-border);
	border-radius: var(--iv-radius-lg);
	background: #fff;
	box-shadow: var(--iv-shadow-md);
}

.iv-company__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--iv-border);
}

.iv-company__logo {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 14px;
}

.iv-main .iv-company__title {
	margin: 0;
	font-size: 20px;
}

.iv-company__rows {
	display: grid;
	gap: 0;
	margin: 0;
}

.iv-company__row {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--iv-border);
	font-size: 15px;
}

.iv-company__row:last-child {
	border-bottom: 0;
}

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

.iv-company__row dd {
	color: var(--iv-ink);
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* ==========================================================================
   15. KHOI NOI DUNG SEO (CO collapse)
   ========================================================================== */

.iv-seo {
	padding: 76px 0 88px;
	background: var(--iv-soft);
}

.iv-seo__card {
	position: relative;
	max-width: 920px;
	margin: 0 auto;
	padding: 48px 56px;
	border: 1px solid var(--iv-border);
	border-radius: var(--iv-radius-lg);
	background: #fff;
	box-shadow: var(--iv-shadow-sm);
	box-sizing: border-box;
}

.iv-seo__inner {
	position: relative;
	counter-reset: ivh2;
	color: var(--iv-text);
}

/* Sapo: cac doan truoc H2 dau tien */
.iv-seo__inner > p:not(h2 ~ p) {
	padding-left: 18px;
	border-left: 4px solid var(--iv-orange);
	color: var(--iv-ink);
}

.iv-seo__inner strong {
	color: var(--iv-ink);
}

.iv-main .iv-seo__inner h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 44px 0 16px;
	padding-top: 30px;
	border-top: 1px dashed var(--iv-border-strong);
	font-size: clamp(21px, 2.7vw, 27px);
	counter-increment: ivh2;
}

.iv-main .iv-seo__inner > h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.iv-main .iv-seo__inner h2::before {
	content: counter(ivh2, decimal-leading-zero);
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	background: var(--iv-petal) center / contain no-repeat;
	color: var(--iv-ink);
	font-size: 15px;
	font-weight: 900;
}

.iv-main .iv-seo__inner h3 {
	position: relative;
	margin: 28px 0 10px;
	padding-left: 28px;
	font-size: 19px;
}

.iv-main .iv-seo__inner h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 18px;
	height: 18px;
	background: var(--iv-star) center / contain no-repeat;
}

.iv-seo__inner ul {
	display: grid;
	gap: 8px;
	margin: 0 0 1.2em;
	list-style: none;
}

.iv-seo__inner ul li {
	position: relative;
	padding-left: 24px;
}

.iv-seo__inner ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .62em;
	width: 11px;
	height: 7px;
	border-radius: 50%;
	background: var(--iv-orange);
	transform: rotate(-45deg);
}

.iv-seo__inner ol {
	margin: 0 0 1.2em 1.3em;
}

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

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

.iv-seo__inner.is-collapsed {
	max-height: 620px;
	overflow: hidden;
}

.iv-seo__inner.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 160px;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff 88%);
	pointer-events: none;
}

.iv-seo__inner.is-animating {
	overflow: hidden;
	transition: max-height .6s ease;
}

.iv-seo__toggle-wrap {
	display: none;
	margin-top: 20px;
	text-align: center;
}

.iv-seo.is-collapsible .iv-seo__toggle-wrap {
	display: block;
}

.iv-body .iv-seo__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 24px;
	border: 1.5px solid var(--iv-orange);
	border-radius: var(--iv-radius-btn);
	background: #fff;
	color: var(--iv-link);
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.5;
	cursor: pointer;
}

.iv-body .iv-seo__toggle:hover,
.iv-body .iv-seo__toggle:focus {
	background: var(--iv-soft-2);
	color: var(--iv-primary-dark);
}

.iv-seo__toggle-icon {
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border: solid currentColor;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
	transition: transform .3s ease;
}

.iv-seo__toggle[aria-expanded="true"] .iv-seo__toggle-icon {
	margin-top: 4px;
	transform: rotate(-135deg);
}

/* ==========================================================================
   16. SUBPAGES
   ========================================================================== */

.iv-page-hero {
	padding: 44px 0 52px;
	background:
		radial-gradient(420px 260px at 8% 100%, rgba(252, 136, 19, .12), transparent 70%),
		radial-gradient(420px 260px at 94% 0%, rgba(246, 69, 1, .08), transparent 70%),
		linear-gradient(180deg, #FFF6EF 0%, #FFFFFF 100%);
	text-align: center;
}

.iv-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
}

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

.iv-breadcrumbs__item + .iv-breadcrumbs__item::before {
	content: "";
	width: 6px;
	height: 6px;
	border: solid var(--iv-muted);
	border-width: 1.5px 1.5px 0 0;
	transform: rotate(45deg);
}

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

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

.iv-main h1.iv-page-hero__title {
	max-width: 780px;
	margin: 0 auto 14px;
	font-size: clamp(1.3rem, 5vw, 2rem);
}

.iv-page-hero__desc {
	max-width: 700px;
	margin: 0 auto;
	color: var(--iv-text);
	font-size: 16.5px;
}

.iv-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 44px;
	align-items: start;
}

.iv-about__text p {
	font-size: 16.5px;
}

.iv-spec {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 36px 0 0;
}

.iv-spec__item {
	padding: 20px 22px;
	border: 1px solid var(--iv-border);
	border-radius: var(--iv-radius);
	background: #fff;
}

.iv-spec__item dt {
	margin-bottom: 4px;
	color: var(--iv-muted);
	font-size: 14px;
}

.iv-spec__item dd {
	color: var(--iv-ink);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.iv-values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin-top: 36px;
}

.iv-value {
	padding: 28px;
	border: 1px solid var(--iv-border);
	border-radius: var(--iv-radius-lg);
	background: #fff;
	box-shadow: var(--iv-shadow-sm);
}

.iv-value__icon {
	display: block;
	width: 38px;
	height: 38px;
	margin-bottom: 14px;
	fill: var(--iv-orange);
}

.iv-main h3.iv-value__title {
	margin: 0 0 8px;
	font-size: 19px;
}

.iv-value__text {
	margin: 0;
	font-size: 15.5px;
}

.iv-warn {
	margin: 22px 0 0;
	padding: 14px 18px;
	border-left: 4px solid var(--iv-orange);
	border-radius: 0 14px 14px 0;
	background: #fff;
	color: var(--iv-ink);
	font-size: 15px;
}

.iv-guide {
	display: grid;
	gap: 16px;
	margin-top: 30px;
	list-style: none;
}

.iv-guide__step {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 24px 26px;
	border: 1px solid var(--iv-border);
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--iv-shadow-sm);
}

.iv-guide__num {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--iv-gradient);
	color: #fff;
	font-size: 22px;
	font-weight: 900;
}

.iv-main h3.iv-guide__title {
	margin: 4px 0 8px;
	font-size: 19px;
}

.iv-guide__body p {
	margin: 0;
}

.iv-guide__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.iv-guide__col {
	padding: 30px;
	border: 1px solid var(--iv-border);
	border-radius: var(--iv-radius-lg);
	background: #fff;
}

.iv-guide__note {
	margin: 18px 0 0;
	color: var(--iv-muted);
	font-size: 15px;
}

.iv-check {
	display: grid;
	gap: 10px;
	margin-top: 8px;
	list-style: none;
}

.iv-check li {
	position: relative;
	padding-left: 34px;
	color: var(--iv-ink);
	line-height: 1.5;
}

.iv-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--iv-soft-2);
	box-shadow: inset 0 0 0 2px var(--iv-orange);
}

.iv-check li::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 6px;
	width: 5px;
	height: 10px;
	border: solid var(--iv-link);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.iv-contact {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
}

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

.iv-contact__icon {
	display: block;
	width: 50px;
	height: 50px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--iv-soft-2) center / 24px 24px no-repeat;
}

.iv-contact__icon--phone {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B83D00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
}

.iv-contact__icon--mail {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B83D00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.iv-contact__icon--pin {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B83D00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.iv-contact__icon--clock {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B83D00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

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

.iv-contact__value {
	margin: 0 0 8px;
	color: var(--iv-ink);
	font-size: 17px;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.iv-contact__text {
	margin: 0;
	font-size: 14.5px;
}

.iv-faq {
	display: grid;
	gap: 14px;
}

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

.iv-main h2.iv-faq__q {
	margin: 0;
	font-size: 17.5px;
}

.iv-body .iv-faq__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 24px;
	border: 0;
	border-radius: var(--iv-radius);
	background: transparent;
	color: var(--iv-ink);
	font: inherit;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}

.iv-body .iv-faq__btn:hover,
.iv-body .iv-faq__btn:focus {
	background: transparent;
	color: var(--iv-link);
}

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

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

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

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

.iv-faq__a {
	padding: 0 24px 20px;
}

.iv-faq__a p {
	margin: 0;
	font-size: 16px;
}

.iv-faq__a[hidden] {
	display: none;
}

.iv-faq__more {
	margin: 26px 0 0;
	text-align: center;
}

.iv-doc {
	max-width: 900px;
}

.iv-doc .iv-seo__inner > p:not(h2 ~ p) {
	padding-left: 0;
	border-left: 0;
	color: var(--iv-text);
}

/* CTA band */
.iv-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	overflow: hidden;
	padding: 40px 48px;
	border-radius: var(--iv-radius-lg);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 220'%3E%3Cg fill='%23fff' fill-opacity='.12'%3E%3Cellipse cx='120' cy='30' rx='86' ry='52' transform='rotate(-45 120 30)'/%3E%3Cellipse cx='280' cy='190' rx='86' ry='52' transform='rotate(45 280 190)'/%3E%3C/g%3E%3C/svg%3E") right center / auto 100% no-repeat,
		var(--iv-gradient);
	color: #fff;
}

.iv-cta__body {
	position: relative;
	max-width: 640px;
}

.iv-main h2.iv-cta__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}

.iv-cta__desc {
	margin: 0;
	color: #fff;
	font-size: 16px;
}

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

/* ==========================================================================
   17. 404
   ========================================================================== */

.iv-404 {
	padding: 88px 0 104px;
	text-align: center;
}

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

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

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

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.iv-footer {
	padding: 60px 0 0;
	background: var(--iv-ink);
	color: rgba(255, 255, 255, .8);
	font-size: 15px;
}

.iv-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .9fr) minmax(0, 1.3fr);
	gap: 36px;
}

.iv-body .iv-footer__logo-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	color: #fff;
	text-decoration: none;
}

.iv-body .iv-footer__logo-link:hover,
.iv-body .iv-footer__logo-link:focus {
	color: var(--iv-orange-light);
}

.iv-footer__logo {
	display: block;
	width: 60px;
	height: 60px;
	border-radius: 16px;
}

.iv-footer__sitename {
	font-size: 26px;
	font-weight: 900;
}

.iv-footer__desc,
.iv-footer__legal {
	margin: 0 0 12px;
	line-height: 1.65;
}

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

.iv-footer__warn {
	margin: 0;
	padding-left: 12px;
	border-left: 3px solid var(--iv-orange-light);
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
	line-height: 1.6;
}

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

.iv-footer__links,
.iv-footer__contact {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.iv-body .iv-footer a:hover,
.iv-body .iv-footer a:focus {
	color: var(--iv-orange-light);
	text-decoration: underline;
}

.iv-footer__contact li {
	display: grid;
	gap: 2px;
	line-height: 1.5;
}

.iv-footer__label {
	color: rgba(255, 255, 255, .62);
	font-size: 13px;
}

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

.iv-footer__copy {
	margin: 0;
	color: rgba(255, 255, 255, .66);
	font-size: 14px;
	text-align: center;
}

/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */

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

@media (max-width: 1200px) {
	.iv-flip__grid {
		gap: 28px;
	}

	.iv-flip__stage {
		width: 340px;
		height: 340px;
		border-radius: 86px;
	}

	.iv-flip__coin {
		width: 134px;
		height: 82px;
	}

	.iv-flip__coin--1 { left: 29px; top: 56px; }
	.iv-flip__coin--2 { left: 177px; top: 56px; }
	.iv-flip__coin--3 { left: 29px; top: 202px; }
	.iv-flip__coin--4 { left: 177px; top: 202px; }

	.iv-flip__star {
		width: 150px;
		height: 150px;
		margin: -75px 0 0 -75px;
	}
}

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

	.iv-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.iv-hero__visual {
		display: contents;
	}

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

	.iv-hero__desc {
		order: 2;
		margin-bottom: 24px;
	}

	.iv-hero__content {
		order: 3;
		justify-self: center;
		max-width: 560px;
	}

	.iv-hero__art {
		order: 4;
		justify-self: center;
		width: 100%;
		margin-top: 28px;
	}

	.iv-stats {
		margin-top: -28px;
		margin-bottom: 8px;
	}

	.iv-flip__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.iv-flip__stage {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
		margin-bottom: 16px;
	}

	.iv-flip__marks {
		gap: 20px;
	}

	.iv-flip__marks--left .iv-flip__mark {
		flex-direction: row;
		text-align: left;
	}

	.iv-cost__grid,
	.iv-care__grid,
	.iv-about__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.iv-steps__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.iv-step:not(:last-child)::after {
		display: none;
	}

	.iv-spec {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.iv-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.iv-header__inner {
		min-height: 68px;
		gap: 12px;
	}

	.iv-header__logo {
		width: 46px;
		height: 46px;
		border-radius: 12px;
	}

	.iv-header__sitename {
		font-size: 22px;
	}

	.iv-header__cta {
		display: none;
	}

	.iv-body .iv-header__toggle {
		display: block;
	}

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

	/* Panel off-canvas: fixed, KHONG nam trong phan tu co z-index so (header khong dat z-index) */
	.iv-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1001;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: min(86vw, 340px);
		padding: 20px;
		background: #fff;
		box-shadow: -12px 0 40px rgba(42, 26, 18, .18);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility .3s ease;
		overflow-y: auto;
		box-sizing: border-box;
	}

	.iv-nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

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

	.iv-nav__label {
		color: var(--iv-muted);
		font-size: 14px;
		font-weight: 700;
		letter-spacing: .04em;
		text-transform: uppercase;
	}

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

	.iv-body .iv-nav__close:hover,
	.iv-body .iv-nav__close:focus {
		background: var(--iv-soft);
		color: var(--iv-link);
	}

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

	.iv-nav__close-icon::before,
	.iv-nav__close-icon::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		width: 16px;
		height: 2.5px;
		margin: -1.25px 0 0 -8px;
		border-radius: 2px;
		background: currentColor;
		transform: rotate(45deg);
	}

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

	.iv-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.iv-body .iv-nav__link {
		padding: 13px 16px;
		border-radius: 14px;
		font-size: 17px;
	}

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

	.iv-hero__art {
		display: none;
	}

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

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

	.iv-loan {
		padding: 22px 20px 18px;
		border-radius: 26px;
	}

	.iv-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 8px;
	}

	.iv-flip__grid {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 34px;
	}

	.iv-flip__stage {
		margin-bottom: 8px;
	}

	.iv-petals__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		margin-top: 32px;
	}

	.iv-petals__badge {
		position: static;
		justify-self: center;
		width: 150px;
		height: 150px;
		margin: 0 0 4px;
	}

	.iv-petal,
	.iv-petal--tl,
	.iv-petal--tr,
	.iv-petal--bl,
	.iv-petal--br {
		min-height: 0;
		padding: 22px 24px;
		border-radius: 26px 26px 26px 64px;
	}

	.iv-cost__card {
		padding: 22px 20px;
	}

	.iv-need__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		margin-top: 30px;
	}

	.iv-need__vs {
		display: none;
	}

	.iv-need__card {
		padding: 24px 22px;
	}

	.iv-chat__body {
		padding: 20px 14px 22px;
	}

	.iv-chat__msg {
		max-width: 88%;
		font-size: 15px;
	}

	.iv-seo {
		padding: 56px 0 64px;
	}

	.iv-seo__card {
		padding: 30px 22px;
		border-radius: 26px;
	}

	.iv-main .iv-seo__inner h2 {
		gap: 10px;
	}

	.iv-main .iv-seo__inner h2::before {
		width: 44px;
		height: 44px;
		font-size: 13.5px;
	}

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

	.iv-values,
	.iv-guide__cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.iv-guide__step {
		grid-template-columns: 46px minmax(0, 1fr);
		gap: 14px;
		padding: 20px;
	}

	.iv-guide__num {
		width: 46px;
		height: 46px;
		font-size: 19px;
	}

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

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

	.iv-footer {
		padding-top: 44px;
	}

	.iv-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

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

@media (max-width: 480px) {
	.iv-flip__stage {
		width: 280px;
		height: 280px;
		border-radius: 70px;
	}

	.iv-flip__coin {
		width: 112px;
		height: 68px;
	}

	.iv-flip__coin--1 { left: 20px; top: 42px; }
	.iv-flip__coin--2 { left: 148px; top: 42px; }
	.iv-flip__coin--3 { left: 20px; top: 170px; }
	.iv-flip__coin--4 { left: 148px; top: 170px; }

	.iv-flip__digit {
		font-size: 28px;
	}

	.iv-flip__star {
		width: 124px;
		height: 124px;
		margin: -62px 0 0 -62px;
	}

	.iv-flip__time {
		font-size: 14px;
		padding: 2px 8px;
	}

	.iv-flip__mark {
		padding: 16px 18px;
	}

	.iv-loan__value {
		font-size: 23px;
	}

	.iv-steps__list,
	.iv-spec,
	.iv-contact {
		grid-template-columns: minmax(0, 1fr);
	}

	.iv-cost__row-head {
		flex-direction: column;
		gap: 2px;
	}

	.iv-cost__sum {
		text-align: left;
	}

	.iv-company {
		padding: 22px 20px;
	}

	.iv-company__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}
}

/* ==========================================================================
   20. 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;
	}
}
