/*
 * Trang chủ trưng bày + thẻ mẫu + hình vẽ bố cục (dùng cả ở trang mẫu).
 * Biến --vs-* và lớp chung (.vs-btn, .vs-chip, .vs-wrap…) lấy từ base.css.
 * Mobile trước; mốc 640 / 900 / 1100px.
 */

/* ---------- Tiện ích ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.vs-page :where(a, button, summary):focus-visible {
	outline: 3px solid var(--vs-primary);
	outline-offset: 2px;
	border-radius: 6px;
}

.vs-page .vs-ic {
	flex: none;
	vertical-align: middle;
}

/* ---------- Hero ---------- */
.vs-hero {
	padding: 32px 0 8px;
	background:
		radial-gradient(120% 80% at 100% 0%, var(--vs-soft) 0%, transparent 60%),
		var(--vs-bg);
}

.vs-hero__grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

.vs-hero__eyebrow {
	margin: 0 0 12px;
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--vs-deep);
}

.vs-hero__title {
	margin: 0;
	font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.875rem);
	line-height: 1.18;
	letter-spacing: -.01em;
	color: var(--vs-ink);
	text-wrap: balance;
}

.vs-hero__price {
	color: var(--vs-primary);
	white-space: nowrap;
}

.vs-hero__lead {
	margin: 16px 0 0;
	max-width: 36em;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--vs-muted);
}

.vs-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.vs-hero__ctas .vs-btn {
	min-height: 48px;
	flex: 1 1 180px;
}

.vs-hero__art {
	display: none;
	position: relative;
	margin: 0 0 24px;
}

.vs-hero__art-note {
	margin: 10px 0 0;
	font-size: .75rem;
	color: var(--vs-muted);
	text-align: right;
}

.vs-notify {
	position: absolute;
	left: -24px;
	bottom: 36px;
	display: grid;
	gap: 2px;
	max-width: 260px;
	padding: 12px 16px 12px 52px;
	background: var(--vs-card);
	border: 1px solid var(--vs-line);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(11, 26, 51, .16);
	font-size: .8125rem;
	line-height: 1.4;
	color: var(--vs-ink);
}

.vs-notify::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 14px;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--vs-deep) url("../img/logo-mark-trang.svg") center / 16px no-repeat;
}

.vs-notify__app {
	font-size: .6875rem;
	font-weight: 600;
	color: var(--vs-muted);
}

.vs-notify__title {
	font-weight: 700;
}

.vs-notify__text {
	color: var(--vs-muted);
}

/* Ba điểm chứng minh */
.vs-proof {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.vs-proof__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px;
	background: var(--vs-card);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	font-size: .9375rem;
	line-height: 1.5;
	color: var(--vs-muted);
}

.vs-proof__item strong {
	display: block;
	margin-bottom: 2px;
	font-size: 1rem;
	color: var(--vs-ink);
}

.vs-proof__ic {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--vs-soft);
	color: var(--vs-primary);
}

@media (min-width: 900px) {
	.vs-hero {
		padding: 56px 0 16px;
	}

	.vs-hero__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
		gap: 56px;
	}

	.vs-hero__ctas .vs-btn {
		flex: 0 0 auto;
	}

	.vs-hero__art {
		display: block;
	}

	.vs-proof {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		margin-top: 40px;
	}
}

/* ---------- Lưới mẫu + thanh lọc ---------- */
.vs-gallery {
	scroll-margin-top: 72px;
}

.vs-gallery:focus {
	outline: none;
}

.vs-gallery__head {
	margin-bottom: 20px;
}

.vs-gallery__head .vs-h2 {
	margin: 0 0 6px;
}

.vs-gallery__head p {
	margin: 0;
}

.vs-filter {
	display: grid;
	gap: 14px;
	margin-bottom: 24px;
	padding: 16px;
	background: var(--vs-card);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
}

.vs-filter__group {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.vs-filter__label {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--vs-muted);
}

/* Điện thoại: chip cuộn ngang trong nhóm, trang không bị cuộn ngang. */
.vs-filter__chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	margin: 0 -16px;
	padding: 2px 16px 6px;
	scrollbar-width: thin;
}

.vs-filter__chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	background: var(--vs-card);
	color: var(--vs-ink);
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	scroll-snap-align: start;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.vs-filter__chip:hover {
	border-color: var(--vs-primary);
	color: var(--vs-deep);
}

