/*
 * Homepage Stylesheet for Homie9.vn (front-page.php)
 * Clean, Mobile-First, Dedicated CSS
 */

/* ==================== 0. LEFT FLOATING SECTION COUNTER ==================== */
.homie9-section-indicator {
	position: fixed;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 99;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	pointer-events: none;
	user-select: none;
	transition: opacity 0.3s ease;
}

/* Chỉ hiển thị khi màn hình rộng có khoảng trống mép ngoài > 1520px để không che chữ */
@media (max-width: 1520px) {
	.homie9-section-indicator {
		display: none !important;
	}
}

@media (min-width: 1550px) {
	.homie9-section-indicator {
		left: calc((100vw - 1440px) / 4 + 10px);
	}
}

.indicator-line {
	width: 1px;
	transform: scaleX(0.35); /* Chiều rộng thanh mảnh ~0.3px */
	height: 60px; /* Chiều cao 60px */
	background: rgba(255, 255, 255, 0.85);
	display: block;
}

.indicator-number {
	font-size: 13.5px;
	font-weight: 400;
	color: #ffffff;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.indicator-number .curr-num {
	font-weight: 700;
	color: var(--gold-primary);
}

.indicator-number .sep {
	opacity: 0.6;
	margin: 0 2px;
	font-weight: 300;
}

.indicator-number .total-num {
	opacity: 0.85;
}

.indicator-brand {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 3.5px;
	color: rgba(255, 255, 255, 0.75);
	text-transform: uppercase;
	margin-top: 4px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* Đổi màu khi cuộn qua phần nền trắng */
.homie9-section-indicator.is-dark-theme .indicator-line {
	background: rgba(10, 25, 47, 0.5);
	box-shadow: none;
}

.homie9-section-indicator.is-dark-theme .indicator-number {
	color: #0a192f;
	text-shadow: none;
}

.homie9-section-indicator.is-dark-theme .indicator-brand {
	color: rgba(10, 25, 47, 0.65);
	text-shadow: none;
}

/* ==================== SECTION 1: 5-SLIDE LUXURY HERO PROJECT SLIDER ==================== */
.homie9-hero-slider-wrap {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background-color: #0a192f;
	padding-top: 95px;
	padding-bottom: 40px;
}

.hero-slides-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-slide-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.75s ease, visibility 0.75s ease;
}

.hero-slide-item.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

/* Background image fixed without zoom-out */
.hero-slide-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transform: none !important;
}

/* Lớp phủ màu đen mờ (Có lớp mờ nhẹ dưới menu + mờ khối chữ bên trái, trong suốt ở giữa & bên phải) */
.hero-slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
		linear-gradient(180deg, rgba(10, 25, 47, 0.70) 0%, rgba(10, 25, 47, 0.35) 75px, rgba(10, 25, 47, 0) 130px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(10, 25, 47, 0.65) 35%, rgba(10, 25, 47, 0.18) 65%, rgba(0, 0, 0, 0) 100%);
}

/* 2-Column Grid Layout */
.hero-slider-container {
	position: relative;
	z-index: 5;
	width: 100%;
}

.hero-slider-grid-layout {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 45px;
	align-items: center;
}

/* Cột 1 Bên Trái: Transition lướt từ dưới lên (Slide-up) */
.hero-slider-col-left {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
}

.hero-info-pane {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(calc(-50% + 35px));
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.55s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.55s;
	pointer-events: none;
}

.hero-info-pane.is-active {
	position: relative;
	top: auto;
	left: auto;
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Tag Đèn Giao Thông: Chấm tròn xanh lá cây, Nền Đỏ, Chữ Trắng, Bo góc 5px */
.hero-badge-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #dc2626;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 5px 14px;
	border-radius: 5px;
	margin-bottom: 14px;
	box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

.badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 10px #10b981, 0 0 4px #10b981;
	animation: greenTrafficLightPulse 2s infinite ease-in-out;
	flex-shrink: 0;
}

@keyframes greenTrafficLightPulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.45;
		transform: scale(0.85);
	}
}

