/*
 * Quy mô — Figma node 11:101 (1440×1786, nền Primary #162D52), khung nội dung 1280 (x=80).
 * Phần 1: ảnh lớn y=136.5 (1280×581, bo 2 góc dưới 12) — tiêu đề đè lên bầu trời (x=103, y=114);
 *         khối 2 cột y=751: mô tả 3 phân khu (632, padding 32) + 3 ảnh 200×147.
 * Phần 2: ảnh hai tháp y=984 (956×802) — tiêu đề đè ở (158, 1063); thông số x=1055 y=1244 (305).
 */

.vg-scale {
	padding: 114px 16px 0;
	background-color: var(--vg-color-primary);
	color: var(--vg-color-bg-2);
}

.vg-scale__inner {
	max-width: 1280px;
	margin: 0 auto;
}

/* ---------- Phần 1 ---------- */
.vg-scale__lowrise {
	position: relative;
	display: flow-root; /* chặn margin-top của ảnh lớn gộp lên khối cha → tiêu đề nằm đúng y=114 */
}

.vg-scale__heading {
	position: absolute;
	top: 0;
	left: 23px;
	z-index: 1;
	width: 533px;
	pointer-events: none;
}

.vg-scale__title {
	margin: 0;
	color: #fff;
	font-family: var(--vg-font-heading);
	font-size: var(--vg-h2-size);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.vg-scale__title > span {
	display: block;
	white-space: nowrap;
}

.vg-scale__title-line {
	padding-left: 16px;
}

.vg-scale__title-line--indent {
	margin-top: -12px;
	padding-left: 70px;
}

.vg-scale__title-script {
	padding-left: 16px;
	color: var(--vg-color-secondary);
	font-family: var(--vg-font-subheading);
	font-size: var(--vg-subheader-size);
	letter-spacing: 0.04em;
}

.vg-scale__lead {
	width: 400px;
	max-width: 100%;
	margin: 29px 0 0;
	font-family: var(--vg-font-body);
	font-size: 14px;
	line-height: 1.5;
}

/* Ảnh lớn (bản ghép toà nhà vượt khung từ Figma), bấm mở lightbox */
.vg-scale__street {
	display: block;
	margin-top: 22.5px;
	overflow: hidden;
	border-radius: 0 0 12px 12px;
	cursor: zoom-in;
}

.vg-scale__street img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1280 / 581;
}

/* Khối 2 cột */
.vg-scale__zones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 632px));
	align-items: center;
	gap: 16px;
	margin-top: 33.5px;
}

.vg-scale__zones-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 0 32px;
	font-family: var(--vg-font-body);
	font-size: 14px;
	line-height: 1.5;
}

.vg-scale__zones-text p {
	margin: 0;
}

.vg-scale__zones-text strong {
	font-weight: 700;
}

.vg-scale__zones-text ul {
	margin: 0;
	padding-left: 21px;
	list-style: disc;
}

.vg-scale__zones-text li {
	margin: 0;
}

.vg-scale__thumbs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.vg-scale__thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 200 / 147;
	border-radius: 8px;
	cursor: zoom-in;
}

.vg-scale__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.vg-scale__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(164.23deg, rgba(4, 13, 28, 0.4) 17.15%, rgba(4, 13, 28, 0) 39.71%);
	pointer-events: none;
}

.vg-scale__thumb:hover img {
	transform: scale(1.06);
}

.vg-scale__thumb-name {
	position: absolute;
	top: 4.5px;
	left: 8px;
	z-index: 1;
	color: #fff;
	font-family: var(--vg-font-subheading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

/* ---------- Phần 2 ---------- */
.vg-scale__towers {
	display: grid;
	grid-template-columns: minmax(0, 956px) minmax(0, 305px);
	gap: 19px;
	margin-top: 49px;
}

.vg-scale__towers-media {
	position: relative;
}

.vg-scale__towers-media > img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 956 / 802;
}

.vg-scale__towers-title {
	position: absolute;
	top: 79px;
	left: 78px;
	margin: 0;
	color: #fff;
	font-family: var(--vg-font-heading);
	font-size: var(--vg-h2-size);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.vg-scale__towers-title > span {
	display: block;
}

.vg-scale__towers-script {
	padding-left: 149px;
	color: var(--vg-color-secondary);
	font-family: var(--vg-font-subheading);
	font-size: var(--vg-subheader-size);
	letter-spacing: 0.04em;
}

.vg-scale__specs {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 46px;
	margin-top: 260px;
}

.vg-scale__spec {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Tên toà: vạch dọc 3×24 Secondary + tiêu đề */
.vg-scale__spec-name {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 4px 0;
	color: var(--vg-color-bg-2);
	font-family: var(--vg-font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.vg-scale__spec-name::before {
	content: "";
	flex-shrink: 0;
	width: 3px;
	height: 24px;
	border-radius: 3px;
	background-color: var(--vg-color-secondary);
}

.vg-scale__spec ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--vg-font-body);
	font-size: 14px;
	line-height: 1.5;
}

.vg-scale__spec li {
	margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
	.vg-scale__heading {
		position: static;
		width: auto;
		margin-bottom: 24px;
	}

	.vg-scale__zones {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.vg-scale__zones-text {
		padding: 0;
	}

	/* Màn nhỏ: ảnh 3 phân khu lên trước phần mô tả (desktop giữ nguyên chữ trái – ảnh phải) */
	.vg-scale__thumbs {
		order: -1;
	}

	.vg-scale__towers {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.vg-scale__towers-media {
		display: flex;
		flex-direction: column-reverse;
	}

	.vg-scale__towers-title {
		position: static;
		margin-bottom: 16px;
	}

	.vg-scale__specs {
		margin: 0 0 64px;
	}
}

@media (max-width: 689.98px) {
	.vg-scale {
		padding-top: 56px;
	}

	.vg-scale__title > span,
	.vg-scale__towers-title > span {
		padding-left: 0;
		white-space: normal;
	}

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

	.vg-scale__thumb-name {
		font-size: 18px;
	}
}
