/*
 * Mặt bằng — Figma node 11:239 (1440×1066, nền Background 2)
 * Tiêu đề 2 dòng thụt so le (khối 524 căn giữa: dòng 1 +57, dòng 2 +95), ảnh 1064×798 tại y=227, bo 8.
 */

.vg-plan {
	padding: 59px 16px 41px;
	background-color: var(--vg-color-bg-2);
}

.vg-plan__title {
	width: 524px;
	max-width: 100%;
	margin: 0 auto;
	color: var(--vg-color-primary);
	font-family: var(--vg-font-heading);
	font-size: var(--vg-h2-size);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.vg-plan__title > span {
	display: block;
	padding-left: 57px;
}

.vg-plan__title-line--indent {
	padding-left: 95px !important;
}

.vg-plan__image {
	position: relative;
	display: block;
	max-width: 1064px;
	margin: 24px auto 0;
	overflow: hidden;
	aspect-ratio: 1064 / 798;
	border-radius: 8px;
	cursor: zoom-in;
}

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

.vg-plan__image:hover img {
	transform: scale(1.02);
}

/* Gợi ý phóng to — hiện khi rê chuột */
.vg-plan__zoom {
	position: absolute;
	right: 16px;
	bottom: 16px;
	padding: 6px 12px;
	border-radius: 100px;
	background-color: rgba(22, 45, 82, 0.8);
	color: #fff;
	font-family: var(--vg-font-body);
	font-size: 12px;
	line-height: 1.5;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.vg-plan__image:hover .vg-plan__zoom,
.vg-plan__image:focus-visible .vg-plan__zoom {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.vg-plan__zoom {
		opacity: 1;
		transform: none;
	}
}

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

	.vg-plan__title {
		width: auto;
		text-align: center;
	}

	.vg-plan__title > span,
	.vg-plan__title-line--indent {
		padding-left: 0 !important;
	}
}