.vs-filter__chip[aria-pressed="true"] {
	background: var(--vs-deep);
	border-color: var(--vs-deep);
	color: #fff;
}

.vs-filter__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--vs-call);
	box-shadow: 0 0 0 3px rgba(30, 123, 79, .18);
}

.vs-filter__chip[aria-pressed="true"] .vs-filter__dot {
	background: #fff;
	box-shadow: none;
}

.vs-filter__group--toggle {
	justify-items: start;
}

.vs-filter__count {
	margin: 0;
	font-size: .875rem;
	color: var(--vs-muted);
}

.vs-filter__empty {
	margin-top: 8px;
	padding: 24px;
	text-align: center;
	background: var(--vs-card);
	border: 1px dashed var(--vs-line);
	border-radius: var(--vs-radius);
	color: var(--vs-muted);
}

.vs-filter__empty[hidden] {
	display: none;
}

.vs-filter__empty p {
	margin: 0;
}

.vs-filter__empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 14px !important;
}

@media (min-width: 900px) {
	.vs-filter {
		grid-template-columns: auto 1fr;
		align-items: center;
		column-gap: 16px;
		row-gap: 12px;
		padding: 18px 20px;
	}

	.vs-filter__group {
		grid-column: 1 / -1;
		grid-template-columns: 88px 1fr;
		align-items: center;
	}

	.vs-filter__chips {
		flex-wrap: wrap;
		overflow: visible;
		margin: 0;
		padding: 0;
	}

	.vs-filter__group--toggle {
		grid-column: 1;
		grid-template-columns: 1fr;
		padding-left: 104px;
	}

	.vs-filter__count {
		grid-column: 2;
		text-align: right;
	}
}

.vs-tgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

@media (min-width: 640px) {
	.vs-tgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.vs-tgrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

/* ---------- Thẻ mẫu ---------- */
.vs-tcard {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--vs-card);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	overflow: hidden;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.vs-tcard[hidden],
.vs-tcard.is-hidden {
	display: none !important;
}

.vs-tcard:hover {
	border-color: #C9D6E8;
	box-shadow: 0 10px 28px rgba(11, 26, 51, .08);
}

.vs-tcard--live {
	border-color: rgba(0, 108, 228, .35);
}

.vs-tcard__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--vs-soft);
	overflow: hidden;
}

.vs-tcard__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.vs-tcard:hover .vs-tcard__img {
	transform: scale(1.03);
}

.vs-tcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
	padding: 16px 16px 18px;
}

.vs-tcard__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.vs-tcard__num {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--vs-muted);
	font-variant-numeric: tabular-nums;
}

.vs-tcard__name {
	margin: 2px 0 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.vs-tcard__name a {
	color: var(--vs-ink);
	text-decoration: none;
}

.vs-tcard__name a:hover {
	color: var(--vs-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vs-tcard__fit {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.5;
	color: var(--vs-ink);
}

.vs-tcard__label {
	font-weight: 600;
}

.vs-tcard__tagline {
	margin: 0;
	font-size: .875rem;
	font-style: italic;
	line-height: 1.5;
	color: var(--vs-muted);
}

.vs-tcard__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 4px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--vs-line);
	font-size: .9375rem;
	color: var(--vs-ink);
}

.vs-tcard__price strong {
	font-size: 1.0625rem;
	color: var(--vs-deep);
	white-space: nowrap;
}

.vs-tcard__pkg {
	font-size: .8125rem;
	color: var(--vs-muted);
}

.vs-tcard__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
}

.vs-tcard__actions .vs-btn {
	flex: 1 1 auto;
	min-height: 44px;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}

/* ---------- Cách làm ---------- */
.vs-steps__list {
	display: grid;
	gap: 14px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.vs-steps__item {
	position: relative;
	padding: 18px 18px 18px 72px;
	background: var(--vs-card);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
}

.vs-steps__num {
	position: absolute;
	left: 18px;
	top: 18px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--vs-deep);
	color: #fff;
	font-weight: 700;
}

.vs-steps__item .vs-h3 {
	margin: 0 0 6px;
	font-size: 1.0625rem;
}

.vs-steps__item p {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.55;
	color: var(--vs-muted);
}

