/**
 * Trang chủ 2026 New (template-parts/content-home-2026-new.php) — gộp 1 file CSS.
 * Nguồn: <style> của resources/templates/home/tmp-*.php (bản PHP cũ vẫn giữ inline).
 * Đội ngũ: stylesheets/team-2026.css (dùng chung).
 */

/* ===== Video / slider đầu trang (tmp-video) ===== */
.home-hero-video {
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw;
	max-width: 100vw;
	height: auto;
	min-height: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #0b0f16;
}

@media (min-width: 992px) {
	.home-hero-video {
		height: 100vh;
		height: 100svh;
		height: 100dvh;
		min-height: 100vh;
		min-height: 100svh;
		min-height: 100dvh;
		aspect-ratio: auto;
		margin-top: calc(var(--imm-header-h, 0px) * -1);
	}
}

.home-hero-video::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(7, 11, 18, .14) 0%, rgba(7, 11, 18, .08) 38%, rgba(7, 11, 18, .34) 100%);
}

.home-hero-video__frame {
	position: relative;
	width: 100%;
	height: 100%;
}

.home-hero-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}

/* ===== Hero bản đồ + Chương trình (tmp-hero-programs) ===== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&display=swap');
/* Màu chủ đạo: stylesheets/variables.css (:root) */
.home-hero-prog {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    background: #edf3fb;
    color: #15243a;
    box-sizing: border-box;
    isolation: isolate;
}

/* Biến thể nền trắng (trang Services) */
.home-hero-prog--white {
    background: #ffffff;
}

/* Container hẹp hơn, theo breakpoint của .container Bootstrap */
.home-prog--narrow .home-prog__shell {
    max-width: 540px;
}
@media (min-width:768px) {
    .home-prog--narrow .home-prog__shell { max-width: 750px; }
}
@media (min-width:992px) {
    .home-prog--narrow .home-prog__shell { max-width: 970px; }
}
@media (min-width:1200px) {
    .home-prog--narrow .home-prog__shell { max-width: 1170px; }
}

.home-hero-banner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    background: transparent;
}

@media (min-width:992px) {
    .home-hero-banner {
        min-height: calc(min(100vh, 100dvh) - var(--imm-header-h, 60px));
    }
}

/* Ảnh nền gốc — sharp, cover, không blur */
.home-hero-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* background-color: #dfe8f4;
    background-image: url('../images/home/bg-primary.avif');
    background-repeat: no-repeat;
    background-position: 62% center;
    background-size: cover;
    filter: brightness(.95) blur(4px); */
}

/* Phủ nền sáng từ trái sang phải để hero chuyển sang light treatment */
.home-hero-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, .996) 0%,
            rgba(255, 255, 255, .992) 22%,
            rgba(254, 255, 255, .978) 42%,
            rgba(251, 253, 255, .94) 62%,
            rgba(246, 249, 253, .86) 82%,
            rgba(242, 246, 252, .78) 100%),
        linear-gradient(135deg,
            rgba(251, 253, 255, .96) 0%,
            rgba(247, 250, 255, .86) 30%,
            rgba(244, 248, 254, .62) 48%,
            rgba(255, 255, 255, .18) 62%,
            rgba(255, 255, 255, 0) 72%);
}

.home-hero-banner__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 66% 94% at 86% 48%, rgba(255, 255, 255, .36) 0%, rgba(244, 248, 255, .18) 24%, rgba(210, 226, 248, .07) 40%, transparent 56%),
        linear-gradient(135deg, transparent 64%, rgba(229, 238, 252, .08) 82%, rgba(255, 255, 255, .18) 92%, rgba(255, 255, 255, .24) 100%);
    mix-blend-mode: screen;
    opacity: .88;
}

.home-hero-banner__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 24%, rgba(231, 239, 249, .18) 100%);
}

/* Lưới tinh + noise ảo */
.home-hero-prog::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: .05;
    background-image:
        linear-gradient(rgba(20, 35, 58, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 35, 58, .08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to top right, black 0%, black 72%, transparent 97%);
}


.home-hero-banner__shell {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1rem, 1.8vw, 1.5rem);
    min-height: 0;
    padding: clamp(1rem, 2vw, 1.75rem) 0;
    margin-top: calc(var(--imm-header-h, 80px) * -1.5);
}

@media (min-width:992px) {
    .home-hero-banner__shell {
        min-height: calc(min(100vh, 100dvh) - var(--imm-header-h, 80px));
    }
}

/* Desktop thấp (ví dụ 1366x768): tránh kéo hero lên dưới header. */
@media (min-width:992px) and (max-height:900px) {
    .home-hero-banner__shell {
        margin-top: 0;
        justify-content: flex-start;
        padding-top: calc(var(--imm-header-h, 80px) + .75rem);
    }
}

