/* ==========================================================================
   03 — TỔNG QUAN DỰ ÁN (Dual-Block Master Overview: Tháp A & Tháp B)
   Màu nền: #FBF9F5 (Trắng ngọc trai vương giả) toàn bộ Section & Khung ảnh
   Hiệu ứng bung mở: Hình chữ nhật đứng (Vertical Rectangle Reveal) -> Full 100%
   Cụm Tổng quan Master: Luôn neo cố định (Anchored) khi cuộn giữa 2 Block
   Màu chữ: Tuân thủ nghiêm ngặt Design Tokens Brand Triton Crown:
     - Heading & Numbers: #0B1E36 (Midnight Navy Quý Tộc)
     - Body & Quantity: #4A5568 (Slate Taupe Thanh Lịch)
     - Accents & Hairlines: rgba(11, 30, 54, 0.12) & var(--tc-border-hairline)
   ========================================================================== */

/* Fullscreen Pinned Section */
.tc-overview,
section.tc-section.tc-overview {
	background-color: var(--tc-bg-main, #FBF9F5) !important;
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	max-height: 100vh;
	margin: 0 !important;
	padding: 0 !important;
	border: none;
	overflow: hidden;
	z-index: 10;
	will-change: transform;
	transform: translateZ(0);
}

/* Stage container ghim toàn màn hình */
.tc-overview__stage {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	max-height: 100vh;
	display: flex;
	align-items: stretch;
	background-color: var(--tc-bg-main, #FBF9F5) !important;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   CỘT TRÁI: HÌNH ẢNH (LEFT MEDIA) — Nền #FBF9F5, Hiệu ứng hình chữ nhật đứng
   -------------------------------------------------------------------------- */
.tc-overview__media {
	position: relative;
	width: 50%;
	height: 100%;
	overflow: hidden;
	background-color: var(--tc-bg-main, #FBF9F5) !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Từng khung hình (Tháp A & Tháp B) — Ban đầu là hình chữ nhật đứng nhỏ ở giữa */
.tc-overview__media-item {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: var(--tc-bg-main, #FBF9F5) !important;
	overflow: hidden;
	clip-path: inset(37.5% 39% 37.5% 39%);
	-webkit-clip-path: inset(37.5% 39% 37.5% 39%);
	will-change: clip-path, -webkit-clip-path, transform, opacity;
}

.tc-overview__media-item--a {
	z-index: 2;
	opacity: 1;
}

.tc-overview__media-item--b {
	z-index: 3;
	opacity: 0;
}

.tc-overview__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	will-change: transform;
}

/* Xóa bỏ hoàn toàn caption tham khảo */
.tc-overview__caption {
	display: none !important;
}

/* Hình ảnh Mobile xen kẽ — Ẩn hoàn toàn trên Desktop */
.tc-overview__media-mobile {
	display: none !important;
}

/* --------------------------------------------------------------------------
   CỘT PHẢI: NỘI DUNG (RIGHT CONTENT) — Nền #FBF9F5, Cụm Master luôn neo
   -------------------------------------------------------------------------- */
.tc-overview__content {
	width: 50%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--tc-bg-main, #FBF9F5) !important;
	padding: clamp(65px, 7.5vh, 90px) clamp(2.5rem, 3.8vw, 6rem) clamp(1.5rem, 2vh, 2.5rem);
	box-sizing: border-box;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(197, 155, 39, 0.4) transparent;
}

.tc-overview__content-inner {
	width: 100%;
	max-width: 620px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* 1. CỤM TỔNG QUAN MASTER — LUÔN NEO CỐ ĐỊNH (ANCHORED) */
.tc-overview__master {
	margin-bottom: clamp(0.5rem, 0.8vh, 1.2rem);
	will-change: transform, opacity;
}

.tc-overview__main-title {
	font-family: var(--font-heading, 'Trajan Pro 3', Georgia, serif) !important;
	font-size: clamp(2rem, 1.6rem + 1.2vw, 2.8rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.18;
	margin: 0 0 clamp(0.9rem, 1.2vh, 1.5rem);
	text-transform: uppercase;
	background: linear-gradient(135deg, #B38615 0%, #D4AF37 50%, #8C6810 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	color: #D4AF37 !important;
	display: inline-block;
	white-space: nowrap;
}

/* Gold Gradient / Rich Gold Text cho Brand */
.tc-overview .tc-gold-text,
.tc-overview__master-num.tc-gold-text,
.tc-overview__tower-letter.tc-gold-text {
	background: linear-gradient(135deg, #B38615 0%, #D4AF37 50%, #8C6810 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	color: #D4AF37 !important;
	display: inline-block;
}

.tc-overview__master-stats {
	display: flex;
	align-items: center;
	gap: clamp(1.4rem, 1.8vw, 2.4rem);
}

.tc-overview__master-tower {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-shrink: 0;
	padding-right: clamp(1.4rem, 1.8vw, 2.4rem);
	border-right: 1px solid rgba(197, 155, 39, 0.35);
}

.tc-overview__master-num {
	font-family: var(--font-heading, 'Trajan Pro 3', Georgia, serif) !important;
	font-size: clamp(3.4rem, 2.6rem + 1.8vw, 4.8rem);
	font-weight: 700;
	line-height: 0.88;
	letter-spacing: -0.02em;
}

.tc-overview__master-lbl {
	font-family: var(--font-heading, 'Trajan Pro 3', Georgia, serif) !important;
	font-size: clamp(0.75rem, 0.68rem + 0.2vw, 0.88rem);
	font-weight: 700;
	color: var(--tc-heading, #0B1E36) !important;
	letter-spacing: 0.16em;
	margin-top: 0.4rem;
	white-space: nowrap;
}

.tc-overview__master-grid {
	display: flex;
	flex-direction: column;
	gap: clamp(0.5rem, 0.7vh, 0.85rem);
	flex-grow: 1;
}

.tc-overview__master-row {
	width: 100%;
}

.tc-overview__master-row--products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: clamp(0.6rem, 1.1vw, 1.6rem);
}

.tc-overview__master-row--specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: clamp(1.4rem, 1.8vw, 2.6rem);
}

.tc-overview__master-item {
	display: flex;
	flex-direction: column;
}

.tc-overview__master-val {
	font-family: var(--font-heading, 'Trajan Pro 3', Georgia, serif) !important;
	font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.7rem);
	font-weight: 700;
	color: var(--tc-heading, #0B1E36) !important;
	line-height: 1.1;
	letter-spacing: 0.02em;
}

.tc-overview__master-sub {
	font-family: var(--font-body, 'Questrial', sans-serif) !important;
	font-size: clamp(0.68rem, 0.62rem + 0.15vw, 0.8rem);
	font-weight: 600;
	color: var(--tc-body, #4A5568) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 0.12rem;
}

/* Dải chỉ phân cách vàng hoàng kim thanh mảnh */
.tc-overview__divider {
	width: 100%;
	height: 1px;
	background: var(--tc-border-hairline, rgba(197, 155, 39, 0.35));
	margin: clamp(0.65rem, 1vh, 1.2rem) 0 clamp(0.4rem, 0.6vh, 0.8rem);
}

/* 2. KHU VỰC THÔNG SỐ THÁP (CHUYỂN ĐỔI GIỮA THÁP A & THÁP B) */
.tc-overview__towers-wrap {
	position: relative;
	width: 100%;
	min-height: clamp(340px, 44vh, 430px);
}

.tc-overview__tower-panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	will-change: transform, opacity;
}

.tc-overview__tower-panel--a {
	z-index: 2;
	opacity: 0;
	pointer-events: auto;
}

.tc-overview__tower-panel--b {
	z-index: 3;
	opacity: 0;
	pointer-events: none;
}

.tc-overview__tower-head {
	display: flex;
	align-items: center;
	gap: clamp(1.4rem, 1.8vw, 2.4rem);
	margin-bottom: clamp(0.65rem, 0.9vh, 1.15rem);
}

.tc-overview__tower-brand {
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
}

.tc-overview__tower-word {
	font-family: var(--font-heading, 'Trajan Pro 3', Georgia, serif) !important;
	font-size: clamp(1.6rem, 1.25rem + 0.7vw, 2.2rem);
	font-weight: 700;
	color: var(--tc-heading, #0B1E36) !important;
	letter-spacing: 0.1em;
}

.tc-overview__tower-letter {
	font-family: var(--font-heading, 'Trajan Pro 3', Georgia, serif) !important;
	font-size: clamp(3.2rem, 2.5rem + 1.8vw, 4.5rem);
	font-weight: 700;
	line-height: 0.82;
	position: relative;
	top: 0.05em;
}

.tc-overview__tower-summary {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.15rem;
}

.tc-overview__tower-units {
	font-family: var(--font-heading, 'Trajan Pro 3', Georgia, serif) !important;
	font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.8rem);
	font-weight: 700;
	color: var(--tc-heading, #0B1E36) !important;
	letter-spacing: 0.06em;
	line-height: 1.1;
}

.tc-overview__tower-floors {
	font-family: var(--font-heading, 'Trajan Pro 3', Georgia, serif) !important;
	font-size: clamp(1rem, 0.88rem + 0.25vw, 1.25rem);
	font-weight: 600;
	color: var(--tc-heading, #0B1E36) !important;
	letter-spacing: 0.08em;
	line-height: 1.15;
}

/* 3. Bảng Chi Tiết Phân Bổ Căn Hộ (Specifications Table) */
.tc-overview__table {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.tc-overview__row {
	display: grid;
	grid-template-columns: 1.55fr 1fr 1.45fr;
	align-items: center;
	padding: clamp(0.3rem, 0.38vh, 0.52rem) 0;
	border-bottom: 1px solid var(--tc-border-hairline, rgba(197, 155, 39, 0.22)) !important;
	transition: background-color 0.2s ease;
}

.tc-overview__row:hover {
	background-color: rgba(197, 155, 39, 0.08);
}

.tc-overview__cell {
	font-family: var(--font-body, 'Questrial', sans-serif) !important;
	font-size: clamp(0.82rem, 0.75rem + 0.18vw, 0.94rem);
	line-height: 1.35;
}

.tc-overview__cell--type {
	font-weight: 500;
	color: var(--tc-heading, #0B1E36) !important;
}

.tc-overview__cell--qty {
	text-align: center;
	color: var(--tc-body, #4A5568) !important;
	font-weight: 500;
}

.tc-overview__cell--area {
	text-align: right;
	color: var(--tc-heading, #0B1E36) !important;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.tc-overview__row--group {
	display: flex !important;
	align-items: center;
	padding: clamp(0.44rem, 0.55vh, 0.65rem) 0 clamp(0.18rem, 0.25vh, 0.3rem) !important;
	border-bottom: 1px solid var(--tc-border-hairline, rgba(197, 155, 39, 0.3)) !important;
}

.tc-overview__row--group:first-child {
	padding-top: 0 !important;
}

.tc-overview__row--main {
	padding: clamp(0.35rem, 0.44vh, 0.55rem) 0 !important;
	border-bottom: 1px solid var(--tc-border-hairline, rgba(197, 155, 39, 0.28)) !important;
}

/* Đồng bộ font-size & font-weight cho các đề mục chính:
   Dòng sản phẩm chủ đạo, Tophouses, Bộ sưu tập giới hạn, Sản phẩm TMDV */
.tc-overview__cell--group,
.tc-overview__row--main .tc-overview__cell--type {
	font-family: var(--font-body, 'Questrial', sans-serif) !important;
	font-size: clamp(0.88rem, 0.82rem + 0.18vw, 0.98rem);
	font-weight: 700 !important;
	color: var(--tc-heading, #0B1E36) !important;
	letter-spacing: 0.02em !important;
	line-height: 1.35;
}

.tc-overview__cell--group {
	width: 100%;
}

.tc-overview__row--main .tc-overview__cell--qty {
	font-size: clamp(0.85rem, 0.78rem + 0.18vw, 0.94rem);
	font-weight: 600 !important;
}

.tc-overview__row--main .tc-overview__cell--area {
	font-size: clamp(0.85rem, 0.78rem + 0.18vw, 0.94rem);
	font-weight: 700 !important;
}

.tc-overview__row--sub .tc-overview__cell--type {
	padding-left: clamp(0.85rem, 1.2vw, 1.4rem);
}

/* ==========================================================================
   RESPONSIVE DESIGN: TABLET & MOBILE (< 992px)
   ========================================================================== */
@media (max-width: 991px) {
	.tc-overview,
	section.tc-section.tc-overview {
		height: auto !important;
		min-height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		padding: clamp(2.5rem, 6vh, 4rem) 0 !important;
	}

	.tc-overview__stage {
		height: auto !important;
		min-height: auto !important;
		max-height: none !important;
		flex-direction: column;
		overflow: visible !important;
	}

	/* Ẩn cột media Desktop trên mobile vì hình đã được xen kẽ dưới từng Tháp */
	.tc-overview__media {
		display: none !important;
	}

	.tc-overview__content {
		width: 100%;
		height: auto;
		padding: 0 clamp(1rem, 4vw, 2rem);
		overflow-y: visible;
	}

	.tc-overview__content-inner {
		max-width: 100%;
	}

	.tc-overview__master {
		opacity: 1 !important;
		transform: none !important;
		margin-bottom: clamp(1rem, 2vh, 1.5rem);
	}

	/* Tiêu đề Tổng quan dự án: Nằm trọn trên 1 dòng duy nhất, không bị rớt dòng */
	.tc-overview__main-title {
		font-size: clamp(1.28rem, 5.2vw, 1.85rem) !important;
		white-space: nowrap !important;
		letter-spacing: 0.04em !important;
		line-height: 1.2 !important;
		margin: 0 0 clamp(1rem, 2vh, 1.4rem) !important;
		display: block !important;
	}

	/* Cụm thống kê 4 chỉ số: Bố cục 2 cột như hình đính kèm 2 */
	.tc-overview__master-stats {
		display: flex;
		align-items: center;
		gap: clamp(0.9rem, 2.8vw, 1.6rem);
	}

	.tc-overview__master-tower {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		flex-shrink: 0;
		padding-right: clamp(0.9rem, 2.8vw, 1.6rem);
		border-right: 1px solid rgba(197, 155, 39, 0.35);
	}

	.tc-overview__master-num {
		font-size: clamp(3rem, 8vw, 4.2rem) !important;
		line-height: 0.85;
	}

	.tc-overview__master-lbl {
		font-size: clamp(0.68rem, 2vw, 0.8rem) !important;
		letter-spacing: 0.12em;
		margin-top: 0.35rem;
		white-space: nowrap;
	}

	/* 2 hàng chỉ số: Hàng 1 (3 sản phẩm: Căn hộ, Shop, Nhà ở TMDV); Hàng 2 (Diện tích, Mật độ) */
	.tc-overview__master-grid {
		display: flex !important;
		flex-direction: column !important;
		gap: clamp(0.45rem, 1.2vh, 0.75rem) !important;
		flex-grow: 1;
	}

	.tc-overview__master-row--products {
		display: grid !important;
		grid-template-columns: repeat(3, 1fr) !important;
		column-gap: clamp(0.4rem, 1.4vw, 0.9rem) !important;
	}

	.tc-overview__master-row--specs {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		column-gap: clamp(0.8rem, 2.6vw, 1.6rem) !important;
	}

	.tc-overview__master-val {
		font-size: clamp(1.1rem, 3.8vw, 1.45rem) !important;
		line-height: 1.1;
		white-space: nowrap;
	}

	.tc-overview__master-sub {
		font-size: clamp(0.58rem, 1.8vw, 0.72rem) !important;
		letter-spacing: 0.04em;
		margin-top: 0.15rem;
		white-space: nowrap;
	}

	.tc-overview__divider {
		margin: clamp(1rem, 2vh, 1.5rem) 0 clamp(1.2rem, 2.5vh, 1.8rem);
	}

	.tc-overview__towers-wrap {
		min-height: auto;
		position: static;
	}

	.tc-overview__tower-panel {
		position: relative;
		opacity: 1 !important;
		transform: none !important;
		pointer-events: auto !important;
	}

	/* Phân cách giữa Tháp A và Tháp B */
	.tc-overview__tower-panel--b {
		margin-top: clamp(2.5rem, 5vh, 3.8rem);
		padding-top: clamp(2rem, 4vh, 3rem);
		border-top: 1px solid var(--tc-border-hairline, rgba(197, 155, 39, 0.3));
	}

	.tc-overview__tower-head {
		gap: clamp(1rem, 3vw, 1.8rem);
		margin-bottom: clamp(0.8rem, 1.8vh, 1.4rem);
	}

	.tc-overview__tower-word {
		font-size: clamp(1.4rem, 4vw, 1.9rem) !important;
	}

	.tc-overview__tower-letter {
		font-size: clamp(2.8rem, 7.5vw, 3.8rem) !important;
	}

	.tc-overview__tower-units {
		font-size: clamp(1.2rem, 3.5vw, 1.55rem) !important;
	}

	.tc-overview__tower-floors {
		font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
	}

	.tc-overview__row {
		grid-template-columns: 1.45fr 0.95fr 1.4fr;
		padding: clamp(0.4rem, 0.9vh, 0.6rem) 0;
	}

	.tc-overview__cell {
		font-size: clamp(0.88rem, 2.2vw, 0.9rem);
	}

	.tc-overview__row--group {
		padding: clamp(0.45rem, 1vh, 0.65rem) 0 clamp(0.2rem, 0.4vh, 0.35rem) !important;
	}

	.tc-overview__row--main {
		padding: clamp(0.4rem, 0.9vh, 0.6rem) 0 !important;
	}

	.tc-overview__cell--group,
	.tc-overview__row--main .tc-overview__cell--type {
		font-size: clamp(0.88rem, 2.3vw, 0.96rem) !important;
	}

	.tc-overview__row--sub .tc-overview__cell--type {
		padding-left: clamp(0.75rem, 2.5vw, 1.1rem) !important;
	}

	/* Khối hình ảnh Mobile xen kẽ — Giữ trọn vẹn 100% chiều cao kiến trúc (Tỷ lệ gốc 1280x1440) */
	.tc-overview__media-mobile {
		display: block !important;
		width: 100%;
		margin-top: clamp(1.2rem, 2.5vh, 1.8rem);
		border-radius: 6px;
		overflow: hidden;
		box-shadow: 0 10px 30px rgba(11, 30, 54, 0.08);
		border: 1px solid rgba(197, 155, 39, 0.2);
		background-color: var(--tc-bg-main, #FBF9F5);
		will-change: clip-path, -webkit-clip-path, opacity;
	}

	.tc-overview__img-mobile {
		width: 100%;
		height: auto;
		aspect-ratio: 1280 / 1440;
		object-fit: cover;
		object-position: center;
		display: block;
		will-change: transform;
	}
}

@media (max-width: 576px) {
	.tc-overview__content {
		padding: 0 1rem;
	}

	.tc-overview__master-stats {
		gap: 0.9rem;
	}

	.tc-overview__master-tower {
		padding-right: 0.9rem;
	}

	.tc-overview__master-num {
		font-size: 2.8rem !important;
	}

	.tc-overview__master-row--products {
		grid-template-columns: repeat(3, 1fr) !important;
		column-gap: 0.35rem !important;
	}

	.tc-overview__master-row--specs {
		grid-template-columns: repeat(2, 1fr) !important;
		column-gap: 0.65rem !important;
	}

	.tc-overview__master-val {
		font-size: 1.05rem !important;
	}

	.tc-overview__master-sub {
		font-size: 0.58rem !important;
	}

	.tc-overview__row {
		grid-template-columns: 1.35fr 0.85fr 1.5fr;
		font-size: 0.76rem;
		padding: 0.45rem 0;
	}
}

/* ==========================================================================
   2K SCREENS (QHD / 2560x1440 & Ultra-wides)
   ========================================================================== */
@media (min-width: 2048px) {
	.tc-overview__content {
		padding: clamp(90px, 10vh, 130px) 6.5rem 4rem;
	}

	.tc-overview__content-inner {
		max-width: 780px;
	}

	.tc-overview__main-title {
		font-size: clamp(2.2rem, 1.8vw, 2.8rem);
		margin-bottom: 2rem;
		white-space: nowrap;
	}

	.tc-overview__master-num {
		font-size: 5.8rem;
	}

	.tc-overview__master-lbl {
		font-size: 1.05rem;
	}

	.tc-overview__master-val {
		font-size: 2.1rem;
	}

	.tc-overview__master-sub {
		font-size: 0.95rem;
	}

	.tc-overview__tower-word {
		font-size: 2.6rem;
	}

	.tc-overview__tower-letter {
		font-size: 5.5rem;
	}

	.tc-overview__tower-units {
		font-size: 2.3rem;
	}

	.tc-overview__tower-floors {
		font-size: 1.5rem;
	}

	.tc-overview__cell {
		font-size: 1.15rem;
	}

	.tc-overview__cell--group,
	.tc-overview__row--main .tc-overview__cell--type {
		font-size: 1.22rem !important;
	}

	.tc-overview__row--main .tc-overview__cell--qty,
	.tc-overview__row--main .tc-overview__cell--area {
		font-size: 1.15rem !important;
	}

	.tc-overview__row {
		padding: 0.75rem 0;
	}
}

/* ==========================================================================
   4K SCREENS (UHD / 3840x2160)
   ========================================================================== */
@media (min-width: 3200px) {
	.tc-overview__content {
		padding: clamp(120px, 12vh, 170px) 9rem 6rem;
	}

	.tc-overview__content-inner {
		max-width: 1200px;
	}

	.tc-overview__main-title {
		font-size: clamp(2.8rem, 2.0vw, 3.4rem);
		margin-bottom: 2.5rem;
		white-space: nowrap;
	}

	.tc-overview__master-num {
		font-size: 8rem;
	}

	.tc-overview__master-lbl {
		font-size: 1.45rem;
	}

	.tc-overview__master-val {
		font-size: 2.8rem;
	}

	.tc-overview__master-sub {
		font-size: 1.35rem;
	}

	.tc-overview__tower-word {
		font-size: 3.6rem;
	}

	.tc-overview__tower-letter {
		font-size: 7.5rem;
	}

	.tc-overview__tower-units {
		font-size: 3.2rem;
	}

	.tc-overview__tower-floors {
		font-size: 2.1rem;
	}

	.tc-overview__cell {
		font-size: 1.42rem;
	}

	.tc-overview__cell--group,
	.tc-overview__row--main .tc-overview__cell--type {
		font-size: 1.52rem !important;
	}

	.tc-overview__row--main .tc-overview__cell--qty,
	.tc-overview__row--main .tc-overview__cell--area {
		font-size: 1.42rem !important;
	}

	.tc-overview__row {
		padding: 1.05rem 0;
	}
}