.vs-steps__note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 16px 0 0;
	padding: 12px 16px;
	background: var(--vs-soft);
	border-radius: 10px;
	font-size: .9375rem;
	line-height: 1.5;
	color: var(--vs-deep);
}

@media (min-width: 640px) {
	.vs-steps__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.vs-steps__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}

	.vs-steps__item {
		padding: 72px 20px 20px;
	}

	.vs-steps__num {
		left: 20px;
		top: 20px;
	}
}

/* ---------- Giá tóm tắt ---------- */
.vs-teaser__head {
	max-width: 760px;
}

.vs-teaser__head .vs-lead {
	margin: 10px 0 0;
}

.vs-teaser__list {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.vs-teaser__link {
	display: grid;
	gap: 6px;
	height: 100%;
	min-height: 44px;
	padding: 18px;
	background: var(--vs-card);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	color: var(--vs-ink);
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.vs-teaser__link:hover {
	border-color: var(--vs-primary);
	box-shadow: 0 8px 22px rgba(0, 108, 228, .1);
}

.vs-teaser__pkg--pick .vs-teaser__link {
	border: 2px solid var(--vs-primary);
	padding: 17px;
}

.vs-teaser__name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 1.0625rem;
}

.vs-teaser__price {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--vs-deep);
}

.vs-teaser__fit {
	font-size: .9375rem;
	line-height: 1.5;
	color: var(--vs-muted);
}

.vs-teaser__days {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--vs-ink);
}

.vs-teaser__foot {
	display: grid;
	gap: 12px;
	justify-items: start;
	margin-top: 20px;
}

.vs-teaser__note {
	margin: 0;
	max-width: 720px;
	font-size: .875rem;
	line-height: 1.5;
}

@media (min-width: 640px) {
	.vs-teaser__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.vs-teaser__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}
}

/* ---------- Hỏi đáp ---------- */
.vs-faq__wrap {
	max-width: 860px;
}

.vs-faq__list {
	margin-top: 16px;
	border-top: 1px solid var(--vs-line);
}

.vs-faq__item {
	border-bottom: 1px solid var(--vs-line);
}

.vs-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding: 12px 4px;
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.4;
	color: var(--vs-ink);
	cursor: pointer;
	list-style: none;
}

.vs-faq__q::-webkit-details-marker {
	display: none;
}

.vs-faq__q .vs-ic {
	transition: transform .2s ease;
	color: var(--vs-muted);
}

.vs-faq__item[open] .vs-faq__q .vs-ic {
	transform: rotate(180deg);
}

.vs-faq__a {
	margin: 0;
	padding: 0 4px 18px;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--vs-muted);
}

/* ---------- Dải kêu gọi cuối trang ---------- */
.vs-band__inner {
	display: grid;
	gap: 20px;
	padding: 28px 20px;
	border-radius: calc(var(--vs-radius) + 4px);
	background: linear-gradient(135deg, var(--vs-deep) 0%, var(--vs-deeper) 100%);
	color: #fff;
}

.vs-band .vs-h2 {
	margin: 0 0 8px;
	color: #fff;
}

.vs-band__text p {
	margin: 0;
	line-height: 1.6;
	color: rgba(255, 255, 255, .86);
}

.vs-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vs-band__actions .vs-btn {
	flex: 1 1 160px;
	min-height: 48px;
	justify-content: center;
}

/* Nút chính trên nền xanh đậm: dùng màu nhấn vàng cho đủ tương phản với nền. */
.vs-band .vs-btn--primary {
	background: var(--vs-accent);
	border-color: var(--vs-accent);
	color: var(--vs-ink);
}

.vs-band .vs-btn--primary:hover {
	background: #FFC633;
}

@media (min-width: 900px) {
	.vs-band__inner {
		grid-template-columns: minmax(0, 1.2fr) auto;
		align-items: center;
		gap: 32px;
		padding: 40px 44px;
	}

	.vs-band__actions .vs-btn {
		flex: 0 0 auto;
	}
}

/* ---------- Hình vẽ bố cục mẫu (CSS thuần, màu theo từng mẫu) ---------- */
.vs-mock {
	margin: 0;
}