.home-hero-banner__split-wrap {
    width: 100%;
    max-width: min(1440px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4.2vw, 3rem);
    padding-right: clamp(1rem, 4.2vw, 3rem);
    box-sizing: border-box;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.home-hero-banner__split {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    gap: 1rem;
}

@media (min-width:992px) {
    .home-hero-banner__split {
        display: block;
    }
}

.home-hero-banner__map-col {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.home-hero-banner__map {
    width: 100%;
    max-width: clamp(340px, 96vw, 900px);
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16/9;
}

.home-hero-banner__map .jvm-container {
    overflow: visible;
}

@media (min-width:992px) {
    .home-hero-banner__map {
        max-width: clamp(580px, 72vw, 1080px);
        aspect-ratio: 16/9;
    }
}

@media (min-width:1200px) {
    .home-hero-banner__map {
        max-width: 1040px;
    }
}

@media (max-width:1199.98px) and (min-width:992px) {
    .home-hero-banner {
        min-height: auto;
    }

    .home-hero-banner__shell {
        min-height: 0;
        justify-content: flex-start;
        gap: 1.35rem;
        padding-top: calc(var(--imm-header-h, 80px) + 1rem);
        padding-bottom: 1.5rem;
        margin-top: calc(var(--imm-header-h, 80px) * -1);
    }

    .home-hero-banner__split-wrap {
        padding-left: clamp(1.25rem, 3.6vw, 2.25rem);
        padding-right: clamp(1.25rem, 3.6vw, 2.25rem);
    }

    .home-hero-banner__map {
        max-width: clamp(560px, 62vw, 960px);
        aspect-ratio: 16/9;
    }

}

.home-hero-banner__content {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 36rem;
    text-align: left;
}

.home-hero-banner__content::before {
    display: none;
}

.home-hero-banner__content-inner {
    padding-left: 0;
}

.home-hero-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .9rem;
    padding: .34rem .65rem;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(21, 36, 58, .64);
    border: 1px solid rgb(from var(--imm-primary) r g b / 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, .52);
}

.home-hero-banner__badge::before {
    content: "✦";
    display: inline-block;
    font-size: .78rem;
    line-height: 1;
    color: var(--imm-primary);
    text-shadow: 0 0 10px rgb(from var(--imm-primary) r g b / 0.22);
}

.home-hero-banner__headline--flow {
    display: block;
    max-width: 100%;
}

.home-hero-banner__headline {
    margin: 0 0 .85rem;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .015em;
    font-size: clamp(1.7rem, 3.45vw, 3rem);
    color: #15243a;
    text-shadow: 0 6px 20px rgba(255, 255, 255, .28);
}

.home-hero-banner__headline-line {
    display: block;
}

.home-hero-banner__headline-line--1 {
font-weight: 600;
}


.home-hero-banner__headline .home-hero-banner__accent {
    color: var(--imm-primary);
    text-shadow: 0 0 40px rgb(from var(--imm-primary) r g b / 0.15);
}

.home-hero-banner__sub {
    margin: 0 0 .8rem;
    font-size: clamp(.875rem, 1.05vw, 1rem);
    line-height: 1.65;
    font-weight: 400;
    color: #536278;
    max-width: 40rem;
}

.home-hero-banner__quote {
    margin: 0 0 1.05rem;
    font-size: .84rem;
    /* font-style:italic; */
    font-weight: 300;
    color: rgba(21, 36, 58, .62);
    max-width: 32rem;
    padding-left: 1rem;
    border-left: 1px solid rgb(from var(--imm-primary) r g b / 0.35);
}

.home-hero-banner__actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: .65rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

.home-hero-banner__cta-primary {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 3.15rem;
    padding: .72rem 1rem;
    font-size: clamp(.82rem, .95vw, .9rem);
    font-weight: 500;
    letter-spacing: .015em;
    line-height: 1.14;
    white-space: nowrap;
    color: #fff;
    background: var(--imm-primary);
    border: 1px solid rgb(from var(--imm-primary-dark) r g b / 0.22);
    border-radius: .55rem;
    text-decoration: none;
    box-shadow: none;
    transition: opacity .2s ease, background-color .2s ease, border-color .2s ease;
}

.home-hero-banner__cta-primary .home-hero-banner__cta-label,
.home-hero-banner__cta-secondary .home-hero-banner__cta-label {
    display: inline-flex;
    align-items: center;
}

.home-hero-banner__cta-primary span[aria-hidden="true"] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1;
}

.home-hero-banner__cta-primary:hover,
.home-hero-banner__cta-primary:focus {
    color: #fff;
    text-decoration: none;
    opacity: .92;
}

.home-hero-banner__cta-secondary {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 3.15rem;
    padding: .72rem 1rem;
    font-size: clamp(.82rem, .95vw, .9rem);
    font-weight: 500;
    letter-spacing: .015em;
    line-height: 1.14;
    white-space: nowrap;
    color: #15243a;
    background: #fff;
    border: 1px solid rgba(21, 36, 58, .14);
    border-radius: .55rem;
    text-decoration: none;
    box-shadow: none;
    transition: border-color .2s, background-color .2s, color .2s;
}