/* Tiêu đề dự án: Màu Vàng Golden */
.hero-slide-title {
	font-size: 46px;
	font-weight: 900;
	color: #ffd700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.15;
	margin-bottom: 8px;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

/* Dòng tagline: Màu Vàng Golden */
.hero-slide-tagline {
	font-size: 15px;
	font-weight: 700;
	color: var(--gold-primary);
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 14px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Đoạn text mô tả: Màu Trắng, 3-4 dòng, Căn đều 2 bên (Justify) */
.hero-slide-desc {
	font-size: 15px;
	line-height: 1.7;
	color: #ffffff;
	font-weight: 400;
	margin-bottom: 18px;
	max-width: 620px;
	text-align: justify;
	text-justify: inter-word;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Khối đại lý tư vấn: Chữ Vàng Golden */
.hero-slide-agency {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: #ffd700;
	background: rgba(10, 25, 47, 0.75);
	border: 1px solid rgba(212, 175, 55, 0.4);
	padding: 6px 14px;
	border-radius: 20px;
	margin-bottom: 28px;
	backdrop-filter: blur(8px);
}

.agency-icon {
	color: #ffd700;
}

.hero-slide-actions-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.btn-hero-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #d4af37 0%, #b38f24 100%);
	color: #0a192f;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 15px 28px;
	border-radius: 8px;
	border: 1px solid var(--gold-primary);
	box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.btn-hero-primary:hover {
	background: #ffd700;
	border-color: #ffd700;
	color: #0a192f;
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.btn-hero-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 14px 26px;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-secondary:hover {
	background: #0a192f;
	color: #ffd700;
	border-color: #ffd700;
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-btn-arrow {
	transition: transform 0.25s ease;
}

.btn-hero-secondary:hover .hero-btn-arrow {
	transform: translateX(4px);
}

/* Cột 2 Bên Phải: Hiển thị 2 - 2.5 Card trong khung 500px */
.hero-slider-col-right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.hero-cards-nav-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 350px;
}

.hero-nav-arrow {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(10, 25, 47, 0.3);
	background: rgba(255, 255, 255, 0.95);
	color: #0a192f;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s ease;
	z-index: 10;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.hero-nav-arrow:hover {
	border-color: #0a192f;
	background: #0a192f;
	color: #d4af37;
	transform: scale(1.1);
}

/* Cửa sổ 500px (Hiển thị 2 hoặc 2.5 card) */
.hero-cards-window {
	width: 100%;
	height: 500px;
	overflow: hidden;
	position: relative;
}

.hero-cards-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card: Height 220px, bo góc 20px, viền trắng 1px solid, ảnh trên 165px không bo góc, tên dưới 55px */
.hero-card-nav-item {
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	border: 1px solid #ffffff;
	background: rgba(10, 25, 47, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	height: 220px;
	flex-shrink: 0;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.card-nav-img-wrap {
	width: 100%;
	height: 165px;
	overflow: hidden;
	background: #0a192f;
}

.card-nav-thumb {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	border-radius: 0 !important; /* Ảnh trên không bo góc */
	transition: transform 0.45s ease;
}

.card-nav-info {
	height: 55px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	background: rgba(10, 25, 47, 0.95);
	overflow: hidden;
}

.card-nav-number {
	font-size: 11px;
	font-weight: 800;
	color: var(--gold-primary);
	letter-spacing: 1px;
}

.card-nav-name {
	font-size: 13.5px;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: 0.5px;
	transition: color 0.25s ease;
}

.hero-card-nav-item:hover,
.hero-card-nav-item.is-active {
	border-color: var(--gold-primary);
	background: rgba(15, 33, 55, 0.98);
	box-shadow: 0 10px 28px rgba(212, 175, 55, 0.4);
	transform: scale(1.02);
}

.hero-card-nav-item:hover .card-nav-name,
.hero-card-nav-item.is-active .card-nav-name {
	color: var(--gold-primary);
}

.hero-card-nav-item:hover .card-nav-thumb,
.hero-card-nav-item.is-active .card-nav-thumb {
	transform: scale(1.08);
}

/* Mobile Scrollbar Track (Ẩn trên Desktop) */
.hero-cards-scrollbar-track {
	display: none;
}

.quick-links-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.quick-link-card {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-top: 4px solid var(--navy-primary);
	border-radius: var(--radius-md);
	padding: 24px 22px;
	display: flex;
	align-items: center;
	gap: 18px;
	box-shadow: var(--shadow-md);
	transition: var(--transition);
}

.quick-link-card:nth-child(2) {
	border-top-color: var(--gold-primary);
}

.quick-link-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
	border-color: var(--gold-primary);
}

.card-icon-box {
	font-size: 32px;
	background: var(--light-bg);
	width: 62px;
	height: 62px;
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.card-text-box h3 {
	font-size: 16px;
	font-weight: 800;
	color: var(--navy-dark);
	margin-bottom: 4px;
}

.card-text-box p {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.4;
}

.card-arrow {
	margin-left: auto;
	font-size: 20px;
	color: var(--gold-primary);
	font-weight: 700;
	transition: transform 0.2s ease;
}

.quick-link-card:hover .card-arrow {
	transform: translateX(5px);
}

/* ==================== SECTIONS 3, 4, 5: GRIDS & HEADINGS ==================== */
.homie9-home-section {
	padding: 55px 0 65px;
}

.bg-section-light {
	background: #f1f5f9;
}

.section-title-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 35px;
	border-bottom: 2px solid var(--border-color);
	padding-bottom: 16px;
}

.section-tag-navy {
	display: inline-block;
	background: var(--navy-primary);
	color: var(--gold-primary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	padding: 3px 10px;
	border-radius: 4px;
	margin-bottom: 6px;
}

.section-tag-gold {
	display: inline-block;
	background: var(--gold-primary);
	color: var(--navy-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	padding: 3px 10px;
	border-radius: 4px;
	margin-bottom: 6px;
}

.section-heading {
	font-size: 26px;
	font-weight: 800;
	color: var(--navy-dark);
	line-height: 1.2;
}

.section-subheading {
	font-size: 14px;
	color: var(--text-muted);
	margin-top: 4px;
}

.btn-view-all-gold {
	color: var(--gold-dark);
	font-weight: 800;
	font-size: 14px;
	border: 1px solid var(--gold-primary);
	padding: 8px 18px;
	border-radius: 20px;
	background: #fff;
	transition: var(--transition);
}

.btn-view-all-gold:hover {
	background: var(--gold-primary);
	color: #fff;
}

.btn-view-all-navy {
	color: var(--navy-dark);
	font-weight: 800;
	font-size: 14px;
	border: 1px solid var(--navy-dark);
	padding: 8px 18px;
	border-radius: 20px;
	background: #fff;
	transition: var(--transition);
}

.btn-view-all-navy:hover {
	background: var(--navy-dark);
	color: #fff;
}

/* Property Grid */
.homie9-property-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
}

.homie9-property-card {
	background: var(--card-bg);
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
}

.homie9-property-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
	border-color: var(--gold-primary);
}

.property-card-thumb-wrap {
	position: relative;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: #cbd5e1;
}

.property-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.homie9-property-card:hover .property-card-img {
	transform: scale(1.06);
}

.badge-status-new {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--navy-primary);
	color: var(--gold-primary);
	font-size: 11px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid var(--gold-primary);
}

.badge-status-code {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(10, 25, 47, 0.85);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
}

.property-card-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.property-card-price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.property-card-price {
	font-size: 19px;
	font-weight: 800;
	color: #dc2626;
}

.btn-fav {
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: var(--text-muted);
}

.property-card-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	margin-bottom: 12px;
	color: var(--navy-dark);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.property-card-title:hover {
	color: var(--gold-dark);
}

.property-card-specs {
	display: flex;
	gap: 12px;
	font-size: 13px;
	color: var(--text-muted);
	padding: 10px 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 10px;
}

.property-card-location {
	font-size: 13px;
	color: var(--text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Dự Án Grid */
.du-an-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.du-an-card {
	background: #fff;
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}

.du-an-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
	border-color: var(--navy-primary);
}

.du-an-thumb-wrap {
	aspect-ratio: 16/10;
	overflow: hidden;
	background: #e2e8f0;
}

.du-an-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.du-an-card:hover .du-an-thumb {
	transform: scale(1.05);
}

.du-an-card-body {
	padding: 20px;
}

.du-an-card-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--navy-dark);
	margin-bottom: 10px;
}

.du-an-card-excerpt {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.btn-view-du-an {
	color: var(--gold-dark);
	font-weight: 800;
	font-size: 14px;
	display: inline-block;
}

.btn-view-du-an:hover {
	color: var(--navy-dark);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
	.homie9-hero-slider-wrap {
		min-height: auto;
		padding-top: 90px;
		padding-bottom: 35px;
		overflow: hidden;
	}

	.hero-slide-overlay {
		background: linear-gradient(180deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.82) 55%, rgba(10, 25, 47, 0.55) 100%);
	}

	.hero-slider-container {
		width: 100%;
		max-width: 100%;
		padding: 0 16px;
		box-sizing: border-box;
	}

	.hero-slider-grid-layout {
		grid-template-columns: 100%;
		gap: 24px;
		width: 100%;
		max-width: 100%;
	}

	.hero-slider-col-left {
		min-height: auto;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.hero-info-pane {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		display: none;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.hero-info-pane.is-active {
		display: block;
		transform: none;
	}

	.hero-slide-title {
		font-size: 28px;
		line-height: 1.2;
		word-break: break-word;
	}

	.hero-slide-tagline {
		font-size: 13.5px;
		margin-bottom: 12px;
	}

	.hero-slide-desc {
		font-size: 14px;
		line-height: 1.6;
		margin-bottom: 14px;
		text-align: justify;
	}

	.hero-slide-agency {
		display: inline-flex;
		max-width: 100%;
		font-size: 12px;
		line-height: 1.4;
		white-space: normal;
		word-break: break-word;
		padding: 8px 14px;
		border-radius: 12px;
		margin-bottom: 18px;
		box-sizing: border-box;
	}

	.hero-slide-actions-row {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		gap: 10px;
	}

	.btn-hero-primary,
	.btn-hero-secondary {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 13px 16px;
		font-size: 13px;
		white-space: normal;
		margin: 0;
	}

	.hero-slider-col-right {
		justify-content: center;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.hero-cards-nav-wrapper {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.hero-cards-window {
		height: auto;
		overflow: hidden;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.hero-cards-stack {
		display: flex;
		flex-direction: row;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 8px 2px 10px;
		width: 100%;
		-webkit-overflow-scrolling: touch;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		transform: none !important;
		scrollbar-width: none;
		cursor: grab;
	}

	.hero-cards-stack::-webkit-scrollbar {
		display: none;
	}

	.hero-card-nav-item {
		width: 205px;
		min-width: 205px;
		height: auto;
		flex-shrink: 0;
		scroll-snap-align: start;
		border-radius: 16px;
	}

	.card-nav-img-wrap {
		height: 95px;
	}

	.hero-nav-arrow {
		display: none;
	}

	/* Thanh kéo qua lại cho Card (Mobile / Tablet) */
	.hero-cards-scrollbar-track {
		display: block;
		width: 100%;
		max-width: 240px;
		height: 6px;
		background: rgba(255, 255, 255, 0.15);
		border: 1px solid rgba(212, 175, 55, 0.35);
		border-radius: 10px;
		margin: 10px auto 4px;
		position: relative;
		cursor: pointer;
		touch-action: none;
		user-select: none;
		box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
	}

	.hero-cards-scrollbar-thumb {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 32%;
		background: linear-gradient(90deg, #00d2ff 0%, #ffd700 70%, #d4af37 100%);
		border-radius: 10px;
		box-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
		cursor: grab;
		transition: transform 0.08s linear;
	}

	.hero-cards-scrollbar-thumb:active {
		cursor: grabbing;
		background: #ffd700;
	}

	/* Tự động ẩn đếm section trên mobile & tablet */
	.homie9-section-indicator {
		display: none !important;
	}

	.du-an-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.hero-slide-title {
		font-size: 23px;
	}

	.hero-slide-tagline {
		font-size: 12.5px;
	}

	.hero-slide-desc {
		font-size: 13.5px;
	}

	.hero-card-nav-item {
		width: 175px;
		min-width: 175px;
	}

	.card-nav-img-wrap {
		height: 85px;
	}

	.card-nav-info {
		height: 48px;
		padding: 0 12px;
	}

	.card-nav-name {
		font-size: 12px;
	}
}