.vs-mock__frame {
	--m-bg: #FFFFFF;
	--m-surface: #F2F4F7;
	--m-text: #1F2933;
	--m-muted: #6B7280;
	--m-primary: #006CE4;
	--m-on: #FFFFFF;
	--m-accent: #DCE7F7;
	overflow: hidden;
	border: 1px solid var(--vs-line);
	border-radius: 12px;
	background: var(--m-bg);
	box-shadow: 0 18px 44px rgba(11, 26, 51, .14);
}

.vs-mock__chrome {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	background: #E9EEF5;
	border-bottom: 1px solid #DCE3EC;
}

.vs-mock__dots {
	display: inline-flex;
	gap: 5px;
}

.vs-mock__dots i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #C3CCD8;
}

.vs-mock__url {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	padding: 3px 10px;
	border-radius: 999px;
	background: #fff;
	font-size: .6875rem;
	line-height: 1.4;
	color: #5B6B82;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.vs-mock__page {
	padding: 0 0 14px;
	background: var(--m-bg);
}

.vs-mock__header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: var(--m-bg);
	border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.vs-mock__logo {
	width: 40px;
	height: 12px;
	border-radius: 4px;
	background: var(--m-text);
}

.vs-mock__nav {
	display: inline-flex;
	gap: 8px;
	margin-left: auto;
}

.vs-mock__nav i {
	width: 22px;
	height: 6px;
	border-radius: 3px;
	background: var(--m-muted);
	opacity: .55;
}

.vs-mock__cta {
	width: 46px;
	height: 18px;
	border-radius: 6px;
	background: var(--m-primary);
}

.vs-mock__hero {
	display: grid;
	align-content: end;
	gap: 7px;
	min-height: 120px;
	padding: 18px 16px 34px;
	background:
		linear-gradient(160deg, transparent 0%, transparent 45%, rgba(0, 0, 0, .05) 100%),
		linear-gradient(120deg, var(--m-accent) 0%, var(--m-surface) 70%);
}

.vs-mock__h1 {
	width: 62%;
	height: 12px;
	border-radius: 4px;
	background: var(--m-text);
}

.vs-mock__h1--short {
	width: 44%;
}

.vs-mock__sub {
	width: 52%;
	height: 7px;
	margin-top: 3px;
	border-radius: 3px;
	background: var(--m-muted);
	opacity: .7;
}

.vs-mock__booking {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr .7fr auto;
	gap: 6px;
	margin: -20px 14px 0;
	padding: 8px;
	background: var(--m-bg);
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.vs-mock__field {
	height: 20px;
	border-radius: 6px;
	background: var(--m-surface);
	border: 1px solid rgba(0, 0, 0, .06);
}

.vs-mock__go {
	width: 48px;
	height: 20px;
	border-radius: 6px;
	background: var(--m-primary);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
	position: relative;
}

.vs-mock__go::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	top: 8px;
	height: 4px;
	border-radius: 2px;
	background: var(--m-on);
	opacity: .9;
}

.vs-mock__rooms {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 14px 14px 0;
}

.vs-mock__room {
	display: grid;
	gap: 5px;
	padding: 6px 6px 8px;
	background: var(--m-surface);
	border-radius: 8px;
}

.vs-mock__photo {
	aspect-ratio: 4 / 3;
	border-radius: 5px;
	background: linear-gradient(135deg, var(--m-accent), var(--m-surface));
	border: 1px solid rgba(0, 0, 0, .05);
}

.vs-mock__line {
	width: 80%;
	height: 6px;
	border-radius: 3px;
	background: var(--m-text);
	opacity: .85;
}

.vs-mock__line--short {
	width: 55%;
	background: var(--m-muted);
	opacity: .6;
}

.vs-mock__price {
	width: 45%;
	height: 7px;
	margin-top: 2px;
	border-radius: 3px;
	background: var(--m-primary);
}

.vs-mock__caption {
	margin-top: 10px;
	font-size: .8125rem;
	color: var(--vs-muted);
	text-align: center;
}

.vs-mock--hero .vs-mock__hero {
	min-height: 160px;
}

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
	.vs-tcard,
	.vs-tcard__img,
	.vs-filter__chip,
	.vs-teaser__link,
	.vs-faq__q .vs-ic {
		transition: none !important;
	}

	.vs-tcard:hover .vs-tcard__img {
		transform: none;
	}

	.vs-gallery {
		scroll-behavior: auto;
	}
}