.home-hero-banner__cta-secondary:hover,
.home-hero-banner__cta-secondary:focus {
    color: #15243a;
    border-color: rgba(21, 36, 58, .22);
    background: #fff;
    text-decoration: none;
}

@media (max-width:991.98px) {
    .home-hero-banner__bg {
        background-position: 70% center;
    }

    .home-hero-banner__shell {
        justify-content: flex-start;
        gap: 1.5rem;
        padding-top: calc(var(--imm-header-h, 80px) + .9rem);
        padding-bottom: 2rem;
        margin-top: calc(var(--imm-header-h, 80px) * -1);
    }

    .home-hero-banner__split-wrap {
        padding-left: clamp(1rem, 4.8vw, 2rem);
        padding-right: clamp(1rem, 4.8vw, 2rem);
    }

    .home-hero-banner__split {
        gap: 1.5rem;
    }

    .home-hero-banner__map-col {
        width: 100%;
    }

    .home-hero-banner__map {
        max-width: min(100%, 760px);
        margin-left: auto;
        margin-right: auto;
        aspect-ratio: 16/10;
    }

}

@media (max-width:767.98px) {
    .home-hero-prog::before {
        opacity: .035;
        background-size: 48px 48px;
    }

    .home-hero-banner__bg {
        background-position: 74% top;
    }

    .home-hero-banner__shell {
        gap: 1.15rem;
        padding-top: calc(var(--imm-header-h, 80px) + 2.5rem);
        padding-bottom: 1.5rem;
    }

    .home-hero-banner__split {
        gap: 1.15rem;
    }

    .home-hero-banner__map {
        max-width: min(100%, 680px);
        aspect-ratio: 16/10;
    }

    /* Featured item is first (col-12); grid items are children 2-5 */

}

@media (max-width:575.98px) {
    .home-hero-banner__shell {
        padding-top: calc(var(--imm-header-h, 72px) + 2.25rem);
        padding-bottom: 1.25rem;
    }

    .home-hero-banner__map {
        max-width: min(100%, 580px);
        aspect-ratio: 16/10;
    }


}

@media (max-width:420.98px) {
}

.home-hero-banner--after-media {
    margin-top: 0;
}

.home-hero-banner--after-media .home-hero-banner__shell {
    min-height: 0;
    margin-top: 0;
    justify-content: flex-start;
    padding-top: clamp(2rem, 4vw, 3.25rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width:992px) {
    .home-hero-banner--after-media {
        min-height: auto;
    }

    .home-hero-banner--after-media .home-hero-banner__shell {
        padding-top: clamp(2.5rem, 4vw, 3.75rem);
    }
}

@media (min-width:992px) and (max-height:900px) {
    .home-hero-banner--after-media .home-hero-banner__shell {
        padding-top: clamp(2.5rem, 4vw, 3.75rem);
    }
}

@media (max-width:991.98px) {
    .home-hero-banner--after-media .home-hero-banner__shell {
        padding-top: clamp(1.75rem, 5vw, 2.5rem);
    }
}

@media (max-width:767.98px) {
    .home-hero-banner--after-media .home-hero-banner__shell {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width:575.98px) {
    .home-hero-banner--after-media .home-hero-banner__shell {
        padding-top: 1.35rem;
        padding-bottom: 1.35rem;
    }
}

/* Biến thể map gọn (trang Services): bỏ khung cao full viewport */
.home-hero-banner--compact {
    min-height: 0;
}

.home-hero-banner--compact .home-hero-banner__shell {
    min-height: 0;
    margin-top: 0;
    justify-content: flex-start;
    gap: .75rem;
    padding-top: clamp(.5rem, 1.2vw, 1rem);
    padding-bottom: clamp(.5rem, 1.2vw, 1rem);
}

@media (min-width:992px) {
    .home-hero-banner--compact .home-hero-banner__map {
        max-width: clamp(560px, 62vw, 920px);
    }
}

@media (min-width:1200px) {
    .home-hero-banner--compact .home-hero-banner__map {
        max-width: 920px;
    }
}

@media (max-width:767.98px) {
    .home-hero-banner--compact .home-hero-banner__shell {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}

/* ─── Programs (shared background) ─────────────────────────────── */
.home-prog {
	position: relative;
	z-index: 3;
	background: transparent;
	box-sizing: border-box;
}

.home-prog__shell {
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4.2vw, 3rem) clamp(2rem, 4.5vw, 3.5rem);
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ── Controls bar: tabs + result count ── */
.home-prog__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #edf0f5;
	margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
	gap: 1rem;
}

/* ── Tab bar ── */
.home-prog__tabs {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	gap: 0;
	flex: 1;
	position: relative;
}

.home-prog__tabs::-webkit-scrollbar { display: none; }

.home-prog__tab {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .65rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: #6b7a90;
	background: none;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: color .18s;
	font-family: inherit;
}

.home-prog__tab:hover { color: #15243a; }

.home-prog__tab[aria-pressed="true"] {
	color: var(--imm-primary);
}

/* Sliding underline indicator */
.home-prog__tab-indicator {
	position: absolute;
	bottom: -1px;
	height: 2px;
	background: var(--imm-primary);
	border-radius: 2px 2px 0 0;
	pointer-events: none;
	transition: left .28s cubic-bezier(.4, 0, .2, 1), width .28s cubic-bezier(.4, 0, .2, 1);
}

.home-prog__tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.3rem;
	height: 1.3rem;
	padding: 0 .3rem;
	font-size: .62rem;
	font-weight: 700;
	background: #edf0f4;
	color: #6b7a90;
	border-radius: 999px;
	transition: background .18s, color .18s;
}

.home-prog__tab[aria-pressed="true"] .home-prog__tab-count {
	background: rgb(from var(--imm-primary) r g b / 0.10);
	color: var(--imm-primary);
}

/* ── Result count ── */
.home-prog__result-count {
	font-size: .78rem;
	color: #8a96a5;
	white-space: nowrap;
	flex-shrink: 0;
	display: none;
}

.home-prog__result-count strong {
	color: #15243a;
	font-weight: 700;
}

/* ── Grid ── */
.home-prog__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	transition: opacity .18s;
}

@media (min-width: 600px) {
	.home-prog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
	.home-prog__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Card ── */
.home-prog__card {
	background: #fff;
	cursor: pointer;
	border: 1px solid #edf0f5;
	border-radius: .875rem;
	padding: clamp(1.25rem, 1.8vw, 1.5rem);
	display: flex;
	flex-direction: column;
	gap: 0;
	transition: box-shadow .22s, border-color .22s, transform .22s;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 10px 32px rgba(21,36,58,.09);
}

.home-prog__card:hover {
	box-shadow: 0 10px 32px rgba(21,36,58,.09);
	border-color: rgb(from var(--imm-primary) r g b / 0.28);
	transform: translateY(-3px);
}

/* Top row: type badge + flag */
.home-prog__card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: .875rem;
}

.home-prog__card-type {
	display: inline-flex;
	align-items: center;
	padding: .22rem .65rem;
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 999px;
}

.home-prog__card-type--residency {
	background: #eaf1fb;
	color: #2563a8;
}

.home-prog__card-type--citizenship {
	background: rgb(from var(--imm-primary) r g b / 0.09);
	color: var(--imm-primary);
}

.home-prog__card-flag {
	font-size: 1.75rem;
	line-height: 1;
}

/* Name */
.home-prog__card-name {
	font-size: clamp(1rem, 1.05vw, 1.02rem);
	font-weight: 700;
	color: #15243a;
	margin: 0 0 .875rem;
	line-height: 1.3;
}

/* Divider */
.home-prog__card-divider {
	height: 1px;
	background: #edf0f4;
	margin-bottom: .875rem;
}

/* Meta rows */
.home-prog__card-meta {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	margin-bottom: .875rem;
}

.home-prog__card-meta-row {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 1rem;
	color: #536278;
}

.home-prog__card-meta-row svg {
	width: .9rem;
	height: .9rem;
	flex-shrink: 0;
	color: var(--imm-primary);
	opacity: .7;
}

.home-prog__card-meta-val {
	font-weight: 400;
	color: #15243a;
	font-size: 1rem;
}

.home-prog__card[hidden] { display: none; }

/* Khi đang lọc theo khu vực (không phải "Tất cả"), card có priority được đẩy lên đầu */
.home-prog__grid--filtered .home-prog__card[data-priority="1"] { order: -1; }

/* ── Empty state ── */
.home-prog__empty {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: 3.5rem 1rem;
	text-align: center;
}

.home-prog__empty.is-visible { display: flex; }

.home-prog__empty-icon {
	width: 2.5rem;
	height: 2.5rem;
	color: #c4cdd8;
	margin-bottom: .25rem;
}

.home-prog__empty-icon svg { display: block; width: 100%; height: 100%; }

.home-prog__empty-msg {
	font-size: .95rem;
	font-weight: 700;
	color: #15243a;
	margin: 0;
}

.home-prog__empty-sub {
	font-size: .825rem;
	color: #8a96a5;
	margin: 0;
}

/* ===== Bất động sản quốc tế (tmp-realestate) ===== */
/* ─── Bất động sản quốc tế ─────────────────────────────── */
.home-re {
	--re-ink: #0f1c2e;
	--re-ink-muted: #6b7a90;
	--re-border: rgba(21, 36, 58, .08);

	position: relative;
	background: #fff;
	box-sizing: border-box;
}

.home-re__shell {
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1rem, 4.2vw, 3rem);
}

.home-re__header {
	max-width: 44rem;
	margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
	text-align: center;
}

.home-re__heading {
	margin: 0;
	font-family: commerceB, Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(1.75rem, 3vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: .01em;
	color: var(--re-ink);
}

.home-re__heading a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.home-re__heading a:hover,
.home-re__heading a:focus-visible {
	color: var(--imm-primary, #cb0e12);
	text-decoration: none;
}

.home-re__tagline {
	margin: .85rem auto 0;
	max-width: 40rem;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--re-ink-muted);
}

/* ── 2 mục con ── */
.home-re__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 900px) {
	.home-re__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.home-re__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: clamp(1.35rem, 2.2vw, 1.9rem);
	background: #fff;
	border: 1px solid #edf0f5;
	border-radius: .875rem;
	box-shadow: 0 10px 32px rgba(21, 36, 58, .09);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: box-shadow .22s, border-color .22s, transform .22s;
}

.home-re__card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--imm-primary, #cb0e12) 0%, rgb(from var(--imm-primary, #cb0e12) r g b / .18) 100%);
	opacity: 0;
	transition: opacity .22s;
}

.home-re__card:hover,
.home-re__card:focus-visible {
	color: inherit;
	text-decoration: none;
	border-color: rgb(from var(--imm-primary, #cb0e12) r g b / 0.28);
	transform: translateY(-3px);
}

.home-re__card:hover::before,
.home-re__card:focus-visible::before {
	opacity: 1;
}

.home-re__card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.home-re__card-badge {
	display: inline-flex;
	align-items: center;
	padding: .22rem .65rem;
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 999px;
}

.home-re__card--residency .home-re__card-badge {
	background: #eaf1fb;
	color: #2563a8;
}

.home-re__card--citizenship .home-re__card-badge {
	background: rgb(from var(--imm-primary, #cb0e12) r g b / 0.09);
	color: var(--imm-primary, #cb0e12);
}

.home-re__card-icon {
	display: inline-flex;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
	color: var(--imm-primary, #cb0e12);
	opacity: .75;
}

.home-re__card-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.home-re__card-title {
	margin: 0 0 .55rem;
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--re-ink);
	transition: color .2s ease;
}

.home-re__card:hover .home-re__card-title {
	color: var(--imm-primary, #cb0e12);
}

.home-re__card-desc {
	margin: 0 0 1rem;
	font-size: 1rem;
	line-height: 1.68;
	color: var(--re-ink-muted);
}

.home-re__card-points {
	list-style: none;
	margin: 0 0 1.15rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.home-re__card-point {
	display: grid;
	grid-template-columns: 1.05rem minmax(0, 1fr);
	gap: .6rem;
	font-size: 1rem;
	line-height: 1.55;
	color: #536278;
}

.home-re__card-point svg {
	width: 1.05rem;
	height: 1.05rem;
	margin-top: .22rem;
	color: var(--imm-primary, #cb0e12);
	opacity: .7;
}

.home-re__card-foot {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--re-border);
}

.home-re__card-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.home-re__card-invest {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	min-width: 0;
}

.home-re__card-invest-label {
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--re-ink-muted);
}

.home-re__card-invest-value {
	font-family: commerceB, Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.25;
	color: var(--re-ink);
}

.home-re__card--citizenship .home-re__card-invest-value {
	color: var(--imm-primary, #cb0e12);
}

.home-re__card-cta {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--imm-primary, #cb0e12);
	white-space: nowrap;
}

.home-re__card-cta svg {
	width: .95rem;
	height: .95rem;
	transition: transform .22s;
}

.home-re__card:hover .home-re__card-cta svg {
	transform: translateX(3px);
}

@media (max-width: 575.98px) {
	.home-re__card-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: .5rem;
	}
}
/* ─── Video giới thiệu (chỉ bật qua tham số show_video) ───── */
.home-re__video {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
}

/* Phóng iframe quá khung 1px mỗi phía rồi cắt bằng overflow: hidden.
   Khung rộng theo % nên bề ngang hay ra số lẻ; trình duyệt làm tròn khiến tỉ lệ
   lệch khỏi 16/9 vài phần nghìn, và nền đen của trình phát YouTube lộ ra thành
   hai vạch mảnh ở hai bên. Cắt 1px là hết, mắt không thấy mất phần nào của hình. */
.home-re__video iframe {
	position: absolute;
	top: -1px;
	left: -1px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	border: 0;
	display: block;
}

/* ===== IMM Group có gì khác biệt (tmp-difference) ===== */
/* ─── Difference section ─────────────────────────────────── */
.home-diff {
	--diff-ink: #0f1c2e;
	--diff-ink-muted: #6b7a90;
	--diff-border: rgba(21, 36, 58, .08);

	background: #fff;
	box-sizing: border-box;
}

.home-diff__shell {
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1rem, 4.2vw, 3rem);
}

.home-diff__header {
	max-width: 44rem;
	margin: 0 auto clamp(1.25rem, 2.5vw, 2rem);
	text-align: center;
}

.home-diff__heading {
	margin: 0;
	font-family: commerceB, Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(1.75rem, 3vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: .01em;
	color: var(--diff-ink);
}

/* Head block (eyebrow + title + tagline) — chỉ hiện trên trang About.
   Đồng bộ style với .acx__head / .acx__title / .acx__tagline. */
.home-diff__head {
	margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
	max-width: 1200px;
}
.home-diff__head .why2__eyebrow { margin-bottom: 1rem; }
.home-diff__head-title {
	margin: 0;
	max-width: 52rem;
	font-family: commerceB, Georgia, serif !important;
	font-weight: 500 !important;
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
	line-height: 1.2;
	letter-spacing: -.01em;
	color: #2C3E50;
}
.home-diff__head-title .a2 { color: #E31E24; }
.home-diff__head-tagline {
	margin: 1.25rem 0 0;
	max-width: 44rem;
	font-size: 1.02rem;
	line-height: 1.85;
	color: #5B6470;
}

/* Stats + diff: một khối liền, không gap */
.home-diff__panel {
	/* border-top: 1px solid var(--diff-border); */
}

/* ── Stats row (ngang, style khớp difference) ── */
.home-diff__stats {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	border-bottom: 1px solid var(--diff-border);
}

.home-diff__stat {
	display: grid;
	grid-template-rows: minmax(2.5rem, auto) auto;
	row-gap: .35rem;
	align-content: start;
	justify-items: center;
	padding: clamp(1.15rem, 2vw, 1.45rem) clamp(.5rem, 1vw, .85rem);
	text-align: center;
	border-right: 1px solid var(--diff-border);
}

.home-diff__stat:last-child {
	border-right: none;
}

.home-diff__stat--featured {
	grid-template-rows: auto auto;
	align-content: center;
	padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem);
}

.home-diff__stat--featured .home-diff__stat-num {
	align-self: center;
	font-size: clamp(3rem, 6.5vw, 4.75rem);
	letter-spacing: -.02em;
	min-height: 0;
}

.home-diff__stat--featured .home-diff__stat-label {
	align-self: center;
	max-width: 16rem;
	min-height: 0;
	font-size: clamp(1rem, 1.05vw, 1rem);
	font-weight: 700;
	color: var(--diff-ink);
	letter-spacing: .07em;
	line-height: 1.4;
}

@media (min-width: 992px) {
	.home-diff__stats {
		grid-template-columns: minmax(0, 1.8fr) repeat(5, minmax(0, 1fr));
		align-items: stretch;
	}

	.home-diff__stat:not(.home-diff__stat--featured) {
		grid-template-rows: minmax(2.35rem, auto) auto;
		padding-top: clamp(1.35rem, 2.2vw, 1.65rem);
		padding-bottom: clamp(1.35rem, 2.2vw, 1.65rem);
	}

	.home-diff__stat:not(.home-diff__stat--featured) .home-diff__stat-num {
		font-size: clamp(1.65rem, 2.4vw, 2.1rem);
	}
}

.home-diff__stat-num {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	min-height: 2.5rem;
	font-family: commerceB, Georgia, serif;
	font-size: clamp(1.85rem, 3vw, 2.4rem);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(165deg, var(--imm-primary, #cb0e12) 0%, rgba(203, 14, 18, .62) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.home-diff__stat-label {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	min-height: 2.75em;
	margin: 0;
	max-width: 10.5rem;
	font-size: clamp(0.813rem, .78vw, 1rem);
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.35;
	/* color: var(--diff-ink-muted); */
}

@media (max-width: 991.98px) {
	.home-diff__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-diff__stat {
		border-right: none;
		border-bottom: 1px solid var(--diff-border);
	}

	/* 6 mục: featured full-width + 5 ô → ô cuối lẻ trải hết hàng.
	   Border-bottom bỏ đi để không chồng với border của .home-diff__stats. */
	.home-diff__stat:last-child {
		grid-column: 1 / -1;
		border-bottom: none;
	}

	.home-diff__stat--featured {
		grid-column: 1 / -1;
		border-right: none;
		padding: clamp(1.65rem, 4.5vw, 2.5rem) 1.25rem;
	}

	.home-diff__stat--featured .home-diff__stat-num {
		font-size: clamp(2.75rem, 10vw, 4rem);
	}

	.home-diff__stat--featured .home-diff__stat-label {
		font-size: clamp(1rem, 2.2vw, 1rem);
	}
}

@media (max-width: 575.98px) {
	.home-diff__stat-num {
		font-size: clamp(1.5rem, 6vw, 1.85rem);
	}

	.home-diff__stat--featured .home-diff__stat-num {
		font-size: clamp(2.5rem, 12vw, 3.5rem);
	}
}

.home-diff__layout {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.home-diff__list {
	position: relative;
	display: flex;
	flex-direction: column;
}

@media (min-width: 900px) {
	.home-diff__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-diff__list::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		width: 1px;
		background: var(--diff-border);
		transform: translateX(-0.5px);
	}
}

.home-diff__item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 3.2rem) minmax(0, 1fr);
	gap: 1rem 1.25rem;
	padding: clamp(1.15rem, 2vw, 1.45rem) 0;
	border-bottom: 1px solid var(--diff-border);
	transition: transform .2s ease, color .2s ease;
}

.home-diff__item:last-child {
	border-bottom: none;
}

@media (min-width: 900px) {
	.home-diff__item:nth-child(even) {
		padding-left: clamp(1rem, 2.4vw, 2rem);
	}

	.home-diff__item:nth-child(odd) {
		padding-right: clamp(1rem, 2.4vw, 2rem);
	}

	.home-diff__item:nth-last-child(-n+2) {
		border-bottom: none;
	}

	/* 7 mục: ô cuối lẻ full-width */
	.home-diff__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		padding-right: 0;
	}
}

.home-diff__item:hover {
	transform: translateX(5px);
}

.home-diff__item-marker {
	display: flex;
	align-items: center;
	padding-top: .1rem;
}

.home-diff__item-index {
	display: inline-block;
	min-width: 2.8rem;
	font-family: commerceB, Georgia, serif;
	font-size: 2.4rem;
	line-height: 1;
	background: linear-gradient(160deg, var(--imm-primary, #c0392b) 0%, rgba(192, 57, 43, .28) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.home-diff__item-copy {
	max-width: 34rem;
	padding-top: .12rem;
}

.home-diff__item-title {
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--diff-ink);
	margin: 0 0 .28rem;
}

.home-diff__item-desc {
	margin: 0;
	font-size: 1rem;
	line-height: 1.68;
	color: var(--diff-ink-muted);
}

.home-diff__item:hover .home-diff__item-title {
	color: var(--imm-primary);
}

@media (max-width: 575px) {
	.home-diff__item {
		grid-template-columns: minmax(0, 2.8rem) minmax(0, 1fr);
		gap: .8rem 1rem;
	}
}

/* ==== Chỉ trên trang About 2026 (VI + EN) ==== */
/* 1. Background lấy từ section .acx (certification) */
.home-diff--about {
	position: relative;
	overflow: hidden;
	background: #F8F9FA;
	padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
}
@media (min-width: 640px) {
	.home-diff--about { padding: clamp(4rem, 7vw, 7rem) 2rem; }
}
.home-diff--about .home-diff__shell { padding: 0; }
.home-diff__ring {
	position: absolute;
	border-radius: 9999px;
	pointer-events: none;
}
.home-diff__ring--1 {
	left: -110px; top: -110px; width: 16rem; height: 16rem;
	border: 1px solid rgba(153, 0, 0, .09);
}
.home-diff__ring--2 {
	right: -130px; top: 30%; width: 19rem; height: 19rem;
	border: 1px solid rgba(214, 181, 111, .12);
}
/* 2. Ẩn title .home-diff__header */
.home-diff--about .home-diff__header { display: none; }

/* ===== Hành trình 21 năm (timeline) (tmp-timeline) ===== */
.home-tl {
	--tl-ink: #0f1c2e;

	padding: 0px 0 40px;
	background: #f2f2f2;
	position: relative;
	overflow: hidden;
}

/* Decorative background patterns */
.home-tl::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 400px;
	height: 400px;
	background-image: url('../images/home/bk-034.png');
	background-repeat: no-repeat;
	background-position: top right;
	background-size: contain;
	pointer-events: none;
	
}

.home-tl::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 400px;
	height: 400px;
	background-image: url('../images/home/bk-033.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	background-size: contain;
	pointer-events: none;
	
}

.home-tl__shell {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	z-index: 1;
   		position: relative;
}

.home-tl__container {
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1rem, 4.2vw, 3rem);
	display: flex;
	flex-direction: column;
	gap: clamp(1.75rem, 3vw, 2.5rem);
}
/* About: container 1200px đồng bộ các section khác + bỏ gap + bỏ margin dưới tiêu đề cha */
.imm-about .home-tl__container {
	max-width: 1200px;
	gap: 0;
}
.imm-about .home-tl__parent-heading {
	margin-bottom: 0;
}

.home-tl__header {
	max-width: 44rem;
	margin: 0 auto clamp(1.25rem, 2.5vw, 2rem);
	text-align: center;
}
/* About: header canh trái, rộng hơn (khớp mission v1) */
.home-tl__header--about {
	max-width: 60rem;
	margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
	text-align: left;
}

/* Eyebrow chỉ trên trang About: căn trái cho khớp mission v1 */
.home-tl__header--about .why2__eyebrow {
	justify-content: flex-start;
	margin-bottom: 1rem;
}

/* H2 cha (chỉ About): copy y hệt .m1-title — font serif, uppercase, "&" đỏ */
.home-tl__parent-heading {
	max-width: 60rem;
	margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: clamp(1.5rem, 2vw, 1.15rem);
	position: relative;
	text-align: left;
	font-family: "Noto Serif", Georgia, serif;
	font-weight: 500;
	font-size: clamp(2rem, 5.5vw, 2.6rem);
	line-height: 1.35em;
	letter-spacing: -.02em;
	color: var(--tl-ink);
	text-transform: uppercase;
	border: 0;
}
.home-tl__parent-heading .m1-amp { color: #E31E24; }
/* H2 "21 NĂM..." (con, About): copy y hệt .m1-subhead — gạch chân border + ::after đỏ */
.home-tl__header--about .home-tl__heading {
	display: inline-block;
	margin: 0 0 clamp(1rem, 2vw, 1.35rem);
	padding: 0 0 .3rem 0;
	position: relative;
	text-align: left;
	font-family: commerceB, Georgia, serif;
	font-weight: 600;
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--tl-ink);
	text-transform: none;
	border-bottom: 2px solid rgba(192,57,43,.25);
}
/* Gạch chân đỏ đậm ngắn (đè lên border mờ) — giống .m1-subhead::after */
.home-tl__header--about .home-tl__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 48px;
	height: 2px;
	background: #E31E24;
	border-radius: 10px;
}

.home-tl__heading {
	margin: 0;
	font-family: commerceB, Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(1.75rem, 3vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: .01em;
	color: var(--tl-ink);
}

.home-tl__scroller {
	position: relative;
	padding: 0 0 40px
}

.home-tl__list {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding-left: 100px;
}

/* Vertical timeline line - RED */
.home-tl__list::before {
	content: '';
	position: absolute;
	left: 60px;
	top: 30px;
	bottom: 30px;
	width: 2px;
	background: #E31E24;
}

.home-tl__item {
	position: relative;
	margin-bottom: 40px;
	display: flex;
	align-items: flex-start;
}

.home-tl__item:last-child {
	margin-bottom: 0;
}

/* Timeline dots - White with red border */
.home-tl__dot {
	position: absolute;
	left: -40px;
	top: 15px;
	width: 14px;
	height: 14px;
	background: #fff;
	border: 3px solid #E31E24;
	border-radius: 50%;
	z-index: 2;
	box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

/* Year boxes - RED background with white text */
.home-tl__year {
	position: absolute;
	left: -100px;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 40px;
	background: #E31E24;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(227, 30, 36, 0.3);
}

/* Timeline cards - all on the right side */
.home-tl__card {
	position: relative;
	width: 100%;
	background: #fff;
	padding: 20px 24px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	margin-left: 0;
}

.home-tl__card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.home-tl__desc {
	font-size: 16px;
	line-height: 1.7;
	color: #444;
}

.home-tl__desc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.home-tl__desc-list li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 10px;
}

.home-tl__desc-list li:before {
	content: '•';
	position: absolute;
	left: 0;
	color: #E31E24;
	font-weight: 700;
	font-size: 16px;
}

.home-tl__desc-list li:last-child {
	margin-bottom: 0;
}

.home-tl__desc-sublist {
	list-style: none;
	padding: 0;
	margin: 10px 0 0 0;
}

.home-tl__desc-sublist li {
	padding-left: 16px;
	margin-bottom: 8px;
}

.home-tl__desc-sublist li:before {
	content: '–';
	font-size: 14px;
}

.home-tl__desc-sublist li:last-child {
	margin-bottom: 0;
}

.home-tl__inline-link {
	color: #E31E24;
	text-decoration: none;
	font-weight: 600;
}

.home-tl__inline-link:hover {
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.home-tl__list {
		padding-left: 70px;
	}

	.home-tl__list::before {
		left: 35px;
	}

	.home-tl__year {
		left: -70px;
		width: 60px;
		height: 36px;
		font-size: 16px;
	}

	.home-tl__dot {
		left: -17px;
		width: 12px;
		height: 12px;
		top: 12px;
	}

	.home-tl__card {
		padding: 16px 20px;
	}
	.home-tl::before, .home-tl::after {
		width: 200px;
		
	}
}

@media (max-width: 480px) {
	.home-tl {
		padding: 40px 0 0;
	}

	.home-tl__shell {
		padding: 0 15px;
	}

	.home-tl__container {
		padding: 0 15px;
	}

	.home-tl__list {
		padding-left: 60px;
	}

	.home-tl__list::before {
		left: 30px;
	}

	.home-tl__year {
		left: -60px;
		width: 52px;
		height: 32px;
		font-size: 14px;
	}

	.home-tl__dot {
		left: -13px;
		width: 10px;
		height: 10px;
		border-width: 2px;
		top: 11px;
	}

	.home-tl__desc {
		font-size: 16px;
	}

	.home-tl__card {
		padding: 14px 16px;
	}
	.home-tl::before, .home-tl::after {
		width: 150px;
		
	}
	.home-tl__item{
		margin-bottom: 30px;
	}
}
